From a2d469420c2ec7feca1ebab487c4e5a2dd0585f9 Mon Sep 17 00:00:00 2001 From: Xavier Abad <77491413+xabg2@users.noreply.github.com> Date: Thu, 4 Jun 2026 16:14:26 +0200 Subject: [PATCH 1/3] feat(mail): attachment wrapped key --- src/mail/schema.ts | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/mail/schema.ts b/src/mail/schema.ts index 83a7c87..3e8d663 100644 --- a/src/mail/schema.ts +++ b/src/mail/schema.ts @@ -387,6 +387,8 @@ export interface components { encryptedPreview: string; /** @description De-identified wrapped keys; the client trial-decrypts to read */ wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][]; + /** @description De-identified wrapped keys for the symmetric key that encrypts the email's attachments. Present only when the email has encrypted attachments. */ + attachmentWrappedKey?: components['schemas']['EncryptedWrappedKeyDto'][]; }; EmailSummaryResponseDto: { /** @example Ma1f09b… */ @@ -554,6 +556,8 @@ export interface components { encryptedText: string; /** @description De-identified wrapped keys, one per recipient */ wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][]; + /** @description De-identified attachment wrapped keys, one per recipient */ + attachmentWrappedKey: components['schemas']['EncryptedWrappedKeyDto'][]; }; AttachmentRefDto: { /** @example T1a2b3c… */ @@ -586,7 +590,6 @@ export interface components { */ htmlBody?: string; encryption?: components['schemas']['EncryptionBlockDto']; - /** @description Attachments to include, referenced by blobId previously obtained from POST /email/attachment */ attachments?: components['schemas']['AttachmentRefDto'][]; }; EmailCreatedResponseDto: { @@ -606,7 +609,6 @@ export interface components { textBody?: string; /** @example
Still working on this…
*/ htmlBody?: string; - /** @description Attachments to include, referenced by blobId previously obtained from POST /email/attachment */ attachments?: components['schemas']['AttachmentRefDto'][]; }; UploadAttachmentResponseDto: { From c3c0d80f89fe2053374acc0a38a063d9e6bdc20f Mon Sep 17 00:00:00 2001 From: Xavier Abad <77491413+xabg2@users.noreply.github.com> Date: Thu, 4 Jun 2026 17:37:38 +0200 Subject: [PATCH 2/3] fix: attachmentWrappedKeys name --- src/mail/schema.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/mail/schema.ts b/src/mail/schema.ts index 3e8d663..e955790 100644 --- a/src/mail/schema.ts +++ b/src/mail/schema.ts @@ -388,7 +388,7 @@ export interface components { /** @description De-identified wrapped keys; the client trial-decrypts to read */ wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][]; /** @description De-identified wrapped keys for the symmetric key that encrypts the email's attachments. Present only when the email has encrypted attachments. */ - attachmentWrappedKey?: components['schemas']['EncryptedWrappedKeyDto'][]; + attachmentWrappedKeys?: components['schemas']['EncryptedWrappedKeyDto'][]; }; EmailSummaryResponseDto: { /** @example Ma1f09b… */ @@ -557,7 +557,7 @@ export interface components { /** @description De-identified wrapped keys, one per recipient */ wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][]; /** @description De-identified attachment wrapped keys, one per recipient */ - attachmentWrappedKey: components['schemas']['EncryptedWrappedKeyDto'][]; + attachmentWrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][]; }; AttachmentRefDto: { /** @example T1a2b3c… */ From 7859ef1d4da450cc236eed6b22104ee51622a2eb Mon Sep 17 00:00:00 2001 From: Xavier Abad <77491413+xabg2@users.noreply.github.com> Date: Fri, 5 Jun 2026 17:25:52 +0200 Subject: [PATCH 3/3] chore: bump package version --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index f266b72..8fac32c 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@internxt/sdk", "author": "Internxt