@zernio/node 0.2.960 → 0.2.962
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 +159 -2
- package/dist/index.d.ts +159 -2
- package/dist/index.js +35 -1
- package/dist/index.mjs +35 -1
- package/package.json +1 -1
- package/src/client.ts +14 -0
- package/src/generated/sdk.gen.ts +80 -2
- package/src/generated/types.gen.ts +161 -1
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.962",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -2381,6 +2381,12 @@ var listBrandedCallingIdentities = (options) => {
|
|
|
2381
2381
|
url: "/v1/branded-calling/identities"
|
|
2382
2382
|
});
|
|
2383
2383
|
};
|
|
2384
|
+
var preflightBrandedCallingIdentity = (options) => {
|
|
2385
|
+
return (options?.client ?? client).post({
|
|
2386
|
+
...options,
|
|
2387
|
+
url: "/v1/branded-calling/identities/preflight"
|
|
2388
|
+
});
|
|
2389
|
+
};
|
|
2384
2390
|
var getBrandedCallingIdentity = (options) => {
|
|
2385
2391
|
return (options?.client ?? client).get({
|
|
2386
2392
|
...options,
|
|
@@ -5173,6 +5179,24 @@ var removeTrackingTagSharedAccount = (options) => {
|
|
|
5173
5179
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/shared-accounts"
|
|
5174
5180
|
});
|
|
5175
5181
|
};
|
|
5182
|
+
var installTrackingTagOnStore = (options) => {
|
|
5183
|
+
return (options?.client ?? client).post({
|
|
5184
|
+
...options,
|
|
5185
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5186
|
+
});
|
|
5187
|
+
};
|
|
5188
|
+
var getTrackingTagStoreInstall = (options) => {
|
|
5189
|
+
return (options?.client ?? client).get({
|
|
5190
|
+
...options,
|
|
5191
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5192
|
+
});
|
|
5193
|
+
};
|
|
5194
|
+
var removeTrackingTagFromStore = (options) => {
|
|
5195
|
+
return (options?.client ?? client).delete({
|
|
5196
|
+
...options,
|
|
5197
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5198
|
+
});
|
|
5199
|
+
};
|
|
5176
5200
|
var getTrackingTagStats = (options) => {
|
|
5177
5201
|
return (options?.client ?? client).get({
|
|
5178
5202
|
...options,
|
|
@@ -6037,6 +6061,7 @@ var Zernio = class _Zernio {
|
|
|
6037
6061
|
listBrandedCallingCallReasons: this._bind(listBrandedCallingCallReasons),
|
|
6038
6062
|
createBrandedCallingIdentity: this._bind(createBrandedCallingIdentity),
|
|
6039
6063
|
listBrandedCallingIdentities: this._bind(listBrandedCallingIdentities),
|
|
6064
|
+
preflightBrandedCallingIdentity: this._bind(preflightBrandedCallingIdentity),
|
|
6040
6065
|
getBrandedCallingIdentity: this._bind(getBrandedCallingIdentity),
|
|
6041
6066
|
updateBrandedCallingIdentity: this._bind(updateBrandedCallingIdentity),
|
|
6042
6067
|
deleteBrandedCallingIdentity: this._bind(deleteBrandedCallingIdentity),
|
|
@@ -6336,6 +6361,9 @@ var Zernio = class _Zernio {
|
|
|
6336
6361
|
listTrackingTagSharedAccounts: this._bind(listTrackingTagSharedAccounts),
|
|
6337
6362
|
addTrackingTagSharedAccount: this._bind(addTrackingTagSharedAccount),
|
|
6338
6363
|
removeTrackingTagSharedAccount: this._bind(removeTrackingTagSharedAccount),
|
|
6364
|
+
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
6365
|
+
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
6366
|
+
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
6339
6367
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6340
6368
|
};
|
|
6341
6369
|
/**
|
|
@@ -7011,6 +7039,12 @@ var Zernio = class _Zernio {
|
|
|
7011
7039
|
addTrackingTagSharedAccount: this._bind(addTrackingTagSharedAccount),
|
|
7012
7040
|
/** @deprecated Use `zernio.trackingtags.removeTrackingTagSharedAccount` instead. */
|
|
7013
7041
|
removeTrackingTagSharedAccount: this._bind(removeTrackingTagSharedAccount),
|
|
7042
|
+
/** @deprecated Use `zernio.trackingtags.installTrackingTagOnStore` instead. */
|
|
7043
|
+
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
7044
|
+
/** @deprecated Use `zernio.trackingtags.getTrackingTagStoreInstall` instead. */
|
|
7045
|
+
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
7046
|
+
/** @deprecated Use `zernio.trackingtags.removeTrackingTagFromStore` instead. */
|
|
7047
|
+
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
7014
7048
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
|
7015
7049
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
7016
7050
|
};
|
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.962",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -2350,6 +2350,12 @@ var listBrandedCallingIdentities = (options) => {
|
|
|
2350
2350
|
url: "/v1/branded-calling/identities"
|
|
2351
2351
|
});
|
|
2352
2352
|
};
|
|
2353
|
+
var preflightBrandedCallingIdentity = (options) => {
|
|
2354
|
+
return (options?.client ?? client).post({
|
|
2355
|
+
...options,
|
|
2356
|
+
url: "/v1/branded-calling/identities/preflight"
|
|
2357
|
+
});
|
|
2358
|
+
};
|
|
2353
2359
|
var getBrandedCallingIdentity = (options) => {
|
|
2354
2360
|
return (options?.client ?? client).get({
|
|
2355
2361
|
...options,
|
|
@@ -5142,6 +5148,24 @@ var removeTrackingTagSharedAccount = (options) => {
|
|
|
5142
5148
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/shared-accounts"
|
|
5143
5149
|
});
|
|
5144
5150
|
};
|
|
5151
|
+
var installTrackingTagOnStore = (options) => {
|
|
5152
|
+
return (options?.client ?? client).post({
|
|
5153
|
+
...options,
|
|
5154
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5155
|
+
});
|
|
5156
|
+
};
|
|
5157
|
+
var getTrackingTagStoreInstall = (options) => {
|
|
5158
|
+
return (options?.client ?? client).get({
|
|
5159
|
+
...options,
|
|
5160
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5161
|
+
});
|
|
5162
|
+
};
|
|
5163
|
+
var removeTrackingTagFromStore = (options) => {
|
|
5164
|
+
return (options?.client ?? client).delete({
|
|
5165
|
+
...options,
|
|
5166
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5167
|
+
});
|
|
5168
|
+
};
|
|
5145
5169
|
var getTrackingTagStats = (options) => {
|
|
5146
5170
|
return (options?.client ?? client).get({
|
|
5147
5171
|
...options,
|
|
@@ -6006,6 +6030,7 @@ var Zernio = class _Zernio {
|
|
|
6006
6030
|
listBrandedCallingCallReasons: this._bind(listBrandedCallingCallReasons),
|
|
6007
6031
|
createBrandedCallingIdentity: this._bind(createBrandedCallingIdentity),
|
|
6008
6032
|
listBrandedCallingIdentities: this._bind(listBrandedCallingIdentities),
|
|
6033
|
+
preflightBrandedCallingIdentity: this._bind(preflightBrandedCallingIdentity),
|
|
6009
6034
|
getBrandedCallingIdentity: this._bind(getBrandedCallingIdentity),
|
|
6010
6035
|
updateBrandedCallingIdentity: this._bind(updateBrandedCallingIdentity),
|
|
6011
6036
|
deleteBrandedCallingIdentity: this._bind(deleteBrandedCallingIdentity),
|
|
@@ -6305,6 +6330,9 @@ var Zernio = class _Zernio {
|
|
|
6305
6330
|
listTrackingTagSharedAccounts: this._bind(listTrackingTagSharedAccounts),
|
|
6306
6331
|
addTrackingTagSharedAccount: this._bind(addTrackingTagSharedAccount),
|
|
6307
6332
|
removeTrackingTagSharedAccount: this._bind(removeTrackingTagSharedAccount),
|
|
6333
|
+
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
6334
|
+
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
6335
|
+
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
6308
6336
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6309
6337
|
};
|
|
6310
6338
|
/**
|
|
@@ -6980,6 +7008,12 @@ var Zernio = class _Zernio {
|
|
|
6980
7008
|
addTrackingTagSharedAccount: this._bind(addTrackingTagSharedAccount),
|
|
6981
7009
|
/** @deprecated Use `zernio.trackingtags.removeTrackingTagSharedAccount` instead. */
|
|
6982
7010
|
removeTrackingTagSharedAccount: this._bind(removeTrackingTagSharedAccount),
|
|
7011
|
+
/** @deprecated Use `zernio.trackingtags.installTrackingTagOnStore` instead. */
|
|
7012
|
+
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
7013
|
+
/** @deprecated Use `zernio.trackingtags.getTrackingTagStoreInstall` instead. */
|
|
7014
|
+
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
7015
|
+
/** @deprecated Use `zernio.trackingtags.removeTrackingTagFromStore` instead. */
|
|
7016
|
+
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
6983
7017
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
|
6984
7018
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6985
7019
|
};
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -381,6 +381,7 @@ import {
|
|
|
381
381
|
getTikTokSmartPlusMaterialReport,
|
|
382
382
|
getTrackingTag,
|
|
383
383
|
getTrackingTagStats,
|
|
384
|
+
getTrackingTagStoreInstall,
|
|
384
385
|
getTweet,
|
|
385
386
|
getUsage,
|
|
386
387
|
getUsageStats,
|
|
@@ -437,6 +438,7 @@ import {
|
|
|
437
438
|
hideInboxComment,
|
|
438
439
|
initiateTelegramConnect,
|
|
439
440
|
initiateWhatsAppCall,
|
|
441
|
+
installTrackingTagOnStore,
|
|
440
442
|
inviteAdAccountToManager,
|
|
441
443
|
likeInboxComment,
|
|
442
444
|
likePost,
|
|
@@ -586,6 +588,7 @@ import {
|
|
|
586
588
|
pauseWorkflow,
|
|
587
589
|
pinDiscordMessage,
|
|
588
590
|
pinInboxComment,
|
|
591
|
+
preflightBrandedCallingIdentity,
|
|
589
592
|
preflightSmsRegistration,
|
|
590
593
|
previewQueue,
|
|
591
594
|
publishWhatsAppFlow,
|
|
@@ -617,6 +620,7 @@ import {
|
|
|
617
620
|
removeGoogleAssetGroup,
|
|
618
621
|
removeImessageGroupParticipant,
|
|
619
622
|
removeMessageReaction,
|
|
623
|
+
removeTrackingTagFromStore,
|
|
620
624
|
removeTrackingTagSharedAccount,
|
|
621
625
|
removeWhatsAppGroupParticipants,
|
|
622
626
|
replaceAdAudienceCompanies,
|
|
@@ -1621,6 +1625,7 @@ export class Zernio {
|
|
|
1621
1625
|
listBrandedCallingCallReasons: this._bind(listBrandedCallingCallReasons),
|
|
1622
1626
|
createBrandedCallingIdentity: this._bind(createBrandedCallingIdentity),
|
|
1623
1627
|
listBrandedCallingIdentities: this._bind(listBrandedCallingIdentities),
|
|
1628
|
+
preflightBrandedCallingIdentity: this._bind(preflightBrandedCallingIdentity),
|
|
1624
1629
|
getBrandedCallingIdentity: this._bind(getBrandedCallingIdentity),
|
|
1625
1630
|
updateBrandedCallingIdentity: this._bind(updateBrandedCallingIdentity),
|
|
1626
1631
|
deleteBrandedCallingIdentity: this._bind(deleteBrandedCallingIdentity),
|
|
@@ -1935,6 +1940,9 @@ export class Zernio {
|
|
|
1935
1940
|
listTrackingTagSharedAccounts: this._bind(listTrackingTagSharedAccounts),
|
|
1936
1941
|
addTrackingTagSharedAccount: this._bind(addTrackingTagSharedAccount),
|
|
1937
1942
|
removeTrackingTagSharedAccount: this._bind(removeTrackingTagSharedAccount),
|
|
1943
|
+
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
1944
|
+
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
1945
|
+
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
1938
1946
|
getTrackingTagStats: this._bind(getTrackingTagStats),
|
|
1939
1947
|
};
|
|
1940
1948
|
|
|
@@ -2625,6 +2633,12 @@ export class Zernio {
|
|
|
2625
2633
|
addTrackingTagSharedAccount: this._bind(addTrackingTagSharedAccount),
|
|
2626
2634
|
/** @deprecated Use `zernio.trackingtags.removeTrackingTagSharedAccount` instead. */
|
|
2627
2635
|
removeTrackingTagSharedAccount: this._bind(removeTrackingTagSharedAccount),
|
|
2636
|
+
/** @deprecated Use `zernio.trackingtags.installTrackingTagOnStore` instead. */
|
|
2637
|
+
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
2638
|
+
/** @deprecated Use `zernio.trackingtags.getTrackingTagStoreInstall` instead. */
|
|
2639
|
+
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
2640
|
+
/** @deprecated Use `zernio.trackingtags.removeTrackingTagFromStore` instead. */
|
|
2641
|
+
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
2628
2642
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
|
2629
2643
|
getTrackingTagStats: this._bind(getTrackingTagStats),
|
|
2630
2644
|
};
|