@zernio/node 0.2.996 → 0.2.998

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/src/client.ts CHANGED
@@ -10,6 +10,9 @@ import {
10
10
  addBroadcastRecipients,
11
11
  addBusinessAgentAllowlistEntry,
12
12
  addBusinessAgentWebsite,
13
+ addCommerceDiscountCodes,
14
+ addCommerceMarketingEngagement,
15
+ addCommerceProductImages,
13
16
  addConversionAssociations,
14
17
  addDiscordMemberRole,
15
18
  addImessageGroupParticipant,
@@ -44,6 +47,12 @@ import {
44
47
  cancelImessageSender,
45
48
  cancelPhoneNumberPortIn,
46
49
  cancelRfReservation,
50
+ changeCollectionChannels,
51
+ changeCommerceCollectionProducts,
52
+ changeCommerceInventory,
53
+ changeCommerceProductState,
54
+ changeCommerceProductTags,
55
+ changeProductChannels,
47
56
  checkPhoneNumberAvailability,
48
57
  checkPhoneNumberPortability,
49
58
  checkVerification,
@@ -92,6 +101,16 @@ import {
92
101
  createBusinessAgentUiSkill,
93
102
  createCallAd,
94
103
  createCommentAutomation,
104
+ createCommerceCatalogSync,
105
+ createCommerceCollection,
106
+ createCommerceDiscount,
107
+ createCommerceMenu,
108
+ createCommerceMetaobject,
109
+ createCommercePage,
110
+ createCommerceProduct,
111
+ createCommerceProductOptions,
112
+ createCommerceProductVariants,
113
+ createCommerceRedirect,
95
114
  createContact,
96
115
  createConversionAction,
97
116
  createConversionDestination,
@@ -171,7 +190,19 @@ import {
171
190
  deleteBusinessAgentSkill,
172
191
  deleteBusinessAgentUiSkill,
173
192
  deleteBusinessAgentWebsite,
193
+ deleteCollectionMetafields,
174
194
  deleteCommentAutomation,
195
+ deleteCommerceCatalogSync,
196
+ deleteCommerceCollection,
197
+ deleteCommerceDiscount,
198
+ deleteCommerceMarketingActivity,
199
+ deleteCommerceMenu,
200
+ deleteCommerceMetaobject,
201
+ deleteCommercePage,
202
+ deleteCommercePriceListPrices,
203
+ deleteCommerceProductOptions,
204
+ deleteCommerceProductVariants,
205
+ deleteCommerceRedirect,
175
206
  deleteContact,
176
207
  deleteConversionDestination,
177
208
  deleteCustomField,
@@ -189,6 +220,7 @@ import {
189
220
  deleteMessengerMenu,
190
221
  deletePhoneNumberStockWatch,
191
222
  deletePost,
223
+ deleteProductMetafields,
192
224
  deleteProfile,
193
225
  deleteQueueSlot,
194
226
  deleteSequence,
@@ -220,6 +252,7 @@ import {
220
252
  duplicateAd,
221
253
  duplicateAdCampaign,
222
254
  duplicateAdSet,
255
+ duplicateCommerceProduct,
223
256
  duplicateWorkflow,
224
257
  editDiscordGuildRole,
225
258
  editGoogleAssetGroupAssets,
@@ -293,6 +326,14 @@ import {
293
326
  getCampaignConversionGoals,
294
327
  getCampaignTargeting,
295
328
  getCommentAutomation,
329
+ getCommerceCatalogSync,
330
+ getCommerceCollection,
331
+ getCommerceDiscount,
332
+ getCommerceMenu,
333
+ getCommerceMetaobject,
334
+ getCommercePage,
335
+ getCommerceProduct,
336
+ getCommerceStore,
296
337
  getConnectUrl,
297
338
  getContact,
298
339
  getContactChannels,
@@ -511,8 +552,23 @@ import {
511
552
  listCampaignAssets,
512
553
  listCampaignNegativeKeywordLists,
513
554
  listCampaignNegativeKeywords,
555
+ listCollectionMetafields,
514
556
  listCommentAutomationLogs,
515
557
  listCommentAutomations,
558
+ listCommerceCatalogSyncs,
559
+ listCommerceChannels,
560
+ listCommerceCollections,
561
+ listCommerceDiscounts,
562
+ listCommerceInventory,
563
+ listCommerceLocations,
564
+ listCommerceMarkets,
565
+ listCommerceMenus,
566
+ listCommerceMetaobjectDefinitions,
567
+ listCommerceMetaobjects,
568
+ listCommercePages,
569
+ listCommercePriceLists,
570
+ listCommerceProducts,
571
+ listCommerceRedirects,
516
572
  listConnectedApps,
517
573
  listContacts,
518
574
  listConversionActions,
@@ -561,6 +617,7 @@ import {
561
617
  listPhoneNumbers,
562
618
  listPinterestBoardsForSelection,
563
619
  listPosts,
620
+ listProductMetafields,
564
621
  listProducts,
565
622
  listProfiles,
566
623
  listQueueSlots,
@@ -639,6 +696,7 @@ import {
639
696
  removeBookmark,
640
697
  removeBusinessAgentAllowlistEntry,
641
698
  removeCampaignAssets,
699
+ removeCommerceProductImages,
642
700
  removeConversionAssociations,
643
701
  removeCustomConversionGoal,
644
702
  removeDiscordMemberRole,
@@ -651,6 +709,8 @@ import {
651
709
  removeTrackingTagSharedAccount,
652
710
  removeTrackingTagUser,
653
711
  removeWhatsAppGroupParticipants,
712
+ reorderCommerceCollectionProducts,
713
+ reorderCommerceProductImages,
654
714
  replaceAdAudienceCompanies,
655
715
  replaceAdNegativeKeywordListKeywords,
656
716
  replaceBusinessAgentBudget,
@@ -684,6 +744,7 @@ import {
684
744
  revokeConnectedApp,
685
745
  rotateSipTrunkCredentials,
686
746
  runBusinessAgentConnectorTool,
747
+ runCommerceCatalogSync,
687
748
  scheduleBroadcast,
688
749
  searchAdInterests,
689
750
  searchAdLibrary,
@@ -715,7 +776,10 @@ import {
715
776
  sendWhatsAppConversion,
716
777
  sendWhatsAppFlowMessage,
717
778
  setBusinessAgentConnectorCredentials,
779
+ setCollectionMetafields,
718
780
  setCommentModeration,
781
+ setCommerceDiscountActive,
782
+ setCommercePriceListPrices,
719
783
  setContactFieldValue,
720
784
  setConversationThreadControl,
721
785
  setImessageSubscription,
@@ -723,6 +787,7 @@ import {
723
787
  setMessengerGetStarted,
724
788
  setMessengerMenu,
725
789
  setPartnershipAdPermission,
790
+ setProductMetafields,
726
791
  setRedditPostFlair,
727
792
  setTelegramCommands,
728
793
  setWhatsAppFlowsEncryptionKey,
@@ -792,6 +857,14 @@ import {
792
857
  updateCampaignConversionGoals,
793
858
  updateCampaignTargeting,
794
859
  updateCommentAutomation,
860
+ updateCommerceCollection,
861
+ updateCommerceDiscount,
862
+ updateCommerceMenu,
863
+ updateCommerceMetaobject,
864
+ updateCommercePage,
865
+ updateCommerceProduct,
866
+ updateCommerceProductPrices,
867
+ updateCommerceRedirect,
795
868
  updateContact,
796
869
  updateConversionAction,
797
870
  updateConversionDestination,
@@ -848,6 +921,7 @@ import {
848
921
  uploadWhatsAppFlowJson,
849
922
  uploadWhatsAppNumberKycDocument,
850
923
  uploadWhatsAppProfilePhoto,
924
+ upsertCommerceMarketingActivity,
851
925
  validateMedia,
852
926
  validatePhoneNumberKycAddress,
853
927
  validatePost,
@@ -2287,6 +2361,86 @@ export class Zernio {
2287
2361
  updateProduct: this._bind(updateProduct),
2288
2362
  };
2289
2363
 
2364
+ /**
2365
+ * commerce API
2366
+ */
2367
+ commerce = {
2368
+ getCommerceStore: this._bind(getCommerceStore),
2369
+ listCommerceProducts: this._bind(listCommerceProducts),
2370
+ createCommerceProduct: this._bind(createCommerceProduct),
2371
+ changeCommerceProductState: this._bind(changeCommerceProductState),
2372
+ getCommerceProduct: this._bind(getCommerceProduct),
2373
+ updateCommerceProduct: this._bind(updateCommerceProduct),
2374
+ updateCommerceProductPrices: this._bind(updateCommerceProductPrices),
2375
+ listCommerceCollections: this._bind(listCommerceCollections),
2376
+ createCommerceCollection: this._bind(createCommerceCollection),
2377
+ getCommerceCollection: this._bind(getCommerceCollection),
2378
+ updateCommerceCollection: this._bind(updateCommerceCollection),
2379
+ deleteCommerceCollection: this._bind(deleteCommerceCollection),
2380
+ changeCommerceCollectionProducts: this._bind(changeCommerceCollectionProducts),
2381
+ createCommerceProductVariants: this._bind(createCommerceProductVariants),
2382
+ deleteCommerceProductVariants: this._bind(deleteCommerceProductVariants),
2383
+ createCommerceProductOptions: this._bind(createCommerceProductOptions),
2384
+ deleteCommerceProductOptions: this._bind(deleteCommerceProductOptions),
2385
+ addCommerceProductImages: this._bind(addCommerceProductImages),
2386
+ removeCommerceProductImages: this._bind(removeCommerceProductImages),
2387
+ reorderCommerceProductImages: this._bind(reorderCommerceProductImages),
2388
+ duplicateCommerceProduct: this._bind(duplicateCommerceProduct),
2389
+ listProductMetafields: this._bind(listProductMetafields),
2390
+ setProductMetafields: this._bind(setProductMetafields),
2391
+ deleteProductMetafields: this._bind(deleteProductMetafields),
2392
+ changeProductChannels: this._bind(changeProductChannels),
2393
+ listCollectionMetafields: this._bind(listCollectionMetafields),
2394
+ setCollectionMetafields: this._bind(setCollectionMetafields),
2395
+ deleteCollectionMetafields: this._bind(deleteCollectionMetafields),
2396
+ changeCollectionChannels: this._bind(changeCollectionChannels),
2397
+ changeCommerceProductTags: this._bind(changeCommerceProductTags),
2398
+ reorderCommerceCollectionProducts: this._bind(reorderCommerceCollectionProducts),
2399
+ listCommercePages: this._bind(listCommercePages),
2400
+ createCommercePage: this._bind(createCommercePage),
2401
+ getCommercePage: this._bind(getCommercePage),
2402
+ updateCommercePage: this._bind(updateCommercePage),
2403
+ deleteCommercePage: this._bind(deleteCommercePage),
2404
+ listCommerceLocations: this._bind(listCommerceLocations),
2405
+ listCommerceInventory: this._bind(listCommerceInventory),
2406
+ changeCommerceInventory: this._bind(changeCommerceInventory),
2407
+ listCommerceChannels: this._bind(listCommerceChannels),
2408
+ listCommerceDiscounts: this._bind(listCommerceDiscounts),
2409
+ createCommerceDiscount: this._bind(createCommerceDiscount),
2410
+ getCommerceDiscount: this._bind(getCommerceDiscount),
2411
+ updateCommerceDiscount: this._bind(updateCommerceDiscount),
2412
+ deleteCommerceDiscount: this._bind(deleteCommerceDiscount),
2413
+ setCommerceDiscountActive: this._bind(setCommerceDiscountActive),
2414
+ addCommerceDiscountCodes: this._bind(addCommerceDiscountCodes),
2415
+ listCommerceRedirects: this._bind(listCommerceRedirects),
2416
+ createCommerceRedirect: this._bind(createCommerceRedirect),
2417
+ updateCommerceRedirect: this._bind(updateCommerceRedirect),
2418
+ deleteCommerceRedirect: this._bind(deleteCommerceRedirect),
2419
+ listCommerceMenus: this._bind(listCommerceMenus),
2420
+ createCommerceMenu: this._bind(createCommerceMenu),
2421
+ getCommerceMenu: this._bind(getCommerceMenu),
2422
+ updateCommerceMenu: this._bind(updateCommerceMenu),
2423
+ deleteCommerceMenu: this._bind(deleteCommerceMenu),
2424
+ listCommerceMetaobjectDefinitions: this._bind(listCommerceMetaobjectDefinitions),
2425
+ listCommerceMetaobjects: this._bind(listCommerceMetaobjects),
2426
+ createCommerceMetaobject: this._bind(createCommerceMetaobject),
2427
+ getCommerceMetaobject: this._bind(getCommerceMetaobject),
2428
+ updateCommerceMetaobject: this._bind(updateCommerceMetaobject),
2429
+ deleteCommerceMetaobject: this._bind(deleteCommerceMetaobject),
2430
+ listCommerceMarkets: this._bind(listCommerceMarkets),
2431
+ listCommercePriceLists: this._bind(listCommercePriceLists),
2432
+ setCommercePriceListPrices: this._bind(setCommercePriceListPrices),
2433
+ deleteCommercePriceListPrices: this._bind(deleteCommercePriceListPrices),
2434
+ upsertCommerceMarketingActivity: this._bind(upsertCommerceMarketingActivity),
2435
+ deleteCommerceMarketingActivity: this._bind(deleteCommerceMarketingActivity),
2436
+ addCommerceMarketingEngagement: this._bind(addCommerceMarketingEngagement),
2437
+ listCommerceCatalogSyncs: this._bind(listCommerceCatalogSyncs),
2438
+ createCommerceCatalogSync: this._bind(createCommerceCatalogSync),
2439
+ getCommerceCatalogSync: this._bind(getCommerceCatalogSync),
2440
+ deleteCommerceCatalogSync: this._bind(deleteCommerceCatalogSync),
2441
+ runCommerceCatalogSync: this._bind(runCommerceCatalogSync),
2442
+ };
2443
+
2290
2444
  /**
2291
2445
  * verify API
2292
2446
  */