@getlatedev/node 0.2.396 → 0.2.398
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 -16
- package/dist/index.d.mts +64 -514
- package/dist/index.d.ts +64 -514
- package/dist/index.js +13 -106
- package/dist/index.mjs +13 -106
- package/package.json +1 -1
- package/src/client.ts +8 -30
- package/src/generated/sdk.gen.ts +38 -229
- package/src/generated/types.gen.ts +58 -540
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.398",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -1481,6 +1481,12 @@ var sendInboxMessage = (options) => {
|
|
|
1481
1481
|
url: "/v1/inbox/conversations/{conversationId}/messages"
|
|
1482
1482
|
});
|
|
1483
1483
|
};
|
|
1484
|
+
var getWhatsAppMedia = (options) => {
|
|
1485
|
+
return (options?.client ?? client).get({
|
|
1486
|
+
...options,
|
|
1487
|
+
url: "/v1/whatsapp/media/{mediaId}"
|
|
1488
|
+
});
|
|
1489
|
+
};
|
|
1484
1490
|
var editInboxMessage = (options) => {
|
|
1485
1491
|
return (options?.client ?? client).patch({
|
|
1486
1492
|
...options,
|
|
@@ -1894,30 +1900,6 @@ var listSmsOptOuts = (options) => {
|
|
|
1894
1900
|
url: "/v1/sms/opt-outs"
|
|
1895
1901
|
});
|
|
1896
1902
|
};
|
|
1897
|
-
var createSmsSenderId = (options) => {
|
|
1898
|
-
return (options?.client ?? client).post({
|
|
1899
|
-
...options,
|
|
1900
|
-
url: "/v1/sms/sender-ids"
|
|
1901
|
-
});
|
|
1902
|
-
};
|
|
1903
|
-
var listSmsSenderIds = (options) => {
|
|
1904
|
-
return (options?.client ?? client).get({
|
|
1905
|
-
...options,
|
|
1906
|
-
url: "/v1/sms/sender-ids"
|
|
1907
|
-
});
|
|
1908
|
-
};
|
|
1909
|
-
var requestSmsSenderIdLimitIncrease = (options) => {
|
|
1910
|
-
return (options?.client ?? client).post({
|
|
1911
|
-
...options,
|
|
1912
|
-
url: "/v1/sms/sender-ids/limit-request"
|
|
1913
|
-
});
|
|
1914
|
-
};
|
|
1915
|
-
var deleteSmsSenderId = (options) => {
|
|
1916
|
-
return (options?.client ?? client).delete({
|
|
1917
|
-
...options,
|
|
1918
|
-
url: "/v1/sms/sender-ids/{id}"
|
|
1919
|
-
});
|
|
1920
|
-
};
|
|
1921
1903
|
var startSmsRegistration = (options) => {
|
|
1922
1904
|
return (options?.client ?? client).post({
|
|
1923
1905
|
...options,
|
|
@@ -2862,12 +2844,6 @@ var listAdCampaigns = (options) => {
|
|
|
2862
2844
|
url: "/v1/ads/campaigns"
|
|
2863
2845
|
});
|
|
2864
2846
|
};
|
|
2865
|
-
var createAdCampaign = (options) => {
|
|
2866
|
-
return (options?.client ?? client).post({
|
|
2867
|
-
...options,
|
|
2868
|
-
url: "/v1/ads/campaigns"
|
|
2869
|
-
});
|
|
2870
|
-
};
|
|
2871
2847
|
var updateAdCampaignStatus = (options) => {
|
|
2872
2848
|
return (options?.client ?? client).put({
|
|
2873
2849
|
...options,
|
|
@@ -2898,18 +2874,6 @@ var duplicateAdCampaign = (options) => {
|
|
|
2898
2874
|
url: "/v1/ads/campaigns/{campaignId}/duplicate"
|
|
2899
2875
|
});
|
|
2900
2876
|
};
|
|
2901
|
-
var duplicateAdSet = (options) => {
|
|
2902
|
-
return (options?.client ?? client).post({
|
|
2903
|
-
...options,
|
|
2904
|
-
url: "/v1/ads/ad-sets/{adSetId}/duplicate"
|
|
2905
|
-
});
|
|
2906
|
-
};
|
|
2907
|
-
var duplicateAd = (options) => {
|
|
2908
|
-
return (options?.client ?? client).post({
|
|
2909
|
-
...options,
|
|
2910
|
-
url: "/v1/ads/{adId}/duplicate"
|
|
2911
|
-
});
|
|
2912
|
-
};
|
|
2913
2877
|
var getAdSetDetails = (options) => {
|
|
2914
2878
|
return (options?.client ?? client).get({
|
|
2915
2879
|
...options,
|
|
@@ -3066,48 +3030,6 @@ var listAdStudies = (options) => {
|
|
|
3066
3030
|
url: "/v1/ads/studies"
|
|
3067
3031
|
});
|
|
3068
3032
|
};
|
|
3069
|
-
var listAdLabels = (options) => {
|
|
3070
|
-
return (options?.client ?? client).get({
|
|
3071
|
-
...options,
|
|
3072
|
-
url: "/v1/ads/labels"
|
|
3073
|
-
});
|
|
3074
|
-
};
|
|
3075
|
-
var listHighDemandPeriods = (options) => {
|
|
3076
|
-
return (options?.client ?? client).get({
|
|
3077
|
-
...options,
|
|
3078
|
-
url: "/v1/ads/high-demand-periods"
|
|
3079
|
-
});
|
|
3080
|
-
};
|
|
3081
|
-
var listAdCreatives = (options) => {
|
|
3082
|
-
return (options?.client ?? client).get({
|
|
3083
|
-
...options,
|
|
3084
|
-
url: "/v1/ads/creatives"
|
|
3085
|
-
});
|
|
3086
|
-
};
|
|
3087
|
-
var createAdCreative = (options) => {
|
|
3088
|
-
return (options?.client ?? client).post({
|
|
3089
|
-
...options,
|
|
3090
|
-
url: "/v1/ads/creatives"
|
|
3091
|
-
});
|
|
3092
|
-
};
|
|
3093
|
-
var getAdCreative = (options) => {
|
|
3094
|
-
return (options?.client ?? client).get({
|
|
3095
|
-
...options,
|
|
3096
|
-
url: "/v1/ads/creatives/{creativeId}"
|
|
3097
|
-
});
|
|
3098
|
-
};
|
|
3099
|
-
var updateAdCreative = (options) => {
|
|
3100
|
-
return (options?.client ?? client).put({
|
|
3101
|
-
...options,
|
|
3102
|
-
url: "/v1/ads/creatives/{creativeId}"
|
|
3103
|
-
});
|
|
3104
|
-
};
|
|
3105
|
-
var deleteAdCreative = (options) => {
|
|
3106
|
-
return (options?.client ?? client).delete({
|
|
3107
|
-
...options,
|
|
3108
|
-
url: "/v1/ads/creatives/{creativeId}"
|
|
3109
|
-
});
|
|
3110
|
-
};
|
|
3111
3033
|
var getAdAccountFinance = (options) => {
|
|
3112
3034
|
return (options?.client ?? client).get({
|
|
3113
3035
|
...options,
|
|
@@ -3198,12 +3120,6 @@ var uploadAdImage = (options) => {
|
|
|
3198
3120
|
url: "/v1/ads/images"
|
|
3199
3121
|
});
|
|
3200
3122
|
};
|
|
3201
|
-
var listAdImages = (options) => {
|
|
3202
|
-
return (options?.client ?? client).get({
|
|
3203
|
-
...options,
|
|
3204
|
-
url: "/v1/ads/images"
|
|
3205
|
-
});
|
|
3206
|
-
};
|
|
3207
3123
|
var searchAdInterests = (options) => {
|
|
3208
3124
|
return (options?.client ?? client).get({
|
|
3209
3125
|
...options,
|
|
@@ -3895,6 +3811,12 @@ var Zernio = class {
|
|
|
3895
3811
|
removeMessageReaction,
|
|
3896
3812
|
uploadMediaDirect
|
|
3897
3813
|
};
|
|
3814
|
+
/**
|
|
3815
|
+
* inbox API
|
|
3816
|
+
*/
|
|
3817
|
+
this.inbox = {
|
|
3818
|
+
getWhatsAppMedia
|
|
3819
|
+
};
|
|
3898
3820
|
/**
|
|
3899
3821
|
* accountsettings API
|
|
3900
3822
|
*/
|
|
@@ -4039,10 +3961,6 @@ var Zernio = class {
|
|
|
4039
3961
|
sendSms,
|
|
4040
3962
|
lookupSmsNumber,
|
|
4041
3963
|
listSmsOptOuts,
|
|
4042
|
-
createSmsSenderId,
|
|
4043
|
-
listSmsSenderIds,
|
|
4044
|
-
requestSmsSenderIdLimitIncrease,
|
|
4045
|
-
deleteSmsSenderId,
|
|
4046
3964
|
startSmsRegistration,
|
|
4047
3965
|
listSmsRegistrations,
|
|
4048
3966
|
deactivateSmsRegistration,
|
|
@@ -4224,7 +4142,6 @@ var Zernio = class {
|
|
|
4224
4142
|
*/
|
|
4225
4143
|
this.ads = {
|
|
4226
4144
|
listAds,
|
|
4227
|
-
duplicateAd,
|
|
4228
4145
|
getAd,
|
|
4229
4146
|
updateAd,
|
|
4230
4147
|
deleteAd,
|
|
@@ -4246,13 +4163,6 @@ var Zernio = class {
|
|
|
4246
4163
|
cancelRfReservation,
|
|
4247
4164
|
reserveRfPrediction,
|
|
4248
4165
|
listAdStudies,
|
|
4249
|
-
listAdLabels,
|
|
4250
|
-
listHighDemandPeriods,
|
|
4251
|
-
listAdCreatives,
|
|
4252
|
-
createAdCreative,
|
|
4253
|
-
getAdCreative,
|
|
4254
|
-
updateAdCreative,
|
|
4255
|
-
deleteAdCreative,
|
|
4256
4166
|
getAdAccountFinance,
|
|
4257
4167
|
listAdAccounts,
|
|
4258
4168
|
updateAdAccount,
|
|
@@ -4268,7 +4178,6 @@ var Zernio = class {
|
|
|
4268
4178
|
listFormLeads,
|
|
4269
4179
|
createTestLead,
|
|
4270
4180
|
uploadAdImage,
|
|
4271
|
-
listAdImages,
|
|
4272
4181
|
searchAdInterests,
|
|
4273
4182
|
searchAdTargeting,
|
|
4274
4183
|
estimateAdReach,
|
|
@@ -4297,13 +4206,11 @@ var Zernio = class {
|
|
|
4297
4206
|
*/
|
|
4298
4207
|
this.adcampaigns = {
|
|
4299
4208
|
listAdCampaigns,
|
|
4300
|
-
createAdCampaign,
|
|
4301
4209
|
updateAdCampaignStatus,
|
|
4302
4210
|
updateAdCampaign,
|
|
4303
4211
|
deleteAdCampaign,
|
|
4304
4212
|
bulkUpdateAdCampaignStatus,
|
|
4305
4213
|
duplicateAdCampaign,
|
|
4306
|
-
duplicateAdSet,
|
|
4307
4214
|
getAdSetDetails,
|
|
4308
4215
|
updateAdSet,
|
|
4309
4216
|
updateAdSetStatus,
|
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.398",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -1450,6 +1450,12 @@ var sendInboxMessage = (options) => {
|
|
|
1450
1450
|
url: "/v1/inbox/conversations/{conversationId}/messages"
|
|
1451
1451
|
});
|
|
1452
1452
|
};
|
|
1453
|
+
var getWhatsAppMedia = (options) => {
|
|
1454
|
+
return (options?.client ?? client).get({
|
|
1455
|
+
...options,
|
|
1456
|
+
url: "/v1/whatsapp/media/{mediaId}"
|
|
1457
|
+
});
|
|
1458
|
+
};
|
|
1453
1459
|
var editInboxMessage = (options) => {
|
|
1454
1460
|
return (options?.client ?? client).patch({
|
|
1455
1461
|
...options,
|
|
@@ -1863,30 +1869,6 @@ var listSmsOptOuts = (options) => {
|
|
|
1863
1869
|
url: "/v1/sms/opt-outs"
|
|
1864
1870
|
});
|
|
1865
1871
|
};
|
|
1866
|
-
var createSmsSenderId = (options) => {
|
|
1867
|
-
return (options?.client ?? client).post({
|
|
1868
|
-
...options,
|
|
1869
|
-
url: "/v1/sms/sender-ids"
|
|
1870
|
-
});
|
|
1871
|
-
};
|
|
1872
|
-
var listSmsSenderIds = (options) => {
|
|
1873
|
-
return (options?.client ?? client).get({
|
|
1874
|
-
...options,
|
|
1875
|
-
url: "/v1/sms/sender-ids"
|
|
1876
|
-
});
|
|
1877
|
-
};
|
|
1878
|
-
var requestSmsSenderIdLimitIncrease = (options) => {
|
|
1879
|
-
return (options?.client ?? client).post({
|
|
1880
|
-
...options,
|
|
1881
|
-
url: "/v1/sms/sender-ids/limit-request"
|
|
1882
|
-
});
|
|
1883
|
-
};
|
|
1884
|
-
var deleteSmsSenderId = (options) => {
|
|
1885
|
-
return (options?.client ?? client).delete({
|
|
1886
|
-
...options,
|
|
1887
|
-
url: "/v1/sms/sender-ids/{id}"
|
|
1888
|
-
});
|
|
1889
|
-
};
|
|
1890
1872
|
var startSmsRegistration = (options) => {
|
|
1891
1873
|
return (options?.client ?? client).post({
|
|
1892
1874
|
...options,
|
|
@@ -2831,12 +2813,6 @@ var listAdCampaigns = (options) => {
|
|
|
2831
2813
|
url: "/v1/ads/campaigns"
|
|
2832
2814
|
});
|
|
2833
2815
|
};
|
|
2834
|
-
var createAdCampaign = (options) => {
|
|
2835
|
-
return (options?.client ?? client).post({
|
|
2836
|
-
...options,
|
|
2837
|
-
url: "/v1/ads/campaigns"
|
|
2838
|
-
});
|
|
2839
|
-
};
|
|
2840
2816
|
var updateAdCampaignStatus = (options) => {
|
|
2841
2817
|
return (options?.client ?? client).put({
|
|
2842
2818
|
...options,
|
|
@@ -2867,18 +2843,6 @@ var duplicateAdCampaign = (options) => {
|
|
|
2867
2843
|
url: "/v1/ads/campaigns/{campaignId}/duplicate"
|
|
2868
2844
|
});
|
|
2869
2845
|
};
|
|
2870
|
-
var duplicateAdSet = (options) => {
|
|
2871
|
-
return (options?.client ?? client).post({
|
|
2872
|
-
...options,
|
|
2873
|
-
url: "/v1/ads/ad-sets/{adSetId}/duplicate"
|
|
2874
|
-
});
|
|
2875
|
-
};
|
|
2876
|
-
var duplicateAd = (options) => {
|
|
2877
|
-
return (options?.client ?? client).post({
|
|
2878
|
-
...options,
|
|
2879
|
-
url: "/v1/ads/{adId}/duplicate"
|
|
2880
|
-
});
|
|
2881
|
-
};
|
|
2882
2846
|
var getAdSetDetails = (options) => {
|
|
2883
2847
|
return (options?.client ?? client).get({
|
|
2884
2848
|
...options,
|
|
@@ -3035,48 +2999,6 @@ var listAdStudies = (options) => {
|
|
|
3035
2999
|
url: "/v1/ads/studies"
|
|
3036
3000
|
});
|
|
3037
3001
|
};
|
|
3038
|
-
var listAdLabels = (options) => {
|
|
3039
|
-
return (options?.client ?? client).get({
|
|
3040
|
-
...options,
|
|
3041
|
-
url: "/v1/ads/labels"
|
|
3042
|
-
});
|
|
3043
|
-
};
|
|
3044
|
-
var listHighDemandPeriods = (options) => {
|
|
3045
|
-
return (options?.client ?? client).get({
|
|
3046
|
-
...options,
|
|
3047
|
-
url: "/v1/ads/high-demand-periods"
|
|
3048
|
-
});
|
|
3049
|
-
};
|
|
3050
|
-
var listAdCreatives = (options) => {
|
|
3051
|
-
return (options?.client ?? client).get({
|
|
3052
|
-
...options,
|
|
3053
|
-
url: "/v1/ads/creatives"
|
|
3054
|
-
});
|
|
3055
|
-
};
|
|
3056
|
-
var createAdCreative = (options) => {
|
|
3057
|
-
return (options?.client ?? client).post({
|
|
3058
|
-
...options,
|
|
3059
|
-
url: "/v1/ads/creatives"
|
|
3060
|
-
});
|
|
3061
|
-
};
|
|
3062
|
-
var getAdCreative = (options) => {
|
|
3063
|
-
return (options?.client ?? client).get({
|
|
3064
|
-
...options,
|
|
3065
|
-
url: "/v1/ads/creatives/{creativeId}"
|
|
3066
|
-
});
|
|
3067
|
-
};
|
|
3068
|
-
var updateAdCreative = (options) => {
|
|
3069
|
-
return (options?.client ?? client).put({
|
|
3070
|
-
...options,
|
|
3071
|
-
url: "/v1/ads/creatives/{creativeId}"
|
|
3072
|
-
});
|
|
3073
|
-
};
|
|
3074
|
-
var deleteAdCreative = (options) => {
|
|
3075
|
-
return (options?.client ?? client).delete({
|
|
3076
|
-
...options,
|
|
3077
|
-
url: "/v1/ads/creatives/{creativeId}"
|
|
3078
|
-
});
|
|
3079
|
-
};
|
|
3080
3002
|
var getAdAccountFinance = (options) => {
|
|
3081
3003
|
return (options?.client ?? client).get({
|
|
3082
3004
|
...options,
|
|
@@ -3167,12 +3089,6 @@ var uploadAdImage = (options) => {
|
|
|
3167
3089
|
url: "/v1/ads/images"
|
|
3168
3090
|
});
|
|
3169
3091
|
};
|
|
3170
|
-
var listAdImages = (options) => {
|
|
3171
|
-
return (options?.client ?? client).get({
|
|
3172
|
-
...options,
|
|
3173
|
-
url: "/v1/ads/images"
|
|
3174
|
-
});
|
|
3175
|
-
};
|
|
3176
3092
|
var searchAdInterests = (options) => {
|
|
3177
3093
|
return (options?.client ?? client).get({
|
|
3178
3094
|
...options,
|
|
@@ -3864,6 +3780,12 @@ var Zernio = class {
|
|
|
3864
3780
|
removeMessageReaction,
|
|
3865
3781
|
uploadMediaDirect
|
|
3866
3782
|
};
|
|
3783
|
+
/**
|
|
3784
|
+
* inbox API
|
|
3785
|
+
*/
|
|
3786
|
+
this.inbox = {
|
|
3787
|
+
getWhatsAppMedia
|
|
3788
|
+
};
|
|
3867
3789
|
/**
|
|
3868
3790
|
* accountsettings API
|
|
3869
3791
|
*/
|
|
@@ -4008,10 +3930,6 @@ var Zernio = class {
|
|
|
4008
3930
|
sendSms,
|
|
4009
3931
|
lookupSmsNumber,
|
|
4010
3932
|
listSmsOptOuts,
|
|
4011
|
-
createSmsSenderId,
|
|
4012
|
-
listSmsSenderIds,
|
|
4013
|
-
requestSmsSenderIdLimitIncrease,
|
|
4014
|
-
deleteSmsSenderId,
|
|
4015
3933
|
startSmsRegistration,
|
|
4016
3934
|
listSmsRegistrations,
|
|
4017
3935
|
deactivateSmsRegistration,
|
|
@@ -4193,7 +4111,6 @@ var Zernio = class {
|
|
|
4193
4111
|
*/
|
|
4194
4112
|
this.ads = {
|
|
4195
4113
|
listAds,
|
|
4196
|
-
duplicateAd,
|
|
4197
4114
|
getAd,
|
|
4198
4115
|
updateAd,
|
|
4199
4116
|
deleteAd,
|
|
@@ -4215,13 +4132,6 @@ var Zernio = class {
|
|
|
4215
4132
|
cancelRfReservation,
|
|
4216
4133
|
reserveRfPrediction,
|
|
4217
4134
|
listAdStudies,
|
|
4218
|
-
listAdLabels,
|
|
4219
|
-
listHighDemandPeriods,
|
|
4220
|
-
listAdCreatives,
|
|
4221
|
-
createAdCreative,
|
|
4222
|
-
getAdCreative,
|
|
4223
|
-
updateAdCreative,
|
|
4224
|
-
deleteAdCreative,
|
|
4225
4135
|
getAdAccountFinance,
|
|
4226
4136
|
listAdAccounts,
|
|
4227
4137
|
updateAdAccount,
|
|
@@ -4237,7 +4147,6 @@ var Zernio = class {
|
|
|
4237
4147
|
listFormLeads,
|
|
4238
4148
|
createTestLead,
|
|
4239
4149
|
uploadAdImage,
|
|
4240
|
-
listAdImages,
|
|
4241
4150
|
searchAdInterests,
|
|
4242
4151
|
searchAdTargeting,
|
|
4243
4152
|
estimateAdReach,
|
|
@@ -4266,13 +4175,11 @@ var Zernio = class {
|
|
|
4266
4175
|
*/
|
|
4267
4176
|
this.adcampaigns = {
|
|
4268
4177
|
listAdCampaigns,
|
|
4269
|
-
createAdCampaign,
|
|
4270
4178
|
updateAdCampaignStatus,
|
|
4271
4179
|
updateAdCampaign,
|
|
4272
4180
|
deleteAdCampaign,
|
|
4273
4181
|
bulkUpdateAdCampaignStatus,
|
|
4274
4182
|
duplicateAdCampaign,
|
|
4275
|
-
duplicateAdSet,
|
|
4276
4183
|
getAdSetDetails,
|
|
4277
4184
|
updateAdSet,
|
|
4278
4185
|
updateAdSetStatus,
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -39,8 +39,6 @@ import {
|
|
|
39
39
|
connectWhatsAppCredentials,
|
|
40
40
|
createAccountGroup,
|
|
41
41
|
createAdAudience,
|
|
42
|
-
createAdCampaign,
|
|
43
|
-
createAdCreative,
|
|
44
42
|
createAdInsightsReport,
|
|
45
43
|
createApiKey,
|
|
46
44
|
createBroadcast,
|
|
@@ -67,7 +65,6 @@ import {
|
|
|
67
65
|
createQueueSlot,
|
|
68
66
|
createRfPrediction,
|
|
69
67
|
createSequence,
|
|
70
|
-
createSmsSenderId,
|
|
71
68
|
createStandaloneAd,
|
|
72
69
|
createTestLead,
|
|
73
70
|
createTrackingTag,
|
|
@@ -90,7 +87,6 @@ import {
|
|
|
90
87
|
deleteAd,
|
|
91
88
|
deleteAdAudience,
|
|
92
89
|
deleteAdCampaign,
|
|
93
|
-
deleteAdCreative,
|
|
94
90
|
deleteApiKey,
|
|
95
91
|
deleteBroadcast,
|
|
96
92
|
deleteCommentAutomation,
|
|
@@ -112,7 +108,6 @@ import {
|
|
|
112
108
|
deleteProfile,
|
|
113
109
|
deleteQueueSlot,
|
|
114
110
|
deleteSequence,
|
|
115
|
-
deleteSmsSenderId,
|
|
116
111
|
deleteTelegramCommands,
|
|
117
112
|
deleteWebhookSettings,
|
|
118
113
|
deleteWhatsAppFlow,
|
|
@@ -127,9 +122,7 @@ import {
|
|
|
127
122
|
disableVoiceOnNumber,
|
|
128
123
|
disableWhatsAppCalling,
|
|
129
124
|
disableWhatsAppCallingLegacy,
|
|
130
|
-
duplicateAd,
|
|
131
125
|
duplicateAdCampaign,
|
|
132
|
-
duplicateAdSet,
|
|
133
126
|
duplicateWorkflow,
|
|
134
127
|
editDiscordGuildRole,
|
|
135
128
|
editInboxComment,
|
|
@@ -151,7 +144,6 @@ import {
|
|
|
151
144
|
getAdAnalytics,
|
|
152
145
|
getAdAudience,
|
|
153
146
|
getAdComments,
|
|
154
|
-
getAdCreative,
|
|
155
147
|
getAdInsightsReport,
|
|
156
148
|
getAdPreviews,
|
|
157
149
|
getAdSetDetails,
|
|
@@ -273,6 +265,7 @@ import {
|
|
|
273
265
|
getWhatsAppFlowPreview,
|
|
274
266
|
getWhatsAppGroupChat,
|
|
275
267
|
getWhatsAppLibraryTemplate,
|
|
268
|
+
getWhatsAppMedia,
|
|
276
269
|
getWhatsAppNumberInfo,
|
|
277
270
|
getWhatsAppNumberKycForm,
|
|
278
271
|
getWhatsAppNumberRemediation,
|
|
@@ -302,9 +295,6 @@ import {
|
|
|
302
295
|
listAdCampaigns,
|
|
303
296
|
listAdCatalogProductSets,
|
|
304
297
|
listAdCatalogs,
|
|
305
|
-
listAdCreatives,
|
|
306
|
-
listAdImages,
|
|
307
|
-
listAdLabels,
|
|
308
298
|
listAdStudies,
|
|
309
299
|
listAds,
|
|
310
300
|
listAdsBusinessCenters,
|
|
@@ -327,7 +317,6 @@ import {
|
|
|
327
317
|
listGoogleBusinessLocations,
|
|
328
318
|
listGoogleBusinessMedia,
|
|
329
319
|
listGoogleBusinessPlaceActions,
|
|
330
|
-
listHighDemandPeriods,
|
|
331
320
|
listInboxComments,
|
|
332
321
|
listInboxConversationAnalytics,
|
|
333
322
|
listInboxConversations,
|
|
@@ -349,7 +338,6 @@ import {
|
|
|
349
338
|
listSequences,
|
|
350
339
|
listSmsOptOuts,
|
|
351
340
|
listSmsRegistrations,
|
|
352
|
-
listSmsSenderIds,
|
|
353
341
|
listSnapchatProfiles,
|
|
354
342
|
listTrackingTagSharedAccounts,
|
|
355
343
|
listTrackingTags,
|
|
@@ -395,7 +383,6 @@ import {
|
|
|
395
383
|
replyToInboxPost,
|
|
396
384
|
replyToInboxReview,
|
|
397
385
|
replyToMention,
|
|
398
|
-
requestSmsSenderIdLimitIncrease,
|
|
399
386
|
resendSmsRegistrationOtp,
|
|
400
387
|
reserveRfPrediction,
|
|
401
388
|
restoreWorkflowVersion,
|
|
@@ -455,7 +442,6 @@ import {
|
|
|
455
442
|
updateAdAudience,
|
|
456
443
|
updateAdCampaign,
|
|
457
444
|
updateAdCampaignStatus,
|
|
458
|
-
updateAdCreative,
|
|
459
445
|
updateAdSet,
|
|
460
446
|
updateAdSetStatus,
|
|
461
447
|
updateAdStatus,
|
|
@@ -944,6 +930,13 @@ export class Zernio {
|
|
|
944
930
|
uploadMediaDirect: uploadMediaDirect,
|
|
945
931
|
};
|
|
946
932
|
|
|
933
|
+
/**
|
|
934
|
+
* inbox API
|
|
935
|
+
*/
|
|
936
|
+
inbox = {
|
|
937
|
+
getWhatsAppMedia: getWhatsAppMedia,
|
|
938
|
+
};
|
|
939
|
+
|
|
947
940
|
/**
|
|
948
941
|
* accountsettings API
|
|
949
942
|
*/
|
|
@@ -1097,10 +1090,6 @@ export class Zernio {
|
|
|
1097
1090
|
sendSms: sendSms,
|
|
1098
1091
|
lookupSmsNumber: lookupSmsNumber,
|
|
1099
1092
|
listSmsOptOuts: listSmsOptOuts,
|
|
1100
|
-
createSmsSenderId: createSmsSenderId,
|
|
1101
|
-
listSmsSenderIds: listSmsSenderIds,
|
|
1102
|
-
requestSmsSenderIdLimitIncrease: requestSmsSenderIdLimitIncrease,
|
|
1103
|
-
deleteSmsSenderId: deleteSmsSenderId,
|
|
1104
1093
|
startSmsRegistration: startSmsRegistration,
|
|
1105
1094
|
listSmsRegistrations: listSmsRegistrations,
|
|
1106
1095
|
deactivateSmsRegistration: deactivateSmsRegistration,
|
|
@@ -1294,7 +1283,6 @@ export class Zernio {
|
|
|
1294
1283
|
*/
|
|
1295
1284
|
ads = {
|
|
1296
1285
|
listAds: listAds,
|
|
1297
|
-
duplicateAd: duplicateAd,
|
|
1298
1286
|
getAd: getAd,
|
|
1299
1287
|
updateAd: updateAd,
|
|
1300
1288
|
deleteAd: deleteAd,
|
|
@@ -1316,13 +1304,6 @@ export class Zernio {
|
|
|
1316
1304
|
cancelRfReservation: cancelRfReservation,
|
|
1317
1305
|
reserveRfPrediction: reserveRfPrediction,
|
|
1318
1306
|
listAdStudies: listAdStudies,
|
|
1319
|
-
listAdLabels: listAdLabels,
|
|
1320
|
-
listHighDemandPeriods: listHighDemandPeriods,
|
|
1321
|
-
listAdCreatives: listAdCreatives,
|
|
1322
|
-
createAdCreative: createAdCreative,
|
|
1323
|
-
getAdCreative: getAdCreative,
|
|
1324
|
-
updateAdCreative: updateAdCreative,
|
|
1325
|
-
deleteAdCreative: deleteAdCreative,
|
|
1326
1307
|
getAdAccountFinance: getAdAccountFinance,
|
|
1327
1308
|
listAdAccounts: listAdAccounts,
|
|
1328
1309
|
updateAdAccount: updateAdAccount,
|
|
@@ -1338,7 +1319,6 @@ export class Zernio {
|
|
|
1338
1319
|
listFormLeads: listFormLeads,
|
|
1339
1320
|
createTestLead: createTestLead,
|
|
1340
1321
|
uploadAdImage: uploadAdImage,
|
|
1341
|
-
listAdImages: listAdImages,
|
|
1342
1322
|
searchAdInterests: searchAdInterests,
|
|
1343
1323
|
searchAdTargeting: searchAdTargeting,
|
|
1344
1324
|
estimateAdReach: estimateAdReach,
|
|
@@ -1368,13 +1348,11 @@ export class Zernio {
|
|
|
1368
1348
|
*/
|
|
1369
1349
|
adcampaigns = {
|
|
1370
1350
|
listAdCampaigns: listAdCampaigns,
|
|
1371
|
-
createAdCampaign: createAdCampaign,
|
|
1372
1351
|
updateAdCampaignStatus: updateAdCampaignStatus,
|
|
1373
1352
|
updateAdCampaign: updateAdCampaign,
|
|
1374
1353
|
deleteAdCampaign: deleteAdCampaign,
|
|
1375
1354
|
bulkUpdateAdCampaignStatus: bulkUpdateAdCampaignStatus,
|
|
1376
1355
|
duplicateAdCampaign: duplicateAdCampaign,
|
|
1377
|
-
duplicateAdSet: duplicateAdSet,
|
|
1378
1356
|
getAdSetDetails: getAdSetDetails,
|
|
1379
1357
|
updateAdSet: updateAdSet,
|
|
1380
1358
|
updateAdSetStatus: updateAdSetStatus,
|