@getlatedev/node 0.2.330 → 0.2.332
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 +32 -6
- package/dist/index.d.ts +32 -6
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/package.json +1 -1
- package/src/generated/types.gen.ts +32 -6
package/dist/index.d.mts
CHANGED
|
@@ -6026,6 +6026,12 @@ type WebhookPayloadPost = {
|
|
|
6026
6026
|
publishedUrl?: string;
|
|
6027
6027
|
error?: string;
|
|
6028
6028
|
}>;
|
|
6029
|
+
/**
|
|
6030
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6031
|
+
*/
|
|
6032
|
+
metadata?: {
|
|
6033
|
+
[key: string]: unknown;
|
|
6034
|
+
};
|
|
6029
6035
|
};
|
|
6030
6036
|
timestamp: string;
|
|
6031
6037
|
};
|
|
@@ -6072,6 +6078,12 @@ type WebhookPayloadPostPlatform = {
|
|
|
6072
6078
|
publishedUrl?: string;
|
|
6073
6079
|
error?: string;
|
|
6074
6080
|
}>;
|
|
6081
|
+
/**
|
|
6082
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6083
|
+
*/
|
|
6084
|
+
metadata?: {
|
|
6085
|
+
[key: string]: unknown;
|
|
6086
|
+
};
|
|
6075
6087
|
};
|
|
6076
6088
|
/**
|
|
6077
6089
|
* The specific platform that just transitioned to a terminal state.
|
|
@@ -16671,26 +16683,37 @@ type StartSmsRegistrationData = {
|
|
|
16671
16683
|
* Required for every entityType except SOLE_PROPRIETOR.
|
|
16672
16684
|
*/
|
|
16673
16685
|
ein?: string;
|
|
16686
|
+
/**
|
|
16687
|
+
* Business contact phone. Required for every entityType except SOLE_PROPRIETOR.
|
|
16688
|
+
*/
|
|
16674
16689
|
phone?: string;
|
|
16675
16690
|
/**
|
|
16676
16691
|
* Required for SOLE_PROPRIETOR; the verification OTP is texted there (US/CA mobile).
|
|
16677
16692
|
*/
|
|
16678
16693
|
mobilePhone?: string;
|
|
16679
|
-
street
|
|
16680
|
-
city
|
|
16681
|
-
state
|
|
16682
|
-
postalCode
|
|
16694
|
+
street: string;
|
|
16695
|
+
city: string;
|
|
16696
|
+
state: string;
|
|
16697
|
+
postalCode: string;
|
|
16683
16698
|
country: 'US' | 'CA';
|
|
16684
16699
|
/**
|
|
16685
16700
|
* Brand contact email; defaults to your account email when omitted.
|
|
16686
16701
|
*/
|
|
16687
16702
|
email?: string;
|
|
16688
|
-
|
|
16703
|
+
/**
|
|
16704
|
+
* The brand's website (sole proprietors may use a social profile such as LinkedIn or a business Facebook page). Carriers verify the brand against it; a bare domain is normalized to https://.
|
|
16705
|
+
*/
|
|
16706
|
+
website: string;
|
|
16689
16707
|
vertical: 'AGRICULTURE' | 'COMMUNICATION' | 'CONSTRUCTION' | 'EDUCATION' | 'ENERGY' | 'ENTERTAINMENT' | 'FINANCIAL' | 'GAMBLING' | 'GOVERNMENT' | 'HEALTHCARE' | 'HOSPITALITY' | 'HUMAN_RESOURCES' | 'INSURANCE' | 'LEGAL' | 'MANUFACTURING' | 'NGO' | 'POLITICAL' | 'POSTAL' | 'PROFESSIONAL' | 'REAL_ESTATE' | 'RETAIL' | 'TECHNOLOGY' | 'TRANSPORTATION';
|
|
16690
16708
|
stockSymbol?: string;
|
|
16691
16709
|
};
|
|
16692
16710
|
/**
|
|
16693
16711
|
* Required for 10DLC. What you'll send and how recipients opt in/out.
|
|
16712
|
+
* Opt-in/opt-out/help auto-responses must name the registered brand and
|
|
16713
|
+
* carry the carrier-required disclosures; submissions that don't (or that
|
|
16714
|
+
* are blank) are automatically rewritten to a compliant, brand-named
|
|
16715
|
+
* template before the campaign is filed.
|
|
16716
|
+
*
|
|
16694
16717
|
*/
|
|
16695
16718
|
campaign?: {
|
|
16696
16719
|
usecase: string;
|
|
@@ -16700,7 +16723,10 @@ type StartSmsRegistrationData = {
|
|
|
16700
16723
|
*/
|
|
16701
16724
|
messageFlow: string;
|
|
16702
16725
|
sample1: string;
|
|
16703
|
-
|
|
16726
|
+
/**
|
|
16727
|
+
* Second example message; carriers require two distinct samples
|
|
16728
|
+
*/
|
|
16729
|
+
sample2: string;
|
|
16704
16730
|
helpMessage: string;
|
|
16705
16731
|
optinKeywords: string;
|
|
16706
16732
|
optinMessage: string;
|
package/dist/index.d.ts
CHANGED
|
@@ -6026,6 +6026,12 @@ type WebhookPayloadPost = {
|
|
|
6026
6026
|
publishedUrl?: string;
|
|
6027
6027
|
error?: string;
|
|
6028
6028
|
}>;
|
|
6029
|
+
/**
|
|
6030
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6031
|
+
*/
|
|
6032
|
+
metadata?: {
|
|
6033
|
+
[key: string]: unknown;
|
|
6034
|
+
};
|
|
6029
6035
|
};
|
|
6030
6036
|
timestamp: string;
|
|
6031
6037
|
};
|
|
@@ -6072,6 +6078,12 @@ type WebhookPayloadPostPlatform = {
|
|
|
6072
6078
|
publishedUrl?: string;
|
|
6073
6079
|
error?: string;
|
|
6074
6080
|
}>;
|
|
6081
|
+
/**
|
|
6082
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
6083
|
+
*/
|
|
6084
|
+
metadata?: {
|
|
6085
|
+
[key: string]: unknown;
|
|
6086
|
+
};
|
|
6075
6087
|
};
|
|
6076
6088
|
/**
|
|
6077
6089
|
* The specific platform that just transitioned to a terminal state.
|
|
@@ -16671,26 +16683,37 @@ type StartSmsRegistrationData = {
|
|
|
16671
16683
|
* Required for every entityType except SOLE_PROPRIETOR.
|
|
16672
16684
|
*/
|
|
16673
16685
|
ein?: string;
|
|
16686
|
+
/**
|
|
16687
|
+
* Business contact phone. Required for every entityType except SOLE_PROPRIETOR.
|
|
16688
|
+
*/
|
|
16674
16689
|
phone?: string;
|
|
16675
16690
|
/**
|
|
16676
16691
|
* Required for SOLE_PROPRIETOR; the verification OTP is texted there (US/CA mobile).
|
|
16677
16692
|
*/
|
|
16678
16693
|
mobilePhone?: string;
|
|
16679
|
-
street
|
|
16680
|
-
city
|
|
16681
|
-
state
|
|
16682
|
-
postalCode
|
|
16694
|
+
street: string;
|
|
16695
|
+
city: string;
|
|
16696
|
+
state: string;
|
|
16697
|
+
postalCode: string;
|
|
16683
16698
|
country: 'US' | 'CA';
|
|
16684
16699
|
/**
|
|
16685
16700
|
* Brand contact email; defaults to your account email when omitted.
|
|
16686
16701
|
*/
|
|
16687
16702
|
email?: string;
|
|
16688
|
-
|
|
16703
|
+
/**
|
|
16704
|
+
* The brand's website (sole proprietors may use a social profile such as LinkedIn or a business Facebook page). Carriers verify the brand against it; a bare domain is normalized to https://.
|
|
16705
|
+
*/
|
|
16706
|
+
website: string;
|
|
16689
16707
|
vertical: 'AGRICULTURE' | 'COMMUNICATION' | 'CONSTRUCTION' | 'EDUCATION' | 'ENERGY' | 'ENTERTAINMENT' | 'FINANCIAL' | 'GAMBLING' | 'GOVERNMENT' | 'HEALTHCARE' | 'HOSPITALITY' | 'HUMAN_RESOURCES' | 'INSURANCE' | 'LEGAL' | 'MANUFACTURING' | 'NGO' | 'POLITICAL' | 'POSTAL' | 'PROFESSIONAL' | 'REAL_ESTATE' | 'RETAIL' | 'TECHNOLOGY' | 'TRANSPORTATION';
|
|
16690
16708
|
stockSymbol?: string;
|
|
16691
16709
|
};
|
|
16692
16710
|
/**
|
|
16693
16711
|
* Required for 10DLC. What you'll send and how recipients opt in/out.
|
|
16712
|
+
* Opt-in/opt-out/help auto-responses must name the registered brand and
|
|
16713
|
+
* carry the carrier-required disclosures; submissions that don't (or that
|
|
16714
|
+
* are blank) are automatically rewritten to a compliant, brand-named
|
|
16715
|
+
* template before the campaign is filed.
|
|
16716
|
+
*
|
|
16694
16717
|
*/
|
|
16695
16718
|
campaign?: {
|
|
16696
16719
|
usecase: string;
|
|
@@ -16700,7 +16723,10 @@ type StartSmsRegistrationData = {
|
|
|
16700
16723
|
*/
|
|
16701
16724
|
messageFlow: string;
|
|
16702
16725
|
sample1: string;
|
|
16703
|
-
|
|
16726
|
+
/**
|
|
16727
|
+
* Second example message; carriers require two distinct samples
|
|
16728
|
+
*/
|
|
16729
|
+
sample2: string;
|
|
16704
16730
|
helpMessage: string;
|
|
16705
16731
|
optinKeywords: string;
|
|
16706
16732
|
optinMessage: string;
|
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.332",
|
|
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.332",
|
|
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
|
@@ -5374,6 +5374,12 @@ export type WebhookPayloadPost = {
|
|
|
5374
5374
|
publishedUrl?: string;
|
|
5375
5375
|
error?: string;
|
|
5376
5376
|
}>;
|
|
5377
|
+
/**
|
|
5378
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
5379
|
+
*/
|
|
5380
|
+
metadata?: {
|
|
5381
|
+
[key: string]: unknown;
|
|
5382
|
+
};
|
|
5377
5383
|
};
|
|
5378
5384
|
timestamp: string;
|
|
5379
5385
|
};
|
|
@@ -5422,6 +5428,12 @@ export type WebhookPayloadPostPlatform = {
|
|
|
5422
5428
|
publishedUrl?: string;
|
|
5423
5429
|
error?: string;
|
|
5424
5430
|
}>;
|
|
5431
|
+
/**
|
|
5432
|
+
* The free-form `metadata` object supplied when the post was created, echoed back so you can map events onto your own records. Omitted when the post was created without it.
|
|
5433
|
+
*/
|
|
5434
|
+
metadata?: {
|
|
5435
|
+
[key: string]: unknown;
|
|
5436
|
+
};
|
|
5425
5437
|
};
|
|
5426
5438
|
/**
|
|
5427
5439
|
* The specific platform that just transitioned to a terminal state.
|
|
@@ -16807,26 +16819,37 @@ export type StartSmsRegistrationData = {
|
|
|
16807
16819
|
* Required for every entityType except SOLE_PROPRIETOR.
|
|
16808
16820
|
*/
|
|
16809
16821
|
ein?: string;
|
|
16822
|
+
/**
|
|
16823
|
+
* Business contact phone. Required for every entityType except SOLE_PROPRIETOR.
|
|
16824
|
+
*/
|
|
16810
16825
|
phone?: string;
|
|
16811
16826
|
/**
|
|
16812
16827
|
* Required for SOLE_PROPRIETOR; the verification OTP is texted there (US/CA mobile).
|
|
16813
16828
|
*/
|
|
16814
16829
|
mobilePhone?: string;
|
|
16815
|
-
street
|
|
16816
|
-
city
|
|
16817
|
-
state
|
|
16818
|
-
postalCode
|
|
16830
|
+
street: string;
|
|
16831
|
+
city: string;
|
|
16832
|
+
state: string;
|
|
16833
|
+
postalCode: string;
|
|
16819
16834
|
country: 'US' | 'CA';
|
|
16820
16835
|
/**
|
|
16821
16836
|
* Brand contact email; defaults to your account email when omitted.
|
|
16822
16837
|
*/
|
|
16823
16838
|
email?: string;
|
|
16824
|
-
|
|
16839
|
+
/**
|
|
16840
|
+
* The brand's website (sole proprietors may use a social profile such as LinkedIn or a business Facebook page). Carriers verify the brand against it; a bare domain is normalized to https://.
|
|
16841
|
+
*/
|
|
16842
|
+
website: string;
|
|
16825
16843
|
vertical: 'AGRICULTURE' | 'COMMUNICATION' | 'CONSTRUCTION' | 'EDUCATION' | 'ENERGY' | 'ENTERTAINMENT' | 'FINANCIAL' | 'GAMBLING' | 'GOVERNMENT' | 'HEALTHCARE' | 'HOSPITALITY' | 'HUMAN_RESOURCES' | 'INSURANCE' | 'LEGAL' | 'MANUFACTURING' | 'NGO' | 'POLITICAL' | 'POSTAL' | 'PROFESSIONAL' | 'REAL_ESTATE' | 'RETAIL' | 'TECHNOLOGY' | 'TRANSPORTATION';
|
|
16826
16844
|
stockSymbol?: string;
|
|
16827
16845
|
};
|
|
16828
16846
|
/**
|
|
16829
16847
|
* Required for 10DLC. What you'll send and how recipients opt in/out.
|
|
16848
|
+
* Opt-in/opt-out/help auto-responses must name the registered brand and
|
|
16849
|
+
* carry the carrier-required disclosures; submissions that don't (or that
|
|
16850
|
+
* are blank) are automatically rewritten to a compliant, brand-named
|
|
16851
|
+
* template before the campaign is filed.
|
|
16852
|
+
*
|
|
16830
16853
|
*/
|
|
16831
16854
|
campaign?: {
|
|
16832
16855
|
usecase: string;
|
|
@@ -16836,7 +16859,10 @@ export type StartSmsRegistrationData = {
|
|
|
16836
16859
|
*/
|
|
16837
16860
|
messageFlow: string;
|
|
16838
16861
|
sample1: string;
|
|
16839
|
-
|
|
16862
|
+
/**
|
|
16863
|
+
* Second example message; carriers require two distinct samples
|
|
16864
|
+
*/
|
|
16865
|
+
sample2: string;
|
|
16840
16866
|
helpMessage: string;
|
|
16841
16867
|
optinKeywords: string;
|
|
16842
16868
|
optinMessage: string;
|