@getlatedev/node 0.2.1264 → 0.2.1266
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/README.md +4 -2
- package/dist/index.d.mts +253 -99
- package/dist/index.d.ts +253 -99
- package/dist/index.js +17 -1
- package/dist/index.mjs +17 -1
- package/package.json +1 -1
- package/src/client.ts +6 -0
- package/src/generated/sdk.gen.ts +50 -7
- package/src/generated/types.gen.ts +256 -99
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.1266",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -960,6 +960,12 @@ var getWixConnectUrl = (options) => {
|
|
|
960
960
|
url: "/v1/connect/wix"
|
|
961
961
|
});
|
|
962
962
|
};
|
|
963
|
+
var getWebflowConnectUrl = (options) => {
|
|
964
|
+
return (options?.client ?? client).get({
|
|
965
|
+
...options,
|
|
966
|
+
url: "/v1/connect/webflow"
|
|
967
|
+
});
|
|
968
|
+
};
|
|
963
969
|
var connectWebflowWithSiteToken = (options) => {
|
|
964
970
|
return (options?.client ?? client).post({
|
|
965
971
|
...options,
|
|
@@ -4824,6 +4830,12 @@ var listLeads = (options) => {
|
|
|
4824
4830
|
url: "/v1/ads/leads"
|
|
4825
4831
|
});
|
|
4826
4832
|
};
|
|
4833
|
+
var updateLead = (options) => {
|
|
4834
|
+
return (options?.client ?? client).patch({
|
|
4835
|
+
...options,
|
|
4836
|
+
url: "/v1/ads/leads/{id}"
|
|
4837
|
+
});
|
|
4838
|
+
};
|
|
4827
4839
|
var listLeadForms = (options) => {
|
|
4828
4840
|
return (options?.client ?? client).get({
|
|
4829
4841
|
...options,
|
|
@@ -6676,6 +6688,7 @@ var Zernio = class _Zernio {
|
|
|
6676
6688
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
6677
6689
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
6678
6690
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|
|
6691
|
+
getWebflowConnectUrl: this._bind(getWebflowConnectUrl),
|
|
6679
6692
|
connectWebflowWithSiteToken: this._bind(connectWebflowWithSiteToken),
|
|
6680
6693
|
connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
|
|
6681
6694
|
configureTikTokAdsBrandIdentity: this._bind(configureTikTokAdsBrandIdentity),
|
|
@@ -7525,6 +7538,7 @@ var Zernio = class _Zernio {
|
|
|
7525
7538
|
*/
|
|
7526
7539
|
this.leadgen = {
|
|
7527
7540
|
listLeads: this._bind(listLeads),
|
|
7541
|
+
updateLead: this._bind(updateLead),
|
|
7528
7542
|
listLeadForms: this._bind(listLeadForms),
|
|
7529
7543
|
createLeadForm: this._bind(createLeadForm),
|
|
7530
7544
|
getLeadForm: this._bind(getLeadForm),
|
|
@@ -8222,6 +8236,8 @@ var Zernio = class _Zernio {
|
|
|
8222
8236
|
reserveRfPrediction: this._bind(reserveRfPrediction),
|
|
8223
8237
|
/** @deprecated Use `zernio.leadgen.listLeads` instead. */
|
|
8224
8238
|
listLeads: this._bind(listLeads),
|
|
8239
|
+
/** @deprecated Use `zernio.leadgen.updateLead` instead. */
|
|
8240
|
+
updateLead: this._bind(updateLead),
|
|
8225
8241
|
/** @deprecated Use `zernio.leadgen.listLeadForms` instead. */
|
|
8226
8242
|
listLeadForms: this._bind(listLeadForms),
|
|
8227
8243
|
/** @deprecated Use `zernio.leadgen.createLeadForm` instead. */
|
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.1266",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -929,6 +929,12 @@ var getWixConnectUrl = (options) => {
|
|
|
929
929
|
url: "/v1/connect/wix"
|
|
930
930
|
});
|
|
931
931
|
};
|
|
932
|
+
var getWebflowConnectUrl = (options) => {
|
|
933
|
+
return (options?.client ?? client).get({
|
|
934
|
+
...options,
|
|
935
|
+
url: "/v1/connect/webflow"
|
|
936
|
+
});
|
|
937
|
+
};
|
|
932
938
|
var connectWebflowWithSiteToken = (options) => {
|
|
933
939
|
return (options?.client ?? client).post({
|
|
934
940
|
...options,
|
|
@@ -4793,6 +4799,12 @@ var listLeads = (options) => {
|
|
|
4793
4799
|
url: "/v1/ads/leads"
|
|
4794
4800
|
});
|
|
4795
4801
|
};
|
|
4802
|
+
var updateLead = (options) => {
|
|
4803
|
+
return (options?.client ?? client).patch({
|
|
4804
|
+
...options,
|
|
4805
|
+
url: "/v1/ads/leads/{id}"
|
|
4806
|
+
});
|
|
4807
|
+
};
|
|
4796
4808
|
var listLeadForms = (options) => {
|
|
4797
4809
|
return (options?.client ?? client).get({
|
|
4798
4810
|
...options,
|
|
@@ -6645,6 +6657,7 @@ var Zernio = class _Zernio {
|
|
|
6645
6657
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
6646
6658
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
6647
6659
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|
|
6660
|
+
getWebflowConnectUrl: this._bind(getWebflowConnectUrl),
|
|
6648
6661
|
connectWebflowWithSiteToken: this._bind(connectWebflowWithSiteToken),
|
|
6649
6662
|
connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
|
|
6650
6663
|
configureTikTokAdsBrandIdentity: this._bind(configureTikTokAdsBrandIdentity),
|
|
@@ -7494,6 +7507,7 @@ var Zernio = class _Zernio {
|
|
|
7494
7507
|
*/
|
|
7495
7508
|
this.leadgen = {
|
|
7496
7509
|
listLeads: this._bind(listLeads),
|
|
7510
|
+
updateLead: this._bind(updateLead),
|
|
7497
7511
|
listLeadForms: this._bind(listLeadForms),
|
|
7498
7512
|
createLeadForm: this._bind(createLeadForm),
|
|
7499
7513
|
getLeadForm: this._bind(getLeadForm),
|
|
@@ -8191,6 +8205,8 @@ var Zernio = class _Zernio {
|
|
|
8191
8205
|
reserveRfPrediction: this._bind(reserveRfPrediction),
|
|
8192
8206
|
/** @deprecated Use `zernio.leadgen.listLeads` instead. */
|
|
8193
8207
|
listLeads: this._bind(listLeads),
|
|
8208
|
+
/** @deprecated Use `zernio.leadgen.updateLead` instead. */
|
|
8209
|
+
updateLead: this._bind(updateLead),
|
|
8194
8210
|
/** @deprecated Use `zernio.leadgen.listLeadForms` instead. */
|
|
8195
8211
|
listLeadForms: this._bind(listLeadForms),
|
|
8196
8212
|
/** @deprecated Use `zernio.leadgen.createLeadForm` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -474,6 +474,7 @@ import {
|
|
|
474
474
|
getVoiceCall,
|
|
475
475
|
getVoiceCallEstimate,
|
|
476
476
|
getVoiceCallRecording,
|
|
477
|
+
getWebflowConnectUrl,
|
|
477
478
|
getWebhookLogs,
|
|
478
479
|
getWebhookSettings,
|
|
479
480
|
getWhatsAppBlockStatus,
|
|
@@ -936,6 +937,7 @@ import {
|
|
|
936
937
|
updateImessageGroup,
|
|
937
938
|
updateImessageSender,
|
|
938
939
|
updateInboxConversation,
|
|
940
|
+
updateLead,
|
|
939
941
|
updateLinkedInOrganization,
|
|
940
942
|
updatePinterestBoards,
|
|
941
943
|
updatePost,
|
|
@@ -1394,6 +1396,7 @@ export class Zernio {
|
|
|
1394
1396
|
getHubSpotConnectUrl: this._bind(getHubSpotConnectUrl),
|
|
1395
1397
|
getWordPressAuthUrl: this._bind(getWordPressAuthUrl),
|
|
1396
1398
|
getWixConnectUrl: this._bind(getWixConnectUrl),
|
|
1399
|
+
getWebflowConnectUrl: this._bind(getWebflowConnectUrl),
|
|
1397
1400
|
connectWebflowWithSiteToken: this._bind(connectWebflowWithSiteToken),
|
|
1398
1401
|
connectWordPressWithApplicationPassword: this._bind(connectWordPressWithApplicationPassword),
|
|
1399
1402
|
configureTikTokAdsBrandIdentity: this._bind(configureTikTokAdsBrandIdentity),
|
|
@@ -2288,6 +2291,7 @@ export class Zernio {
|
|
|
2288
2291
|
*/
|
|
2289
2292
|
leadgen = {
|
|
2290
2293
|
listLeads: this._bind(listLeads),
|
|
2294
|
+
updateLead: this._bind(updateLead),
|
|
2291
2295
|
listLeadForms: this._bind(listLeadForms),
|
|
2292
2296
|
createLeadForm: this._bind(createLeadForm),
|
|
2293
2297
|
getLeadForm: this._bind(getLeadForm),
|
|
@@ -2999,6 +3003,8 @@ export class Zernio {
|
|
|
2999
3003
|
reserveRfPrediction: this._bind(reserveRfPrediction),
|
|
3000
3004
|
/** @deprecated Use `zernio.leadgen.listLeads` instead. */
|
|
3001
3005
|
listLeads: this._bind(listLeads),
|
|
3006
|
+
/** @deprecated Use `zernio.leadgen.updateLead` instead. */
|
|
3007
|
+
updateLead: this._bind(updateLead),
|
|
3002
3008
|
/** @deprecated Use `zernio.leadgen.listLeadForms` instead. */
|
|
3003
3009
|
listLeadForms: this._bind(listLeadForms),
|
|
3004
3010
|
/** @deprecated Use `zernio.leadgen.createLeadForm` instead. */
|