@zernio/node 0.2.972 → 0.2.973
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 +21 -0
- package/dist/index.d.mts +711 -53
- package/dist/index.d.ts +711 -53
- 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 +227 -1
- package/src/generated/types.gen.ts +762 -52
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.973",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -2321,6 +2321,89 @@ var sendSms = (options) => {
|
|
|
2321
2321
|
url: "/v1/sms/messages"
|
|
2322
2322
|
});
|
|
2323
2323
|
};
|
|
2324
|
+
var listRcsBrands = (options) => {
|
|
2325
|
+
return (options?.client ?? client).get({
|
|
2326
|
+
...options,
|
|
2327
|
+
url: "/v1/rcs/brands"
|
|
2328
|
+
});
|
|
2329
|
+
};
|
|
2330
|
+
var listRcsAgents = (options) => {
|
|
2331
|
+
return (options?.client ?? client).get({
|
|
2332
|
+
...options,
|
|
2333
|
+
url: "/v1/rcs/agents"
|
|
2334
|
+
});
|
|
2335
|
+
};
|
|
2336
|
+
var createRcsAgent = (options) => {
|
|
2337
|
+
return (options?.client ?? client).post({
|
|
2338
|
+
...options,
|
|
2339
|
+
url: "/v1/rcs/agents"
|
|
2340
|
+
});
|
|
2341
|
+
};
|
|
2342
|
+
var getRcsAgent = (options) => {
|
|
2343
|
+
return (options?.client ?? client).get({
|
|
2344
|
+
...options,
|
|
2345
|
+
url: "/v1/rcs/agents/{agentId}"
|
|
2346
|
+
});
|
|
2347
|
+
};
|
|
2348
|
+
var updateRcsAgent = (options) => {
|
|
2349
|
+
return (options?.client ?? client).patch({
|
|
2350
|
+
...options,
|
|
2351
|
+
url: "/v1/rcs/agents/{agentId}"
|
|
2352
|
+
});
|
|
2353
|
+
};
|
|
2354
|
+
var deactivateRcsAgent = (options) => {
|
|
2355
|
+
return (options?.client ?? client).delete({
|
|
2356
|
+
...options,
|
|
2357
|
+
url: "/v1/rcs/agents/{agentId}"
|
|
2358
|
+
});
|
|
2359
|
+
};
|
|
2360
|
+
var requestRcsAgentLaunch = (options) => {
|
|
2361
|
+
return (options?.client ?? client).post({
|
|
2362
|
+
...options,
|
|
2363
|
+
url: "/v1/rcs/agents/{agentId}/launch-request"
|
|
2364
|
+
});
|
|
2365
|
+
};
|
|
2366
|
+
var listRcsTestDevices = (options) => {
|
|
2367
|
+
return (options?.client ?? client).get({
|
|
2368
|
+
...options,
|
|
2369
|
+
url: "/v1/rcs/agents/{agentId}/test-devices"
|
|
2370
|
+
});
|
|
2371
|
+
};
|
|
2372
|
+
var addRcsTestDevice = (options) => {
|
|
2373
|
+
return (options?.client ?? client).post({
|
|
2374
|
+
...options,
|
|
2375
|
+
url: "/v1/rcs/agents/{agentId}/test-devices"
|
|
2376
|
+
});
|
|
2377
|
+
};
|
|
2378
|
+
var removeRcsTestDevice = (options) => {
|
|
2379
|
+
return (options?.client ?? client).delete({
|
|
2380
|
+
...options,
|
|
2381
|
+
url: "/v1/rcs/agents/{agentId}/test-devices/{testDeviceId}"
|
|
2382
|
+
});
|
|
2383
|
+
};
|
|
2384
|
+
var uploadRcsAsset = (options) => {
|
|
2385
|
+
return (options?.client ?? client).post({
|
|
2386
|
+
...options,
|
|
2387
|
+
...W,
|
|
2388
|
+
headers: {
|
|
2389
|
+
"Content-Type": null,
|
|
2390
|
+
...options?.headers
|
|
2391
|
+
},
|
|
2392
|
+
url: "/v1/rcs/assets"
|
|
2393
|
+
});
|
|
2394
|
+
};
|
|
2395
|
+
var sendRcsMessage = (options) => {
|
|
2396
|
+
return (options?.client ?? client).post({
|
|
2397
|
+
...options,
|
|
2398
|
+
url: "/v1/rcs/messages"
|
|
2399
|
+
});
|
|
2400
|
+
};
|
|
2401
|
+
var getRcsCapabilities = (options) => {
|
|
2402
|
+
return (options?.client ?? client).get({
|
|
2403
|
+
...options,
|
|
2404
|
+
url: "/v1/rcs/capabilities"
|
|
2405
|
+
});
|
|
2406
|
+
};
|
|
2324
2407
|
var lookupSmsNumber = (options) => {
|
|
2325
2408
|
return (options?.client ?? client).get({
|
|
2326
2409
|
...options,
|
|
@@ -5263,6 +5346,30 @@ var removeTrackingTagFromStore = (options) => {
|
|
|
5263
5346
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5264
5347
|
});
|
|
5265
5348
|
};
|
|
5349
|
+
var listTrackingTagEvents = (options) => {
|
|
5350
|
+
return (options?.client ?? client).get({
|
|
5351
|
+
...options,
|
|
5352
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events"
|
|
5353
|
+
});
|
|
5354
|
+
};
|
|
5355
|
+
var createTrackingTagEvent = (options) => {
|
|
5356
|
+
return (options?.client ?? client).post({
|
|
5357
|
+
...options,
|
|
5358
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events"
|
|
5359
|
+
});
|
|
5360
|
+
};
|
|
5361
|
+
var updateTrackingTagEvent = (options) => {
|
|
5362
|
+
return (options?.client ?? client).patch({
|
|
5363
|
+
...options,
|
|
5364
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events/{eventId}"
|
|
5365
|
+
});
|
|
5366
|
+
};
|
|
5367
|
+
var deleteTrackingTagEvent = (options) => {
|
|
5368
|
+
return (options?.client ?? client).delete({
|
|
5369
|
+
...options,
|
|
5370
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events/{eventId}"
|
|
5371
|
+
});
|
|
5372
|
+
};
|
|
5266
5373
|
var getTrackingTagStats = (options) => {
|
|
5267
5374
|
return (options?.client ?? client).get({
|
|
5268
5375
|
...options,
|
|
@@ -6119,6 +6226,24 @@ var Zernio = class _Zernio {
|
|
|
6119
6226
|
disableSmsOnNumber: this._bind(disableSmsOnNumber),
|
|
6120
6227
|
reuseSmsRegistrationForNumber: this._bind(reuseSmsRegistrationForNumber)
|
|
6121
6228
|
};
|
|
6229
|
+
/**
|
|
6230
|
+
* rcs API
|
|
6231
|
+
*/
|
|
6232
|
+
this.rcs = {
|
|
6233
|
+
listRcsBrands: this._bind(listRcsBrands),
|
|
6234
|
+
listRcsAgents: this._bind(listRcsAgents),
|
|
6235
|
+
createRcsAgent: this._bind(createRcsAgent),
|
|
6236
|
+
getRcsAgent: this._bind(getRcsAgent),
|
|
6237
|
+
updateRcsAgent: this._bind(updateRcsAgent),
|
|
6238
|
+
deactivateRcsAgent: this._bind(deactivateRcsAgent),
|
|
6239
|
+
requestRcsAgentLaunch: this._bind(requestRcsAgentLaunch),
|
|
6240
|
+
listRcsTestDevices: this._bind(listRcsTestDevices),
|
|
6241
|
+
addRcsTestDevice: this._bind(addRcsTestDevice),
|
|
6242
|
+
removeRcsTestDevice: this._bind(removeRcsTestDevice),
|
|
6243
|
+
uploadRcsAsset: this._bind(uploadRcsAsset),
|
|
6244
|
+
sendRcsMessage: this._bind(sendRcsMessage),
|
|
6245
|
+
getRcsCapabilities: this._bind(getRcsCapabilities)
|
|
6246
|
+
};
|
|
6122
6247
|
/**
|
|
6123
6248
|
* brandedcalling API
|
|
6124
6249
|
*/
|
|
@@ -6434,6 +6559,10 @@ var Zernio = class _Zernio {
|
|
|
6434
6559
|
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
6435
6560
|
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
6436
6561
|
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
6562
|
+
listTrackingTagEvents: this._bind(listTrackingTagEvents),
|
|
6563
|
+
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
6564
|
+
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
6565
|
+
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
6437
6566
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6438
6567
|
};
|
|
6439
6568
|
/**
|
|
@@ -7136,6 +7265,14 @@ var Zernio = class _Zernio {
|
|
|
7136
7265
|
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
7137
7266
|
/** @deprecated Use `zernio.trackingtags.removeTrackingTagFromStore` instead. */
|
|
7138
7267
|
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
7268
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagEvents` instead. */
|
|
7269
|
+
listTrackingTagEvents: this._bind(listTrackingTagEvents),
|
|
7270
|
+
/** @deprecated Use `zernio.trackingtags.createTrackingTagEvent` instead. */
|
|
7271
|
+
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
7272
|
+
/** @deprecated Use `zernio.trackingtags.updateTrackingTagEvent` instead. */
|
|
7273
|
+
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
7274
|
+
/** @deprecated Use `zernio.trackingtags.deleteTrackingTagEvent` instead. */
|
|
7275
|
+
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
7139
7276
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
|
7140
7277
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
7141
7278
|
};
|
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.973",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -2290,6 +2290,89 @@ var sendSms = (options) => {
|
|
|
2290
2290
|
url: "/v1/sms/messages"
|
|
2291
2291
|
});
|
|
2292
2292
|
};
|
|
2293
|
+
var listRcsBrands = (options) => {
|
|
2294
|
+
return (options?.client ?? client).get({
|
|
2295
|
+
...options,
|
|
2296
|
+
url: "/v1/rcs/brands"
|
|
2297
|
+
});
|
|
2298
|
+
};
|
|
2299
|
+
var listRcsAgents = (options) => {
|
|
2300
|
+
return (options?.client ?? client).get({
|
|
2301
|
+
...options,
|
|
2302
|
+
url: "/v1/rcs/agents"
|
|
2303
|
+
});
|
|
2304
|
+
};
|
|
2305
|
+
var createRcsAgent = (options) => {
|
|
2306
|
+
return (options?.client ?? client).post({
|
|
2307
|
+
...options,
|
|
2308
|
+
url: "/v1/rcs/agents"
|
|
2309
|
+
});
|
|
2310
|
+
};
|
|
2311
|
+
var getRcsAgent = (options) => {
|
|
2312
|
+
return (options?.client ?? client).get({
|
|
2313
|
+
...options,
|
|
2314
|
+
url: "/v1/rcs/agents/{agentId}"
|
|
2315
|
+
});
|
|
2316
|
+
};
|
|
2317
|
+
var updateRcsAgent = (options) => {
|
|
2318
|
+
return (options?.client ?? client).patch({
|
|
2319
|
+
...options,
|
|
2320
|
+
url: "/v1/rcs/agents/{agentId}"
|
|
2321
|
+
});
|
|
2322
|
+
};
|
|
2323
|
+
var deactivateRcsAgent = (options) => {
|
|
2324
|
+
return (options?.client ?? client).delete({
|
|
2325
|
+
...options,
|
|
2326
|
+
url: "/v1/rcs/agents/{agentId}"
|
|
2327
|
+
});
|
|
2328
|
+
};
|
|
2329
|
+
var requestRcsAgentLaunch = (options) => {
|
|
2330
|
+
return (options?.client ?? client).post({
|
|
2331
|
+
...options,
|
|
2332
|
+
url: "/v1/rcs/agents/{agentId}/launch-request"
|
|
2333
|
+
});
|
|
2334
|
+
};
|
|
2335
|
+
var listRcsTestDevices = (options) => {
|
|
2336
|
+
return (options?.client ?? client).get({
|
|
2337
|
+
...options,
|
|
2338
|
+
url: "/v1/rcs/agents/{agentId}/test-devices"
|
|
2339
|
+
});
|
|
2340
|
+
};
|
|
2341
|
+
var addRcsTestDevice = (options) => {
|
|
2342
|
+
return (options?.client ?? client).post({
|
|
2343
|
+
...options,
|
|
2344
|
+
url: "/v1/rcs/agents/{agentId}/test-devices"
|
|
2345
|
+
});
|
|
2346
|
+
};
|
|
2347
|
+
var removeRcsTestDevice = (options) => {
|
|
2348
|
+
return (options?.client ?? client).delete({
|
|
2349
|
+
...options,
|
|
2350
|
+
url: "/v1/rcs/agents/{agentId}/test-devices/{testDeviceId}"
|
|
2351
|
+
});
|
|
2352
|
+
};
|
|
2353
|
+
var uploadRcsAsset = (options) => {
|
|
2354
|
+
return (options?.client ?? client).post({
|
|
2355
|
+
...options,
|
|
2356
|
+
...W,
|
|
2357
|
+
headers: {
|
|
2358
|
+
"Content-Type": null,
|
|
2359
|
+
...options?.headers
|
|
2360
|
+
},
|
|
2361
|
+
url: "/v1/rcs/assets"
|
|
2362
|
+
});
|
|
2363
|
+
};
|
|
2364
|
+
var sendRcsMessage = (options) => {
|
|
2365
|
+
return (options?.client ?? client).post({
|
|
2366
|
+
...options,
|
|
2367
|
+
url: "/v1/rcs/messages"
|
|
2368
|
+
});
|
|
2369
|
+
};
|
|
2370
|
+
var getRcsCapabilities = (options) => {
|
|
2371
|
+
return (options?.client ?? client).get({
|
|
2372
|
+
...options,
|
|
2373
|
+
url: "/v1/rcs/capabilities"
|
|
2374
|
+
});
|
|
2375
|
+
};
|
|
2293
2376
|
var lookupSmsNumber = (options) => {
|
|
2294
2377
|
return (options?.client ?? client).get({
|
|
2295
2378
|
...options,
|
|
@@ -5232,6 +5315,30 @@ var removeTrackingTagFromStore = (options) => {
|
|
|
5232
5315
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/install"
|
|
5233
5316
|
});
|
|
5234
5317
|
};
|
|
5318
|
+
var listTrackingTagEvents = (options) => {
|
|
5319
|
+
return (options?.client ?? client).get({
|
|
5320
|
+
...options,
|
|
5321
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events"
|
|
5322
|
+
});
|
|
5323
|
+
};
|
|
5324
|
+
var createTrackingTagEvent = (options) => {
|
|
5325
|
+
return (options?.client ?? client).post({
|
|
5326
|
+
...options,
|
|
5327
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events"
|
|
5328
|
+
});
|
|
5329
|
+
};
|
|
5330
|
+
var updateTrackingTagEvent = (options) => {
|
|
5331
|
+
return (options?.client ?? client).patch({
|
|
5332
|
+
...options,
|
|
5333
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events/{eventId}"
|
|
5334
|
+
});
|
|
5335
|
+
};
|
|
5336
|
+
var deleteTrackingTagEvent = (options) => {
|
|
5337
|
+
return (options?.client ?? client).delete({
|
|
5338
|
+
...options,
|
|
5339
|
+
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/events/{eventId}"
|
|
5340
|
+
});
|
|
5341
|
+
};
|
|
5235
5342
|
var getTrackingTagStats = (options) => {
|
|
5236
5343
|
return (options?.client ?? client).get({
|
|
5237
5344
|
...options,
|
|
@@ -6088,6 +6195,24 @@ var Zernio = class _Zernio {
|
|
|
6088
6195
|
disableSmsOnNumber: this._bind(disableSmsOnNumber),
|
|
6089
6196
|
reuseSmsRegistrationForNumber: this._bind(reuseSmsRegistrationForNumber)
|
|
6090
6197
|
};
|
|
6198
|
+
/**
|
|
6199
|
+
* rcs API
|
|
6200
|
+
*/
|
|
6201
|
+
this.rcs = {
|
|
6202
|
+
listRcsBrands: this._bind(listRcsBrands),
|
|
6203
|
+
listRcsAgents: this._bind(listRcsAgents),
|
|
6204
|
+
createRcsAgent: this._bind(createRcsAgent),
|
|
6205
|
+
getRcsAgent: this._bind(getRcsAgent),
|
|
6206
|
+
updateRcsAgent: this._bind(updateRcsAgent),
|
|
6207
|
+
deactivateRcsAgent: this._bind(deactivateRcsAgent),
|
|
6208
|
+
requestRcsAgentLaunch: this._bind(requestRcsAgentLaunch),
|
|
6209
|
+
listRcsTestDevices: this._bind(listRcsTestDevices),
|
|
6210
|
+
addRcsTestDevice: this._bind(addRcsTestDevice),
|
|
6211
|
+
removeRcsTestDevice: this._bind(removeRcsTestDevice),
|
|
6212
|
+
uploadRcsAsset: this._bind(uploadRcsAsset),
|
|
6213
|
+
sendRcsMessage: this._bind(sendRcsMessage),
|
|
6214
|
+
getRcsCapabilities: this._bind(getRcsCapabilities)
|
|
6215
|
+
};
|
|
6091
6216
|
/**
|
|
6092
6217
|
* brandedcalling API
|
|
6093
6218
|
*/
|
|
@@ -6403,6 +6528,10 @@ var Zernio = class _Zernio {
|
|
|
6403
6528
|
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
6404
6529
|
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
6405
6530
|
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
6531
|
+
listTrackingTagEvents: this._bind(listTrackingTagEvents),
|
|
6532
|
+
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
6533
|
+
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
6534
|
+
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
6406
6535
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
6407
6536
|
};
|
|
6408
6537
|
/**
|
|
@@ -7105,6 +7234,14 @@ var Zernio = class _Zernio {
|
|
|
7105
7234
|
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
7106
7235
|
/** @deprecated Use `zernio.trackingtags.removeTrackingTagFromStore` instead. */
|
|
7107
7236
|
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
7237
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagEvents` instead. */
|
|
7238
|
+
listTrackingTagEvents: this._bind(listTrackingTagEvents),
|
|
7239
|
+
/** @deprecated Use `zernio.trackingtags.createTrackingTagEvent` instead. */
|
|
7240
|
+
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
7241
|
+
/** @deprecated Use `zernio.trackingtags.updateTrackingTagEvent` instead. */
|
|
7242
|
+
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
7243
|
+
/** @deprecated Use `zernio.trackingtags.deleteTrackingTagEvent` instead. */
|
|
7244
|
+
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
7108
7245
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
|
7109
7246
|
getTrackingTagStats: this._bind(getTrackingTagStats)
|
|
7110
7247
|
};
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -14,6 +14,7 @@ import {
|
|
|
14
14
|
addDiscordMemberRole,
|
|
15
15
|
addImessageGroupParticipant,
|
|
16
16
|
addMessageReaction,
|
|
17
|
+
addRcsTestDevice,
|
|
17
18
|
addTrackingTagSharedAccount,
|
|
18
19
|
addUsersToAdAudience,
|
|
19
20
|
addWhatsAppGroupParticipants,
|
|
@@ -117,6 +118,7 @@ import {
|
|
|
117
118
|
createPost,
|
|
118
119
|
createProfile,
|
|
119
120
|
createQueueSlot,
|
|
121
|
+
createRcsAgent,
|
|
120
122
|
createRfPrediction,
|
|
121
123
|
createSequence,
|
|
122
124
|
createSipTrunk,
|
|
@@ -124,6 +126,7 @@ import {
|
|
|
124
126
|
createStandaloneAd,
|
|
125
127
|
createTestLead,
|
|
126
128
|
createTrackingTag,
|
|
129
|
+
createTrackingTagEvent,
|
|
127
130
|
createValueRuleSet,
|
|
128
131
|
createVerification,
|
|
129
132
|
createVoiceCall,
|
|
@@ -139,6 +142,7 @@ import {
|
|
|
139
142
|
createWorkflow,
|
|
140
143
|
createYoutubePlaylist,
|
|
141
144
|
crosspostDiscordMessage,
|
|
145
|
+
deactivateRcsAgent,
|
|
142
146
|
deactivateSmsRegistration,
|
|
143
147
|
deleteAccount,
|
|
144
148
|
deleteAccountGroup,
|
|
@@ -190,6 +194,7 @@ import {
|
|
|
190
194
|
deleteSmsSenderId,
|
|
191
195
|
deleteTelegramCommands,
|
|
192
196
|
deleteTestLead,
|
|
197
|
+
deleteTrackingTagEvent,
|
|
193
198
|
deleteValueRuleSet,
|
|
194
199
|
deleteWebhookSettings,
|
|
195
200
|
deleteWhatsAppFlow,
|
|
@@ -365,6 +370,8 @@ import {
|
|
|
365
370
|
getPostingFrequency,
|
|
366
371
|
getProduct,
|
|
367
372
|
getProfile,
|
|
373
|
+
getRcsAgent,
|
|
374
|
+
getRcsCapabilities,
|
|
368
375
|
getRedditFeed,
|
|
369
376
|
getRedditFlairs,
|
|
370
377
|
getRedditSubreddits,
|
|
@@ -553,6 +560,9 @@ import {
|
|
|
553
560
|
listProducts,
|
|
554
561
|
listProfiles,
|
|
555
562
|
listQueueSlots,
|
|
563
|
+
listRcsAgents,
|
|
564
|
+
listRcsBrands,
|
|
565
|
+
listRcsTestDevices,
|
|
556
566
|
listSequenceEnrollments,
|
|
557
567
|
listSequences,
|
|
558
568
|
listSipTrunks,
|
|
@@ -564,6 +574,7 @@ import {
|
|
|
564
574
|
listSnapchatProfiles,
|
|
565
575
|
listTikTokAdPixels,
|
|
566
576
|
listTikTokCommercialMusic,
|
|
577
|
+
listTrackingTagEvents,
|
|
567
578
|
listTrackingTagSharedAccounts,
|
|
568
579
|
listTrackingTags,
|
|
569
580
|
listUsers,
|
|
@@ -629,6 +640,7 @@ import {
|
|
|
629
640
|
removeImessageGroupParticipant,
|
|
630
641
|
removeMessageReaction,
|
|
631
642
|
removePageUser,
|
|
643
|
+
removeRcsTestDevice,
|
|
632
644
|
removeTrackingTagFromStore,
|
|
633
645
|
removeTrackingTagSharedAccount,
|
|
634
646
|
removeWhatsAppGroupParticipants,
|
|
@@ -645,6 +657,7 @@ import {
|
|
|
645
657
|
replyToInboxReview,
|
|
646
658
|
replyToMention,
|
|
647
659
|
replyToPhoneNumberReviewer,
|
|
660
|
+
requestRcsAgentLaunch,
|
|
648
661
|
requestSmsSenderIdLimitIncrease,
|
|
649
662
|
requestWhatsAppVerificationCode,
|
|
650
663
|
resendBrandedCallingAuthorizerCode,
|
|
@@ -689,6 +702,7 @@ import {
|
|
|
689
702
|
sendDiscordDirectMessage,
|
|
690
703
|
sendInboxMessage,
|
|
691
704
|
sendPrivateReplyToComment,
|
|
705
|
+
sendRcsMessage,
|
|
692
706
|
sendSms,
|
|
693
707
|
sendTypingIndicator,
|
|
694
708
|
sendWhatsAppConversion,
|
|
@@ -795,10 +809,12 @@ import {
|
|
|
795
809
|
updateProduct,
|
|
796
810
|
updateProfile,
|
|
797
811
|
updateQueueSlot,
|
|
812
|
+
updateRcsAgent,
|
|
798
813
|
updateRedditSubreddits,
|
|
799
814
|
updateSequence,
|
|
800
815
|
updateSlackSettings,
|
|
801
816
|
updateTrackingTag,
|
|
817
|
+
updateTrackingTagEvent,
|
|
802
818
|
updateValueRuleSet,
|
|
803
819
|
updateWebhookSettings,
|
|
804
820
|
updateWhatsAppBusinessProfile,
|
|
@@ -818,6 +834,7 @@ import {
|
|
|
818
834
|
uploadMediaDirect,
|
|
819
835
|
uploadPhoneNumberKycDocument,
|
|
820
836
|
uploadPhoneNumberPortInDocument,
|
|
837
|
+
uploadRcsAsset,
|
|
821
838
|
uploadSmsOptInProof,
|
|
822
839
|
uploadSmsOptInProofFile,
|
|
823
840
|
uploadWhatsAppFlowJson,
|
|
@@ -1628,6 +1645,25 @@ export class Zernio {
|
|
|
1628
1645
|
reuseSmsRegistrationForNumber: this._bind(reuseSmsRegistrationForNumber),
|
|
1629
1646
|
};
|
|
1630
1647
|
|
|
1648
|
+
/**
|
|
1649
|
+
* rcs API
|
|
1650
|
+
*/
|
|
1651
|
+
rcs = {
|
|
1652
|
+
listRcsBrands: this._bind(listRcsBrands),
|
|
1653
|
+
listRcsAgents: this._bind(listRcsAgents),
|
|
1654
|
+
createRcsAgent: this._bind(createRcsAgent),
|
|
1655
|
+
getRcsAgent: this._bind(getRcsAgent),
|
|
1656
|
+
updateRcsAgent: this._bind(updateRcsAgent),
|
|
1657
|
+
deactivateRcsAgent: this._bind(deactivateRcsAgent),
|
|
1658
|
+
requestRcsAgentLaunch: this._bind(requestRcsAgentLaunch),
|
|
1659
|
+
listRcsTestDevices: this._bind(listRcsTestDevices),
|
|
1660
|
+
addRcsTestDevice: this._bind(addRcsTestDevice),
|
|
1661
|
+
removeRcsTestDevice: this._bind(removeRcsTestDevice),
|
|
1662
|
+
uploadRcsAsset: this._bind(uploadRcsAsset),
|
|
1663
|
+
sendRcsMessage: this._bind(sendRcsMessage),
|
|
1664
|
+
getRcsCapabilities: this._bind(getRcsCapabilities),
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1631
1667
|
/**
|
|
1632
1668
|
* brandedcalling API
|
|
1633
1669
|
*/
|
|
@@ -1958,6 +1994,10 @@ export class Zernio {
|
|
|
1958
1994
|
installTrackingTagOnStore: this._bind(installTrackingTagOnStore),
|
|
1959
1995
|
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
1960
1996
|
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
1997
|
+
listTrackingTagEvents: this._bind(listTrackingTagEvents),
|
|
1998
|
+
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
1999
|
+
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
2000
|
+
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
1961
2001
|
getTrackingTagStats: this._bind(getTrackingTagStats),
|
|
1962
2002
|
};
|
|
1963
2003
|
|
|
@@ -2675,6 +2715,14 @@ export class Zernio {
|
|
|
2675
2715
|
getTrackingTagStoreInstall: this._bind(getTrackingTagStoreInstall),
|
|
2676
2716
|
/** @deprecated Use `zernio.trackingtags.removeTrackingTagFromStore` instead. */
|
|
2677
2717
|
removeTrackingTagFromStore: this._bind(removeTrackingTagFromStore),
|
|
2718
|
+
/** @deprecated Use `zernio.trackingtags.listTrackingTagEvents` instead. */
|
|
2719
|
+
listTrackingTagEvents: this._bind(listTrackingTagEvents),
|
|
2720
|
+
/** @deprecated Use `zernio.trackingtags.createTrackingTagEvent` instead. */
|
|
2721
|
+
createTrackingTagEvent: this._bind(createTrackingTagEvent),
|
|
2722
|
+
/** @deprecated Use `zernio.trackingtags.updateTrackingTagEvent` instead. */
|
|
2723
|
+
updateTrackingTagEvent: this._bind(updateTrackingTagEvent),
|
|
2724
|
+
/** @deprecated Use `zernio.trackingtags.deleteTrackingTagEvent` instead. */
|
|
2725
|
+
deleteTrackingTagEvent: this._bind(deleteTrackingTagEvent),
|
|
2678
2726
|
/** @deprecated Use `zernio.trackingtags.getTrackingTagStats` instead. */
|
|
2679
2727
|
getTrackingTagStats: this._bind(getTrackingTagStats),
|
|
2680
2728
|
};
|