Hierarchy

  • EpSdkVersionServiceClass
    • EpSdkEpEventVersionsServiceClass

Constructors

Methods

  • Parameters

    • __namedParameters: {
          applicationDomainId: string;
          eventId: string;
          eventVersion: EventVersion;
          targetLifecycleStateId: string;
          xContextId?: string;
      }
      • applicationDomainId: string
      • eventId: string
      • eventVersion: EventVersion
      • targetLifecycleStateId: string
      • Optional xContextId?: string

    Returns Promise<EventVersion>

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

    • copies all schemas and enums first

    If an event version with the id already exists, returns that version. It still copies all schemas / enums.

    Returns

    existing or created event version

    Parameters

    • __namedParameters: {
          eventVersionId: string;
          toApplicationDomainId: string;
          xContextId?: string;
      }
      • eventVersionId: string
      • toApplicationDomainId: string
      • Optional xContextId?: string

    Returns Promise<EventVersion>

  • Parameters

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

    Returns any

  • Parameters

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

    Returns any

  • Parameters

    • __namedParameters: {
          applicationDomainId?: string;
          eventId: string;
          stateIds?: string[];
          xContextId?: string;
      }
      • Optional applicationDomainId?: string
      • eventId: string
      • Optional stateIds?: string[]
      • Optional xContextId?: string

    Returns Promise<EventVersion>

  • Parameters

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

    Returns Promise<EventVersion>

  • Parameters

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

    Returns Promise<string>

  • Parameters

    • __namedParameters: {
          eventId: string;
          eventVersionString: string;
          xContextId?: string;
      }
      • eventId: string
      • eventVersionString: string
      • Optional xContextId?: string

    Returns Promise<EventVersion>

  • Parameters

    • __namedParameters: {
          eventId: string;
          pageSize?: number;
          stateIds?: string[];
          xContextId?: string;
      }
      • eventId: string
      • Optional pageSize?: number
      • Optional stateIds?: string[]
      • Optional xContextId?: string

    Returns Promise<EventVersion[]>

  • Parameters

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

    Returns Promise<EventVersion[]>

  • Parameters

    • __namedParameters: {
          applicationDomainIds?: string[];
          pageNumber?: number;
          pageSize?: number;
          shared: boolean;
          sortFieldName?: string;
          stateIds?: string[];
          xContextId?: string;
      }
      • Optional applicationDomainIds?: string[]
      • Optional pageNumber?: number
      • Optional pageSize?: number
      • shared: boolean
      • Optional sortFieldName?: string
      • Optional stateIds?: string[]
      • Optional xContextId?: string

    Returns Promise<EpSdkEpEventAndVersionListResponse>

  • 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