Interface MessagingInboxMessageRetrieveSuccessEvent
interface MessagingInboxMessageRetrieveSuccessEvent { category: "messaging"; data: { createdAt: string; id: string; inboxId: string; payload: 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; }[]; }; }; id: string; requestId: string; tenantId: string; timestamp: number; type: string; version: "1"; } interface MessagingInboxMessageRetrieveSuccessEventSanitised { category: "messaging"; data: { createdAt: string; id: string; inboxId: string; payload: undefined; }; id: string; requestId: string; tenantId: string; timestamp: number; type: string; version: "1"; } Properties
category
category: "messaging"
Sanitisation Level DATA
data
data: {
createdAt: string;
id: string;
inboxId: string;
payload: 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;
}[];
};
}
Type declaration
createdAt: string
id: string
inboxId: string
Sanitisation Level PII
payload: 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;
}[];
}
requestId
requestId: string
timestamp
timestamp: number