@zernio/node 0.2.997 → 0.2.999
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 +81 -0
- package/dist/index.d.mts +2241 -82
- package/dist/index.d.ts +2241 -82
- package/dist/index.js +545 -1
- package/dist/index.mjs +545 -1
- package/package.json +1 -1
- package/src/client.ts +160 -0
- package/src/generated/sdk.gen.ts +903 -1
- package/src/generated/types.gen.ts +2426 -83
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.
|
|
39
|
+
version: "0.2.999",
|
|
40
40
|
description: "The official Node.js library for the Zernio API",
|
|
41
41
|
main: "dist/index.js",
|
|
42
42
|
module: "dist/index.mjs",
|
|
@@ -2279,6 +2279,24 @@ var listImessageAudience = (options) => {
|
|
|
2279
2279
|
url: "/v1/imessage/audience"
|
|
2280
2280
|
});
|
|
2281
2281
|
};
|
|
2282
|
+
var listImessageSandboxContacts = (options) => {
|
|
2283
|
+
return (options?.client ?? client).get({
|
|
2284
|
+
...options,
|
|
2285
|
+
url: "/v1/imessage/sandbox/contacts"
|
|
2286
|
+
});
|
|
2287
|
+
};
|
|
2288
|
+
var addImessageSandboxContact = (options) => {
|
|
2289
|
+
return (options?.client ?? client).post({
|
|
2290
|
+
...options,
|
|
2291
|
+
url: "/v1/imessage/sandbox/contacts"
|
|
2292
|
+
});
|
|
2293
|
+
};
|
|
2294
|
+
var removeImessageSandboxContact = (options) => {
|
|
2295
|
+
return (options?.client ?? client).delete({
|
|
2296
|
+
...options,
|
|
2297
|
+
url: "/v1/imessage/sandbox/contacts/{contactId}"
|
|
2298
|
+
});
|
|
2299
|
+
};
|
|
2282
2300
|
var setImessageSubscription = (options) => {
|
|
2283
2301
|
return (options?.client ?? client).post({
|
|
2284
2302
|
...options,
|
|
@@ -5502,6 +5520,450 @@ var updateProduct = (options) => {
|
|
|
5502
5520
|
url: "/v1/accounts/{accountId}/products/{productId}"
|
|
5503
5521
|
});
|
|
5504
5522
|
};
|
|
5523
|
+
var getCommerceStore = (options) => {
|
|
5524
|
+
return (options?.client ?? client).get({
|
|
5525
|
+
...options,
|
|
5526
|
+
url: "/v1/commerce/store"
|
|
5527
|
+
});
|
|
5528
|
+
};
|
|
5529
|
+
var listCommerceProducts = (options) => {
|
|
5530
|
+
return (options?.client ?? client).get({
|
|
5531
|
+
...options,
|
|
5532
|
+
url: "/v1/commerce/products"
|
|
5533
|
+
});
|
|
5534
|
+
};
|
|
5535
|
+
var createCommerceProduct = (options) => {
|
|
5536
|
+
return (options?.client ?? client).post({
|
|
5537
|
+
...options,
|
|
5538
|
+
url: "/v1/commerce/products"
|
|
5539
|
+
});
|
|
5540
|
+
};
|
|
5541
|
+
var changeCommerceProductState = (options) => {
|
|
5542
|
+
return (options?.client ?? client).post({
|
|
5543
|
+
...options,
|
|
5544
|
+
url: "/v1/commerce/products/state"
|
|
5545
|
+
});
|
|
5546
|
+
};
|
|
5547
|
+
var getCommerceProduct = (options) => {
|
|
5548
|
+
return (options?.client ?? client).get({
|
|
5549
|
+
...options,
|
|
5550
|
+
url: "/v1/commerce/products/{productId}"
|
|
5551
|
+
});
|
|
5552
|
+
};
|
|
5553
|
+
var updateCommerceProduct = (options) => {
|
|
5554
|
+
return (options?.client ?? client).patch({
|
|
5555
|
+
...options,
|
|
5556
|
+
url: "/v1/commerce/products/{productId}"
|
|
5557
|
+
});
|
|
5558
|
+
};
|
|
5559
|
+
var updateCommerceProductPrices = (options) => {
|
|
5560
|
+
return (options?.client ?? client).post({
|
|
5561
|
+
...options,
|
|
5562
|
+
url: "/v1/commerce/products/{productId}/price"
|
|
5563
|
+
});
|
|
5564
|
+
};
|
|
5565
|
+
var listCommerceCollections = (options) => {
|
|
5566
|
+
return (options?.client ?? client).get({
|
|
5567
|
+
...options,
|
|
5568
|
+
url: "/v1/commerce/collections"
|
|
5569
|
+
});
|
|
5570
|
+
};
|
|
5571
|
+
var createCommerceCollection = (options) => {
|
|
5572
|
+
return (options?.client ?? client).post({
|
|
5573
|
+
...options,
|
|
5574
|
+
url: "/v1/commerce/collections"
|
|
5575
|
+
});
|
|
5576
|
+
};
|
|
5577
|
+
var getCommerceCollection = (options) => {
|
|
5578
|
+
return (options?.client ?? client).get({
|
|
5579
|
+
...options,
|
|
5580
|
+
url: "/v1/commerce/collections/{collectionId}"
|
|
5581
|
+
});
|
|
5582
|
+
};
|
|
5583
|
+
var updateCommerceCollection = (options) => {
|
|
5584
|
+
return (options?.client ?? client).patch({
|
|
5585
|
+
...options,
|
|
5586
|
+
url: "/v1/commerce/collections/{collectionId}"
|
|
5587
|
+
});
|
|
5588
|
+
};
|
|
5589
|
+
var deleteCommerceCollection = (options) => {
|
|
5590
|
+
return (options?.client ?? client).delete({
|
|
5591
|
+
...options,
|
|
5592
|
+
url: "/v1/commerce/collections/{collectionId}"
|
|
5593
|
+
});
|
|
5594
|
+
};
|
|
5595
|
+
var changeCommerceCollectionProducts = (options) => {
|
|
5596
|
+
return (options?.client ?? client).post({
|
|
5597
|
+
...options,
|
|
5598
|
+
url: "/v1/commerce/collections/{collectionId}/products"
|
|
5599
|
+
});
|
|
5600
|
+
};
|
|
5601
|
+
var createCommerceProductVariants = (options) => {
|
|
5602
|
+
return (options?.client ?? client).post({
|
|
5603
|
+
...options,
|
|
5604
|
+
url: "/v1/commerce/products/{productId}/variants"
|
|
5605
|
+
});
|
|
5606
|
+
};
|
|
5607
|
+
var deleteCommerceProductVariants = (options) => {
|
|
5608
|
+
return (options?.client ?? client).delete({
|
|
5609
|
+
...options,
|
|
5610
|
+
url: "/v1/commerce/products/{productId}/variants"
|
|
5611
|
+
});
|
|
5612
|
+
};
|
|
5613
|
+
var createCommerceProductOptions = (options) => {
|
|
5614
|
+
return (options?.client ?? client).post({
|
|
5615
|
+
...options,
|
|
5616
|
+
url: "/v1/commerce/products/{productId}/options"
|
|
5617
|
+
});
|
|
5618
|
+
};
|
|
5619
|
+
var deleteCommerceProductOptions = (options) => {
|
|
5620
|
+
return (options?.client ?? client).delete({
|
|
5621
|
+
...options,
|
|
5622
|
+
url: "/v1/commerce/products/{productId}/options"
|
|
5623
|
+
});
|
|
5624
|
+
};
|
|
5625
|
+
var addCommerceProductImages = (options) => {
|
|
5626
|
+
return (options?.client ?? client).post({
|
|
5627
|
+
...options,
|
|
5628
|
+
url: "/v1/commerce/products/{productId}/images"
|
|
5629
|
+
});
|
|
5630
|
+
};
|
|
5631
|
+
var removeCommerceProductImages = (options) => {
|
|
5632
|
+
return (options?.client ?? client).delete({
|
|
5633
|
+
...options,
|
|
5634
|
+
url: "/v1/commerce/products/{productId}/images"
|
|
5635
|
+
});
|
|
5636
|
+
};
|
|
5637
|
+
var reorderCommerceProductImages = (options) => {
|
|
5638
|
+
return (options?.client ?? client).post({
|
|
5639
|
+
...options,
|
|
5640
|
+
url: "/v1/commerce/products/{productId}/images/reorder"
|
|
5641
|
+
});
|
|
5642
|
+
};
|
|
5643
|
+
var duplicateCommerceProduct = (options) => {
|
|
5644
|
+
return (options?.client ?? client).post({
|
|
5645
|
+
...options,
|
|
5646
|
+
url: "/v1/commerce/products/{productId}/duplicate"
|
|
5647
|
+
});
|
|
5648
|
+
};
|
|
5649
|
+
var listProductMetafields = (options) => {
|
|
5650
|
+
return (options?.client ?? client).get({
|
|
5651
|
+
...options,
|
|
5652
|
+
url: "/v1/commerce/products/{productId}/metafields"
|
|
5653
|
+
});
|
|
5654
|
+
};
|
|
5655
|
+
var setProductMetafields = (options) => {
|
|
5656
|
+
return (options?.client ?? client).put({
|
|
5657
|
+
...options,
|
|
5658
|
+
url: "/v1/commerce/products/{productId}/metafields"
|
|
5659
|
+
});
|
|
5660
|
+
};
|
|
5661
|
+
var deleteProductMetafields = (options) => {
|
|
5662
|
+
return (options?.client ?? client).delete({
|
|
5663
|
+
...options,
|
|
5664
|
+
url: "/v1/commerce/products/{productId}/metafields"
|
|
5665
|
+
});
|
|
5666
|
+
};
|
|
5667
|
+
var changeProductChannels = (options) => {
|
|
5668
|
+
return (options?.client ?? client).post({
|
|
5669
|
+
...options,
|
|
5670
|
+
url: "/v1/commerce/products/{productId}/channels"
|
|
5671
|
+
});
|
|
5672
|
+
};
|
|
5673
|
+
var listCollectionMetafields = (options) => {
|
|
5674
|
+
return (options?.client ?? client).get({
|
|
5675
|
+
...options,
|
|
5676
|
+
url: "/v1/commerce/collections/{collectionId}/metafields"
|
|
5677
|
+
});
|
|
5678
|
+
};
|
|
5679
|
+
var setCollectionMetafields = (options) => {
|
|
5680
|
+
return (options?.client ?? client).put({
|
|
5681
|
+
...options,
|
|
5682
|
+
url: "/v1/commerce/collections/{collectionId}/metafields"
|
|
5683
|
+
});
|
|
5684
|
+
};
|
|
5685
|
+
var deleteCollectionMetafields = (options) => {
|
|
5686
|
+
return (options?.client ?? client).delete({
|
|
5687
|
+
...options,
|
|
5688
|
+
url: "/v1/commerce/collections/{collectionId}/metafields"
|
|
5689
|
+
});
|
|
5690
|
+
};
|
|
5691
|
+
var changeCollectionChannels = (options) => {
|
|
5692
|
+
return (options?.client ?? client).post({
|
|
5693
|
+
...options,
|
|
5694
|
+
url: "/v1/commerce/collections/{collectionId}/channels"
|
|
5695
|
+
});
|
|
5696
|
+
};
|
|
5697
|
+
var changeCommerceProductTags = (options) => {
|
|
5698
|
+
return (options?.client ?? client).post({
|
|
5699
|
+
...options,
|
|
5700
|
+
url: "/v1/commerce/products/tags"
|
|
5701
|
+
});
|
|
5702
|
+
};
|
|
5703
|
+
var reorderCommerceCollectionProducts = (options) => {
|
|
5704
|
+
return (options?.client ?? client).post({
|
|
5705
|
+
...options,
|
|
5706
|
+
url: "/v1/commerce/collections/{collectionId}/reorder"
|
|
5707
|
+
});
|
|
5708
|
+
};
|
|
5709
|
+
var listCommercePages = (options) => {
|
|
5710
|
+
return (options?.client ?? client).get({
|
|
5711
|
+
...options,
|
|
5712
|
+
url: "/v1/commerce/pages"
|
|
5713
|
+
});
|
|
5714
|
+
};
|
|
5715
|
+
var createCommercePage = (options) => {
|
|
5716
|
+
return (options?.client ?? client).post({
|
|
5717
|
+
...options,
|
|
5718
|
+
url: "/v1/commerce/pages"
|
|
5719
|
+
});
|
|
5720
|
+
};
|
|
5721
|
+
var getCommercePage = (options) => {
|
|
5722
|
+
return (options?.client ?? client).get({
|
|
5723
|
+
...options,
|
|
5724
|
+
url: "/v1/commerce/pages/{pageId}"
|
|
5725
|
+
});
|
|
5726
|
+
};
|
|
5727
|
+
var updateCommercePage = (options) => {
|
|
5728
|
+
return (options?.client ?? client).patch({
|
|
5729
|
+
...options,
|
|
5730
|
+
url: "/v1/commerce/pages/{pageId}"
|
|
5731
|
+
});
|
|
5732
|
+
};
|
|
5733
|
+
var deleteCommercePage = (options) => {
|
|
5734
|
+
return (options?.client ?? client).delete({
|
|
5735
|
+
...options,
|
|
5736
|
+
url: "/v1/commerce/pages/{pageId}"
|
|
5737
|
+
});
|
|
5738
|
+
};
|
|
5739
|
+
var listCommerceLocations = (options) => {
|
|
5740
|
+
return (options?.client ?? client).get({
|
|
5741
|
+
...options,
|
|
5742
|
+
url: "/v1/commerce/locations"
|
|
5743
|
+
});
|
|
5744
|
+
};
|
|
5745
|
+
var listCommerceInventory = (options) => {
|
|
5746
|
+
return (options?.client ?? client).get({
|
|
5747
|
+
...options,
|
|
5748
|
+
url: "/v1/commerce/inventory"
|
|
5749
|
+
});
|
|
5750
|
+
};
|
|
5751
|
+
var changeCommerceInventory = (options) => {
|
|
5752
|
+
return (options?.client ?? client).post({
|
|
5753
|
+
...options,
|
|
5754
|
+
url: "/v1/commerce/products/{productId}/inventory"
|
|
5755
|
+
});
|
|
5756
|
+
};
|
|
5757
|
+
var listCommerceChannels = (options) => {
|
|
5758
|
+
return (options?.client ?? client).get({
|
|
5759
|
+
...options,
|
|
5760
|
+
url: "/v1/commerce/channels"
|
|
5761
|
+
});
|
|
5762
|
+
};
|
|
5763
|
+
var listCommerceDiscounts = (options) => {
|
|
5764
|
+
return (options?.client ?? client).get({
|
|
5765
|
+
...options,
|
|
5766
|
+
url: "/v1/commerce/discounts"
|
|
5767
|
+
});
|
|
5768
|
+
};
|
|
5769
|
+
var createCommerceDiscount = (options) => {
|
|
5770
|
+
return (options?.client ?? client).post({
|
|
5771
|
+
...options,
|
|
5772
|
+
url: "/v1/commerce/discounts"
|
|
5773
|
+
});
|
|
5774
|
+
};
|
|
5775
|
+
var getCommerceDiscount = (options) => {
|
|
5776
|
+
return (options?.client ?? client).get({
|
|
5777
|
+
...options,
|
|
5778
|
+
url: "/v1/commerce/discounts/{discountId}"
|
|
5779
|
+
});
|
|
5780
|
+
};
|
|
5781
|
+
var updateCommerceDiscount = (options) => {
|
|
5782
|
+
return (options?.client ?? client).patch({
|
|
5783
|
+
...options,
|
|
5784
|
+
url: "/v1/commerce/discounts/{discountId}"
|
|
5785
|
+
});
|
|
5786
|
+
};
|
|
5787
|
+
var deleteCommerceDiscount = (options) => {
|
|
5788
|
+
return (options?.client ?? client).delete({
|
|
5789
|
+
...options,
|
|
5790
|
+
url: "/v1/commerce/discounts/{discountId}"
|
|
5791
|
+
});
|
|
5792
|
+
};
|
|
5793
|
+
var setCommerceDiscountActive = (options) => {
|
|
5794
|
+
return (options?.client ?? client).post({
|
|
5795
|
+
...options,
|
|
5796
|
+
url: "/v1/commerce/discounts/{discountId}/state"
|
|
5797
|
+
});
|
|
5798
|
+
};
|
|
5799
|
+
var addCommerceDiscountCodes = (options) => {
|
|
5800
|
+
return (options?.client ?? client).post({
|
|
5801
|
+
...options,
|
|
5802
|
+
url: "/v1/commerce/discounts/{discountId}/codes"
|
|
5803
|
+
});
|
|
5804
|
+
};
|
|
5805
|
+
var listCommerceRedirects = (options) => {
|
|
5806
|
+
return (options?.client ?? client).get({
|
|
5807
|
+
...options,
|
|
5808
|
+
url: "/v1/commerce/redirects"
|
|
5809
|
+
});
|
|
5810
|
+
};
|
|
5811
|
+
var createCommerceRedirect = (options) => {
|
|
5812
|
+
return (options?.client ?? client).post({
|
|
5813
|
+
...options,
|
|
5814
|
+
url: "/v1/commerce/redirects"
|
|
5815
|
+
});
|
|
5816
|
+
};
|
|
5817
|
+
var updateCommerceRedirect = (options) => {
|
|
5818
|
+
return (options?.client ?? client).patch({
|
|
5819
|
+
...options,
|
|
5820
|
+
url: "/v1/commerce/redirects/{redirectId}"
|
|
5821
|
+
});
|
|
5822
|
+
};
|
|
5823
|
+
var deleteCommerceRedirect = (options) => {
|
|
5824
|
+
return (options?.client ?? client).delete({
|
|
5825
|
+
...options,
|
|
5826
|
+
url: "/v1/commerce/redirects/{redirectId}"
|
|
5827
|
+
});
|
|
5828
|
+
};
|
|
5829
|
+
var listCommerceMenus = (options) => {
|
|
5830
|
+
return (options?.client ?? client).get({
|
|
5831
|
+
...options,
|
|
5832
|
+
url: "/v1/commerce/menus"
|
|
5833
|
+
});
|
|
5834
|
+
};
|
|
5835
|
+
var createCommerceMenu = (options) => {
|
|
5836
|
+
return (options?.client ?? client).post({
|
|
5837
|
+
...options,
|
|
5838
|
+
url: "/v1/commerce/menus"
|
|
5839
|
+
});
|
|
5840
|
+
};
|
|
5841
|
+
var getCommerceMenu = (options) => {
|
|
5842
|
+
return (options?.client ?? client).get({
|
|
5843
|
+
...options,
|
|
5844
|
+
url: "/v1/commerce/menus/{menuId}"
|
|
5845
|
+
});
|
|
5846
|
+
};
|
|
5847
|
+
var updateCommerceMenu = (options) => {
|
|
5848
|
+
return (options?.client ?? client).put({
|
|
5849
|
+
...options,
|
|
5850
|
+
url: "/v1/commerce/menus/{menuId}"
|
|
5851
|
+
});
|
|
5852
|
+
};
|
|
5853
|
+
var deleteCommerceMenu = (options) => {
|
|
5854
|
+
return (options?.client ?? client).delete({
|
|
5855
|
+
...options,
|
|
5856
|
+
url: "/v1/commerce/menus/{menuId}"
|
|
5857
|
+
});
|
|
5858
|
+
};
|
|
5859
|
+
var listCommerceMetaobjectDefinitions = (options) => {
|
|
5860
|
+
return (options?.client ?? client).get({
|
|
5861
|
+
...options,
|
|
5862
|
+
url: "/v1/commerce/metaobject-definitions"
|
|
5863
|
+
});
|
|
5864
|
+
};
|
|
5865
|
+
var listCommerceMetaobjects = (options) => {
|
|
5866
|
+
return (options?.client ?? client).get({
|
|
5867
|
+
...options,
|
|
5868
|
+
url: "/v1/commerce/metaobjects"
|
|
5869
|
+
});
|
|
5870
|
+
};
|
|
5871
|
+
var createCommerceMetaobject = (options) => {
|
|
5872
|
+
return (options?.client ?? client).post({
|
|
5873
|
+
...options,
|
|
5874
|
+
url: "/v1/commerce/metaobjects"
|
|
5875
|
+
});
|
|
5876
|
+
};
|
|
5877
|
+
var getCommerceMetaobject = (options) => {
|
|
5878
|
+
return (options?.client ?? client).get({
|
|
5879
|
+
...options,
|
|
5880
|
+
url: "/v1/commerce/metaobjects/{metaobjectId}"
|
|
5881
|
+
});
|
|
5882
|
+
};
|
|
5883
|
+
var updateCommerceMetaobject = (options) => {
|
|
5884
|
+
return (options?.client ?? client).patch({
|
|
5885
|
+
...options,
|
|
5886
|
+
url: "/v1/commerce/metaobjects/{metaobjectId}"
|
|
5887
|
+
});
|
|
5888
|
+
};
|
|
5889
|
+
var deleteCommerceMetaobject = (options) => {
|
|
5890
|
+
return (options?.client ?? client).delete({
|
|
5891
|
+
...options,
|
|
5892
|
+
url: "/v1/commerce/metaobjects/{metaobjectId}"
|
|
5893
|
+
});
|
|
5894
|
+
};
|
|
5895
|
+
var listCommerceMarkets = (options) => {
|
|
5896
|
+
return (options?.client ?? client).get({
|
|
5897
|
+
...options,
|
|
5898
|
+
url: "/v1/commerce/markets"
|
|
5899
|
+
});
|
|
5900
|
+
};
|
|
5901
|
+
var listCommercePriceLists = (options) => {
|
|
5902
|
+
return (options?.client ?? client).get({
|
|
5903
|
+
...options,
|
|
5904
|
+
url: "/v1/commerce/price-lists"
|
|
5905
|
+
});
|
|
5906
|
+
};
|
|
5907
|
+
var setCommercePriceListPrices = (options) => {
|
|
5908
|
+
return (options?.client ?? client).put({
|
|
5909
|
+
...options,
|
|
5910
|
+
url: "/v1/commerce/price-lists/{priceListId}/prices"
|
|
5911
|
+
});
|
|
5912
|
+
};
|
|
5913
|
+
var deleteCommercePriceListPrices = (options) => {
|
|
5914
|
+
return (options?.client ?? client).delete({
|
|
5915
|
+
...options,
|
|
5916
|
+
url: "/v1/commerce/price-lists/{priceListId}/prices"
|
|
5917
|
+
});
|
|
5918
|
+
};
|
|
5919
|
+
var upsertCommerceMarketingActivity = (options) => {
|
|
5920
|
+
return (options?.client ?? client).put({
|
|
5921
|
+
...options,
|
|
5922
|
+
url: "/v1/commerce/marketing-activities"
|
|
5923
|
+
});
|
|
5924
|
+
};
|
|
5925
|
+
var deleteCommerceMarketingActivity = (options) => {
|
|
5926
|
+
return (options?.client ?? client).delete({
|
|
5927
|
+
...options,
|
|
5928
|
+
url: "/v1/commerce/marketing-activities/{remoteId}"
|
|
5929
|
+
});
|
|
5930
|
+
};
|
|
5931
|
+
var addCommerceMarketingEngagement = (options) => {
|
|
5932
|
+
return (options?.client ?? client).post({
|
|
5933
|
+
...options,
|
|
5934
|
+
url: "/v1/commerce/marketing-activities/{remoteId}/engagements"
|
|
5935
|
+
});
|
|
5936
|
+
};
|
|
5937
|
+
var listCommerceCatalogSyncs = (options) => {
|
|
5938
|
+
return (options?.client ?? client).get({
|
|
5939
|
+
...options,
|
|
5940
|
+
url: "/v1/commerce/catalog-syncs"
|
|
5941
|
+
});
|
|
5942
|
+
};
|
|
5943
|
+
var createCommerceCatalogSync = (options) => {
|
|
5944
|
+
return (options?.client ?? client).post({
|
|
5945
|
+
...options,
|
|
5946
|
+
url: "/v1/commerce/catalog-syncs"
|
|
5947
|
+
});
|
|
5948
|
+
};
|
|
5949
|
+
var getCommerceCatalogSync = (options) => {
|
|
5950
|
+
return (options?.client ?? client).get({
|
|
5951
|
+
...options,
|
|
5952
|
+
url: "/v1/commerce/catalog-syncs/{syncId}"
|
|
5953
|
+
});
|
|
5954
|
+
};
|
|
5955
|
+
var deleteCommerceCatalogSync = (options) => {
|
|
5956
|
+
return (options?.client ?? client).delete({
|
|
5957
|
+
...options,
|
|
5958
|
+
url: "/v1/commerce/catalog-syncs/{syncId}"
|
|
5959
|
+
});
|
|
5960
|
+
};
|
|
5961
|
+
var runCommerceCatalogSync = (options) => {
|
|
5962
|
+
return (options?.client ?? client).post({
|
|
5963
|
+
...options,
|
|
5964
|
+
url: "/v1/commerce/catalog-syncs/{syncId}/run"
|
|
5965
|
+
});
|
|
5966
|
+
};
|
|
5505
5967
|
var createVerification = (options) => {
|
|
5506
5968
|
return (options?.client ?? client).post({
|
|
5507
5969
|
...options,
|
|
@@ -6240,6 +6702,9 @@ var Zernio = class _Zernio {
|
|
|
6240
6702
|
updateImessageSender: this._bind(updateImessageSender),
|
|
6241
6703
|
cancelImessageSender: this._bind(cancelImessageSender),
|
|
6242
6704
|
listImessageAudience: this._bind(listImessageAudience),
|
|
6705
|
+
listImessageSandboxContacts: this._bind(listImessageSandboxContacts),
|
|
6706
|
+
addImessageSandboxContact: this._bind(addImessageSandboxContact),
|
|
6707
|
+
removeImessageSandboxContact: this._bind(removeImessageSandboxContact),
|
|
6243
6708
|
setImessageSubscription: this._bind(setImessageSubscription),
|
|
6244
6709
|
createImessageOptInLink: this._bind(createImessageOptInLink),
|
|
6245
6710
|
listImessageAvailableNumbers: this._bind(listImessageAvailableNumbers),
|
|
@@ -6879,6 +7344,85 @@ var Zernio = class _Zernio {
|
|
|
6879
7344
|
getProduct: this._bind(getProduct),
|
|
6880
7345
|
updateProduct: this._bind(updateProduct)
|
|
6881
7346
|
};
|
|
7347
|
+
/**
|
|
7348
|
+
* commerce API
|
|
7349
|
+
*/
|
|
7350
|
+
this.commerce = {
|
|
7351
|
+
getCommerceStore: this._bind(getCommerceStore),
|
|
7352
|
+
listCommerceProducts: this._bind(listCommerceProducts),
|
|
7353
|
+
createCommerceProduct: this._bind(createCommerceProduct),
|
|
7354
|
+
changeCommerceProductState: this._bind(changeCommerceProductState),
|
|
7355
|
+
getCommerceProduct: this._bind(getCommerceProduct),
|
|
7356
|
+
updateCommerceProduct: this._bind(updateCommerceProduct),
|
|
7357
|
+
updateCommerceProductPrices: this._bind(updateCommerceProductPrices),
|
|
7358
|
+
listCommerceCollections: this._bind(listCommerceCollections),
|
|
7359
|
+
createCommerceCollection: this._bind(createCommerceCollection),
|
|
7360
|
+
getCommerceCollection: this._bind(getCommerceCollection),
|
|
7361
|
+
updateCommerceCollection: this._bind(updateCommerceCollection),
|
|
7362
|
+
deleteCommerceCollection: this._bind(deleteCommerceCollection),
|
|
7363
|
+
changeCommerceCollectionProducts: this._bind(changeCommerceCollectionProducts),
|
|
7364
|
+
createCommerceProductVariants: this._bind(createCommerceProductVariants),
|
|
7365
|
+
deleteCommerceProductVariants: this._bind(deleteCommerceProductVariants),
|
|
7366
|
+
createCommerceProductOptions: this._bind(createCommerceProductOptions),
|
|
7367
|
+
deleteCommerceProductOptions: this._bind(deleteCommerceProductOptions),
|
|
7368
|
+
addCommerceProductImages: this._bind(addCommerceProductImages),
|
|
7369
|
+
removeCommerceProductImages: this._bind(removeCommerceProductImages),
|
|
7370
|
+
reorderCommerceProductImages: this._bind(reorderCommerceProductImages),
|
|
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),
|
|
7380
|
+
changeCommerceProductTags: this._bind(changeCommerceProductTags),
|
|
7381
|
+
reorderCommerceCollectionProducts: this._bind(reorderCommerceCollectionProducts),
|
|
7382
|
+
listCommercePages: this._bind(listCommercePages),
|
|
7383
|
+
createCommercePage: this._bind(createCommercePage),
|
|
7384
|
+
getCommercePage: this._bind(getCommercePage),
|
|
7385
|
+
updateCommercePage: this._bind(updateCommercePage),
|
|
7386
|
+
deleteCommercePage: this._bind(deleteCommercePage),
|
|
7387
|
+
listCommerceLocations: this._bind(listCommerceLocations),
|
|
7388
|
+
listCommerceInventory: this._bind(listCommerceInventory),
|
|
7389
|
+
changeCommerceInventory: this._bind(changeCommerceInventory),
|
|
7390
|
+
listCommerceChannels: this._bind(listCommerceChannels),
|
|
7391
|
+
listCommerceDiscounts: this._bind(listCommerceDiscounts),
|
|
7392
|
+
createCommerceDiscount: this._bind(createCommerceDiscount),
|
|
7393
|
+
getCommerceDiscount: this._bind(getCommerceDiscount),
|
|
7394
|
+
updateCommerceDiscount: this._bind(updateCommerceDiscount),
|
|
7395
|
+
deleteCommerceDiscount: this._bind(deleteCommerceDiscount),
|
|
7396
|
+
setCommerceDiscountActive: this._bind(setCommerceDiscountActive),
|
|
7397
|
+
addCommerceDiscountCodes: this._bind(addCommerceDiscountCodes),
|
|
7398
|
+
listCommerceRedirects: this._bind(listCommerceRedirects),
|
|
7399
|
+
createCommerceRedirect: this._bind(createCommerceRedirect),
|
|
7400
|
+
updateCommerceRedirect: this._bind(updateCommerceRedirect),
|
|
7401
|
+
deleteCommerceRedirect: this._bind(deleteCommerceRedirect),
|
|
7402
|
+
listCommerceMenus: this._bind(listCommerceMenus),
|
|
7403
|
+
createCommerceMenu: this._bind(createCommerceMenu),
|
|
7404
|
+
getCommerceMenu: this._bind(getCommerceMenu),
|
|
7405
|
+
updateCommerceMenu: this._bind(updateCommerceMenu),
|
|
7406
|
+
deleteCommerceMenu: this._bind(deleteCommerceMenu),
|
|
7407
|
+
listCommerceMetaobjectDefinitions: this._bind(listCommerceMetaobjectDefinitions),
|
|
7408
|
+
listCommerceMetaobjects: this._bind(listCommerceMetaobjects),
|
|
7409
|
+
createCommerceMetaobject: this._bind(createCommerceMetaobject),
|
|
7410
|
+
getCommerceMetaobject: this._bind(getCommerceMetaobject),
|
|
7411
|
+
updateCommerceMetaobject: this._bind(updateCommerceMetaobject),
|
|
7412
|
+
deleteCommerceMetaobject: this._bind(deleteCommerceMetaobject),
|
|
7413
|
+
listCommerceMarkets: this._bind(listCommerceMarkets),
|
|
7414
|
+
listCommercePriceLists: this._bind(listCommercePriceLists),
|
|
7415
|
+
setCommercePriceListPrices: this._bind(setCommercePriceListPrices),
|
|
7416
|
+
deleteCommercePriceListPrices: this._bind(deleteCommercePriceListPrices),
|
|
7417
|
+
upsertCommerceMarketingActivity: this._bind(upsertCommerceMarketingActivity),
|
|
7418
|
+
deleteCommerceMarketingActivity: this._bind(deleteCommerceMarketingActivity),
|
|
7419
|
+
addCommerceMarketingEngagement: this._bind(addCommerceMarketingEngagement),
|
|
7420
|
+
listCommerceCatalogSyncs: this._bind(listCommerceCatalogSyncs),
|
|
7421
|
+
createCommerceCatalogSync: this._bind(createCommerceCatalogSync),
|
|
7422
|
+
getCommerceCatalogSync: this._bind(getCommerceCatalogSync),
|
|
7423
|
+
deleteCommerceCatalogSync: this._bind(deleteCommerceCatalogSync),
|
|
7424
|
+
runCommerceCatalogSync: this._bind(runCommerceCatalogSync)
|
|
7425
|
+
};
|
|
6882
7426
|
/**
|
|
6883
7427
|
* verify API
|
|
6884
7428
|
*/
|