rehive 3.1.3 → 4.0.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/README.md +211 -494
- package/dist/admin.d.mts +31284 -0
- package/dist/admin.d.ts +31284 -0
- package/dist/admin.js +1 -0
- package/dist/admin.mjs +1 -0
- package/dist/auth.d.mts +23 -0
- package/dist/auth.d.ts +23 -0
- package/dist/auth.js +1 -0
- package/dist/auth.mjs +1 -0
- package/dist/chunk-53JJUQ4V.js +1 -0
- package/dist/chunk-5MRX4DHT.js +1 -0
- package/dist/chunk-7WWCXCY2.mjs +1 -0
- package/dist/chunk-HF5XDXOU.mjs +1 -0
- package/dist/chunk-NFN3B6SG.mjs +1 -0
- package/dist/chunk-OEIQFP6T.js +1 -0
- package/dist/chunk-Q2ZX3WFY.mjs +7 -0
- package/dist/chunk-QWQ6ZENI.js +1 -0
- package/dist/chunk-RKDIBDG6.js +7 -0
- package/dist/chunk-S4QKN5WW.mjs +1 -0
- package/dist/chunk-UYUMXTPF.js +7 -0
- package/dist/chunk-V277OEVY.mjs +7 -0
- package/dist/create-api-client-BMeX50D6.d.ts +25 -0
- package/dist/create-api-client-BrsH1l8c.d.mts +25 -0
- package/dist/create-auth-UTklIOTc.d.mts +18340 -0
- package/dist/create-auth-UTklIOTc.d.ts +18340 -0
- package/dist/extensions/alchemy.d.mts +1114 -0
- package/dist/extensions/alchemy.d.ts +1114 -0
- package/dist/extensions/alchemy.js +7 -0
- package/dist/extensions/alchemy.mjs +7 -0
- package/dist/extensions/app.d.mts +2042 -0
- package/dist/extensions/app.d.ts +2042 -0
- package/dist/extensions/app.js +7 -0
- package/dist/extensions/app.mjs +7 -0
- package/dist/extensions/billing.d.mts +828 -0
- package/dist/extensions/billing.d.ts +828 -0
- package/dist/extensions/billing.js +7 -0
- package/dist/extensions/billing.mjs +7 -0
- package/dist/extensions/bridge.d.mts +2028 -0
- package/dist/extensions/bridge.d.ts +2028 -0
- package/dist/extensions/bridge.js +7 -0
- package/dist/extensions/bridge.mjs +7 -0
- package/dist/extensions/builder.d.mts +542 -0
- package/dist/extensions/builder.d.ts +542 -0
- package/dist/extensions/builder.js +7 -0
- package/dist/extensions/builder.mjs +7 -0
- package/dist/extensions/business.d.mts +8972 -0
- package/dist/extensions/business.d.ts +8972 -0
- package/dist/extensions/business.js +7 -0
- package/dist/extensions/business.mjs +7 -0
- package/dist/extensions/conversion.d.mts +2786 -0
- package/dist/extensions/conversion.d.ts +2786 -0
- package/dist/extensions/conversion.js +7 -0
- package/dist/extensions/conversion.mjs +7 -0
- package/dist/extensions/mass-send.d.mts +1294 -0
- package/dist/extensions/mass-send.d.ts +1294 -0
- package/dist/extensions/mass-send.js +7 -0
- package/dist/extensions/mass-send.mjs +7 -0
- package/dist/extensions/notifications.d.mts +2035 -0
- package/dist/extensions/notifications.d.ts +2035 -0
- package/dist/extensions/notifications.js +7 -0
- package/dist/extensions/notifications.mjs +7 -0
- package/dist/extensions/payment-requests.d.mts +3746 -0
- package/dist/extensions/payment-requests.d.ts +3746 -0
- package/dist/extensions/payment-requests.js +7 -0
- package/dist/extensions/payment-requests.mjs +7 -0
- package/dist/extensions/products.d.mts +10092 -0
- package/dist/extensions/products.d.ts +10092 -0
- package/dist/extensions/products.js +7 -0
- package/dist/extensions/products.mjs +7 -0
- package/dist/extensions/rain.d.mts +1896 -0
- package/dist/extensions/rain.d.ts +1896 -0
- package/dist/extensions/rain.js +7 -0
- package/dist/extensions/rain.mjs +7 -0
- package/dist/extensions/rewards.d.mts +2038 -0
- package/dist/extensions/rewards.d.ts +2038 -0
- package/dist/extensions/rewards.js +7 -0
- package/dist/extensions/rewards.mjs +7 -0
- package/dist/extensions/stellar-testnet.d.mts +3922 -0
- package/dist/extensions/stellar-testnet.d.ts +3922 -0
- package/dist/extensions/stellar-testnet.js +7 -0
- package/dist/extensions/stellar-testnet.mjs +7 -0
- package/dist/extensions/stellar.d.mts +3922 -0
- package/dist/extensions/stellar.d.ts +3922 -0
- package/dist/extensions/stellar.js +7 -0
- package/dist/extensions/stellar.mjs +7 -0
- package/dist/index.d.mts +6 -61050
- package/dist/index.d.ts +6 -61050
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +8 -61087
- package/dist/react.d.ts +8 -61087
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +1347 -0
- package/dist/user.d.ts +1347 -0
- package/dist/user.js +1 -0
- package/dist/user.mjs +1 -0
- package/package.json +99 -32
- package/src/auth/core/storage-adapters.ts +58 -0
- package/src/auth/create-auth.ts +563 -0
- package/src/auth/index.ts +4 -0
- package/src/auth/types/index.ts +28 -0
- package/src/extensions/alchemy/create-api.ts +13 -0
- package/src/extensions/alchemy/index.ts +3 -0
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/alchemy/openapi-ts/client/index.ts +25 -0
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/alchemy/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/alchemy/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/alchemy/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/alchemy/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/alchemy/openapi-ts/index.ts +4 -0
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +179 -0
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +851 -0
- package/src/extensions/app/create-api.ts +13 -0
- package/src/extensions/app/index.ts +3 -0
- package/src/extensions/app/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/app/openapi-ts/client/index.ts +25 -0
- package/src/extensions/app/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/app/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/app/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/app/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/app/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/app/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/app/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/app/openapi-ts/index.ts +4 -0
- package/src/extensions/app/openapi-ts/sdk.gen.ts +539 -0
- package/src/extensions/app/openapi-ts/types.gen.ts +1702 -0
- package/src/extensions/billing/create-api.ts +13 -0
- package/src/extensions/billing/index.ts +3 -0
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/billing/openapi-ts/client/index.ts +25 -0
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/billing/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/billing/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/billing/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/billing/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/billing/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/billing/openapi-ts/index.ts +4 -0
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +155 -0
- package/src/extensions/billing/openapi-ts/types.gen.ts +508 -0
- package/src/extensions/bridge/create-api.ts +13 -0
- package/src/extensions/bridge/index.ts +3 -0
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/bridge/openapi-ts/client/index.ts +25 -0
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/bridge/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/bridge/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/bridge/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/bridge/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/bridge/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/bridge/openapi-ts/index.ts +4 -0
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +383 -0
- package/src/extensions/bridge/openapi-ts/types.gen.ts +1855 -0
- package/src/extensions/builder/create-api.ts +13 -0
- package/src/extensions/builder/index.ts +3 -0
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/builder/openapi-ts/client/index.ts +25 -0
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/builder/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/builder/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/builder/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/builder/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/builder/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/builder/openapi-ts/index.ts +4 -0
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +60 -0
- package/src/extensions/builder/openapi-ts/types.gen.ts +215 -0
- package/src/extensions/business/create-api.ts +13 -0
- package/src/extensions/business/index.ts +3 -0
- package/src/extensions/business/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/business/openapi-ts/client/index.ts +25 -0
- package/src/extensions/business/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/business/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/business/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/business/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/business/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/business/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/business/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/business/openapi-ts/index.ts +4 -0
- package/src/extensions/business/openapi-ts/sdk.gen.ts +903 -0
- package/src/extensions/business/openapi-ts/types.gen.ts +8718 -0
- package/src/extensions/conversion/create-api.ts +13 -0
- package/src/extensions/conversion/index.ts +3 -0
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/conversion/openapi-ts/client/index.ts +25 -0
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/conversion/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/conversion/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/conversion/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/conversion/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/conversion/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/conversion/openapi-ts/index.ts +4 -0
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +684 -0
- package/src/extensions/conversion/openapi-ts/types.gen.ts +2467 -0
- package/src/extensions/mass-send/create-api.ts +13 -0
- package/src/extensions/mass-send/index.ts +3 -0
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/mass-send/openapi-ts/client/index.ts +25 -0
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/mass-send/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/mass-send/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/mass-send/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/mass-send/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/mass-send/openapi-ts/index.ts +4 -0
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +270 -0
- package/src/extensions/mass-send/openapi-ts/types.gen.ts +988 -0
- package/src/extensions/notifications/create-api.ts +13 -0
- package/src/extensions/notifications/index.ts +3 -0
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/notifications/openapi-ts/client/index.ts +25 -0
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/notifications/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/notifications/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/notifications/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/notifications/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/notifications/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/notifications/openapi-ts/index.ts +4 -0
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +450 -0
- package/src/extensions/notifications/openapi-ts/types.gen.ts +1732 -0
- package/src/extensions/payment-requests/create-api.ts +13 -0
- package/src/extensions/payment-requests/index.ts +3 -0
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/payment-requests/openapi-ts/client/index.ts +25 -0
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/payment-requests/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/payment-requests/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/payment-requests/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/payment-requests/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/payment-requests/openapi-ts/index.ts +4 -0
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +845 -0
- package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3415 -0
- package/src/extensions/products/create-api.ts +13 -0
- package/src/extensions/products/index.ts +3 -0
- package/src/extensions/products/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/products/openapi-ts/client/index.ts +25 -0
- package/src/extensions/products/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/products/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/products/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/products/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/products/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/products/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/products/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/products/openapi-ts/index.ts +4 -0
- package/src/extensions/products/openapi-ts/sdk.gen.ts +2619 -0
- package/src/extensions/products/openapi-ts/types.gen.ts +9717 -0
- package/src/extensions/rain/create-api.ts +13 -0
- package/src/extensions/rain/index.ts +3 -0
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rain/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rain/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rain/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rain/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rain/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rain/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rain/openapi-ts/index.ts +4 -0
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +227 -0
- package/src/extensions/rain/openapi-ts/types.gen.ts +1660 -0
- package/src/extensions/rewards/create-api.ts +13 -0
- package/src/extensions/rewards/index.ts +3 -0
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rewards/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rewards/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rewards/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rewards/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rewards/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rewards/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rewards/openapi-ts/index.ts +4 -0
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +345 -0
- package/src/extensions/rewards/openapi-ts/types.gen.ts +1718 -0
- package/src/extensions/stellar/create-api.ts +13 -0
- package/src/extensions/stellar/index.ts +3 -0
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar/openapi-ts/types.gen.ts +3543 -0
- package/src/extensions/stellar-testnet/create-api.ts +13 -0
- package/src/extensions/stellar-testnet/index.ts +3 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar-testnet/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar-testnet/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +3543 -0
- package/src/platform/admin/create-api.ts +11 -0
- package/src/platform/admin/index.ts +3 -42
- package/src/platform/admin/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/admin/openapi-ts/client/index.ts +25 -0
- package/src/platform/admin/openapi-ts/client/types.gen.ts +213 -0
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/admin/openapi-ts/client.gen.ts +16 -0
- package/src/platform/admin/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/admin/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/admin/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/admin/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/admin/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/admin/openapi-ts/index.ts +4 -0
- package/src/platform/admin/openapi-ts/sdk.gen.ts +3975 -0
- package/src/platform/admin/openapi-ts/types.gen.ts +31193 -0
- package/src/platform/user/create-api.ts +11 -0
- package/src/platform/user/index.ts +3 -42
- package/src/platform/user/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/user/openapi-ts/client/index.ts +25 -0
- package/src/platform/user/openapi-ts/client/types.gen.ts +213 -0
- package/src/platform/user/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/user/openapi-ts/client.gen.ts +16 -0
- package/src/platform/user/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/user/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/user/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/user/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/user/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/user/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/user/openapi-ts/index.ts +4 -0
- package/src/platform/user/openapi-ts/sdk.gen.ts +2090 -0
- package/src/platform/user/openapi-ts/types.gen.ts +19540 -0
- package/src/shared/api-utils.ts +22 -0
- package/src/shared/bind-sdk.ts +48 -0
- package/src/shared/create-api-client.ts +54 -0
- package/src/extensions/app/http-client.ts +0 -1
- package/src/extensions/app/rehive-app-api.ts +0 -1827
- package/src/extensions/bridge/rehive-bridge-api.ts +0 -1436
- package/src/extensions/business/rehive-business-api.ts +0 -9480
- package/src/extensions/conversion/rehive-conversion-api.ts +0 -3054
- package/src/extensions/mass-send/rehive-mass-send-api.ts +0 -1061
- package/src/extensions/notifications/rehive-notifications-api.ts +0 -1964
- package/src/extensions/payment-requests/rehive-payment-requests-api.ts +0 -4026
- package/src/extensions/products/rehive-products-api.ts +0 -13107
- package/src/extensions/rewards/rehive-rewards-api.ts +0 -2139
- package/src/extensions/stellar/rehive-stellar-api.ts +0 -4219
- package/src/extensions/stellar-testnet/rehive-stellar-testnet-api.ts +0 -4219
- package/src/platform/admin/rehive-platform-admin-api.ts +0 -35075
- package/src/platform/user/rehive-platform-user-api.ts +0 -21554
|
@@ -0,0 +1,2619 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
import type { Client, Options as Options2, TDataShape } from './client';
|
|
4
|
+
import { client } from './client.gen';
|
|
5
|
+
import type { ActivateCreateData, ActivateCreateResponses, AdminCategoriesCreateData, AdminCategoriesCreateResponses, AdminCategoriesDestroyData, AdminCategoriesDestroyResponses, AdminCategoriesListData, AdminCategoriesListResponses, AdminCategoriesPartialUpdateData, AdminCategoriesPartialUpdateResponses, AdminCategoriesRetrieveData, AdminCategoriesRetrieveResponses, AdminCategoriesUpdateData, AdminCategoriesUpdateResponses, AdminCompanyPartialUpdateData, AdminCompanyPartialUpdateResponses, AdminCompanyRetrieveData, AdminCompanyRetrieveResponses, AdminCompanyUpdateData, AdminCompanyUpdateResponses, AdminCurrenciesListData, AdminCurrenciesListResponses, AdminCurrenciesRetrieveData, AdminCurrenciesRetrieveResponses, AdminIntegrationsCreateData, AdminIntegrationsCreateResponses, AdminIntegrationsDestroyData, AdminIntegrationsDestroyResponses, AdminIntegrationsListData, AdminIntegrationsListResponses, AdminIntegrationsPartialUpdateData, AdminIntegrationsPartialUpdateResponses, AdminIntegrationsRetrieveData, AdminIntegrationsRetrieveResponses, AdminIntegrationsUpdateData, AdminIntegrationsUpdateResponses, AdminIntegrationsWebhooksCreateData, AdminIntegrationsWebhooksCreateResponses, AdminIntegrationsWebhooksDestroyData, AdminIntegrationsWebhooksDestroyResponses, AdminIntegrationsWebhooksListData, AdminIntegrationsWebhooksListResponses, AdminIntegrationsWebhooksPartialUpdateData, AdminIntegrationsWebhooksPartialUpdateResponses, AdminIntegrationsWebhooksRetrieveData, AdminIntegrationsWebhooksRetrieveResponses, AdminIntegrationsWebhooksUpdateData, AdminIntegrationsWebhooksUpdateResponses, AdminOrdersCreateData, AdminOrdersCreateResponses, AdminOrdersDestroyData, AdminOrdersDestroyResponses, AdminOrdersItemsCreateData, AdminOrdersItemsCreateResponses, AdminOrdersItemsDestroyData, AdminOrdersItemsDestroyResponses, AdminOrdersItemsListData, AdminOrdersItemsListResponses, AdminOrdersItemsPartialUpdateData, AdminOrdersItemsPartialUpdateResponses, AdminOrdersItemsRetrieveData, AdminOrdersItemsRetrieveResponses, AdminOrdersItemsUpdateData, AdminOrdersItemsUpdateResponses, AdminOrdersListData, AdminOrdersListResponses, AdminOrdersPartialUpdateData, AdminOrdersPartialUpdateResponses, AdminOrdersPaymentsCreateData, AdminOrdersPaymentsCreateResponses, AdminOrdersPaymentsListData, AdminOrdersPaymentsListResponses, AdminOrdersPaymentsPartialUpdateData, AdminOrdersPaymentsPartialUpdateResponses, AdminOrdersPaymentsRetrieveData, AdminOrdersPaymentsRetrieveResponses, AdminOrdersPaymentsUpdateData, AdminOrdersPaymentsUpdateResponses, AdminOrdersRefundsCreateData, AdminOrdersRefundsCreateResponses, AdminOrdersRefundsListData, AdminOrdersRefundsListResponses, AdminOrdersRefundsPartialUpdateData, AdminOrdersRefundsPartialUpdateResponses, AdminOrdersRefundsRetrieveData, AdminOrdersRefundsRetrieveResponses, AdminOrdersRefundsUpdateData, AdminOrdersRefundsUpdateResponses, AdminOrdersRetrieveData, AdminOrdersRetrieveResponses, AdminOrdersUpdateData, AdminOrdersUpdateResponses, AdminProductsCategoriesCreateData, AdminProductsCategoriesCreateResponses, AdminProductsCategoriesDestroyData, AdminProductsCategoriesDestroyResponses, AdminProductsCategoriesListData, AdminProductsCategoriesListResponses, AdminProductsCategoriesRetrieveData, AdminProductsCategoriesRetrieveResponses, AdminProductsCreateData, AdminProductsCreateResponses, AdminProductsDestroyData, AdminProductsDestroyResponses, AdminProductsImagesCreateData, AdminProductsImagesCreateResponses, AdminProductsImagesDestroyData, AdminProductsImagesDestroyResponses, AdminProductsImagesListData, AdminProductsImagesListResponses, AdminProductsImagesPartialUpdateData, AdminProductsImagesPartialUpdateResponses, AdminProductsImagesRetrieveData, AdminProductsImagesRetrieveResponses, AdminProductsImagesUpdateData, AdminProductsImagesUpdateResponses, AdminProductsListData, AdminProductsListResponses, AdminProductsOptionsCreateData, AdminProductsOptionsCreateResponses, AdminProductsOptionsDestroyData, AdminProductsOptionsDestroyResponses, AdminProductsOptionsListData, AdminProductsOptionsListResponses, AdminProductsOptionsPartialUpdateData, AdminProductsOptionsPartialUpdateResponses, AdminProductsOptionsRetrieveData, AdminProductsOptionsRetrieveResponses, AdminProductsOptionsUpdateData, AdminProductsOptionsUpdateResponses, AdminProductsPartialUpdateData, AdminProductsPartialUpdateResponses, AdminProductsPricesCreateData, AdminProductsPricesCreateResponses, AdminProductsPricesDestroyData, AdminProductsPricesDestroyResponses, AdminProductsPricesListData, AdminProductsPricesListResponses, AdminProductsPricesPartialUpdateData, AdminProductsPricesPartialUpdateResponses, AdminProductsPricesRetrieveData, AdminProductsPricesRetrieveResponses, AdminProductsPricesUpdateData, AdminProductsPricesUpdateResponses, AdminProductsRetrieveData, AdminProductsRetrieveResponses, AdminProductsUpdateData, AdminProductsUpdateResponses, AdminProductsVariantsCreateData, AdminProductsVariantsCreateResponses, AdminProductsVariantsDestroyData, AdminProductsVariantsDestroyResponses, AdminProductsVariantsListData, AdminProductsVariantsListResponses, AdminProductsVariantsPartialUpdateData, AdminProductsVariantsPartialUpdateResponses, AdminProductsVariantsPricesCreateData, AdminProductsVariantsPricesCreateResponses, AdminProductsVariantsPricesDestroyData, AdminProductsVariantsPricesDestroyResponses, AdminProductsVariantsPricesListData, AdminProductsVariantsPricesListResponses, AdminProductsVariantsPricesPartialUpdateData, AdminProductsVariantsPricesPartialUpdateResponses, AdminProductsVariantsPricesRetrieveData, AdminProductsVariantsPricesRetrieveResponses, AdminProductsVariantsPricesUpdateData, AdminProductsVariantsPricesUpdateResponses, AdminProductsVariantsRetrieveData, AdminProductsVariantsRetrieveResponses, AdminProductsVariantsUpdateData, AdminProductsVariantsUpdateResponses, AdminRedemptionsCreateData, AdminRedemptionsCreateResponses, AdminRedemptionsListData, AdminRedemptionsListResponses, AdminRedemptionsRetrieveData, AdminRedemptionsRetrieveResponses, AdminSellersListData, AdminSellersListResponses, AdminSellersPartialUpdateData, AdminSellersPartialUpdateResponses, AdminSellersRetrieveData, AdminSellersRetrieveResponses, AdminSellersUpdateData, AdminSellersUpdateResponses, AdminVoucherImportsCreateData, AdminVoucherImportsCreateResponses, AdminVoucherImportsListData, AdminVoucherImportsListResponses, AdminVoucherImportsRetrieveData, AdminVoucherImportsRetrieveResponses, AdminVouchersActionsListData, AdminVouchersActionsListResponses, AdminVouchersActionsRetrieveData, AdminVouchersActionsRetrieveResponses, AdminVouchersCreateData, AdminVouchersCreateResponses, AdminVouchersDestroyData, AdminVouchersDestroyResponses, AdminVouchersImportCreateData, AdminVouchersImportCreateResponses, AdminVouchersListData, AdminVouchersListResponses, AdminVouchersPartialUpdateData, AdminVouchersPartialUpdateResponses, AdminVouchersQueryCreateData, AdminVouchersQueryCreateResponses, AdminVouchersRetrieveData, AdminVouchersRetrieveResponses, AdminVouchersUpdateData, AdminVouchersUpdateResponses, DeactivateCreateData, DeactivateCreateResponses, ManagerCategoriesListData, ManagerCategoriesListResponses, ManagerCategoriesRetrieveData, ManagerCategoriesRetrieveResponses, ManagerCompanyRetrieveData, ManagerCompanyRetrieveResponses, ManagerCurrenciesListData, ManagerCurrenciesListResponses, ManagerCurrenciesRetrieveData, ManagerCurrenciesRetrieveResponses, ManagerSellersCreateData, ManagerSellersCreateResponses, ManagerSellersIntegrationsCreateData, ManagerSellersIntegrationsCreateResponses, ManagerSellersIntegrationsDestroyData, ManagerSellersIntegrationsDestroyResponses, ManagerSellersIntegrationsListData, ManagerSellersIntegrationsListResponses, ManagerSellersIntegrationsPartialUpdateData, ManagerSellersIntegrationsPartialUpdateResponses, ManagerSellersIntegrationsRetrieveData, ManagerSellersIntegrationsRetrieveResponses, ManagerSellersIntegrationsUpdateData, ManagerSellersIntegrationsUpdateResponses, ManagerSellersIntegrationsWebhooksCreateData, ManagerSellersIntegrationsWebhooksCreateResponses, ManagerSellersIntegrationsWebhooksDestroyData, ManagerSellersIntegrationsWebhooksDestroyResponses, ManagerSellersIntegrationsWebhooksListData, ManagerSellersIntegrationsWebhooksListResponses, ManagerSellersIntegrationsWebhooksPartialUpdateData, ManagerSellersIntegrationsWebhooksPartialUpdateResponses, ManagerSellersIntegrationsWebhooksRetrieveData, ManagerSellersIntegrationsWebhooksRetrieveResponses, ManagerSellersIntegrationsWebhooksUpdateData, ManagerSellersIntegrationsWebhooksUpdateResponses, ManagerSellersListData, ManagerSellersListResponses, ManagerSellersOrdersItemsListData, ManagerSellersOrdersItemsListResponses, ManagerSellersOrdersItemsPartialUpdateData, ManagerSellersOrdersItemsPartialUpdateResponses, ManagerSellersOrdersItemsRetrieveData, ManagerSellersOrdersItemsRetrieveResponses, ManagerSellersOrdersItemsUpdateData, ManagerSellersOrdersItemsUpdateResponses, ManagerSellersOrdersListData, ManagerSellersOrdersListResponses, ManagerSellersOrdersPartialUpdateData, ManagerSellersOrdersPartialUpdateResponses, ManagerSellersOrdersPaymentsListData, ManagerSellersOrdersPaymentsListResponses, ManagerSellersOrdersPaymentsPartialUpdateData, ManagerSellersOrdersPaymentsPartialUpdateResponses, ManagerSellersOrdersPaymentsRetrieveData, ManagerSellersOrdersPaymentsRetrieveResponses, ManagerSellersOrdersPaymentsUpdateData, ManagerSellersOrdersPaymentsUpdateResponses, ManagerSellersOrdersRefundsCreateData, ManagerSellersOrdersRefundsCreateResponses, ManagerSellersOrdersRefundsListData, ManagerSellersOrdersRefundsListResponses, ManagerSellersOrdersRefundsPartialUpdateData, ManagerSellersOrdersRefundsPartialUpdateResponses, ManagerSellersOrdersRefundsRetrieveData, ManagerSellersOrdersRefundsRetrieveResponses, ManagerSellersOrdersRefundsUpdateData, ManagerSellersOrdersRefundsUpdateResponses, ManagerSellersOrdersRetrieveData, ManagerSellersOrdersRetrieveResponses, ManagerSellersOrdersUpdateData, ManagerSellersOrdersUpdateResponses, ManagerSellersPartialUpdateData, ManagerSellersPartialUpdateResponses, ManagerSellersProductsCategoriesCreateData, ManagerSellersProductsCategoriesCreateResponses, ManagerSellersProductsCategoriesDestroyData, ManagerSellersProductsCategoriesDestroyResponses, ManagerSellersProductsCategoriesListData, ManagerSellersProductsCategoriesListResponses, ManagerSellersProductsCategoriesRetrieveData, ManagerSellersProductsCategoriesRetrieveResponses, ManagerSellersProductsCreateData, ManagerSellersProductsCreateResponses, ManagerSellersProductsDestroyData, ManagerSellersProductsDestroyResponses, ManagerSellersProductsImagesCreateData, ManagerSellersProductsImagesCreateResponses, ManagerSellersProductsImagesDestroyData, ManagerSellersProductsImagesDestroyResponses, ManagerSellersProductsImagesListData, ManagerSellersProductsImagesListResponses, ManagerSellersProductsImagesPartialUpdateData, ManagerSellersProductsImagesPartialUpdateResponses, ManagerSellersProductsImagesRetrieveData, ManagerSellersProductsImagesRetrieveResponses, ManagerSellersProductsImagesUpdateData, ManagerSellersProductsImagesUpdateResponses, ManagerSellersProductsListData, ManagerSellersProductsListResponses, ManagerSellersProductsOptionsCreateData, ManagerSellersProductsOptionsCreateResponses, ManagerSellersProductsOptionsDestroyData, ManagerSellersProductsOptionsDestroyResponses, ManagerSellersProductsOptionsListData, ManagerSellersProductsOptionsListResponses, ManagerSellersProductsOptionsPartialUpdateData, ManagerSellersProductsOptionsPartialUpdateResponses, ManagerSellersProductsOptionsRetrieveData, ManagerSellersProductsOptionsRetrieveResponses, ManagerSellersProductsOptionsUpdateData, ManagerSellersProductsOptionsUpdateResponses, ManagerSellersProductsPartialUpdateData, ManagerSellersProductsPartialUpdateResponses, ManagerSellersProductsPricesCreateData, ManagerSellersProductsPricesCreateResponses, ManagerSellersProductsPricesDestroyData, ManagerSellersProductsPricesDestroyResponses, ManagerSellersProductsPricesListData, ManagerSellersProductsPricesListResponses, ManagerSellersProductsPricesPartialUpdateData, ManagerSellersProductsPricesPartialUpdateResponses, ManagerSellersProductsPricesRetrieveData, ManagerSellersProductsPricesRetrieveResponses, ManagerSellersProductsPricesUpdateData, ManagerSellersProductsPricesUpdateResponses, ManagerSellersProductsRetrieveData, ManagerSellersProductsRetrieveResponses, ManagerSellersProductsUpdateData, ManagerSellersProductsUpdateResponses, ManagerSellersProductsVariantsCreateData, ManagerSellersProductsVariantsCreateResponses, ManagerSellersProductsVariantsDestroyData, ManagerSellersProductsVariantsDestroyResponses, ManagerSellersProductsVariantsListData, ManagerSellersProductsVariantsListResponses, ManagerSellersProductsVariantsPartialUpdateData, ManagerSellersProductsVariantsPartialUpdateResponses, ManagerSellersProductsVariantsPricesCreateData, ManagerSellersProductsVariantsPricesCreateResponses, ManagerSellersProductsVariantsPricesDestroyData, ManagerSellersProductsVariantsPricesDestroyResponses, ManagerSellersProductsVariantsPricesListData, ManagerSellersProductsVariantsPricesListResponses, ManagerSellersProductsVariantsPricesPartialUpdateData, ManagerSellersProductsVariantsPricesPartialUpdateResponses, ManagerSellersProductsVariantsPricesRetrieveData, ManagerSellersProductsVariantsPricesRetrieveResponses, ManagerSellersProductsVariantsPricesUpdateData, ManagerSellersProductsVariantsPricesUpdateResponses, ManagerSellersProductsVariantsRetrieveData, ManagerSellersProductsVariantsRetrieveResponses, ManagerSellersProductsVariantsUpdateData, ManagerSellersProductsVariantsUpdateResponses, ManagerSellersRedemptionsCreateData, ManagerSellersRedemptionsCreateResponses, ManagerSellersRedemptionsListData, ManagerSellersRedemptionsListResponses, ManagerSellersRedemptionsRetrieveData, ManagerSellersRedemptionsRetrieveResponses, ManagerSellersRetrieveData, ManagerSellersRetrieveResponses, ManagerSellersUpdateData, ManagerSellersUpdateResponses, ManagerSellersVoucherImportCreateData, ManagerSellersVoucherImportCreateResponses, ManagerSellersVoucherImportsCreateData, ManagerSellersVoucherImportsCreateResponses, ManagerSellersVoucherImportsListData, ManagerSellersVoucherImportsListResponses, ManagerSellersVoucherImportsRetrieveData, ManagerSellersVoucherImportsRetrieveResponses, ManagerSellersVouchersActionsListData, ManagerSellersVouchersActionsListResponses, ManagerSellersVouchersActionsRetrieveData, ManagerSellersVouchersActionsRetrieveResponses, ManagerSellersVouchersCreateData, ManagerSellersVouchersCreateResponses, ManagerSellersVouchersDestroyData, ManagerSellersVouchersDestroyResponses, ManagerSellersVouchersListData, ManagerSellersVouchersListResponses, ManagerSellersVouchersPartialUpdateData, ManagerSellersVouchersPartialUpdateResponses, ManagerSellersVouchersQueryCreateData, ManagerSellersVouchersQueryCreateResponses, ManagerSellersVouchersRetrieveData, ManagerSellersVouchersRetrieveResponses, ManagerSellersVouchersUpdateData, ManagerSellersVouchersUpdateResponses, UserCategoriesListData, UserCategoriesListResponses, UserCategoriesRetrieveData, UserCategoriesRetrieveResponses, UserCompanyRetrieveData, UserCompanyRetrieveResponses, UserOrdersCreateData, UserOrdersCreateResponses, UserOrdersDestroyData, UserOrdersDestroyResponses, UserOrdersItemsCreateData, UserOrdersItemsCreateResponses, UserOrdersItemsDestroyData, UserOrdersItemsDestroyResponses, UserOrdersItemsListData, UserOrdersItemsListResponses, UserOrdersItemsPartialUpdateData, UserOrdersItemsPartialUpdateResponses, UserOrdersItemsRetrieveData, UserOrdersItemsRetrieveResponses, UserOrdersItemsUpdateData, UserOrdersItemsUpdateResponses, UserOrdersListData, UserOrdersListResponses, UserOrdersPartialUpdateData, UserOrdersPartialUpdateResponses, UserOrdersPaymentsCreateData, UserOrdersPaymentsCreateResponses, UserOrdersPaymentsListData, UserOrdersPaymentsListResponses, UserOrdersPaymentsRetrieveData, UserOrdersPaymentsRetrieveResponses, UserOrdersRefundsListData, UserOrdersRefundsListResponses, UserOrdersRefundsRetrieveData, UserOrdersRefundsRetrieveResponses, UserOrdersRetrieveData, UserOrdersRetrieveResponses, UserOrdersUpdateData, UserOrdersUpdateResponses, UserProductsImagesListData, UserProductsImagesListResponses, UserProductsImagesRetrieveData, UserProductsImagesRetrieveResponses, UserProductsListData, UserProductsListResponses, UserProductsPricesListData, UserProductsPricesListResponses, UserProductsPricesRetrieveData, UserProductsPricesRetrieveResponses, UserProductsRetrieveData, UserProductsRetrieveResponses, UserProductsVariantsListData, UserProductsVariantsListResponses, UserProductsVariantsRetrieveData, UserProductsVariantsRetrieveResponses, UserRedemptionsCreateData, UserRedemptionsCreateResponses, UserRedemptionsListData, UserRedemptionsListResponses, UserRedemptionsRetrieveData, UserRedemptionsRetrieveResponses, UserSellersListData, UserSellersListResponses, UserSellersRetrieveData, UserSellersRetrieveResponses, UserVouchersActionsListData, UserVouchersActionsListResponses, UserVouchersActionsRetrieveData, UserVouchersActionsRetrieveResponses, UserVouchersListData, UserVouchersListResponses, UserVouchersQueryCreateData, UserVouchersQueryCreateResponses, UserVouchersRetrieveData, UserVouchersRetrieveResponses, WebhookCreateData, WebhookCreateResponses } from './types.gen';
|
|
6
|
+
|
|
7
|
+
export type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options2<TData, ThrowOnError> & {
|
|
8
|
+
/**
|
|
9
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
10
|
+
* individual options. This might be also useful if you want to implement a
|
|
11
|
+
* custom client.
|
|
12
|
+
*/
|
|
13
|
+
client?: Client;
|
|
14
|
+
/**
|
|
15
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
16
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
17
|
+
*/
|
|
18
|
+
meta?: Record<string, unknown>;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* Activate service
|
|
23
|
+
*/
|
|
24
|
+
export const activateCreate = <ThrowOnError extends boolean = false>(options: Options<ActivateCreateData, ThrowOnError>) => (options.client ?? client).post<ActivateCreateResponses, unknown, ThrowOnError>({
|
|
25
|
+
url: '/activate/',
|
|
26
|
+
...options,
|
|
27
|
+
headers: {
|
|
28
|
+
'Content-Type': 'application/json',
|
|
29
|
+
...options.headers
|
|
30
|
+
}
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* List categories
|
|
35
|
+
*/
|
|
36
|
+
export const adminCategoriesList = <ThrowOnError extends boolean = false>(options?: Options<AdminCategoriesListData, ThrowOnError>) => (options?.client ?? client).get<AdminCategoriesListResponses, unknown, ThrowOnError>({
|
|
37
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
38
|
+
url: '/admin/categories/',
|
|
39
|
+
...options
|
|
40
|
+
});
|
|
41
|
+
|
|
42
|
+
/**
|
|
43
|
+
* Create category
|
|
44
|
+
*/
|
|
45
|
+
export const adminCategoriesCreate = <ThrowOnError extends boolean = false>(options: Options<AdminCategoriesCreateData, ThrowOnError>) => (options.client ?? client).post<AdminCategoriesCreateResponses, unknown, ThrowOnError>({
|
|
46
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
47
|
+
url: '/admin/categories/',
|
|
48
|
+
...options,
|
|
49
|
+
headers: {
|
|
50
|
+
'Content-Type': 'application/json',
|
|
51
|
+
...options.headers
|
|
52
|
+
}
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
/**
|
|
56
|
+
* Delete category
|
|
57
|
+
*/
|
|
58
|
+
export const adminCategoriesDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminCategoriesDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminCategoriesDestroyResponses, unknown, ThrowOnError>({
|
|
59
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
60
|
+
url: '/admin/categories/{identifier}/',
|
|
61
|
+
...options
|
|
62
|
+
});
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* Retrieve category
|
|
66
|
+
*/
|
|
67
|
+
export const adminCategoriesRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminCategoriesRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminCategoriesRetrieveResponses, unknown, ThrowOnError>({
|
|
68
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
69
|
+
url: '/admin/categories/{identifier}/',
|
|
70
|
+
...options
|
|
71
|
+
});
|
|
72
|
+
|
|
73
|
+
/**
|
|
74
|
+
* Partially update category
|
|
75
|
+
*/
|
|
76
|
+
export const adminCategoriesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminCategoriesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminCategoriesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
77
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
78
|
+
url: '/admin/categories/{identifier}/',
|
|
79
|
+
...options,
|
|
80
|
+
headers: {
|
|
81
|
+
'Content-Type': 'application/json',
|
|
82
|
+
...options.headers
|
|
83
|
+
}
|
|
84
|
+
});
|
|
85
|
+
|
|
86
|
+
/**
|
|
87
|
+
* Update category
|
|
88
|
+
*/
|
|
89
|
+
export const adminCategoriesUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminCategoriesUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminCategoriesUpdateResponses, unknown, ThrowOnError>({
|
|
90
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
91
|
+
url: '/admin/categories/{identifier}/',
|
|
92
|
+
...options,
|
|
93
|
+
headers: {
|
|
94
|
+
'Content-Type': 'application/json',
|
|
95
|
+
...options.headers
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
|
|
99
|
+
/**
|
|
100
|
+
* Retrieve company
|
|
101
|
+
*/
|
|
102
|
+
export const adminCompanyRetrieve = <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyRetrieveData, ThrowOnError>) => (options?.client ?? client).get<AdminCompanyRetrieveResponses, unknown, ThrowOnError>({
|
|
103
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
104
|
+
url: '/admin/company/',
|
|
105
|
+
...options
|
|
106
|
+
});
|
|
107
|
+
|
|
108
|
+
/**
|
|
109
|
+
* Partially update company
|
|
110
|
+
*/
|
|
111
|
+
export const adminCompanyPartialUpdate = <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyPartialUpdateData, ThrowOnError>) => (options?.client ?? client).patch<AdminCompanyPartialUpdateResponses, unknown, ThrowOnError>({
|
|
112
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
113
|
+
url: '/admin/company/',
|
|
114
|
+
...options,
|
|
115
|
+
headers: {
|
|
116
|
+
'Content-Type': 'application/json',
|
|
117
|
+
...options?.headers
|
|
118
|
+
}
|
|
119
|
+
});
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* Update company
|
|
123
|
+
*/
|
|
124
|
+
export const adminCompanyUpdate = <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyUpdateData, ThrowOnError>) => (options?.client ?? client).put<AdminCompanyUpdateResponses, unknown, ThrowOnError>({
|
|
125
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
126
|
+
url: '/admin/company/',
|
|
127
|
+
...options,
|
|
128
|
+
headers: {
|
|
129
|
+
'Content-Type': 'application/json',
|
|
130
|
+
...options?.headers
|
|
131
|
+
}
|
|
132
|
+
});
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* List currencies
|
|
136
|
+
*/
|
|
137
|
+
export const adminCurrenciesList = <ThrowOnError extends boolean = false>(options?: Options<AdminCurrenciesListData, ThrowOnError>) => (options?.client ?? client).get<AdminCurrenciesListResponses, unknown, ThrowOnError>({
|
|
138
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
139
|
+
url: '/admin/currencies/',
|
|
140
|
+
...options
|
|
141
|
+
});
|
|
142
|
+
|
|
143
|
+
/**
|
|
144
|
+
* Retrieve currency
|
|
145
|
+
*/
|
|
146
|
+
export const adminCurrenciesRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminCurrenciesRetrieveResponses, unknown, ThrowOnError>({
|
|
147
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
148
|
+
url: '/admin/currencies/{code}/',
|
|
149
|
+
...options
|
|
150
|
+
});
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* List integrations
|
|
154
|
+
*/
|
|
155
|
+
export const adminIntegrationsList = <ThrowOnError extends boolean = false>(options?: Options<AdminIntegrationsListData, ThrowOnError>) => (options?.client ?? client).get<AdminIntegrationsListResponses, unknown, ThrowOnError>({
|
|
156
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
157
|
+
url: '/admin/integrations/',
|
|
158
|
+
...options
|
|
159
|
+
});
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* Create integration
|
|
163
|
+
*/
|
|
164
|
+
export const adminIntegrationsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminIntegrationsCreateResponses, unknown, ThrowOnError>({
|
|
165
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
166
|
+
url: '/admin/integrations/',
|
|
167
|
+
...options,
|
|
168
|
+
headers: {
|
|
169
|
+
'Content-Type': 'application/json',
|
|
170
|
+
...options.headers
|
|
171
|
+
}
|
|
172
|
+
});
|
|
173
|
+
|
|
174
|
+
/**
|
|
175
|
+
* Delete integration
|
|
176
|
+
*/
|
|
177
|
+
export const adminIntegrationsDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminIntegrationsDestroyResponses, unknown, ThrowOnError>({
|
|
178
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
179
|
+
url: '/admin/integrations/{identifier}/',
|
|
180
|
+
...options
|
|
181
|
+
});
|
|
182
|
+
|
|
183
|
+
/**
|
|
184
|
+
* Retrieve integration
|
|
185
|
+
*/
|
|
186
|
+
export const adminIntegrationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminIntegrationsRetrieveResponses, unknown, ThrowOnError>({
|
|
187
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
188
|
+
url: '/admin/integrations/{identifier}/',
|
|
189
|
+
...options
|
|
190
|
+
});
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Partially update integration
|
|
194
|
+
*/
|
|
195
|
+
export const adminIntegrationsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminIntegrationsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
196
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
197
|
+
url: '/admin/integrations/{identifier}/',
|
|
198
|
+
...options,
|
|
199
|
+
headers: {
|
|
200
|
+
'Content-Type': 'application/json',
|
|
201
|
+
...options.headers
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* Update integration
|
|
207
|
+
*/
|
|
208
|
+
export const adminIntegrationsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminIntegrationsUpdateResponses, unknown, ThrowOnError>({
|
|
209
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
210
|
+
url: '/admin/integrations/{identifier}/',
|
|
211
|
+
...options,
|
|
212
|
+
headers: {
|
|
213
|
+
'Content-Type': 'application/json',
|
|
214
|
+
...options.headers
|
|
215
|
+
}
|
|
216
|
+
});
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* List integration webhooks
|
|
220
|
+
*/
|
|
221
|
+
export const adminIntegrationsWebhooksList = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsWebhooksListData, ThrowOnError>) => (options.client ?? client).get<AdminIntegrationsWebhooksListResponses, unknown, ThrowOnError>({
|
|
222
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
223
|
+
url: '/admin/integrations/{identifier}/webhooks/',
|
|
224
|
+
...options
|
|
225
|
+
});
|
|
226
|
+
|
|
227
|
+
/**
|
|
228
|
+
* Create integration webhook
|
|
229
|
+
*/
|
|
230
|
+
export const adminIntegrationsWebhooksCreate = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsWebhooksCreateData, ThrowOnError>) => (options.client ?? client).post<AdminIntegrationsWebhooksCreateResponses, unknown, ThrowOnError>({
|
|
231
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
232
|
+
url: '/admin/integrations/{identifier}/webhooks/',
|
|
233
|
+
...options,
|
|
234
|
+
headers: {
|
|
235
|
+
'Content-Type': 'application/json',
|
|
236
|
+
...options.headers
|
|
237
|
+
}
|
|
238
|
+
});
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Delete integration webhook
|
|
242
|
+
*/
|
|
243
|
+
export const adminIntegrationsWebhooksDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsWebhooksDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminIntegrationsWebhooksDestroyResponses, unknown, ThrowOnError>({
|
|
244
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
245
|
+
url: '/admin/integrations/{integration_id}/webhooks{webhook_id}/',
|
|
246
|
+
...options
|
|
247
|
+
});
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Retrieve integration webhook
|
|
251
|
+
*/
|
|
252
|
+
export const adminIntegrationsWebhooksRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsWebhooksRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminIntegrationsWebhooksRetrieveResponses, unknown, ThrowOnError>({
|
|
253
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
254
|
+
url: '/admin/integrations/{integration_id}/webhooks{webhook_id}/',
|
|
255
|
+
...options
|
|
256
|
+
});
|
|
257
|
+
|
|
258
|
+
/**
|
|
259
|
+
* Partially update integration webhook
|
|
260
|
+
*/
|
|
261
|
+
export const adminIntegrationsWebhooksPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsWebhooksPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminIntegrationsWebhooksPartialUpdateResponses, unknown, ThrowOnError>({
|
|
262
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
263
|
+
url: '/admin/integrations/{integration_id}/webhooks{webhook_id}/',
|
|
264
|
+
...options,
|
|
265
|
+
headers: {
|
|
266
|
+
'Content-Type': 'application/json',
|
|
267
|
+
...options.headers
|
|
268
|
+
}
|
|
269
|
+
});
|
|
270
|
+
|
|
271
|
+
/**
|
|
272
|
+
* Update integration webhook
|
|
273
|
+
*/
|
|
274
|
+
export const adminIntegrationsWebhooksUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminIntegrationsWebhooksUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminIntegrationsWebhooksUpdateResponses, unknown, ThrowOnError>({
|
|
275
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
276
|
+
url: '/admin/integrations/{integration_id}/webhooks{webhook_id}/',
|
|
277
|
+
...options,
|
|
278
|
+
headers: {
|
|
279
|
+
'Content-Type': 'application/json',
|
|
280
|
+
...options.headers
|
|
281
|
+
}
|
|
282
|
+
});
|
|
283
|
+
|
|
284
|
+
/**
|
|
285
|
+
* List orders
|
|
286
|
+
*/
|
|
287
|
+
export const adminOrdersList = <ThrowOnError extends boolean = false>(options?: Options<AdminOrdersListData, ThrowOnError>) => (options?.client ?? client).get<AdminOrdersListResponses, unknown, ThrowOnError>({
|
|
288
|
+
querySerializer: { parameters: { orderby: { array: { explode: false } } } },
|
|
289
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
290
|
+
url: '/admin/orders/',
|
|
291
|
+
...options
|
|
292
|
+
});
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* Create order
|
|
296
|
+
*/
|
|
297
|
+
export const adminOrdersCreate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersCreateData, ThrowOnError>) => (options.client ?? client).post<AdminOrdersCreateResponses, unknown, ThrowOnError>({
|
|
298
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
299
|
+
url: '/admin/orders/',
|
|
300
|
+
...options,
|
|
301
|
+
headers: {
|
|
302
|
+
'Content-Type': 'application/json',
|
|
303
|
+
...options.headers
|
|
304
|
+
}
|
|
305
|
+
});
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* Delete order
|
|
309
|
+
*/
|
|
310
|
+
export const adminOrdersDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminOrdersDestroyResponses, unknown, ThrowOnError>({
|
|
311
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
312
|
+
url: '/admin/orders/{identifier}/',
|
|
313
|
+
...options
|
|
314
|
+
});
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Retrieve order
|
|
318
|
+
*/
|
|
319
|
+
export const adminOrdersRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersRetrieveResponses, unknown, ThrowOnError>({
|
|
320
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
321
|
+
url: '/admin/orders/{identifier}/',
|
|
322
|
+
...options
|
|
323
|
+
});
|
|
324
|
+
|
|
325
|
+
/**
|
|
326
|
+
* Partially update order
|
|
327
|
+
*/
|
|
328
|
+
export const adminOrdersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminOrdersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
329
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
330
|
+
url: '/admin/orders/{identifier}/',
|
|
331
|
+
...options,
|
|
332
|
+
headers: {
|
|
333
|
+
'Content-Type': 'application/json',
|
|
334
|
+
...options.headers
|
|
335
|
+
}
|
|
336
|
+
});
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Update order
|
|
340
|
+
*/
|
|
341
|
+
export const adminOrdersUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminOrdersUpdateResponses, unknown, ThrowOnError>({
|
|
342
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
343
|
+
url: '/admin/orders/{identifier}/',
|
|
344
|
+
...options,
|
|
345
|
+
headers: {
|
|
346
|
+
'Content-Type': 'application/json',
|
|
347
|
+
...options.headers
|
|
348
|
+
}
|
|
349
|
+
});
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* List order items
|
|
353
|
+
*/
|
|
354
|
+
export const adminOrdersItemsList = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersItemsListData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersItemsListResponses, unknown, ThrowOnError>({
|
|
355
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
356
|
+
url: '/admin/orders/{identifier}/items/',
|
|
357
|
+
...options
|
|
358
|
+
});
|
|
359
|
+
|
|
360
|
+
/**
|
|
361
|
+
* Create order item
|
|
362
|
+
*/
|
|
363
|
+
export const adminOrdersItemsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersItemsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminOrdersItemsCreateResponses, unknown, ThrowOnError>({
|
|
364
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
365
|
+
url: '/admin/orders/{identifier}/items/',
|
|
366
|
+
...options,
|
|
367
|
+
headers: {
|
|
368
|
+
'Content-Type': 'application/json',
|
|
369
|
+
...options.headers
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
|
|
373
|
+
/**
|
|
374
|
+
* List payments
|
|
375
|
+
*/
|
|
376
|
+
export const adminOrdersPaymentsList = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersPaymentsListData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersPaymentsListResponses, unknown, ThrowOnError>({
|
|
377
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
378
|
+
url: '/admin/orders/{identifier}/payments/',
|
|
379
|
+
...options
|
|
380
|
+
});
|
|
381
|
+
|
|
382
|
+
/**
|
|
383
|
+
* Create payment
|
|
384
|
+
*/
|
|
385
|
+
export const adminOrdersPaymentsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersPaymentsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminOrdersPaymentsCreateResponses, unknown, ThrowOnError>({
|
|
386
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
387
|
+
url: '/admin/orders/{identifier}/payments/',
|
|
388
|
+
...options,
|
|
389
|
+
headers: {
|
|
390
|
+
'Content-Type': 'application/json',
|
|
391
|
+
...options.headers
|
|
392
|
+
}
|
|
393
|
+
});
|
|
394
|
+
|
|
395
|
+
/**
|
|
396
|
+
* List refunds
|
|
397
|
+
*/
|
|
398
|
+
export const adminOrdersRefundsList = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersRefundsListData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersRefundsListResponses, unknown, ThrowOnError>({
|
|
399
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
400
|
+
url: '/admin/orders/{identifier}/refunds/',
|
|
401
|
+
...options
|
|
402
|
+
});
|
|
403
|
+
|
|
404
|
+
/**
|
|
405
|
+
* Create refund
|
|
406
|
+
*/
|
|
407
|
+
export const adminOrdersRefundsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersRefundsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminOrdersRefundsCreateResponses, unknown, ThrowOnError>({
|
|
408
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
409
|
+
url: '/admin/orders/{identifier}/refunds/',
|
|
410
|
+
...options,
|
|
411
|
+
headers: {
|
|
412
|
+
'Content-Type': 'application/json',
|
|
413
|
+
...options.headers
|
|
414
|
+
}
|
|
415
|
+
});
|
|
416
|
+
|
|
417
|
+
/**
|
|
418
|
+
* Delete order item
|
|
419
|
+
*/
|
|
420
|
+
export const adminOrdersItemsDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersItemsDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminOrdersItemsDestroyResponses, unknown, ThrowOnError>({
|
|
421
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
422
|
+
url: '/admin/orders/{order_id}/items/{item_id}/',
|
|
423
|
+
...options
|
|
424
|
+
});
|
|
425
|
+
|
|
426
|
+
/**
|
|
427
|
+
* Retrieve order item
|
|
428
|
+
*/
|
|
429
|
+
export const adminOrdersItemsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersItemsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersItemsRetrieveResponses, unknown, ThrowOnError>({
|
|
430
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
431
|
+
url: '/admin/orders/{order_id}/items/{item_id}/',
|
|
432
|
+
...options
|
|
433
|
+
});
|
|
434
|
+
|
|
435
|
+
/**
|
|
436
|
+
* Partially update order item
|
|
437
|
+
*/
|
|
438
|
+
export const adminOrdersItemsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersItemsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminOrdersItemsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
439
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
440
|
+
url: '/admin/orders/{order_id}/items/{item_id}/',
|
|
441
|
+
...options,
|
|
442
|
+
headers: {
|
|
443
|
+
'Content-Type': 'application/json',
|
|
444
|
+
...options.headers
|
|
445
|
+
}
|
|
446
|
+
});
|
|
447
|
+
|
|
448
|
+
/**
|
|
449
|
+
* Update order item
|
|
450
|
+
*/
|
|
451
|
+
export const adminOrdersItemsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersItemsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminOrdersItemsUpdateResponses, unknown, ThrowOnError>({
|
|
452
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
453
|
+
url: '/admin/orders/{order_id}/items/{item_id}/',
|
|
454
|
+
...options,
|
|
455
|
+
headers: {
|
|
456
|
+
'Content-Type': 'application/json',
|
|
457
|
+
...options.headers
|
|
458
|
+
}
|
|
459
|
+
});
|
|
460
|
+
|
|
461
|
+
/**
|
|
462
|
+
* Retrieve payment
|
|
463
|
+
*/
|
|
464
|
+
export const adminOrdersPaymentsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersPaymentsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersPaymentsRetrieveResponses, unknown, ThrowOnError>({
|
|
465
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
466
|
+
url: '/admin/orders/{order_id}/payments/{payment_id}/',
|
|
467
|
+
...options
|
|
468
|
+
});
|
|
469
|
+
|
|
470
|
+
/**
|
|
471
|
+
* Partially update payment
|
|
472
|
+
*/
|
|
473
|
+
export const adminOrdersPaymentsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersPaymentsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminOrdersPaymentsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
474
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
475
|
+
url: '/admin/orders/{order_id}/payments/{payment_id}/',
|
|
476
|
+
...options,
|
|
477
|
+
headers: {
|
|
478
|
+
'Content-Type': 'application/json',
|
|
479
|
+
...options.headers
|
|
480
|
+
}
|
|
481
|
+
});
|
|
482
|
+
|
|
483
|
+
/**
|
|
484
|
+
* Update payment
|
|
485
|
+
*/
|
|
486
|
+
export const adminOrdersPaymentsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersPaymentsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminOrdersPaymentsUpdateResponses, unknown, ThrowOnError>({
|
|
487
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
488
|
+
url: '/admin/orders/{order_id}/payments/{payment_id}/',
|
|
489
|
+
...options,
|
|
490
|
+
headers: {
|
|
491
|
+
'Content-Type': 'application/json',
|
|
492
|
+
...options.headers
|
|
493
|
+
}
|
|
494
|
+
});
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* Retrieve refund
|
|
498
|
+
*/
|
|
499
|
+
export const adminOrdersRefundsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersRefundsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminOrdersRefundsRetrieveResponses, unknown, ThrowOnError>({
|
|
500
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
501
|
+
url: '/admin/orders/{order_id}/refunds/{refund_id}/',
|
|
502
|
+
...options
|
|
503
|
+
});
|
|
504
|
+
|
|
505
|
+
/**
|
|
506
|
+
* Partially update refund
|
|
507
|
+
*/
|
|
508
|
+
export const adminOrdersRefundsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersRefundsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminOrdersRefundsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
509
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
510
|
+
url: '/admin/orders/{order_id}/refunds/{refund_id}/',
|
|
511
|
+
...options,
|
|
512
|
+
headers: {
|
|
513
|
+
'Content-Type': 'application/json',
|
|
514
|
+
...options.headers
|
|
515
|
+
}
|
|
516
|
+
});
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Update refund
|
|
520
|
+
*/
|
|
521
|
+
export const adminOrdersRefundsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminOrdersRefundsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminOrdersRefundsUpdateResponses, unknown, ThrowOnError>({
|
|
522
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
523
|
+
url: '/admin/orders/{order_id}/refunds/{refund_id}/',
|
|
524
|
+
...options,
|
|
525
|
+
headers: {
|
|
526
|
+
'Content-Type': 'application/json',
|
|
527
|
+
...options.headers
|
|
528
|
+
}
|
|
529
|
+
});
|
|
530
|
+
|
|
531
|
+
/**
|
|
532
|
+
* List products
|
|
533
|
+
*/
|
|
534
|
+
export const adminProductsList = <ThrowOnError extends boolean = false>(options?: Options<AdminProductsListData, ThrowOnError>) => (options?.client ?? client).get<AdminProductsListResponses, unknown, ThrowOnError>({
|
|
535
|
+
querySerializer: { parameters: { orderby: { array: { explode: false } } } },
|
|
536
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
537
|
+
url: '/admin/products/',
|
|
538
|
+
...options
|
|
539
|
+
});
|
|
540
|
+
|
|
541
|
+
/**
|
|
542
|
+
* Create product
|
|
543
|
+
*/
|
|
544
|
+
export const adminProductsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsCreateResponses, unknown, ThrowOnError>({
|
|
545
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
546
|
+
url: '/admin/products/',
|
|
547
|
+
...options,
|
|
548
|
+
headers: {
|
|
549
|
+
'Content-Type': 'application/json',
|
|
550
|
+
...options.headers
|
|
551
|
+
}
|
|
552
|
+
});
|
|
553
|
+
|
|
554
|
+
/**
|
|
555
|
+
* Delete product
|
|
556
|
+
*/
|
|
557
|
+
export const adminProductsDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsDestroyResponses, unknown, ThrowOnError>({
|
|
558
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
559
|
+
url: '/admin/products/{identifier}/',
|
|
560
|
+
...options
|
|
561
|
+
});
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* Retrieve product
|
|
565
|
+
*/
|
|
566
|
+
export const adminProductsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsRetrieveResponses, unknown, ThrowOnError>({
|
|
567
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
568
|
+
url: '/admin/products/{identifier}/',
|
|
569
|
+
...options
|
|
570
|
+
});
|
|
571
|
+
|
|
572
|
+
/**
|
|
573
|
+
* Partially update product
|
|
574
|
+
*/
|
|
575
|
+
export const adminProductsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminProductsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
576
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
577
|
+
url: '/admin/products/{identifier}/',
|
|
578
|
+
...options,
|
|
579
|
+
headers: {
|
|
580
|
+
'Content-Type': 'application/json',
|
|
581
|
+
...options.headers
|
|
582
|
+
}
|
|
583
|
+
});
|
|
584
|
+
|
|
585
|
+
/**
|
|
586
|
+
* Update product
|
|
587
|
+
*/
|
|
588
|
+
export const adminProductsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminProductsUpdateResponses, unknown, ThrowOnError>({
|
|
589
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
590
|
+
url: '/admin/products/{identifier}/',
|
|
591
|
+
...options,
|
|
592
|
+
headers: {
|
|
593
|
+
'Content-Type': 'application/json',
|
|
594
|
+
...options.headers
|
|
595
|
+
}
|
|
596
|
+
});
|
|
597
|
+
|
|
598
|
+
/**
|
|
599
|
+
* List product categories
|
|
600
|
+
*/
|
|
601
|
+
export const adminProductsCategoriesList = <ThrowOnError extends boolean = false>(options: Options<AdminProductsCategoriesListData, ThrowOnError>) => (options.client ?? client).get<AdminProductsCategoriesListResponses, unknown, ThrowOnError>({
|
|
602
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
603
|
+
url: '/admin/products/{identifier}/categories/',
|
|
604
|
+
...options
|
|
605
|
+
});
|
|
606
|
+
|
|
607
|
+
/**
|
|
608
|
+
* Create product category
|
|
609
|
+
*/
|
|
610
|
+
export const adminProductsCategoriesCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsCategoriesCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsCategoriesCreateResponses, unknown, ThrowOnError>({
|
|
611
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
612
|
+
url: '/admin/products/{identifier}/categories/',
|
|
613
|
+
...options,
|
|
614
|
+
headers: {
|
|
615
|
+
'Content-Type': 'application/json',
|
|
616
|
+
...options.headers
|
|
617
|
+
}
|
|
618
|
+
});
|
|
619
|
+
|
|
620
|
+
/**
|
|
621
|
+
* List product options
|
|
622
|
+
*/
|
|
623
|
+
export const adminProductsOptionsList = <ThrowOnError extends boolean = false>(options: Options<AdminProductsOptionsListData, ThrowOnError>) => (options.client ?? client).get<AdminProductsOptionsListResponses, unknown, ThrowOnError>({
|
|
624
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
625
|
+
url: '/admin/products/{identifier}/options/',
|
|
626
|
+
...options
|
|
627
|
+
});
|
|
628
|
+
|
|
629
|
+
/**
|
|
630
|
+
* Create product option
|
|
631
|
+
*/
|
|
632
|
+
export const adminProductsOptionsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsOptionsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsOptionsCreateResponses, unknown, ThrowOnError>({
|
|
633
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
634
|
+
url: '/admin/products/{identifier}/options/',
|
|
635
|
+
...options,
|
|
636
|
+
headers: {
|
|
637
|
+
'Content-Type': 'application/json',
|
|
638
|
+
...options.headers
|
|
639
|
+
}
|
|
640
|
+
});
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* List product prices
|
|
644
|
+
*/
|
|
645
|
+
export const adminProductsPricesList = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPricesListData, ThrowOnError>) => (options.client ?? client).get<AdminProductsPricesListResponses, unknown, ThrowOnError>({
|
|
646
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
647
|
+
url: '/admin/products/{identifier}/prices/',
|
|
648
|
+
...options
|
|
649
|
+
});
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Create product price
|
|
653
|
+
*/
|
|
654
|
+
export const adminProductsPricesCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPricesCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsPricesCreateResponses, unknown, ThrowOnError>({
|
|
655
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
656
|
+
url: '/admin/products/{identifier}/prices/',
|
|
657
|
+
...options,
|
|
658
|
+
headers: {
|
|
659
|
+
'Content-Type': 'application/json',
|
|
660
|
+
...options.headers
|
|
661
|
+
}
|
|
662
|
+
});
|
|
663
|
+
|
|
664
|
+
/**
|
|
665
|
+
* List product variants
|
|
666
|
+
*/
|
|
667
|
+
export const adminProductsVariantsList = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsListData, ThrowOnError>) => (options.client ?? client).get<AdminProductsVariantsListResponses, unknown, ThrowOnError>({
|
|
668
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
669
|
+
url: '/admin/products/{identifier}/variants/',
|
|
670
|
+
...options
|
|
671
|
+
});
|
|
672
|
+
|
|
673
|
+
/**
|
|
674
|
+
* Create product variant
|
|
675
|
+
*/
|
|
676
|
+
export const adminProductsVariantsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsVariantsCreateResponses, unknown, ThrowOnError>({
|
|
677
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
678
|
+
url: '/admin/products/{identifier}/variants/',
|
|
679
|
+
...options,
|
|
680
|
+
headers: {
|
|
681
|
+
'Content-Type': 'application/json',
|
|
682
|
+
...options.headers
|
|
683
|
+
}
|
|
684
|
+
});
|
|
685
|
+
|
|
686
|
+
/**
|
|
687
|
+
* Delete product category
|
|
688
|
+
*/
|
|
689
|
+
export const adminProductsCategoriesDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsCategoriesDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsCategoriesDestroyResponses, unknown, ThrowOnError>({
|
|
690
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
691
|
+
url: '/admin/products/{product_id}/categories/{category_id}/',
|
|
692
|
+
...options
|
|
693
|
+
});
|
|
694
|
+
|
|
695
|
+
/**
|
|
696
|
+
* Retrieve product category
|
|
697
|
+
*/
|
|
698
|
+
export const adminProductsCategoriesRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsCategoriesRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsCategoriesRetrieveResponses, unknown, ThrowOnError>({
|
|
699
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
700
|
+
url: '/admin/products/{product_id}/categories/{category_id}/',
|
|
701
|
+
...options
|
|
702
|
+
});
|
|
703
|
+
|
|
704
|
+
/**
|
|
705
|
+
* List product images
|
|
706
|
+
*/
|
|
707
|
+
export const adminProductsImagesList = <ThrowOnError extends boolean = false>(options: Options<AdminProductsImagesListData, ThrowOnError>) => (options.client ?? client).get<AdminProductsImagesListResponses, unknown, ThrowOnError>({
|
|
708
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
709
|
+
url: '/admin/products/{product_id}/images/',
|
|
710
|
+
...options
|
|
711
|
+
});
|
|
712
|
+
|
|
713
|
+
/**
|
|
714
|
+
* Create product image
|
|
715
|
+
*/
|
|
716
|
+
export const adminProductsImagesCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsImagesCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsImagesCreateResponses, unknown, ThrowOnError>({
|
|
717
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
718
|
+
url: '/admin/products/{product_id}/images/',
|
|
719
|
+
...options,
|
|
720
|
+
headers: {
|
|
721
|
+
'Content-Type': 'application/json',
|
|
722
|
+
...options.headers
|
|
723
|
+
}
|
|
724
|
+
});
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Delete product image
|
|
728
|
+
*/
|
|
729
|
+
export const adminProductsImagesDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsImagesDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsImagesDestroyResponses, unknown, ThrowOnError>({
|
|
730
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
731
|
+
url: '/admin/products/{product_id}/images/{image_id}/',
|
|
732
|
+
...options
|
|
733
|
+
});
|
|
734
|
+
|
|
735
|
+
/**
|
|
736
|
+
* Retrieve product image
|
|
737
|
+
*/
|
|
738
|
+
export const adminProductsImagesRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsImagesRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsImagesRetrieveResponses, unknown, ThrowOnError>({
|
|
739
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
740
|
+
url: '/admin/products/{product_id}/images/{image_id}/',
|
|
741
|
+
...options
|
|
742
|
+
});
|
|
743
|
+
|
|
744
|
+
/**
|
|
745
|
+
* Partially update product image
|
|
746
|
+
*/
|
|
747
|
+
export const adminProductsImagesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsImagesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminProductsImagesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
748
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
749
|
+
url: '/admin/products/{product_id}/images/{image_id}/',
|
|
750
|
+
...options,
|
|
751
|
+
headers: {
|
|
752
|
+
'Content-Type': 'application/json',
|
|
753
|
+
...options.headers
|
|
754
|
+
}
|
|
755
|
+
});
|
|
756
|
+
|
|
757
|
+
/**
|
|
758
|
+
* Update product image
|
|
759
|
+
*/
|
|
760
|
+
export const adminProductsImagesUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsImagesUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminProductsImagesUpdateResponses, unknown, ThrowOnError>({
|
|
761
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
762
|
+
url: '/admin/products/{product_id}/images/{image_id}/',
|
|
763
|
+
...options,
|
|
764
|
+
headers: {
|
|
765
|
+
'Content-Type': 'application/json',
|
|
766
|
+
...options.headers
|
|
767
|
+
}
|
|
768
|
+
});
|
|
769
|
+
|
|
770
|
+
/**
|
|
771
|
+
* Delete product option
|
|
772
|
+
*/
|
|
773
|
+
export const adminProductsOptionsDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsOptionsDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsOptionsDestroyResponses, unknown, ThrowOnError>({
|
|
774
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
775
|
+
url: '/admin/products/{product_id}/options/{option_id}/',
|
|
776
|
+
...options
|
|
777
|
+
});
|
|
778
|
+
|
|
779
|
+
/**
|
|
780
|
+
* Retrieve product option
|
|
781
|
+
*/
|
|
782
|
+
export const adminProductsOptionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsOptionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsOptionsRetrieveResponses, unknown, ThrowOnError>({
|
|
783
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
784
|
+
url: '/admin/products/{product_id}/options/{option_id}/',
|
|
785
|
+
...options
|
|
786
|
+
});
|
|
787
|
+
|
|
788
|
+
/**
|
|
789
|
+
* Partially update product option
|
|
790
|
+
*/
|
|
791
|
+
export const adminProductsOptionsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsOptionsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminProductsOptionsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
792
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
793
|
+
url: '/admin/products/{product_id}/options/{option_id}/',
|
|
794
|
+
...options,
|
|
795
|
+
headers: {
|
|
796
|
+
'Content-Type': 'application/json',
|
|
797
|
+
...options.headers
|
|
798
|
+
}
|
|
799
|
+
});
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* Update product option
|
|
803
|
+
*/
|
|
804
|
+
export const adminProductsOptionsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsOptionsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminProductsOptionsUpdateResponses, unknown, ThrowOnError>({
|
|
805
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
806
|
+
url: '/admin/products/{product_id}/options/{option_id}/',
|
|
807
|
+
...options,
|
|
808
|
+
headers: {
|
|
809
|
+
'Content-Type': 'application/json',
|
|
810
|
+
...options.headers
|
|
811
|
+
}
|
|
812
|
+
});
|
|
813
|
+
|
|
814
|
+
/**
|
|
815
|
+
* Delete product price
|
|
816
|
+
*/
|
|
817
|
+
export const adminProductsPricesDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPricesDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsPricesDestroyResponses, unknown, ThrowOnError>({
|
|
818
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
819
|
+
url: '/admin/products/{product_id}/prices/{price_id}/',
|
|
820
|
+
...options
|
|
821
|
+
});
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* Retrieve product price
|
|
825
|
+
*/
|
|
826
|
+
export const adminProductsPricesRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPricesRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsPricesRetrieveResponses, unknown, ThrowOnError>({
|
|
827
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
828
|
+
url: '/admin/products/{product_id}/prices/{price_id}/',
|
|
829
|
+
...options
|
|
830
|
+
});
|
|
831
|
+
|
|
832
|
+
/**
|
|
833
|
+
* Partially update product price
|
|
834
|
+
*/
|
|
835
|
+
export const adminProductsPricesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPricesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminProductsPricesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
836
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
837
|
+
url: '/admin/products/{product_id}/prices/{price_id}/',
|
|
838
|
+
...options,
|
|
839
|
+
headers: {
|
|
840
|
+
'Content-Type': 'application/json',
|
|
841
|
+
...options.headers
|
|
842
|
+
}
|
|
843
|
+
});
|
|
844
|
+
|
|
845
|
+
/**
|
|
846
|
+
* Update product price
|
|
847
|
+
*/
|
|
848
|
+
export const adminProductsPricesUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsPricesUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminProductsPricesUpdateResponses, unknown, ThrowOnError>({
|
|
849
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
850
|
+
url: '/admin/products/{product_id}/prices/{price_id}/',
|
|
851
|
+
...options,
|
|
852
|
+
headers: {
|
|
853
|
+
'Content-Type': 'application/json',
|
|
854
|
+
...options.headers
|
|
855
|
+
}
|
|
856
|
+
});
|
|
857
|
+
|
|
858
|
+
/**
|
|
859
|
+
* Delete product variant
|
|
860
|
+
*/
|
|
861
|
+
export const adminProductsVariantsDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsVariantsDestroyResponses, unknown, ThrowOnError>({
|
|
862
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
863
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/',
|
|
864
|
+
...options
|
|
865
|
+
});
|
|
866
|
+
|
|
867
|
+
/**
|
|
868
|
+
* Retrieve product variant
|
|
869
|
+
*/
|
|
870
|
+
export const adminProductsVariantsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsVariantsRetrieveResponses, unknown, ThrowOnError>({
|
|
871
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
872
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/',
|
|
873
|
+
...options
|
|
874
|
+
});
|
|
875
|
+
|
|
876
|
+
/**
|
|
877
|
+
* Partially update product variant
|
|
878
|
+
*/
|
|
879
|
+
export const adminProductsVariantsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminProductsVariantsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
880
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
881
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/',
|
|
882
|
+
...options,
|
|
883
|
+
headers: {
|
|
884
|
+
'Content-Type': 'application/json',
|
|
885
|
+
...options.headers
|
|
886
|
+
}
|
|
887
|
+
});
|
|
888
|
+
|
|
889
|
+
/**
|
|
890
|
+
* Update product variant
|
|
891
|
+
*/
|
|
892
|
+
export const adminProductsVariantsUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminProductsVariantsUpdateResponses, unknown, ThrowOnError>({
|
|
893
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
894
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/',
|
|
895
|
+
...options,
|
|
896
|
+
headers: {
|
|
897
|
+
'Content-Type': 'application/json',
|
|
898
|
+
...options.headers
|
|
899
|
+
}
|
|
900
|
+
});
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* List product variant prices
|
|
904
|
+
*/
|
|
905
|
+
export const adminProductsVariantsPricesList = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPricesListData, ThrowOnError>) => (options.client ?? client).get<AdminProductsVariantsPricesListResponses, unknown, ThrowOnError>({
|
|
906
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
907
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/prices/',
|
|
908
|
+
...options
|
|
909
|
+
});
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* Create product variant price
|
|
913
|
+
*/
|
|
914
|
+
export const adminProductsVariantsPricesCreate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPricesCreateData, ThrowOnError>) => (options.client ?? client).post<AdminProductsVariantsPricesCreateResponses, unknown, ThrowOnError>({
|
|
915
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
916
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/prices/',
|
|
917
|
+
...options,
|
|
918
|
+
headers: {
|
|
919
|
+
'Content-Type': 'application/json',
|
|
920
|
+
...options.headers
|
|
921
|
+
}
|
|
922
|
+
});
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* Delete product variant price
|
|
926
|
+
*/
|
|
927
|
+
export const adminProductsVariantsPricesDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPricesDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminProductsVariantsPricesDestroyResponses, unknown, ThrowOnError>({
|
|
928
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
929
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
930
|
+
...options
|
|
931
|
+
});
|
|
932
|
+
|
|
933
|
+
/**
|
|
934
|
+
* Retrieve product variant price
|
|
935
|
+
*/
|
|
936
|
+
export const adminProductsVariantsPricesRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPricesRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminProductsVariantsPricesRetrieveResponses, unknown, ThrowOnError>({
|
|
937
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
938
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
939
|
+
...options
|
|
940
|
+
});
|
|
941
|
+
|
|
942
|
+
/**
|
|
943
|
+
* Partially update product variant price
|
|
944
|
+
*/
|
|
945
|
+
export const adminProductsVariantsPricesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPricesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminProductsVariantsPricesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
946
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
947
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
948
|
+
...options,
|
|
949
|
+
headers: {
|
|
950
|
+
'Content-Type': 'application/json',
|
|
951
|
+
...options.headers
|
|
952
|
+
}
|
|
953
|
+
});
|
|
954
|
+
|
|
955
|
+
/**
|
|
956
|
+
* Update product variant price
|
|
957
|
+
*/
|
|
958
|
+
export const adminProductsVariantsPricesUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminProductsVariantsPricesUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminProductsVariantsPricesUpdateResponses, unknown, ThrowOnError>({
|
|
959
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
960
|
+
url: '/admin/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
961
|
+
...options,
|
|
962
|
+
headers: {
|
|
963
|
+
'Content-Type': 'application/json',
|
|
964
|
+
...options.headers
|
|
965
|
+
}
|
|
966
|
+
});
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* List redemptions
|
|
970
|
+
*/
|
|
971
|
+
export const adminRedemptionsList = <ThrowOnError extends boolean = false>(options?: Options<AdminRedemptionsListData, ThrowOnError>) => (options?.client ?? client).get<AdminRedemptionsListResponses, unknown, ThrowOnError>({
|
|
972
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
973
|
+
url: '/admin/redemptions/',
|
|
974
|
+
...options
|
|
975
|
+
});
|
|
976
|
+
|
|
977
|
+
/**
|
|
978
|
+
* Create redemption
|
|
979
|
+
*/
|
|
980
|
+
export const adminRedemptionsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminRedemptionsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminRedemptionsCreateResponses, unknown, ThrowOnError>({
|
|
981
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
982
|
+
url: '/admin/redemptions/',
|
|
983
|
+
...options,
|
|
984
|
+
headers: {
|
|
985
|
+
'Content-Type': 'application/json',
|
|
986
|
+
...options.headers
|
|
987
|
+
}
|
|
988
|
+
});
|
|
989
|
+
|
|
990
|
+
/**
|
|
991
|
+
* Retrieve redemption
|
|
992
|
+
*/
|
|
993
|
+
export const adminRedemptionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminRedemptionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminRedemptionsRetrieveResponses, unknown, ThrowOnError>({
|
|
994
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
995
|
+
url: '/admin/redemptions/{action_id}/',
|
|
996
|
+
...options
|
|
997
|
+
});
|
|
998
|
+
|
|
999
|
+
/**
|
|
1000
|
+
* List sellers
|
|
1001
|
+
*/
|
|
1002
|
+
export const adminSellersList = <ThrowOnError extends boolean = false>(options?: Options<AdminSellersListData, ThrowOnError>) => (options?.client ?? client).get<AdminSellersListResponses, unknown, ThrowOnError>({
|
|
1003
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1004
|
+
url: '/admin/sellers/',
|
|
1005
|
+
...options
|
|
1006
|
+
});
|
|
1007
|
+
|
|
1008
|
+
/**
|
|
1009
|
+
* Retrieve seller
|
|
1010
|
+
*/
|
|
1011
|
+
export const adminSellersRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminSellersRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminSellersRetrieveResponses, unknown, ThrowOnError>({
|
|
1012
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1013
|
+
url: '/admin/sellers/{identifier}/',
|
|
1014
|
+
...options
|
|
1015
|
+
});
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* Partially update seller
|
|
1019
|
+
*/
|
|
1020
|
+
export const adminSellersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminSellersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminSellersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1021
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1022
|
+
url: '/admin/sellers/{identifier}/',
|
|
1023
|
+
...options,
|
|
1024
|
+
headers: {
|
|
1025
|
+
'Content-Type': 'application/json',
|
|
1026
|
+
...options.headers
|
|
1027
|
+
}
|
|
1028
|
+
});
|
|
1029
|
+
|
|
1030
|
+
/**
|
|
1031
|
+
* Update seller
|
|
1032
|
+
*/
|
|
1033
|
+
export const adminSellersUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminSellersUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminSellersUpdateResponses, unknown, ThrowOnError>({
|
|
1034
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1035
|
+
url: '/admin/sellers/{identifier}/',
|
|
1036
|
+
...options,
|
|
1037
|
+
headers: {
|
|
1038
|
+
'Content-Type': 'application/json',
|
|
1039
|
+
...options.headers
|
|
1040
|
+
}
|
|
1041
|
+
});
|
|
1042
|
+
|
|
1043
|
+
/**
|
|
1044
|
+
* List voucher imports
|
|
1045
|
+
*/
|
|
1046
|
+
export const adminVoucherImportsList = <ThrowOnError extends boolean = false>(options?: Options<AdminVoucherImportsListData, ThrowOnError>) => (options?.client ?? client).get<AdminVoucherImportsListResponses, unknown, ThrowOnError>({
|
|
1047
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1048
|
+
url: '/admin/voucher-imports/',
|
|
1049
|
+
...options
|
|
1050
|
+
});
|
|
1051
|
+
|
|
1052
|
+
/**
|
|
1053
|
+
* Create voucher imports
|
|
1054
|
+
*/
|
|
1055
|
+
export const adminVoucherImportsCreate = <ThrowOnError extends boolean = false>(options: Options<AdminVoucherImportsCreateData, ThrowOnError>) => (options.client ?? client).post<AdminVoucherImportsCreateResponses, unknown, ThrowOnError>({
|
|
1056
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1057
|
+
url: '/admin/voucher-imports/',
|
|
1058
|
+
...options,
|
|
1059
|
+
headers: {
|
|
1060
|
+
'Content-Type': 'application/json',
|
|
1061
|
+
...options.headers
|
|
1062
|
+
}
|
|
1063
|
+
});
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* Retrieve voucher import
|
|
1067
|
+
*/
|
|
1068
|
+
export const adminVoucherImportsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminVoucherImportsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminVoucherImportsRetrieveResponses, unknown, ThrowOnError>({
|
|
1069
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1070
|
+
url: '/admin/voucher-imports/{identifier}/',
|
|
1071
|
+
...options
|
|
1072
|
+
});
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* List vouchers
|
|
1076
|
+
*/
|
|
1077
|
+
export const adminVouchersList = <ThrowOnError extends boolean = false>(options?: Options<AdminVouchersListData, ThrowOnError>) => (options?.client ?? client).get<AdminVouchersListResponses, unknown, ThrowOnError>({
|
|
1078
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1079
|
+
url: '/admin/vouchers/',
|
|
1080
|
+
...options
|
|
1081
|
+
});
|
|
1082
|
+
|
|
1083
|
+
/**
|
|
1084
|
+
* Create voucher
|
|
1085
|
+
*/
|
|
1086
|
+
export const adminVouchersCreate = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersCreateData, ThrowOnError>) => (options.client ?? client).post<AdminVouchersCreateResponses, unknown, ThrowOnError>({
|
|
1087
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1088
|
+
url: '/admin/vouchers/',
|
|
1089
|
+
...options,
|
|
1090
|
+
headers: {
|
|
1091
|
+
'Content-Type': 'application/json',
|
|
1092
|
+
...options.headers
|
|
1093
|
+
}
|
|
1094
|
+
});
|
|
1095
|
+
|
|
1096
|
+
/**
|
|
1097
|
+
* Delete voucher
|
|
1098
|
+
*/
|
|
1099
|
+
export const adminVouchersDestroy = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersDestroyData, ThrowOnError>) => (options.client ?? client).delete<AdminVouchersDestroyResponses, unknown, ThrowOnError>({
|
|
1100
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1101
|
+
url: '/admin/vouchers/{identifier}/',
|
|
1102
|
+
...options
|
|
1103
|
+
});
|
|
1104
|
+
|
|
1105
|
+
/**
|
|
1106
|
+
* Retrieve voucher
|
|
1107
|
+
*/
|
|
1108
|
+
export const adminVouchersRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminVouchersRetrieveResponses, unknown, ThrowOnError>({
|
|
1109
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1110
|
+
url: '/admin/vouchers/{identifier}/',
|
|
1111
|
+
...options
|
|
1112
|
+
});
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* Partially update voucher
|
|
1116
|
+
*/
|
|
1117
|
+
export const adminVouchersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<AdminVouchersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1118
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1119
|
+
url: '/admin/vouchers/{identifier}/',
|
|
1120
|
+
...options,
|
|
1121
|
+
headers: {
|
|
1122
|
+
'Content-Type': 'application/json',
|
|
1123
|
+
...options.headers
|
|
1124
|
+
}
|
|
1125
|
+
});
|
|
1126
|
+
|
|
1127
|
+
/**
|
|
1128
|
+
* Update voucher
|
|
1129
|
+
*/
|
|
1130
|
+
export const adminVouchersUpdate = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersUpdateData, ThrowOnError>) => (options.client ?? client).put<AdminVouchersUpdateResponses, unknown, ThrowOnError>({
|
|
1131
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1132
|
+
url: '/admin/vouchers/{identifier}/',
|
|
1133
|
+
...options,
|
|
1134
|
+
headers: {
|
|
1135
|
+
'Content-Type': 'application/json',
|
|
1136
|
+
...options.headers
|
|
1137
|
+
}
|
|
1138
|
+
});
|
|
1139
|
+
|
|
1140
|
+
/**
|
|
1141
|
+
* List voucher actions
|
|
1142
|
+
*/
|
|
1143
|
+
export const adminVouchersActionsList = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersActionsListData, ThrowOnError>) => (options.client ?? client).get<AdminVouchersActionsListResponses, unknown, ThrowOnError>({
|
|
1144
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1145
|
+
url: '/admin/vouchers/{identifier}/actions/',
|
|
1146
|
+
...options
|
|
1147
|
+
});
|
|
1148
|
+
|
|
1149
|
+
/**
|
|
1150
|
+
* Retrieve voucher action
|
|
1151
|
+
*/
|
|
1152
|
+
export const adminVouchersActionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersActionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<AdminVouchersActionsRetrieveResponses, unknown, ThrowOnError>({
|
|
1153
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1154
|
+
url: '/admin/vouchers/{voucher_id}/actions/{action_id}/',
|
|
1155
|
+
...options
|
|
1156
|
+
});
|
|
1157
|
+
|
|
1158
|
+
/**
|
|
1159
|
+
* Import vouchers
|
|
1160
|
+
*/
|
|
1161
|
+
export const adminVouchersImportCreate = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersImportCreateData, ThrowOnError>) => (options.client ?? client).post<AdminVouchersImportCreateResponses, unknown, ThrowOnError>({
|
|
1162
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1163
|
+
url: '/admin/vouchers/import/',
|
|
1164
|
+
...options,
|
|
1165
|
+
headers: {
|
|
1166
|
+
'Content-Type': 'application/json',
|
|
1167
|
+
...options.headers
|
|
1168
|
+
}
|
|
1169
|
+
});
|
|
1170
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Query voucher
|
|
1173
|
+
*/
|
|
1174
|
+
export const adminVouchersQueryCreate = <ThrowOnError extends boolean = false>(options: Options<AdminVouchersQueryCreateData, ThrowOnError>) => (options.client ?? client).post<AdminVouchersQueryCreateResponses, unknown, ThrowOnError>({
|
|
1175
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1176
|
+
url: '/admin/vouchers/query/',
|
|
1177
|
+
...options,
|
|
1178
|
+
headers: {
|
|
1179
|
+
'Content-Type': 'application/json',
|
|
1180
|
+
...options.headers
|
|
1181
|
+
}
|
|
1182
|
+
});
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* Deactivate service
|
|
1186
|
+
*/
|
|
1187
|
+
export const deactivateCreate = <ThrowOnError extends boolean = false>(options: Options<DeactivateCreateData, ThrowOnError>) => (options.client ?? client).post<DeactivateCreateResponses, unknown, ThrowOnError>({
|
|
1188
|
+
url: '/deactivate/',
|
|
1189
|
+
...options,
|
|
1190
|
+
headers: {
|
|
1191
|
+
'Content-Type': 'application/json',
|
|
1192
|
+
...options.headers
|
|
1193
|
+
}
|
|
1194
|
+
});
|
|
1195
|
+
|
|
1196
|
+
/**
|
|
1197
|
+
* List categories
|
|
1198
|
+
*/
|
|
1199
|
+
export const managerCategoriesList = <ThrowOnError extends boolean = false>(options?: Options<ManagerCategoriesListData, ThrowOnError>) => (options?.client ?? client).get<ManagerCategoriesListResponses, unknown, ThrowOnError>({
|
|
1200
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1201
|
+
url: '/manager/categories/',
|
|
1202
|
+
...options
|
|
1203
|
+
});
|
|
1204
|
+
|
|
1205
|
+
/**
|
|
1206
|
+
* Retrieve category
|
|
1207
|
+
*/
|
|
1208
|
+
export const managerCategoriesRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerCategoriesRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerCategoriesRetrieveResponses, unknown, ThrowOnError>({
|
|
1209
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1210
|
+
url: '/manager/categories/{identifier}/',
|
|
1211
|
+
...options
|
|
1212
|
+
});
|
|
1213
|
+
|
|
1214
|
+
/**
|
|
1215
|
+
* Retrieve company
|
|
1216
|
+
*/
|
|
1217
|
+
export const managerCompanyRetrieve = <ThrowOnError extends boolean = false>(options?: Options<ManagerCompanyRetrieveData, ThrowOnError>) => (options?.client ?? client).get<ManagerCompanyRetrieveResponses, unknown, ThrowOnError>({
|
|
1218
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1219
|
+
url: '/manager/company/',
|
|
1220
|
+
...options
|
|
1221
|
+
});
|
|
1222
|
+
|
|
1223
|
+
/**
|
|
1224
|
+
* List currencies
|
|
1225
|
+
*/
|
|
1226
|
+
export const managerCurrenciesList = <ThrowOnError extends boolean = false>(options?: Options<ManagerCurrenciesListData, ThrowOnError>) => (options?.client ?? client).get<ManagerCurrenciesListResponses, unknown, ThrowOnError>({
|
|
1227
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1228
|
+
url: '/manager/currencies/',
|
|
1229
|
+
...options
|
|
1230
|
+
});
|
|
1231
|
+
|
|
1232
|
+
/**
|
|
1233
|
+
* Retrieve currency
|
|
1234
|
+
*/
|
|
1235
|
+
export const managerCurrenciesRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerCurrenciesRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerCurrenciesRetrieveResponses, unknown, ThrowOnError>({
|
|
1236
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1237
|
+
url: '/manager/currencies/{code}/',
|
|
1238
|
+
...options
|
|
1239
|
+
});
|
|
1240
|
+
|
|
1241
|
+
/**
|
|
1242
|
+
* List sellers
|
|
1243
|
+
*/
|
|
1244
|
+
export const managerSellersList = <ThrowOnError extends boolean = false>(options?: Options<ManagerSellersListData, ThrowOnError>) => (options?.client ?? client).get<ManagerSellersListResponses, unknown, ThrowOnError>({
|
|
1245
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1246
|
+
url: '/manager/sellers/',
|
|
1247
|
+
...options
|
|
1248
|
+
});
|
|
1249
|
+
|
|
1250
|
+
/**
|
|
1251
|
+
* Create seller
|
|
1252
|
+
*/
|
|
1253
|
+
export const managerSellersCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersCreateResponses, unknown, ThrowOnError>({
|
|
1254
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1255
|
+
url: '/manager/sellers/',
|
|
1256
|
+
...options,
|
|
1257
|
+
headers: {
|
|
1258
|
+
'Content-Type': 'application/json',
|
|
1259
|
+
...options.headers
|
|
1260
|
+
}
|
|
1261
|
+
});
|
|
1262
|
+
|
|
1263
|
+
/**
|
|
1264
|
+
* Retrieve seller
|
|
1265
|
+
*/
|
|
1266
|
+
export const managerSellersRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersRetrieveResponses, unknown, ThrowOnError>({
|
|
1267
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1268
|
+
url: '/manager/sellers/{identifier}/',
|
|
1269
|
+
...options
|
|
1270
|
+
});
|
|
1271
|
+
|
|
1272
|
+
/**
|
|
1273
|
+
* Partially update seller
|
|
1274
|
+
*/
|
|
1275
|
+
export const managerSellersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1276
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1277
|
+
url: '/manager/sellers/{identifier}/',
|
|
1278
|
+
...options,
|
|
1279
|
+
headers: {
|
|
1280
|
+
'Content-Type': 'application/json',
|
|
1281
|
+
...options.headers
|
|
1282
|
+
}
|
|
1283
|
+
});
|
|
1284
|
+
|
|
1285
|
+
/**
|
|
1286
|
+
* Update seller
|
|
1287
|
+
*/
|
|
1288
|
+
export const managerSellersUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersUpdateResponses, unknown, ThrowOnError>({
|
|
1289
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1290
|
+
url: '/manager/sellers/{identifier}/',
|
|
1291
|
+
...options,
|
|
1292
|
+
headers: {
|
|
1293
|
+
'Content-Type': 'application/json',
|
|
1294
|
+
...options.headers
|
|
1295
|
+
}
|
|
1296
|
+
});
|
|
1297
|
+
|
|
1298
|
+
/**
|
|
1299
|
+
* List integrations
|
|
1300
|
+
*/
|
|
1301
|
+
export const managerSellersIntegrationsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersIntegrationsListResponses, unknown, ThrowOnError>({
|
|
1302
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1303
|
+
url: '/manager/sellers/{identifier}/integrations/',
|
|
1304
|
+
...options
|
|
1305
|
+
});
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* Create integration
|
|
1309
|
+
*/
|
|
1310
|
+
export const managerSellersIntegrationsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersIntegrationsCreateResponses, unknown, ThrowOnError>({
|
|
1311
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1312
|
+
url: '/manager/sellers/{identifier}/integrations/',
|
|
1313
|
+
...options,
|
|
1314
|
+
headers: {
|
|
1315
|
+
'Content-Type': 'application/json',
|
|
1316
|
+
...options.headers
|
|
1317
|
+
}
|
|
1318
|
+
});
|
|
1319
|
+
|
|
1320
|
+
/**
|
|
1321
|
+
* Delete integration
|
|
1322
|
+
*/
|
|
1323
|
+
export const managerSellersIntegrationsDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersIntegrationsDestroyResponses, unknown, ThrowOnError>({
|
|
1324
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1325
|
+
url: '/manager/sellers/{seller_id}/integrations/{identifier}/',
|
|
1326
|
+
...options
|
|
1327
|
+
});
|
|
1328
|
+
|
|
1329
|
+
/**
|
|
1330
|
+
* Retrieve integration
|
|
1331
|
+
*/
|
|
1332
|
+
export const managerSellersIntegrationsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersIntegrationsRetrieveResponses, unknown, ThrowOnError>({
|
|
1333
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1334
|
+
url: '/manager/sellers/{seller_id}/integrations/{identifier}/',
|
|
1335
|
+
...options
|
|
1336
|
+
});
|
|
1337
|
+
|
|
1338
|
+
/**
|
|
1339
|
+
* Partially update integration
|
|
1340
|
+
*/
|
|
1341
|
+
export const managerSellersIntegrationsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersIntegrationsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1342
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1343
|
+
url: '/manager/sellers/{seller_id}/integrations/{identifier}/',
|
|
1344
|
+
...options,
|
|
1345
|
+
headers: {
|
|
1346
|
+
'Content-Type': 'application/json',
|
|
1347
|
+
...options.headers
|
|
1348
|
+
}
|
|
1349
|
+
});
|
|
1350
|
+
|
|
1351
|
+
/**
|
|
1352
|
+
* Update integration
|
|
1353
|
+
*/
|
|
1354
|
+
export const managerSellersIntegrationsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersIntegrationsUpdateResponses, unknown, ThrowOnError>({
|
|
1355
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1356
|
+
url: '/manager/sellers/{seller_id}/integrations/{identifier}/',
|
|
1357
|
+
...options,
|
|
1358
|
+
headers: {
|
|
1359
|
+
'Content-Type': 'application/json',
|
|
1360
|
+
...options.headers
|
|
1361
|
+
}
|
|
1362
|
+
});
|
|
1363
|
+
|
|
1364
|
+
/**
|
|
1365
|
+
* List integration webhooks
|
|
1366
|
+
*/
|
|
1367
|
+
export const managerSellersIntegrationsWebhooksList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsWebhooksListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersIntegrationsWebhooksListResponses, unknown, ThrowOnError>({
|
|
1368
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1369
|
+
url: '/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/',
|
|
1370
|
+
...options
|
|
1371
|
+
});
|
|
1372
|
+
|
|
1373
|
+
/**
|
|
1374
|
+
* Create integration webhook
|
|
1375
|
+
*/
|
|
1376
|
+
export const managerSellersIntegrationsWebhooksCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsWebhooksCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersIntegrationsWebhooksCreateResponses, unknown, ThrowOnError>({
|
|
1377
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1378
|
+
url: '/manager/sellers/{seller_id}/integrations/{identifier}/webhooks/',
|
|
1379
|
+
...options,
|
|
1380
|
+
headers: {
|
|
1381
|
+
'Content-Type': 'application/json',
|
|
1382
|
+
...options.headers
|
|
1383
|
+
}
|
|
1384
|
+
});
|
|
1385
|
+
|
|
1386
|
+
/**
|
|
1387
|
+
* Delete integration webhook
|
|
1388
|
+
*/
|
|
1389
|
+
export const managerSellersIntegrationsWebhooksDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsWebhooksDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersIntegrationsWebhooksDestroyResponses, unknown, ThrowOnError>({
|
|
1390
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1391
|
+
url: '/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/',
|
|
1392
|
+
...options
|
|
1393
|
+
});
|
|
1394
|
+
|
|
1395
|
+
/**
|
|
1396
|
+
* Retrieve integration webhook
|
|
1397
|
+
*/
|
|
1398
|
+
export const managerSellersIntegrationsWebhooksRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsWebhooksRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersIntegrationsWebhooksRetrieveResponses, unknown, ThrowOnError>({
|
|
1399
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1400
|
+
url: '/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/',
|
|
1401
|
+
...options
|
|
1402
|
+
});
|
|
1403
|
+
|
|
1404
|
+
/**
|
|
1405
|
+
* Partially update integration webhook
|
|
1406
|
+
*/
|
|
1407
|
+
export const managerSellersIntegrationsWebhooksPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsWebhooksPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersIntegrationsWebhooksPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1408
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1409
|
+
url: '/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/',
|
|
1410
|
+
...options,
|
|
1411
|
+
headers: {
|
|
1412
|
+
'Content-Type': 'application/json',
|
|
1413
|
+
...options.headers
|
|
1414
|
+
}
|
|
1415
|
+
});
|
|
1416
|
+
|
|
1417
|
+
/**
|
|
1418
|
+
* Update integration webhook
|
|
1419
|
+
*/
|
|
1420
|
+
export const managerSellersIntegrationsWebhooksUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersIntegrationsWebhooksUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersIntegrationsWebhooksUpdateResponses, unknown, ThrowOnError>({
|
|
1421
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1422
|
+
url: '/manager/sellers/{seller_id}/integrations/{integration_id}/webhooks/{webhook_id}/',
|
|
1423
|
+
...options,
|
|
1424
|
+
headers: {
|
|
1425
|
+
'Content-Type': 'application/json',
|
|
1426
|
+
...options.headers
|
|
1427
|
+
}
|
|
1428
|
+
});
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* List orders
|
|
1432
|
+
*/
|
|
1433
|
+
export const managerSellersOrdersList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersListResponses, unknown, ThrowOnError>({
|
|
1434
|
+
querySerializer: { parameters: { orderby: { array: { explode: false } } } },
|
|
1435
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1436
|
+
url: '/manager/sellers/{seller_id}/orders/',
|
|
1437
|
+
...options
|
|
1438
|
+
});
|
|
1439
|
+
|
|
1440
|
+
/**
|
|
1441
|
+
* Retrieve order
|
|
1442
|
+
*/
|
|
1443
|
+
export const managerSellersOrdersRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersRetrieveResponses, unknown, ThrowOnError>({
|
|
1444
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1445
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/',
|
|
1446
|
+
...options
|
|
1447
|
+
});
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* Partially update order
|
|
1451
|
+
*/
|
|
1452
|
+
export const managerSellersOrdersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersOrdersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1453
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1454
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/',
|
|
1455
|
+
...options,
|
|
1456
|
+
headers: {
|
|
1457
|
+
'Content-Type': 'application/json',
|
|
1458
|
+
...options.headers
|
|
1459
|
+
}
|
|
1460
|
+
});
|
|
1461
|
+
|
|
1462
|
+
/**
|
|
1463
|
+
* Update order
|
|
1464
|
+
*/
|
|
1465
|
+
export const managerSellersOrdersUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersOrdersUpdateResponses, unknown, ThrowOnError>({
|
|
1466
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1467
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/',
|
|
1468
|
+
...options,
|
|
1469
|
+
headers: {
|
|
1470
|
+
'Content-Type': 'application/json',
|
|
1471
|
+
...options.headers
|
|
1472
|
+
}
|
|
1473
|
+
});
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* List order items
|
|
1477
|
+
*/
|
|
1478
|
+
export const managerSellersOrdersItemsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersItemsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersItemsListResponses, unknown, ThrowOnError>({
|
|
1479
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1480
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/items/',
|
|
1481
|
+
...options
|
|
1482
|
+
});
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* List payments
|
|
1486
|
+
*/
|
|
1487
|
+
export const managerSellersOrdersPaymentsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersPaymentsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersPaymentsListResponses, unknown, ThrowOnError>({
|
|
1488
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1489
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/payments/',
|
|
1490
|
+
...options
|
|
1491
|
+
});
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* List refund
|
|
1495
|
+
*/
|
|
1496
|
+
export const managerSellersOrdersRefundsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersRefundsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersRefundsListResponses, unknown, ThrowOnError>({
|
|
1497
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1498
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/refunds/',
|
|
1499
|
+
...options
|
|
1500
|
+
});
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* Create refund
|
|
1504
|
+
*/
|
|
1505
|
+
export const managerSellersOrdersRefundsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersRefundsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersOrdersRefundsCreateResponses, unknown, ThrowOnError>({
|
|
1506
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1507
|
+
url: '/manager/sellers/{seller_id}/orders/{identifier}/refunds/',
|
|
1508
|
+
...options,
|
|
1509
|
+
headers: {
|
|
1510
|
+
'Content-Type': 'application/json',
|
|
1511
|
+
...options.headers
|
|
1512
|
+
}
|
|
1513
|
+
});
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* Retrieve order item
|
|
1517
|
+
*/
|
|
1518
|
+
export const managerSellersOrdersItemsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersItemsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersItemsRetrieveResponses, unknown, ThrowOnError>({
|
|
1519
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1520
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/',
|
|
1521
|
+
...options
|
|
1522
|
+
});
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* Partially update order item
|
|
1526
|
+
*/
|
|
1527
|
+
export const managerSellersOrdersItemsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersItemsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersOrdersItemsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1528
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1529
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/',
|
|
1530
|
+
...options,
|
|
1531
|
+
headers: {
|
|
1532
|
+
'Content-Type': 'application/json',
|
|
1533
|
+
...options.headers
|
|
1534
|
+
}
|
|
1535
|
+
});
|
|
1536
|
+
|
|
1537
|
+
/**
|
|
1538
|
+
* Update order item
|
|
1539
|
+
*/
|
|
1540
|
+
export const managerSellersOrdersItemsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersItemsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersOrdersItemsUpdateResponses, unknown, ThrowOnError>({
|
|
1541
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1542
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/items/{item_id}/',
|
|
1543
|
+
...options,
|
|
1544
|
+
headers: {
|
|
1545
|
+
'Content-Type': 'application/json',
|
|
1546
|
+
...options.headers
|
|
1547
|
+
}
|
|
1548
|
+
});
|
|
1549
|
+
|
|
1550
|
+
/**
|
|
1551
|
+
* Retrieve payment
|
|
1552
|
+
*/
|
|
1553
|
+
export const managerSellersOrdersPaymentsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersPaymentsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersPaymentsRetrieveResponses, unknown, ThrowOnError>({
|
|
1554
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1555
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/',
|
|
1556
|
+
...options
|
|
1557
|
+
});
|
|
1558
|
+
|
|
1559
|
+
/**
|
|
1560
|
+
* Partially update payment
|
|
1561
|
+
*/
|
|
1562
|
+
export const managerSellersOrdersPaymentsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersPaymentsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersOrdersPaymentsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1563
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1564
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/',
|
|
1565
|
+
...options,
|
|
1566
|
+
headers: {
|
|
1567
|
+
'Content-Type': 'application/json',
|
|
1568
|
+
...options.headers
|
|
1569
|
+
}
|
|
1570
|
+
});
|
|
1571
|
+
|
|
1572
|
+
/**
|
|
1573
|
+
* Update payment
|
|
1574
|
+
*/
|
|
1575
|
+
export const managerSellersOrdersPaymentsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersPaymentsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersOrdersPaymentsUpdateResponses, unknown, ThrowOnError>({
|
|
1576
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1577
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/payments/{payment_id}/',
|
|
1578
|
+
...options,
|
|
1579
|
+
headers: {
|
|
1580
|
+
'Content-Type': 'application/json',
|
|
1581
|
+
...options.headers
|
|
1582
|
+
}
|
|
1583
|
+
});
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Retrieve refund
|
|
1587
|
+
*/
|
|
1588
|
+
export const managerSellersOrdersRefundsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersRefundsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersOrdersRefundsRetrieveResponses, unknown, ThrowOnError>({
|
|
1589
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1590
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/',
|
|
1591
|
+
...options
|
|
1592
|
+
});
|
|
1593
|
+
|
|
1594
|
+
/**
|
|
1595
|
+
* Partially update refund
|
|
1596
|
+
*/
|
|
1597
|
+
export const managerSellersOrdersRefundsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersRefundsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersOrdersRefundsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1598
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1599
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/',
|
|
1600
|
+
...options,
|
|
1601
|
+
headers: {
|
|
1602
|
+
'Content-Type': 'application/json',
|
|
1603
|
+
...options.headers
|
|
1604
|
+
}
|
|
1605
|
+
});
|
|
1606
|
+
|
|
1607
|
+
/**
|
|
1608
|
+
* Update refund
|
|
1609
|
+
*/
|
|
1610
|
+
export const managerSellersOrdersRefundsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersOrdersRefundsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersOrdersRefundsUpdateResponses, unknown, ThrowOnError>({
|
|
1611
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1612
|
+
url: '/manager/sellers/{seller_id}/orders/{order_id}/refunds/{refund_id}/',
|
|
1613
|
+
...options,
|
|
1614
|
+
headers: {
|
|
1615
|
+
'Content-Type': 'application/json',
|
|
1616
|
+
...options.headers
|
|
1617
|
+
}
|
|
1618
|
+
});
|
|
1619
|
+
|
|
1620
|
+
/**
|
|
1621
|
+
* List products
|
|
1622
|
+
*/
|
|
1623
|
+
export const managerSellersProductsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsListResponses, unknown, ThrowOnError>({
|
|
1624
|
+
querySerializer: { parameters: { orderby: { array: { explode: false } } } },
|
|
1625
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1626
|
+
url: '/manager/sellers/{seller_id}/products/',
|
|
1627
|
+
...options
|
|
1628
|
+
});
|
|
1629
|
+
|
|
1630
|
+
/**
|
|
1631
|
+
* Create product
|
|
1632
|
+
*/
|
|
1633
|
+
export const managerSellersProductsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsCreateResponses, unknown, ThrowOnError>({
|
|
1634
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1635
|
+
url: '/manager/sellers/{seller_id}/products/',
|
|
1636
|
+
...options,
|
|
1637
|
+
headers: {
|
|
1638
|
+
'Content-Type': 'application/json',
|
|
1639
|
+
...options.headers
|
|
1640
|
+
}
|
|
1641
|
+
});
|
|
1642
|
+
|
|
1643
|
+
/**
|
|
1644
|
+
* Delete product
|
|
1645
|
+
*/
|
|
1646
|
+
export const managerSellersProductsDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsDestroyResponses, unknown, ThrowOnError>({
|
|
1647
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1648
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/',
|
|
1649
|
+
...options
|
|
1650
|
+
});
|
|
1651
|
+
|
|
1652
|
+
/**
|
|
1653
|
+
* Retrieve product
|
|
1654
|
+
*/
|
|
1655
|
+
export const managerSellersProductsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsRetrieveResponses, unknown, ThrowOnError>({
|
|
1656
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1657
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/',
|
|
1658
|
+
...options
|
|
1659
|
+
});
|
|
1660
|
+
|
|
1661
|
+
/**
|
|
1662
|
+
* Partially update product
|
|
1663
|
+
*/
|
|
1664
|
+
export const managerSellersProductsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersProductsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1665
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1666
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/',
|
|
1667
|
+
...options,
|
|
1668
|
+
headers: {
|
|
1669
|
+
'Content-Type': 'application/json',
|
|
1670
|
+
...options.headers
|
|
1671
|
+
}
|
|
1672
|
+
});
|
|
1673
|
+
|
|
1674
|
+
/**
|
|
1675
|
+
* Update product
|
|
1676
|
+
*/
|
|
1677
|
+
export const managerSellersProductsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersProductsUpdateResponses, unknown, ThrowOnError>({
|
|
1678
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1679
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/',
|
|
1680
|
+
...options,
|
|
1681
|
+
headers: {
|
|
1682
|
+
'Content-Type': 'application/json',
|
|
1683
|
+
...options.headers
|
|
1684
|
+
}
|
|
1685
|
+
});
|
|
1686
|
+
|
|
1687
|
+
/**
|
|
1688
|
+
* List product categories
|
|
1689
|
+
*/
|
|
1690
|
+
export const managerSellersProductsCategoriesList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsCategoriesListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsCategoriesListResponses, unknown, ThrowOnError>({
|
|
1691
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1692
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/categories/',
|
|
1693
|
+
...options
|
|
1694
|
+
});
|
|
1695
|
+
|
|
1696
|
+
/**
|
|
1697
|
+
* Create product category
|
|
1698
|
+
*/
|
|
1699
|
+
export const managerSellersProductsCategoriesCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsCategoriesCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsCategoriesCreateResponses, unknown, ThrowOnError>({
|
|
1700
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1701
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/categories/',
|
|
1702
|
+
...options,
|
|
1703
|
+
headers: {
|
|
1704
|
+
'Content-Type': 'application/json',
|
|
1705
|
+
...options.headers
|
|
1706
|
+
}
|
|
1707
|
+
});
|
|
1708
|
+
|
|
1709
|
+
/**
|
|
1710
|
+
* List product option
|
|
1711
|
+
*/
|
|
1712
|
+
export const managerSellersProductsOptionsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsOptionsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsOptionsListResponses, unknown, ThrowOnError>({
|
|
1713
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1714
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/options/',
|
|
1715
|
+
...options
|
|
1716
|
+
});
|
|
1717
|
+
|
|
1718
|
+
/**
|
|
1719
|
+
* Create product option
|
|
1720
|
+
*/
|
|
1721
|
+
export const managerSellersProductsOptionsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsOptionsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsOptionsCreateResponses, unknown, ThrowOnError>({
|
|
1722
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1723
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/options/',
|
|
1724
|
+
...options,
|
|
1725
|
+
headers: {
|
|
1726
|
+
'Content-Type': 'application/json',
|
|
1727
|
+
...options.headers
|
|
1728
|
+
}
|
|
1729
|
+
});
|
|
1730
|
+
|
|
1731
|
+
/**
|
|
1732
|
+
* List product prices
|
|
1733
|
+
*/
|
|
1734
|
+
export const managerSellersProductsPricesList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPricesListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsPricesListResponses, unknown, ThrowOnError>({
|
|
1735
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1736
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/prices/',
|
|
1737
|
+
...options
|
|
1738
|
+
});
|
|
1739
|
+
|
|
1740
|
+
/**
|
|
1741
|
+
* Create product price
|
|
1742
|
+
*/
|
|
1743
|
+
export const managerSellersProductsPricesCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPricesCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsPricesCreateResponses, unknown, ThrowOnError>({
|
|
1744
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1745
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/prices/',
|
|
1746
|
+
...options,
|
|
1747
|
+
headers: {
|
|
1748
|
+
'Content-Type': 'application/json',
|
|
1749
|
+
...options.headers
|
|
1750
|
+
}
|
|
1751
|
+
});
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* List product variants
|
|
1755
|
+
*/
|
|
1756
|
+
export const managerSellersProductsVariantsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsVariantsListResponses, unknown, ThrowOnError>({
|
|
1757
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1758
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/variants/',
|
|
1759
|
+
...options
|
|
1760
|
+
});
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* Create product variant
|
|
1764
|
+
*/
|
|
1765
|
+
export const managerSellersProductsVariantsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsVariantsCreateResponses, unknown, ThrowOnError>({
|
|
1766
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1767
|
+
url: '/manager/sellers/{seller_id}/products/{identifier}/variants/',
|
|
1768
|
+
...options,
|
|
1769
|
+
headers: {
|
|
1770
|
+
'Content-Type': 'application/json',
|
|
1771
|
+
...options.headers
|
|
1772
|
+
}
|
|
1773
|
+
});
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* Delete product category
|
|
1777
|
+
*/
|
|
1778
|
+
export const managerSellersProductsCategoriesDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsCategoriesDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsCategoriesDestroyResponses, unknown, ThrowOnError>({
|
|
1779
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1780
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/',
|
|
1781
|
+
...options
|
|
1782
|
+
});
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* Retrieve product category
|
|
1786
|
+
*/
|
|
1787
|
+
export const managerSellersProductsCategoriesRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsCategoriesRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsCategoriesRetrieveResponses, unknown, ThrowOnError>({
|
|
1788
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1789
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/categories/{category_id}/',
|
|
1790
|
+
...options
|
|
1791
|
+
});
|
|
1792
|
+
|
|
1793
|
+
/**
|
|
1794
|
+
* List product image
|
|
1795
|
+
*/
|
|
1796
|
+
export const managerSellersProductsImagesList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsImagesListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsImagesListResponses, unknown, ThrowOnError>({
|
|
1797
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1798
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/images/',
|
|
1799
|
+
...options
|
|
1800
|
+
});
|
|
1801
|
+
|
|
1802
|
+
/**
|
|
1803
|
+
* Create product image
|
|
1804
|
+
*/
|
|
1805
|
+
export const managerSellersProductsImagesCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsImagesCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsImagesCreateResponses, unknown, ThrowOnError>({
|
|
1806
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1807
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/images/',
|
|
1808
|
+
...options,
|
|
1809
|
+
headers: {
|
|
1810
|
+
'Content-Type': 'application/json',
|
|
1811
|
+
...options.headers
|
|
1812
|
+
}
|
|
1813
|
+
});
|
|
1814
|
+
|
|
1815
|
+
/**
|
|
1816
|
+
* Delete product image
|
|
1817
|
+
*/
|
|
1818
|
+
export const managerSellersProductsImagesDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsImagesDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsImagesDestroyResponses, unknown, ThrowOnError>({
|
|
1819
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1820
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/',
|
|
1821
|
+
...options
|
|
1822
|
+
});
|
|
1823
|
+
|
|
1824
|
+
/**
|
|
1825
|
+
* Retrieve product image
|
|
1826
|
+
*/
|
|
1827
|
+
export const managerSellersProductsImagesRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsImagesRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsImagesRetrieveResponses, unknown, ThrowOnError>({
|
|
1828
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1829
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/',
|
|
1830
|
+
...options
|
|
1831
|
+
});
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Partially update product image
|
|
1835
|
+
*/
|
|
1836
|
+
export const managerSellersProductsImagesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsImagesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersProductsImagesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1837
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1838
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/',
|
|
1839
|
+
...options,
|
|
1840
|
+
headers: {
|
|
1841
|
+
'Content-Type': 'application/json',
|
|
1842
|
+
...options.headers
|
|
1843
|
+
}
|
|
1844
|
+
});
|
|
1845
|
+
|
|
1846
|
+
/**
|
|
1847
|
+
* Update product image
|
|
1848
|
+
*/
|
|
1849
|
+
export const managerSellersProductsImagesUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsImagesUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersProductsImagesUpdateResponses, unknown, ThrowOnError>({
|
|
1850
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1851
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/images/{image_id}/',
|
|
1852
|
+
...options,
|
|
1853
|
+
headers: {
|
|
1854
|
+
'Content-Type': 'application/json',
|
|
1855
|
+
...options.headers
|
|
1856
|
+
}
|
|
1857
|
+
});
|
|
1858
|
+
|
|
1859
|
+
/**
|
|
1860
|
+
* Delete product option
|
|
1861
|
+
*/
|
|
1862
|
+
export const managerSellersProductsOptionsDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsOptionsDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsOptionsDestroyResponses, unknown, ThrowOnError>({
|
|
1863
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1864
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/',
|
|
1865
|
+
...options
|
|
1866
|
+
});
|
|
1867
|
+
|
|
1868
|
+
/**
|
|
1869
|
+
* Retrieve product option
|
|
1870
|
+
*/
|
|
1871
|
+
export const managerSellersProductsOptionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsOptionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsOptionsRetrieveResponses, unknown, ThrowOnError>({
|
|
1872
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1873
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/',
|
|
1874
|
+
...options
|
|
1875
|
+
});
|
|
1876
|
+
|
|
1877
|
+
/**
|
|
1878
|
+
* Partially update product option
|
|
1879
|
+
*/
|
|
1880
|
+
export const managerSellersProductsOptionsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsOptionsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersProductsOptionsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1881
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1882
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/',
|
|
1883
|
+
...options,
|
|
1884
|
+
headers: {
|
|
1885
|
+
'Content-Type': 'application/json',
|
|
1886
|
+
...options.headers
|
|
1887
|
+
}
|
|
1888
|
+
});
|
|
1889
|
+
|
|
1890
|
+
/**
|
|
1891
|
+
* Update product option
|
|
1892
|
+
*/
|
|
1893
|
+
export const managerSellersProductsOptionsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsOptionsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersProductsOptionsUpdateResponses, unknown, ThrowOnError>({
|
|
1894
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1895
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/options/{option_id}/',
|
|
1896
|
+
...options,
|
|
1897
|
+
headers: {
|
|
1898
|
+
'Content-Type': 'application/json',
|
|
1899
|
+
...options.headers
|
|
1900
|
+
}
|
|
1901
|
+
});
|
|
1902
|
+
|
|
1903
|
+
/**
|
|
1904
|
+
* Delete product price
|
|
1905
|
+
*/
|
|
1906
|
+
export const managerSellersProductsPricesDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPricesDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsPricesDestroyResponses, unknown, ThrowOnError>({
|
|
1907
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1908
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/',
|
|
1909
|
+
...options
|
|
1910
|
+
});
|
|
1911
|
+
|
|
1912
|
+
/**
|
|
1913
|
+
* Retrieve product price
|
|
1914
|
+
*/
|
|
1915
|
+
export const managerSellersProductsPricesRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPricesRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsPricesRetrieveResponses, unknown, ThrowOnError>({
|
|
1916
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1917
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/',
|
|
1918
|
+
...options
|
|
1919
|
+
});
|
|
1920
|
+
|
|
1921
|
+
/**
|
|
1922
|
+
* Partially update product price
|
|
1923
|
+
*/
|
|
1924
|
+
export const managerSellersProductsPricesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPricesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersProductsPricesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1925
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1926
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/',
|
|
1927
|
+
...options,
|
|
1928
|
+
headers: {
|
|
1929
|
+
'Content-Type': 'application/json',
|
|
1930
|
+
...options.headers
|
|
1931
|
+
}
|
|
1932
|
+
});
|
|
1933
|
+
|
|
1934
|
+
/**
|
|
1935
|
+
* Update product price
|
|
1936
|
+
*/
|
|
1937
|
+
export const managerSellersProductsPricesUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsPricesUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersProductsPricesUpdateResponses, unknown, ThrowOnError>({
|
|
1938
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1939
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/prices/{price_id}/',
|
|
1940
|
+
...options,
|
|
1941
|
+
headers: {
|
|
1942
|
+
'Content-Type': 'application/json',
|
|
1943
|
+
...options.headers
|
|
1944
|
+
}
|
|
1945
|
+
});
|
|
1946
|
+
|
|
1947
|
+
/**
|
|
1948
|
+
* Delete product variant
|
|
1949
|
+
*/
|
|
1950
|
+
export const managerSellersProductsVariantsDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsVariantsDestroyResponses, unknown, ThrowOnError>({
|
|
1951
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1952
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/',
|
|
1953
|
+
...options
|
|
1954
|
+
});
|
|
1955
|
+
|
|
1956
|
+
/**
|
|
1957
|
+
* Retrieve product variant
|
|
1958
|
+
*/
|
|
1959
|
+
export const managerSellersProductsVariantsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsVariantsRetrieveResponses, unknown, ThrowOnError>({
|
|
1960
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1961
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/',
|
|
1962
|
+
...options
|
|
1963
|
+
});
|
|
1964
|
+
|
|
1965
|
+
/**
|
|
1966
|
+
* Partially update product variant
|
|
1967
|
+
*/
|
|
1968
|
+
export const managerSellersProductsVariantsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersProductsVariantsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
1969
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1970
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/',
|
|
1971
|
+
...options,
|
|
1972
|
+
headers: {
|
|
1973
|
+
'Content-Type': 'application/json',
|
|
1974
|
+
...options.headers
|
|
1975
|
+
}
|
|
1976
|
+
});
|
|
1977
|
+
|
|
1978
|
+
/**
|
|
1979
|
+
* Update product variant
|
|
1980
|
+
*/
|
|
1981
|
+
export const managerSellersProductsVariantsUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersProductsVariantsUpdateResponses, unknown, ThrowOnError>({
|
|
1982
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1983
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/',
|
|
1984
|
+
...options,
|
|
1985
|
+
headers: {
|
|
1986
|
+
'Content-Type': 'application/json',
|
|
1987
|
+
...options.headers
|
|
1988
|
+
}
|
|
1989
|
+
});
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* List product variant prices
|
|
1993
|
+
*/
|
|
1994
|
+
export const managerSellersProductsVariantsPricesList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPricesListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsVariantsPricesListResponses, unknown, ThrowOnError>({
|
|
1995
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
1996
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/',
|
|
1997
|
+
...options
|
|
1998
|
+
});
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
* Create product variant price
|
|
2002
|
+
*/
|
|
2003
|
+
export const managerSellersProductsVariantsPricesCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPricesCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersProductsVariantsPricesCreateResponses, unknown, ThrowOnError>({
|
|
2004
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2005
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/',
|
|
2006
|
+
...options,
|
|
2007
|
+
headers: {
|
|
2008
|
+
'Content-Type': 'application/json',
|
|
2009
|
+
...options.headers
|
|
2010
|
+
}
|
|
2011
|
+
});
|
|
2012
|
+
|
|
2013
|
+
/**
|
|
2014
|
+
* Delete product variant price
|
|
2015
|
+
*/
|
|
2016
|
+
export const managerSellersProductsVariantsPricesDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPricesDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersProductsVariantsPricesDestroyResponses, unknown, ThrowOnError>({
|
|
2017
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2018
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
2019
|
+
...options
|
|
2020
|
+
});
|
|
2021
|
+
|
|
2022
|
+
/**
|
|
2023
|
+
* Retrieve product variant price
|
|
2024
|
+
*/
|
|
2025
|
+
export const managerSellersProductsVariantsPricesRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPricesRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersProductsVariantsPricesRetrieveResponses, unknown, ThrowOnError>({
|
|
2026
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2027
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
2028
|
+
...options
|
|
2029
|
+
});
|
|
2030
|
+
|
|
2031
|
+
/**
|
|
2032
|
+
* Partially update product variant price
|
|
2033
|
+
*/
|
|
2034
|
+
export const managerSellersProductsVariantsPricesPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPricesPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersProductsVariantsPricesPartialUpdateResponses, unknown, ThrowOnError>({
|
|
2035
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2036
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
2037
|
+
...options,
|
|
2038
|
+
headers: {
|
|
2039
|
+
'Content-Type': 'application/json',
|
|
2040
|
+
...options.headers
|
|
2041
|
+
}
|
|
2042
|
+
});
|
|
2043
|
+
|
|
2044
|
+
/**
|
|
2045
|
+
* Update product variant price
|
|
2046
|
+
*/
|
|
2047
|
+
export const managerSellersProductsVariantsPricesUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersProductsVariantsPricesUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersProductsVariantsPricesUpdateResponses, unknown, ThrowOnError>({
|
|
2048
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2049
|
+
url: '/manager/sellers/{seller_id}/products/{product_id}/variants/{variant_id}/prices/{price_id}/',
|
|
2050
|
+
...options,
|
|
2051
|
+
headers: {
|
|
2052
|
+
'Content-Type': 'application/json',
|
|
2053
|
+
...options.headers
|
|
2054
|
+
}
|
|
2055
|
+
});
|
|
2056
|
+
|
|
2057
|
+
/**
|
|
2058
|
+
* List redemptions
|
|
2059
|
+
*/
|
|
2060
|
+
export const managerSellersRedemptionsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersRedemptionsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersRedemptionsListResponses, unknown, ThrowOnError>({
|
|
2061
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2062
|
+
url: '/manager/sellers/{seller_id}/redemptions/',
|
|
2063
|
+
...options
|
|
2064
|
+
});
|
|
2065
|
+
|
|
2066
|
+
/**
|
|
2067
|
+
* Create redemption
|
|
2068
|
+
*/
|
|
2069
|
+
export const managerSellersRedemptionsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersRedemptionsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersRedemptionsCreateResponses, unknown, ThrowOnError>({
|
|
2070
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2071
|
+
url: '/manager/sellers/{seller_id}/redemptions/',
|
|
2072
|
+
...options,
|
|
2073
|
+
headers: {
|
|
2074
|
+
'Content-Type': 'application/json',
|
|
2075
|
+
...options.headers
|
|
2076
|
+
}
|
|
2077
|
+
});
|
|
2078
|
+
|
|
2079
|
+
/**
|
|
2080
|
+
* Retrieve redemption
|
|
2081
|
+
*/
|
|
2082
|
+
export const managerSellersRedemptionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersRedemptionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersRedemptionsRetrieveResponses, unknown, ThrowOnError>({
|
|
2083
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2084
|
+
url: '/manager/sellers/{seller_id}/redemptions/{action_id}/',
|
|
2085
|
+
...options
|
|
2086
|
+
});
|
|
2087
|
+
|
|
2088
|
+
/**
|
|
2089
|
+
* List voucher imports
|
|
2090
|
+
*/
|
|
2091
|
+
export const managerSellersVoucherImportsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVoucherImportsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersVoucherImportsListResponses, unknown, ThrowOnError>({
|
|
2092
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2093
|
+
url: '/manager/sellers/{seller_id}/voucher-imports/',
|
|
2094
|
+
...options
|
|
2095
|
+
});
|
|
2096
|
+
|
|
2097
|
+
/**
|
|
2098
|
+
* Create voucher import
|
|
2099
|
+
*/
|
|
2100
|
+
export const managerSellersVoucherImportsCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVoucherImportsCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersVoucherImportsCreateResponses, unknown, ThrowOnError>({
|
|
2101
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2102
|
+
url: '/manager/sellers/{seller_id}/voucher-imports/',
|
|
2103
|
+
...options,
|
|
2104
|
+
headers: {
|
|
2105
|
+
'Content-Type': 'application/json',
|
|
2106
|
+
...options.headers
|
|
2107
|
+
}
|
|
2108
|
+
});
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* Retrieve voucher import
|
|
2112
|
+
*/
|
|
2113
|
+
export const managerSellersVoucherImportsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVoucherImportsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersVoucherImportsRetrieveResponses, unknown, ThrowOnError>({
|
|
2114
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2115
|
+
url: '/manager/sellers/{seller_id}/voucher-imports/{identifier}/',
|
|
2116
|
+
...options
|
|
2117
|
+
});
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* Import vouchers
|
|
2121
|
+
*/
|
|
2122
|
+
export const managerSellersVoucherImportCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVoucherImportCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersVoucherImportCreateResponses, unknown, ThrowOnError>({
|
|
2123
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2124
|
+
url: '/manager/sellers/{seller_id}/voucher/import/',
|
|
2125
|
+
...options,
|
|
2126
|
+
headers: {
|
|
2127
|
+
'Content-Type': 'application/json',
|
|
2128
|
+
...options.headers
|
|
2129
|
+
}
|
|
2130
|
+
});
|
|
2131
|
+
|
|
2132
|
+
/**
|
|
2133
|
+
* List vouchers
|
|
2134
|
+
*/
|
|
2135
|
+
export const managerSellersVouchersList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersVouchersListResponses, unknown, ThrowOnError>({
|
|
2136
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2137
|
+
url: '/manager/sellers/{seller_id}/vouchers/',
|
|
2138
|
+
...options
|
|
2139
|
+
});
|
|
2140
|
+
|
|
2141
|
+
/**
|
|
2142
|
+
* Create voucher
|
|
2143
|
+
*/
|
|
2144
|
+
export const managerSellersVouchersCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersVouchersCreateResponses, unknown, ThrowOnError>({
|
|
2145
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2146
|
+
url: '/manager/sellers/{seller_id}/vouchers/',
|
|
2147
|
+
...options,
|
|
2148
|
+
headers: {
|
|
2149
|
+
'Content-Type': 'application/json',
|
|
2150
|
+
...options.headers
|
|
2151
|
+
}
|
|
2152
|
+
});
|
|
2153
|
+
|
|
2154
|
+
/**
|
|
2155
|
+
* Delete voucher
|
|
2156
|
+
*/
|
|
2157
|
+
export const managerSellersVouchersDestroy = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersDestroyData, ThrowOnError>) => (options.client ?? client).delete<ManagerSellersVouchersDestroyResponses, unknown, ThrowOnError>({
|
|
2158
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2159
|
+
url: '/manager/sellers/{seller_id}/vouchers/{identifier}/',
|
|
2160
|
+
...options
|
|
2161
|
+
});
|
|
2162
|
+
|
|
2163
|
+
/**
|
|
2164
|
+
* Retrieve voucher
|
|
2165
|
+
*/
|
|
2166
|
+
export const managerSellersVouchersRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersVouchersRetrieveResponses, unknown, ThrowOnError>({
|
|
2167
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2168
|
+
url: '/manager/sellers/{seller_id}/vouchers/{identifier}/',
|
|
2169
|
+
...options
|
|
2170
|
+
});
|
|
2171
|
+
|
|
2172
|
+
/**
|
|
2173
|
+
* Partially update voucher
|
|
2174
|
+
*/
|
|
2175
|
+
export const managerSellersVouchersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<ManagerSellersVouchersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
2176
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2177
|
+
url: '/manager/sellers/{seller_id}/vouchers/{identifier}/',
|
|
2178
|
+
...options,
|
|
2179
|
+
headers: {
|
|
2180
|
+
'Content-Type': 'application/json',
|
|
2181
|
+
...options.headers
|
|
2182
|
+
}
|
|
2183
|
+
});
|
|
2184
|
+
|
|
2185
|
+
/**
|
|
2186
|
+
* Update voucher
|
|
2187
|
+
*/
|
|
2188
|
+
export const managerSellersVouchersUpdate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersUpdateData, ThrowOnError>) => (options.client ?? client).put<ManagerSellersVouchersUpdateResponses, unknown, ThrowOnError>({
|
|
2189
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2190
|
+
url: '/manager/sellers/{seller_id}/vouchers/{identifier}/',
|
|
2191
|
+
...options,
|
|
2192
|
+
headers: {
|
|
2193
|
+
'Content-Type': 'application/json',
|
|
2194
|
+
...options.headers
|
|
2195
|
+
}
|
|
2196
|
+
});
|
|
2197
|
+
|
|
2198
|
+
/**
|
|
2199
|
+
* List voucher actions
|
|
2200
|
+
*/
|
|
2201
|
+
export const managerSellersVouchersActionsList = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersActionsListData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersVouchersActionsListResponses, unknown, ThrowOnError>({
|
|
2202
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2203
|
+
url: '/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/',
|
|
2204
|
+
...options
|
|
2205
|
+
});
|
|
2206
|
+
|
|
2207
|
+
/**
|
|
2208
|
+
* Retrieve voucher actions
|
|
2209
|
+
*/
|
|
2210
|
+
export const managerSellersVouchersActionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersActionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<ManagerSellersVouchersActionsRetrieveResponses, unknown, ThrowOnError>({
|
|
2211
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2212
|
+
url: '/manager/sellers/{seller_id}/vouchers/{voucher_id}/actions/{action_id}/',
|
|
2213
|
+
...options
|
|
2214
|
+
});
|
|
2215
|
+
|
|
2216
|
+
/**
|
|
2217
|
+
* Query voucher
|
|
2218
|
+
*/
|
|
2219
|
+
export const managerSellersVouchersQueryCreate = <ThrowOnError extends boolean = false>(options: Options<ManagerSellersVouchersQueryCreateData, ThrowOnError>) => (options.client ?? client).post<ManagerSellersVouchersQueryCreateResponses, unknown, ThrowOnError>({
|
|
2220
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2221
|
+
url: '/manager/sellers/{seller_id}/vouchers/query/',
|
|
2222
|
+
...options,
|
|
2223
|
+
headers: {
|
|
2224
|
+
'Content-Type': 'application/json',
|
|
2225
|
+
...options.headers
|
|
2226
|
+
}
|
|
2227
|
+
});
|
|
2228
|
+
|
|
2229
|
+
/**
|
|
2230
|
+
* List categories
|
|
2231
|
+
*/
|
|
2232
|
+
export const userCategoriesList = <ThrowOnError extends boolean = false>(options?: Options<UserCategoriesListData, ThrowOnError>) => (options?.client ?? client).get<UserCategoriesListResponses, unknown, ThrowOnError>({
|
|
2233
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2234
|
+
url: '/user/categories/',
|
|
2235
|
+
...options
|
|
2236
|
+
});
|
|
2237
|
+
|
|
2238
|
+
/**
|
|
2239
|
+
* Retrieve category
|
|
2240
|
+
*/
|
|
2241
|
+
export const userCategoriesRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserCategoriesRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserCategoriesRetrieveResponses, unknown, ThrowOnError>({
|
|
2242
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2243
|
+
url: '/user/categories/{identifier}/',
|
|
2244
|
+
...options
|
|
2245
|
+
});
|
|
2246
|
+
|
|
2247
|
+
/**
|
|
2248
|
+
* Retrieve company
|
|
2249
|
+
*/
|
|
2250
|
+
export const userCompanyRetrieve = <ThrowOnError extends boolean = false>(options?: Options<UserCompanyRetrieveData, ThrowOnError>) => (options?.client ?? client).get<UserCompanyRetrieveResponses, unknown, ThrowOnError>({
|
|
2251
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2252
|
+
url: '/user/company/',
|
|
2253
|
+
...options
|
|
2254
|
+
});
|
|
2255
|
+
|
|
2256
|
+
/**
|
|
2257
|
+
* List orders
|
|
2258
|
+
*/
|
|
2259
|
+
export const userOrdersList = <ThrowOnError extends boolean = false>(options?: Options<UserOrdersListData, ThrowOnError>) => (options?.client ?? client).get<UserOrdersListResponses, unknown, ThrowOnError>({
|
|
2260
|
+
querySerializer: { parameters: { orderby: { array: { explode: false } } } },
|
|
2261
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2262
|
+
url: '/user/orders/',
|
|
2263
|
+
...options
|
|
2264
|
+
});
|
|
2265
|
+
|
|
2266
|
+
/**
|
|
2267
|
+
* Create order
|
|
2268
|
+
*/
|
|
2269
|
+
export const userOrdersCreate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersCreateData, ThrowOnError>) => (options.client ?? client).post<UserOrdersCreateResponses, unknown, ThrowOnError>({
|
|
2270
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2271
|
+
url: '/user/orders/',
|
|
2272
|
+
...options,
|
|
2273
|
+
headers: {
|
|
2274
|
+
'Content-Type': 'application/json',
|
|
2275
|
+
...options.headers
|
|
2276
|
+
}
|
|
2277
|
+
});
|
|
2278
|
+
|
|
2279
|
+
/**
|
|
2280
|
+
* Delete order
|
|
2281
|
+
*/
|
|
2282
|
+
export const userOrdersDestroy = <ThrowOnError extends boolean = false>(options: Options<UserOrdersDestroyData, ThrowOnError>) => (options.client ?? client).delete<UserOrdersDestroyResponses, unknown, ThrowOnError>({
|
|
2283
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2284
|
+
url: '/user/orders/{identifier}/',
|
|
2285
|
+
...options
|
|
2286
|
+
});
|
|
2287
|
+
|
|
2288
|
+
/**
|
|
2289
|
+
* Retrieve order
|
|
2290
|
+
*/
|
|
2291
|
+
export const userOrdersRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserOrdersRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserOrdersRetrieveResponses, unknown, ThrowOnError>({
|
|
2292
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2293
|
+
url: '/user/orders/{identifier}/',
|
|
2294
|
+
...options
|
|
2295
|
+
});
|
|
2296
|
+
|
|
2297
|
+
/**
|
|
2298
|
+
* Partially update order
|
|
2299
|
+
*/
|
|
2300
|
+
export const userOrdersPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<UserOrdersPartialUpdateResponses, unknown, ThrowOnError>({
|
|
2301
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2302
|
+
url: '/user/orders/{identifier}/',
|
|
2303
|
+
...options,
|
|
2304
|
+
headers: {
|
|
2305
|
+
'Content-Type': 'application/json',
|
|
2306
|
+
...options.headers
|
|
2307
|
+
}
|
|
2308
|
+
});
|
|
2309
|
+
|
|
2310
|
+
/**
|
|
2311
|
+
* Update order
|
|
2312
|
+
*/
|
|
2313
|
+
export const userOrdersUpdate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersUpdateData, ThrowOnError>) => (options.client ?? client).put<UserOrdersUpdateResponses, unknown, ThrowOnError>({
|
|
2314
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2315
|
+
url: '/user/orders/{identifier}/',
|
|
2316
|
+
...options,
|
|
2317
|
+
headers: {
|
|
2318
|
+
'Content-Type': 'application/json',
|
|
2319
|
+
...options.headers
|
|
2320
|
+
}
|
|
2321
|
+
});
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* List order items
|
|
2325
|
+
*/
|
|
2326
|
+
export const userOrdersItemsList = <ThrowOnError extends boolean = false>(options: Options<UserOrdersItemsListData, ThrowOnError>) => (options.client ?? client).get<UserOrdersItemsListResponses, unknown, ThrowOnError>({
|
|
2327
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2328
|
+
url: '/user/orders/{identifier}/items/',
|
|
2329
|
+
...options
|
|
2330
|
+
});
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* Create order item
|
|
2334
|
+
*/
|
|
2335
|
+
export const userOrdersItemsCreate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersItemsCreateData, ThrowOnError>) => (options.client ?? client).post<UserOrdersItemsCreateResponses, unknown, ThrowOnError>({
|
|
2336
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2337
|
+
url: '/user/orders/{identifier}/items/',
|
|
2338
|
+
...options,
|
|
2339
|
+
headers: {
|
|
2340
|
+
'Content-Type': 'application/json',
|
|
2341
|
+
...options.headers
|
|
2342
|
+
}
|
|
2343
|
+
});
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* List payments
|
|
2347
|
+
*/
|
|
2348
|
+
export const userOrdersPaymentsList = <ThrowOnError extends boolean = false>(options: Options<UserOrdersPaymentsListData, ThrowOnError>) => (options.client ?? client).get<UserOrdersPaymentsListResponses, unknown, ThrowOnError>({
|
|
2349
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2350
|
+
url: '/user/orders/{identifier}/payments/',
|
|
2351
|
+
...options
|
|
2352
|
+
});
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* Create payment
|
|
2356
|
+
*/
|
|
2357
|
+
export const userOrdersPaymentsCreate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersPaymentsCreateData, ThrowOnError>) => (options.client ?? client).post<UserOrdersPaymentsCreateResponses, unknown, ThrowOnError>({
|
|
2358
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2359
|
+
url: '/user/orders/{identifier}/payments/',
|
|
2360
|
+
...options,
|
|
2361
|
+
headers: {
|
|
2362
|
+
'Content-Type': 'application/json',
|
|
2363
|
+
...options.headers
|
|
2364
|
+
}
|
|
2365
|
+
});
|
|
2366
|
+
|
|
2367
|
+
/**
|
|
2368
|
+
* List refunds
|
|
2369
|
+
*/
|
|
2370
|
+
export const userOrdersRefundsList = <ThrowOnError extends boolean = false>(options: Options<UserOrdersRefundsListData, ThrowOnError>) => (options.client ?? client).get<UserOrdersRefundsListResponses, unknown, ThrowOnError>({
|
|
2371
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2372
|
+
url: '/user/orders/{identifier}/refunds/',
|
|
2373
|
+
...options
|
|
2374
|
+
});
|
|
2375
|
+
|
|
2376
|
+
/**
|
|
2377
|
+
* Delete order item
|
|
2378
|
+
*/
|
|
2379
|
+
export const userOrdersItemsDestroy = <ThrowOnError extends boolean = false>(options: Options<UserOrdersItemsDestroyData, ThrowOnError>) => (options.client ?? client).delete<UserOrdersItemsDestroyResponses, unknown, ThrowOnError>({
|
|
2380
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2381
|
+
url: '/user/orders/{order_id}/items/{item_id}/',
|
|
2382
|
+
...options
|
|
2383
|
+
});
|
|
2384
|
+
|
|
2385
|
+
/**
|
|
2386
|
+
* Retrieve order item
|
|
2387
|
+
*/
|
|
2388
|
+
export const userOrdersItemsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserOrdersItemsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserOrdersItemsRetrieveResponses, unknown, ThrowOnError>({
|
|
2389
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2390
|
+
url: '/user/orders/{order_id}/items/{item_id}/',
|
|
2391
|
+
...options
|
|
2392
|
+
});
|
|
2393
|
+
|
|
2394
|
+
/**
|
|
2395
|
+
* Partially update order item
|
|
2396
|
+
*/
|
|
2397
|
+
export const userOrdersItemsPartialUpdate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersItemsPartialUpdateData, ThrowOnError>) => (options.client ?? client).patch<UserOrdersItemsPartialUpdateResponses, unknown, ThrowOnError>({
|
|
2398
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2399
|
+
url: '/user/orders/{order_id}/items/{item_id}/',
|
|
2400
|
+
...options,
|
|
2401
|
+
headers: {
|
|
2402
|
+
'Content-Type': 'application/json',
|
|
2403
|
+
...options.headers
|
|
2404
|
+
}
|
|
2405
|
+
});
|
|
2406
|
+
|
|
2407
|
+
/**
|
|
2408
|
+
* Update order item
|
|
2409
|
+
*/
|
|
2410
|
+
export const userOrdersItemsUpdate = <ThrowOnError extends boolean = false>(options: Options<UserOrdersItemsUpdateData, ThrowOnError>) => (options.client ?? client).put<UserOrdersItemsUpdateResponses, unknown, ThrowOnError>({
|
|
2411
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2412
|
+
url: '/user/orders/{order_id}/items/{item_id}/',
|
|
2413
|
+
...options,
|
|
2414
|
+
headers: {
|
|
2415
|
+
'Content-Type': 'application/json',
|
|
2416
|
+
...options.headers
|
|
2417
|
+
}
|
|
2418
|
+
});
|
|
2419
|
+
|
|
2420
|
+
/**
|
|
2421
|
+
* Retrieve payment
|
|
2422
|
+
*/
|
|
2423
|
+
export const userOrdersPaymentsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserOrdersPaymentsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserOrdersPaymentsRetrieveResponses, unknown, ThrowOnError>({
|
|
2424
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2425
|
+
url: '/user/orders/{order_id}/payments/{payment_id}/',
|
|
2426
|
+
...options
|
|
2427
|
+
});
|
|
2428
|
+
|
|
2429
|
+
/**
|
|
2430
|
+
* Retrieve refund
|
|
2431
|
+
*/
|
|
2432
|
+
export const userOrdersRefundsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserOrdersRefundsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserOrdersRefundsRetrieveResponses, unknown, ThrowOnError>({
|
|
2433
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2434
|
+
url: '/user/orders/{order_id}/refunds/{refund_id}/',
|
|
2435
|
+
...options
|
|
2436
|
+
});
|
|
2437
|
+
|
|
2438
|
+
/**
|
|
2439
|
+
* List products
|
|
2440
|
+
*/
|
|
2441
|
+
export const userProductsList = <ThrowOnError extends boolean = false>(options?: Options<UserProductsListData, ThrowOnError>) => (options?.client ?? client).get<UserProductsListResponses, unknown, ThrowOnError>({
|
|
2442
|
+
querySerializer: { parameters: { orderby: { array: { explode: false } } } },
|
|
2443
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2444
|
+
url: '/user/products/',
|
|
2445
|
+
...options
|
|
2446
|
+
});
|
|
2447
|
+
|
|
2448
|
+
/**
|
|
2449
|
+
* Retrieve product
|
|
2450
|
+
*/
|
|
2451
|
+
export const userProductsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserProductsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserProductsRetrieveResponses, unknown, ThrowOnError>({
|
|
2452
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2453
|
+
url: '/user/products/{identifier}/',
|
|
2454
|
+
...options
|
|
2455
|
+
});
|
|
2456
|
+
|
|
2457
|
+
/**
|
|
2458
|
+
* List product price
|
|
2459
|
+
*/
|
|
2460
|
+
export const userProductsPricesList = <ThrowOnError extends boolean = false>(options: Options<UserProductsPricesListData, ThrowOnError>) => (options.client ?? client).get<UserProductsPricesListResponses, unknown, ThrowOnError>({
|
|
2461
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2462
|
+
url: '/user/products/{identifier}/prices/',
|
|
2463
|
+
...options
|
|
2464
|
+
});
|
|
2465
|
+
|
|
2466
|
+
/**
|
|
2467
|
+
* List product variants
|
|
2468
|
+
*/
|
|
2469
|
+
export const userProductsVariantsList = <ThrowOnError extends boolean = false>(options: Options<UserProductsVariantsListData, ThrowOnError>) => (options.client ?? client).get<UserProductsVariantsListResponses, unknown, ThrowOnError>({
|
|
2470
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2471
|
+
url: '/user/products/{identifier}/variants/',
|
|
2472
|
+
...options
|
|
2473
|
+
});
|
|
2474
|
+
|
|
2475
|
+
/**
|
|
2476
|
+
* List product images
|
|
2477
|
+
*/
|
|
2478
|
+
export const userProductsImagesList = <ThrowOnError extends boolean = false>(options: Options<UserProductsImagesListData, ThrowOnError>) => (options.client ?? client).get<UserProductsImagesListResponses, unknown, ThrowOnError>({
|
|
2479
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2480
|
+
url: '/user/products/{product_id}/images/',
|
|
2481
|
+
...options
|
|
2482
|
+
});
|
|
2483
|
+
|
|
2484
|
+
/**
|
|
2485
|
+
* Retrieve product image
|
|
2486
|
+
*/
|
|
2487
|
+
export const userProductsImagesRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserProductsImagesRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserProductsImagesRetrieveResponses, unknown, ThrowOnError>({
|
|
2488
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2489
|
+
url: '/user/products/{product_id}/images/{image_id}/',
|
|
2490
|
+
...options
|
|
2491
|
+
});
|
|
2492
|
+
|
|
2493
|
+
/**
|
|
2494
|
+
* Retrieve product price
|
|
2495
|
+
*/
|
|
2496
|
+
export const userProductsPricesRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserProductsPricesRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserProductsPricesRetrieveResponses, unknown, ThrowOnError>({
|
|
2497
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2498
|
+
url: '/user/products/{product_id}/prices/{price_id}/',
|
|
2499
|
+
...options
|
|
2500
|
+
});
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* Retrieve product variant
|
|
2504
|
+
*/
|
|
2505
|
+
export const userProductsVariantsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserProductsVariantsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserProductsVariantsRetrieveResponses, unknown, ThrowOnError>({
|
|
2506
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2507
|
+
url: '/user/products/{product_id}/variants/{variant_id}/',
|
|
2508
|
+
...options
|
|
2509
|
+
});
|
|
2510
|
+
|
|
2511
|
+
/**
|
|
2512
|
+
* List redemptions
|
|
2513
|
+
*/
|
|
2514
|
+
export const userRedemptionsList = <ThrowOnError extends boolean = false>(options?: Options<UserRedemptionsListData, ThrowOnError>) => (options?.client ?? client).get<UserRedemptionsListResponses, unknown, ThrowOnError>({
|
|
2515
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2516
|
+
url: '/user/redemptions/',
|
|
2517
|
+
...options
|
|
2518
|
+
});
|
|
2519
|
+
|
|
2520
|
+
/**
|
|
2521
|
+
* Create redemption
|
|
2522
|
+
*/
|
|
2523
|
+
export const userRedemptionsCreate = <ThrowOnError extends boolean = false>(options: Options<UserRedemptionsCreateData, ThrowOnError>) => (options.client ?? client).post<UserRedemptionsCreateResponses, unknown, ThrowOnError>({
|
|
2524
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2525
|
+
url: '/user/redemptions/',
|
|
2526
|
+
...options,
|
|
2527
|
+
headers: {
|
|
2528
|
+
'Content-Type': 'application/json',
|
|
2529
|
+
...options.headers
|
|
2530
|
+
}
|
|
2531
|
+
});
|
|
2532
|
+
|
|
2533
|
+
/**
|
|
2534
|
+
* Retrieve redemption
|
|
2535
|
+
*/
|
|
2536
|
+
export const userRedemptionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserRedemptionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserRedemptionsRetrieveResponses, unknown, ThrowOnError>({
|
|
2537
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2538
|
+
url: '/user/redemptions/{action_id}/',
|
|
2539
|
+
...options
|
|
2540
|
+
});
|
|
2541
|
+
|
|
2542
|
+
/**
|
|
2543
|
+
* List sellers
|
|
2544
|
+
*/
|
|
2545
|
+
export const userSellersList = <ThrowOnError extends boolean = false>(options?: Options<UserSellersListData, ThrowOnError>) => (options?.client ?? client).get<UserSellersListResponses, unknown, ThrowOnError>({
|
|
2546
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2547
|
+
url: '/user/sellers/',
|
|
2548
|
+
...options
|
|
2549
|
+
});
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* Retrieve seller
|
|
2553
|
+
*/
|
|
2554
|
+
export const userSellersRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserSellersRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserSellersRetrieveResponses, unknown, ThrowOnError>({
|
|
2555
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2556
|
+
url: '/user/sellers/{seller_id}/',
|
|
2557
|
+
...options
|
|
2558
|
+
});
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* List vouchers
|
|
2562
|
+
*/
|
|
2563
|
+
export const userVouchersList = <ThrowOnError extends boolean = false>(options?: Options<UserVouchersListData, ThrowOnError>) => (options?.client ?? client).get<UserVouchersListResponses, unknown, ThrowOnError>({
|
|
2564
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2565
|
+
url: '/user/vouchers/',
|
|
2566
|
+
...options
|
|
2567
|
+
});
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* Retrieve voucher
|
|
2571
|
+
*/
|
|
2572
|
+
export const userVouchersRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserVouchersRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserVouchersRetrieveResponses, unknown, ThrowOnError>({
|
|
2573
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2574
|
+
url: '/user/vouchers/{identifier}/',
|
|
2575
|
+
...options
|
|
2576
|
+
});
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* List voucher actions
|
|
2580
|
+
*/
|
|
2581
|
+
export const userVouchersActionsList = <ThrowOnError extends boolean = false>(options: Options<UserVouchersActionsListData, ThrowOnError>) => (options.client ?? client).get<UserVouchersActionsListResponses, unknown, ThrowOnError>({
|
|
2582
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2583
|
+
url: '/user/vouchers/{identifier}/actions/',
|
|
2584
|
+
...options
|
|
2585
|
+
});
|
|
2586
|
+
|
|
2587
|
+
/**
|
|
2588
|
+
* Retrieve voucher action
|
|
2589
|
+
*/
|
|
2590
|
+
export const userVouchersActionsRetrieve = <ThrowOnError extends boolean = false>(options: Options<UserVouchersActionsRetrieveData, ThrowOnError>) => (options.client ?? client).get<UserVouchersActionsRetrieveResponses, unknown, ThrowOnError>({
|
|
2591
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2592
|
+
url: '/user/vouchers/{voucher_id}/actions/{action_id}/',
|
|
2593
|
+
...options
|
|
2594
|
+
});
|
|
2595
|
+
|
|
2596
|
+
/**
|
|
2597
|
+
* Query voucher
|
|
2598
|
+
*/
|
|
2599
|
+
export const userVouchersQueryCreate = <ThrowOnError extends boolean = false>(options: Options<UserVouchersQueryCreateData, ThrowOnError>) => (options.client ?? client).post<UserVouchersQueryCreateResponses, unknown, ThrowOnError>({
|
|
2600
|
+
security: [{ name: 'Authorization', type: 'apiKey' }],
|
|
2601
|
+
url: '/user/vouchers/query/',
|
|
2602
|
+
...options,
|
|
2603
|
+
headers: {
|
|
2604
|
+
'Content-Type': 'application/json',
|
|
2605
|
+
...options.headers
|
|
2606
|
+
}
|
|
2607
|
+
});
|
|
2608
|
+
|
|
2609
|
+
/**
|
|
2610
|
+
* Receive Platform webhook
|
|
2611
|
+
*/
|
|
2612
|
+
export const webhookCreate = <ThrowOnError extends boolean = false>(options: Options<WebhookCreateData, ThrowOnError>) => (options.client ?? client).post<WebhookCreateResponses, unknown, ThrowOnError>({
|
|
2613
|
+
url: '/webhook/',
|
|
2614
|
+
...options,
|
|
2615
|
+
headers: {
|
|
2616
|
+
'Content-Type': 'application/json',
|
|
2617
|
+
...options.headers
|
|
2618
|
+
}
|
|
2619
|
+
});
|