@getlatedev/node 0.2.394 → 0.2.396
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 +19 -1
- package/dist/index.d.mts +500 -9
- package/dist/index.d.ts +500 -9
- package/dist/index.js +104 -1
- package/dist/index.mjs +104 -1
- package/package.json +1 -1
- package/src/client.ts +34 -0
- package/src/generated/sdk.gen.ts +216 -6
- package/src/generated/types.gen.ts +526 -9
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.396",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -2862,6 +2862,12 @@ var listAdCampaigns = (options) => {
|
|
|
2862
2862
|
url: "/v1/ads/campaigns"
|
|
2863
2863
|
});
|
|
2864
2864
|
};
|
|
2865
|
+
var createAdCampaign = (options) => {
|
|
2866
|
+
return (options?.client ?? client).post({
|
|
2867
|
+
...options,
|
|
2868
|
+
url: "/v1/ads/campaigns"
|
|
2869
|
+
});
|
|
2870
|
+
};
|
|
2865
2871
|
var updateAdCampaignStatus = (options) => {
|
|
2866
2872
|
return (options?.client ?? client).put({
|
|
2867
2873
|
...options,
|
|
@@ -2892,6 +2898,18 @@ var duplicateAdCampaign = (options) => {
|
|
|
2892
2898
|
url: "/v1/ads/campaigns/{campaignId}/duplicate"
|
|
2893
2899
|
});
|
|
2894
2900
|
};
|
|
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
|
+
};
|
|
2895
2913
|
var getAdSetDetails = (options) => {
|
|
2896
2914
|
return (options?.client ?? client).get({
|
|
2897
2915
|
...options,
|
|
@@ -3048,6 +3066,48 @@ var listAdStudies = (options) => {
|
|
|
3048
3066
|
url: "/v1/ads/studies"
|
|
3049
3067
|
});
|
|
3050
3068
|
};
|
|
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
|
+
};
|
|
3051
3111
|
var getAdAccountFinance = (options) => {
|
|
3052
3112
|
return (options?.client ?? client).get({
|
|
3053
3113
|
...options,
|
|
@@ -3138,6 +3198,12 @@ var uploadAdImage = (options) => {
|
|
|
3138
3198
|
url: "/v1/ads/images"
|
|
3139
3199
|
});
|
|
3140
3200
|
};
|
|
3201
|
+
var listAdImages = (options) => {
|
|
3202
|
+
return (options?.client ?? client).get({
|
|
3203
|
+
...options,
|
|
3204
|
+
url: "/v1/ads/images"
|
|
3205
|
+
});
|
|
3206
|
+
};
|
|
3141
3207
|
var searchAdInterests = (options) => {
|
|
3142
3208
|
return (options?.client ?? client).get({
|
|
3143
3209
|
...options,
|
|
@@ -3366,6 +3432,24 @@ var getTrackingTagStats = (options) => {
|
|
|
3366
3432
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/stats"
|
|
3367
3433
|
});
|
|
3368
3434
|
};
|
|
3435
|
+
var createVerification = (options) => {
|
|
3436
|
+
return (options?.client ?? client).post({
|
|
3437
|
+
...options,
|
|
3438
|
+
url: "/v1/verify/verifications"
|
|
3439
|
+
});
|
|
3440
|
+
};
|
|
3441
|
+
var getVerification = (options) => {
|
|
3442
|
+
return (options?.client ?? client).get({
|
|
3443
|
+
...options,
|
|
3444
|
+
url: "/v1/verify/verifications/{verificationId}"
|
|
3445
|
+
});
|
|
3446
|
+
};
|
|
3447
|
+
var checkVerification = (options) => {
|
|
3448
|
+
return (options?.client ?? client).post({
|
|
3449
|
+
...options,
|
|
3450
|
+
url: "/v1/verify/verifications/{verificationId}/check"
|
|
3451
|
+
});
|
|
3452
|
+
};
|
|
3369
3453
|
|
|
3370
3454
|
// src/errors.ts
|
|
3371
3455
|
var ZernioApiError = class _ZernioApiError extends Error {
|
|
@@ -4140,6 +4224,7 @@ var Zernio = class {
|
|
|
4140
4224
|
*/
|
|
4141
4225
|
this.ads = {
|
|
4142
4226
|
listAds,
|
|
4227
|
+
duplicateAd,
|
|
4143
4228
|
getAd,
|
|
4144
4229
|
updateAd,
|
|
4145
4230
|
deleteAd,
|
|
@@ -4161,6 +4246,13 @@ var Zernio = class {
|
|
|
4161
4246
|
cancelRfReservation,
|
|
4162
4247
|
reserveRfPrediction,
|
|
4163
4248
|
listAdStudies,
|
|
4249
|
+
listAdLabels,
|
|
4250
|
+
listHighDemandPeriods,
|
|
4251
|
+
listAdCreatives,
|
|
4252
|
+
createAdCreative,
|
|
4253
|
+
getAdCreative,
|
|
4254
|
+
updateAdCreative,
|
|
4255
|
+
deleteAdCreative,
|
|
4164
4256
|
getAdAccountFinance,
|
|
4165
4257
|
listAdAccounts,
|
|
4166
4258
|
updateAdAccount,
|
|
@@ -4176,6 +4268,7 @@ var Zernio = class {
|
|
|
4176
4268
|
listFormLeads,
|
|
4177
4269
|
createTestLead,
|
|
4178
4270
|
uploadAdImage,
|
|
4271
|
+
listAdImages,
|
|
4179
4272
|
searchAdInterests,
|
|
4180
4273
|
searchAdTargeting,
|
|
4181
4274
|
estimateAdReach,
|
|
@@ -4204,11 +4297,13 @@ var Zernio = class {
|
|
|
4204
4297
|
*/
|
|
4205
4298
|
this.adcampaigns = {
|
|
4206
4299
|
listAdCampaigns,
|
|
4300
|
+
createAdCampaign,
|
|
4207
4301
|
updateAdCampaignStatus,
|
|
4208
4302
|
updateAdCampaign,
|
|
4209
4303
|
deleteAdCampaign,
|
|
4210
4304
|
bulkUpdateAdCampaignStatus,
|
|
4211
4305
|
duplicateAdCampaign,
|
|
4306
|
+
duplicateAdSet,
|
|
4212
4307
|
getAdSetDetails,
|
|
4213
4308
|
updateAdSet,
|
|
4214
4309
|
updateAdSetStatus,
|
|
@@ -4239,6 +4334,14 @@ var Zernio = class {
|
|
|
4239
4334
|
removeTrackingTagSharedAccount,
|
|
4240
4335
|
getTrackingTagStats
|
|
4241
4336
|
};
|
|
4337
|
+
/**
|
|
4338
|
+
* verify API
|
|
4339
|
+
*/
|
|
4340
|
+
this.verify = {
|
|
4341
|
+
createVerification,
|
|
4342
|
+
getVerification,
|
|
4343
|
+
checkVerification
|
|
4344
|
+
};
|
|
4242
4345
|
const apiKey = options.apiKey ?? process.env["ZERNIO_API_KEY"] ?? process.env["LATE_API_KEY"];
|
|
4243
4346
|
if (!apiKey) {
|
|
4244
4347
|
throw new ZernioApiError(
|
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.396",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -2831,6 +2831,12 @@ var listAdCampaigns = (options) => {
|
|
|
2831
2831
|
url: "/v1/ads/campaigns"
|
|
2832
2832
|
});
|
|
2833
2833
|
};
|
|
2834
|
+
var createAdCampaign = (options) => {
|
|
2835
|
+
return (options?.client ?? client).post({
|
|
2836
|
+
...options,
|
|
2837
|
+
url: "/v1/ads/campaigns"
|
|
2838
|
+
});
|
|
2839
|
+
};
|
|
2834
2840
|
var updateAdCampaignStatus = (options) => {
|
|
2835
2841
|
return (options?.client ?? client).put({
|
|
2836
2842
|
...options,
|
|
@@ -2861,6 +2867,18 @@ var duplicateAdCampaign = (options) => {
|
|
|
2861
2867
|
url: "/v1/ads/campaigns/{campaignId}/duplicate"
|
|
2862
2868
|
});
|
|
2863
2869
|
};
|
|
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
|
+
};
|
|
2864
2882
|
var getAdSetDetails = (options) => {
|
|
2865
2883
|
return (options?.client ?? client).get({
|
|
2866
2884
|
...options,
|
|
@@ -3017,6 +3035,48 @@ var listAdStudies = (options) => {
|
|
|
3017
3035
|
url: "/v1/ads/studies"
|
|
3018
3036
|
});
|
|
3019
3037
|
};
|
|
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
|
+
};
|
|
3020
3080
|
var getAdAccountFinance = (options) => {
|
|
3021
3081
|
return (options?.client ?? client).get({
|
|
3022
3082
|
...options,
|
|
@@ -3107,6 +3167,12 @@ var uploadAdImage = (options) => {
|
|
|
3107
3167
|
url: "/v1/ads/images"
|
|
3108
3168
|
});
|
|
3109
3169
|
};
|
|
3170
|
+
var listAdImages = (options) => {
|
|
3171
|
+
return (options?.client ?? client).get({
|
|
3172
|
+
...options,
|
|
3173
|
+
url: "/v1/ads/images"
|
|
3174
|
+
});
|
|
3175
|
+
};
|
|
3110
3176
|
var searchAdInterests = (options) => {
|
|
3111
3177
|
return (options?.client ?? client).get({
|
|
3112
3178
|
...options,
|
|
@@ -3335,6 +3401,24 @@ var getTrackingTagStats = (options) => {
|
|
|
3335
3401
|
url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/stats"
|
|
3336
3402
|
});
|
|
3337
3403
|
};
|
|
3404
|
+
var createVerification = (options) => {
|
|
3405
|
+
return (options?.client ?? client).post({
|
|
3406
|
+
...options,
|
|
3407
|
+
url: "/v1/verify/verifications"
|
|
3408
|
+
});
|
|
3409
|
+
};
|
|
3410
|
+
var getVerification = (options) => {
|
|
3411
|
+
return (options?.client ?? client).get({
|
|
3412
|
+
...options,
|
|
3413
|
+
url: "/v1/verify/verifications/{verificationId}"
|
|
3414
|
+
});
|
|
3415
|
+
};
|
|
3416
|
+
var checkVerification = (options) => {
|
|
3417
|
+
return (options?.client ?? client).post({
|
|
3418
|
+
...options,
|
|
3419
|
+
url: "/v1/verify/verifications/{verificationId}/check"
|
|
3420
|
+
});
|
|
3421
|
+
};
|
|
3338
3422
|
|
|
3339
3423
|
// src/errors.ts
|
|
3340
3424
|
var ZernioApiError = class _ZernioApiError extends Error {
|
|
@@ -4109,6 +4193,7 @@ var Zernio = class {
|
|
|
4109
4193
|
*/
|
|
4110
4194
|
this.ads = {
|
|
4111
4195
|
listAds,
|
|
4196
|
+
duplicateAd,
|
|
4112
4197
|
getAd,
|
|
4113
4198
|
updateAd,
|
|
4114
4199
|
deleteAd,
|
|
@@ -4130,6 +4215,13 @@ var Zernio = class {
|
|
|
4130
4215
|
cancelRfReservation,
|
|
4131
4216
|
reserveRfPrediction,
|
|
4132
4217
|
listAdStudies,
|
|
4218
|
+
listAdLabels,
|
|
4219
|
+
listHighDemandPeriods,
|
|
4220
|
+
listAdCreatives,
|
|
4221
|
+
createAdCreative,
|
|
4222
|
+
getAdCreative,
|
|
4223
|
+
updateAdCreative,
|
|
4224
|
+
deleteAdCreative,
|
|
4133
4225
|
getAdAccountFinance,
|
|
4134
4226
|
listAdAccounts,
|
|
4135
4227
|
updateAdAccount,
|
|
@@ -4145,6 +4237,7 @@ var Zernio = class {
|
|
|
4145
4237
|
listFormLeads,
|
|
4146
4238
|
createTestLead,
|
|
4147
4239
|
uploadAdImage,
|
|
4240
|
+
listAdImages,
|
|
4148
4241
|
searchAdInterests,
|
|
4149
4242
|
searchAdTargeting,
|
|
4150
4243
|
estimateAdReach,
|
|
@@ -4173,11 +4266,13 @@ var Zernio = class {
|
|
|
4173
4266
|
*/
|
|
4174
4267
|
this.adcampaigns = {
|
|
4175
4268
|
listAdCampaigns,
|
|
4269
|
+
createAdCampaign,
|
|
4176
4270
|
updateAdCampaignStatus,
|
|
4177
4271
|
updateAdCampaign,
|
|
4178
4272
|
deleteAdCampaign,
|
|
4179
4273
|
bulkUpdateAdCampaignStatus,
|
|
4180
4274
|
duplicateAdCampaign,
|
|
4275
|
+
duplicateAdSet,
|
|
4181
4276
|
getAdSetDetails,
|
|
4182
4277
|
updateAdSet,
|
|
4183
4278
|
updateAdSetStatus,
|
|
@@ -4208,6 +4303,14 @@ var Zernio = class {
|
|
|
4208
4303
|
removeTrackingTagSharedAccount,
|
|
4209
4304
|
getTrackingTagStats
|
|
4210
4305
|
};
|
|
4306
|
+
/**
|
|
4307
|
+
* verify API
|
|
4308
|
+
*/
|
|
4309
|
+
this.verify = {
|
|
4310
|
+
createVerification,
|
|
4311
|
+
getVerification,
|
|
4312
|
+
checkVerification
|
|
4313
|
+
};
|
|
4211
4314
|
const apiKey = options.apiKey ?? process.env["ZERNIO_API_KEY"] ?? process.env["LATE_API_KEY"];
|
|
4212
4315
|
if (!apiKey) {
|
|
4213
4316
|
throw new ZernioApiError(
|
package/package.json
CHANGED
package/src/client.ts
CHANGED
|
@@ -27,6 +27,7 @@ import {
|
|
|
27
27
|
cancelRfReservation,
|
|
28
28
|
checkPhoneNumberAvailability,
|
|
29
29
|
checkPhoneNumberPortability,
|
|
30
|
+
checkVerification,
|
|
30
31
|
checkWhatsAppNumberAvailability,
|
|
31
32
|
clearContactFieldValue,
|
|
32
33
|
completeGoogleBusinessVerification,
|
|
@@ -38,6 +39,8 @@ import {
|
|
|
38
39
|
connectWhatsAppCredentials,
|
|
39
40
|
createAccountGroup,
|
|
40
41
|
createAdAudience,
|
|
42
|
+
createAdCampaign,
|
|
43
|
+
createAdCreative,
|
|
41
44
|
createAdInsightsReport,
|
|
42
45
|
createApiKey,
|
|
43
46
|
createBroadcast,
|
|
@@ -68,6 +71,7 @@ import {
|
|
|
68
71
|
createStandaloneAd,
|
|
69
72
|
createTestLead,
|
|
70
73
|
createTrackingTag,
|
|
74
|
+
createVerification,
|
|
71
75
|
createVoiceCall,
|
|
72
76
|
createVoiceWebSession,
|
|
73
77
|
createWebhookSettings,
|
|
@@ -86,6 +90,7 @@ import {
|
|
|
86
90
|
deleteAd,
|
|
87
91
|
deleteAdAudience,
|
|
88
92
|
deleteAdCampaign,
|
|
93
|
+
deleteAdCreative,
|
|
89
94
|
deleteApiKey,
|
|
90
95
|
deleteBroadcast,
|
|
91
96
|
deleteCommentAutomation,
|
|
@@ -122,7 +127,9 @@ import {
|
|
|
122
127
|
disableVoiceOnNumber,
|
|
123
128
|
disableWhatsAppCalling,
|
|
124
129
|
disableWhatsAppCallingLegacy,
|
|
130
|
+
duplicateAd,
|
|
125
131
|
duplicateAdCampaign,
|
|
132
|
+
duplicateAdSet,
|
|
126
133
|
duplicateWorkflow,
|
|
127
134
|
editDiscordGuildRole,
|
|
128
135
|
editInboxComment,
|
|
@@ -144,6 +151,7 @@ import {
|
|
|
144
151
|
getAdAnalytics,
|
|
145
152
|
getAdAudience,
|
|
146
153
|
getAdComments,
|
|
154
|
+
getAdCreative,
|
|
147
155
|
getAdInsightsReport,
|
|
148
156
|
getAdPreviews,
|
|
149
157
|
getAdSetDetails,
|
|
@@ -243,6 +251,7 @@ import {
|
|
|
243
251
|
getUsage,
|
|
244
252
|
getUsageStats,
|
|
245
253
|
getUser,
|
|
254
|
+
getVerification,
|
|
246
255
|
getVoiceCall,
|
|
247
256
|
getVoiceCallEstimate,
|
|
248
257
|
getVoiceCallRecording,
|
|
@@ -293,6 +302,9 @@ import {
|
|
|
293
302
|
listAdCampaigns,
|
|
294
303
|
listAdCatalogProductSets,
|
|
295
304
|
listAdCatalogs,
|
|
305
|
+
listAdCreatives,
|
|
306
|
+
listAdImages,
|
|
307
|
+
listAdLabels,
|
|
296
308
|
listAdStudies,
|
|
297
309
|
listAds,
|
|
298
310
|
listAdsBusinessCenters,
|
|
@@ -315,6 +327,7 @@ import {
|
|
|
315
327
|
listGoogleBusinessLocations,
|
|
316
328
|
listGoogleBusinessMedia,
|
|
317
329
|
listGoogleBusinessPlaceActions,
|
|
330
|
+
listHighDemandPeriods,
|
|
318
331
|
listInboxComments,
|
|
319
332
|
listInboxConversationAnalytics,
|
|
320
333
|
listInboxConversations,
|
|
@@ -442,6 +455,7 @@ import {
|
|
|
442
455
|
updateAdAudience,
|
|
443
456
|
updateAdCampaign,
|
|
444
457
|
updateAdCampaignStatus,
|
|
458
|
+
updateAdCreative,
|
|
445
459
|
updateAdSet,
|
|
446
460
|
updateAdSetStatus,
|
|
447
461
|
updateAdStatus,
|
|
@@ -1280,6 +1294,7 @@ export class Zernio {
|
|
|
1280
1294
|
*/
|
|
1281
1295
|
ads = {
|
|
1282
1296
|
listAds: listAds,
|
|
1297
|
+
duplicateAd: duplicateAd,
|
|
1283
1298
|
getAd: getAd,
|
|
1284
1299
|
updateAd: updateAd,
|
|
1285
1300
|
deleteAd: deleteAd,
|
|
@@ -1301,6 +1316,13 @@ export class Zernio {
|
|
|
1301
1316
|
cancelRfReservation: cancelRfReservation,
|
|
1302
1317
|
reserveRfPrediction: reserveRfPrediction,
|
|
1303
1318
|
listAdStudies: listAdStudies,
|
|
1319
|
+
listAdLabels: listAdLabels,
|
|
1320
|
+
listHighDemandPeriods: listHighDemandPeriods,
|
|
1321
|
+
listAdCreatives: listAdCreatives,
|
|
1322
|
+
createAdCreative: createAdCreative,
|
|
1323
|
+
getAdCreative: getAdCreative,
|
|
1324
|
+
updateAdCreative: updateAdCreative,
|
|
1325
|
+
deleteAdCreative: deleteAdCreative,
|
|
1304
1326
|
getAdAccountFinance: getAdAccountFinance,
|
|
1305
1327
|
listAdAccounts: listAdAccounts,
|
|
1306
1328
|
updateAdAccount: updateAdAccount,
|
|
@@ -1316,6 +1338,7 @@ export class Zernio {
|
|
|
1316
1338
|
listFormLeads: listFormLeads,
|
|
1317
1339
|
createTestLead: createTestLead,
|
|
1318
1340
|
uploadAdImage: uploadAdImage,
|
|
1341
|
+
listAdImages: listAdImages,
|
|
1319
1342
|
searchAdInterests: searchAdInterests,
|
|
1320
1343
|
searchAdTargeting: searchAdTargeting,
|
|
1321
1344
|
estimateAdReach: estimateAdReach,
|
|
@@ -1345,11 +1368,13 @@ export class Zernio {
|
|
|
1345
1368
|
*/
|
|
1346
1369
|
adcampaigns = {
|
|
1347
1370
|
listAdCampaigns: listAdCampaigns,
|
|
1371
|
+
createAdCampaign: createAdCampaign,
|
|
1348
1372
|
updateAdCampaignStatus: updateAdCampaignStatus,
|
|
1349
1373
|
updateAdCampaign: updateAdCampaign,
|
|
1350
1374
|
deleteAdCampaign: deleteAdCampaign,
|
|
1351
1375
|
bulkUpdateAdCampaignStatus: bulkUpdateAdCampaignStatus,
|
|
1352
1376
|
duplicateAdCampaign: duplicateAdCampaign,
|
|
1377
|
+
duplicateAdSet: duplicateAdSet,
|
|
1353
1378
|
getAdSetDetails: getAdSetDetails,
|
|
1354
1379
|
updateAdSet: updateAdSet,
|
|
1355
1380
|
updateAdSetStatus: updateAdSetStatus,
|
|
@@ -1383,6 +1408,15 @@ export class Zernio {
|
|
|
1383
1408
|
getTrackingTagStats: getTrackingTagStats,
|
|
1384
1409
|
};
|
|
1385
1410
|
|
|
1411
|
+
/**
|
|
1412
|
+
* verify API
|
|
1413
|
+
*/
|
|
1414
|
+
verify = {
|
|
1415
|
+
createVerification: createVerification,
|
|
1416
|
+
getVerification: getVerification,
|
|
1417
|
+
checkVerification: checkVerification,
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1386
1420
|
/**
|
|
1387
1421
|
* Create a new Zernio API client.
|
|
1388
1422
|
*
|