@epcc-sdk/sdks-shopper 0.0.33 → 0.0.34

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.
@@ -680,7 +680,7 @@ const deleteACart = (options) => {
680
680
  url: "/v2/carts/{cartID}"
681
681
  });
682
682
  };
683
- const getCart = (options) => {
683
+ const getACart = (options) => {
684
684
  return (options?.client ?? client).get({
685
685
  ...options,
686
686
  security: [
@@ -1040,6 +1040,74 @@ const updateCustomDiscountForCartItem = (options) => {
1040
1040
  url: "/v2/carts/{cartID}/items/{cartitemID}/custom-discounts/{customdiscountID}"
1041
1041
  });
1042
1042
  };
1043
+ const getShippingGroups = (options) => {
1044
+ return (options?.client ?? client).get({
1045
+ ...options,
1046
+ security: [
1047
+ {
1048
+ scheme: "bearer",
1049
+ type: "http"
1050
+ }
1051
+ ],
1052
+ url: "/v2/carts/{cartID}/shipping-groups"
1053
+ });
1054
+ };
1055
+ const createShippingGroup = (options) => {
1056
+ return (options?.client ?? client).post({
1057
+ ...options,
1058
+ headers: {
1059
+ "Content-Type": "application/json",
1060
+ ...options?.headers
1061
+ },
1062
+ security: [
1063
+ {
1064
+ scheme: "bearer",
1065
+ type: "http"
1066
+ }
1067
+ ],
1068
+ url: "/v2/carts/{cartID}/shipping-groups"
1069
+ });
1070
+ };
1071
+ const deleteCartShippingGroup = (options) => {
1072
+ return (options?.client ?? client).delete({
1073
+ ...options,
1074
+ security: [
1075
+ {
1076
+ scheme: "bearer",
1077
+ type: "http"
1078
+ }
1079
+ ],
1080
+ url: "/v2/carts/{cartId}/shipping-groups/{shippingGroupId}"
1081
+ });
1082
+ };
1083
+ const getShippingGroupById = (options) => {
1084
+ return (options?.client ?? client).get({
1085
+ ...options,
1086
+ security: [
1087
+ {
1088
+ scheme: "bearer",
1089
+ type: "http"
1090
+ }
1091
+ ],
1092
+ url: "/v2/carts/{cartId}/shipping-groups/{shippingGroupId}"
1093
+ });
1094
+ };
1095
+ const updateShippingGroup = (options) => {
1096
+ return (options?.client ?? client).put({
1097
+ ...options,
1098
+ headers: {
1099
+ "Content-Type": "application/json",
1100
+ ...options?.headers
1101
+ },
1102
+ security: [
1103
+ {
1104
+ scheme: "bearer",
1105
+ type: "http"
1106
+ }
1107
+ ],
1108
+ url: "/v2/carts/{cartId}/shipping-groups/{shippingGroupId}"
1109
+ });
1110
+ };
1043
1111
  const createCartPaymentIntent = (options) => {
1044
1112
  return (options?.client ?? client).post({
1045
1113
  ...options,
@@ -1056,6 +1124,22 @@ const createCartPaymentIntent = (options) => {
1056
1124
  url: "/v2/carts/{cartID}/payments"
1057
1125
  });
1058
1126
  };
1127
+ const updateCartPaymentIntent = (options) => {
1128
+ return (options?.client ?? client).put({
1129
+ ...options,
1130
+ headers: {
1131
+ "Content-Type": "application/json",
1132
+ ...options?.headers
1133
+ },
1134
+ security: [
1135
+ {
1136
+ scheme: "bearer",
1137
+ type: "http"
1138
+ }
1139
+ ],
1140
+ url: "/v2/carts/{cartID}/payments/{paymentIntentID}"
1141
+ });
1142
+ };
1059
1143
  const checkoutApi = (options) => {
1060
1144
  return (options?.client ?? client).post({
1061
1145
  ...options,
@@ -1140,6 +1224,18 @@ const anonymizeOrders = (options) => {
1140
1224
  url: "/v2/orders/anonymize"
1141
1225
  });
1142
1226
  };
1227
+ const confirmOrder = (options) => {
1228
+ return (options?.client ?? client).post({
1229
+ ...options,
1230
+ security: [
1231
+ {
1232
+ scheme: "bearer",
1233
+ type: "http"
1234
+ }
1235
+ ],
1236
+ url: "/v2/orders/{orderID}/confirm"
1237
+ });
1238
+ };
1143
1239
  const paymentSetup = (options) => {
1144
1240
  return (options?.client ?? client).post({
1145
1241
  ...options,
@@ -1244,6 +1340,62 @@ const cancelATransaction = (options) => {
1244
1340
  url: "/v2/orders/{orderID}/transactions/{transactionID}/cancel"
1245
1341
  });
1246
1342
  };
1343
+ const getOrderShippingGroups = (options) => {
1344
+ return (options?.client ?? client).get({
1345
+ ...options,
1346
+ security: [
1347
+ {
1348
+ scheme: "bearer",
1349
+ type: "http"
1350
+ }
1351
+ ],
1352
+ url: "/v2/orders/{orderID}/shipping-groups"
1353
+ });
1354
+ };
1355
+ const createOrderShippingGroup = (options) => {
1356
+ return (options?.client ?? client).post({
1357
+ ...options,
1358
+ headers: {
1359
+ "Content-Type": "application/json",
1360
+ ...options?.headers
1361
+ },
1362
+ security: [
1363
+ {
1364
+ scheme: "bearer",
1365
+ type: "http"
1366
+ }
1367
+ ],
1368
+ url: "/v2/orders/{orderID}/shipping-groups"
1369
+ });
1370
+ };
1371
+ const getShippingGroupsById = (options) => {
1372
+ return (options?.client ?? client).get({
1373
+ ...options,
1374
+ security: [
1375
+ {
1376
+ scheme: "bearer",
1377
+ type: "http"
1378
+ }
1379
+ ],
1380
+ url: "/v2/orders/{orderID}/shipping-groups/{shippingGroupID}"
1381
+ });
1382
+ };
1383
+ const putShippingGroupById = (options) => {
1384
+ return (options?.client ?? client).put({
1385
+ ...options,
1386
+ headers: {
1387
+ "Content-Type": "application/json",
1388
+ ...options?.headers
1389
+ },
1390
+ security: [
1391
+ {
1392
+ scheme: "bearer",
1393
+ type: "http"
1394
+ }
1395
+ ],
1396
+ url: "/v2/orders/{orderID}/shipping-groups/{shippingGroupID}"
1397
+ });
1398
+ };
1247
1399
  const listOfferings = (options) => {
1248
1400
  return (options?.client ?? client).get({
1249
1401
  ...options,
@@ -1801,6 +1953,7 @@ export {
1801
1953
  checkoutApi,
1802
1954
  client,
1803
1955
  configureByContextProduct,
1956
+ confirmOrder,
1804
1957
  confirmPayment,
1805
1958
  createACart,
1806
1959
  createAccountCartAssociation,
@@ -1809,13 +1962,16 @@ export {
1809
1962
  createCatalog,
1810
1963
  createCustomerCartAssociation,
1811
1964
  createOneTimePasswordTokenRequest,
1965
+ createOrderShippingGroup,
1812
1966
  createRule,
1967
+ createShippingGroup,
1813
1968
  deleteACart,
1814
1969
  deleteACartItem,
1815
1970
  deleteAPromotionViaPromotionCode,
1816
1971
  deleteATaxItem,
1817
1972
  deleteAccountCartAssociation,
1818
1973
  deleteAllCartItems,
1974
+ deleteCartShippingGroup,
1819
1975
  deleteCatalogById,
1820
1976
  deleteCustomDiscountFromCart,
1821
1977
  deleteCustomDiscountFromCartItem,
@@ -1824,6 +1980,7 @@ export {
1824
1980
  deleteReleases,
1825
1981
  deleteRuleById,
1826
1982
  deleteV2AccountAddress,
1983
+ getACart,
1827
1984
  getACurrency,
1828
1985
  getAFile,
1829
1986
  getATransaction,
@@ -1849,7 +2006,6 @@ export {
1849
2006
  getByContextProductsForHierarchy,
1850
2007
  getByContextProductsForNode,
1851
2008
  getByContextRelease,
1852
- getCart,
1853
2009
  getCartItems,
1854
2010
  getCarts,
1855
2011
  getCatalogById,
@@ -1866,6 +2022,7 @@ export {
1866
2022
  getNode,
1867
2023
  getOffering,
1868
2024
  getOrderItems,
2025
+ getOrderShippingGroups,
1869
2026
  getOrderTransactions,
1870
2027
  getProduct,
1871
2028
  getProductsForHierarchy,
@@ -1874,6 +2031,9 @@ export {
1874
2031
  getReleases,
1875
2032
  getRuleById,
1876
2033
  getRules,
2034
+ getShippingGroupById,
2035
+ getShippingGroups,
2036
+ getShippingGroupsById,
1877
2037
  getStock,
1878
2038
  getSubscription,
1879
2039
  getSubscriptionInvoice,
@@ -1905,6 +2065,7 @@ export {
1905
2065
  postV2AccountMembersTokens,
1906
2066
  postV2Accounts,
1907
2067
  publishRelease,
2068
+ putShippingGroupById,
1908
2069
  putV2AccountAddress,
1909
2070
  putV2AccountsAccountId,
1910
2071
  refundATransaction,
@@ -1912,10 +2073,12 @@ export {
1912
2073
  updateACartItem,
1913
2074
  updateATaxItem,
1914
2075
  updateAnOrder,
2076
+ updateCartPaymentIntent,
1915
2077
  updateCatalog,
1916
2078
  updateCustomDiscountForCart,
1917
2079
  updateCustomDiscountForCartItem,
1918
2080
  updatePasswordProfileInfo,
1919
- updateRule
2081
+ updateRule,
2082
+ updateShippingGroup
1920
2083
  };
1921
2084
  //# sourceMappingURL=sdk.gen.mjs.map