@epcc-sdk/sdks-shopper 0.11.0 → 0.12.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.
- package/dist/client/@tanstack/react-query.gen.cjs +79 -0
- package/dist/client/@tanstack/react-query.gen.cjs.map +1 -1
- package/dist/client/@tanstack/react-query.gen.d.cts +151 -4
- package/dist/client/@tanstack/react-query.gen.d.ts +151 -4
- package/dist/client/@tanstack/react-query.gen.mjs +77 -0
- package/dist/client/@tanstack/react-query.gen.mjs.map +1 -1
- package/dist/client/index.cjs +10 -0
- package/dist/client/index.cjs.map +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/index.mjs +10 -0
- package/dist/client/index.mjs.map +1 -1
- package/dist/client/sdk.gen.cjs +73 -0
- package/dist/client/sdk.gen.cjs.map +1 -1
- package/dist/client/sdk.gen.d.cts +79 -4
- package/dist/client/sdk.gen.d.ts +79 -4
- package/dist/client/sdk.gen.mjs +68 -0
- package/dist/client/sdk.gen.mjs.map +1 -1
- package/dist/client/types.gen.cjs.map +1 -1
- package/dist/client/types.gen.d.cts +265 -5
- package/dist/client/types.gen.d.ts +265 -5
- package/dist/client/zod.gen.cjs +169 -9
- package/dist/client/zod.gen.cjs.map +1 -1
- package/dist/client/zod.gen.d.cts +232 -19
- package/dist/client/zod.gen.d.ts +232 -19
- package/dist/client/zod.gen.mjs +152 -9
- package/dist/client/zod.gen.mjs.map +1 -1
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/react-query.d.cts +1 -1
- package/dist/react-query.d.ts +1 -1
- package/dist/zod.d.cts +1 -1
- package/dist/zod.d.ts +1 -1
- package/package.json +1 -1
package/dist/client/sdk.gen.cjs
CHANGED
|
@@ -44,6 +44,7 @@ __export(sdk_gen_exports, {
|
|
|
44
44
|
createRule: () => createRule,
|
|
45
45
|
createShippingGroup: () => createShippingGroup,
|
|
46
46
|
createSubscriptionState: () => createSubscriptionState,
|
|
47
|
+
createTransactionNote: () => createTransactionNote,
|
|
47
48
|
deleteACart: () => deleteACart,
|
|
48
49
|
deleteACartItem: () => deleteACartItem,
|
|
49
50
|
deleteAPromotionViaPromotionCode: () => deleteAPromotionViaPromotionCode,
|
|
@@ -59,6 +60,7 @@ __export(sdk_gen_exports, {
|
|
|
59
60
|
deleteReleases: () => deleteReleases,
|
|
60
61
|
deleteRuleById: () => deleteRuleById,
|
|
61
62
|
deleteTaxItemFromCartItemComponent: () => deleteTaxItemFromCartItemComponent,
|
|
63
|
+
deleteTransactionNote: () => deleteTransactionNote,
|
|
62
64
|
deleteV2AccountAddress: () => deleteV2AccountAddress,
|
|
63
65
|
getACart: () => getACart,
|
|
64
66
|
getACurrency: () => getACurrency,
|
|
@@ -119,6 +121,8 @@ __export(sdk_gen_exports, {
|
|
|
119
121
|
getSubscriptionInvoice: () => getSubscriptionInvoice,
|
|
120
122
|
getSubscriptionInvoicePayment: () => getSubscriptionInvoicePayment,
|
|
121
123
|
getSubscriptionState: () => getSubscriptionState,
|
|
124
|
+
getTransactionNote: () => getTransactionNote,
|
|
125
|
+
getTransactionNotes: () => getTransactionNotes,
|
|
122
126
|
getV2AccountAddress: () => getV2AccountAddress,
|
|
123
127
|
getV2AccountAddresses: () => getV2AccountAddresses,
|
|
124
128
|
getV2AccountMembers: () => getV2AccountMembers,
|
|
@@ -167,6 +171,7 @@ __export(sdk_gen_exports, {
|
|
|
167
171
|
updateRule: () => updateRule,
|
|
168
172
|
updateShippingGroup: () => updateShippingGroup,
|
|
169
173
|
updateTaxItemFromCartItemComponent: () => updateTaxItemFromCartItemComponent,
|
|
174
|
+
updateTransactionNote: () => updateTransactionNote,
|
|
170
175
|
validateCatalogRules: () => validateCatalogRules
|
|
171
176
|
});
|
|
172
177
|
module.exports = __toCommonJS(sdk_gen_exports);
|
|
@@ -1416,6 +1421,69 @@ const cancelATransaction = (options) => (options.client ?? import_client2.client
|
|
|
1416
1421
|
...options.headers
|
|
1417
1422
|
}
|
|
1418
1423
|
});
|
|
1424
|
+
const getTransactionNotes = (options) => (options.client ?? import_client2.client).get({
|
|
1425
|
+
security: [
|
|
1426
|
+
{
|
|
1427
|
+
key: "bearerAuth",
|
|
1428
|
+
scheme: "bearer",
|
|
1429
|
+
type: "http"
|
|
1430
|
+
}
|
|
1431
|
+
],
|
|
1432
|
+
url: "/v2/orders/{orderID}/transactions/{transactionID}/notes",
|
|
1433
|
+
...options
|
|
1434
|
+
});
|
|
1435
|
+
const createTransactionNote = (options) => (options.client ?? import_client2.client).post({
|
|
1436
|
+
security: [
|
|
1437
|
+
{
|
|
1438
|
+
key: "bearerAuth",
|
|
1439
|
+
scheme: "bearer",
|
|
1440
|
+
type: "http"
|
|
1441
|
+
}
|
|
1442
|
+
],
|
|
1443
|
+
url: "/v2/orders/{orderID}/transactions/{transactionID}/notes",
|
|
1444
|
+
...options,
|
|
1445
|
+
headers: {
|
|
1446
|
+
"Content-Type": "application/json",
|
|
1447
|
+
...options.headers
|
|
1448
|
+
}
|
|
1449
|
+
});
|
|
1450
|
+
const deleteTransactionNote = (options) => (options.client ?? import_client2.client).delete({
|
|
1451
|
+
security: [
|
|
1452
|
+
{
|
|
1453
|
+
key: "bearerAuth",
|
|
1454
|
+
scheme: "bearer",
|
|
1455
|
+
type: "http"
|
|
1456
|
+
}
|
|
1457
|
+
],
|
|
1458
|
+
url: "/v2/orders/{orderID}/transactions/{transactionID}/notes/{noteID}",
|
|
1459
|
+
...options
|
|
1460
|
+
});
|
|
1461
|
+
const getTransactionNote = (options) => (options.client ?? import_client2.client).get({
|
|
1462
|
+
security: [
|
|
1463
|
+
{
|
|
1464
|
+
key: "bearerAuth",
|
|
1465
|
+
scheme: "bearer",
|
|
1466
|
+
type: "http"
|
|
1467
|
+
}
|
|
1468
|
+
],
|
|
1469
|
+
url: "/v2/orders/{orderID}/transactions/{transactionID}/notes/{noteID}",
|
|
1470
|
+
...options
|
|
1471
|
+
});
|
|
1472
|
+
const updateTransactionNote = (options) => (options.client ?? import_client2.client).put({
|
|
1473
|
+
security: [
|
|
1474
|
+
{
|
|
1475
|
+
key: "bearerAuth",
|
|
1476
|
+
scheme: "bearer",
|
|
1477
|
+
type: "http"
|
|
1478
|
+
}
|
|
1479
|
+
],
|
|
1480
|
+
url: "/v2/orders/{orderID}/transactions/{transactionID}/notes/{noteID}",
|
|
1481
|
+
...options,
|
|
1482
|
+
headers: {
|
|
1483
|
+
"Content-Type": "application/json",
|
|
1484
|
+
...options.headers
|
|
1485
|
+
}
|
|
1486
|
+
});
|
|
1419
1487
|
const getOrderShippingGroups = (options) => (options.client ?? import_client2.client).get({
|
|
1420
1488
|
security: [
|
|
1421
1489
|
{
|
|
@@ -2075,6 +2143,7 @@ const postMultiSearch = (options) => (options.client ?? import_client2.client).p
|
|
|
2075
2143
|
createRule,
|
|
2076
2144
|
createShippingGroup,
|
|
2077
2145
|
createSubscriptionState,
|
|
2146
|
+
createTransactionNote,
|
|
2078
2147
|
deleteACart,
|
|
2079
2148
|
deleteACartItem,
|
|
2080
2149
|
deleteAPromotionViaPromotionCode,
|
|
@@ -2090,6 +2159,7 @@ const postMultiSearch = (options) => (options.client ?? import_client2.client).p
|
|
|
2090
2159
|
deleteReleases,
|
|
2091
2160
|
deleteRuleById,
|
|
2092
2161
|
deleteTaxItemFromCartItemComponent,
|
|
2162
|
+
deleteTransactionNote,
|
|
2093
2163
|
deleteV2AccountAddress,
|
|
2094
2164
|
getACart,
|
|
2095
2165
|
getACurrency,
|
|
@@ -2150,6 +2220,8 @@ const postMultiSearch = (options) => (options.client ?? import_client2.client).p
|
|
|
2150
2220
|
getSubscriptionInvoice,
|
|
2151
2221
|
getSubscriptionInvoicePayment,
|
|
2152
2222
|
getSubscriptionState,
|
|
2223
|
+
getTransactionNote,
|
|
2224
|
+
getTransactionNotes,
|
|
2153
2225
|
getV2AccountAddress,
|
|
2154
2226
|
getV2AccountAddresses,
|
|
2155
2227
|
getV2AccountMembers,
|
|
@@ -2198,6 +2270,7 @@ const postMultiSearch = (options) => (options.client ?? import_client2.client).p
|
|
|
2198
2270
|
updateRule,
|
|
2199
2271
|
updateShippingGroup,
|
|
2200
2272
|
updateTaxItemFromCartItemComponent,
|
|
2273
|
+
updateTransactionNote,
|
|
2201
2274
|
validateCatalogRules
|
|
2202
2275
|
});
|
|
2203
2276
|
//# sourceMappingURL=sdk.gen.cjs.map
|