@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.
@@ -21,6 +21,9 @@ __export(react_query_gen_exports, {
21
21
  addCustomDiscountToCartItemMutation: () => addCustomDiscountToCartItemMutation,
22
22
  addCustomDiscountToCartItemOptions: () => addCustomDiscountToCartItemOptions,
23
23
  addCustomDiscountToCartItemQueryKey: () => addCustomDiscountToCartItemQueryKey,
24
+ addTaxItemToCartItemComponentMutation: () => addTaxItemToCartItemComponentMutation,
25
+ addTaxItemToCartItemComponentOptions: () => addTaxItemToCartItemComponentOptions,
26
+ addTaxItemToCartItemComponentQueryKey: () => addTaxItemToCartItemComponentQueryKey,
24
27
  addTaxItemToCartMutation: () => addTaxItemToCartMutation,
25
28
  addTaxItemToCartOptions: () => addTaxItemToCartOptions,
26
29
  addTaxItemToCartQueryKey: () => addTaxItemToCartQueryKey,
@@ -101,6 +104,7 @@ __export(react_query_gen_exports, {
101
104
  deleteReleaseByIdMutation: () => deleteReleaseByIdMutation,
102
105
  deleteReleasesMutation: () => deleteReleasesMutation,
103
106
  deleteRuleByIdMutation: () => deleteRuleByIdMutation,
107
+ deleteTaxItemFromCartItemComponentMutation: () => deleteTaxItemFromCartItemComponentMutation,
104
108
  deleteV2AccountAddressMutation: () => deleteV2AccountAddressMutation,
105
109
  getACartOptions: () => getACartOptions,
106
110
  getACartQueryKey: () => getACartQueryKey,
@@ -234,6 +238,10 @@ __export(react_query_gen_exports, {
234
238
  getV2AccountsAccountIdQueryKey: () => getV2AccountsAccountIdQueryKey,
235
239
  getV2AccountsOptions: () => getV2AccountsOptions,
236
240
  getV2AccountsQueryKey: () => getV2AccountsQueryKey,
241
+ getV2SettingsCartOptions: () => getV2SettingsCartOptions,
242
+ getV2SettingsCartQueryKey: () => getV2SettingsCartQueryKey,
243
+ getV2SettingsCartStoreIdOptions: () => getV2SettingsCartStoreIdOptions,
244
+ getV2SettingsCartStoreIdQueryKey: () => getV2SettingsCartStoreIdQueryKey,
237
245
  listInvoicesOptions: () => listInvoicesOptions,
238
246
  listInvoicesQueryKey: () => listInvoicesQueryKey,
239
247
  listLocationsOptions: () => listLocationsOptions,
@@ -284,6 +292,8 @@ __export(react_query_gen_exports, {
284
292
  putShippingGroupByIdMutation: () => putShippingGroupByIdMutation,
285
293
  putV2AccountAddressMutation: () => putV2AccountAddressMutation,
286
294
  putV2AccountsAccountIdMutation: () => putV2AccountsAccountIdMutation,
295
+ putV2SettingsCartMutation: () => putV2SettingsCartMutation,
296
+ putV2SettingsCartStoreIdMutation: () => putV2SettingsCartStoreIdMutation,
287
297
  refundATransactionMutation: () => refundATransactionMutation,
288
298
  refundATransactionOptions: () => refundATransactionOptions,
289
299
  refundATransactionQueryKey: () => refundATransactionQueryKey,
@@ -298,6 +308,7 @@ __export(react_query_gen_exports, {
298
308
  updatePasswordProfileInfoMutation: () => updatePasswordProfileInfoMutation,
299
309
  updateRuleMutation: () => updateRuleMutation,
300
310
  updateShippingGroupMutation: () => updateShippingGroupMutation,
311
+ updateTaxItemFromCartItemComponentMutation: () => updateTaxItemFromCartItemComponentMutation,
301
312
  validateCatalogRulesMutation: () => validateCatalogRulesMutation,
302
313
  validateCatalogRulesOptions: () => validateCatalogRulesOptions,
303
314
  validateCatalogRulesQueryKey: () => validateCatalogRulesQueryKey
@@ -1404,6 +1415,60 @@ const addTaxItemToCartMutation = (options) => {
1404
1415
  };
1405
1416
  return mutationOptions;
1406
1417
  };
1418
+ const addTaxItemToCartItemComponentQueryKey = (options) => [createQueryKey("addTaxItemToCartItemComponent", options)];
1419
+ const addTaxItemToCartItemComponentOptions = (options) => {
1420
+ return (0, import_react_query.queryOptions)({
1421
+ queryFn: async ({ queryKey, signal }) => {
1422
+ const { data } = await (0, import_sdk.addTaxItemToCartItemComponent)({
1423
+ ...options,
1424
+ ...queryKey[0],
1425
+ signal,
1426
+ throwOnError: true
1427
+ });
1428
+ return data;
1429
+ },
1430
+ queryKey: addTaxItemToCartItemComponentQueryKey(options)
1431
+ });
1432
+ };
1433
+ const addTaxItemToCartItemComponentMutation = (options) => {
1434
+ const mutationOptions = {
1435
+ mutationFn: async (localOptions) => {
1436
+ const { data } = await (0, import_sdk.addTaxItemToCartItemComponent)({
1437
+ ...options,
1438
+ ...localOptions,
1439
+ throwOnError: true
1440
+ });
1441
+ return data;
1442
+ }
1443
+ };
1444
+ return mutationOptions;
1445
+ };
1446
+ const deleteTaxItemFromCartItemComponentMutation = (options) => {
1447
+ const mutationOptions = {
1448
+ mutationFn: async (localOptions) => {
1449
+ const { data } = await (0, import_sdk.deleteTaxItemFromCartItemComponent)({
1450
+ ...options,
1451
+ ...localOptions,
1452
+ throwOnError: true
1453
+ });
1454
+ return data;
1455
+ }
1456
+ };
1457
+ return mutationOptions;
1458
+ };
1459
+ const updateTaxItemFromCartItemComponentMutation = (options) => {
1460
+ const mutationOptions = {
1461
+ mutationFn: async (localOptions) => {
1462
+ const { data } = await (0, import_sdk.updateTaxItemFromCartItemComponent)({
1463
+ ...options,
1464
+ ...localOptions,
1465
+ throwOnError: true
1466
+ });
1467
+ return data;
1468
+ }
1469
+ };
1470
+ return mutationOptions;
1471
+ };
1407
1472
  const bulkDeleteTaxItemsFromCartMutation = (options) => {
1408
1473
  const mutationOptions = {
1409
1474
  mutationFn: async (localOptions) => {
@@ -2110,6 +2175,62 @@ const putShippingGroupByIdMutation = (options) => {
2110
2175
  };
2111
2176
  return mutationOptions;
2112
2177
  };
2178
+ const getV2SettingsCartQueryKey = (options) => [createQueryKey("getV2SettingsCart", options)];
2179
+ const getV2SettingsCartOptions = (options) => {
2180
+ return (0, import_react_query.queryOptions)({
2181
+ queryFn: async ({ queryKey, signal }) => {
2182
+ const { data } = await (0, import_sdk.getV2SettingsCart)({
2183
+ ...options,
2184
+ ...queryKey[0],
2185
+ signal,
2186
+ throwOnError: true
2187
+ });
2188
+ return data;
2189
+ },
2190
+ queryKey: getV2SettingsCartQueryKey(options)
2191
+ });
2192
+ };
2193
+ const putV2SettingsCartMutation = (options) => {
2194
+ const mutationOptions = {
2195
+ mutationFn: async (localOptions) => {
2196
+ const { data } = await (0, import_sdk.putV2SettingsCart)({
2197
+ ...options,
2198
+ ...localOptions,
2199
+ throwOnError: true
2200
+ });
2201
+ return data;
2202
+ }
2203
+ };
2204
+ return mutationOptions;
2205
+ };
2206
+ const getV2SettingsCartStoreIdQueryKey = (options) => [createQueryKey("getV2SettingsCartStoreId", options)];
2207
+ const getV2SettingsCartStoreIdOptions = (options) => {
2208
+ return (0, import_react_query.queryOptions)({
2209
+ queryFn: async ({ queryKey, signal }) => {
2210
+ const { data } = await (0, import_sdk.getV2SettingsCartStoreId)({
2211
+ ...options,
2212
+ ...queryKey[0],
2213
+ signal,
2214
+ throwOnError: true
2215
+ });
2216
+ return data;
2217
+ },
2218
+ queryKey: getV2SettingsCartStoreIdQueryKey(options)
2219
+ });
2220
+ };
2221
+ const putV2SettingsCartStoreIdMutation = (options) => {
2222
+ const mutationOptions = {
2223
+ mutationFn: async (localOptions) => {
2224
+ const { data } = await (0, import_sdk.putV2SettingsCartStoreId)({
2225
+ ...options,
2226
+ ...localOptions,
2227
+ throwOnError: true
2228
+ });
2229
+ return data;
2230
+ }
2231
+ };
2232
+ return mutationOptions;
2233
+ };
2113
2234
  const listOfferingsQueryKey = (options) => [
2114
2235
  createQueryKey("listOfferings", options)
2115
2236
  ];
@@ -2865,6 +2986,9 @@ const postMultiSearchMutation = (options) => {
2865
2986
  addCustomDiscountToCartItemMutation,
2866
2987
  addCustomDiscountToCartItemOptions,
2867
2988
  addCustomDiscountToCartItemQueryKey,
2989
+ addTaxItemToCartItemComponentMutation,
2990
+ addTaxItemToCartItemComponentOptions,
2991
+ addTaxItemToCartItemComponentQueryKey,
2868
2992
  addTaxItemToCartMutation,
2869
2993
  addTaxItemToCartOptions,
2870
2994
  addTaxItemToCartQueryKey,
@@ -2945,6 +3069,7 @@ const postMultiSearchMutation = (options) => {
2945
3069
  deleteReleaseByIdMutation,
2946
3070
  deleteReleasesMutation,
2947
3071
  deleteRuleByIdMutation,
3072
+ deleteTaxItemFromCartItemComponentMutation,
2948
3073
  deleteV2AccountAddressMutation,
2949
3074
  getACartOptions,
2950
3075
  getACartQueryKey,
@@ -3078,6 +3203,10 @@ const postMultiSearchMutation = (options) => {
3078
3203
  getV2AccountsAccountIdQueryKey,
3079
3204
  getV2AccountsOptions,
3080
3205
  getV2AccountsQueryKey,
3206
+ getV2SettingsCartOptions,
3207
+ getV2SettingsCartQueryKey,
3208
+ getV2SettingsCartStoreIdOptions,
3209
+ getV2SettingsCartStoreIdQueryKey,
3081
3210
  listInvoicesOptions,
3082
3211
  listInvoicesQueryKey,
3083
3212
  listLocationsOptions,
@@ -3128,6 +3257,8 @@ const postMultiSearchMutation = (options) => {
3128
3257
  putShippingGroupByIdMutation,
3129
3258
  putV2AccountAddressMutation,
3130
3259
  putV2AccountsAccountIdMutation,
3260
+ putV2SettingsCartMutation,
3261
+ putV2SettingsCartStoreIdMutation,
3131
3262
  refundATransactionMutation,
3132
3263
  refundATransactionOptions,
3133
3264
  refundATransactionQueryKey,
@@ -3142,6 +3273,7 @@ const postMultiSearchMutation = (options) => {
3142
3273
  updatePasswordProfileInfoMutation,
3143
3274
  updateRuleMutation,
3144
3275
  updateShippingGroupMutation,
3276
+ updateTaxItemFromCartItemComponentMutation,
3145
3277
  validateCatalogRulesMutation,
3146
3278
  validateCatalogRulesOptions,
3147
3279
  validateCatalogRulesQueryKey