@getlatedev/node 0.2.1660 → 0.2.1661
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 +6 -0
- package/dist/index.d.mts +225 -29
- package/dist/index.d.ts +225 -29
- package/dist/index.js +55 -1
- package/dist/index.mjs +55 -1
- package/package.json +1 -1
- package/src/client.ts +24 -0
- package/src/generated/sdk.gen.ts +73 -1
- package/src/generated/types.gen.ts +229 -28
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.1661",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -6546,6 +6546,42 @@ var deleteForwardingRule = (options) => {
|
|
|
6546
6546
|
url: "/v1/events/forwarding-rules/{ruleId}"
|
|
6547
6547
|
});
|
|
6548
6548
|
};
|
|
6549
|
+
var listTrackingSites = (options) => {
|
|
6550
|
+
return (options?.client ?? client).get({
|
|
6551
|
+
...options,
|
|
6552
|
+
url: "/v1/tracking-sites"
|
|
6553
|
+
});
|
|
6554
|
+
};
|
|
6555
|
+
var createTrackingSite = (options) => {
|
|
6556
|
+
return (options?.client ?? client).post({
|
|
6557
|
+
...options,
|
|
6558
|
+
url: "/v1/tracking-sites"
|
|
6559
|
+
});
|
|
6560
|
+
};
|
|
6561
|
+
var getTrackingSite = (options) => {
|
|
6562
|
+
return (options?.client ?? client).get({
|
|
6563
|
+
...options,
|
|
6564
|
+
url: "/v1/tracking-sites/{siteId}"
|
|
6565
|
+
});
|
|
6566
|
+
};
|
|
6567
|
+
var updateTrackingSite = (options) => {
|
|
6568
|
+
return (options?.client ?? client).patch({
|
|
6569
|
+
...options,
|
|
6570
|
+
url: "/v1/tracking-sites/{siteId}"
|
|
6571
|
+
});
|
|
6572
|
+
};
|
|
6573
|
+
var deleteTrackingSite = (options) => {
|
|
6574
|
+
return (options?.client ?? client).delete({
|
|
6575
|
+
...options,
|
|
6576
|
+
url: "/v1/tracking-sites/{siteId}"
|
|
6577
|
+
});
|
|
6578
|
+
};
|
|
6579
|
+
var rotateTrackingSiteKey = (options) => {
|
|
6580
|
+
return (options?.client ?? client).post({
|
|
6581
|
+
...options,
|
|
6582
|
+
url: "/v1/tracking-sites/{siteId}/rotate-key"
|
|
6583
|
+
});
|
|
6584
|
+
};
|
|
6549
6585
|
var getCampaignConversionGoals = (options) => {
|
|
6550
6586
|
return (options?.client ?? client).get({
|
|
6551
6587
|
...options,
|
|
@@ -9640,6 +9676,12 @@ var Zernio = class _Zernio {
|
|
|
9640
9676
|
createForwardingRule: this._bind(createForwardingRule),
|
|
9641
9677
|
updateForwardingRule: this._bind(updateForwardingRule),
|
|
9642
9678
|
deleteForwardingRule: this._bind(deleteForwardingRule),
|
|
9679
|
+
listTrackingSites: this._bind(listTrackingSites),
|
|
9680
|
+
createTrackingSite: this._bind(createTrackingSite),
|
|
9681
|
+
getTrackingSite: this._bind(getTrackingSite),
|
|
9682
|
+
updateTrackingSite: this._bind(updateTrackingSite),
|
|
9683
|
+
deleteTrackingSite: this._bind(deleteTrackingSite),
|
|
9684
|
+
rotateTrackingSiteKey: this._bind(rotateTrackingSiteKey),
|
|
9643
9685
|
listAdConversionDestinations: this._bind(listAdConversionDestinations),
|
|
9644
9686
|
createAdConversionDestination: this._bind(createAdConversionDestination),
|
|
9645
9687
|
getAdConversionDestination: this._bind(getAdConversionDestination),
|
|
@@ -10329,6 +10371,18 @@ var Zernio = class _Zernio {
|
|
|
10329
10371
|
updateForwardingRule: this._bind(updateForwardingRule),
|
|
10330
10372
|
/** @deprecated Use `zernio.conversions.deleteForwardingRule` instead. */
|
|
10331
10373
|
deleteForwardingRule: this._bind(deleteForwardingRule),
|
|
10374
|
+
/** @deprecated Use `zernio.conversions.listTrackingSites` instead. */
|
|
10375
|
+
listTrackingSites: this._bind(listTrackingSites),
|
|
10376
|
+
/** @deprecated Use `zernio.conversions.createTrackingSite` instead. */
|
|
10377
|
+
createTrackingSite: this._bind(createTrackingSite),
|
|
10378
|
+
/** @deprecated Use `zernio.conversions.getTrackingSite` instead. */
|
|
10379
|
+
getTrackingSite: this._bind(getTrackingSite),
|
|
10380
|
+
/** @deprecated Use `zernio.conversions.updateTrackingSite` instead. */
|
|
10381
|
+
updateTrackingSite: this._bind(updateTrackingSite),
|
|
10382
|
+
/** @deprecated Use `zernio.conversions.deleteTrackingSite` instead. */
|
|
10383
|
+
deleteTrackingSite: this._bind(deleteTrackingSite),
|
|
10384
|
+
/** @deprecated Use `zernio.conversions.rotateTrackingSiteKey` instead. */
|
|
10385
|
+
rotateTrackingSiteKey: this._bind(rotateTrackingSiteKey),
|
|
10332
10386
|
/** @deprecated Use `zernio.conversions.listAdConversionDestinations` instead. */
|
|
10333
10387
|
listAdConversionDestinations: this._bind(listAdConversionDestinations),
|
|
10334
10388
|
/** @deprecated Use `zernio.conversions.createAdConversionDestination` 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.1661",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -6515,6 +6515,42 @@ var deleteForwardingRule = (options) => {
|
|
|
6515
6515
|
url: "/v1/events/forwarding-rules/{ruleId}"
|
|
6516
6516
|
});
|
|
6517
6517
|
};
|
|
6518
|
+
var listTrackingSites = (options) => {
|
|
6519
|
+
return (options?.client ?? client).get({
|
|
6520
|
+
...options,
|
|
6521
|
+
url: "/v1/tracking-sites"
|
|
6522
|
+
});
|
|
6523
|
+
};
|
|
6524
|
+
var createTrackingSite = (options) => {
|
|
6525
|
+
return (options?.client ?? client).post({
|
|
6526
|
+
...options,
|
|
6527
|
+
url: "/v1/tracking-sites"
|
|
6528
|
+
});
|
|
6529
|
+
};
|
|
6530
|
+
var getTrackingSite = (options) => {
|
|
6531
|
+
return (options?.client ?? client).get({
|
|
6532
|
+
...options,
|
|
6533
|
+
url: "/v1/tracking-sites/{siteId}"
|
|
6534
|
+
});
|
|
6535
|
+
};
|
|
6536
|
+
var updateTrackingSite = (options) => {
|
|
6537
|
+
return (options?.client ?? client).patch({
|
|
6538
|
+
...options,
|
|
6539
|
+
url: "/v1/tracking-sites/{siteId}"
|
|
6540
|
+
});
|
|
6541
|
+
};
|
|
6542
|
+
var deleteTrackingSite = (options) => {
|
|
6543
|
+
return (options?.client ?? client).delete({
|
|
6544
|
+
...options,
|
|
6545
|
+
url: "/v1/tracking-sites/{siteId}"
|
|
6546
|
+
});
|
|
6547
|
+
};
|
|
6548
|
+
var rotateTrackingSiteKey = (options) => {
|
|
6549
|
+
return (options?.client ?? client).post({
|
|
6550
|
+
...options,
|
|
6551
|
+
url: "/v1/tracking-sites/{siteId}/rotate-key"
|
|
6552
|
+
});
|
|
6553
|
+
};
|
|
6518
6554
|
var getCampaignConversionGoals = (options) => {
|
|
6519
6555
|
return (options?.client ?? client).get({
|
|
6520
6556
|
...options,
|
|
@@ -9609,6 +9645,12 @@ var Zernio = class _Zernio {
|
|
|
9609
9645
|
createForwardingRule: this._bind(createForwardingRule),
|
|
9610
9646
|
updateForwardingRule: this._bind(updateForwardingRule),
|
|
9611
9647
|
deleteForwardingRule: this._bind(deleteForwardingRule),
|
|
9648
|
+
listTrackingSites: this._bind(listTrackingSites),
|
|
9649
|
+
createTrackingSite: this._bind(createTrackingSite),
|
|
9650
|
+
getTrackingSite: this._bind(getTrackingSite),
|
|
9651
|
+
updateTrackingSite: this._bind(updateTrackingSite),
|
|
9652
|
+
deleteTrackingSite: this._bind(deleteTrackingSite),
|
|
9653
|
+
rotateTrackingSiteKey: this._bind(rotateTrackingSiteKey),
|
|
9612
9654
|
listAdConversionDestinations: this._bind(listAdConversionDestinations),
|
|
9613
9655
|
createAdConversionDestination: this._bind(createAdConversionDestination),
|
|
9614
9656
|
getAdConversionDestination: this._bind(getAdConversionDestination),
|
|
@@ -10298,6 +10340,18 @@ var Zernio = class _Zernio {
|
|
|
10298
10340
|
updateForwardingRule: this._bind(updateForwardingRule),
|
|
10299
10341
|
/** @deprecated Use `zernio.conversions.deleteForwardingRule` instead. */
|
|
10300
10342
|
deleteForwardingRule: this._bind(deleteForwardingRule),
|
|
10343
|
+
/** @deprecated Use `zernio.conversions.listTrackingSites` instead. */
|
|
10344
|
+
listTrackingSites: this._bind(listTrackingSites),
|
|
10345
|
+
/** @deprecated Use `zernio.conversions.createTrackingSite` instead. */
|
|
10346
|
+
createTrackingSite: this._bind(createTrackingSite),
|
|
10347
|
+
/** @deprecated Use `zernio.conversions.getTrackingSite` instead. */
|
|
10348
|
+
getTrackingSite: this._bind(getTrackingSite),
|
|
10349
|
+
/** @deprecated Use `zernio.conversions.updateTrackingSite` instead. */
|
|
10350
|
+
updateTrackingSite: this._bind(updateTrackingSite),
|
|
10351
|
+
/** @deprecated Use `zernio.conversions.deleteTrackingSite` instead. */
|
|
10352
|
+
deleteTrackingSite: this._bind(deleteTrackingSite),
|
|
10353
|
+
/** @deprecated Use `zernio.conversions.rotateTrackingSiteKey` instead. */
|
|
10354
|
+
rotateTrackingSiteKey: this._bind(rotateTrackingSiteKey),
|
|
10301
10355
|
/** @deprecated Use `zernio.conversions.listAdConversionDestinations` instead. */
|
|
10302
10356
|
listAdConversionDestinations: this._bind(listAdConversionDestinations),
|
|
10303
10357
|
/** @deprecated Use `zernio.conversions.createAdConversionDestination` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -211,6 +211,7 @@ import {
|
|
|
211
211
|
createStandaloneAd,
|
|
212
212
|
createTestLead,
|
|
213
213
|
createTopup,
|
|
214
|
+
createTrackingSite,
|
|
214
215
|
createTrackingTag,
|
|
215
216
|
createTrackingTagEvent,
|
|
216
217
|
createTransfer,
|
|
@@ -316,6 +317,7 @@ import {
|
|
|
316
317
|
deleteSmsSenderId,
|
|
317
318
|
deleteTelegramCommands,
|
|
318
319
|
deleteTestLead,
|
|
320
|
+
deleteTrackingSite,
|
|
319
321
|
deleteTrackingTagEvent,
|
|
320
322
|
deleteValueRuleSet,
|
|
321
323
|
deleteWebhookSettings,
|
|
@@ -602,6 +604,7 @@ import {
|
|
|
602
604
|
getTopupInvoice,
|
|
603
605
|
getTopupReceipt,
|
|
604
606
|
getTopupStatement,
|
|
607
|
+
getTrackingSite,
|
|
605
608
|
getTrackingTag,
|
|
606
609
|
getTrackingTagDiagnostics,
|
|
607
610
|
getTrackingTagStats,
|
|
@@ -889,6 +892,7 @@ import {
|
|
|
889
892
|
listTikTokCommercialMusic,
|
|
890
893
|
listTikTokSmartPlusReviews,
|
|
891
894
|
listTopups,
|
|
895
|
+
listTrackingSites,
|
|
892
896
|
listTrackingTagEvents,
|
|
893
897
|
listTrackingTagPartners,
|
|
894
898
|
listTrackingTagSharedAccounts,
|
|
@@ -1033,6 +1037,7 @@ import {
|
|
|
1033
1037
|
revokeBusinessPartner,
|
|
1034
1038
|
revokeConnectedApp,
|
|
1035
1039
|
rotateSipTrunkCredentials,
|
|
1040
|
+
rotateTrackingSiteKey,
|
|
1036
1041
|
rsvpCalendarEvent,
|
|
1037
1042
|
runBusinessAgentConnectorTool,
|
|
1038
1043
|
runCommerceCatalogSync,
|
|
@@ -1237,6 +1242,7 @@ import {
|
|
|
1237
1242
|
updateSequence,
|
|
1238
1243
|
updateSlackSettings,
|
|
1239
1244
|
updateStripeSettings,
|
|
1245
|
+
updateTrackingSite,
|
|
1240
1246
|
updateTrackingTag,
|
|
1241
1247
|
updateTrackingTagEvent,
|
|
1242
1248
|
updateValueRuleSet,
|
|
@@ -2976,6 +2982,12 @@ export class Zernio {
|
|
|
2976
2982
|
createForwardingRule: this._bind(createForwardingRule),
|
|
2977
2983
|
updateForwardingRule: this._bind(updateForwardingRule),
|
|
2978
2984
|
deleteForwardingRule: this._bind(deleteForwardingRule),
|
|
2985
|
+
listTrackingSites: this._bind(listTrackingSites),
|
|
2986
|
+
createTrackingSite: this._bind(createTrackingSite),
|
|
2987
|
+
getTrackingSite: this._bind(getTrackingSite),
|
|
2988
|
+
updateTrackingSite: this._bind(updateTrackingSite),
|
|
2989
|
+
deleteTrackingSite: this._bind(deleteTrackingSite),
|
|
2990
|
+
rotateTrackingSiteKey: this._bind(rotateTrackingSiteKey),
|
|
2979
2991
|
listAdConversionDestinations: this._bind(listAdConversionDestinations),
|
|
2980
2992
|
createAdConversionDestination: this._bind(createAdConversionDestination),
|
|
2981
2993
|
getAdConversionDestination: this._bind(getAdConversionDestination),
|
|
@@ -3674,6 +3686,18 @@ export class Zernio {
|
|
|
3674
3686
|
updateForwardingRule: this._bind(updateForwardingRule),
|
|
3675
3687
|
/** @deprecated Use `zernio.conversions.deleteForwardingRule` instead. */
|
|
3676
3688
|
deleteForwardingRule: this._bind(deleteForwardingRule),
|
|
3689
|
+
/** @deprecated Use `zernio.conversions.listTrackingSites` instead. */
|
|
3690
|
+
listTrackingSites: this._bind(listTrackingSites),
|
|
3691
|
+
/** @deprecated Use `zernio.conversions.createTrackingSite` instead. */
|
|
3692
|
+
createTrackingSite: this._bind(createTrackingSite),
|
|
3693
|
+
/** @deprecated Use `zernio.conversions.getTrackingSite` instead. */
|
|
3694
|
+
getTrackingSite: this._bind(getTrackingSite),
|
|
3695
|
+
/** @deprecated Use `zernio.conversions.updateTrackingSite` instead. */
|
|
3696
|
+
updateTrackingSite: this._bind(updateTrackingSite),
|
|
3697
|
+
/** @deprecated Use `zernio.conversions.deleteTrackingSite` instead. */
|
|
3698
|
+
deleteTrackingSite: this._bind(deleteTrackingSite),
|
|
3699
|
+
/** @deprecated Use `zernio.conversions.rotateTrackingSiteKey` instead. */
|
|
3700
|
+
rotateTrackingSiteKey: this._bind(rotateTrackingSiteKey),
|
|
3677
3701
|
/** @deprecated Use `zernio.conversions.listAdConversionDestinations` instead. */
|
|
3678
3702
|
listAdConversionDestinations: this._bind(listAdConversionDestinations),
|
|
3679
3703
|
/** @deprecated Use `zernio.conversions.createAdConversionDestination` instead. */
|