@internxt/sdk 1.17.10 → 1.17.11

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.
@@ -68,7 +68,7 @@ export interface paths {
68
68
  };
69
69
  /**
70
70
  * List emails
71
- * @description Paginated list of email summaries. Filter by mailbox or omit to list all.
71
+ * @description Paginated list of email summaries. Filter by mailbox or omit to list all. Responses collapse by thread in every mailbox except `drafts`: each row represents the most recent email of the thread in that mailbox and carries `threadSize`, `lastReceivedAt` and `participants` (cross-mailbox).
72
72
  */
73
73
  get: operations['EmailController_list'];
74
74
  put?: never;
@@ -468,6 +468,18 @@ export interface components {
468
468
  size: number;
469
469
  /** @description Present only for encrypted emails. Carries the encrypted preview and the de-identified wrapped keys for inline client-side decryption. */
470
470
  encryption?: components['schemas']['EncryptedSummaryDto'] | null;
471
+ /**
472
+ * @description Total number of emails in the thread (cross-mailbox). Set only when the list collapses threads.
473
+ * @example 3
474
+ */
475
+ threadSize?: number;
476
+ /**
477
+ * @description receivedAt of the most recent email in the thread (cross-mailbox). Set only when the list collapses threads.
478
+ * @example 2025-06-15T10:30:00Z
479
+ */
480
+ lastReceivedAt?: string;
481
+ /** @description Unique senders that have written in the thread (cross-mailbox), deduplicated by email. Set only when the list collapses threads. */
482
+ participants?: components['schemas']['EmailAddressDto'][];
471
483
  };
472
484
  EmailListResponseDto: {
473
485
  emails: components['schemas']['EmailSummaryResponseDto'][];
@@ -564,6 +576,18 @@ export interface components {
564
576
  size: number;
565
577
  /** @description Present only for encrypted emails. Carries the encrypted preview and the de-identified wrapped keys for inline client-side decryption. */
566
578
  encryption?: components['schemas']['EncryptedSummaryDto'] | null;
579
+ /**
580
+ * @description Total number of emails in the thread (cross-mailbox). Set only when the list collapses threads.
581
+ * @example 3
582
+ */
583
+ threadSize?: number;
584
+ /**
585
+ * @description receivedAt of the most recent email in the thread (cross-mailbox). Set only when the list collapses threads.
586
+ * @example 2025-06-15T10:30:00Z
587
+ */
588
+ lastReceivedAt?: string;
589
+ /** @description Unique senders that have written in the thread (cross-mailbox), deduplicated by email. Set only when the list collapses threads. */
590
+ participants?: components['schemas']['EmailAddressDto'][];
567
591
  cc: components['schemas']['EmailAddressDto'][];
568
592
  bcc: components['schemas']['EmailAddressDto'][];
569
593
  replyTo: components['schemas']['EmailAddressDto'][];
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.10",
4
+ "version": "1.17.11",
5
5
  "description": "An sdk for interacting with Internxt's services",
6
6
  "repository": {
7
7
  "type": "git",