@getlatedev/node 0.2.1668 → 0.2.1669

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
@@ -34941,7 +34941,19 @@ type GetAccountHealthResponse = ({
34941
34941
  * Google and Microsoft only: today's outbound mail allowance for the mailbox.
34942
34942
  */
34943
34943
  sendCap?: {
34944
+ /**
34945
+ * Today's cap: the base cap, doubled after 14 days of sending with no spam signal.
34946
+ */
34944
34947
  limit?: number;
34948
+ /**
34949
+ * The cap before doubling.
34950
+ */
34951
+ baseLimit?: number;
34952
+ doubled?: boolean;
34953
+ /**
34954
+ * When the cap doubles if the mailbox sends every day from now on and raises no spam signal. Null once doubled, with a manual limit, and on IMAP.
34955
+ */
34956
+ doublesAt?: (string) | null;
34945
34957
  used?: number;
34946
34958
  resetsAt?: string;
34947
34959
  };
package/dist/index.d.ts CHANGED
@@ -34941,7 +34941,19 @@ type GetAccountHealthResponse = ({
34941
34941
  * Google and Microsoft only: today's outbound mail allowance for the mailbox.
34942
34942
  */
34943
34943
  sendCap?: {
34944
+ /**
34945
+ * Today's cap: the base cap, doubled after 14 days of sending with no spam signal.
34946
+ */
34944
34947
  limit?: number;
34948
+ /**
34949
+ * The cap before doubling.
34950
+ */
34951
+ baseLimit?: number;
34952
+ doubled?: boolean;
34953
+ /**
34954
+ * When the cap doubles if the mailbox sends every day from now on and raises no spam signal. Null once doubled, with a manual limit, and on IMAP.
34955
+ */
34956
+ doublesAt?: (string) | null;
34945
34957
  used?: number;
34946
34958
  resetsAt?: string;
34947
34959
  };
package/dist/index.js CHANGED
@@ -36,7 +36,7 @@ module.exports = __toCommonJS(index_exports);
36
36
  // package.json
37
37
  var package_default = {
38
38
  name: "@getlatedev/node",
39
- version: "0.2.1668",
39
+ version: "0.2.1669",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
package/dist/index.mjs CHANGED
@@ -5,7 +5,7 @@ var __publicField = (obj, key, value) => __defNormalProp(obj, typeof key !== "sy
5
5
  // package.json
6
6
  var package_default = {
7
7
  name: "@getlatedev/node",
8
- version: "0.2.1668",
8
+ version: "0.2.1669",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.1668",
3
+ "version": "0.2.1669",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -6182,13 +6182,16 @@ export const listEmailMessages = <ThrowOnError extends boolean = false>(options:
6182
6182
  * Send an email
6183
6183
  * Sends from the connected mailbox and returns the stored sent copy.
6184
6184
  *
6185
- * The message is mirrored into the inbox (`message.sent` fires once) and counted against the mailbox's daily cap. The cap is reported in the `X-Zernio-Send-Limit`, `X-Zernio-Send-Remaining` and `X-Zernio-Send-Reset` response headers.
6185
+ * The message is mirrored into the inbox (`message.sent` fires once) and counted against the mailbox's daily cap. The cap is reported in the `X-Zernio-Send-Limit`, `X-Zernio-Send-Remaining` and `X-Zernio-Send-Reset` response headers, plus `X-Zernio-Send-Doubles-At` while the cap can still double.
6186
6186
  *
6187
6187
  * ### Sending limits
6188
6188
  *
6189
6189
  * These mailboxes are for one-to-one mail, not bulk sends. Protection on every mailbox:
6190
6190
  *
6191
- * - Daily cap: Microsoft 1,000; Google Workspace 500; Gmail consumer 200. Reaching it answers 429 `email_send_cap_reached` with `details.cap`.
6191
+ * - Daily cap: Microsoft 1,000; Google Workspace 500; Gmail consumer 200; IMAP 200. Reaching it answers 429 `email_send_cap_reached` with `details.cap`.
6192
+ * - The cap of a Microsoft, Google Workspace or Gmail mailbox doubles once (2,000, 1,000 and 400) after 14 days with a successful send, counted since its last spam signal and never past the provider's own limit. Days need not be consecutive.
6193
+ * - A spam signal starts the count over and returns the cap to its base. Signals: a same-body burst, a send refused over the mailbox's sending quota, a spam or blocklist bounce, or 10 hard bounces within an hour. Without one, a doubled cap stays doubled.
6194
+ * - Higher limits are available on request for established senders.
6192
6195
  * - The same body reaching more than 50 distinct recipients within an hour pauses the mailbox with an escalating cooldown (429 `rate_limited`, `account.rate_limited` webhook).
6193
6196
  *
6194
6197
  * ### Scheduling
@@ -34023,7 +34023,19 @@ export type GetAccountHealthResponse = ({
34023
34023
  * Google and Microsoft only: today's outbound mail allowance for the mailbox.
34024
34024
  */
34025
34025
  sendCap?: {
34026
+ /**
34027
+ * Today's cap: the base cap, doubled after 14 days of sending with no spam signal.
34028
+ */
34026
34029
  limit?: number;
34030
+ /**
34031
+ * The cap before doubling.
34032
+ */
34033
+ baseLimit?: number;
34034
+ doubled?: boolean;
34035
+ /**
34036
+ * When the cap doubles if the mailbox sends every day from now on and raises no spam signal. Null once doubled, with a manual limit, and on IMAP.
34037
+ */
34038
+ doublesAt?: (string) | null;
34027
34039
  used?: number;
34028
34040
  resetsAt?: string;
34029
34041
  };