@getlatedev/node 0.2.1668 → 0.2.1670

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
@@ -10538,6 +10538,15 @@ type ConversionEvent = {
10538
10538
  *
10539
10539
  */
10540
10540
  leadId?: string;
10541
+ /**
10542
+ * The Zernio tag's visitor id, from the `_zid` cookie the tag sets on your site. Zernio adds the click ids
10543
+ * and browser ids of that visit that the event lacks, before storing and forwarding it.
10544
+ *
10545
+ * Without it, Zernio finds the visit by the `email`, `phone` or `externalId` the tag saw. Ids you send
10546
+ * always win. Never sent to a platform. Read only by `POST /v1/events`, for a profile with a tracking site.
10547
+ *
10548
+ */
10549
+ visitorId?: string;
10541
10550
  /**
10542
10551
  * Platform click identifiers captured from the originating ad click.
10543
10552
  */
@@ -34941,7 +34950,19 @@ type GetAccountHealthResponse = ({
34941
34950
  * Google and Microsoft only: today's outbound mail allowance for the mailbox.
34942
34951
  */
34943
34952
  sendCap?: {
34953
+ /**
34954
+ * Today's cap: the base cap, doubled after 14 days of sending with no spam signal.
34955
+ */
34944
34956
  limit?: number;
34957
+ /**
34958
+ * The cap before doubling.
34959
+ */
34960
+ baseLimit?: number;
34961
+ doubled?: boolean;
34962
+ /**
34963
+ * 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.
34964
+ */
34965
+ doublesAt?: (string) | null;
34945
34966
  used?: number;
34946
34967
  resetsAt?: string;
34947
34968
  };
package/dist/index.d.ts CHANGED
@@ -10538,6 +10538,15 @@ type ConversionEvent = {
10538
10538
  *
10539
10539
  */
10540
10540
  leadId?: string;
10541
+ /**
10542
+ * The Zernio tag's visitor id, from the `_zid` cookie the tag sets on your site. Zernio adds the click ids
10543
+ * and browser ids of that visit that the event lacks, before storing and forwarding it.
10544
+ *
10545
+ * Without it, Zernio finds the visit by the `email`, `phone` or `externalId` the tag saw. Ids you send
10546
+ * always win. Never sent to a platform. Read only by `POST /v1/events`, for a profile with a tracking site.
10547
+ *
10548
+ */
10549
+ visitorId?: string;
10541
10550
  /**
10542
10551
  * Platform click identifiers captured from the originating ad click.
10543
10552
  */
@@ -34941,7 +34950,19 @@ type GetAccountHealthResponse = ({
34941
34950
  * Google and Microsoft only: today's outbound mail allowance for the mailbox.
34942
34951
  */
34943
34952
  sendCap?: {
34953
+ /**
34954
+ * Today's cap: the base cap, doubled after 14 days of sending with no spam signal.
34955
+ */
34944
34956
  limit?: number;
34957
+ /**
34958
+ * The cap before doubling.
34959
+ */
34960
+ baseLimit?: number;
34961
+ doubled?: boolean;
34962
+ /**
34963
+ * 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.
34964
+ */
34965
+ doublesAt?: (string) | null;
34945
34966
  used?: number;
34946
34967
  resetsAt?: string;
34947
34968
  };
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.1670",
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.1670",
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.1670",
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
@@ -8410,6 +8410,15 @@ export type ConversionEvent = {
8410
8410
  *
8411
8411
  */
8412
8412
  leadId?: string;
8413
+ /**
8414
+ * The Zernio tag's visitor id, from the `_zid` cookie the tag sets on your site. Zernio adds the click ids
8415
+ * and browser ids of that visit that the event lacks, before storing and forwarding it.
8416
+ *
8417
+ * Without it, Zernio finds the visit by the `email`, `phone` or `externalId` the tag saw. Ids you send
8418
+ * always win. Never sent to a platform. Read only by `POST /v1/events`, for a profile with a tracking site.
8419
+ *
8420
+ */
8421
+ visitorId?: string;
8413
8422
  /**
8414
8423
  * Platform click identifiers captured from the originating ad click.
8415
8424
  */
@@ -34023,7 +34032,19 @@ export type GetAccountHealthResponse = ({
34023
34032
  * Google and Microsoft only: today's outbound mail allowance for the mailbox.
34024
34033
  */
34025
34034
  sendCap?: {
34035
+ /**
34036
+ * Today's cap: the base cap, doubled after 14 days of sending with no spam signal.
34037
+ */
34026
34038
  limit?: number;
34039
+ /**
34040
+ * The cap before doubling.
34041
+ */
34042
+ baseLimit?: number;
34043
+ doubled?: boolean;
34044
+ /**
34045
+ * 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.
34046
+ */
34047
+ doublesAt?: (string) | null;
34027
34048
  used?: number;
34028
34049
  resetsAt?: string;
34029
34050
  };