@zernio/node 0.2.980 → 0.2.982
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 -0
- package/dist/index.d.mts +128 -9
- package/dist/index.d.ts +128 -9
- package/dist/index.js +37 -1
- package/dist/index.mjs +37 -1
- package/package.json +1 -1
- package/src/client.ts +16 -0
- package/src/generated/sdk.gen.ts +119 -11
- package/src/generated/types.gen.ts +129 -8
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: "@zernio/node",
|
|
39
|
-
version: "0.2.
|
|
39
|
+
version: "0.2.982",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -5370,6 +5370,30 @@ var deleteTrackingTagEvent = (options) => {
|
|
|
5370
5370
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events/{eventId}"
|
|
5371
5371
|
});
|
|
5372
5372
|
};
|
|
5373
|
+
var listTrackingTagUsers = (options) => {
|
|
5374
|
+
return (options?.client ?? client).get({
|
|
5375
|
+
...options,
|
|
5376
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/users"
|
|
5377
|
+
});
|
|
5378
|
+
};
|
|
5379
|
+
var assignTrackingTagUser = (options) => {
|
|
5380
|
+
return (options?.client ?? client).post({
|
|
5381
|
+
...options,
|
|
5382
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/users"
|
|
5383
|
+
});
|
|
5384
|
+
};
|
|
5385
|
+
var removeTrackingTagUser = (options) => {
|
|
5386
|
+
return (options?.client ?? client).delete({
|
|
5387
|
+
...options,
|
|
5388
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/users/{userId}"
|
|
5389
|
+
});
|
|
5390
|
+
};
|
|
5391
|
+
var listTrackingTagPartners = (options) => {
|
|
5392
|
+
return (options?.client ?? client).get({
|
|
5393
|
+
...options,
|
|
5394
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/partners"
|
|
5395
|
+
});
|
|
5396
|
+
};
|
|
5373
5397
|
var getTrackingTagDiagnostics = (options) => {
|
|
5374
5398
|
return (options?.client ?? client).get({
|
|
5375
5399
|
...options,
|
|
@@ -6569,6 +6593,10 @@ var Zernio = class _Zernio {
|
|
|
6569
6593
|
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
6570
6594
|
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
6571
6595
|
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
6596
|
+
listTrackingTagUsers: this._bind(listTrackingTagUsers),
|
|
6597
|
+
assignTrackingTagUser: this._bind(assignTrackingTagUser),
|
|
6598
|
+
removeTrackingTagUser: this._bind(removeTrackingTagUser),
|
|
6599
|
+
listTrackingTagPartners: this._bind(listTrackingTagPartners),
|
|
6572
6600
|
getTrackingTagDiagnostics: this._bind(getTrackingTagDiagnostics),
|
|
6573
6601
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6574
6602
|
};
|
|
@@ -7280,6 +7308,14 @@ var Zernio = class _Zernio {
|
|
|
7280
7308
|
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
7281
7309
|
/** @deprecated Use `zernio.trackingtags.deleteTrackingTagEvent` instead. */
|
|
7282
7310
|
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
7311
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagUsers` instead. */
|
|
7312
|
+
listTrackingTagUsers: this._bind(listTrackingTagUsers),
|
|
7313
|
+
/** @deprecated Use `zernio.trackingtags.assignTrackingTagUser` instead. */
|
|
7314
|
+
assignTrackingTagUser: this._bind(assignTrackingTagUser),
|
|
7315
|
+
/** @deprecated Use `zernio.trackingtags.removeTrackingTagUser` instead. */
|
|
7316
|
+
removeTrackingTagUser: this._bind(removeTrackingTagUser),
|
|
7317
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagPartners` instead. */
|
|
7318
|
+
listTrackingTagPartners: this._bind(listTrackingTagPartners),
|
|
7283
7319
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagDiagnostics` instead. */
|
|
7284
7320
|
getTrackingTagDiagnostics: this._bind(getTrackingTagDiagnostics),
|
|
7285
7321
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` 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: "@zernio/node",
|
|
8
|
-
version: "0.2.
|
|
8
|
+
version: "0.2.982",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -5339,6 +5339,30 @@ var deleteTrackingTagEvent = (options) => {
|
|
|
5339
5339
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events/{eventId}"
|
|
5340
5340
|
});
|
|
5341
5341
|
};
|
|
5342
|
+
var listTrackingTagUsers = (options) => {
|
|
5343
|
+
return (options?.client ?? client).get({
|
|
5344
|
+
...options,
|
|
5345
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/users"
|
|
5346
|
+
});
|
|
5347
|
+
};
|
|
5348
|
+
var assignTrackingTagUser = (options) => {
|
|
5349
|
+
return (options?.client ?? client).post({
|
|
5350
|
+
...options,
|
|
5351
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/users"
|
|
5352
|
+
});
|
|
5353
|
+
};
|
|
5354
|
+
var removeTrackingTagUser = (options) => {
|
|
5355
|
+
return (options?.client ?? client).delete({
|
|
5356
|
+
...options,
|
|
5357
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/users/{userId}"
|
|
5358
|
+
});
|
|
5359
|
+
};
|
|
5360
|
+
var listTrackingTagPartners = (options) => {
|
|
5361
|
+
return (options?.client ?? client).get({
|
|
5362
|
+
...options,
|
|
5363
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/partners"
|
|
5364
|
+
});
|
|
5365
|
+
};
|
|
5342
5366
|
var getTrackingTagDiagnostics = (options) => {
|
|
5343
5367
|
return (options?.client ?? client).get({
|
|
5344
5368
|
...options,
|
|
@@ -6538,6 +6562,10 @@ var Zernio = class _Zernio {
|
|
|
6538
6562
|
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
6539
6563
|
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
6540
6564
|
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
6565
|
+
listTrackingTagUsers: this._bind(listTrackingTagUsers),
|
|
6566
|
+
assignTrackingTagUser: this._bind(assignTrackingTagUser),
|
|
6567
|
+
removeTrackingTagUser: this._bind(removeTrackingTagUser),
|
|
6568
|
+
listTrackingTagPartners: this._bind(listTrackingTagPartners),
|
|
6541
6569
|
getTrackingTagDiagnostics: this._bind(getTrackingTagDiagnostics),
|
|
6542
6570
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6543
6571
|
};
|
|
@@ -7249,6 +7277,14 @@ var Zernio = class _Zernio {
|
|
|
7249
7277
|
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
7250
7278
|
/** @deprecated Use `zernio.trackingtags.deleteTrackingTagEvent` instead. */
|
|
7251
7279
|
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
7280
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagUsers` instead. */
|
|
7281
|
+
listTrackingTagUsers: this._bind(listTrackingTagUsers),
|
|
7282
|
+
/** @deprecated Use `zernio.trackingtags.assignTrackingTagUser` instead. */
|
|
7283
|
+
assignTrackingTagUser: this._bind(assignTrackingTagUser),
|
|
7284
|
+
/** @deprecated Use `zernio.trackingtags.removeTrackingTagUser` instead. */
|
|
7285
|
+
removeTrackingTagUser: this._bind(removeTrackingTagUser),
|
|
7286
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagPartners` instead. */
|
|
7287
|
+
listTrackingTagPartners: this._bind(listTrackingTagPartners),
|
|
7252
7288
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagDiagnostics` instead. */
|
|
7253
7289
|
getTrackingTagDiagnostics: this._bind(getTrackingTagDiagnostics),
|
|
7254
7290
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -26,6 +26,7 @@ import {
|
|
|
26
26
|
assignAdAccountUser,
|
|
27
27
|
assignGoogleBusinessLocation,
|
|
28
28
|
assignPageUser,
|
|
29
|
+
assignTrackingTagUser,
|
|
29
30
|
attachAdGroupAssets,
|
|
30
31
|
attachAdLabel,
|
|
31
32
|
attachBrandedCallingNumbers,
|
|
@@ -576,7 +577,9 @@ import {
|
|
|
576
577
|
listTikTokAdPixels,
|
|
577
578
|
listTikTokCommercialMusic,
|
|
578
579
|
listTrackingTagEvents,
|
|
580
|
+
listTrackingTagPartners,
|
|
579
581
|
listTrackingTagSharedAccounts,
|
|
582
|
+
listTrackingTagUsers,
|
|
580
583
|
listTrackingTags,
|
|
581
584
|
listUsers,
|
|
582
585
|
listValueRuleSets,
|
|
@@ -644,6 +647,7 @@ import {
|
|
|
644
647
|
removeRcsTestDevice,
|
|
645
648
|
removeTrackingTagFromStore,
|
|
646
649
|
removeTrackingTagSharedAccount,
|
|
650
|
+
removeTrackingTagUser,
|
|
647
651
|
removeWhatsAppGroupParticipants,
|
|
648
652
|
replaceAdAudienceCompanies,
|
|
649
653
|
replaceAdNegativeKeywordListKeywords,
|
|
@@ -1999,6 +2003,10 @@ export class Zernio {
|
|
|
1999
2003
|
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
2000
2004
|
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
2001
2005
|
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
2006
|
+
listTrackingTagUsers: this._bind(listTrackingTagUsers),
|
|
2007
|
+
assignTrackingTagUser: this._bind(assignTrackingTagUser),
|
|
2008
|
+
removeTrackingTagUser: this._bind(removeTrackingTagUser),
|
|
2009
|
+
listTrackingTagPartners: this._bind(listTrackingTagPartners),
|
|
2002
2010
|
getTrackingTagDiagnostics: this._bind(getTrackingTagDiagnostics),
|
|
2003
2011
|
getTrackingTagStats: this._bind(getTrackingTagStats),
|
|
2004
2012
|
};
|
|
@@ -2725,6 +2733,14 @@ export class Zernio {
|
|
|
2725
2733
|
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
2726
2734
|
/** @deprecated Use `zernio.trackingtags.deleteTrackingTagEvent` instead. */
|
|
2727
2735
|
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
2736
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagUsers` instead. */
|
|
2737
|
+
listTrackingTagUsers: this._bind(listTrackingTagUsers),
|
|
2738
|
+
/** @deprecated Use `zernio.trackingtags.assignTrackingTagUser` instead. */
|
|
2739
|
+
assignTrackingTagUser: this._bind(assignTrackingTagUser),
|
|
2740
|
+
/** @deprecated Use `zernio.trackingtags.removeTrackingTagUser` instead. */
|
|
2741
|
+
removeTrackingTagUser: this._bind(removeTrackingTagUser),
|
|
2742
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagPartners` instead. */
|
|
2743
|
+
listTrackingTagPartners: this._bind(listTrackingTagPartners),
|
|
2728
2744
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagDiagnostics` instead. */
|
|
2729
2745
|
getTrackingTagDiagnostics: this._bind(getTrackingTagDiagnostics),
|
|
2730
2746
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|