@zernio/node 0.2.816 → 0.2.818

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: "@zernio/node",
39
- version: "0.2.816",
39
+ version: "0.2.818",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -2319,6 +2319,36 @@ var getWhatsAppLibraryTemplate = (options) => {
2319
2319
  url: "/v1/whatsapp/template-library"
2320
2320
  });
2321
2321
  };
2322
+ var listWhatsAppCatalogs = (options) => {
2323
+ return (options?.client ?? client).get({
2324
+ ...options,
2325
+ url: "/v1/whatsapp/catalogs"
2326
+ });
2327
+ };
2328
+ var linkWhatsAppCatalog = (options) => {
2329
+ return (options?.client ?? client).post({
2330
+ ...options,
2331
+ url: "/v1/whatsapp/catalogs"
2332
+ });
2333
+ };
2334
+ var unlinkWhatsAppCatalog = (options) => {
2335
+ return (options?.client ?? client).delete({
2336
+ ...options,
2337
+ url: "/v1/whatsapp/catalogs"
2338
+ });
2339
+ };
2340
+ var getWhatsAppCommerceSettings = (options) => {
2341
+ return (options?.client ?? client).get({
2342
+ ...options,
2343
+ url: "/v1/whatsapp/commerce-settings"
2344
+ });
2345
+ };
2346
+ var updateWhatsAppCommerceSettings = (options) => {
2347
+ return (options?.client ?? client).put({
2348
+ ...options,
2349
+ url: "/v1/whatsapp/commerce-settings"
2350
+ });
2351
+ };
2322
2352
  var getWhatsAppBusinessProfile = (options) => {
2323
2353
  return (options?.client ?? client).get({
2324
2354
  ...options,
@@ -4105,12 +4135,114 @@ var listAdCatalogs = (options) => {
4105
4135
  url: "/v1/ads/catalogs"
4106
4136
  });
4107
4137
  };
4138
+ var createAdCatalog = (options) => {
4139
+ return (options?.client ?? client).post({
4140
+ ...options,
4141
+ url: "/v1/ads/catalogs"
4142
+ });
4143
+ };
4144
+ var getAdCatalog = (options) => {
4145
+ return (options?.client ?? client).get({
4146
+ ...options,
4147
+ url: "/v1/ads/catalogs/{catalogId}"
4148
+ });
4149
+ };
4150
+ var deleteAdCatalog = (options) => {
4151
+ return (options?.client ?? client).delete({
4152
+ ...options,
4153
+ url: "/v1/ads/catalogs/{catalogId}"
4154
+ });
4155
+ };
4156
+ var listAdCatalogProducts = (options) => {
4157
+ return (options?.client ?? client).get({
4158
+ ...options,
4159
+ url: "/v1/ads/catalogs/{catalogId}/products"
4160
+ });
4161
+ };
4162
+ var createAdCatalogProduct = (options) => {
4163
+ return (options?.client ?? client).post({
4164
+ ...options,
4165
+ url: "/v1/ads/catalogs/{catalogId}/products"
4166
+ });
4167
+ };
4168
+ var batchAdCatalogProducts = (options) => {
4169
+ return (options?.client ?? client).post({
4170
+ ...options,
4171
+ url: "/v1/ads/catalogs/{catalogId}/products/batch"
4172
+ });
4173
+ };
4174
+ var getAdCatalogBatch = (options) => {
4175
+ return (options?.client ?? client).get({
4176
+ ...options,
4177
+ url: "/v1/ads/catalogs/{catalogId}/batches/{handle}"
4178
+ });
4179
+ };
4180
+ var getAdCatalogProduct = (options) => {
4181
+ return (options?.client ?? client).get({
4182
+ ...options,
4183
+ url: "/v1/ads/catalogs/{catalogId}/products/{productId}"
4184
+ });
4185
+ };
4186
+ var updateAdCatalogProduct = (options) => {
4187
+ return (options?.client ?? client).put({
4188
+ ...options,
4189
+ url: "/v1/ads/catalogs/{catalogId}/products/{productId}"
4190
+ });
4191
+ };
4192
+ var deleteAdCatalogProduct = (options) => {
4193
+ return (options?.client ?? client).delete({
4194
+ ...options,
4195
+ url: "/v1/ads/catalogs/{catalogId}/products/{productId}"
4196
+ });
4197
+ };
4198
+ var listAdCatalogFeeds = (options) => {
4199
+ return (options?.client ?? client).get({
4200
+ ...options,
4201
+ url: "/v1/ads/catalogs/{catalogId}/feeds"
4202
+ });
4203
+ };
4204
+ var createAdCatalogFeed = (options) => {
4205
+ return (options?.client ?? client).post({
4206
+ ...options,
4207
+ url: "/v1/ads/catalogs/{catalogId}/feeds"
4208
+ });
4209
+ };
4210
+ var listAdCatalogFeedUploads = (options) => {
4211
+ return (options?.client ?? client).get({
4212
+ ...options,
4213
+ url: "/v1/ads/catalogs/{catalogId}/feeds/{feedId}/uploads"
4214
+ });
4215
+ };
4216
+ var createAdCatalogFeedUpload = (options) => {
4217
+ return (options?.client ?? client).post({
4218
+ ...options,
4219
+ url: "/v1/ads/catalogs/{catalogId}/feeds/{feedId}/uploads"
4220
+ });
4221
+ };
4108
4222
  var listAdCatalogProductSets = (options) => {
4109
4223
  return (options?.client ?? client).get({
4110
4224
  ...options,
4111
4225
  url: "/v1/ads/catalogs/{catalogId}/product-sets"
4112
4226
  });
4113
4227
  };
4228
+ var createAdCatalogProductSet = (options) => {
4229
+ return (options?.client ?? client).post({
4230
+ ...options,
4231
+ url: "/v1/ads/catalogs/{catalogId}/product-sets"
4232
+ });
4233
+ };
4234
+ var updateAdCatalogProductSet = (options) => {
4235
+ return (options?.client ?? client).put({
4236
+ ...options,
4237
+ url: "/v1/ads/catalogs/{catalogId}/product-sets/{productSetId}"
4238
+ });
4239
+ };
4240
+ var deleteAdCatalogProductSet = (options) => {
4241
+ return (options?.client ?? client).delete({
4242
+ ...options,
4243
+ url: "/v1/ads/catalogs/{catalogId}/product-sets/{productSetId}"
4244
+ });
4245
+ };
4114
4246
  var listAdAudiences = (options) => {
4115
4247
  return (options?.client ?? client).get({
4116
4248
  ...options,
@@ -5052,6 +5184,11 @@ var Zernio = class _Zernio {
5052
5184
  getWhatsAppTemplateById: this._bind(getWhatsAppTemplateById),
5053
5185
  updateWhatsAppTemplateById: this._bind(updateWhatsAppTemplateById),
5054
5186
  deleteWhatsAppTemplateById: this._bind(deleteWhatsAppTemplateById),
5187
+ listWhatsAppCatalogs: this._bind(listWhatsAppCatalogs),
5188
+ linkWhatsAppCatalog: this._bind(linkWhatsAppCatalog),
5189
+ unlinkWhatsAppCatalog: this._bind(unlinkWhatsAppCatalog),
5190
+ getWhatsAppCommerceSettings: this._bind(getWhatsAppCommerceSettings),
5191
+ updateWhatsAppCommerceSettings: this._bind(updateWhatsAppCommerceSettings),
5055
5192
  getWhatsAppBusinessProfile: this._bind(getWhatsAppBusinessProfile),
5056
5193
  updateWhatsAppBusinessProfile: this._bind(updateWhatsAppBusinessProfile),
5057
5194
  uploadWhatsAppProfilePhoto: this._bind(uploadWhatsAppProfilePhoto),
@@ -5729,8 +5866,6 @@ var Zernio = class _Zernio {
5729
5866
  uploadAdVideo: this._bind(uploadAdVideo),
5730
5867
  listAdVideos: this._bind(listAdVideos),
5731
5868
  deleteAdVideo: this._bind(deleteAdVideo),
5732
- listAdCatalogs: this._bind(listAdCatalogs),
5733
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
5734
5869
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
5735
5870
  listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
5736
5871
  setPartnershipAdPermission: this._bind(setPartnershipAdPermission)
@@ -5838,6 +5973,30 @@ var Zernio = class _Zernio {
5838
5973
  this.adlibrary = {
5839
5974
  searchAdLibrary: this._bind(searchAdLibrary)
5840
5975
  };
5976
+ /**
5977
+ * productcatalogs API
5978
+ */
5979
+ this.productcatalogs = {
5980
+ listAdCatalogs: this._bind(listAdCatalogs),
5981
+ createAdCatalog: this._bind(createAdCatalog),
5982
+ getAdCatalog: this._bind(getAdCatalog),
5983
+ deleteAdCatalog: this._bind(deleteAdCatalog),
5984
+ listAdCatalogProducts: this._bind(listAdCatalogProducts),
5985
+ createAdCatalogProduct: this._bind(createAdCatalogProduct),
5986
+ batchAdCatalogProducts: this._bind(batchAdCatalogProducts),
5987
+ getAdCatalogBatch: this._bind(getAdCatalogBatch),
5988
+ getAdCatalogProduct: this._bind(getAdCatalogProduct),
5989
+ updateAdCatalogProduct: this._bind(updateAdCatalogProduct),
5990
+ deleteAdCatalogProduct: this._bind(deleteAdCatalogProduct),
5991
+ listAdCatalogFeeds: this._bind(listAdCatalogFeeds),
5992
+ createAdCatalogFeed: this._bind(createAdCatalogFeed),
5993
+ listAdCatalogFeedUploads: this._bind(listAdCatalogFeedUploads),
5994
+ createAdCatalogFeedUpload: this._bind(createAdCatalogFeedUpload),
5995
+ listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
5996
+ createAdCatalogProductSet: this._bind(createAdCatalogProductSet),
5997
+ updateAdCatalogProductSet: this._bind(updateAdCatalogProductSet),
5998
+ deleteAdCatalogProductSet: this._bind(deleteAdCatalogProductSet)
5999
+ };
5841
6000
  /**
5842
6001
  * adaudiences API
5843
6002
  */
@@ -6198,10 +6357,6 @@ var Zernio = class _Zernio {
6198
6357
  listAdVideos: this._bind(listAdVideos),
6199
6358
  /** @deprecated Use `zernio.adcreatives.deleteAdVideo` instead. */
6200
6359
  deleteAdVideo: this._bind(deleteAdVideo),
6201
- /** @deprecated Use `zernio.adcreatives.listAdCatalogs` instead. */
6202
- listAdCatalogs: this._bind(listAdCatalogs),
6203
- /** @deprecated Use `zernio.adcreatives.listAdCatalogProductSets` instead. */
6204
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
6205
6360
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
6206
6361
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
6207
6362
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdPermissions` 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.816",
8
+ version: "0.2.818",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -2288,6 +2288,36 @@ var getWhatsAppLibraryTemplate = (options) => {
2288
2288
  url: "/v1/whatsapp/template-library"
2289
2289
  });
2290
2290
  };
2291
+ var listWhatsAppCatalogs = (options) => {
2292
+ return (options?.client ?? client).get({
2293
+ ...options,
2294
+ url: "/v1/whatsapp/catalogs"
2295
+ });
2296
+ };
2297
+ var linkWhatsAppCatalog = (options) => {
2298
+ return (options?.client ?? client).post({
2299
+ ...options,
2300
+ url: "/v1/whatsapp/catalogs"
2301
+ });
2302
+ };
2303
+ var unlinkWhatsAppCatalog = (options) => {
2304
+ return (options?.client ?? client).delete({
2305
+ ...options,
2306
+ url: "/v1/whatsapp/catalogs"
2307
+ });
2308
+ };
2309
+ var getWhatsAppCommerceSettings = (options) => {
2310
+ return (options?.client ?? client).get({
2311
+ ...options,
2312
+ url: "/v1/whatsapp/commerce-settings"
2313
+ });
2314
+ };
2315
+ var updateWhatsAppCommerceSettings = (options) => {
2316
+ return (options?.client ?? client).put({
2317
+ ...options,
2318
+ url: "/v1/whatsapp/commerce-settings"
2319
+ });
2320
+ };
2291
2321
  var getWhatsAppBusinessProfile = (options) => {
2292
2322
  return (options?.client ?? client).get({
2293
2323
  ...options,
@@ -4074,12 +4104,114 @@ var listAdCatalogs = (options) => {
4074
4104
  url: "/v1/ads/catalogs"
4075
4105
  });
4076
4106
  };
4107
+ var createAdCatalog = (options) => {
4108
+ return (options?.client ?? client).post({
4109
+ ...options,
4110
+ url: "/v1/ads/catalogs"
4111
+ });
4112
+ };
4113
+ var getAdCatalog = (options) => {
4114
+ return (options?.client ?? client).get({
4115
+ ...options,
4116
+ url: "/v1/ads/catalogs/{catalogId}"
4117
+ });
4118
+ };
4119
+ var deleteAdCatalog = (options) => {
4120
+ return (options?.client ?? client).delete({
4121
+ ...options,
4122
+ url: "/v1/ads/catalogs/{catalogId}"
4123
+ });
4124
+ };
4125
+ var listAdCatalogProducts = (options) => {
4126
+ return (options?.client ?? client).get({
4127
+ ...options,
4128
+ url: "/v1/ads/catalogs/{catalogId}/products"
4129
+ });
4130
+ };
4131
+ var createAdCatalogProduct = (options) => {
4132
+ return (options?.client ?? client).post({
4133
+ ...options,
4134
+ url: "/v1/ads/catalogs/{catalogId}/products"
4135
+ });
4136
+ };
4137
+ var batchAdCatalogProducts = (options) => {
4138
+ return (options?.client ?? client).post({
4139
+ ...options,
4140
+ url: "/v1/ads/catalogs/{catalogId}/products/batch"
4141
+ });
4142
+ };
4143
+ var getAdCatalogBatch = (options) => {
4144
+ return (options?.client ?? client).get({
4145
+ ...options,
4146
+ url: "/v1/ads/catalogs/{catalogId}/batches/{handle}"
4147
+ });
4148
+ };
4149
+ var getAdCatalogProduct = (options) => {
4150
+ return (options?.client ?? client).get({
4151
+ ...options,
4152
+ url: "/v1/ads/catalogs/{catalogId}/products/{productId}"
4153
+ });
4154
+ };
4155
+ var updateAdCatalogProduct = (options) => {
4156
+ return (options?.client ?? client).put({
4157
+ ...options,
4158
+ url: "/v1/ads/catalogs/{catalogId}/products/{productId}"
4159
+ });
4160
+ };
4161
+ var deleteAdCatalogProduct = (options) => {
4162
+ return (options?.client ?? client).delete({
4163
+ ...options,
4164
+ url: "/v1/ads/catalogs/{catalogId}/products/{productId}"
4165
+ });
4166
+ };
4167
+ var listAdCatalogFeeds = (options) => {
4168
+ return (options?.client ?? client).get({
4169
+ ...options,
4170
+ url: "/v1/ads/catalogs/{catalogId}/feeds"
4171
+ });
4172
+ };
4173
+ var createAdCatalogFeed = (options) => {
4174
+ return (options?.client ?? client).post({
4175
+ ...options,
4176
+ url: "/v1/ads/catalogs/{catalogId}/feeds"
4177
+ });
4178
+ };
4179
+ var listAdCatalogFeedUploads = (options) => {
4180
+ return (options?.client ?? client).get({
4181
+ ...options,
4182
+ url: "/v1/ads/catalogs/{catalogId}/feeds/{feedId}/uploads"
4183
+ });
4184
+ };
4185
+ var createAdCatalogFeedUpload = (options) => {
4186
+ return (options?.client ?? client).post({
4187
+ ...options,
4188
+ url: "/v1/ads/catalogs/{catalogId}/feeds/{feedId}/uploads"
4189
+ });
4190
+ };
4077
4191
  var listAdCatalogProductSets = (options) => {
4078
4192
  return (options?.client ?? client).get({
4079
4193
  ...options,
4080
4194
  url: "/v1/ads/catalogs/{catalogId}/product-sets"
4081
4195
  });
4082
4196
  };
4197
+ var createAdCatalogProductSet = (options) => {
4198
+ return (options?.client ?? client).post({
4199
+ ...options,
4200
+ url: "/v1/ads/catalogs/{catalogId}/product-sets"
4201
+ });
4202
+ };
4203
+ var updateAdCatalogProductSet = (options) => {
4204
+ return (options?.client ?? client).put({
4205
+ ...options,
4206
+ url: "/v1/ads/catalogs/{catalogId}/product-sets/{productSetId}"
4207
+ });
4208
+ };
4209
+ var deleteAdCatalogProductSet = (options) => {
4210
+ return (options?.client ?? client).delete({
4211
+ ...options,
4212
+ url: "/v1/ads/catalogs/{catalogId}/product-sets/{productSetId}"
4213
+ });
4214
+ };
4083
4215
  var listAdAudiences = (options) => {
4084
4216
  return (options?.client ?? client).get({
4085
4217
  ...options,
@@ -5021,6 +5153,11 @@ var Zernio = class _Zernio {
5021
5153
  getWhatsAppTemplateById: this._bind(getWhatsAppTemplateById),
5022
5154
  updateWhatsAppTemplateById: this._bind(updateWhatsAppTemplateById),
5023
5155
  deleteWhatsAppTemplateById: this._bind(deleteWhatsAppTemplateById),
5156
+ listWhatsAppCatalogs: this._bind(listWhatsAppCatalogs),
5157
+ linkWhatsAppCatalog: this._bind(linkWhatsAppCatalog),
5158
+ unlinkWhatsAppCatalog: this._bind(unlinkWhatsAppCatalog),
5159
+ getWhatsAppCommerceSettings: this._bind(getWhatsAppCommerceSettings),
5160
+ updateWhatsAppCommerceSettings: this._bind(updateWhatsAppCommerceSettings),
5024
5161
  getWhatsAppBusinessProfile: this._bind(getWhatsAppBusinessProfile),
5025
5162
  updateWhatsAppBusinessProfile: this._bind(updateWhatsAppBusinessProfile),
5026
5163
  uploadWhatsAppProfilePhoto: this._bind(uploadWhatsAppProfilePhoto),
@@ -5698,8 +5835,6 @@ var Zernio = class _Zernio {
5698
5835
  uploadAdVideo: this._bind(uploadAdVideo),
5699
5836
  listAdVideos: this._bind(listAdVideos),
5700
5837
  deleteAdVideo: this._bind(deleteAdVideo),
5701
- listAdCatalogs: this._bind(listAdCatalogs),
5702
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
5703
5838
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
5704
5839
  listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
5705
5840
  setPartnershipAdPermission: this._bind(setPartnershipAdPermission)
@@ -5807,6 +5942,30 @@ var Zernio = class _Zernio {
5807
5942
  this.adlibrary = {
5808
5943
  searchAdLibrary: this._bind(searchAdLibrary)
5809
5944
  };
5945
+ /**
5946
+ * productcatalogs API
5947
+ */
5948
+ this.productcatalogs = {
5949
+ listAdCatalogs: this._bind(listAdCatalogs),
5950
+ createAdCatalog: this._bind(createAdCatalog),
5951
+ getAdCatalog: this._bind(getAdCatalog),
5952
+ deleteAdCatalog: this._bind(deleteAdCatalog),
5953
+ listAdCatalogProducts: this._bind(listAdCatalogProducts),
5954
+ createAdCatalogProduct: this._bind(createAdCatalogProduct),
5955
+ batchAdCatalogProducts: this._bind(batchAdCatalogProducts),
5956
+ getAdCatalogBatch: this._bind(getAdCatalogBatch),
5957
+ getAdCatalogProduct: this._bind(getAdCatalogProduct),
5958
+ updateAdCatalogProduct: this._bind(updateAdCatalogProduct),
5959
+ deleteAdCatalogProduct: this._bind(deleteAdCatalogProduct),
5960
+ listAdCatalogFeeds: this._bind(listAdCatalogFeeds),
5961
+ createAdCatalogFeed: this._bind(createAdCatalogFeed),
5962
+ listAdCatalogFeedUploads: this._bind(listAdCatalogFeedUploads),
5963
+ createAdCatalogFeedUpload: this._bind(createAdCatalogFeedUpload),
5964
+ listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
5965
+ createAdCatalogProductSet: this._bind(createAdCatalogProductSet),
5966
+ updateAdCatalogProductSet: this._bind(updateAdCatalogProductSet),
5967
+ deleteAdCatalogProductSet: this._bind(deleteAdCatalogProductSet)
5968
+ };
5810
5969
  /**
5811
5970
  * adaudiences API
5812
5971
  */
@@ -6167,10 +6326,6 @@ var Zernio = class _Zernio {
6167
6326
  listAdVideos: this._bind(listAdVideos),
6168
6327
  /** @deprecated Use `zernio.adcreatives.deleteAdVideo` instead. */
6169
6328
  deleteAdVideo: this._bind(deleteAdVideo),
6170
- /** @deprecated Use `zernio.adcreatives.listAdCatalogs` instead. */
6171
- listAdCatalogs: this._bind(listAdCatalogs),
6172
- /** @deprecated Use `zernio.adcreatives.listAdCatalogProductSets` instead. */
6173
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
6174
6329
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
6175
6330
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
6176
6331
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdPermissions` instead. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.816",
3
+ "version": "0.2.818",
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
@@ -24,6 +24,7 @@ import {
24
24
  attachAdGroupAssets,
25
25
  attachCampaignAssets,
26
26
  attachNumberToSipTrunk,
27
+ batchAdCatalogProducts,
27
28
  batchGetGoogleBusinessReviews,
28
29
  blockWhatsAppUsers,
29
30
  bookmarkPost,
@@ -57,6 +58,11 @@ import {
57
58
  createAdAccount,
58
59
  createAdAudience,
59
60
  createAdCampaign,
61
+ createAdCatalog,
62
+ createAdCatalogFeed,
63
+ createAdCatalogFeedUpload,
64
+ createAdCatalogProduct,
65
+ createAdCatalogProductSet,
60
66
  createAdCreative,
61
67
  createAdInsightsReport,
62
68
  createAdNegativeKeywordList,
@@ -124,6 +130,9 @@ import {
124
130
  deleteAd,
125
131
  deleteAdAudience,
126
132
  deleteAdCampaign,
133
+ deleteAdCatalog,
134
+ deleteAdCatalogProduct,
135
+ deleteAdCatalogProductSet,
127
136
  deleteAdComment,
128
137
  deleteAdCreative,
129
138
  deleteAdNegativeKeywordList,
@@ -207,6 +216,9 @@ import {
207
216
  getAdAnalytics,
208
217
  getAdAudience,
209
218
  getAdCampaignDetails,
219
+ getAdCatalog,
220
+ getAdCatalogBatch,
221
+ getAdCatalogProduct,
210
222
  getAdComments,
211
223
  getAdCreative,
212
224
  getAdInsightsReport,
@@ -359,6 +371,7 @@ import {
359
371
  getWhatsAppCallRecording,
360
372
  getWhatsAppCalling,
361
373
  getWhatsAppCallingConfig,
374
+ getWhatsAppCommerceSettings,
362
375
  getWhatsAppDataset,
363
376
  getWhatsAppDisplayName,
364
377
  getWhatsAppFlow,
@@ -396,6 +409,7 @@ import {
396
409
  initiateWhatsAppCall,
397
410
  likeInboxComment,
398
411
  likePost,
412
+ linkWhatsAppCatalog,
399
413
  listAccountCallouts,
400
414
  listAccountGroups,
401
415
  listAccountSitelinks,
@@ -404,7 +418,10 @@ import {
404
418
  listAdAccounts,
405
419
  listAdAudiences,
406
420
  listAdCampaigns,
421
+ listAdCatalogFeedUploads,
422
+ listAdCatalogFeeds,
407
423
  listAdCatalogProductSets,
424
+ listAdCatalogProducts,
408
425
  listAdCatalogs,
409
426
  listAdCreatives,
410
427
  listAdGroupAssets,
@@ -501,6 +518,7 @@ import {
501
518
  listVoiceCalls,
502
519
  listWhatsAppAccountEvents,
503
520
  listWhatsAppCalls,
521
+ listWhatsAppCatalogs,
504
522
  listWhatsAppConversions,
505
523
  listWhatsAppFlowResponses,
506
524
  listWhatsAppFlowVersions,
@@ -637,6 +655,7 @@ import {
637
655
  unhideInboxComment,
638
656
  unlikeInboxComment,
639
657
  unlikePost,
658
+ unlinkWhatsAppCatalog,
640
659
  unpinDiscordMessage,
641
660
  unpinInboxComment,
642
661
  unpublishPost,
@@ -650,6 +669,8 @@ import {
650
669
  updateAdAudience,
651
670
  updateAdCampaign,
652
671
  updateAdCampaignStatus,
672
+ updateAdCatalogProduct,
673
+ updateAdCatalogProductSet,
653
674
  updateAdCreative,
654
675
  updateAdGroupAssets,
655
676
  updateAdKeyword,
@@ -703,6 +724,7 @@ import {
703
724
  updateWhatsAppBusinessProfile,
704
725
  updateWhatsAppCalling,
705
726
  updateWhatsAppCallingLegacy,
727
+ updateWhatsAppCommerceSettings,
706
728
  updateWhatsAppDisplayName,
707
729
  updateWhatsAppFlow,
708
730
  updateWhatsAppGroupChat,
@@ -1041,6 +1063,11 @@ export class Zernio {
1041
1063
  getWhatsAppTemplateById: this._bind(getWhatsAppTemplateById),
1042
1064
  updateWhatsAppTemplateById: this._bind(updateWhatsAppTemplateById),
1043
1065
  deleteWhatsAppTemplateById: this._bind(deleteWhatsAppTemplateById),
1066
+ listWhatsAppCatalogs: this._bind(listWhatsAppCatalogs),
1067
+ linkWhatsAppCatalog: this._bind(linkWhatsAppCatalog),
1068
+ unlinkWhatsAppCatalog: this._bind(unlinkWhatsAppCatalog),
1069
+ getWhatsAppCommerceSettings: this._bind(getWhatsAppCommerceSettings),
1070
+ updateWhatsAppCommerceSettings: this._bind(updateWhatsAppCommerceSettings),
1044
1071
  getWhatsAppBusinessProfile: this._bind(getWhatsAppBusinessProfile),
1045
1072
  updateWhatsAppBusinessProfile: this._bind(updateWhatsAppBusinessProfile),
1046
1073
  uploadWhatsAppProfilePhoto: this._bind(uploadWhatsAppProfilePhoto),
@@ -1759,8 +1786,6 @@ export class Zernio {
1759
1786
  uploadAdVideo: this._bind(uploadAdVideo),
1760
1787
  listAdVideos: this._bind(listAdVideos),
1761
1788
  deleteAdVideo: this._bind(deleteAdVideo),
1762
- listAdCatalogs: this._bind(listAdCatalogs),
1763
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
1764
1789
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
1765
1790
  listPartnershipAdPermissions: this._bind(listPartnershipAdPermissions),
1766
1791
  setPartnershipAdPermission: this._bind(setPartnershipAdPermission),
@@ -1875,6 +1900,31 @@ export class Zernio {
1875
1900
  searchAdLibrary: this._bind(searchAdLibrary),
1876
1901
  };
1877
1902
 
1903
+ /**
1904
+ * productcatalogs API
1905
+ */
1906
+ productcatalogs = {
1907
+ listAdCatalogs: this._bind(listAdCatalogs),
1908
+ createAdCatalog: this._bind(createAdCatalog),
1909
+ getAdCatalog: this._bind(getAdCatalog),
1910
+ deleteAdCatalog: this._bind(deleteAdCatalog),
1911
+ listAdCatalogProducts: this._bind(listAdCatalogProducts),
1912
+ createAdCatalogProduct: this._bind(createAdCatalogProduct),
1913
+ batchAdCatalogProducts: this._bind(batchAdCatalogProducts),
1914
+ getAdCatalogBatch: this._bind(getAdCatalogBatch),
1915
+ getAdCatalogProduct: this._bind(getAdCatalogProduct),
1916
+ updateAdCatalogProduct: this._bind(updateAdCatalogProduct),
1917
+ deleteAdCatalogProduct: this._bind(deleteAdCatalogProduct),
1918
+ listAdCatalogFeeds: this._bind(listAdCatalogFeeds),
1919
+ createAdCatalogFeed: this._bind(createAdCatalogFeed),
1920
+ listAdCatalogFeedUploads: this._bind(listAdCatalogFeedUploads),
1921
+ createAdCatalogFeedUpload: this._bind(createAdCatalogFeedUpload),
1922
+ listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
1923
+ createAdCatalogProductSet: this._bind(createAdCatalogProductSet),
1924
+ updateAdCatalogProductSet: this._bind(updateAdCatalogProductSet),
1925
+ deleteAdCatalogProductSet: this._bind(deleteAdCatalogProductSet),
1926
+ };
1927
+
1878
1928
  /**
1879
1929
  * adaudiences API
1880
1930
  */
@@ -2243,10 +2293,6 @@ export class Zernio {
2243
2293
  listAdVideos: this._bind(listAdVideos),
2244
2294
  /** @deprecated Use `zernio.adcreatives.deleteAdVideo` instead. */
2245
2295
  deleteAdVideo: this._bind(deleteAdVideo),
2246
- /** @deprecated Use `zernio.adcreatives.listAdCatalogs` instead. */
2247
- listAdCatalogs: this._bind(listAdCatalogs),
2248
- /** @deprecated Use `zernio.adcreatives.listAdCatalogProductSets` instead. */
2249
- listAdCatalogProductSets: this._bind(listAdCatalogProductSets),
2250
2296
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdContent` instead. */
2251
2297
  listPartnershipAdContent: this._bind(listPartnershipAdContent),
2252
2298
  /** @deprecated Use `zernio.adcreatives.listPartnershipAdPermissions` instead. */