@epcc-sdk/sdks-shopper 0.1.0 → 0.2.0

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.
@@ -665,6 +665,12 @@ const getCarts = (options) => {
665
665
  type: "http"
666
666
  }
667
667
  ],
668
+ querySerializer: {
669
+ array: {
670
+ explode: false,
671
+ style: "form"
672
+ }
673
+ },
668
674
  url: "/v2/carts"
669
675
  });
670
676
  };
@@ -745,6 +751,12 @@ const getCartItems = (options) => {
745
751
  type: "http"
746
752
  }
747
753
  ],
754
+ querySerializer: {
755
+ array: {
756
+ explode: false,
757
+ style: "form"
758
+ }
759
+ },
748
760
  url: "/v2/carts/{cartID}/items"
749
761
  });
750
762
  };
@@ -900,6 +912,50 @@ const addTaxItemToCart = (options) => {
900
912
  url: "/v2/carts/{cartID}/items/{cartitemID}/taxes"
901
913
  });
902
914
  };
915
+ const addTaxItemToCartItemComponent = (options) => {
916
+ return (options?.client ?? client).post({
917
+ ...options,
918
+ headers: {
919
+ "Content-Type": "application/json",
920
+ ...options?.headers
921
+ },
922
+ security: [
923
+ {
924
+ scheme: "bearer",
925
+ type: "http"
926
+ }
927
+ ],
928
+ url: "/v2/carts/{cartID}/items/{cartitemID}/components/{productID}/taxes"
929
+ });
930
+ };
931
+ const deleteTaxItemFromCartItemComponent = (options) => {
932
+ return (options?.client ?? client).delete({
933
+ ...options,
934
+ security: [
935
+ {
936
+ scheme: "bearer",
937
+ type: "http"
938
+ }
939
+ ],
940
+ url: "/v2/carts/{cartID}/items/{cartitemID}/components/{productID}/taxes/{taxitemID}"
941
+ });
942
+ };
943
+ const updateTaxItemFromCartItemComponent = (options) => {
944
+ return (options?.client ?? client).put({
945
+ ...options,
946
+ headers: {
947
+ "Content-Type": "application/json",
948
+ ...options?.headers
949
+ },
950
+ security: [
951
+ {
952
+ scheme: "bearer",
953
+ type: "http"
954
+ }
955
+ ],
956
+ url: "/v2/carts/{cartID}/items/{cartitemID}/components/{productID}/taxes/{taxitemID}"
957
+ });
958
+ };
903
959
  const bulkDeleteTaxItemsFromCart = (options) => {
904
960
  return (options?.client ?? client).delete({
905
961
  ...options,
@@ -1412,6 +1468,62 @@ const putShippingGroupById = (options) => {
1412
1468
  url: "/v2/orders/{orderID}/shipping-groups/{shippingGroupID}"
1413
1469
  });
1414
1470
  };
1471
+ const getV2SettingsCart = (options) => {
1472
+ return (options?.client ?? client).get({
1473
+ ...options,
1474
+ security: [
1475
+ {
1476
+ scheme: "bearer",
1477
+ type: "http"
1478
+ }
1479
+ ],
1480
+ url: "/v2/settings/cart"
1481
+ });
1482
+ };
1483
+ const putV2SettingsCart = (options) => {
1484
+ return (options?.client ?? client).put({
1485
+ ...options,
1486
+ headers: {
1487
+ "Content-Type": "application/json",
1488
+ ...options?.headers
1489
+ },
1490
+ security: [
1491
+ {
1492
+ scheme: "bearer",
1493
+ type: "http"
1494
+ }
1495
+ ],
1496
+ url: "/v2/settings/cart"
1497
+ });
1498
+ };
1499
+ const getV2SettingsCartStoreId = (options) => {
1500
+ return (options?.client ?? client).get({
1501
+ ...options,
1502
+ security: [
1503
+ {
1504
+ scheme: "bearer",
1505
+ type: "http"
1506
+ }
1507
+ ],
1508
+ url: "/v2/settings/cart/{storeID}"
1509
+ });
1510
+ };
1511
+ const putV2SettingsCartStoreId = (options) => {
1512
+ return (options?.client ?? client).put({
1513
+ ...options,
1514
+ headers: {
1515
+ "Content-Type": "application/json",
1516
+ ...options?.headers
1517
+ },
1518
+ security: [
1519
+ {
1520
+ scheme: "bearer",
1521
+ type: "http"
1522
+ }
1523
+ ],
1524
+ url: "/v2/settings/cart/{storeID}"
1525
+ });
1526
+ };
1415
1527
  const listOfferings = (options) => {
1416
1528
  return (options?.client ?? client).get({
1417
1529
  ...options,
@@ -1990,6 +2102,7 @@ const postMultiSearch = (options) => {
1990
2102
  export {
1991
2103
  addCustomDiscountToCartItem,
1992
2104
  addTaxItemToCart,
2105
+ addTaxItemToCartItemComponent,
1993
2106
  anonymizeOrders,
1994
2107
  bulkAddCustomDiscountsToCart,
1995
2108
  bulkAddTaxItemsToCart,
@@ -2028,6 +2141,7 @@ export {
2028
2141
  deleteReleaseById,
2029
2142
  deleteReleases,
2030
2143
  deleteRuleById,
2144
+ deleteTaxItemFromCartItemComponent,
2031
2145
  deleteV2AccountAddress,
2032
2146
  getACart,
2033
2147
  getACurrency,
@@ -2095,6 +2209,8 @@ export {
2095
2209
  getV2Accounts,
2096
2210
  getV2AccountsAccountId,
2097
2211
  getV2AccountsAccountIdAccountMemberships,
2212
+ getV2SettingsCart,
2213
+ getV2SettingsCartStoreId,
2098
2214
  listInvoices,
2099
2215
  listLocations,
2100
2216
  listOfferingFeatures,
@@ -2118,6 +2234,8 @@ export {
2118
2234
  putShippingGroupById,
2119
2235
  putV2AccountAddress,
2120
2236
  putV2AccountsAccountId,
2237
+ putV2SettingsCart,
2238
+ putV2SettingsCartStoreId,
2121
2239
  refundATransaction,
2122
2240
  updateACart,
2123
2241
  updateACartItem,
@@ -2130,6 +2248,7 @@ export {
2130
2248
  updatePasswordProfileInfo,
2131
2249
  updateRule,
2132
2250
  updateShippingGroup,
2251
+ updateTaxItemFromCartItemComponent,
2133
2252
  validateCatalogRules
2134
2253
  };
2135
2254
  //# sourceMappingURL=sdk.gen.mjs.map