@zernio/node 0.2.953 → 0.2.955
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 +22 -0
- package/dist/index.d.mts +607 -25
- package/dist/index.d.ts +607 -25
- package/dist/index.js +138 -1
- package/dist/index.mjs +138 -1
- package/package.json +1 -1
- package/src/client.ts +48 -0
- package/src/generated/sdk.gen.ts +222 -1
- package/src/generated/types.gen.ts +645 -24
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.955",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -2339,6 +2339,96 @@ var deleteSmsSenderId = (options) => {
|
|
|
2339
2339
|
url: "/v1/sms/sender-ids/{id}"
|
|
2340
2340
|
});
|
|
2341
2341
|
};
|
|
2342
|
+
var createBrandedCallingEnterprise = (options) => {
|
|
2343
|
+
return (options?.client ?? client).post({
|
|
2344
|
+
...options,
|
|
2345
|
+
url: "/v1/branded-calling/enterprises"
|
|
2346
|
+
});
|
|
2347
|
+
};
|
|
2348
|
+
var listBrandedCallingEnterprises = (options) => {
|
|
2349
|
+
return (options?.client ?? client).get({
|
|
2350
|
+
...options,
|
|
2351
|
+
url: "/v1/branded-calling/enterprises"
|
|
2352
|
+
});
|
|
2353
|
+
};
|
|
2354
|
+
var getBrandedCallingEnterprise = (options) => {
|
|
2355
|
+
return (options?.client ?? client).get({
|
|
2356
|
+
...options,
|
|
2357
|
+
url: "/v1/branded-calling/enterprises/{id}"
|
|
2358
|
+
});
|
|
2359
|
+
};
|
|
2360
|
+
var deleteBrandedCallingEnterprise = (options) => {
|
|
2361
|
+
return (options?.client ?? client).delete({
|
|
2362
|
+
...options,
|
|
2363
|
+
url: "/v1/branded-calling/enterprises/{id}"
|
|
2364
|
+
});
|
|
2365
|
+
};
|
|
2366
|
+
var listBrandedCallingCallReasons = (options) => {
|
|
2367
|
+
return (options?.client ?? client).get({
|
|
2368
|
+
...options,
|
|
2369
|
+
url: "/v1/branded-calling/call-reasons"
|
|
2370
|
+
});
|
|
2371
|
+
};
|
|
2372
|
+
var createBrandedCallingIdentity = (options) => {
|
|
2373
|
+
return (options?.client ?? client).post({
|
|
2374
|
+
...options,
|
|
2375
|
+
url: "/v1/branded-calling/identities"
|
|
2376
|
+
});
|
|
2377
|
+
};
|
|
2378
|
+
var listBrandedCallingIdentities = (options) => {
|
|
2379
|
+
return (options?.client ?? client).get({
|
|
2380
|
+
...options,
|
|
2381
|
+
url: "/v1/branded-calling/identities"
|
|
2382
|
+
});
|
|
2383
|
+
};
|
|
2384
|
+
var getBrandedCallingIdentity = (options) => {
|
|
2385
|
+
return (options?.client ?? client).get({
|
|
2386
|
+
...options,
|
|
2387
|
+
url: "/v1/branded-calling/identities/{id}"
|
|
2388
|
+
});
|
|
2389
|
+
};
|
|
2390
|
+
var updateBrandedCallingIdentity = (options) => {
|
|
2391
|
+
return (options?.client ?? client).patch({
|
|
2392
|
+
...options,
|
|
2393
|
+
url: "/v1/branded-calling/identities/{id}"
|
|
2394
|
+
});
|
|
2395
|
+
};
|
|
2396
|
+
var deleteBrandedCallingIdentity = (options) => {
|
|
2397
|
+
return (options?.client ?? client).delete({
|
|
2398
|
+
...options,
|
|
2399
|
+
url: "/v1/branded-calling/identities/{id}"
|
|
2400
|
+
});
|
|
2401
|
+
};
|
|
2402
|
+
var resendBrandedCallingAuthorizerCode = (options) => {
|
|
2403
|
+
return (options?.client ?? client).post({
|
|
2404
|
+
...options,
|
|
2405
|
+
url: "/v1/branded-calling/identities/{id}/verify-email"
|
|
2406
|
+
});
|
|
2407
|
+
};
|
|
2408
|
+
var confirmBrandedCallingAuthorizerEmail = (options) => {
|
|
2409
|
+
return (options?.client ?? client).post({
|
|
2410
|
+
...options,
|
|
2411
|
+
url: "/v1/branded-calling/identities/{id}/verify-email/confirm"
|
|
2412
|
+
});
|
|
2413
|
+
};
|
|
2414
|
+
var listBrandedCallingIdentityNumbers = (options) => {
|
|
2415
|
+
return (options?.client ?? client).get({
|
|
2416
|
+
...options,
|
|
2417
|
+
url: "/v1/branded-calling/identities/{id}/numbers"
|
|
2418
|
+
});
|
|
2419
|
+
};
|
|
2420
|
+
var attachBrandedCallingNumbers = (options) => {
|
|
2421
|
+
return (options?.client ?? client).post({
|
|
2422
|
+
...options,
|
|
2423
|
+
url: "/v1/branded-calling/identities/{id}/numbers"
|
|
2424
|
+
});
|
|
2425
|
+
};
|
|
2426
|
+
var detachBrandedCallingNumbers = (options) => {
|
|
2427
|
+
return (options?.client ?? client).delete({
|
|
2428
|
+
...options,
|
|
2429
|
+
url: "/v1/branded-calling/identities/{id}/numbers"
|
|
2430
|
+
});
|
|
2431
|
+
};
|
|
2342
2432
|
var startSmsRegistration = (options) => {
|
|
2343
2433
|
return (options?.client ?? client).post({
|
|
2344
2434
|
...options,
|
|
@@ -3451,6 +3541,24 @@ var getAdsSearchTerms = (options) => {
|
|
|
3451
3541
|
url: "/v1/ads/search-terms"
|
|
3452
3542
|
});
|
|
3453
3543
|
};
|
|
3544
|
+
var listGoogleRecommendations = (options) => {
|
|
3545
|
+
return (options?.client ?? client).get({
|
|
3546
|
+
...options,
|
|
3547
|
+
url: "/v1/ads/recommendations"
|
|
3548
|
+
});
|
|
3549
|
+
};
|
|
3550
|
+
var applyGoogleRecommendations = (options) => {
|
|
3551
|
+
return (options?.client ?? client).post({
|
|
3552
|
+
...options,
|
|
3553
|
+
url: "/v1/ads/recommendations/apply"
|
|
3554
|
+
});
|
|
3555
|
+
};
|
|
3556
|
+
var dismissGoogleRecommendations = (options) => {
|
|
3557
|
+
return (options?.client ?? client).post({
|
|
3558
|
+
...options,
|
|
3559
|
+
url: "/v1/ads/recommendations/dismiss"
|
|
3560
|
+
});
|
|
3561
|
+
};
|
|
3454
3562
|
var listBidStrategies = (options) => {
|
|
3455
3563
|
return (options?.client ?? client).get({
|
|
3456
3564
|
...options,
|
|
@@ -5918,6 +6026,26 @@ var Zernio = class _Zernio {
|
|
|
5918
6026
|
disableSmsOnNumber: this._bind(disableSmsOnNumber),
|
|
5919
6027
|
reuseSmsRegistrationForNumber: this._bind(reuseSmsRegistrationForNumber)
|
|
5920
6028
|
};
|
|
6029
|
+
/**
|
|
6030
|
+
* brandedcalling API
|
|
6031
|
+
*/
|
|
6032
|
+
this.brandedcalling = {
|
|
6033
|
+
createBrandedCallingEnterprise: this._bind(createBrandedCallingEnterprise),
|
|
6034
|
+
listBrandedCallingEnterprises: this._bind(listBrandedCallingEnterprises),
|
|
6035
|
+
getBrandedCallingEnterprise: this._bind(getBrandedCallingEnterprise),
|
|
6036
|
+
deleteBrandedCallingEnterprise: this._bind(deleteBrandedCallingEnterprise),
|
|
6037
|
+
listBrandedCallingCallReasons: this._bind(listBrandedCallingCallReasons),
|
|
6038
|
+
createBrandedCallingIdentity: this._bind(createBrandedCallingIdentity),
|
|
6039
|
+
listBrandedCallingIdentities: this._bind(listBrandedCallingIdentities),
|
|
6040
|
+
getBrandedCallingIdentity: this._bind(getBrandedCallingIdentity),
|
|
6041
|
+
updateBrandedCallingIdentity: this._bind(updateBrandedCallingIdentity),
|
|
6042
|
+
deleteBrandedCallingIdentity: this._bind(deleteBrandedCallingIdentity),
|
|
6043
|
+
resendBrandedCallingAuthorizerCode: this._bind(resendBrandedCallingAuthorizerCode),
|
|
6044
|
+
confirmBrandedCallingAuthorizerEmail: this._bind(confirmBrandedCallingAuthorizerEmail),
|
|
6045
|
+
listBrandedCallingIdentityNumbers: this._bind(listBrandedCallingIdentityNumbers),
|
|
6046
|
+
attachBrandedCallingNumbers: this._bind(attachBrandedCallingNumbers),
|
|
6047
|
+
detachBrandedCallingNumbers: this._bind(detachBrandedCallingNumbers)
|
|
6048
|
+
};
|
|
5921
6049
|
/**
|
|
5922
6050
|
* whatsapptemplates API
|
|
5923
6051
|
*/
|
|
@@ -6096,6 +6224,9 @@ var Zernio = class _Zernio {
|
|
|
6096
6224
|
*/
|
|
6097
6225
|
this.adcampaigns = {
|
|
6098
6226
|
listAds: this._bind(listAds),
|
|
6227
|
+
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6228
|
+
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6229
|
+
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6099
6230
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6100
6231
|
createBidStrategy: this._bind(createBidStrategy),
|
|
6101
6232
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -6480,6 +6611,12 @@ var Zernio = class _Zernio {
|
|
|
6480
6611
|
this.ads = {
|
|
6481
6612
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
6482
6613
|
listAds: this._bind(listAds),
|
|
6614
|
+
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
6615
|
+
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6616
|
+
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
6617
|
+
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6618
|
+
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
6619
|
+
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6483
6620
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
6484
6621
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6485
6622
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` 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.955",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -2308,6 +2308,96 @@ var deleteSmsSenderId = (options) => {
|
|
|
2308
2308
|
url: "/v1/sms/sender-ids/{id}"
|
|
2309
2309
|
});
|
|
2310
2310
|
};
|
|
2311
|
+
var createBrandedCallingEnterprise = (options) => {
|
|
2312
|
+
return (options?.client ?? client).post({
|
|
2313
|
+
...options,
|
|
2314
|
+
url: "/v1/branded-calling/enterprises"
|
|
2315
|
+
});
|
|
2316
|
+
};
|
|
2317
|
+
var listBrandedCallingEnterprises = (options) => {
|
|
2318
|
+
return (options?.client ?? client).get({
|
|
2319
|
+
...options,
|
|
2320
|
+
url: "/v1/branded-calling/enterprises"
|
|
2321
|
+
});
|
|
2322
|
+
};
|
|
2323
|
+
var getBrandedCallingEnterprise = (options) => {
|
|
2324
|
+
return (options?.client ?? client).get({
|
|
2325
|
+
...options,
|
|
2326
|
+
url: "/v1/branded-calling/enterprises/{id}"
|
|
2327
|
+
});
|
|
2328
|
+
};
|
|
2329
|
+
var deleteBrandedCallingEnterprise = (options) => {
|
|
2330
|
+
return (options?.client ?? client).delete({
|
|
2331
|
+
...options,
|
|
2332
|
+
url: "/v1/branded-calling/enterprises/{id}"
|
|
2333
|
+
});
|
|
2334
|
+
};
|
|
2335
|
+
var listBrandedCallingCallReasons = (options) => {
|
|
2336
|
+
return (options?.client ?? client).get({
|
|
2337
|
+
...options,
|
|
2338
|
+
url: "/v1/branded-calling/call-reasons"
|
|
2339
|
+
});
|
|
2340
|
+
};
|
|
2341
|
+
var createBrandedCallingIdentity = (options) => {
|
|
2342
|
+
return (options?.client ?? client).post({
|
|
2343
|
+
...options,
|
|
2344
|
+
url: "/v1/branded-calling/identities"
|
|
2345
|
+
});
|
|
2346
|
+
};
|
|
2347
|
+
var listBrandedCallingIdentities = (options) => {
|
|
2348
|
+
return (options?.client ?? client).get({
|
|
2349
|
+
...options,
|
|
2350
|
+
url: "/v1/branded-calling/identities"
|
|
2351
|
+
});
|
|
2352
|
+
};
|
|
2353
|
+
var getBrandedCallingIdentity = (options) => {
|
|
2354
|
+
return (options?.client ?? client).get({
|
|
2355
|
+
...options,
|
|
2356
|
+
url: "/v1/branded-calling/identities/{id}"
|
|
2357
|
+
});
|
|
2358
|
+
};
|
|
2359
|
+
var updateBrandedCallingIdentity = (options) => {
|
|
2360
|
+
return (options?.client ?? client).patch({
|
|
2361
|
+
...options,
|
|
2362
|
+
url: "/v1/branded-calling/identities/{id}"
|
|
2363
|
+
});
|
|
2364
|
+
};
|
|
2365
|
+
var deleteBrandedCallingIdentity = (options) => {
|
|
2366
|
+
return (options?.client ?? client).delete({
|
|
2367
|
+
...options,
|
|
2368
|
+
url: "/v1/branded-calling/identities/{id}"
|
|
2369
|
+
});
|
|
2370
|
+
};
|
|
2371
|
+
var resendBrandedCallingAuthorizerCode = (options) => {
|
|
2372
|
+
return (options?.client ?? client).post({
|
|
2373
|
+
...options,
|
|
2374
|
+
url: "/v1/branded-calling/identities/{id}/verify-email"
|
|
2375
|
+
});
|
|
2376
|
+
};
|
|
2377
|
+
var confirmBrandedCallingAuthorizerEmail = (options) => {
|
|
2378
|
+
return (options?.client ?? client).post({
|
|
2379
|
+
...options,
|
|
2380
|
+
url: "/v1/branded-calling/identities/{id}/verify-email/confirm"
|
|
2381
|
+
});
|
|
2382
|
+
};
|
|
2383
|
+
var listBrandedCallingIdentityNumbers = (options) => {
|
|
2384
|
+
return (options?.client ?? client).get({
|
|
2385
|
+
...options,
|
|
2386
|
+
url: "/v1/branded-calling/identities/{id}/numbers"
|
|
2387
|
+
});
|
|
2388
|
+
};
|
|
2389
|
+
var attachBrandedCallingNumbers = (options) => {
|
|
2390
|
+
return (options?.client ?? client).post({
|
|
2391
|
+
...options,
|
|
2392
|
+
url: "/v1/branded-calling/identities/{id}/numbers"
|
|
2393
|
+
});
|
|
2394
|
+
};
|
|
2395
|
+
var detachBrandedCallingNumbers = (options) => {
|
|
2396
|
+
return (options?.client ?? client).delete({
|
|
2397
|
+
...options,
|
|
2398
|
+
url: "/v1/branded-calling/identities/{id}/numbers"
|
|
2399
|
+
});
|
|
2400
|
+
};
|
|
2311
2401
|
var startSmsRegistration = (options) => {
|
|
2312
2402
|
return (options?.client ?? client).post({
|
|
2313
2403
|
...options,
|
|
@@ -3420,6 +3510,24 @@ var getAdsSearchTerms = (options) => {
|
|
|
3420
3510
|
url: "/v1/ads/search-terms"
|
|
3421
3511
|
});
|
|
3422
3512
|
};
|
|
3513
|
+
var listGoogleRecommendations = (options) => {
|
|
3514
|
+
return (options?.client ?? client).get({
|
|
3515
|
+
...options,
|
|
3516
|
+
url: "/v1/ads/recommendations"
|
|
3517
|
+
});
|
|
3518
|
+
};
|
|
3519
|
+
var applyGoogleRecommendations = (options) => {
|
|
3520
|
+
return (options?.client ?? client).post({
|
|
3521
|
+
...options,
|
|
3522
|
+
url: "/v1/ads/recommendations/apply"
|
|
3523
|
+
});
|
|
3524
|
+
};
|
|
3525
|
+
var dismissGoogleRecommendations = (options) => {
|
|
3526
|
+
return (options?.client ?? client).post({
|
|
3527
|
+
...options,
|
|
3528
|
+
url: "/v1/ads/recommendations/dismiss"
|
|
3529
|
+
});
|
|
3530
|
+
};
|
|
3423
3531
|
var listBidStrategies = (options) => {
|
|
3424
3532
|
return (options?.client ?? client).get({
|
|
3425
3533
|
...options,
|
|
@@ -5887,6 +5995,26 @@ var Zernio = class _Zernio {
|
|
|
5887
5995
|
disableSmsOnNumber: this._bind(disableSmsOnNumber),
|
|
5888
5996
|
reuseSmsRegistrationForNumber: this._bind(reuseSmsRegistrationForNumber)
|
|
5889
5997
|
};
|
|
5998
|
+
/**
|
|
5999
|
+
* brandedcalling API
|
|
6000
|
+
*/
|
|
6001
|
+
this.brandedcalling = {
|
|
6002
|
+
createBrandedCallingEnterprise: this._bind(createBrandedCallingEnterprise),
|
|
6003
|
+
listBrandedCallingEnterprises: this._bind(listBrandedCallingEnterprises),
|
|
6004
|
+
getBrandedCallingEnterprise: this._bind(getBrandedCallingEnterprise),
|
|
6005
|
+
deleteBrandedCallingEnterprise: this._bind(deleteBrandedCallingEnterprise),
|
|
6006
|
+
listBrandedCallingCallReasons: this._bind(listBrandedCallingCallReasons),
|
|
6007
|
+
createBrandedCallingIdentity: this._bind(createBrandedCallingIdentity),
|
|
6008
|
+
listBrandedCallingIdentities: this._bind(listBrandedCallingIdentities),
|
|
6009
|
+
getBrandedCallingIdentity: this._bind(getBrandedCallingIdentity),
|
|
6010
|
+
updateBrandedCallingIdentity: this._bind(updateBrandedCallingIdentity),
|
|
6011
|
+
deleteBrandedCallingIdentity: this._bind(deleteBrandedCallingIdentity),
|
|
6012
|
+
resendBrandedCallingAuthorizerCode: this._bind(resendBrandedCallingAuthorizerCode),
|
|
6013
|
+
confirmBrandedCallingAuthorizerEmail: this._bind(confirmBrandedCallingAuthorizerEmail),
|
|
6014
|
+
listBrandedCallingIdentityNumbers: this._bind(listBrandedCallingIdentityNumbers),
|
|
6015
|
+
attachBrandedCallingNumbers: this._bind(attachBrandedCallingNumbers),
|
|
6016
|
+
detachBrandedCallingNumbers: this._bind(detachBrandedCallingNumbers)
|
|
6017
|
+
};
|
|
5890
6018
|
/**
|
|
5891
6019
|
* whatsapptemplates API
|
|
5892
6020
|
*/
|
|
@@ -6065,6 +6193,9 @@ var Zernio = class _Zernio {
|
|
|
6065
6193
|
*/
|
|
6066
6194
|
this.adcampaigns = {
|
|
6067
6195
|
listAds: this._bind(listAds),
|
|
6196
|
+
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6197
|
+
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6198
|
+
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6068
6199
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6069
6200
|
createBidStrategy: this._bind(createBidStrategy),
|
|
6070
6201
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -6449,6 +6580,12 @@ var Zernio = class _Zernio {
|
|
|
6449
6580
|
this.ads = {
|
|
6450
6581
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
6451
6582
|
listAds: this._bind(listAds),
|
|
6583
|
+
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
6584
|
+
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
6585
|
+
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
6586
|
+
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
6587
|
+
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
6588
|
+
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
6452
6589
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
6453
6590
|
listBidStrategies: this._bind(listBidStrategies),
|
|
6454
6591
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -19,11 +19,13 @@ import {
|
|
|
19
19
|
addWhatsAppGroupParticipants,
|
|
20
20
|
adjustConversions,
|
|
21
21
|
appealSmsRegistration,
|
|
22
|
+
applyGoogleRecommendations,
|
|
22
23
|
approveWhatsAppGroupJoinRequests,
|
|
23
24
|
archiveLeadForm,
|
|
24
25
|
assignGoogleBusinessLocation,
|
|
25
26
|
attachAdGroupAssets,
|
|
26
27
|
attachAdLabel,
|
|
28
|
+
attachBrandedCallingNumbers,
|
|
27
29
|
attachCampaignAssets,
|
|
28
30
|
attachNumberToSipTrunk,
|
|
29
31
|
batchAdCatalogProducts,
|
|
@@ -48,6 +50,7 @@ import {
|
|
|
48
50
|
completeTelegramConnect,
|
|
49
51
|
completeWhatsAppPhoneSelection,
|
|
50
52
|
configureTikTokAdsBrandIdentity,
|
|
53
|
+
confirmBrandedCallingAuthorizerEmail,
|
|
51
54
|
connectAds,
|
|
52
55
|
connectBlueskyCredentials,
|
|
53
56
|
connectDiscordChannel,
|
|
@@ -75,6 +78,8 @@ import {
|
|
|
75
78
|
createBidStrategy,
|
|
76
79
|
createBlog,
|
|
77
80
|
createBlogArticle,
|
|
81
|
+
createBrandedCallingEnterprise,
|
|
82
|
+
createBrandedCallingIdentity,
|
|
78
83
|
createBroadcast,
|
|
79
84
|
createBusinessAgentConnector,
|
|
80
85
|
createBusinessAgentConnectorTool,
|
|
@@ -149,6 +154,8 @@ import {
|
|
|
149
154
|
deleteApiKey,
|
|
150
155
|
deleteBlog,
|
|
151
156
|
deleteBlogArticle,
|
|
157
|
+
deleteBrandedCallingEnterprise,
|
|
158
|
+
deleteBrandedCallingIdentity,
|
|
152
159
|
deleteBroadcast,
|
|
153
160
|
deleteBusinessAgentConnector,
|
|
154
161
|
deleteBusinessAgentConnectorTool,
|
|
@@ -192,12 +199,14 @@ import {
|
|
|
192
199
|
deleteWorkflow,
|
|
193
200
|
deprecateWhatsAppFlow,
|
|
194
201
|
detachAdLabel,
|
|
202
|
+
detachBrandedCallingNumbers,
|
|
195
203
|
detachNumberFromSipTrunk,
|
|
196
204
|
dialVoiceWebCall,
|
|
197
205
|
disableSmsOnNumber,
|
|
198
206
|
disableVoiceOnNumber,
|
|
199
207
|
disableWhatsAppCalling,
|
|
200
208
|
disableWhatsAppCallingLegacy,
|
|
209
|
+
dismissGoogleRecommendations,
|
|
201
210
|
downloadTikTokVideo,
|
|
202
211
|
duplicateAd,
|
|
203
212
|
duplicateAdCampaign,
|
|
@@ -251,6 +260,8 @@ import {
|
|
|
251
260
|
getBlog,
|
|
252
261
|
getBlogArticle,
|
|
253
262
|
getBlueskySettings,
|
|
263
|
+
getBrandedCallingEnterprise,
|
|
264
|
+
getBrandedCallingIdentity,
|
|
254
265
|
getBroadcast,
|
|
255
266
|
getBusinessAgentBudget,
|
|
256
267
|
getBusinessAgentBusinessInformation,
|
|
@@ -463,6 +474,10 @@ import {
|
|
|
463
474
|
listBidStrategies,
|
|
464
475
|
listBlogArticles,
|
|
465
476
|
listBlogs,
|
|
477
|
+
listBrandedCallingCallReasons,
|
|
478
|
+
listBrandedCallingEnterprises,
|
|
479
|
+
listBrandedCallingIdentities,
|
|
480
|
+
listBrandedCallingIdentityNumbers,
|
|
466
481
|
listBroadcastRecipients,
|
|
467
482
|
listBroadcasts,
|
|
468
483
|
listBusinessAgentAllowlist,
|
|
@@ -498,6 +513,7 @@ import {
|
|
|
498
513
|
listGoogleBusinessLocations,
|
|
499
514
|
listGoogleBusinessMedia,
|
|
500
515
|
listGoogleBusinessPlaceActions,
|
|
516
|
+
listGoogleRecommendations,
|
|
501
517
|
listHighDemandPeriods,
|
|
502
518
|
listImessageAudience,
|
|
503
519
|
listImessageAvailableNumbers,
|
|
@@ -618,6 +634,7 @@ import {
|
|
|
618
634
|
replyToPhoneNumberReviewer,
|
|
619
635
|
requestSmsSenderIdLimitIncrease,
|
|
620
636
|
requestWhatsAppVerificationCode,
|
|
637
|
+
resendBrandedCallingAuthorizerCode,
|
|
621
638
|
resendSmsRegistrationOtp,
|
|
622
639
|
reserveImessageAvailableNumber,
|
|
623
640
|
reserveRfPrediction,
|
|
@@ -724,6 +741,7 @@ import {
|
|
|
724
741
|
updateBlog,
|
|
725
742
|
updateBlogArticle,
|
|
726
743
|
updateBlueskySettings,
|
|
744
|
+
updateBrandedCallingIdentity,
|
|
727
745
|
updateBroadcast,
|
|
728
746
|
updateBusinessAgentConnector,
|
|
729
747
|
updateBusinessAgentConnectorTool,
|
|
@@ -1592,6 +1610,27 @@ export class Zernio {
|
|
|
1592
1610
|
reuseSmsRegistrationForNumber: this._bind(reuseSmsRegistrationForNumber),
|
|
1593
1611
|
};
|
|
1594
1612
|
|
|
1613
|
+
/**
|
|
1614
|
+
* brandedcalling API
|
|
1615
|
+
*/
|
|
1616
|
+
brandedcalling = {
|
|
1617
|
+
createBrandedCallingEnterprise: this._bind(createBrandedCallingEnterprise),
|
|
1618
|
+
listBrandedCallingEnterprises: this._bind(listBrandedCallingEnterprises),
|
|
1619
|
+
getBrandedCallingEnterprise: this._bind(getBrandedCallingEnterprise),
|
|
1620
|
+
deleteBrandedCallingEnterprise: this._bind(deleteBrandedCallingEnterprise),
|
|
1621
|
+
listBrandedCallingCallReasons: this._bind(listBrandedCallingCallReasons),
|
|
1622
|
+
createBrandedCallingIdentity: this._bind(createBrandedCallingIdentity),
|
|
1623
|
+
listBrandedCallingIdentities: this._bind(listBrandedCallingIdentities),
|
|
1624
|
+
getBrandedCallingIdentity: this._bind(getBrandedCallingIdentity),
|
|
1625
|
+
updateBrandedCallingIdentity: this._bind(updateBrandedCallingIdentity),
|
|
1626
|
+
deleteBrandedCallingIdentity: this._bind(deleteBrandedCallingIdentity),
|
|
1627
|
+
resendBrandedCallingAuthorizerCode: this._bind(resendBrandedCallingAuthorizerCode),
|
|
1628
|
+
confirmBrandedCallingAuthorizerEmail: this._bind(confirmBrandedCallingAuthorizerEmail),
|
|
1629
|
+
listBrandedCallingIdentityNumbers: this._bind(listBrandedCallingIdentityNumbers),
|
|
1630
|
+
attachBrandedCallingNumbers: this._bind(attachBrandedCallingNumbers),
|
|
1631
|
+
detachBrandedCallingNumbers: this._bind(detachBrandedCallingNumbers),
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1595
1634
|
/**
|
|
1596
1635
|
* whatsapptemplates API
|
|
1597
1636
|
*/
|
|
@@ -1781,6 +1820,9 @@ export class Zernio {
|
|
|
1781
1820
|
*/
|
|
1782
1821
|
adcampaigns = {
|
|
1783
1822
|
listAds: this._bind(listAds),
|
|
1823
|
+
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
1824
|
+
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
1825
|
+
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
1784
1826
|
listBidStrategies: this._bind(listBidStrategies),
|
|
1785
1827
|
createBidStrategy: this._bind(createBidStrategy),
|
|
1786
1828
|
updateBidStrategy: this._bind(updateBidStrategy),
|
|
@@ -2183,6 +2225,12 @@ export class Zernio {
|
|
|
2183
2225
|
ads = {
|
|
2184
2226
|
/** @deprecated Use `zernio.adcampaigns.listAds` instead. */
|
|
2185
2227
|
listAds: this._bind(listAds),
|
|
2228
|
+
/** @deprecated Use `zernio.adcampaigns.listGoogleRecommendations` instead. */
|
|
2229
|
+
listGoogleRecommendations: this._bind(listGoogleRecommendations),
|
|
2230
|
+
/** @deprecated Use `zernio.adcampaigns.applyGoogleRecommendations` instead. */
|
|
2231
|
+
applyGoogleRecommendations: this._bind(applyGoogleRecommendations),
|
|
2232
|
+
/** @deprecated Use `zernio.adcampaigns.dismissGoogleRecommendations` instead. */
|
|
2233
|
+
dismissGoogleRecommendations: this._bind(dismissGoogleRecommendations),
|
|
2186
2234
|
/** @deprecated Use `zernio.adcampaigns.listBidStrategies` instead. */
|
|
2187
2235
|
listBidStrategies: this._bind(listBidStrategies),
|
|
2188
2236
|
/** @deprecated Use `zernio.adcampaigns.createBidStrategy` instead. */
|