iya-sts
    Preparing search index...

    Variable buildPayload

    buildPayload: (
        uri: string,
        values?: Record<string, any>,
        options?: Record<string, any>,
    ) => Record<string, any> = ...

    Type Declaration

      • (
            uri: string,
            values?: Record<string, any>,
            options?: Record<string, any>,
        ): Record<string, any>
      • Builds a whole CAEP event payload: the event type's own members plus the common claims, the one shape the console, the API and automatic emission all send.

        Parameters

        • uri: string

          the event type URI

        • Optionalvalues: Record<string, any>

          the event type's own values

        • Optionaloptions: Record<string, any>

          the common claims' options, as commonClaims() takes them

        Returns Record<string, any>

        the payload; empty for a URI that is not in the catalogue