interface MessagingInboxMessageCreateSuccessEventSanitised {
    category: "messaging";
    data: {
        inboxId: string;
        message: undefined;
        messageCount: number;
        messageId: string;
    };
    id: string;
    requestId: string;
    tenantId: string;
    timestamp: number;
    type: string;
    version: "1";
}

Properties

category: "messaging"
data: {
    inboxId: string;
    message: string | {
        aad: undefined | string;
        ciphertext: string;
        iv: undefined | string;
        protected: undefined | string;
        recipients: undefined | {
            encrypted_key: undefined | string;
            encryption_key: undefined | string;
            header: {
                alg: undefined | "ECDH-ES" | "ECDH-ES+A256KW" | "ECDH-1PU+A256KW";
                enc: undefined | "A256GCM" | "XC20P";
                epk: undefined | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "OKP";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "EC";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                } | {
                    d: string;
                    dp: string;
                    dq: string;
                    e: string;
                    kty: "RSA";
                    n: string;
                    p: string;
                    q: string;
                    qi: string;
                };
                kid: undefined | string;
                skid: undefined | string;
            };
        }[];
        tag: undefined | string;
        unprotected: undefined | string;
    } | {
        payload: string;
        signatures: {
            header: undefined | string;
            protected: string;
            signature: string;
        }[];
    };
    messageCount: number;
    messageId: string;
}

Type declaration

  • inboxId: string
  • Sanitisation Level PII message: string | {
        aad: undefined | string;
        ciphertext: string;
        iv: undefined | string;
        protected: undefined | string;
        recipients: undefined | {
            encrypted_key: undefined | string;
            encryption_key: undefined | string;
            header: {
                alg: undefined | "ECDH-ES" | "ECDH-ES+A256KW" | "ECDH-1PU+A256KW";
                enc: undefined | "A256GCM" | "XC20P";
                epk: undefined | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "OKP";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    crv: string;
                    d: undefined | string;
                    kid: undefined | string;
                    kty: "EC";
                    x: undefined | string;
                    y: undefined | string;
                } | {
                    e: string;
                    kty: "RSA";
                    n: string;
                } | {
                    d: string;
                    dp: string;
                    dq: string;
                    e: string;
                    kty: "RSA";
                    n: string;
                    p: string;
                    q: string;
                    qi: string;
                };
                kid: undefined | string;
                skid: undefined | string;
            };
        }[];
        tag: undefined | string;
        unprotected: undefined | string;
    } | {
        payload: string;
        signatures: {
            header: undefined | string;
            protected: string;
            signature: string;
        }[];
    }
  • messageCount: number
  • messageId: string
id: string
requestId: string
tenantId: string
timestamp: number
type: string
version: "1"