@messagebird/sdk 0.44.0 → 0.45.0

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.
package/dist/index.d.mts CHANGED
@@ -5911,6 +5911,10 @@ type Mailbox = {
5911
5911
  * Number of retained threads.
5912
5912
  */
5913
5913
  readonly thread_count: number;
5914
+ /**
5915
+ * Stored bytes across the mailbox's retained messages: the metadata and extracted text kept for the retention tier plus attachment bytes. Message bodies and raw MIME expire after 30 days and do not count. Maintained with each message written or deleted, so the value is current; messages stored before the counter existed are not counted.
5916
+ */
5917
+ readonly size_bytes: number;
5914
5918
  /**
5915
5919
  * Number of threads with unread messages in this mailbox, excluding trash. `null` on create/update responses.
5916
5920
  *
package/dist/index.mjs CHANGED
@@ -7765,9 +7765,9 @@ var BirdClient = class {
7765
7765
  this.#headers = {
7766
7766
  ...opts.defaultHeaders,
7767
7767
  ...opts.apiKey ? { Authorization: `Bearer ${opts.apiKey}` } : {},
7768
- "User-Agent": `bird-sdk-js/0.44.0`,
7768
+ "User-Agent": `bird-sdk-js/0.45.0`,
7769
7769
  "Bird-Surface": "sdk-js",
7770
- "Bird-Version": "0.44.0"
7770
+ "Bird-Version": "0.45.0"
7771
7771
  };
7772
7772
  const caller = detectCaller();
7773
7773
  if (caller) this.#headers["Bird-Caller"] = caller;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@messagebird/sdk",
3
- "version": "0.44.0",
3
+ "version": "0.45.0",
4
4
  "description": "The official TypeScript SDK for the Bird API: email, SMS, WhatsApp, verification, and Realtime on one typed client.",
5
5
  "license": "MIT",
6
6
  "author": "Bird",