@epcc-sdk/sdks-shopper 0.0.27 → 0.0.28
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 +4 -0
- package/dist/client/@tanstack/react-query.gen.cjs +49 -0
- package/dist/client/@tanstack/react-query.gen.cjs.map +1 -1
- package/dist/client/@tanstack/react-query.gen.d.cts +25 -2
- package/dist/client/@tanstack/react-query.gen.d.ts +25 -2
- package/dist/client/@tanstack/react-query.gen.mjs +50 -1
- package/dist/client/@tanstack/react-query.gen.mjs.map +1 -1
- package/dist/client/index.d.cts +2 -2
- package/dist/client/index.d.ts +2 -2
- package/dist/client/sdk.gen.cjs +36 -0
- package/dist/client/sdk.gen.cjs.map +1 -1
- package/dist/client/sdk.gen.d.cts +10 -2
- package/dist/client/sdk.gen.d.ts +10 -2
- package/dist/client/sdk.gen.mjs +34 -0
- package/dist/client/sdk.gen.mjs.map +1 -1
- package/dist/client/transformers.gen.cjs +20 -0
- package/dist/client/transformers.gen.cjs.map +1 -1
- package/dist/client/transformers.gen.d.cts +3 -2
- package/dist/client/transformers.gen.d.ts +3 -2
- package/dist/client/transformers.gen.mjs +19 -0
- package/dist/client/transformers.gen.mjs.map +1 -1
- package/dist/client/types.gen.cjs.map +1 -1
- package/dist/client/types.gen.d.cts +271 -1
- package/dist/client/types.gen.d.ts +271 -1
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -449,6 +449,10 @@ const product = await getByContextProduct({
|
|
|
449
449
|
|
|
450
450
|
- **`postV2AccountMembersTokens`** (`POST /v2/account-members/tokens`)
|
|
451
451
|
|
|
452
|
+
- **`createOneTimePasswordTokenRequest`** (`POST /v2/authentication-realms/{realmId}/password-profiles/{passwordProfileId}/one-time-password-token-request`)
|
|
453
|
+
|
|
454
|
+
- **`updatePasswordProfileInfo`** (`PUT /v2/authentication-realms/{realmId}/user-authentication-info/{userAuthenticationInfoId}/user-authentication-password-profile-info/{userAuthenticationPasswordProfileInfoId}`)
|
|
455
|
+
|
|
452
456
|
- **`getAllCurrencies`** (`GET /v2/currencies`)
|
|
453
457
|
|
|
454
458
|
- **`getACurrency`** (`GET /v2/currencies/{currencyID}`)
|
|
@@ -69,6 +69,9 @@ __export(react_query_gen_exports, {
|
|
|
69
69
|
createCustomerCartAssociationMutation: () => createCustomerCartAssociationMutation,
|
|
70
70
|
createCustomerCartAssociationOptions: () => createCustomerCartAssociationOptions,
|
|
71
71
|
createCustomerCartAssociationQueryKey: () => createCustomerCartAssociationQueryKey,
|
|
72
|
+
createOneTimePasswordTokenRequestMutation: () => createOneTimePasswordTokenRequestMutation,
|
|
73
|
+
createOneTimePasswordTokenRequestOptions: () => createOneTimePasswordTokenRequestOptions,
|
|
74
|
+
createOneTimePasswordTokenRequestQueryKey: () => createOneTimePasswordTokenRequestQueryKey,
|
|
72
75
|
createRuleMutation: () => createRuleMutation,
|
|
73
76
|
createRuleOptions: () => createRuleOptions,
|
|
74
77
|
createRuleQueryKey: () => createRuleQueryKey,
|
|
@@ -264,6 +267,7 @@ __export(react_query_gen_exports, {
|
|
|
264
267
|
updateCatalogMutation: () => updateCatalogMutation,
|
|
265
268
|
updateCustomDiscountForCartItemMutation: () => updateCustomDiscountForCartItemMutation,
|
|
266
269
|
updateCustomDiscountForCartMutation: () => updateCustomDiscountForCartMutation,
|
|
270
|
+
updatePasswordProfileInfoMutation: () => updatePasswordProfileInfoMutation,
|
|
267
271
|
updateRuleMutation: () => updateRuleMutation
|
|
268
272
|
});
|
|
269
273
|
module.exports = __toCommonJS(react_query_gen_exports);
|
|
@@ -2422,6 +2426,47 @@ const postV2AccountMembersTokensMutation = (options) => {
|
|
|
2422
2426
|
};
|
|
2423
2427
|
return mutationOptions;
|
|
2424
2428
|
};
|
|
2429
|
+
const createOneTimePasswordTokenRequestQueryKey = (options) => [createQueryKey("createOneTimePasswordTokenRequest", options)];
|
|
2430
|
+
const createOneTimePasswordTokenRequestOptions = (options) => {
|
|
2431
|
+
return (0, import_react_query.queryOptions)({
|
|
2432
|
+
queryFn: async ({ queryKey, signal }) => {
|
|
2433
|
+
const { data } = await (0, import_sdk.createOneTimePasswordTokenRequest)({
|
|
2434
|
+
...options,
|
|
2435
|
+
...queryKey[0],
|
|
2436
|
+
signal,
|
|
2437
|
+
throwOnError: true
|
|
2438
|
+
});
|
|
2439
|
+
return data;
|
|
2440
|
+
},
|
|
2441
|
+
queryKey: createOneTimePasswordTokenRequestQueryKey(options)
|
|
2442
|
+
});
|
|
2443
|
+
};
|
|
2444
|
+
const createOneTimePasswordTokenRequestMutation = (options) => {
|
|
2445
|
+
const mutationOptions = {
|
|
2446
|
+
mutationFn: async (localOptions) => {
|
|
2447
|
+
const { data } = await (0, import_sdk.createOneTimePasswordTokenRequest)({
|
|
2448
|
+
...options,
|
|
2449
|
+
...localOptions,
|
|
2450
|
+
throwOnError: true
|
|
2451
|
+
});
|
|
2452
|
+
return data;
|
|
2453
|
+
}
|
|
2454
|
+
};
|
|
2455
|
+
return mutationOptions;
|
|
2456
|
+
};
|
|
2457
|
+
const updatePasswordProfileInfoMutation = (options) => {
|
|
2458
|
+
const mutationOptions = {
|
|
2459
|
+
mutationFn: async (localOptions) => {
|
|
2460
|
+
const { data } = await (0, import_sdk.updatePasswordProfileInfo)({
|
|
2461
|
+
...options,
|
|
2462
|
+
...localOptions,
|
|
2463
|
+
throwOnError: true
|
|
2464
|
+
});
|
|
2465
|
+
return data;
|
|
2466
|
+
}
|
|
2467
|
+
};
|
|
2468
|
+
return mutationOptions;
|
|
2469
|
+
};
|
|
2425
2470
|
const getAllCurrenciesQueryKey = (options) => [createQueryKey("getAllCurrencies", options)];
|
|
2426
2471
|
const getAllCurrenciesOptions = (options) => {
|
|
2427
2472
|
return (0, import_react_query.queryOptions)({
|
|
@@ -2541,6 +2586,9 @@ const getAFileOptions = (options) => {
|
|
|
2541
2586
|
createCustomerCartAssociationMutation,
|
|
2542
2587
|
createCustomerCartAssociationOptions,
|
|
2543
2588
|
createCustomerCartAssociationQueryKey,
|
|
2589
|
+
createOneTimePasswordTokenRequestMutation,
|
|
2590
|
+
createOneTimePasswordTokenRequestOptions,
|
|
2591
|
+
createOneTimePasswordTokenRequestQueryKey,
|
|
2544
2592
|
createRuleMutation,
|
|
2545
2593
|
createRuleOptions,
|
|
2546
2594
|
createRuleQueryKey,
|
|
@@ -2736,6 +2784,7 @@ const getAFileOptions = (options) => {
|
|
|
2736
2784
|
updateCatalogMutation,
|
|
2737
2785
|
updateCustomDiscountForCartItemMutation,
|
|
2738
2786
|
updateCustomDiscountForCartMutation,
|
|
2787
|
+
updatePasswordProfileInfoMutation,
|
|
2739
2788
|
updateRuleMutation
|
|
2740
2789
|
});
|
|
2741
2790
|
//# sourceMappingURL=react-query.gen.cjs.map
|