Add encrypted envelope recipient state
This commit is contained in:
@@ -86,6 +86,24 @@ export type PostboxMessage = {
|
||||
key_epoch: number;
|
||||
ciphertext_ref?: string | null;
|
||||
signed_manifest_ref?: string | null;
|
||||
wrapped_keys: Array<{
|
||||
recipient_type: string;
|
||||
recipient_id: string;
|
||||
key_epoch: number;
|
||||
wrapped_key_ref: string;
|
||||
algorithm?: string | null;
|
||||
metadata: Record<string, unknown>;
|
||||
}>;
|
||||
external_recipient_tokens: Array<{
|
||||
token_id: string;
|
||||
state: "pending" | "available" | "fetched" | "expired" | "revoked";
|
||||
expires_at?: string | null;
|
||||
one_time: boolean;
|
||||
key_fetched_at?: string | null;
|
||||
revoked_at?: string | null;
|
||||
assurance_profile?: string | null;
|
||||
metadata: Record<string, unknown>;
|
||||
}>;
|
||||
participants: PostboxParticipant[];
|
||||
attachments: PostboxAttachment[];
|
||||
metadata: Record<string, unknown>;
|
||||
|
||||
Reference in New Issue
Block a user