core-utils
    Preparing search index...

    Request parameters for triggering a notification.

    interface TriggerRequest {
        attempt: number;
        body: TriggerBody;
        expiresAt: Date;
        idempotencyKey: string;
        key: string;
        keysToRedact?: string[];
    }
    Index

    Properties

    attempt: number

    Attempt number for tracking.

    Notification payload.

    expiresAt: Date

    Expiration timestamp after which the request is dropped.

    idempotencyKey: string

    Key to prevent duplicate requests if provider supports it. It's important it is deterministic and remains the same across any retry logic.

    key: string

    Notification key.

    keysToRedact?: string[]

    Array of data keys to redact in logs for privacy.