@getlatedev/node 0.2.1706 → 0.2.1708
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 +12 -4
- package/dist/index.d.ts +12 -4
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/sdk.gen.ts +1 -1
- package/src/generated/types.gen.ts +12 -4
package/dist/index.d.mts
CHANGED
|
@@ -20237,7 +20237,7 @@ type SalesforceSettings = {
|
|
|
20237
20237
|
*/
|
|
20238
20238
|
createAs: 'lead' | 'contact';
|
|
20239
20239
|
/**
|
|
20240
|
-
* Whether sent messages in the transcript are marked delivered, read or failed.
|
|
20240
|
+
* Whether sent WhatsApp, SMS and RCS messages in the transcript are marked sent, delivered, read, played or failed.
|
|
20241
20241
|
*/
|
|
20242
20242
|
logDeliveryStatus: boolean;
|
|
20243
20243
|
/**
|
|
@@ -36369,6 +36369,14 @@ type GetConnectUrlData = {
|
|
|
36369
36369
|
/**
|
|
36370
36370
|
* WhatsApp with `signup=hosted` only; ignored on other flows. The number (E.164) the user must connect. If they pick a different number in Meta's popup, the hosted page ends with a 409 `NUMBER_MISMATCH` naming the number they picked, and nothing is saved.
|
|
36371
36371
|
*
|
|
36372
|
+
* The full international number is compared, country code included. A number that differs only in its country code, or shares only its last digits, is a mismatch.
|
|
36373
|
+
*
|
|
36374
|
+
* The only spellings treated as the same number are national re-spellings of one line, such as a Brazilian mobile with or without its ninth digit, or a Mexican mobile with or without the `1` after `+52`.
|
|
36375
|
+
*
|
|
36376
|
+
* The pin is held server-side on the connect token, not in the hosted page URL, so removing it from the URL does not lift it.
|
|
36377
|
+
*
|
|
36378
|
+
* It is also enforced on late completions: when the browser closes before the signup finishes, Zernio only connects the number in the background if it matches.
|
|
36379
|
+
*
|
|
36372
36380
|
* Use it to reconnect a known number safely. For a number bought from Zernio, the hosted page already expects that number and this value is ignored.
|
|
36373
36381
|
*
|
|
36374
36382
|
*/
|
|
@@ -40847,7 +40855,7 @@ type ConnectWhatsAppEmbeddedSignupData = {
|
|
|
40847
40855
|
*/
|
|
40848
40856
|
isCoexistence?: boolean;
|
|
40849
40857
|
/**
|
|
40850
|
-
* Rejects the connect when Meta returns a different number
|
|
40858
|
+
* Rejects the connect when Meta returns a different number (full international number). With a connect token minted with a pinned number, the pinned number applies instead.
|
|
40851
40859
|
*/
|
|
40852
40860
|
expectedPhoneNumber?: string;
|
|
40853
40861
|
/**
|
|
@@ -43050,11 +43058,11 @@ type UpdateSalesforceSettingsData = {
|
|
|
43050
43058
|
*/
|
|
43051
43059
|
createAs?: 'lead' | 'contact';
|
|
43052
43060
|
/**
|
|
43053
|
-
* Mark sent messages in the transcript as delivered, read or failed.
|
|
43061
|
+
* Mark sent WhatsApp, SMS and RCS messages in the transcript as sent, delivered, read, played or failed.
|
|
43054
43062
|
*/
|
|
43055
43063
|
logDeliveryStatus?: boolean;
|
|
43056
43064
|
/**
|
|
43057
|
-
* Count closed-won Opportunities as sales on the ad campaign named by their Primary Campaign Source, in campaign results and ad rules. Turning it on also fills in the Opportunities won in the last 90 days. Lost or reopened Opportunities stop counting.
|
|
43065
|
+
* Count closed-won Opportunities as sales on the ad campaign named by their Primary Campaign Source, in campaign results and ad rules. Turning it on also fills in the Opportunities won in the last 90 days, never sent to the ad platforms. Lost or reopened Opportunities stop counting.
|
|
43058
43066
|
*/
|
|
43059
43067
|
useOpportunitiesInResults?: boolean;
|
|
43060
43068
|
/**
|
package/dist/index.d.ts
CHANGED
|
@@ -20237,7 +20237,7 @@ type SalesforceSettings = {
|
|
|
20237
20237
|
*/
|
|
20238
20238
|
createAs: 'lead' | 'contact';
|
|
20239
20239
|
/**
|
|
20240
|
-
* Whether sent messages in the transcript are marked delivered, read or failed.
|
|
20240
|
+
* Whether sent WhatsApp, SMS and RCS messages in the transcript are marked sent, delivered, read, played or failed.
|
|
20241
20241
|
*/
|
|
20242
20242
|
logDeliveryStatus: boolean;
|
|
20243
20243
|
/**
|
|
@@ -36369,6 +36369,14 @@ type GetConnectUrlData = {
|
|
|
36369
36369
|
/**
|
|
36370
36370
|
* WhatsApp with `signup=hosted` only; ignored on other flows. The number (E.164) the user must connect. If they pick a different number in Meta's popup, the hosted page ends with a 409 `NUMBER_MISMATCH` naming the number they picked, and nothing is saved.
|
|
36371
36371
|
*
|
|
36372
|
+
* The full international number is compared, country code included. A number that differs only in its country code, or shares only its last digits, is a mismatch.
|
|
36373
|
+
*
|
|
36374
|
+
* The only spellings treated as the same number are national re-spellings of one line, such as a Brazilian mobile with or without its ninth digit, or a Mexican mobile with or without the `1` after `+52`.
|
|
36375
|
+
*
|
|
36376
|
+
* The pin is held server-side on the connect token, not in the hosted page URL, so removing it from the URL does not lift it.
|
|
36377
|
+
*
|
|
36378
|
+
* It is also enforced on late completions: when the browser closes before the signup finishes, Zernio only connects the number in the background if it matches.
|
|
36379
|
+
*
|
|
36372
36380
|
* Use it to reconnect a known number safely. For a number bought from Zernio, the hosted page already expects that number and this value is ignored.
|
|
36373
36381
|
*
|
|
36374
36382
|
*/
|
|
@@ -40847,7 +40855,7 @@ type ConnectWhatsAppEmbeddedSignupData = {
|
|
|
40847
40855
|
*/
|
|
40848
40856
|
isCoexistence?: boolean;
|
|
40849
40857
|
/**
|
|
40850
|
-
* Rejects the connect when Meta returns a different number
|
|
40858
|
+
* Rejects the connect when Meta returns a different number (full international number). With a connect token minted with a pinned number, the pinned number applies instead.
|
|
40851
40859
|
*/
|
|
40852
40860
|
expectedPhoneNumber?: string;
|
|
40853
40861
|
/**
|
|
@@ -43050,11 +43058,11 @@ type UpdateSalesforceSettingsData = {
|
|
|
43050
43058
|
*/
|
|
43051
43059
|
createAs?: 'lead' | 'contact';
|
|
43052
43060
|
/**
|
|
43053
|
-
* Mark sent messages in the transcript as delivered, read or failed.
|
|
43061
|
+
* Mark sent WhatsApp, SMS and RCS messages in the transcript as sent, delivered, read, played or failed.
|
|
43054
43062
|
*/
|
|
43055
43063
|
logDeliveryStatus?: boolean;
|
|
43056
43064
|
/**
|
|
43057
|
-
* Count closed-won Opportunities as sales on the ad campaign named by their Primary Campaign Source, in campaign results and ad rules. Turning it on also fills in the Opportunities won in the last 90 days. Lost or reopened Opportunities stop counting.
|
|
43065
|
+
* Count closed-won Opportunities as sales on the ad campaign named by their Primary Campaign Source, in campaign results and ad rules. Turning it on also fills in the Opportunities won in the last 90 days, never sent to the ad platforms. Lost or reopened Opportunities stop counting.
|
|
43058
43066
|
*/
|
|
43059
43067
|
useOpportunitiesInResults?: boolean;
|
|
43060
43068
|
/**
|
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.
|
|
39
|
+
version: "0.2.1708",
|
|
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.
|
|
8
|
+
version: "0.2.1708",
|
|
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
package/src/generated/sdk.gen.ts
CHANGED
|
@@ -5443,7 +5443,7 @@ export const getHubSpotSettings = <ThrowOnError extends boolean = false>(options
|
|
|
5443
5443
|
|
|
5444
5444
|
/**
|
|
5445
5445
|
* Update HubSpot account settings
|
|
5446
|
-
* Turn contact sync, message logging or deal reporting on or off for a connected HubSpot portal. Send at least one field; omitted fields keep their value. Settings survive reconnecting the same portal.
|
|
5446
|
+
* Turn contact sync, message logging, delivery status or deal reporting on or off for a connected HubSpot portal, or set defaults for the contact properties the portal requires. Send at least one field; omitted fields keep their value. Settings survive reconnecting the same portal.
|
|
5447
5447
|
*/
|
|
5448
5448
|
export const updateHubSpotSettings = <ThrowOnError extends boolean = false>(options: OptionsLegacyParser<UpdateHubSpotSettingsData, ThrowOnError>) => {
|
|
5449
5449
|
return (options?.client ?? client).patch<UpdateHubSpotSettingsResponse, UpdateHubSpotSettingsError, ThrowOnError>({
|
|
@@ -18542,7 +18542,7 @@ export type SalesforceSettings = {
|
|
|
18542
18542
|
*/
|
|
18543
18543
|
createAs: 'lead' | 'contact';
|
|
18544
18544
|
/**
|
|
18545
|
-
* Whether sent messages in the transcript are marked delivered, read or failed.
|
|
18545
|
+
* Whether sent WhatsApp, SMS and RCS messages in the transcript are marked sent, delivered, read, played or failed.
|
|
18546
18546
|
*/
|
|
18547
18547
|
logDeliveryStatus: boolean;
|
|
18548
18548
|
/**
|
|
@@ -35504,6 +35504,14 @@ export type GetConnectUrlData = {
|
|
|
35504
35504
|
/**
|
|
35505
35505
|
* WhatsApp with `signup=hosted` only; ignored on other flows. The number (E.164) the user must connect. If they pick a different number in Meta's popup, the hosted page ends with a 409 `NUMBER_MISMATCH` naming the number they picked, and nothing is saved.
|
|
35506
35506
|
*
|
|
35507
|
+
* The full international number is compared, country code included. A number that differs only in its country code, or shares only its last digits, is a mismatch.
|
|
35508
|
+
*
|
|
35509
|
+
* The only spellings treated as the same number are national re-spellings of one line, such as a Brazilian mobile with or without its ninth digit, or a Mexican mobile with or without the `1` after `+52`.
|
|
35510
|
+
*
|
|
35511
|
+
* The pin is held server-side on the connect token, not in the hosted page URL, so removing it from the URL does not lift it.
|
|
35512
|
+
*
|
|
35513
|
+
* It is also enforced on late completions: when the browser closes before the signup finishes, Zernio only connects the number in the background if it matches.
|
|
35514
|
+
*
|
|
35507
35515
|
* Use it to reconnect a known number safely. For a number bought from Zernio, the hosted page already expects that number and this value is ignored.
|
|
35508
35516
|
*
|
|
35509
35517
|
*/
|
|
@@ -40201,7 +40209,7 @@ export type ConnectWhatsAppEmbeddedSignupData = {
|
|
|
40201
40209
|
*/
|
|
40202
40210
|
isCoexistence?: boolean;
|
|
40203
40211
|
/**
|
|
40204
|
-
* Rejects the connect when Meta returns a different number
|
|
40212
|
+
* Rejects the connect when Meta returns a different number (full international number). With a connect token minted with a pinned number, the pinned number applies instead.
|
|
40205
40213
|
*/
|
|
40206
40214
|
expectedPhoneNumber?: string;
|
|
40207
40215
|
/**
|
|
@@ -42586,11 +42594,11 @@ export type UpdateSalesforceSettingsData = {
|
|
|
42586
42594
|
*/
|
|
42587
42595
|
createAs?: 'lead' | 'contact';
|
|
42588
42596
|
/**
|
|
42589
|
-
* Mark sent messages in the transcript as delivered, read or failed.
|
|
42597
|
+
* Mark sent WhatsApp, SMS and RCS messages in the transcript as sent, delivered, read, played or failed.
|
|
42590
42598
|
*/
|
|
42591
42599
|
logDeliveryStatus?: boolean;
|
|
42592
42600
|
/**
|
|
42593
|
-
* Count closed-won Opportunities as sales on the ad campaign named by their Primary Campaign Source, in campaign results and ad rules. Turning it on also fills in the Opportunities won in the last 90 days. Lost or reopened Opportunities stop counting.
|
|
42601
|
+
* Count closed-won Opportunities as sales on the ad campaign named by their Primary Campaign Source, in campaign results and ad rules. Turning it on also fills in the Opportunities won in the last 90 days, never sent to the ad platforms. Lost or reopened Opportunities stop counting.
|
|
42594
42602
|
*/
|
|
42595
42603
|
useOpportunitiesInResults?: boolean;
|
|
42596
42604
|
/**
|