@gradientedge/commercetools-utils
    Preparing search index...

    Interface CustomerEmailTokenCreatedMessage

    Generated after a successful Create email token for Customer or Create email token for Customer in Store request. The resource property of the Message is a CustomerEmailTokenReference.

    interface CustomerEmailTokenCreatedMessage {
        createdAt: string;
        createdBy?: CreatedBy;
        customerId: string;
        expiresAt: string;
        id: string;
        invalidateOlderTokens: boolean;
        lastModifiedAt: string;
        lastModifiedBy?: LastModifiedBy;
        resource: Reference;
        resourceUserProvidedIdentifiers?: UserProvidedIdentifiers;
        resourceVersion: number;
        sequenceNumber: number;
        type: "CustomerEmailTokenCreated";
        value?: string;
        version: number;
    }

    Hierarchy (View Summary)

    • IMessage
      • CustomerEmailTokenCreatedMessage
    Index

    Properties

    createdAt: string

    Date and time (UTC) the Message was generated.

    createdBy?: CreatedBy

    IDs and references that created the Message.

    customerId: string

    Unique identifier of the Customer.

    expiresAt: string

    Date and time (UTC) the email token expires.

    id: string

    Unique identifier of the Message. Can be used to track which Messages have been processed.

    invalidateOlderTokens: boolean

    If true, all email tokens issued previously for the Customer are invalidated.

    lastModifiedAt: string

    Value of createdAt.

    lastModifiedBy?: LastModifiedBy

    IDs and references that last modified the Message.

    resource: Reference

    Reference to the resource on which the change or action was performed.

    resourceUserProvidedIdentifiers?: UserProvidedIdentifiers

    User-provided identifiers of the resource, such as key or externalId. Only present if the resource has such identifiers.

    resourceVersion: number

    Version of the resource on which the change or action was performed.

    sequenceNumber: number

    Message number in relation to other Messages for a given resource. The sequenceNumber of the next Message for the resource is the successor of the sequenceNumber of the current Message. Meaning, the sequenceNumber of the next Message equals the sequenceNumber of the current Message + 1. sequenceNumber can be used to ensure that Messages are processed in the correct order for a particular resource.

    type: "CustomerEmailTokenCreated"

    Message Type of the Message.

    value?: string

    Value of the token, present only if the token's validity is 60 minutes or less.

    version: number

    Version of a resource. In case of Messages, this is always 1.