Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@internxt/sdk",
"author": "Internxt <hello@internxt.com>",
"version": "1.17.16",
"version": "1.17.17",
"description": "An sdk for interacting with Internxt's services",
"repository": {
"type": "git",
Expand Down
18 changes: 9 additions & 9 deletions src/mail/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ export interface components {
EncryptedSummaryDto: {
/** @description Encrypted preview snippet (base64) */
encryptedPreview: string;
/** @description Wrapped keys that unlock the preview, labeled per recipient; the caller picks theirs by address */
/** @description Wrapped session keys, labeled per recipient; the caller picks theirs by address */
wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
};
EmailSummaryResponseDto: {
Expand Down Expand Up @@ -620,16 +620,16 @@ export interface components {
recipients: components['schemas']['RecipientKeyDto'][];
};
EncryptionBlockDto: {
/** @example v2 */
/** @example v3 */
version: string;
/** @description Encrypted body payload (base64); decrypts to JSON { body, attachmentsSessionKey } */
/** @description Encrypted body (base64) */
encryptedText: string;
/** @description Wrapped keys that unlock the body payload, labeled per recipient */
wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
/** @description Encrypted preview snippet (base64), ~256 chars plaintext, sealed separately from the body */
/** @description Encrypted preview snippet (base64), ~256 chars plaintext, same session key as the body */
encryptedPreview: string;
/** @description Wrapped keys that unlock the preview, labeled per recipient */
previewWrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
/** @description Encrypted attachments session key (base64), same session key as the body */
encryptedAttachmentsSessionKey: string;
/** @description Wrapped session keys, labeled per recipient; one entry unlocks body, preview and attachments key */
wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
};
AttachmentRefDto: {
/** @example T1a2b3c… */
Expand Down Expand Up @@ -696,7 +696,7 @@ export interface components {
textBody?: string;
/** @example <p>Still working on this…</p> */
htmlBody?: string;
/** @description When present, the draft body is stored encrypted. Only the sender can decrypt it later, so wrappedKeys / previewWrappedKeys should contain a single entry built from the sender's own public key. */
/** @description When present, the draft body is stored encrypted. Only the sender can decrypt it later, so wrappedKeys should contain a single entry built from the sender's own public key. */
encryption?: components['schemas']['EncryptionBlockDto'];
attachments?: components['schemas']['AttachmentRefDto'][];
};
Expand Down
Loading