Hierarchy

  • EpSdkVersionServiceClass
    • EpSdkEventApiVersionsServiceClass

Constructors

Methods

  • Parameters

    • __namedParameters: {
          applicationDomainId: string;
          eventApiId: string;
          eventApiVersion: EventApiVersion;
          targetLifecycleStateId: string;
          xContextId?: string;
      }
      • applicationDomainId: string
      • eventApiId: string
      • eventApiVersion: EventApiVersion
      • targetLifecycleStateId: string
      • Optional xContextId?: string

    Returns Promise<EventApiVersion>

  • Conditional deep copy of event api & event api latest version from 'fromApplicationDomain' to 'toApplicationDomain'.

    • copies all referenced events, schemas, enums first from 'fromAssetApplicationDomainId' to 'toAssetApplicationDomainId'
    • sets 'fromAssetApplicationDomainId' and 'toAssetApplicationDomainId' to 'fromApplicationDomainId' and 'toApplicationDomainId' respectively if not defined.

    If an event api version for the event api with 'eventApiName' already exists, returns undefined.

    Returns

    undefined or created event api version

    Parameters

    • __namedParameters: {
          eventApiName: string;
          fromApplicationDomainId: string;
          fromAssetsApplicationDomainId?: string;
          toApplicationDomainId: string;
          toAssetsApplicationDomainId?: string;
          xContextId?: string;
      }
      • eventApiName: string
      • fromApplicationDomainId: string
      • Optional fromAssetsApplicationDomainId?: string
      • toApplicationDomainId: string
      • Optional toAssetsApplicationDomainId?: string
      • Optional xContextId?: string

    Returns Promise<EventApiVersion>

  • Parameters

    • __namedParameters: {
          epObjectVersionList: any[];
          versionString: string;
      }
      • epObjectVersionList: any[]
      • versionString: string

    Returns any

  • Parameters

    • __namedParameters: {
          epObjectVersionList: any[];
      }
      • epObjectVersionList: any[]

    Returns any

  • Parameters

    • __namedParameters: {
          applicationDomainId: string;
          eventApiId: string;
          xContextId?: string;
      }
      • applicationDomainId: string
      • eventApiId: string
      • Optional xContextId?: string

    Returns Promise<EventApiVersion>

  • Parameters

    • __namedParameters: {
          applicationDomainId: string;
          eventApiName: string;
          xContextId?: string;
      }
      • applicationDomainId: string
      • eventApiName: string
      • Optional xContextId?: string

    Returns Promise<EventApiVersion>

  • Parameters

    • __namedParameters: {
          eventApiId: string;
          xContextId?: string;
      }
      • eventApiId: string
      • Optional xContextId?: string

    Returns Promise<string>

  • Parameters

    • __namedParameters: {
          eventApiId: string;
          eventApiVersionString: string;
          xContextId?: string;
      }
      • eventApiId: string
      • eventApiVersionString: string
      • Optional xContextId?: string

    Returns Promise<EventApiVersion>

  • Parameters

    • __namedParameters: {
          applicationDomainId: string;
          eventApiName: string;
          xContextId?: string;
      }
      • applicationDomainId: string
      • eventApiName: string
      • Optional xContextId?: string

    Returns Promise<EventApiVersion[]>

  • Returns sorted list by version in semVer format. Sorts descending, i.e. latest version is the first element in the returned list.

    Parameters

    • __namedParameters: {
          epObjectVersionList: any[];
      }
      • epObjectVersionList: any[]

    Returns any