@getlatedev/node 0.2.395 → 0.2.397

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/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.395",
39
+ version: "0.2.397",
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,
@@ -3432,6 +3348,24 @@ var getTrackingTagStats = (options) => {
3432
3348
  url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/stats"
3433
3349
  });
3434
3350
  };
3351
+ var createVerification = (options) => {
3352
+ return (options?.client ?? client).post({
3353
+ ...options,
3354
+ url: "/v1/verify/verifications"
3355
+ });
3356
+ };
3357
+ var getVerification = (options) => {
3358
+ return (options?.client ?? client).get({
3359
+ ...options,
3360
+ url: "/v1/verify/verifications/{verificationId}"
3361
+ });
3362
+ };
3363
+ var checkVerification = (options) => {
3364
+ return (options?.client ?? client).post({
3365
+ ...options,
3366
+ url: "/v1/verify/verifications/{verificationId}/check"
3367
+ });
3368
+ };
3435
3369
 
3436
3370
  // src/errors.ts
3437
3371
  var ZernioApiError = class _ZernioApiError extends Error {
@@ -3877,6 +3811,12 @@ var Zernio = class {
3877
3811
  removeMessageReaction,
3878
3812
  uploadMediaDirect
3879
3813
  };
3814
+ /**
3815
+ * inbox API
3816
+ */
3817
+ this.inbox = {
3818
+ getWhatsAppMedia
3819
+ };
3880
3820
  /**
3881
3821
  * accountsettings API
3882
3822
  */
@@ -4021,10 +3961,6 @@ var Zernio = class {
4021
3961
  sendSms,
4022
3962
  lookupSmsNumber,
4023
3963
  listSmsOptOuts,
4024
- createSmsSenderId,
4025
- listSmsSenderIds,
4026
- requestSmsSenderIdLimitIncrease,
4027
- deleteSmsSenderId,
4028
3964
  startSmsRegistration,
4029
3965
  listSmsRegistrations,
4030
3966
  deactivateSmsRegistration,
@@ -4206,7 +4142,6 @@ var Zernio = class {
4206
4142
  */
4207
4143
  this.ads = {
4208
4144
  listAds,
4209
- duplicateAd,
4210
4145
  getAd,
4211
4146
  updateAd,
4212
4147
  deleteAd,
@@ -4228,13 +4163,6 @@ var Zernio = class {
4228
4163
  cancelRfReservation,
4229
4164
  reserveRfPrediction,
4230
4165
  listAdStudies,
4231
- listAdLabels,
4232
- listHighDemandPeriods,
4233
- listAdCreatives,
4234
- createAdCreative,
4235
- getAdCreative,
4236
- updateAdCreative,
4237
- deleteAdCreative,
4238
4166
  getAdAccountFinance,
4239
4167
  listAdAccounts,
4240
4168
  updateAdAccount,
@@ -4250,7 +4178,6 @@ var Zernio = class {
4250
4178
  listFormLeads,
4251
4179
  createTestLead,
4252
4180
  uploadAdImage,
4253
- listAdImages,
4254
4181
  searchAdInterests,
4255
4182
  searchAdTargeting,
4256
4183
  estimateAdReach,
@@ -4279,13 +4206,11 @@ var Zernio = class {
4279
4206
  */
4280
4207
  this.adcampaigns = {
4281
4208
  listAdCampaigns,
4282
- createAdCampaign,
4283
4209
  updateAdCampaignStatus,
4284
4210
  updateAdCampaign,
4285
4211
  deleteAdCampaign,
4286
4212
  bulkUpdateAdCampaignStatus,
4287
4213
  duplicateAdCampaign,
4288
- duplicateAdSet,
4289
4214
  getAdSetDetails,
4290
4215
  updateAdSet,
4291
4216
  updateAdSetStatus,
@@ -4316,6 +4241,14 @@ var Zernio = class {
4316
4241
  removeTrackingTagSharedAccount,
4317
4242
  getTrackingTagStats
4318
4243
  };
4244
+ /**
4245
+ * verify API
4246
+ */
4247
+ this.verify = {
4248
+ createVerification,
4249
+ getVerification,
4250
+ checkVerification
4251
+ };
4319
4252
  const apiKey = options.apiKey ?? process.env["ZERNIO_API_KEY"] ?? process.env["LATE_API_KEY"];
4320
4253
  if (!apiKey) {
4321
4254
  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.395",
8
+ version: "0.2.397",
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,
@@ -3401,6 +3317,24 @@ var getTrackingTagStats = (options) => {
3401
3317
  url: "/v1/accounts/{accountId}/tracking-tags/{tagId}/stats"
3402
3318
  });
3403
3319
  };
3320
+ var createVerification = (options) => {
3321
+ return (options?.client ?? client).post({
3322
+ ...options,
3323
+ url: "/v1/verify/verifications"
3324
+ });
3325
+ };
3326
+ var getVerification = (options) => {
3327
+ return (options?.client ?? client).get({
3328
+ ...options,
3329
+ url: "/v1/verify/verifications/{verificationId}"
3330
+ });
3331
+ };
3332
+ var checkVerification = (options) => {
3333
+ return (options?.client ?? client).post({
3334
+ ...options,
3335
+ url: "/v1/verify/verifications/{verificationId}/check"
3336
+ });
3337
+ };
3404
3338
 
3405
3339
  // src/errors.ts
3406
3340
  var ZernioApiError = class _ZernioApiError extends Error {
@@ -3846,6 +3780,12 @@ var Zernio = class {
3846
3780
  removeMessageReaction,
3847
3781
  uploadMediaDirect
3848
3782
  };
3783
+ /**
3784
+ * inbox API
3785
+ */
3786
+ this.inbox = {
3787
+ getWhatsAppMedia
3788
+ };
3849
3789
  /**
3850
3790
  * accountsettings API
3851
3791
  */
@@ -3990,10 +3930,6 @@ var Zernio = class {
3990
3930
  sendSms,
3991
3931
  lookupSmsNumber,
3992
3932
  listSmsOptOuts,
3993
- createSmsSenderId,
3994
- listSmsSenderIds,
3995
- requestSmsSenderIdLimitIncrease,
3996
- deleteSmsSenderId,
3997
3933
  startSmsRegistration,
3998
3934
  listSmsRegistrations,
3999
3935
  deactivateSmsRegistration,
@@ -4175,7 +4111,6 @@ var Zernio = class {
4175
4111
  */
4176
4112
  this.ads = {
4177
4113
  listAds,
4178
- duplicateAd,
4179
4114
  getAd,
4180
4115
  updateAd,
4181
4116
  deleteAd,
@@ -4197,13 +4132,6 @@ var Zernio = class {
4197
4132
  cancelRfReservation,
4198
4133
  reserveRfPrediction,
4199
4134
  listAdStudies,
4200
- listAdLabels,
4201
- listHighDemandPeriods,
4202
- listAdCreatives,
4203
- createAdCreative,
4204
- getAdCreative,
4205
- updateAdCreative,
4206
- deleteAdCreative,
4207
4135
  getAdAccountFinance,
4208
4136
  listAdAccounts,
4209
4137
  updateAdAccount,
@@ -4219,7 +4147,6 @@ var Zernio = class {
4219
4147
  listFormLeads,
4220
4148
  createTestLead,
4221
4149
  uploadAdImage,
4222
- listAdImages,
4223
4150
  searchAdInterests,
4224
4151
  searchAdTargeting,
4225
4152
  estimateAdReach,
@@ -4248,13 +4175,11 @@ var Zernio = class {
4248
4175
  */
4249
4176
  this.adcampaigns = {
4250
4177
  listAdCampaigns,
4251
- createAdCampaign,
4252
4178
  updateAdCampaignStatus,
4253
4179
  updateAdCampaign,
4254
4180
  deleteAdCampaign,
4255
4181
  bulkUpdateAdCampaignStatus,
4256
4182
  duplicateAdCampaign,
4257
- duplicateAdSet,
4258
4183
  getAdSetDetails,
4259
4184
  updateAdSet,
4260
4185
  updateAdSetStatus,
@@ -4285,6 +4210,14 @@ var Zernio = class {
4285
4210
  removeTrackingTagSharedAccount,
4286
4211
  getTrackingTagStats
4287
4212
  };
4213
+ /**
4214
+ * verify API
4215
+ */
4216
+ this.verify = {
4217
+ createVerification,
4218
+ getVerification,
4219
+ checkVerification
4220
+ };
4288
4221
  const apiKey = options.apiKey ?? process.env["ZERNIO_API_KEY"] ?? process.env["LATE_API_KEY"];
4289
4222
  if (!apiKey) {
4290
4223
  throw new ZernioApiError(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getlatedev/node",
3
- "version": "0.2.395",
3
+ "version": "0.2.397",
4
4
  "description": "The official Node.js library for the Zernio API",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.mjs",
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,8 +39,6 @@ import {
38
39
  connectWhatsAppCredentials,
39
40
  createAccountGroup,
40
41
  createAdAudience,
41
- createAdCampaign,
42
- createAdCreative,
43
42
  createAdInsightsReport,
44
43
  createApiKey,
45
44
  createBroadcast,
@@ -66,10 +65,10 @@ import {
66
65
  createQueueSlot,
67
66
  createRfPrediction,
68
67
  createSequence,
69
- createSmsSenderId,
70
68
  createStandaloneAd,
71
69
  createTestLead,
72
70
  createTrackingTag,
71
+ createVerification,
73
72
  createVoiceCall,
74
73
  createVoiceWebSession,
75
74
  createWebhookSettings,
@@ -88,7 +87,6 @@ import {
88
87
  deleteAd,
89
88
  deleteAdAudience,
90
89
  deleteAdCampaign,
91
- deleteAdCreative,
92
90
  deleteApiKey,
93
91
  deleteBroadcast,
94
92
  deleteCommentAutomation,
@@ -110,7 +108,6 @@ import {
110
108
  deleteProfile,
111
109
  deleteQueueSlot,
112
110
  deleteSequence,
113
- deleteSmsSenderId,
114
111
  deleteTelegramCommands,
115
112
  deleteWebhookSettings,
116
113
  deleteWhatsAppFlow,
@@ -125,9 +122,7 @@ import {
125
122
  disableVoiceOnNumber,
126
123
  disableWhatsAppCalling,
127
124
  disableWhatsAppCallingLegacy,
128
- duplicateAd,
129
125
  duplicateAdCampaign,
130
- duplicateAdSet,
131
126
  duplicateWorkflow,
132
127
  editDiscordGuildRole,
133
128
  editInboxComment,
@@ -149,7 +144,6 @@ import {
149
144
  getAdAnalytics,
150
145
  getAdAudience,
151
146
  getAdComments,
152
- getAdCreative,
153
147
  getAdInsightsReport,
154
148
  getAdPreviews,
155
149
  getAdSetDetails,
@@ -249,6 +243,7 @@ import {
249
243
  getUsage,
250
244
  getUsageStats,
251
245
  getUser,
246
+ getVerification,
252
247
  getVoiceCall,
253
248
  getVoiceCallEstimate,
254
249
  getVoiceCallRecording,
@@ -270,6 +265,7 @@ import {
270
265
  getWhatsAppFlowPreview,
271
266
  getWhatsAppGroupChat,
272
267
  getWhatsAppLibraryTemplate,
268
+ getWhatsAppMedia,
273
269
  getWhatsAppNumberInfo,
274
270
  getWhatsAppNumberKycForm,
275
271
  getWhatsAppNumberRemediation,
@@ -299,9 +295,6 @@ import {
299
295
  listAdCampaigns,
300
296
  listAdCatalogProductSets,
301
297
  listAdCatalogs,
302
- listAdCreatives,
303
- listAdImages,
304
- listAdLabels,
305
298
  listAdStudies,
306
299
  listAds,
307
300
  listAdsBusinessCenters,
@@ -324,7 +317,6 @@ import {
324
317
  listGoogleBusinessLocations,
325
318
  listGoogleBusinessMedia,
326
319
  listGoogleBusinessPlaceActions,
327
- listHighDemandPeriods,
328
320
  listInboxComments,
329
321
  listInboxConversationAnalytics,
330
322
  listInboxConversations,
@@ -346,7 +338,6 @@ import {
346
338
  listSequences,
347
339
  listSmsOptOuts,
348
340
  listSmsRegistrations,
349
- listSmsSenderIds,
350
341
  listSnapchatProfiles,
351
342
  listTrackingTagSharedAccounts,
352
343
  listTrackingTags,
@@ -392,7 +383,6 @@ import {
392
383
  replyToInboxPost,
393
384
  replyToInboxReview,
394
385
  replyToMention,
395
- requestSmsSenderIdLimitIncrease,
396
386
  resendSmsRegistrationOtp,
397
387
  reserveRfPrediction,
398
388
  restoreWorkflowVersion,
@@ -452,7 +442,6 @@ import {
452
442
  updateAdAudience,
453
443
  updateAdCampaign,
454
444
  updateAdCampaignStatus,
455
- updateAdCreative,
456
445
  updateAdSet,
457
446
  updateAdSetStatus,
458
447
  updateAdStatus,
@@ -941,6 +930,13 @@ export class Zernio {
941
930
  uploadMediaDirect: uploadMediaDirect,
942
931
  };
943
932
 
933
+ /**
934
+ * inbox API
935
+ */
936
+ inbox = {
937
+ getWhatsAppMedia: getWhatsAppMedia,
938
+ };
939
+
944
940
  /**
945
941
  * accountsettings API
946
942
  */
@@ -1094,10 +1090,6 @@ export class Zernio {
1094
1090
  sendSms: sendSms,
1095
1091
  lookupSmsNumber: lookupSmsNumber,
1096
1092
  listSmsOptOuts: listSmsOptOuts,
1097
- createSmsSenderId: createSmsSenderId,
1098
- listSmsSenderIds: listSmsSenderIds,
1099
- requestSmsSenderIdLimitIncrease: requestSmsSenderIdLimitIncrease,
1100
- deleteSmsSenderId: deleteSmsSenderId,
1101
1093
  startSmsRegistration: startSmsRegistration,
1102
1094
  listSmsRegistrations: listSmsRegistrations,
1103
1095
  deactivateSmsRegistration: deactivateSmsRegistration,
@@ -1291,7 +1283,6 @@ export class Zernio {
1291
1283
  */
1292
1284
  ads = {
1293
1285
  listAds: listAds,
1294
- duplicateAd: duplicateAd,
1295
1286
  getAd: getAd,
1296
1287
  updateAd: updateAd,
1297
1288
  deleteAd: deleteAd,
@@ -1313,13 +1304,6 @@ export class Zernio {
1313
1304
  cancelRfReservation: cancelRfReservation,
1314
1305
  reserveRfPrediction: reserveRfPrediction,
1315
1306
  listAdStudies: listAdStudies,
1316
- listAdLabels: listAdLabels,
1317
- listHighDemandPeriods: listHighDemandPeriods,
1318
- listAdCreatives: listAdCreatives,
1319
- createAdCreative: createAdCreative,
1320
- getAdCreative: getAdCreative,
1321
- updateAdCreative: updateAdCreative,
1322
- deleteAdCreative: deleteAdCreative,
1323
1307
  getAdAccountFinance: getAdAccountFinance,
1324
1308
  listAdAccounts: listAdAccounts,
1325
1309
  updateAdAccount: updateAdAccount,
@@ -1335,7 +1319,6 @@ export class Zernio {
1335
1319
  listFormLeads: listFormLeads,
1336
1320
  createTestLead: createTestLead,
1337
1321
  uploadAdImage: uploadAdImage,
1338
- listAdImages: listAdImages,
1339
1322
  searchAdInterests: searchAdInterests,
1340
1323
  searchAdTargeting: searchAdTargeting,
1341
1324
  estimateAdReach: estimateAdReach,
@@ -1365,13 +1348,11 @@ export class Zernio {
1365
1348
  */
1366
1349
  adcampaigns = {
1367
1350
  listAdCampaigns: listAdCampaigns,
1368
- createAdCampaign: createAdCampaign,
1369
1351
  updateAdCampaignStatus: updateAdCampaignStatus,
1370
1352
  updateAdCampaign: updateAdCampaign,
1371
1353
  deleteAdCampaign: deleteAdCampaign,
1372
1354
  bulkUpdateAdCampaignStatus: bulkUpdateAdCampaignStatus,
1373
1355
  duplicateAdCampaign: duplicateAdCampaign,
1374
- duplicateAdSet: duplicateAdSet,
1375
1356
  getAdSetDetails: getAdSetDetails,
1376
1357
  updateAdSet: updateAdSet,
1377
1358
  updateAdSetStatus: updateAdSetStatus,
@@ -1405,6 +1386,15 @@ export class Zernio {
1405
1386
  getTrackingTagStats: getTrackingTagStats,
1406
1387
  };
1407
1388
 
1389
+ /**
1390
+ * verify API
1391
+ */
1392
+ verify = {
1393
+ createVerification: createVerification,
1394
+ getVerification: getVerification,
1395
+ checkVerification: checkVerification,
1396
+ };
1397
+
1408
1398
  /**
1409
1399
  * Create a new Zernio API client.
1410
1400
  *