@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.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.
|
|
8
|
+
version: "0.2.999",
|
|
9
9
|
description: "The official Node.js library for the Zernio API",
|
|
10
10
|
main: "dist/index.js",
|
|
11
11
|
module: "dist/index.mjs",
|
|
@@ -2248,6 +2248,24 @@ var listImessageAudience = (options) => {
|
|
|
2248
2248
|
url: "/v1/imessage/audience"
|
|
2249
2249
|
});
|
|
2250
2250
|
};
|
|
2251
|
+
var listImessageSandboxContacts = (options) => {
|
|
2252
|
+
return (options?.client ?? client).get({
|
|
2253
|
+
...options,
|
|
2254
|
+
url: "/v1/imessage/sandbox/contacts"
|
|
2255
|
+
});
|
|
2256
|
+
};
|
|
2257
|
+
var addImessageSandboxContact = (options) => {
|
|
2258
|
+
return (options?.client ?? client).post({
|
|
2259
|
+
...options,
|
|
2260
|
+
url: "/v1/imessage/sandbox/contacts"
|
|
2261
|
+
});
|
|
2262
|
+
};
|
|
2263
|
+
var removeImessageSandboxContact = (options) => {
|
|
2264
|
+
return (options?.client ?? client).delete({
|
|
2265
|
+
...options,
|
|
2266
|
+
url: "/v1/imessage/sandbox/contacts/{contactId}"
|
|
2267
|
+
});
|
|
2268
|
+
};
|
|
2251
2269
|
var setImessageSubscription = (options) => {
|
|
2252
2270
|
return (options?.client ?? client).post({
|
|
2253
2271
|
...options,
|
|
@@ -5471,6 +5489,450 @@ var updateProduct = (options) => {
|
|
|
5471
5489
|
url: "/v1/accounts/{accountId}/products/{productId}"
|
|
5472
5490
|
});
|
|
5473
5491
|
};
|
|
5492
|
+
var getCommerceStore = (options) => {
|
|
5493
|
+
return (options?.client ?? client).get({
|
|
5494
|
+
...options,
|
|
5495
|
+
url: "/v1/commerce/store"
|
|
5496
|
+
});
|
|
5497
|
+
};
|
|
5498
|
+
var listCommerceProducts = (options) => {
|
|
5499
|
+
return (options?.client ?? client).get({
|
|
5500
|
+
...options,
|
|
5501
|
+
url: "/v1/commerce/products"
|
|
5502
|
+
});
|
|
5503
|
+
};
|
|
5504
|
+
var createCommerceProduct = (options) => {
|
|
5505
|
+
return (options?.client ?? client).post({
|
|
5506
|
+
...options,
|
|
5507
|
+
url: "/v1/commerce/products"
|
|
5508
|
+
});
|
|
5509
|
+
};
|
|
5510
|
+
var changeCommerceProductState = (options) => {
|
|
5511
|
+
return (options?.client ?? client).post({
|
|
5512
|
+
...options,
|
|
5513
|
+
url: "/v1/commerce/products/state"
|
|
5514
|
+
});
|
|
5515
|
+
};
|
|
5516
|
+
var getCommerceProduct = (options) => {
|
|
5517
|
+
return (options?.client ?? client).get({
|
|
5518
|
+
...options,
|
|
5519
|
+
url: "/v1/commerce/products/{productId}"
|
|
5520
|
+
});
|
|
5521
|
+
};
|
|
5522
|
+
var updateCommerceProduct = (options) => {
|
|
5523
|
+
return (options?.client ?? client).patch({
|
|
5524
|
+
...options,
|
|
5525
|
+
url: "/v1/commerce/products/{productId}"
|
|
5526
|
+
});
|
|
5527
|
+
};
|
|
5528
|
+
var updateCommerceProductPrices = (options) => {
|
|
5529
|
+
return (options?.client ?? client).post({
|
|
5530
|
+
...options,
|
|
5531
|
+
url: "/v1/commerce/products/{productId}/price"
|
|
5532
|
+
});
|
|
5533
|
+
};
|
|
5534
|
+
var listCommerceCollections = (options) => {
|
|
5535
|
+
return (options?.client ?? client).get({
|
|
5536
|
+
...options,
|
|
5537
|
+
url: "/v1/commerce/collections"
|
|
5538
|
+
});
|
|
5539
|
+
};
|
|
5540
|
+
var createCommerceCollection = (options) => {
|
|
5541
|
+
return (options?.client ?? client).post({
|
|
5542
|
+
...options,
|
|
5543
|
+
url: "/v1/commerce/collections"
|
|
5544
|
+
});
|
|
5545
|
+
};
|
|
5546
|
+
var getCommerceCollection = (options) => {
|
|
5547
|
+
return (options?.client ?? client).get({
|
|
5548
|
+
...options,
|
|
5549
|
+
url: "/v1/commerce/collections/{collectionId}"
|
|
5550
|
+
});
|
|
5551
|
+
};
|
|
5552
|
+
var updateCommerceCollection = (options) => {
|
|
5553
|
+
return (options?.client ?? client).patch({
|
|
5554
|
+
...options,
|
|
5555
|
+
url: "/v1/commerce/collections/{collectionId}"
|
|
5556
|
+
});
|
|
5557
|
+
};
|
|
5558
|
+
var deleteCommerceCollection = (options) => {
|
|
5559
|
+
return (options?.client ?? client).delete({
|
|
5560
|
+
...options,
|
|
5561
|
+
url: "/v1/commerce/collections/{collectionId}"
|
|
5562
|
+
});
|
|
5563
|
+
};
|
|
5564
|
+
var changeCommerceCollectionProducts = (options) => {
|
|
5565
|
+
return (options?.client ?? client).post({
|
|
5566
|
+
...options,
|
|
5567
|
+
url: "/v1/commerce/collections/{collectionId}/products"
|
|
5568
|
+
});
|
|
5569
|
+
};
|
|
5570
|
+
var createCommerceProductVariants = (options) => {
|
|
5571
|
+
return (options?.client ?? client).post({
|
|
5572
|
+
...options,
|
|
5573
|
+
url: "/v1/commerce/products/{productId}/variants"
|
|
5574
|
+
});
|
|
5575
|
+
};
|
|
5576
|
+
var deleteCommerceProductVariants = (options) => {
|
|
5577
|
+
return (options?.client ?? client).delete({
|
|
5578
|
+
...options,
|
|
5579
|
+
url: "/v1/commerce/products/{productId}/variants"
|
|
5580
|
+
});
|
|
5581
|
+
};
|
|
5582
|
+
var createCommerceProductOptions = (options) => {
|
|
5583
|
+
return (options?.client ?? client).post({
|
|
5584
|
+
...options,
|
|
5585
|
+
url: "/v1/commerce/products/{productId}/options"
|
|
5586
|
+
});
|
|
5587
|
+
};
|
|
5588
|
+
var deleteCommerceProductOptions = (options) => {
|
|
5589
|
+
return (options?.client ?? client).delete({
|
|
5590
|
+
...options,
|
|
5591
|
+
url: "/v1/commerce/products/{productId}/options"
|
|
5592
|
+
});
|
|
5593
|
+
};
|
|
5594
|
+
var addCommerceProductImages = (options) => {
|
|
5595
|
+
return (options?.client ?? client).post({
|
|
5596
|
+
...options,
|
|
5597
|
+
url: "/v1/commerce/products/{productId}/images"
|
|
5598
|
+
});
|
|
5599
|
+
};
|
|
5600
|
+
var removeCommerceProductImages = (options) => {
|
|
5601
|
+
return (options?.client ?? client).delete({
|
|
5602
|
+
...options,
|
|
5603
|
+
url: "/v1/commerce/products/{productId}/images"
|
|
5604
|
+
});
|
|
5605
|
+
};
|
|
5606
|
+
var reorderCommerceProductImages = (options) => {
|
|
5607
|
+
return (options?.client ?? client).post({
|
|
5608
|
+
...options,
|
|
5609
|
+
url: "/v1/commerce/products/{productId}/images/reorder"
|
|
5610
|
+
});
|
|
5611
|
+
};
|
|
5612
|
+
var duplicateCommerceProduct = (options) => {
|
|
5613
|
+
return (options?.client ?? client).post({
|
|
5614
|
+
...options,
|
|
5615
|
+
url: "/v1/commerce/products/{productId}/duplicate"
|
|
5616
|
+
});
|
|
5617
|
+
};
|
|
5618
|
+
var listProductMetafields = (options) => {
|
|
5619
|
+
return (options?.client ?? client).get({
|
|
5620
|
+
...options,
|
|
5621
|
+
url: "/v1/commerce/products/{productId}/metafields"
|
|
5622
|
+
});
|
|
5623
|
+
};
|
|
5624
|
+
var setProductMetafields = (options) => {
|
|
5625
|
+
return (options?.client ?? client).put({
|
|
5626
|
+
...options,
|
|
5627
|
+
url: "/v1/commerce/products/{productId}/metafields"
|
|
5628
|
+
});
|
|
5629
|
+
};
|
|
5630
|
+
var deleteProductMetafields = (options) => {
|
|
5631
|
+
return (options?.client ?? client).delete({
|
|
5632
|
+
...options,
|
|
5633
|
+
url: "/v1/commerce/products/{productId}/metafields"
|
|
5634
|
+
});
|
|
5635
|
+
};
|
|
5636
|
+
var changeProductChannels = (options) => {
|
|
5637
|
+
return (options?.client ?? client).post({
|
|
5638
|
+
...options,
|
|
5639
|
+
url: "/v1/commerce/products/{productId}/channels"
|
|
5640
|
+
});
|
|
5641
|
+
};
|
|
5642
|
+
var listCollectionMetafields = (options) => {
|
|
5643
|
+
return (options?.client ?? client).get({
|
|
5644
|
+
...options,
|
|
5645
|
+
url: "/v1/commerce/collections/{collectionId}/metafields"
|
|
5646
|
+
});
|
|
5647
|
+
};
|
|
5648
|
+
var setCollectionMetafields = (options) => {
|
|
5649
|
+
return (options?.client ?? client).put({
|
|
5650
|
+
...options,
|
|
5651
|
+
url: "/v1/commerce/collections/{collectionId}/metafields"
|
|
5652
|
+
});
|
|
5653
|
+
};
|
|
5654
|
+
var deleteCollectionMetafields = (options) => {
|
|
5655
|
+
return (options?.client ?? client).delete({
|
|
5656
|
+
...options,
|
|
5657
|
+
url: "/v1/commerce/collections/{collectionId}/metafields"
|
|
5658
|
+
});
|
|
5659
|
+
};
|
|
5660
|
+
var changeCollectionChannels = (options) => {
|
|
5661
|
+
return (options?.client ?? client).post({
|
|
5662
|
+
...options,
|
|
5663
|
+
url: "/v1/commerce/collections/{collectionId}/channels"
|
|
5664
|
+
});
|
|
5665
|
+
};
|
|
5666
|
+
var changeCommerceProductTags = (options) => {
|
|
5667
|
+
return (options?.client ?? client).post({
|
|
5668
|
+
...options,
|
|
5669
|
+
url: "/v1/commerce/products/tags"
|
|
5670
|
+
});
|
|
5671
|
+
};
|
|
5672
|
+
var reorderCommerceCollectionProducts = (options) => {
|
|
5673
|
+
return (options?.client ?? client).post({
|
|
5674
|
+
...options,
|
|
5675
|
+
url: "/v1/commerce/collections/{collectionId}/reorder"
|
|
5676
|
+
});
|
|
5677
|
+
};
|
|
5678
|
+
var listCommercePages = (options) => {
|
|
5679
|
+
return (options?.client ?? client).get({
|
|
5680
|
+
...options,
|
|
5681
|
+
url: "/v1/commerce/pages"
|
|
5682
|
+
});
|
|
5683
|
+
};
|
|
5684
|
+
var createCommercePage = (options) => {
|
|
5685
|
+
return (options?.client ?? client).post({
|
|
5686
|
+
...options,
|
|
5687
|
+
url: "/v1/commerce/pages"
|
|
5688
|
+
});
|
|
5689
|
+
};
|
|
5690
|
+
var getCommercePage = (options) => {
|
|
5691
|
+
return (options?.client ?? client).get({
|
|
5692
|
+
...options,
|
|
5693
|
+
url: "/v1/commerce/pages/{pageId}"
|
|
5694
|
+
});
|
|
5695
|
+
};
|
|
5696
|
+
var updateCommercePage = (options) => {
|
|
5697
|
+
return (options?.client ?? client).patch({
|
|
5698
|
+
...options,
|
|
5699
|
+
url: "/v1/commerce/pages/{pageId}"
|
|
5700
|
+
});
|
|
5701
|
+
};
|
|
5702
|
+
var deleteCommercePage = (options) => {
|
|
5703
|
+
return (options?.client ?? client).delete({
|
|
5704
|
+
...options,
|
|
5705
|
+
url: "/v1/commerce/pages/{pageId}"
|
|
5706
|
+
});
|
|
5707
|
+
};
|
|
5708
|
+
var listCommerceLocations = (options) => {
|
|
5709
|
+
return (options?.client ?? client).get({
|
|
5710
|
+
...options,
|
|
5711
|
+
url: "/v1/commerce/locations"
|
|
5712
|
+
});
|
|
5713
|
+
};
|
|
5714
|
+
var listCommerceInventory = (options) => {
|
|
5715
|
+
return (options?.client ?? client).get({
|
|
5716
|
+
...options,
|
|
5717
|
+
url: "/v1/commerce/inventory"
|
|
5718
|
+
});
|
|
5719
|
+
};
|
|
5720
|
+
var changeCommerceInventory = (options) => {
|
|
5721
|
+
return (options?.client ?? client).post({
|
|
5722
|
+
...options,
|
|
5723
|
+
url: "/v1/commerce/products/{productId}/inventory"
|
|
5724
|
+
});
|
|
5725
|
+
};
|
|
5726
|
+
var listCommerceChannels = (options) => {
|
|
5727
|
+
return (options?.client ?? client).get({
|
|
5728
|
+
...options,
|
|
5729
|
+
url: "/v1/commerce/channels"
|
|
5730
|
+
});
|
|
5731
|
+
};
|
|
5732
|
+
var listCommerceDiscounts = (options) => {
|
|
5733
|
+
return (options?.client ?? client).get({
|
|
5734
|
+
...options,
|
|
5735
|
+
url: "/v1/commerce/discounts"
|
|
5736
|
+
});
|
|
5737
|
+
};
|
|
5738
|
+
var createCommerceDiscount = (options) => {
|
|
5739
|
+
return (options?.client ?? client).post({
|
|
5740
|
+
...options,
|
|
5741
|
+
url: "/v1/commerce/discounts"
|
|
5742
|
+
});
|
|
5743
|
+
};
|
|
5744
|
+
var getCommerceDiscount = (options) => {
|
|
5745
|
+
return (options?.client ?? client).get({
|
|
5746
|
+
...options,
|
|
5747
|
+
url: "/v1/commerce/discounts/{discountId}"
|
|
5748
|
+
});
|
|
5749
|
+
};
|
|
5750
|
+
var updateCommerceDiscount = (options) => {
|
|
5751
|
+
return (options?.client ?? client).patch({
|
|
5752
|
+
...options,
|
|
5753
|
+
url: "/v1/commerce/discounts/{discountId}"
|
|
5754
|
+
});
|
|
5755
|
+
};
|
|
5756
|
+
var deleteCommerceDiscount = (options) => {
|
|
5757
|
+
return (options?.client ?? client).delete({
|
|
5758
|
+
...options,
|
|
5759
|
+
url: "/v1/commerce/discounts/{discountId}"
|
|
5760
|
+
});
|
|
5761
|
+
};
|
|
5762
|
+
var setCommerceDiscountActive = (options) => {
|
|
5763
|
+
return (options?.client ?? client).post({
|
|
5764
|
+
...options,
|
|
5765
|
+
url: "/v1/commerce/discounts/{discountId}/state"
|
|
5766
|
+
});
|
|
5767
|
+
};
|
|
5768
|
+
var addCommerceDiscountCodes = (options) => {
|
|
5769
|
+
return (options?.client ?? client).post({
|
|
5770
|
+
...options,
|
|
5771
|
+
url: "/v1/commerce/discounts/{discountId}/codes"
|
|
5772
|
+
});
|
|
5773
|
+
};
|
|
5774
|
+
var listCommerceRedirects = (options) => {
|
|
5775
|
+
return (options?.client ?? client).get({
|
|
5776
|
+
...options,
|
|
5777
|
+
url: "/v1/commerce/redirects"
|
|
5778
|
+
});
|
|
5779
|
+
};
|
|
5780
|
+
var createCommerceRedirect = (options) => {
|
|
5781
|
+
return (options?.client ?? client).post({
|
|
5782
|
+
...options,
|
|
5783
|
+
url: "/v1/commerce/redirects"
|
|
5784
|
+
});
|
|
5785
|
+
};
|
|
5786
|
+
var updateCommerceRedirect = (options) => {
|
|
5787
|
+
return (options?.client ?? client).patch({
|
|
5788
|
+
...options,
|
|
5789
|
+
url: "/v1/commerce/redirects/{redirectId}"
|
|
5790
|
+
});
|
|
5791
|
+
};
|
|
5792
|
+
var deleteCommerceRedirect = (options) => {
|
|
5793
|
+
return (options?.client ?? client).delete({
|
|
5794
|
+
...options,
|
|
5795
|
+
url: "/v1/commerce/redirects/{redirectId}"
|
|
5796
|
+
});
|
|
5797
|
+
};
|
|
5798
|
+
var listCommerceMenus = (options) => {
|
|
5799
|
+
return (options?.client ?? client).get({
|
|
5800
|
+
...options,
|
|
5801
|
+
url: "/v1/commerce/menus"
|
|
5802
|
+
});
|
|
5803
|
+
};
|
|
5804
|
+
var createCommerceMenu = (options) => {
|
|
5805
|
+
return (options?.client ?? client).post({
|
|
5806
|
+
...options,
|
|
5807
|
+
url: "/v1/commerce/menus"
|
|
5808
|
+
});
|
|
5809
|
+
};
|
|
5810
|
+
var getCommerceMenu = (options) => {
|
|
5811
|
+
return (options?.client ?? client).get({
|
|
5812
|
+
...options,
|
|
5813
|
+
url: "/v1/commerce/menus/{menuId}"
|
|
5814
|
+
});
|
|
5815
|
+
};
|
|
5816
|
+
var updateCommerceMenu = (options) => {
|
|
5817
|
+
return (options?.client ?? client).put({
|
|
5818
|
+
...options,
|
|
5819
|
+
url: "/v1/commerce/menus/{menuId}"
|
|
5820
|
+
});
|
|
5821
|
+
};
|
|
5822
|
+
var deleteCommerceMenu = (options) => {
|
|
5823
|
+
return (options?.client ?? client).delete({
|
|
5824
|
+
...options,
|
|
5825
|
+
url: "/v1/commerce/menus/{menuId}"
|
|
5826
|
+
});
|
|
5827
|
+
};
|
|
5828
|
+
var listCommerceMetaobjectDefinitions = (options) => {
|
|
5829
|
+
return (options?.client ?? client).get({
|
|
5830
|
+
...options,
|
|
5831
|
+
url: "/v1/commerce/metaobject-definitions"
|
|
5832
|
+
});
|
|
5833
|
+
};
|
|
5834
|
+
var listCommerceMetaobjects = (options) => {
|
|
5835
|
+
return (options?.client ?? client).get({
|
|
5836
|
+
...options,
|
|
5837
|
+
url: "/v1/commerce/metaobjects"
|
|
5838
|
+
});
|
|
5839
|
+
};
|
|
5840
|
+
var createCommerceMetaobject = (options) => {
|
|
5841
|
+
return (options?.client ?? client).post({
|
|
5842
|
+
...options,
|
|
5843
|
+
url: "/v1/commerce/metaobjects"
|
|
5844
|
+
});
|
|
5845
|
+
};
|
|
5846
|
+
var getCommerceMetaobject = (options) => {
|
|
5847
|
+
return (options?.client ?? client).get({
|
|
5848
|
+
...options,
|
|
5849
|
+
url: "/v1/commerce/metaobjects/{metaobjectId}"
|
|
5850
|
+
});
|
|
5851
|
+
};
|
|
5852
|
+
var updateCommerceMetaobject = (options) => {
|
|
5853
|
+
return (options?.client ?? client).patch({
|
|
5854
|
+
...options,
|
|
5855
|
+
url: "/v1/commerce/metaobjects/{metaobjectId}"
|
|
5856
|
+
});
|
|
5857
|
+
};
|
|
5858
|
+
var deleteCommerceMetaobject = (options) => {
|
|
5859
|
+
return (options?.client ?? client).delete({
|
|
5860
|
+
...options,
|
|
5861
|
+
url: "/v1/commerce/metaobjects/{metaobjectId}"
|
|
5862
|
+
});
|
|
5863
|
+
};
|
|
5864
|
+
var listCommerceMarkets = (options) => {
|
|
5865
|
+
return (options?.client ?? client).get({
|
|
5866
|
+
...options,
|
|
5867
|
+
url: "/v1/commerce/markets"
|
|
5868
|
+
});
|
|
5869
|
+
};
|
|
5870
|
+
var listCommercePriceLists = (options) => {
|
|
5871
|
+
return (options?.client ?? client).get({
|
|
5872
|
+
...options,
|
|
5873
|
+
url: "/v1/commerce/price-lists"
|
|
5874
|
+
});
|
|
5875
|
+
};
|
|
5876
|
+
var setCommercePriceListPrices = (options) => {
|
|
5877
|
+
return (options?.client ?? client).put({
|
|
5878
|
+
...options,
|
|
5879
|
+
url: "/v1/commerce/price-lists/{priceListId}/prices"
|
|
5880
|
+
});
|
|
5881
|
+
};
|
|
5882
|
+
var deleteCommercePriceListPrices = (options) => {
|
|
5883
|
+
return (options?.client ?? client).delete({
|
|
5884
|
+
...options,
|
|
5885
|
+
url: "/v1/commerce/price-lists/{priceListId}/prices"
|
|
5886
|
+
});
|
|
5887
|
+
};
|
|
5888
|
+
var upsertCommerceMarketingActivity = (options) => {
|
|
5889
|
+
return (options?.client ?? client).put({
|
|
5890
|
+
...options,
|
|
5891
|
+
url: "/v1/commerce/marketing-activities"
|
|
5892
|
+
});
|
|
5893
|
+
};
|
|
5894
|
+
var deleteCommerceMarketingActivity = (options) => {
|
|
5895
|
+
return (options?.client ?? client).delete({
|
|
5896
|
+
...options,
|
|
5897
|
+
url: "/v1/commerce/marketing-activities/{remoteId}"
|
|
5898
|
+
});
|
|
5899
|
+
};
|
|
5900
|
+
var addCommerceMarketingEngagement = (options) => {
|
|
5901
|
+
return (options?.client ?? client).post({
|
|
5902
|
+
...options,
|
|
5903
|
+
url: "/v1/commerce/marketing-activities/{remoteId}/engagements"
|
|
5904
|
+
});
|
|
5905
|
+
};
|
|
5906
|
+
var listCommerceCatalogSyncs = (options) => {
|
|
5907
|
+
return (options?.client ?? client).get({
|
|
5908
|
+
...options,
|
|
5909
|
+
url: "/v1/commerce/catalog-syncs"
|
|
5910
|
+
});
|
|
5911
|
+
};
|
|
5912
|
+
var createCommerceCatalogSync = (options) => {
|
|
5913
|
+
return (options?.client ?? client).post({
|
|
5914
|
+
...options,
|
|
5915
|
+
url: "/v1/commerce/catalog-syncs"
|
|
5916
|
+
});
|
|
5917
|
+
};
|
|
5918
|
+
var getCommerceCatalogSync = (options) => {
|
|
5919
|
+
return (options?.client ?? client).get({
|
|
5920
|
+
...options,
|
|
5921
|
+
url: "/v1/commerce/catalog-syncs/{syncId}"
|
|
5922
|
+
});
|
|
5923
|
+
};
|
|
5924
|
+
var deleteCommerceCatalogSync = (options) => {
|
|
5925
|
+
return (options?.client ?? client).delete({
|
|
5926
|
+
...options,
|
|
5927
|
+
url: "/v1/commerce/catalog-syncs/{syncId}"
|
|
5928
|
+
});
|
|
5929
|
+
};
|
|
5930
|
+
var runCommerceCatalogSync = (options) => {
|
|
5931
|
+
return (options?.client ?? client).post({
|
|
5932
|
+
...options,
|
|
5933
|
+
url: "/v1/commerce/catalog-syncs/{syncId}/run"
|
|
5934
|
+
});
|
|
5935
|
+
};
|
|
5474
5936
|
var createVerification = (options) => {
|
|
5475
5937
|
return (options?.client ?? client).post({
|
|
5476
5938
|
...options,
|
|
@@ -6209,6 +6671,9 @@ var Zernio = class _Zernio {
|
|
|
6209
6671
|
updateImessageSender: this._bind(updateImessageSender),
|
|
6210
6672
|
cancelImessageSender: this._bind(cancelImessageSender),
|
|
6211
6673
|
listImessageAudience: this._bind(listImessageAudience),
|
|
6674
|
+
listImessageSandboxContacts: this._bind(listImessageSandboxContacts),
|
|
6675
|
+
addImessageSandboxContact: this._bind(addImessageSandboxContact),
|
|
6676
|
+
removeImessageSandboxContact: this._bind(removeImessageSandboxContact),
|
|
6212
6677
|
setImessageSubscription: this._bind(setImessageSubscription),
|
|
6213
6678
|
createImessageOptInLink: this._bind(createImessageOptInLink),
|
|
6214
6679
|
listImessageAvailableNumbers: this._bind(listImessageAvailableNumbers),
|
|
@@ -6848,6 +7313,85 @@ var Zernio = class _Zernio {
|
|
|
6848
7313
|
getProduct: this._bind(getProduct),
|
|
6849
7314
|
updateProduct: this._bind(updateProduct)
|
|
6850
7315
|
};
|
|
7316
|
+
/**
|
|
7317
|
+
* commerce API
|
|
7318
|
+
*/
|
|
7319
|
+
this.commerce = {
|
|
7320
|
+
getCommerceStore: this._bind(getCommerceStore),
|
|
7321
|
+
listCommerceProducts: this._bind(listCommerceProducts),
|
|
7322
|
+
createCommerceProduct: this._bind(createCommerceProduct),
|
|
7323
|
+
changeCommerceProductState: this._bind(changeCommerceProductState),
|
|
7324
|
+
getCommerceProduct: this._bind(getCommerceProduct),
|
|
7325
|
+
updateCommerceProduct: this._bind(updateCommerceProduct),
|
|
7326
|
+
updateCommerceProductPrices: this._bind(updateCommerceProductPrices),
|
|
7327
|
+
listCommerceCollections: this._bind(listCommerceCollections),
|
|
7328
|
+
createCommerceCollection: this._bind(createCommerceCollection),
|
|
7329
|
+
getCommerceCollection: this._bind(getCommerceCollection),
|
|
7330
|
+
updateCommerceCollection: this._bind(updateCommerceCollection),
|
|
7331
|
+
deleteCommerceCollection: this._bind(deleteCommerceCollection),
|
|
7332
|
+
changeCommerceCollectionProducts: this._bind(changeCommerceCollectionProducts),
|
|
7333
|
+
createCommerceProductVariants: this._bind(createCommerceProductVariants),
|
|
7334
|
+
deleteCommerceProductVariants: this._bind(deleteCommerceProductVariants),
|
|
7335
|
+
createCommerceProductOptions: this._bind(createCommerceProductOptions),
|
|
7336
|
+
deleteCommerceProductOptions: this._bind(deleteCommerceProductOptions),
|
|
7337
|
+
addCommerceProductImages: this._bind(addCommerceProductImages),
|
|
7338
|
+
removeCommerceProductImages: this._bind(removeCommerceProductImages),
|
|
7339
|
+
reorderCommerceProductImages: this._bind(reorderCommerceProductImages),
|
|
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),
|
|
7349
|
+
changeCommerceProductTags: this._bind(changeCommerceProductTags),
|
|
7350
|
+
reorderCommerceCollectionProducts: this._bind(reorderCommerceCollectionProducts),
|
|
7351
|
+
listCommercePages: this._bind(listCommercePages),
|
|
7352
|
+
createCommercePage: this._bind(createCommercePage),
|
|
7353
|
+
getCommercePage: this._bind(getCommercePage),
|
|
7354
|
+
updateCommercePage: this._bind(updateCommercePage),
|
|
7355
|
+
deleteCommercePage: this._bind(deleteCommercePage),
|
|
7356
|
+
listCommerceLocations: this._bind(listCommerceLocations),
|
|
7357
|
+
listCommerceInventory: this._bind(listCommerceInventory),
|
|
7358
|
+
changeCommerceInventory: this._bind(changeCommerceInventory),
|
|
7359
|
+
listCommerceChannels: this._bind(listCommerceChannels),
|
|
7360
|
+
listCommerceDiscounts: this._bind(listCommerceDiscounts),
|
|
7361
|
+
createCommerceDiscount: this._bind(createCommerceDiscount),
|
|
7362
|
+
getCommerceDiscount: this._bind(getCommerceDiscount),
|
|
7363
|
+
updateCommerceDiscount: this._bind(updateCommerceDiscount),
|
|
7364
|
+
deleteCommerceDiscount: this._bind(deleteCommerceDiscount),
|
|
7365
|
+
setCommerceDiscountActive: this._bind(setCommerceDiscountActive),
|
|
7366
|
+
addCommerceDiscountCodes: this._bind(addCommerceDiscountCodes),
|
|
7367
|
+
listCommerceRedirects: this._bind(listCommerceRedirects),
|
|
7368
|
+
createCommerceRedirect: this._bind(createCommerceRedirect),
|
|
7369
|
+
updateCommerceRedirect: this._bind(updateCommerceRedirect),
|
|
7370
|
+
deleteCommerceRedirect: this._bind(deleteCommerceRedirect),
|
|
7371
|
+
listCommerceMenus: this._bind(listCommerceMenus),
|
|
7372
|
+
createCommerceMenu: this._bind(createCommerceMenu),
|
|
7373
|
+
getCommerceMenu: this._bind(getCommerceMenu),
|
|
7374
|
+
updateCommerceMenu: this._bind(updateCommerceMenu),
|
|
7375
|
+
deleteCommerceMenu: this._bind(deleteCommerceMenu),
|
|
7376
|
+
listCommerceMetaobjectDefinitions: this._bind(listCommerceMetaobjectDefinitions),
|
|
7377
|
+
listCommerceMetaobjects: this._bind(listCommerceMetaobjects),
|
|
7378
|
+
createCommerceMetaobject: this._bind(createCommerceMetaobject),
|
|
7379
|
+
getCommerceMetaobject: this._bind(getCommerceMetaobject),
|
|
7380
|
+
updateCommerceMetaobject: this._bind(updateCommerceMetaobject),
|
|
7381
|
+
deleteCommerceMetaobject: this._bind(deleteCommerceMetaobject),
|
|
7382
|
+
listCommerceMarkets: this._bind(listCommerceMarkets),
|
|
7383
|
+
listCommercePriceLists: this._bind(listCommercePriceLists),
|
|
7384
|
+
setCommercePriceListPrices: this._bind(setCommercePriceListPrices),
|
|
7385
|
+
deleteCommercePriceListPrices: this._bind(deleteCommercePriceListPrices),
|
|
7386
|
+
upsertCommerceMarketingActivity: this._bind(upsertCommerceMarketingActivity),
|
|
7387
|
+
deleteCommerceMarketingActivity: this._bind(deleteCommerceMarketingActivity),
|
|
7388
|
+
addCommerceMarketingEngagement: this._bind(addCommerceMarketingEngagement),
|
|
7389
|
+
listCommerceCatalogSyncs: this._bind(listCommerceCatalogSyncs),
|
|
7390
|
+
createCommerceCatalogSync: this._bind(createCommerceCatalogSync),
|
|
7391
|
+
getCommerceCatalogSync: this._bind(getCommerceCatalogSync),
|
|
7392
|
+
deleteCommerceCatalogSync: this._bind(deleteCommerceCatalogSync),
|
|
7393
|
+
runCommerceCatalogSync: this._bind(runCommerceCatalogSync)
|
|
7394
|
+
};
|
|
6851
7395
|
/**
|
|
6852
7396
|
* verify API
|
|
6853
7397
|
*/
|