@zernio/node 0.2.1000 → 0.2.1002

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.1000",
39
+ version: "0.2.1002",
40
40
  description: "The official Node.js library for the Zernio API",
41
41
  main: "dist/index.js",
42
42
  module: "dist/index.mjs",
@@ -5646,49 +5646,49 @@ var duplicateCommerceProduct = (options) => {
5646
5646
  url: "/v1/commerce/products/{productId}/duplicate"
5647
5647
  });
5648
5648
  };
5649
- var listProductMetafields = (options) => {
5649
+ var listCommerceProductMetafields = (options) => {
5650
5650
  return (options?.client ?? client).get({
5651
5651
  ...options,
5652
5652
  url: "/v1/commerce/products/{productId}/metafields"
5653
5653
  });
5654
5654
  };
5655
- var setProductMetafields = (options) => {
5655
+ var setCommerceProductMetafields = (options) => {
5656
5656
  return (options?.client ?? client).put({
5657
5657
  ...options,
5658
5658
  url: "/v1/commerce/products/{productId}/metafields"
5659
5659
  });
5660
5660
  };
5661
- var deleteProductMetafields = (options) => {
5661
+ var deleteCommerceProductMetafields = (options) => {
5662
5662
  return (options?.client ?? client).delete({
5663
5663
  ...options,
5664
5664
  url: "/v1/commerce/products/{productId}/metafields"
5665
5665
  });
5666
5666
  };
5667
- var changeProductChannels = (options) => {
5667
+ var changeCommerceProductChannels = (options) => {
5668
5668
  return (options?.client ?? client).post({
5669
5669
  ...options,
5670
5670
  url: "/v1/commerce/products/{productId}/channels"
5671
5671
  });
5672
5672
  };
5673
- var listCollectionMetafields = (options) => {
5673
+ var listCommerceCollectionMetafields = (options) => {
5674
5674
  return (options?.client ?? client).get({
5675
5675
  ...options,
5676
5676
  url: "/v1/commerce/collections/{collectionId}/metafields"
5677
5677
  });
5678
5678
  };
5679
- var setCollectionMetafields = (options) => {
5679
+ var setCommerceCollectionMetafields = (options) => {
5680
5680
  return (options?.client ?? client).put({
5681
5681
  ...options,
5682
5682
  url: "/v1/commerce/collections/{collectionId}/metafields"
5683
5683
  });
5684
5684
  };
5685
- var deleteCollectionMetafields = (options) => {
5685
+ var deleteCommerceCollectionMetafields = (options) => {
5686
5686
  return (options?.client ?? client).delete({
5687
5687
  ...options,
5688
5688
  url: "/v1/commerce/collections/{collectionId}/metafields"
5689
5689
  });
5690
5690
  };
5691
- var changeCollectionChannels = (options) => {
5691
+ var changeCommerceCollectionChannels = (options) => {
5692
5692
  return (options?.client ?? client).post({
5693
5693
  ...options,
5694
5694
  url: "/v1/commerce/collections/{collectionId}/channels"
@@ -7369,14 +7369,14 @@ var Zernio = class _Zernio {
7369
7369
  removeCommerceProductImages: this._bind(removeCommerceProductImages),
7370
7370
  reorderCommerceProductImages: this._bind(reorderCommerceProductImages),
7371
7371
  duplicateCommerceProduct: this._bind(duplicateCommerceProduct),
7372
- listProductMetafields: this._bind(listProductMetafields),
7373
- setProductMetafields: this._bind(setProductMetafields),
7374
- deleteProductMetafields: this._bind(deleteProductMetafields),
7375
- changeProductChannels: this._bind(changeProductChannels),
7376
- listCollectionMetafields: this._bind(listCollectionMetafields),
7377
- setCollectionMetafields: this._bind(setCollectionMetafields),
7378
- deleteCollectionMetafields: this._bind(deleteCollectionMetafields),
7379
- changeCollectionChannels: this._bind(changeCollectionChannels),
7372
+ listCommerceProductMetafields: this._bind(listCommerceProductMetafields),
7373
+ setCommerceProductMetafields: this._bind(setCommerceProductMetafields),
7374
+ deleteCommerceProductMetafields: this._bind(deleteCommerceProductMetafields),
7375
+ changeCommerceProductChannels: this._bind(changeCommerceProductChannels),
7376
+ listCommerceCollectionMetafields: this._bind(listCommerceCollectionMetafields),
7377
+ setCommerceCollectionMetafields: this._bind(setCommerceCollectionMetafields),
7378
+ deleteCommerceCollectionMetafields: this._bind(deleteCommerceCollectionMetafields),
7379
+ changeCommerceCollectionChannels: this._bind(changeCommerceCollectionChannels),
7380
7380
  changeCommerceProductTags: this._bind(changeCommerceProductTags),
7381
7381
  reorderCommerceCollectionProducts: this._bind(reorderCommerceCollectionProducts),
7382
7382
  listCommercePages: this._bind(listCommercePages),
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.1000",
8
+ version: "0.2.1002",
9
9
  description: "The official Node.js library for the Zernio API",
10
10
  main: "dist/index.js",
11
11
  module: "dist/index.mjs",
@@ -5615,49 +5615,49 @@ var duplicateCommerceProduct = (options) => {
5615
5615
  url: "/v1/commerce/products/{productId}/duplicate"
5616
5616
  });
5617
5617
  };
5618
- var listProductMetafields = (options) => {
5618
+ var listCommerceProductMetafields = (options) => {
5619
5619
  return (options?.client ?? client).get({
5620
5620
  ...options,
5621
5621
  url: "/v1/commerce/products/{productId}/metafields"
5622
5622
  });
5623
5623
  };
5624
- var setProductMetafields = (options) => {
5624
+ var setCommerceProductMetafields = (options) => {
5625
5625
  return (options?.client ?? client).put({
5626
5626
  ...options,
5627
5627
  url: "/v1/commerce/products/{productId}/metafields"
5628
5628
  });
5629
5629
  };
5630
- var deleteProductMetafields = (options) => {
5630
+ var deleteCommerceProductMetafields = (options) => {
5631
5631
  return (options?.client ?? client).delete({
5632
5632
  ...options,
5633
5633
  url: "/v1/commerce/products/{productId}/metafields"
5634
5634
  });
5635
5635
  };
5636
- var changeProductChannels = (options) => {
5636
+ var changeCommerceProductChannels = (options) => {
5637
5637
  return (options?.client ?? client).post({
5638
5638
  ...options,
5639
5639
  url: "/v1/commerce/products/{productId}/channels"
5640
5640
  });
5641
5641
  };
5642
- var listCollectionMetafields = (options) => {
5642
+ var listCommerceCollectionMetafields = (options) => {
5643
5643
  return (options?.client ?? client).get({
5644
5644
  ...options,
5645
5645
  url: "/v1/commerce/collections/{collectionId}/metafields"
5646
5646
  });
5647
5647
  };
5648
- var setCollectionMetafields = (options) => {
5648
+ var setCommerceCollectionMetafields = (options) => {
5649
5649
  return (options?.client ?? client).put({
5650
5650
  ...options,
5651
5651
  url: "/v1/commerce/collections/{collectionId}/metafields"
5652
5652
  });
5653
5653
  };
5654
- var deleteCollectionMetafields = (options) => {
5654
+ var deleteCommerceCollectionMetafields = (options) => {
5655
5655
  return (options?.client ?? client).delete({
5656
5656
  ...options,
5657
5657
  url: "/v1/commerce/collections/{collectionId}/metafields"
5658
5658
  });
5659
5659
  };
5660
- var changeCollectionChannels = (options) => {
5660
+ var changeCommerceCollectionChannels = (options) => {
5661
5661
  return (options?.client ?? client).post({
5662
5662
  ...options,
5663
5663
  url: "/v1/commerce/collections/{collectionId}/channels"
@@ -7338,14 +7338,14 @@ var Zernio = class _Zernio {
7338
7338
  removeCommerceProductImages: this._bind(removeCommerceProductImages),
7339
7339
  reorderCommerceProductImages: this._bind(reorderCommerceProductImages),
7340
7340
  duplicateCommerceProduct: this._bind(duplicateCommerceProduct),
7341
- listProductMetafields: this._bind(listProductMetafields),
7342
- setProductMetafields: this._bind(setProductMetafields),
7343
- deleteProductMetafields: this._bind(deleteProductMetafields),
7344
- changeProductChannels: this._bind(changeProductChannels),
7345
- listCollectionMetafields: this._bind(listCollectionMetafields),
7346
- setCollectionMetafields: this._bind(setCollectionMetafields),
7347
- deleteCollectionMetafields: this._bind(deleteCollectionMetafields),
7348
- changeCollectionChannels: this._bind(changeCollectionChannels),
7341
+ listCommerceProductMetafields: this._bind(listCommerceProductMetafields),
7342
+ setCommerceProductMetafields: this._bind(setCommerceProductMetafields),
7343
+ deleteCommerceProductMetafields: this._bind(deleteCommerceProductMetafields),
7344
+ changeCommerceProductChannels: this._bind(changeCommerceProductChannels),
7345
+ listCommerceCollectionMetafields: this._bind(listCommerceCollectionMetafields),
7346
+ setCommerceCollectionMetafields: this._bind(setCommerceCollectionMetafields),
7347
+ deleteCommerceCollectionMetafields: this._bind(deleteCommerceCollectionMetafields),
7348
+ changeCommerceCollectionChannels: this._bind(changeCommerceCollectionChannels),
7349
7349
  changeCommerceProductTags: this._bind(changeCommerceProductTags),
7350
7350
  reorderCommerceCollectionProducts: this._bind(reorderCommerceCollectionProducts),
7351
7351
  listCommercePages: this._bind(listCommercePages),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zernio/node",
3
- "version": "0.2.1000",
3
+ "version": "0.2.1002",
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
@@ -48,12 +48,12 @@ import {
48
48
  cancelImessageSender,
49
49
  cancelPhoneNumberPortIn,
50
50
  cancelRfReservation,
51
- changeCollectionChannels,
51
+ changeCommerceCollectionChannels,
52
52
  changeCommerceCollectionProducts,
53
53
  changeCommerceInventory,
54
+ changeCommerceProductChannels,
54
55
  changeCommerceProductState,
55
56
  changeCommerceProductTags,
56
- changeProductChannels,
57
57
  checkPhoneNumberAvailability,
58
58
  checkPhoneNumberPortability,
59
59
  checkVerification,
@@ -191,16 +191,17 @@ import {
191
191
  deleteBusinessAgentSkill,
192
192
  deleteBusinessAgentUiSkill,
193
193
  deleteBusinessAgentWebsite,
194
- deleteCollectionMetafields,
195
194
  deleteCommentAutomation,
196
195
  deleteCommerceCatalogSync,
197
196
  deleteCommerceCollection,
197
+ deleteCommerceCollectionMetafields,
198
198
  deleteCommerceDiscount,
199
199
  deleteCommerceMarketingActivity,
200
200
  deleteCommerceMenu,
201
201
  deleteCommerceMetaobject,
202
202
  deleteCommercePage,
203
203
  deleteCommercePriceListPrices,
204
+ deleteCommerceProductMetafields,
204
205
  deleteCommerceProductOptions,
205
206
  deleteCommerceProductVariants,
206
207
  deleteCommerceRedirect,
@@ -221,7 +222,6 @@ import {
221
222
  deleteMessengerMenu,
222
223
  deletePhoneNumberStockWatch,
223
224
  deletePost,
224
- deleteProductMetafields,
225
225
  deleteProfile,
226
226
  deleteQueueSlot,
227
227
  deleteSequence,
@@ -553,11 +553,11 @@ import {
553
553
  listCampaignAssets,
554
554
  listCampaignNegativeKeywordLists,
555
555
  listCampaignNegativeKeywords,
556
- listCollectionMetafields,
557
556
  listCommentAutomationLogs,
558
557
  listCommentAutomations,
559
558
  listCommerceCatalogSyncs,
560
559
  listCommerceChannels,
560
+ listCommerceCollectionMetafields,
561
561
  listCommerceCollections,
562
562
  listCommerceDiscounts,
563
563
  listCommerceInventory,
@@ -568,6 +568,7 @@ import {
568
568
  listCommerceMetaobjects,
569
569
  listCommercePages,
570
570
  listCommercePriceLists,
571
+ listCommerceProductMetafields,
571
572
  listCommerceProducts,
572
573
  listCommerceRedirects,
573
574
  listConnectedApps,
@@ -619,7 +620,6 @@ import {
619
620
  listPhoneNumbers,
620
621
  listPinterestBoardsForSelection,
621
622
  listPosts,
622
- listProductMetafields,
623
623
  listProducts,
624
624
  listProfiles,
625
625
  listQueueSlots,
@@ -779,10 +779,11 @@ import {
779
779
  sendWhatsAppConversion,
780
780
  sendWhatsAppFlowMessage,
781
781
  setBusinessAgentConnectorCredentials,
782
- setCollectionMetafields,
783
782
  setCommentModeration,
783
+ setCommerceCollectionMetafields,
784
784
  setCommerceDiscountActive,
785
785
  setCommercePriceListPrices,
786
+ setCommerceProductMetafields,
786
787
  setContactFieldValue,
787
788
  setConversationThreadControl,
788
789
  setImessageSubscription,
@@ -790,7 +791,6 @@ import {
790
791
  setMessengerGetStarted,
791
792
  setMessengerMenu,
792
793
  setPartnershipAdPermission,
793
- setProductMetafields,
794
794
  setRedditPostFlair,
795
795
  setTelegramCommands,
796
796
  setWhatsAppFlowsEncryptionKey,
@@ -2392,14 +2392,14 @@ export class Zernio {
2392
2392
  removeCommerceProductImages: this._bind(removeCommerceProductImages),
2393
2393
  reorderCommerceProductImages: this._bind(reorderCommerceProductImages),
2394
2394
  duplicateCommerceProduct: this._bind(duplicateCommerceProduct),
2395
- listProductMetafields: this._bind(listProductMetafields),
2396
- setProductMetafields: this._bind(setProductMetafields),
2397
- deleteProductMetafields: this._bind(deleteProductMetafields),
2398
- changeProductChannels: this._bind(changeProductChannels),
2399
- listCollectionMetafields: this._bind(listCollectionMetafields),
2400
- setCollectionMetafields: this._bind(setCollectionMetafields),
2401
- deleteCollectionMetafields: this._bind(deleteCollectionMetafields),
2402
- changeCollectionChannels: this._bind(changeCollectionChannels),
2395
+ listCommerceProductMetafields: this._bind(listCommerceProductMetafields),
2396
+ setCommerceProductMetafields: this._bind(setCommerceProductMetafields),
2397
+ deleteCommerceProductMetafields: this._bind(deleteCommerceProductMetafields),
2398
+ changeCommerceProductChannels: this._bind(changeCommerceProductChannels),
2399
+ listCommerceCollectionMetafields: this._bind(listCommerceCollectionMetafields),
2400
+ setCommerceCollectionMetafields: this._bind(setCommerceCollectionMetafields),
2401
+ deleteCommerceCollectionMetafields: this._bind(deleteCommerceCollectionMetafields),
2402
+ changeCommerceCollectionChannels: this._bind(changeCommerceCollectionChannels),
2403
2403
  changeCommerceProductTags: this._bind(changeCommerceProductTags),
2404
2404
  reorderCommerceCollectionProducts: this._bind(reorderCommerceCollectionProducts),
2405
2405
  listCommercePages: this._bind(listCommercePages),