@getlatedev/node 0.2.1694 → 0.2.1696

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
@@ -15430,6 +15430,10 @@ type HubSpotSettings = {
15430
15430
  * Whether Zernio logs inbox messages on HubSpot contact timelines.
15431
15431
  */
15432
15432
  logMessages: boolean;
15433
+ /**
15434
+ * Whether Zernio keeps the delivery status (sent, delivered, read, played, failed) of logged outgoing messages up to date on their HubSpot timeline entries. Only applies while `logMessages` is on. Defaults to `true`.
15435
+ */
15436
+ logDeliveryStatus: boolean;
15433
15437
  /**
15434
15438
  * Whether Zernio sends closed-won deals as Purchase events to the profile's event destinations.
15435
15439
  */
@@ -29070,12 +29074,13 @@ type WorkflowNode = {
29070
29074
  *
29071
29075
  * Template `variableMapping` entries with `field: custom` interpolate `{{...}}` in `customValue`. An array or object interpolated into text renders as JSON.
29072
29076
  *
29073
- * **send_message**: `{ messageType: text|template|media|interactive|cards, text, template, media:{mediaType:image|video|audio|document, url,caption}, interactive, buttons, quickReplies, messageTag }`.
29077
+ * **send_message**: `{ messageType: text|template|media|interactive|cards, text, template, media:{mediaType:image|video|audio|document, url,caption,filename}, interactive, buttons, quickReplies, messageTag }`.
29074
29078
  *
29075
29079
  * - `template` is `{name,language,variableMapping}` for `messageType: template`, and `{ type: generic, elements:[{ title, subtitle, imageUrl, buttons }] }` (1 to 10 cards) for `messageType: cards`.
29076
29080
  * - `template` and `interactive` are WhatsApp-only. `interactive.type` is inferred from the payload shape when omitted; payloads with neither `type` nor an inferable shape are rejected.
29077
29081
  * - Facebook and Instagram only (a 400 on other platforms; WhatsApp keeps `interactive`): `cards`, `buttons` on `text` (cards carry their own buttons), and `quickReplies` / `messageTag` on `text`, `media` and `cards`.
29078
29082
  * - `media` takes no `buttons` (a 400 at save).
29083
+ * - `media.filename` (WhatsApp documents only): the file name the recipient sees, including its extension (e.g. Brochure.pdf). Without it WhatsApp names the file itself and it may not open.
29079
29084
  * - `buttons:[{ type: url|postback|phone, title, url, payload, phone, workflowId }]`: 1 to 3, text only (the text then 640 characters at most), sent as Meta's button_template, not inside cards. `phone` is Facebook-only.
29080
29085
  * - `quickReplies:[{ title, payload, imageUrl, workflowId }]`: 1 to 13, not combined with `buttons`.
29081
29086
  * - `messageTag` is not available: a workflow only sends within the 24h window, and `HUMAN_AGENT` is rejected with a 400 because it is only for replies typed by a person.
@@ -42530,6 +42535,10 @@ type UpdateHubSpotSettingsData = {
42530
42535
  * Log inbound and outbound inbox messages on the contact's HubSpot timeline.
42531
42536
  */
42532
42537
  logMessages?: boolean;
42538
+ /**
42539
+ * Add the delivery status of each outgoing WhatsApp, SMS or RCS message to its timeline entry and update it as the message is delivered, read or fails. A failure shows the reason and its code. Only applies while `logMessages` is on.
42540
+ */
42541
+ logDeliveryStatus?: boolean;
42533
42542
  /**
42534
42543
  * Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted `crm.objects.deals.read`; otherwise 400. Deals closed before it was turned on are not sent.
42535
42544
  */
package/dist/index.d.ts CHANGED
@@ -15430,6 +15430,10 @@ type HubSpotSettings = {
15430
15430
  * Whether Zernio logs inbox messages on HubSpot contact timelines.
15431
15431
  */
15432
15432
  logMessages: boolean;
15433
+ /**
15434
+ * Whether Zernio keeps the delivery status (sent, delivered, read, played, failed) of logged outgoing messages up to date on their HubSpot timeline entries. Only applies while `logMessages` is on. Defaults to `true`.
15435
+ */
15436
+ logDeliveryStatus: boolean;
15433
15437
  /**
15434
15438
  * Whether Zernio sends closed-won deals as Purchase events to the profile's event destinations.
15435
15439
  */
@@ -29070,12 +29074,13 @@ type WorkflowNode = {
29070
29074
  *
29071
29075
  * Template `variableMapping` entries with `field: custom` interpolate `{{...}}` in `customValue`. An array or object interpolated into text renders as JSON.
29072
29076
  *
29073
- * **send_message**: `{ messageType: text|template|media|interactive|cards, text, template, media:{mediaType:image|video|audio|document, url,caption}, interactive, buttons, quickReplies, messageTag }`.
29077
+ * **send_message**: `{ messageType: text|template|media|interactive|cards, text, template, media:{mediaType:image|video|audio|document, url,caption,filename}, interactive, buttons, quickReplies, messageTag }`.
29074
29078
  *
29075
29079
  * - `template` is `{name,language,variableMapping}` for `messageType: template`, and `{ type: generic, elements:[{ title, subtitle, imageUrl, buttons }] }` (1 to 10 cards) for `messageType: cards`.
29076
29080
  * - `template` and `interactive` are WhatsApp-only. `interactive.type` is inferred from the payload shape when omitted; payloads with neither `type` nor an inferable shape are rejected.
29077
29081
  * - Facebook and Instagram only (a 400 on other platforms; WhatsApp keeps `interactive`): `cards`, `buttons` on `text` (cards carry their own buttons), and `quickReplies` / `messageTag` on `text`, `media` and `cards`.
29078
29082
  * - `media` takes no `buttons` (a 400 at save).
29083
+ * - `media.filename` (WhatsApp documents only): the file name the recipient sees, including its extension (e.g. Brochure.pdf). Without it WhatsApp names the file itself and it may not open.
29079
29084
  * - `buttons:[{ type: url|postback|phone, title, url, payload, phone, workflowId }]`: 1 to 3, text only (the text then 640 characters at most), sent as Meta's button_template, not inside cards. `phone` is Facebook-only.
29080
29085
  * - `quickReplies:[{ title, payload, imageUrl, workflowId }]`: 1 to 13, not combined with `buttons`.
29081
29086
  * - `messageTag` is not available: a workflow only sends within the 24h window, and `HUMAN_AGENT` is rejected with a 400 because it is only for replies typed by a person.
@@ -42530,6 +42535,10 @@ type UpdateHubSpotSettingsData = {
42530
42535
  * Log inbound and outbound inbox messages on the contact's HubSpot timeline.
42531
42536
  */
42532
42537
  logMessages?: boolean;
42538
+ /**
42539
+ * Add the delivery status of each outgoing WhatsApp, SMS or RCS message to its timeline entry and update it as the message is delivered, read or fails. A failure shows the reason and its code. Only applies while `logMessages` is on.
42540
+ */
42541
+ logDeliveryStatus?: boolean;
42533
42542
  /**
42534
42543
  * Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted `crm.objects.deals.read`; otherwise 400. Deals closed before it was turned on are not sent.
42535
42544
  */
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.1694",
39
+ version: "0.2.1696",
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.1694",
8
+ version: "0.2.1696",
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.1694",
3
+ "version": "0.2.1696",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
@@ -13511,6 +13511,10 @@ export type HubSpotSettings = {
13511
13511
  * Whether Zernio logs inbox messages on HubSpot contact timelines.
13512
13512
  */
13513
13513
  logMessages: boolean;
13514
+ /**
13515
+ * Whether Zernio keeps the delivery status (sent, delivered, read, played, failed) of logged outgoing messages up to date on their HubSpot timeline entries. Only applies while `logMessages` is on. Defaults to `true`.
13516
+ */
13517
+ logDeliveryStatus: boolean;
13514
13518
  /**
13515
13519
  * Whether Zernio sends closed-won deals as Purchase events to the profile's event destinations.
13516
13520
  */
@@ -27761,12 +27765,13 @@ export type WorkflowNode = {
27761
27765
  *
27762
27766
  * Template `variableMapping` entries with `field: custom` interpolate `{{...}}` in `customValue`. An array or object interpolated into text renders as JSON.
27763
27767
  *
27764
- * **send_message**: `{ messageType: text|template|media|interactive|cards, text, template, media:{mediaType:image|video|audio|document, url,caption}, interactive, buttons, quickReplies, messageTag }`.
27768
+ * **send_message**: `{ messageType: text|template|media|interactive|cards, text, template, media:{mediaType:image|video|audio|document, url,caption,filename}, interactive, buttons, quickReplies, messageTag }`.
27765
27769
  *
27766
27770
  * - `template` is `{name,language,variableMapping}` for `messageType: template`, and `{ type: generic, elements:[{ title, subtitle, imageUrl, buttons }] }` (1 to 10 cards) for `messageType: cards`.
27767
27771
  * - `template` and `interactive` are WhatsApp-only. `interactive.type` is inferred from the payload shape when omitted; payloads with neither `type` nor an inferable shape are rejected.
27768
27772
  * - Facebook and Instagram only (a 400 on other platforms; WhatsApp keeps `interactive`): `cards`, `buttons` on `text` (cards carry their own buttons), and `quickReplies` / `messageTag` on `text`, `media` and `cards`.
27769
27773
  * - `media` takes no `buttons` (a 400 at save).
27774
+ * - `media.filename` (WhatsApp documents only): the file name the recipient sees, including its extension (e.g. Brochure.pdf). Without it WhatsApp names the file itself and it may not open.
27770
27775
  * - `buttons:[{ type: url|postback|phone, title, url, payload, phone, workflowId }]`: 1 to 3, text only (the text then 640 characters at most), sent as Meta's button_template, not inside cards. `phone` is Facebook-only.
27771
27776
  * - `quickReplies:[{ title, payload, imageUrl, workflowId }]`: 1 to 13, not combined with `buttons`.
27772
27777
  * - `messageTag` is not available: a workflow only sends within the 24h window, and `HUMAN_AGENT` is rejected with a 400 because it is only for replies typed by a person.
@@ -42050,6 +42055,10 @@ export type UpdateHubSpotSettingsData = {
42050
42055
  * Log inbound and outbound inbox messages on the contact's HubSpot timeline.
42051
42056
  */
42052
42057
  logMessages?: boolean;
42058
+ /**
42059
+ * Add the delivery status of each outgoing WhatsApp, SMS or RCS message to its timeline entry and update it as the message is delivered, read or fails. A failure shows the reason and its code. Only applies while `logMessages` is on.
42060
+ */
42061
+ logDeliveryStatus?: boolean;
42053
42062
  /**
42054
42063
  * Send each deal that becomes closed won as a Purchase to the profile's event destinations, about once an hour. Requires the portal to have granted `crm.objects.deals.read`; otherwise 400. Deals closed before it was turned on are not sent.
42055
42064
  */