@internxt/sdk 1.17.4 → 1.17.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -386,6 +386,8 @@ export interface components {
386
386
  encryptedPreview: string;
387
387
  /** @description De-identified wrapped keys; the client trial-decrypts to read */
388
388
  wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
389
+ /** @description De-identified wrapped keys for the symmetric key that encrypts the email's attachments. Present only when the email has encrypted attachments. */
390
+ attachmentWrappedKeys?: components['schemas']['EncryptedWrappedKeyDto'][];
389
391
  };
390
392
  EmailSummaryResponseDto: {
391
393
  /** @example Ma1f09b… */
@@ -553,6 +555,8 @@ export interface components {
553
555
  encryptedText: string;
554
556
  /** @description De-identified wrapped keys, one per recipient */
555
557
  wrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
558
+ /** @description De-identified attachment wrapped keys, one per recipient */
559
+ attachmentWrappedKeys: components['schemas']['EncryptedWrappedKeyDto'][];
556
560
  };
557
561
  AttachmentRefDto: {
558
562
  /** @example T1a2b3c… */
@@ -585,8 +589,12 @@ export interface components {
585
589
  */
586
590
  htmlBody?: string;
587
591
  encryption?: components['schemas']['EncryptionBlockDto'];
588
- /** @description Attachments to include, referenced by blobId previously obtained from POST /email/attachment */
589
592
  attachments?: components['schemas']['AttachmentRefDto'][];
593
+ /**
594
+ * @example INTERNXT
595
+ * @enum {string}
596
+ */
597
+ deliveryMode?: 'INTERNXT' | 'EXTERNAL';
590
598
  };
591
599
  EmailCreatedResponseDto: {
592
600
  /**
@@ -605,7 +613,6 @@ export interface components {
605
613
  textBody?: string;
606
614
  /** @example <p>Still working on this…</p> */
607
615
  htmlBody?: string;
608
- /** @description Attachments to include, referenced by blobId previously obtained from POST /email/attachment */
609
616
  attachments?: components['schemas']['AttachmentRefDto'][];
610
617
  };
611
618
  UploadAttachmentResponseDto: {
@@ -19,6 +19,7 @@ export type EmailDomainsResponse = components['schemas']['MailDomainDto'][];
19
19
  export type UploadAttachmentResponse = components['schemas']['UploadAttachmentResponseDto'];
20
20
  export type DownloadAttachmentPayload = operations['EmailController_downloadAttachment']['parameters']['query'];
21
21
  export type AttachmentRef = components['schemas']['EmailAttachmentDto'];
22
+ export type DeliveryMode = components['schemas']['SendEmailRequestDto']['deliveryMode'];
22
23
  export type DownloadAttachmentResponse = {
23
24
  data: ArrayBuffer;
24
25
  contentType: string;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@internxt/sdk",
3
3
  "author": "Internxt <hello@internxt.com>",
4
- "version": "1.17.4",
4
+ "version": "1.17.6",
5
5
  "description": "An sdk for interacting with Internxt's services",
6
6
  "repository": {
7
7
  "type": "git",