rehive 3.1.4 → 4.1.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 -506
- package/dist/admin.d.mts +31507 -0
- package/dist/admin.d.ts +31507 -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-7WQMKBQ6.js +7 -0
- package/dist/chunk-CUQ6U73E.mjs +1 -0
- package/dist/chunk-DRLSOKDI.js +7 -0
- package/dist/chunk-GR5TETAU.js +1 -0
- package/dist/chunk-JK4JOKBZ.js +1 -0
- package/dist/chunk-KQ5BJOW2.mjs +1 -0
- package/dist/chunk-KUM3UI4C.mjs +7 -0
- package/dist/chunk-OEIQFP6T.js +1 -0
- package/dist/chunk-S4QKN5WW.mjs +1 -0
- package/dist/chunk-S5UXBHRU.mjs +1 -0
- package/dist/chunk-UMUOM4B2.mjs +7 -0
- package/dist/chunk-YRYX3G3E.js +1 -0
- package/dist/create-api-client-2vNCP2LN.d.mts +25 -0
- package/dist/create-api-client-D-Z8R83N.d.ts +25 -0
- package/dist/create-auth-CHzmb_8_.d.mts +18570 -0
- package/dist/create-auth-CHzmb_8_.d.ts +18570 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +214 -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 +31428 -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 +214 -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 +19780 -0
- package/src/shared/api-utils.ts +22 -0
- package/src/shared/bind-sdk.ts +48 -0
- package/src/shared/create-api-client.ts +55 -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,1855 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export type ClientOptions = {
|
|
4
|
+
baseUrl: 'https://bridge.services.rehive.com/api/' | (string & {});
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This serializer can be used if only a `status` is required in the response.
|
|
9
|
+
*/
|
|
10
|
+
export type ActionResponse = {
|
|
11
|
+
status: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Serialize the activation data, should be a token that represents an admin
|
|
16
|
+
* user.
|
|
17
|
+
*/
|
|
18
|
+
export type Activate = {
|
|
19
|
+
token: string;
|
|
20
|
+
readonly id: string;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly secret: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* A ModelSerializer that takes additional arguments for
|
|
27
|
+
* "fields", "omit" and "expand" in order to
|
|
28
|
+
* control which fields are displayed, and whether to replace simple
|
|
29
|
+
* values with complex, nested serializations
|
|
30
|
+
*/
|
|
31
|
+
export type AdminCompany = {
|
|
32
|
+
readonly id: string;
|
|
33
|
+
readonly secret: string;
|
|
34
|
+
/**
|
|
35
|
+
* * `test` - Test
|
|
36
|
+
* * `production` - Production
|
|
37
|
+
*/
|
|
38
|
+
mode: 'test' | 'production';
|
|
39
|
+
bridge_api_key: string;
|
|
40
|
+
readonly bridge_webhook_id: string | null;
|
|
41
|
+
readonly admin_user_bridge_id: string | null;
|
|
42
|
+
readonly bridge_default_endorsements: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'>;
|
|
43
|
+
readonly bridge_tos_platform_legal_term: string | null;
|
|
44
|
+
readonly exchange_rate_override_bps: number;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
export type AdminCompanyResponse = {
|
|
48
|
+
status: string;
|
|
49
|
+
data: AdminCompany;
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
/**
|
|
53
|
+
* A ModelSerializer that takes additional arguments for
|
|
54
|
+
* "fields", "omit" and "expand" in order to
|
|
55
|
+
* control which fields are displayed, and whether to replace simple
|
|
56
|
+
* values with complex, nested serializations
|
|
57
|
+
*/
|
|
58
|
+
export type AdminCreatePayoutConfiguration = {
|
|
59
|
+
/**
|
|
60
|
+
* * `solana` - Solana
|
|
61
|
+
*/
|
|
62
|
+
destination_chain: 'solana';
|
|
63
|
+
destination_address: string;
|
|
64
|
+
};
|
|
65
|
+
|
|
66
|
+
export type AdminCryptoReturnPolicy = {
|
|
67
|
+
readonly id: string;
|
|
68
|
+
refund_destination_address?: string | null;
|
|
69
|
+
refund_destination_blockchain_memo?: string | null;
|
|
70
|
+
refund_destination_chain?: string | null;
|
|
71
|
+
refund_destination_currency?: string | null;
|
|
72
|
+
/**
|
|
73
|
+
* * `refund_to_sender` - refund_to_sender
|
|
74
|
+
* * `static_address` - static_address
|
|
75
|
+
*/
|
|
76
|
+
strategy: 'refund_to_sender' | 'static_address';
|
|
77
|
+
};
|
|
78
|
+
|
|
79
|
+
export type AdminCryptoReturnPolicyList = Array<AdminCryptoReturnPolicy>;
|
|
80
|
+
|
|
81
|
+
export type AdminCryptoReturnPolicyListResponse = {
|
|
82
|
+
status: string;
|
|
83
|
+
data: AdminCryptoReturnPolicyList;
|
|
84
|
+
};
|
|
85
|
+
|
|
86
|
+
export type AdminCryptoReturnPolicyResponse = {
|
|
87
|
+
status: string;
|
|
88
|
+
data: AdminCryptoReturnPolicy;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* A ModelSerializer that takes additional arguments for
|
|
93
|
+
* "fields", "omit" and "expand" in order to
|
|
94
|
+
* control which fields are displayed, and whether to replace simple
|
|
95
|
+
* values with complex, nested serializations
|
|
96
|
+
*/
|
|
97
|
+
export type AdminCurrency = {
|
|
98
|
+
readonly code: string;
|
|
99
|
+
/**
|
|
100
|
+
* * `usdc` - Usdc
|
|
101
|
+
* * `eurc` - Eurc
|
|
102
|
+
*/
|
|
103
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
104
|
+
/**
|
|
105
|
+
* * `solana` - Solana
|
|
106
|
+
*/
|
|
107
|
+
bridge_chain?: 'solana';
|
|
108
|
+
readonly display_code: string | null;
|
|
109
|
+
readonly description: string | null;
|
|
110
|
+
readonly symbol: string | null;
|
|
111
|
+
readonly unit: string | null;
|
|
112
|
+
readonly divisibility: number;
|
|
113
|
+
readonly manager: string | null;
|
|
114
|
+
};
|
|
115
|
+
|
|
116
|
+
export type AdminCurrencyResponse = {
|
|
117
|
+
status: string;
|
|
118
|
+
data: AdminCurrency;
|
|
119
|
+
};
|
|
120
|
+
|
|
121
|
+
/**
|
|
122
|
+
* A ModelSerializer that takes additional arguments for
|
|
123
|
+
* "fields", "omit" and "expand" in order to
|
|
124
|
+
* control which fields are displayed, and whether to replace simple
|
|
125
|
+
* values with complex, nested serializations
|
|
126
|
+
*/
|
|
127
|
+
export type AdminLiquidationAddress = {
|
|
128
|
+
readonly id: string;
|
|
129
|
+
wallet: UserReducedWallet;
|
|
130
|
+
readonly chain: string;
|
|
131
|
+
/**
|
|
132
|
+
* * `usdc` - Usdc
|
|
133
|
+
* * `eurc` - Eurc
|
|
134
|
+
* * `usd` - Usd
|
|
135
|
+
* * `eur` - Eur
|
|
136
|
+
* * `mxn` - Mxn
|
|
137
|
+
* * `brl` - Brl
|
|
138
|
+
*/
|
|
139
|
+
bridge_currency: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
140
|
+
readonly address: string;
|
|
141
|
+
readonly memo: string | null;
|
|
142
|
+
readonly bridge_id: string | null;
|
|
143
|
+
readonly active: boolean;
|
|
144
|
+
readonly user: string;
|
|
145
|
+
readonly created: number;
|
|
146
|
+
readonly updated: number;
|
|
147
|
+
};
|
|
148
|
+
|
|
149
|
+
export type AdminLiquidationAddressResponse = {
|
|
150
|
+
status: string;
|
|
151
|
+
data: AdminLiquidationAddress;
|
|
152
|
+
};
|
|
153
|
+
|
|
154
|
+
export type AdminOperationalAccountLiquidationAddress = {
|
|
155
|
+
account_currency: string;
|
|
156
|
+
/**
|
|
157
|
+
* * `solana` - Solana
|
|
158
|
+
* * `base` - Base
|
|
159
|
+
* * `ethereum` - Ethereum
|
|
160
|
+
* * `stellar` - Stellar
|
|
161
|
+
* * `tron` - Tron
|
|
162
|
+
* * `polygon` - Polygon
|
|
163
|
+
* * `arbitrum` - Arbitrum
|
|
164
|
+
* * `optimism` - Optimism
|
|
165
|
+
*/
|
|
166
|
+
chain: 'solana' | 'base' | 'ethereum' | 'stellar' | 'tron' | 'polygon' | 'arbitrum' | 'optimism';
|
|
167
|
+
};
|
|
168
|
+
|
|
169
|
+
export type AdminOperationalAccountVirtualAccount = {
|
|
170
|
+
account_currency: string;
|
|
171
|
+
/**
|
|
172
|
+
* * `usd` - Usd
|
|
173
|
+
* * `eur` - Eur
|
|
174
|
+
* * `mxn` - Mxn
|
|
175
|
+
* * `brl` - Brl
|
|
176
|
+
*/
|
|
177
|
+
source_currency?: 'usd' | 'eur' | 'mxn' | 'brl';
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* A ModelSerializer that takes additional arguments for
|
|
182
|
+
* "fields", "omit" and "expand" in order to
|
|
183
|
+
* control which fields are displayed, and whether to replace simple
|
|
184
|
+
* values with complex, nested serializations
|
|
185
|
+
*/
|
|
186
|
+
export type AdminPaymentProcessorQuote = {
|
|
187
|
+
id: string;
|
|
188
|
+
account?: string | null;
|
|
189
|
+
currency: {
|
|
190
|
+
[key: string]: unknown;
|
|
191
|
+
};
|
|
192
|
+
amount?: string | null;
|
|
193
|
+
expiration_date?: string | null;
|
|
194
|
+
payer_user?: {
|
|
195
|
+
[key: string]: unknown;
|
|
196
|
+
};
|
|
197
|
+
/**
|
|
198
|
+
* * `bank` - Bank
|
|
199
|
+
* * `wallet` - Wallet
|
|
200
|
+
* * `crypto` - Crypto
|
|
201
|
+
*/
|
|
202
|
+
processor_type: 'bank' | 'wallet' | 'crypto';
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
export type AdminPaymentProcessorQuoteResponse = {
|
|
206
|
+
readonly reference: string;
|
|
207
|
+
readonly account: string;
|
|
208
|
+
readonly deposit_details: {
|
|
209
|
+
[key: string]: unknown;
|
|
210
|
+
};
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
export type AdminPaymentProcessorQuoteResponseResponse = {
|
|
214
|
+
status: string;
|
|
215
|
+
data: AdminPaymentProcessorQuoteResponse;
|
|
216
|
+
};
|
|
217
|
+
|
|
218
|
+
/**
|
|
219
|
+
* A ModelSerializer that takes additional arguments for
|
|
220
|
+
* "fields", "omit" and "expand" in order to
|
|
221
|
+
* control which fields are displayed, and whether to replace simple
|
|
222
|
+
* values with complex, nested serializations
|
|
223
|
+
*/
|
|
224
|
+
export type AdminPayoutConfiguration = {
|
|
225
|
+
readonly id: string;
|
|
226
|
+
wallet: AdminWallet;
|
|
227
|
+
/**
|
|
228
|
+
* * `solana` - Solana
|
|
229
|
+
*/
|
|
230
|
+
destination_chain: 'solana';
|
|
231
|
+
destination_address: string;
|
|
232
|
+
readonly created: string;
|
|
233
|
+
readonly updated: string;
|
|
234
|
+
};
|
|
235
|
+
|
|
236
|
+
export type AdminPayoutConfigurationResponse = {
|
|
237
|
+
status: string;
|
|
238
|
+
data: AdminPayoutConfiguration;
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
/**
|
|
242
|
+
* A ModelSerializer that takes additional arguments for
|
|
243
|
+
* "fields", "omit" and "expand" in order to
|
|
244
|
+
* control which fields are displayed, and whether to replace simple
|
|
245
|
+
* values with complex, nested serializations
|
|
246
|
+
*/
|
|
247
|
+
export type AdminTransactionTransition = {
|
|
248
|
+
readonly id: string;
|
|
249
|
+
readonly transaction: string;
|
|
250
|
+
/**
|
|
251
|
+
* * `Initiating` - Initiating
|
|
252
|
+
* * `Quoted` - Quoted
|
|
253
|
+
* * `Pending` - Pending
|
|
254
|
+
* * `Complete` - Complete
|
|
255
|
+
* * `Failed` - Failed
|
|
256
|
+
*/
|
|
257
|
+
from_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
258
|
+
/**
|
|
259
|
+
* * `Initiating` - Initiating
|
|
260
|
+
* * `Quoted` - Quoted
|
|
261
|
+
* * `Pending` - Pending
|
|
262
|
+
* * `Complete` - Complete
|
|
263
|
+
* * `Failed` - Failed
|
|
264
|
+
*/
|
|
265
|
+
to_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
266
|
+
/**
|
|
267
|
+
* * `queued` - Queued
|
|
268
|
+
* * `pending` - Pending
|
|
269
|
+
* * `awaiting_verification` - Awaiting Verification
|
|
270
|
+
* * `awaiting_balance` - Awaiting Balance
|
|
271
|
+
* * `paused` - Paused
|
|
272
|
+
* * `approved` - Approved
|
|
273
|
+
* * `declined` - Declined
|
|
274
|
+
*/
|
|
275
|
+
status: 'queued' | 'pending' | 'awaiting_verification' | 'awaiting_balance' | 'paused' | 'approved' | 'declined';
|
|
276
|
+
readonly created: number;
|
|
277
|
+
readonly updated: number;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
export type AdminTransactionTransitionResponse = {
|
|
281
|
+
status: string;
|
|
282
|
+
data: AdminTransactionTransition;
|
|
283
|
+
};
|
|
284
|
+
|
|
285
|
+
/**
|
|
286
|
+
* A ModelSerializer that takes additional arguments for
|
|
287
|
+
* "fields", "omit" and "expand" in order to
|
|
288
|
+
* control which fields are displayed, and whether to replace simple
|
|
289
|
+
* values with complex, nested serializations
|
|
290
|
+
*/
|
|
291
|
+
export type AdminUpdateCompany = {
|
|
292
|
+
readonly id: string;
|
|
293
|
+
readonly secret: string;
|
|
294
|
+
/**
|
|
295
|
+
* * `test` - Test
|
|
296
|
+
* * `production` - Production
|
|
297
|
+
*/
|
|
298
|
+
mode: 'test' | 'production';
|
|
299
|
+
bridge_api_key?: string;
|
|
300
|
+
readonly bridge_webhook_id: string | null;
|
|
301
|
+
admin_user_bridge_id?: string | null;
|
|
302
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
303
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
304
|
+
exchange_rate_override_bps?: number | null;
|
|
305
|
+
};
|
|
306
|
+
|
|
307
|
+
/**
|
|
308
|
+
* A ModelSerializer that takes additional arguments for
|
|
309
|
+
* "fields", "omit" and "expand" in order to
|
|
310
|
+
* control which fields are displayed, and whether to replace simple
|
|
311
|
+
* values with complex, nested serializations
|
|
312
|
+
*/
|
|
313
|
+
export type AdminVirtualAccount = {
|
|
314
|
+
readonly id: string;
|
|
315
|
+
wallet: UserReducedWallet;
|
|
316
|
+
/**
|
|
317
|
+
* * `usdc` - Usdc
|
|
318
|
+
* * `eurc` - Eurc
|
|
319
|
+
* * `usd` - Usd
|
|
320
|
+
* * `eur` - Eur
|
|
321
|
+
* * `mxn` - Mxn
|
|
322
|
+
* * `brl` - Brl
|
|
323
|
+
*/
|
|
324
|
+
source_currency: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
325
|
+
readonly bank_account: string | null;
|
|
326
|
+
readonly bank_account_details: string;
|
|
327
|
+
readonly bridge_id: string | null;
|
|
328
|
+
readonly active: boolean;
|
|
329
|
+
readonly created: number;
|
|
330
|
+
readonly updated: number;
|
|
331
|
+
readonly user: string;
|
|
332
|
+
};
|
|
333
|
+
|
|
334
|
+
export type AdminVirtualAccountResponse = {
|
|
335
|
+
status: string;
|
|
336
|
+
data: AdminVirtualAccount;
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
/**
|
|
340
|
+
* A ModelSerializer that takes additional arguments for
|
|
341
|
+
* "fields", "omit" and "expand" in order to
|
|
342
|
+
* control which fields are displayed, and whether to replace simple
|
|
343
|
+
* values with complex, nested serializations
|
|
344
|
+
*/
|
|
345
|
+
export type AdminWallet = {
|
|
346
|
+
readonly id: string;
|
|
347
|
+
readonly user: string;
|
|
348
|
+
currency: Currency;
|
|
349
|
+
readonly account: string | null;
|
|
350
|
+
readonly bridge_id: string | null;
|
|
351
|
+
readonly created: number;
|
|
352
|
+
readonly updated: number;
|
|
353
|
+
};
|
|
354
|
+
|
|
355
|
+
export type AdminWalletResponse = {
|
|
356
|
+
status: string;
|
|
357
|
+
data: AdminWallet;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
export type BridgeWebhook = {
|
|
361
|
+
event_id: string;
|
|
362
|
+
event_category: string;
|
|
363
|
+
event_type: string;
|
|
364
|
+
event_object_id: string;
|
|
365
|
+
event_object_status?: string | null;
|
|
366
|
+
event_object_changes?: {
|
|
367
|
+
[key: string]: unknown;
|
|
368
|
+
} | null;
|
|
369
|
+
event_object: {
|
|
370
|
+
[key: string]: unknown;
|
|
371
|
+
};
|
|
372
|
+
event_created_at: string;
|
|
373
|
+
};
|
|
374
|
+
|
|
375
|
+
/**
|
|
376
|
+
* A ModelSerializer that takes additional arguments for
|
|
377
|
+
* "fields", "omit" and "expand" in order to
|
|
378
|
+
* control which fields are displayed, and whether to replace simple
|
|
379
|
+
* values with complex, nested serializations
|
|
380
|
+
*/
|
|
381
|
+
export type Currency = {
|
|
382
|
+
code: string;
|
|
383
|
+
/**
|
|
384
|
+
* * `usdc` - Usdc
|
|
385
|
+
* * `eurc` - Eurc
|
|
386
|
+
* * `usd` - Usd
|
|
387
|
+
* * `eur` - Eur
|
|
388
|
+
* * `mxn` - Mxn
|
|
389
|
+
* * `brl` - Brl
|
|
390
|
+
*/
|
|
391
|
+
bridge_code?: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
392
|
+
/**
|
|
393
|
+
* * `solana` - Solana
|
|
394
|
+
*/
|
|
395
|
+
bridge_chain?: 'solana';
|
|
396
|
+
display_code?: string | null;
|
|
397
|
+
description?: string | null;
|
|
398
|
+
symbol?: string | null;
|
|
399
|
+
unit?: string | null;
|
|
400
|
+
divisibility?: number;
|
|
401
|
+
};
|
|
402
|
+
|
|
403
|
+
export type CurrencyResponse = {
|
|
404
|
+
status: string;
|
|
405
|
+
data: Currency;
|
|
406
|
+
};
|
|
407
|
+
|
|
408
|
+
/**
|
|
409
|
+
* Serialize the deactivation data, should be a token that represents an admin
|
|
410
|
+
* user.
|
|
411
|
+
*/
|
|
412
|
+
export type Deactivate = {
|
|
413
|
+
token: string;
|
|
414
|
+
purge?: boolean;
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
export type PaginatedAdminCurrencyList = {
|
|
418
|
+
count?: number;
|
|
419
|
+
next?: string | null;
|
|
420
|
+
previous?: string | null;
|
|
421
|
+
results?: Array<AdminCurrency>;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
export type PaginatedAdminCurrencyListResponse = {
|
|
425
|
+
status: string;
|
|
426
|
+
data: PaginatedAdminCurrencyList;
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
export type PaginatedAdminLiquidationAddressList = {
|
|
430
|
+
count?: number;
|
|
431
|
+
next?: string | null;
|
|
432
|
+
previous?: string | null;
|
|
433
|
+
results?: Array<AdminLiquidationAddress>;
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
export type PaginatedAdminLiquidationAddressListResponse = {
|
|
437
|
+
status: string;
|
|
438
|
+
data: PaginatedAdminLiquidationAddressList;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
export type PaginatedAdminPayoutConfigurationList = {
|
|
442
|
+
count?: number;
|
|
443
|
+
next?: string | null;
|
|
444
|
+
previous?: string | null;
|
|
445
|
+
results?: Array<AdminPayoutConfiguration>;
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
export type PaginatedAdminPayoutConfigurationListResponse = {
|
|
449
|
+
status: string;
|
|
450
|
+
data: PaginatedAdminPayoutConfigurationList;
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
export type PaginatedAdminTransactionTransitionList = {
|
|
454
|
+
count?: number;
|
|
455
|
+
next?: string | null;
|
|
456
|
+
previous?: string | null;
|
|
457
|
+
results?: Array<AdminTransactionTransition>;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
export type PaginatedAdminTransactionTransitionListResponse = {
|
|
461
|
+
status: string;
|
|
462
|
+
data: PaginatedAdminTransactionTransitionList;
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
export type PaginatedAdminVirtualAccountList = {
|
|
466
|
+
count?: number;
|
|
467
|
+
next?: string | null;
|
|
468
|
+
previous?: string | null;
|
|
469
|
+
results?: Array<AdminVirtualAccount>;
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
export type PaginatedAdminVirtualAccountListResponse = {
|
|
473
|
+
status: string;
|
|
474
|
+
data: PaginatedAdminVirtualAccountList;
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
export type PaginatedAdminWalletList = {
|
|
478
|
+
count?: number;
|
|
479
|
+
next?: string | null;
|
|
480
|
+
previous?: string | null;
|
|
481
|
+
results?: Array<AdminWallet>;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
export type PaginatedAdminWalletListResponse = {
|
|
485
|
+
status: string;
|
|
486
|
+
data: PaginatedAdminWalletList;
|
|
487
|
+
};
|
|
488
|
+
|
|
489
|
+
export type PaginatedCurrencyList = {
|
|
490
|
+
count?: number;
|
|
491
|
+
next?: string | null;
|
|
492
|
+
previous?: string | null;
|
|
493
|
+
results?: Array<Currency>;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
export type PaginatedCurrencyListResponse = {
|
|
497
|
+
status: string;
|
|
498
|
+
data: PaginatedCurrencyList;
|
|
499
|
+
};
|
|
500
|
+
|
|
501
|
+
export type PaginatedUserVirtualAccountList = {
|
|
502
|
+
count?: number;
|
|
503
|
+
next?: string | null;
|
|
504
|
+
previous?: string | null;
|
|
505
|
+
results?: Array<UserVirtualAccount>;
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
export type PaginatedUserVirtualAccountListResponse = {
|
|
509
|
+
status: string;
|
|
510
|
+
data: PaginatedUserVirtualAccountList;
|
|
511
|
+
};
|
|
512
|
+
|
|
513
|
+
export type PatchedAdminCryptoReturnPolicy = {
|
|
514
|
+
readonly id?: string;
|
|
515
|
+
refund_destination_address?: string | null;
|
|
516
|
+
refund_destination_blockchain_memo?: string | null;
|
|
517
|
+
refund_destination_chain?: string | null;
|
|
518
|
+
refund_destination_currency?: string | null;
|
|
519
|
+
/**
|
|
520
|
+
* * `refund_to_sender` - refund_to_sender
|
|
521
|
+
* * `static_address` - static_address
|
|
522
|
+
*/
|
|
523
|
+
strategy?: 'refund_to_sender' | 'static_address';
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
/**
|
|
527
|
+
* A ModelSerializer that takes additional arguments for
|
|
528
|
+
* "fields", "omit" and "expand" in order to
|
|
529
|
+
* control which fields are displayed, and whether to replace simple
|
|
530
|
+
* values with complex, nested serializations
|
|
531
|
+
*/
|
|
532
|
+
export type PatchedAdminCurrency = {
|
|
533
|
+
readonly code?: string;
|
|
534
|
+
/**
|
|
535
|
+
* * `usdc` - Usdc
|
|
536
|
+
* * `eurc` - Eurc
|
|
537
|
+
*/
|
|
538
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
539
|
+
/**
|
|
540
|
+
* * `solana` - Solana
|
|
541
|
+
*/
|
|
542
|
+
bridge_chain?: 'solana';
|
|
543
|
+
readonly display_code?: string | null;
|
|
544
|
+
readonly description?: string | null;
|
|
545
|
+
readonly symbol?: string | null;
|
|
546
|
+
readonly unit?: string | null;
|
|
547
|
+
readonly divisibility?: number;
|
|
548
|
+
readonly manager?: string | null;
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
/**
|
|
552
|
+
* A ModelSerializer that takes additional arguments for
|
|
553
|
+
* "fields", "omit" and "expand" in order to
|
|
554
|
+
* control which fields are displayed, and whether to replace simple
|
|
555
|
+
* values with complex, nested serializations
|
|
556
|
+
*/
|
|
557
|
+
export type PatchedAdminPayoutConfiguration = {
|
|
558
|
+
readonly id?: string;
|
|
559
|
+
wallet?: AdminWallet;
|
|
560
|
+
/**
|
|
561
|
+
* * `solana` - Solana
|
|
562
|
+
*/
|
|
563
|
+
destination_chain?: 'solana';
|
|
564
|
+
destination_address?: string;
|
|
565
|
+
readonly created?: string;
|
|
566
|
+
readonly updated?: string;
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
/**
|
|
570
|
+
* A ModelSerializer that takes additional arguments for
|
|
571
|
+
* "fields", "omit" and "expand" in order to
|
|
572
|
+
* control which fields are displayed, and whether to replace simple
|
|
573
|
+
* values with complex, nested serializations
|
|
574
|
+
*/
|
|
575
|
+
export type PatchedAdminUpdateCompany = {
|
|
576
|
+
readonly id?: string;
|
|
577
|
+
readonly secret?: string;
|
|
578
|
+
/**
|
|
579
|
+
* * `test` - Test
|
|
580
|
+
* * `production` - Production
|
|
581
|
+
*/
|
|
582
|
+
mode?: 'test' | 'production';
|
|
583
|
+
bridge_api_key?: string;
|
|
584
|
+
readonly bridge_webhook_id?: string | null;
|
|
585
|
+
admin_user_bridge_id?: string | null;
|
|
586
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
587
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
588
|
+
exchange_rate_override_bps?: number | null;
|
|
589
|
+
};
|
|
590
|
+
|
|
591
|
+
/**
|
|
592
|
+
* A ModelSerializer that takes additional arguments for
|
|
593
|
+
* "fields", "omit" and "expand" in order to
|
|
594
|
+
* control which fields are displayed, and whether to replace simple
|
|
595
|
+
* values with complex, nested serializations
|
|
596
|
+
*/
|
|
597
|
+
export type PatchedUser = {
|
|
598
|
+
readonly id?: string;
|
|
599
|
+
readonly bridge_id?: string;
|
|
600
|
+
bridge_signed_agreement_id?: string;
|
|
601
|
+
};
|
|
602
|
+
|
|
603
|
+
/**
|
|
604
|
+
* A ModelSerializer that takes additional arguments for
|
|
605
|
+
* "fields", "omit" and "expand" in order to
|
|
606
|
+
* control which fields are displayed, and whether to replace simple
|
|
607
|
+
* values with complex, nested serializations
|
|
608
|
+
*/
|
|
609
|
+
export type User = {
|
|
610
|
+
readonly id: string;
|
|
611
|
+
readonly bridge_id: string;
|
|
612
|
+
bridge_signed_agreement_id: string;
|
|
613
|
+
};
|
|
614
|
+
|
|
615
|
+
export type UserCreateCustomerKycLink = {
|
|
616
|
+
/**
|
|
617
|
+
* * `individual` - Individual
|
|
618
|
+
* * `business` - Business
|
|
619
|
+
*/
|
|
620
|
+
customer_type?: 'individual' | 'business';
|
|
621
|
+
endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
622
|
+
redirect_uri?: string | null;
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
/**
|
|
626
|
+
* A ModelSerializer that takes additional arguments for
|
|
627
|
+
* "fields", "omit" and "expand" in order to
|
|
628
|
+
* control which fields are displayed, and whether to replace simple
|
|
629
|
+
* values with complex, nested serializations
|
|
630
|
+
*/
|
|
631
|
+
export type UserCreateVirtualAccount = {
|
|
632
|
+
account: string;
|
|
633
|
+
currency: string;
|
|
634
|
+
/**
|
|
635
|
+
* * `usd` - Usd
|
|
636
|
+
* * `eur` - Eur
|
|
637
|
+
* * `mxn` - Mxn
|
|
638
|
+
* * `brl` - Brl
|
|
639
|
+
*/
|
|
640
|
+
source_currency?: 'usd' | 'eur' | 'mxn' | 'brl';
|
|
641
|
+
};
|
|
642
|
+
|
|
643
|
+
export type UserCryptoDeposit = {
|
|
644
|
+
account_currency: string;
|
|
645
|
+
/**
|
|
646
|
+
* * `solana` - Solana
|
|
647
|
+
* * `base` - Base
|
|
648
|
+
* * `ethereum` - Ethereum
|
|
649
|
+
* * `stellar` - Stellar
|
|
650
|
+
* * `tron` - Tron
|
|
651
|
+
* * `polygon` - Polygon
|
|
652
|
+
* * `arbitrum` - Arbitrum
|
|
653
|
+
* * `optimism` - Optimism
|
|
654
|
+
*/
|
|
655
|
+
chain: 'solana' | 'base' | 'ethereum' | 'stellar' | 'tron' | 'polygon' | 'arbitrum' | 'optimism';
|
|
656
|
+
};
|
|
657
|
+
|
|
658
|
+
export type UserCryptoDepositResponse = {
|
|
659
|
+
readonly chain: string;
|
|
660
|
+
readonly currency: string;
|
|
661
|
+
readonly address: string;
|
|
662
|
+
readonly memo: string;
|
|
663
|
+
};
|
|
664
|
+
|
|
665
|
+
export type UserCryptoDepositResponseResponse = {
|
|
666
|
+
status: string;
|
|
667
|
+
data: UserCryptoDepositResponse;
|
|
668
|
+
};
|
|
669
|
+
|
|
670
|
+
export type UserCustomerKycLink = {
|
|
671
|
+
readonly kyc: {
|
|
672
|
+
[key: string]: unknown;
|
|
673
|
+
};
|
|
674
|
+
readonly tos: {
|
|
675
|
+
[key: string]: unknown;
|
|
676
|
+
};
|
|
677
|
+
readonly endorsements: {
|
|
678
|
+
[key: string]: unknown;
|
|
679
|
+
};
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
export type UserCustomerKycLinkResponse = {
|
|
683
|
+
status: string;
|
|
684
|
+
data: UserCustomerKycLink;
|
|
685
|
+
};
|
|
686
|
+
|
|
687
|
+
export type UserExchangeRateResponse = {
|
|
688
|
+
midmarket_rate: string;
|
|
689
|
+
buy_rate: string;
|
|
690
|
+
sell_rate: string;
|
|
691
|
+
};
|
|
692
|
+
|
|
693
|
+
export type UserExchangeRateResponseResponse = {
|
|
694
|
+
status: string;
|
|
695
|
+
data: UserExchangeRateResponse;
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* A ModelSerializer that takes additional arguments for
|
|
700
|
+
* "fields", "omit" and "expand" in order to
|
|
701
|
+
* control which fields are displayed, and whether to replace simple
|
|
702
|
+
* values with complex, nested serializations
|
|
703
|
+
*/
|
|
704
|
+
export type UserReducedWallet = {
|
|
705
|
+
readonly id: string;
|
|
706
|
+
readonly account: string | null;
|
|
707
|
+
currency: Currency;
|
|
708
|
+
readonly bridge_id: string | null;
|
|
709
|
+
};
|
|
710
|
+
|
|
711
|
+
export type UserResponse = {
|
|
712
|
+
status: string;
|
|
713
|
+
data: User;
|
|
714
|
+
};
|
|
715
|
+
|
|
716
|
+
/**
|
|
717
|
+
* A ModelSerializer that takes additional arguments for
|
|
718
|
+
* "fields", "omit" and "expand" in order to
|
|
719
|
+
* control which fields are displayed, and whether to replace simple
|
|
720
|
+
* values with complex, nested serializations
|
|
721
|
+
*/
|
|
722
|
+
export type UserVirtualAccount = {
|
|
723
|
+
readonly id: string;
|
|
724
|
+
wallet: UserReducedWallet;
|
|
725
|
+
/**
|
|
726
|
+
* * `usdc` - Usdc
|
|
727
|
+
* * `eurc` - Eurc
|
|
728
|
+
* * `usd` - Usd
|
|
729
|
+
* * `eur` - Eur
|
|
730
|
+
* * `mxn` - Mxn
|
|
731
|
+
* * `brl` - Brl
|
|
732
|
+
*/
|
|
733
|
+
source_currency: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
734
|
+
readonly bank_account: string | null;
|
|
735
|
+
readonly bank_account_details: string;
|
|
736
|
+
readonly bridge_id: string | null;
|
|
737
|
+
readonly active: boolean;
|
|
738
|
+
readonly created: number;
|
|
739
|
+
readonly updated: number;
|
|
740
|
+
};
|
|
741
|
+
|
|
742
|
+
export type UserVirtualAccountResponse = {
|
|
743
|
+
status: string;
|
|
744
|
+
data: UserVirtualAccount;
|
|
745
|
+
};
|
|
746
|
+
|
|
747
|
+
export type Webhook = {
|
|
748
|
+
id: string;
|
|
749
|
+
/**
|
|
750
|
+
* * `account.currency.create` - Account Currency Create
|
|
751
|
+
* * `bank_account.create` - Bank Account Create
|
|
752
|
+
* * `bank_account.update` - Bank Account Update
|
|
753
|
+
* * `bank_account.delete` - Bank Account Delete
|
|
754
|
+
* * `currency.create` - Currency Create
|
|
755
|
+
* * `currency.update` - Currency Update
|
|
756
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
757
|
+
* * `transaction.execute` - Transaction Execute
|
|
758
|
+
* * `transaction.transition.update` - Transaction Transition Update
|
|
759
|
+
* * `user.update` - User Update
|
|
760
|
+
*/
|
|
761
|
+
event: 'account.currency.create' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'currency.create' | 'currency.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.update' | 'user.update';
|
|
762
|
+
company: string;
|
|
763
|
+
data: {
|
|
764
|
+
[key: string]: unknown;
|
|
765
|
+
};
|
|
766
|
+
};
|
|
767
|
+
|
|
768
|
+
/**
|
|
769
|
+
* A ModelSerializer that takes additional arguments for
|
|
770
|
+
* "fields", "omit" and "expand" in order to
|
|
771
|
+
* control which fields are displayed, and whether to replace simple
|
|
772
|
+
* values with complex, nested serializations
|
|
773
|
+
*/
|
|
774
|
+
export type AdminCompanyWritable = {
|
|
775
|
+
bridge_api_key: string;
|
|
776
|
+
};
|
|
777
|
+
|
|
778
|
+
export type AdminCompanyResponseWritable = {
|
|
779
|
+
status: string;
|
|
780
|
+
data: AdminCompanyWritable;
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* A ModelSerializer that takes additional arguments for
|
|
785
|
+
* "fields", "omit" and "expand" in order to
|
|
786
|
+
* control which fields are displayed, and whether to replace simple
|
|
787
|
+
* values with complex, nested serializations
|
|
788
|
+
*/
|
|
789
|
+
export type AdminCreatePayoutConfigurationWritable = {
|
|
790
|
+
account: string;
|
|
791
|
+
currency: string;
|
|
792
|
+
/**
|
|
793
|
+
* * `solana` - Solana
|
|
794
|
+
*/
|
|
795
|
+
destination_chain: 'solana';
|
|
796
|
+
destination_address: string;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
export type AdminCryptoReturnPolicyWritable = {
|
|
800
|
+
refund_destination_address?: string | null;
|
|
801
|
+
refund_destination_blockchain_memo?: string | null;
|
|
802
|
+
refund_destination_chain?: string | null;
|
|
803
|
+
refund_destination_currency?: string | null;
|
|
804
|
+
/**
|
|
805
|
+
* * `refund_to_sender` - refund_to_sender
|
|
806
|
+
* * `static_address` - static_address
|
|
807
|
+
*/
|
|
808
|
+
strategy: 'refund_to_sender' | 'static_address';
|
|
809
|
+
};
|
|
810
|
+
|
|
811
|
+
export type AdminCryptoReturnPolicyListWritable = Array<AdminCryptoReturnPolicyWritable>;
|
|
812
|
+
|
|
813
|
+
export type AdminCryptoReturnPolicyListResponseWritable = {
|
|
814
|
+
status: string;
|
|
815
|
+
data: AdminCryptoReturnPolicyListWritable;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
export type AdminCryptoReturnPolicyResponseWritable = {
|
|
819
|
+
status: string;
|
|
820
|
+
data: AdminCryptoReturnPolicyWritable;
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* A ModelSerializer that takes additional arguments for
|
|
825
|
+
* "fields", "omit" and "expand" in order to
|
|
826
|
+
* control which fields are displayed, and whether to replace simple
|
|
827
|
+
* values with complex, nested serializations
|
|
828
|
+
*/
|
|
829
|
+
export type AdminCurrencyWritable = {
|
|
830
|
+
/**
|
|
831
|
+
* * `usdc` - Usdc
|
|
832
|
+
* * `eurc` - Eurc
|
|
833
|
+
*/
|
|
834
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
835
|
+
/**
|
|
836
|
+
* * `solana` - Solana
|
|
837
|
+
*/
|
|
838
|
+
bridge_chain?: 'solana';
|
|
839
|
+
};
|
|
840
|
+
|
|
841
|
+
export type AdminCurrencyResponseWritable = {
|
|
842
|
+
status: string;
|
|
843
|
+
data: AdminCurrencyWritable;
|
|
844
|
+
};
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* A ModelSerializer that takes additional arguments for
|
|
848
|
+
* "fields", "omit" and "expand" in order to
|
|
849
|
+
* control which fields are displayed, and whether to replace simple
|
|
850
|
+
* values with complex, nested serializations
|
|
851
|
+
*/
|
|
852
|
+
export type AdminLiquidationAddressWritable = {
|
|
853
|
+
[key: string]: unknown;
|
|
854
|
+
};
|
|
855
|
+
|
|
856
|
+
export type AdminLiquidationAddressResponseWritable = {
|
|
857
|
+
status: string;
|
|
858
|
+
data: AdminLiquidationAddressWritable;
|
|
859
|
+
};
|
|
860
|
+
|
|
861
|
+
export type AdminPaymentProcessorQuoteResponseResponseWritable = {
|
|
862
|
+
status: string;
|
|
863
|
+
};
|
|
864
|
+
|
|
865
|
+
/**
|
|
866
|
+
* A ModelSerializer that takes additional arguments for
|
|
867
|
+
* "fields", "omit" and "expand" in order to
|
|
868
|
+
* control which fields are displayed, and whether to replace simple
|
|
869
|
+
* values with complex, nested serializations
|
|
870
|
+
*/
|
|
871
|
+
export type AdminPayoutConfigurationWritable = {
|
|
872
|
+
/**
|
|
873
|
+
* * `solana` - Solana
|
|
874
|
+
*/
|
|
875
|
+
destination_chain: 'solana';
|
|
876
|
+
destination_address: string;
|
|
877
|
+
};
|
|
878
|
+
|
|
879
|
+
export type AdminPayoutConfigurationResponseWritable = {
|
|
880
|
+
status: string;
|
|
881
|
+
data: AdminPayoutConfigurationWritable;
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
export type AdminTransactionTransitionResponseWritable = {
|
|
885
|
+
status: string;
|
|
886
|
+
};
|
|
887
|
+
|
|
888
|
+
/**
|
|
889
|
+
* A ModelSerializer that takes additional arguments for
|
|
890
|
+
* "fields", "omit" and "expand" in order to
|
|
891
|
+
* control which fields are displayed, and whether to replace simple
|
|
892
|
+
* values with complex, nested serializations
|
|
893
|
+
*/
|
|
894
|
+
export type AdminUpdateCompanyWritable = {
|
|
895
|
+
bridge_api_key?: string;
|
|
896
|
+
admin_user_bridge_id?: string | null;
|
|
897
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
898
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
899
|
+
exchange_rate_override_bps?: number | null;
|
|
900
|
+
};
|
|
901
|
+
|
|
902
|
+
/**
|
|
903
|
+
* A ModelSerializer that takes additional arguments for
|
|
904
|
+
* "fields", "omit" and "expand" in order to
|
|
905
|
+
* control which fields are displayed, and whether to replace simple
|
|
906
|
+
* values with complex, nested serializations
|
|
907
|
+
*/
|
|
908
|
+
export type AdminVirtualAccountWritable = {
|
|
909
|
+
[key: string]: unknown;
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
export type AdminVirtualAccountResponseWritable = {
|
|
913
|
+
status: string;
|
|
914
|
+
data: AdminVirtualAccountWritable;
|
|
915
|
+
};
|
|
916
|
+
|
|
917
|
+
/**
|
|
918
|
+
* A ModelSerializer that takes additional arguments for
|
|
919
|
+
* "fields", "omit" and "expand" in order to
|
|
920
|
+
* control which fields are displayed, and whether to replace simple
|
|
921
|
+
* values with complex, nested serializations
|
|
922
|
+
*/
|
|
923
|
+
export type AdminWalletWritable = {
|
|
924
|
+
[key: string]: unknown;
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
export type AdminWalletResponseWritable = {
|
|
928
|
+
status: string;
|
|
929
|
+
data: AdminWalletWritable;
|
|
930
|
+
};
|
|
931
|
+
|
|
932
|
+
export type PaginatedAdminCurrencyListWritable = {
|
|
933
|
+
count?: number;
|
|
934
|
+
next?: string | null;
|
|
935
|
+
previous?: string | null;
|
|
936
|
+
results?: Array<AdminCurrencyWritable>;
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
export type PaginatedAdminCurrencyListResponseWritable = {
|
|
940
|
+
status: string;
|
|
941
|
+
data: PaginatedAdminCurrencyListWritable;
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
export type PaginatedAdminLiquidationAddressListWritable = {
|
|
945
|
+
count?: number;
|
|
946
|
+
next?: string | null;
|
|
947
|
+
previous?: string | null;
|
|
948
|
+
results?: Array<AdminLiquidationAddressWritable>;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
export type PaginatedAdminLiquidationAddressListResponseWritable = {
|
|
952
|
+
status: string;
|
|
953
|
+
data: PaginatedAdminLiquidationAddressListWritable;
|
|
954
|
+
};
|
|
955
|
+
|
|
956
|
+
export type PaginatedAdminPayoutConfigurationListWritable = {
|
|
957
|
+
count?: number;
|
|
958
|
+
next?: string | null;
|
|
959
|
+
previous?: string | null;
|
|
960
|
+
results?: Array<AdminPayoutConfigurationWritable>;
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
export type PaginatedAdminPayoutConfigurationListResponseWritable = {
|
|
964
|
+
status: string;
|
|
965
|
+
data: PaginatedAdminPayoutConfigurationListWritable;
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
export type PaginatedAdminTransactionTransitionListWritable = {
|
|
969
|
+
count?: number;
|
|
970
|
+
next?: string | null;
|
|
971
|
+
previous?: string | null;
|
|
972
|
+
results?: Array<unknown>;
|
|
973
|
+
};
|
|
974
|
+
|
|
975
|
+
export type PaginatedAdminTransactionTransitionListResponseWritable = {
|
|
976
|
+
status: string;
|
|
977
|
+
data: PaginatedAdminTransactionTransitionListWritable;
|
|
978
|
+
};
|
|
979
|
+
|
|
980
|
+
export type PaginatedAdminVirtualAccountListWritable = {
|
|
981
|
+
count?: number;
|
|
982
|
+
next?: string | null;
|
|
983
|
+
previous?: string | null;
|
|
984
|
+
results?: Array<AdminVirtualAccountWritable>;
|
|
985
|
+
};
|
|
986
|
+
|
|
987
|
+
export type PaginatedAdminVirtualAccountListResponseWritable = {
|
|
988
|
+
status: string;
|
|
989
|
+
data: PaginatedAdminVirtualAccountListWritable;
|
|
990
|
+
};
|
|
991
|
+
|
|
992
|
+
export type PaginatedAdminWalletListWritable = {
|
|
993
|
+
count?: number;
|
|
994
|
+
next?: string | null;
|
|
995
|
+
previous?: string | null;
|
|
996
|
+
results?: Array<AdminWalletWritable>;
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
export type PaginatedAdminWalletListResponseWritable = {
|
|
1000
|
+
status: string;
|
|
1001
|
+
data: PaginatedAdminWalletListWritable;
|
|
1002
|
+
};
|
|
1003
|
+
|
|
1004
|
+
export type PaginatedUserVirtualAccountListWritable = {
|
|
1005
|
+
count?: number;
|
|
1006
|
+
next?: string | null;
|
|
1007
|
+
previous?: string | null;
|
|
1008
|
+
results?: Array<UserVirtualAccountWritable>;
|
|
1009
|
+
};
|
|
1010
|
+
|
|
1011
|
+
export type PaginatedUserVirtualAccountListResponseWritable = {
|
|
1012
|
+
status: string;
|
|
1013
|
+
data: PaginatedUserVirtualAccountListWritable;
|
|
1014
|
+
};
|
|
1015
|
+
|
|
1016
|
+
export type PatchedAdminCryptoReturnPolicyWritable = {
|
|
1017
|
+
refund_destination_address?: string | null;
|
|
1018
|
+
refund_destination_blockchain_memo?: string | null;
|
|
1019
|
+
refund_destination_chain?: string | null;
|
|
1020
|
+
refund_destination_currency?: string | null;
|
|
1021
|
+
/**
|
|
1022
|
+
* * `refund_to_sender` - refund_to_sender
|
|
1023
|
+
* * `static_address` - static_address
|
|
1024
|
+
*/
|
|
1025
|
+
strategy?: 'refund_to_sender' | 'static_address';
|
|
1026
|
+
};
|
|
1027
|
+
|
|
1028
|
+
/**
|
|
1029
|
+
* A ModelSerializer that takes additional arguments for
|
|
1030
|
+
* "fields", "omit" and "expand" in order to
|
|
1031
|
+
* control which fields are displayed, and whether to replace simple
|
|
1032
|
+
* values with complex, nested serializations
|
|
1033
|
+
*/
|
|
1034
|
+
export type PatchedAdminCurrencyWritable = {
|
|
1035
|
+
/**
|
|
1036
|
+
* * `usdc` - Usdc
|
|
1037
|
+
* * `eurc` - Eurc
|
|
1038
|
+
*/
|
|
1039
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
1040
|
+
/**
|
|
1041
|
+
* * `solana` - Solana
|
|
1042
|
+
*/
|
|
1043
|
+
bridge_chain?: 'solana';
|
|
1044
|
+
};
|
|
1045
|
+
|
|
1046
|
+
/**
|
|
1047
|
+
* A ModelSerializer that takes additional arguments for
|
|
1048
|
+
* "fields", "omit" and "expand" in order to
|
|
1049
|
+
* control which fields are displayed, and whether to replace simple
|
|
1050
|
+
* values with complex, nested serializations
|
|
1051
|
+
*/
|
|
1052
|
+
export type PatchedAdminPayoutConfigurationWritable = {
|
|
1053
|
+
/**
|
|
1054
|
+
* * `solana` - Solana
|
|
1055
|
+
*/
|
|
1056
|
+
destination_chain?: 'solana';
|
|
1057
|
+
destination_address?: string;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
/**
|
|
1061
|
+
* A ModelSerializer that takes additional arguments for
|
|
1062
|
+
* "fields", "omit" and "expand" in order to
|
|
1063
|
+
* control which fields are displayed, and whether to replace simple
|
|
1064
|
+
* values with complex, nested serializations
|
|
1065
|
+
*/
|
|
1066
|
+
export type PatchedAdminUpdateCompanyWritable = {
|
|
1067
|
+
bridge_api_key?: string;
|
|
1068
|
+
admin_user_bridge_id?: string | null;
|
|
1069
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
1070
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
1071
|
+
exchange_rate_override_bps?: number | null;
|
|
1072
|
+
};
|
|
1073
|
+
|
|
1074
|
+
/**
|
|
1075
|
+
* A ModelSerializer that takes additional arguments for
|
|
1076
|
+
* "fields", "omit" and "expand" in order to
|
|
1077
|
+
* control which fields are displayed, and whether to replace simple
|
|
1078
|
+
* values with complex, nested serializations
|
|
1079
|
+
*/
|
|
1080
|
+
export type PatchedUserWritable = {
|
|
1081
|
+
bridge_signed_agreement_id?: string;
|
|
1082
|
+
};
|
|
1083
|
+
|
|
1084
|
+
/**
|
|
1085
|
+
* A ModelSerializer that takes additional arguments for
|
|
1086
|
+
* "fields", "omit" and "expand" in order to
|
|
1087
|
+
* control which fields are displayed, and whether to replace simple
|
|
1088
|
+
* values with complex, nested serializations
|
|
1089
|
+
*/
|
|
1090
|
+
export type UserWritable = {
|
|
1091
|
+
bridge_signed_agreement_id: string;
|
|
1092
|
+
};
|
|
1093
|
+
|
|
1094
|
+
export type UserCryptoDepositResponseResponseWritable = {
|
|
1095
|
+
status: string;
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
export type UserCustomerKycLinkResponseWritable = {
|
|
1099
|
+
status: string;
|
|
1100
|
+
};
|
|
1101
|
+
|
|
1102
|
+
/**
|
|
1103
|
+
* A ModelSerializer that takes additional arguments for
|
|
1104
|
+
* "fields", "omit" and "expand" in order to
|
|
1105
|
+
* control which fields are displayed, and whether to replace simple
|
|
1106
|
+
* values with complex, nested serializations
|
|
1107
|
+
*/
|
|
1108
|
+
export type UserReducedWalletWritable = {
|
|
1109
|
+
[key: string]: unknown;
|
|
1110
|
+
};
|
|
1111
|
+
|
|
1112
|
+
export type UserResponseWritable = {
|
|
1113
|
+
status: string;
|
|
1114
|
+
data: UserWritable;
|
|
1115
|
+
};
|
|
1116
|
+
|
|
1117
|
+
/**
|
|
1118
|
+
* A ModelSerializer that takes additional arguments for
|
|
1119
|
+
* "fields", "omit" and "expand" in order to
|
|
1120
|
+
* control which fields are displayed, and whether to replace simple
|
|
1121
|
+
* values with complex, nested serializations
|
|
1122
|
+
*/
|
|
1123
|
+
export type UserVirtualAccountWritable = {
|
|
1124
|
+
[key: string]: unknown;
|
|
1125
|
+
};
|
|
1126
|
+
|
|
1127
|
+
export type UserVirtualAccountResponseWritable = {
|
|
1128
|
+
status: string;
|
|
1129
|
+
data: UserVirtualAccountWritable;
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
export type ActivateCreateData = {
|
|
1133
|
+
body: Activate;
|
|
1134
|
+
path?: never;
|
|
1135
|
+
query?: never;
|
|
1136
|
+
url: '/activate/';
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
export type ActivateCreateResponses = {
|
|
1140
|
+
200: ActionResponse;
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
export type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
1144
|
+
|
|
1145
|
+
export type AdminCompanyRetrieveData = {
|
|
1146
|
+
body?: never;
|
|
1147
|
+
path?: never;
|
|
1148
|
+
query?: never;
|
|
1149
|
+
url: '/admin/company/';
|
|
1150
|
+
};
|
|
1151
|
+
|
|
1152
|
+
export type AdminCompanyRetrieveResponses = {
|
|
1153
|
+
200: AdminCompanyResponse;
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
export type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
1157
|
+
|
|
1158
|
+
export type AdminCompanyPartialUpdateData = {
|
|
1159
|
+
body?: PatchedAdminUpdateCompanyWritable;
|
|
1160
|
+
path?: never;
|
|
1161
|
+
query?: never;
|
|
1162
|
+
url: '/admin/company/';
|
|
1163
|
+
};
|
|
1164
|
+
|
|
1165
|
+
export type AdminCompanyPartialUpdateResponses = {
|
|
1166
|
+
200: AdminCompanyResponse;
|
|
1167
|
+
};
|
|
1168
|
+
|
|
1169
|
+
export type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
1170
|
+
|
|
1171
|
+
export type AdminCompanyUpdateData = {
|
|
1172
|
+
body?: AdminUpdateCompanyWritable;
|
|
1173
|
+
path?: never;
|
|
1174
|
+
query?: never;
|
|
1175
|
+
url: '/admin/company/';
|
|
1176
|
+
};
|
|
1177
|
+
|
|
1178
|
+
export type AdminCompanyUpdateResponses = {
|
|
1179
|
+
200: AdminCompanyResponse;
|
|
1180
|
+
};
|
|
1181
|
+
|
|
1182
|
+
export type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
1183
|
+
|
|
1184
|
+
export type AdminCryptoReturnPoliciesListData = {
|
|
1185
|
+
body?: never;
|
|
1186
|
+
path?: never;
|
|
1187
|
+
query?: never;
|
|
1188
|
+
url: '/admin/crypto-return-policies/';
|
|
1189
|
+
};
|
|
1190
|
+
|
|
1191
|
+
export type AdminCryptoReturnPoliciesListResponses = {
|
|
1192
|
+
200: AdminCryptoReturnPolicyListResponse;
|
|
1193
|
+
};
|
|
1194
|
+
|
|
1195
|
+
export type AdminCryptoReturnPoliciesListResponse = AdminCryptoReturnPoliciesListResponses[keyof AdminCryptoReturnPoliciesListResponses];
|
|
1196
|
+
|
|
1197
|
+
export type AdminCryptoReturnPoliciesCreateData = {
|
|
1198
|
+
body: AdminCryptoReturnPolicyWritable;
|
|
1199
|
+
path?: never;
|
|
1200
|
+
query?: never;
|
|
1201
|
+
url: '/admin/crypto-return-policies/';
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
export type AdminCryptoReturnPoliciesCreateResponses = {
|
|
1205
|
+
201: AdminCryptoReturnPolicyResponse;
|
|
1206
|
+
};
|
|
1207
|
+
|
|
1208
|
+
export type AdminCryptoReturnPoliciesCreateResponse = AdminCryptoReturnPoliciesCreateResponses[keyof AdminCryptoReturnPoliciesCreateResponses];
|
|
1209
|
+
|
|
1210
|
+
export type AdminCryptoReturnPoliciesDestroyData = {
|
|
1211
|
+
body?: never;
|
|
1212
|
+
path: {
|
|
1213
|
+
identifier: string;
|
|
1214
|
+
};
|
|
1215
|
+
query?: never;
|
|
1216
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1217
|
+
};
|
|
1218
|
+
|
|
1219
|
+
export type AdminCryptoReturnPoliciesDestroyResponses = {
|
|
1220
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
export type AdminCryptoReturnPoliciesDestroyResponse = AdminCryptoReturnPoliciesDestroyResponses[keyof AdminCryptoReturnPoliciesDestroyResponses];
|
|
1224
|
+
|
|
1225
|
+
export type AdminCryptoReturnPoliciesRetrieveData = {
|
|
1226
|
+
body?: never;
|
|
1227
|
+
path: {
|
|
1228
|
+
identifier: string;
|
|
1229
|
+
};
|
|
1230
|
+
query?: never;
|
|
1231
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1232
|
+
};
|
|
1233
|
+
|
|
1234
|
+
export type AdminCryptoReturnPoliciesRetrieveResponses = {
|
|
1235
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
export type AdminCryptoReturnPoliciesRetrieveResponse = AdminCryptoReturnPoliciesRetrieveResponses[keyof AdminCryptoReturnPoliciesRetrieveResponses];
|
|
1239
|
+
|
|
1240
|
+
export type AdminCryptoReturnPoliciesPartialUpdateData = {
|
|
1241
|
+
body?: PatchedAdminCryptoReturnPolicyWritable;
|
|
1242
|
+
path: {
|
|
1243
|
+
identifier: string;
|
|
1244
|
+
};
|
|
1245
|
+
query?: never;
|
|
1246
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1247
|
+
};
|
|
1248
|
+
|
|
1249
|
+
export type AdminCryptoReturnPoliciesPartialUpdateResponses = {
|
|
1250
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
export type AdminCryptoReturnPoliciesPartialUpdateResponse = AdminCryptoReturnPoliciesPartialUpdateResponses[keyof AdminCryptoReturnPoliciesPartialUpdateResponses];
|
|
1254
|
+
|
|
1255
|
+
export type AdminCryptoReturnPoliciesUpdateData = {
|
|
1256
|
+
body: AdminCryptoReturnPolicyWritable;
|
|
1257
|
+
path: {
|
|
1258
|
+
identifier: string;
|
|
1259
|
+
};
|
|
1260
|
+
query?: never;
|
|
1261
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1262
|
+
};
|
|
1263
|
+
|
|
1264
|
+
export type AdminCryptoReturnPoliciesUpdateResponses = {
|
|
1265
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1266
|
+
};
|
|
1267
|
+
|
|
1268
|
+
export type AdminCryptoReturnPoliciesUpdateResponse = AdminCryptoReturnPoliciesUpdateResponses[keyof AdminCryptoReturnPoliciesUpdateResponses];
|
|
1269
|
+
|
|
1270
|
+
export type AdminCurrenciesListData = {
|
|
1271
|
+
body?: never;
|
|
1272
|
+
path?: never;
|
|
1273
|
+
query?: {
|
|
1274
|
+
/**
|
|
1275
|
+
* A page number within the paginated result set.
|
|
1276
|
+
*/
|
|
1277
|
+
page?: number;
|
|
1278
|
+
/**
|
|
1279
|
+
* Number of results to return per page.
|
|
1280
|
+
*/
|
|
1281
|
+
page_size?: number;
|
|
1282
|
+
};
|
|
1283
|
+
url: '/admin/currencies/';
|
|
1284
|
+
};
|
|
1285
|
+
|
|
1286
|
+
export type AdminCurrenciesListResponses = {
|
|
1287
|
+
200: PaginatedAdminCurrencyListResponse;
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
export type AdminCurrenciesListResponse = AdminCurrenciesListResponses[keyof AdminCurrenciesListResponses];
|
|
1291
|
+
|
|
1292
|
+
export type AdminCurrenciesRetrieveData = {
|
|
1293
|
+
body?: never;
|
|
1294
|
+
path: {
|
|
1295
|
+
code: string;
|
|
1296
|
+
};
|
|
1297
|
+
query?: never;
|
|
1298
|
+
url: '/admin/currencies/{code}/';
|
|
1299
|
+
};
|
|
1300
|
+
|
|
1301
|
+
export type AdminCurrenciesRetrieveResponses = {
|
|
1302
|
+
200: AdminCurrencyResponse;
|
|
1303
|
+
};
|
|
1304
|
+
|
|
1305
|
+
export type AdminCurrenciesRetrieveResponse = AdminCurrenciesRetrieveResponses[keyof AdminCurrenciesRetrieveResponses];
|
|
1306
|
+
|
|
1307
|
+
export type AdminCurrenciesPartialUpdateData = {
|
|
1308
|
+
body?: PatchedAdminCurrencyWritable;
|
|
1309
|
+
path: {
|
|
1310
|
+
code: string;
|
|
1311
|
+
};
|
|
1312
|
+
query?: never;
|
|
1313
|
+
url: '/admin/currencies/{code}/';
|
|
1314
|
+
};
|
|
1315
|
+
|
|
1316
|
+
export type AdminCurrenciesPartialUpdateResponses = {
|
|
1317
|
+
200: AdminCurrencyResponse;
|
|
1318
|
+
};
|
|
1319
|
+
|
|
1320
|
+
export type AdminCurrenciesPartialUpdateResponse = AdminCurrenciesPartialUpdateResponses[keyof AdminCurrenciesPartialUpdateResponses];
|
|
1321
|
+
|
|
1322
|
+
export type AdminCurrenciesUpdateData = {
|
|
1323
|
+
body?: AdminCurrencyWritable;
|
|
1324
|
+
path: {
|
|
1325
|
+
code: string;
|
|
1326
|
+
};
|
|
1327
|
+
query?: never;
|
|
1328
|
+
url: '/admin/currencies/{code}/';
|
|
1329
|
+
};
|
|
1330
|
+
|
|
1331
|
+
export type AdminCurrenciesUpdateResponses = {
|
|
1332
|
+
200: AdminCurrencyResponse;
|
|
1333
|
+
};
|
|
1334
|
+
|
|
1335
|
+
export type AdminCurrenciesUpdateResponse = AdminCurrenciesUpdateResponses[keyof AdminCurrenciesUpdateResponses];
|
|
1336
|
+
|
|
1337
|
+
export type AdminLiquidationAddressesListData = {
|
|
1338
|
+
body?: never;
|
|
1339
|
+
path?: never;
|
|
1340
|
+
query?: {
|
|
1341
|
+
account?: string;
|
|
1342
|
+
active?: boolean;
|
|
1343
|
+
bridge_id?: string;
|
|
1344
|
+
currency?: string;
|
|
1345
|
+
/**
|
|
1346
|
+
* A page number within the paginated result set.
|
|
1347
|
+
*/
|
|
1348
|
+
page?: number;
|
|
1349
|
+
/**
|
|
1350
|
+
* Number of results to return per page.
|
|
1351
|
+
*/
|
|
1352
|
+
page_size?: number;
|
|
1353
|
+
user?: string;
|
|
1354
|
+
};
|
|
1355
|
+
url: '/admin/liquidation-addresses/';
|
|
1356
|
+
};
|
|
1357
|
+
|
|
1358
|
+
export type AdminLiquidationAddressesListResponses = {
|
|
1359
|
+
200: PaginatedAdminLiquidationAddressListResponse;
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
export type AdminLiquidationAddressesListResponse = AdminLiquidationAddressesListResponses[keyof AdminLiquidationAddressesListResponses];
|
|
1363
|
+
|
|
1364
|
+
export type AdminLiquidationAddressesRetrieveData = {
|
|
1365
|
+
body?: never;
|
|
1366
|
+
path: {
|
|
1367
|
+
identifier: string;
|
|
1368
|
+
};
|
|
1369
|
+
query?: never;
|
|
1370
|
+
url: '/admin/liquidation-addresses/{identifier}/';
|
|
1371
|
+
};
|
|
1372
|
+
|
|
1373
|
+
export type AdminLiquidationAddressesRetrieveResponses = {
|
|
1374
|
+
200: AdminLiquidationAddressResponse;
|
|
1375
|
+
};
|
|
1376
|
+
|
|
1377
|
+
export type AdminLiquidationAddressesRetrieveResponse = AdminLiquidationAddressesRetrieveResponses[keyof AdminLiquidationAddressesRetrieveResponses];
|
|
1378
|
+
|
|
1379
|
+
export type AdminOperationalAccountsLiquidationAddressCreateData = {
|
|
1380
|
+
body: AdminOperationalAccountLiquidationAddress;
|
|
1381
|
+
path?: never;
|
|
1382
|
+
query?: never;
|
|
1383
|
+
url: '/admin/operational-accounts/liquidation-address/';
|
|
1384
|
+
};
|
|
1385
|
+
|
|
1386
|
+
export type AdminOperationalAccountsLiquidationAddressCreateResponses = {
|
|
1387
|
+
201: UserCryptoDepositResponseResponse;
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
export type AdminOperationalAccountsLiquidationAddressCreateResponse = AdminOperationalAccountsLiquidationAddressCreateResponses[keyof AdminOperationalAccountsLiquidationAddressCreateResponses];
|
|
1391
|
+
|
|
1392
|
+
export type AdminOperationalAccountsVirtualAccountCreateData = {
|
|
1393
|
+
body: AdminOperationalAccountVirtualAccount;
|
|
1394
|
+
path?: never;
|
|
1395
|
+
query?: never;
|
|
1396
|
+
url: '/admin/operational-accounts/virtual-account/';
|
|
1397
|
+
};
|
|
1398
|
+
|
|
1399
|
+
export type AdminOperationalAccountsVirtualAccountCreateResponses = {
|
|
1400
|
+
201: AdminVirtualAccountResponse;
|
|
1401
|
+
};
|
|
1402
|
+
|
|
1403
|
+
export type AdminOperationalAccountsVirtualAccountCreateResponse = AdminOperationalAccountsVirtualAccountCreateResponses[keyof AdminOperationalAccountsVirtualAccountCreateResponses];
|
|
1404
|
+
|
|
1405
|
+
export type AdminPaymentProcessorQuoteCreateData = {
|
|
1406
|
+
body: AdminPaymentProcessorQuote;
|
|
1407
|
+
path?: never;
|
|
1408
|
+
query?: never;
|
|
1409
|
+
url: '/admin/payment-processor-quote/';
|
|
1410
|
+
};
|
|
1411
|
+
|
|
1412
|
+
export type AdminPaymentProcessorQuoteCreateResponses = {
|
|
1413
|
+
201: AdminPaymentProcessorQuoteResponseResponse;
|
|
1414
|
+
};
|
|
1415
|
+
|
|
1416
|
+
export type AdminPaymentProcessorQuoteCreateResponse = AdminPaymentProcessorQuoteCreateResponses[keyof AdminPaymentProcessorQuoteCreateResponses];
|
|
1417
|
+
|
|
1418
|
+
export type AdminPayoutConfigurationsListData = {
|
|
1419
|
+
body?: never;
|
|
1420
|
+
path?: never;
|
|
1421
|
+
query?: {
|
|
1422
|
+
/**
|
|
1423
|
+
* A page number within the paginated result set.
|
|
1424
|
+
*/
|
|
1425
|
+
page?: number;
|
|
1426
|
+
/**
|
|
1427
|
+
* Number of results to return per page.
|
|
1428
|
+
*/
|
|
1429
|
+
page_size?: number;
|
|
1430
|
+
};
|
|
1431
|
+
url: '/admin/payout-configurations/';
|
|
1432
|
+
};
|
|
1433
|
+
|
|
1434
|
+
export type AdminPayoutConfigurationsListResponses = {
|
|
1435
|
+
200: PaginatedAdminPayoutConfigurationListResponse;
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
export type AdminPayoutConfigurationsListResponse = AdminPayoutConfigurationsListResponses[keyof AdminPayoutConfigurationsListResponses];
|
|
1439
|
+
|
|
1440
|
+
export type AdminPayoutConfigurationsCreateData = {
|
|
1441
|
+
body: AdminCreatePayoutConfigurationWritable;
|
|
1442
|
+
path?: never;
|
|
1443
|
+
query?: never;
|
|
1444
|
+
url: '/admin/payout-configurations/';
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
export type AdminPayoutConfigurationsCreateResponses = {
|
|
1448
|
+
201: AdminPayoutConfigurationResponse;
|
|
1449
|
+
};
|
|
1450
|
+
|
|
1451
|
+
export type AdminPayoutConfigurationsCreateResponse = AdminPayoutConfigurationsCreateResponses[keyof AdminPayoutConfigurationsCreateResponses];
|
|
1452
|
+
|
|
1453
|
+
export type AdminPayoutConfigurationsDestroyData = {
|
|
1454
|
+
body?: never;
|
|
1455
|
+
path: {
|
|
1456
|
+
identifier: string;
|
|
1457
|
+
};
|
|
1458
|
+
query?: never;
|
|
1459
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1460
|
+
};
|
|
1461
|
+
|
|
1462
|
+
export type AdminPayoutConfigurationsDestroyResponses = {
|
|
1463
|
+
200: AdminPayoutConfigurationResponse;
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
export type AdminPayoutConfigurationsDestroyResponse = AdminPayoutConfigurationsDestroyResponses[keyof AdminPayoutConfigurationsDestroyResponses];
|
|
1467
|
+
|
|
1468
|
+
export type AdminPayoutConfigurationsRetrieveData = {
|
|
1469
|
+
body?: never;
|
|
1470
|
+
path: {
|
|
1471
|
+
identifier: string;
|
|
1472
|
+
};
|
|
1473
|
+
query?: never;
|
|
1474
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
export type AdminPayoutConfigurationsRetrieveResponses = {
|
|
1478
|
+
200: AdminPayoutConfigurationResponse;
|
|
1479
|
+
};
|
|
1480
|
+
|
|
1481
|
+
export type AdminPayoutConfigurationsRetrieveResponse = AdminPayoutConfigurationsRetrieveResponses[keyof AdminPayoutConfigurationsRetrieveResponses];
|
|
1482
|
+
|
|
1483
|
+
export type AdminPayoutConfigurationsPartialUpdateData = {
|
|
1484
|
+
body?: PatchedAdminPayoutConfigurationWritable;
|
|
1485
|
+
path: {
|
|
1486
|
+
identifier: string;
|
|
1487
|
+
};
|
|
1488
|
+
query?: never;
|
|
1489
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
export type AdminPayoutConfigurationsPartialUpdateResponses = {
|
|
1493
|
+
200: AdminPayoutConfigurationResponse;
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
export type AdminPayoutConfigurationsPartialUpdateResponse = AdminPayoutConfigurationsPartialUpdateResponses[keyof AdminPayoutConfigurationsPartialUpdateResponses];
|
|
1497
|
+
|
|
1498
|
+
export type AdminPayoutConfigurationsUpdateData = {
|
|
1499
|
+
body: AdminPayoutConfigurationWritable;
|
|
1500
|
+
path: {
|
|
1501
|
+
identifier: string;
|
|
1502
|
+
};
|
|
1503
|
+
query?: never;
|
|
1504
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1505
|
+
};
|
|
1506
|
+
|
|
1507
|
+
export type AdminPayoutConfigurationsUpdateResponses = {
|
|
1508
|
+
200: AdminPayoutConfigurationResponse;
|
|
1509
|
+
};
|
|
1510
|
+
|
|
1511
|
+
export type AdminPayoutConfigurationsUpdateResponse = AdminPayoutConfigurationsUpdateResponses[keyof AdminPayoutConfigurationsUpdateResponses];
|
|
1512
|
+
|
|
1513
|
+
export type AdminTransactionTransitionsListData = {
|
|
1514
|
+
body?: never;
|
|
1515
|
+
path?: never;
|
|
1516
|
+
query?: {
|
|
1517
|
+
/**
|
|
1518
|
+
* A page number within the paginated result set.
|
|
1519
|
+
*/
|
|
1520
|
+
page?: number;
|
|
1521
|
+
/**
|
|
1522
|
+
* Number of results to return per page.
|
|
1523
|
+
*/
|
|
1524
|
+
page_size?: number;
|
|
1525
|
+
status?: string;
|
|
1526
|
+
transaction?: string;
|
|
1527
|
+
};
|
|
1528
|
+
url: '/admin/transaction-transitions/';
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
export type AdminTransactionTransitionsListResponses = {
|
|
1532
|
+
200: PaginatedAdminTransactionTransitionListResponse;
|
|
1533
|
+
};
|
|
1534
|
+
|
|
1535
|
+
export type AdminTransactionTransitionsListResponse = AdminTransactionTransitionsListResponses[keyof AdminTransactionTransitionsListResponses];
|
|
1536
|
+
|
|
1537
|
+
export type AdminTransactionTransitionsRetrieveData = {
|
|
1538
|
+
body?: never;
|
|
1539
|
+
path: {
|
|
1540
|
+
identifier: string;
|
|
1541
|
+
};
|
|
1542
|
+
query?: never;
|
|
1543
|
+
url: '/admin/transaction-transitions/{identifier}/';
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
export type AdminTransactionTransitionsRetrieveResponses = {
|
|
1547
|
+
200: AdminTransactionTransitionResponse;
|
|
1548
|
+
};
|
|
1549
|
+
|
|
1550
|
+
export type AdminTransactionTransitionsRetrieveResponse = AdminTransactionTransitionsRetrieveResponses[keyof AdminTransactionTransitionsRetrieveResponses];
|
|
1551
|
+
|
|
1552
|
+
export type AdminTransactionTransitionsProcessCreateData = {
|
|
1553
|
+
body?: AdminTransactionTransition;
|
|
1554
|
+
path: {
|
|
1555
|
+
identifier: string;
|
|
1556
|
+
};
|
|
1557
|
+
query?: never;
|
|
1558
|
+
url: '/admin/transaction-transitions/{identifier}/process/';
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
export type AdminTransactionTransitionsProcessCreateResponses = {
|
|
1562
|
+
202: ActionResponse;
|
|
1563
|
+
};
|
|
1564
|
+
|
|
1565
|
+
export type AdminTransactionTransitionsProcessCreateResponse = AdminTransactionTransitionsProcessCreateResponses[keyof AdminTransactionTransitionsProcessCreateResponses];
|
|
1566
|
+
|
|
1567
|
+
export type AdminVirtualAccountsListData = {
|
|
1568
|
+
body?: never;
|
|
1569
|
+
path?: never;
|
|
1570
|
+
query?: {
|
|
1571
|
+
account?: string;
|
|
1572
|
+
active?: boolean;
|
|
1573
|
+
bank_account?: string;
|
|
1574
|
+
bridge_id?: string;
|
|
1575
|
+
currency?: string;
|
|
1576
|
+
/**
|
|
1577
|
+
* A page number within the paginated result set.
|
|
1578
|
+
*/
|
|
1579
|
+
page?: number;
|
|
1580
|
+
/**
|
|
1581
|
+
* Number of results to return per page.
|
|
1582
|
+
*/
|
|
1583
|
+
page_size?: number;
|
|
1584
|
+
user?: string;
|
|
1585
|
+
};
|
|
1586
|
+
url: '/admin/virtual-accounts/';
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1589
|
+
export type AdminVirtualAccountsListResponses = {
|
|
1590
|
+
200: PaginatedAdminVirtualAccountListResponse;
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
export type AdminVirtualAccountsListResponse = AdminVirtualAccountsListResponses[keyof AdminVirtualAccountsListResponses];
|
|
1594
|
+
|
|
1595
|
+
export type AdminVirtualAccountsRetrieveData = {
|
|
1596
|
+
body?: never;
|
|
1597
|
+
path: {
|
|
1598
|
+
identifier: string;
|
|
1599
|
+
};
|
|
1600
|
+
query?: never;
|
|
1601
|
+
url: '/admin/virtual-accounts/{identifier}/';
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
export type AdminVirtualAccountsRetrieveResponses = {
|
|
1605
|
+
200: AdminVirtualAccountResponse;
|
|
1606
|
+
};
|
|
1607
|
+
|
|
1608
|
+
export type AdminVirtualAccountsRetrieveResponse = AdminVirtualAccountsRetrieveResponses[keyof AdminVirtualAccountsRetrieveResponses];
|
|
1609
|
+
|
|
1610
|
+
export type AdminWalletsListData = {
|
|
1611
|
+
body?: never;
|
|
1612
|
+
path?: never;
|
|
1613
|
+
query?: {
|
|
1614
|
+
account?: string;
|
|
1615
|
+
bridge_id?: string;
|
|
1616
|
+
currency?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* A page number within the paginated result set.
|
|
1619
|
+
*/
|
|
1620
|
+
page?: number;
|
|
1621
|
+
/**
|
|
1622
|
+
* Number of results to return per page.
|
|
1623
|
+
*/
|
|
1624
|
+
page_size?: number;
|
|
1625
|
+
user?: string;
|
|
1626
|
+
};
|
|
1627
|
+
url: '/admin/wallets/';
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
export type AdminWalletsListResponses = {
|
|
1631
|
+
200: PaginatedAdminWalletListResponse;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
export type AdminWalletsListResponse = AdminWalletsListResponses[keyof AdminWalletsListResponses];
|
|
1635
|
+
|
|
1636
|
+
export type AdminWalletsRetrieveData = {
|
|
1637
|
+
body?: never;
|
|
1638
|
+
path: {
|
|
1639
|
+
identifier: string;
|
|
1640
|
+
};
|
|
1641
|
+
query?: never;
|
|
1642
|
+
url: '/admin/wallets/{identifier}/';
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
export type AdminWalletsRetrieveResponses = {
|
|
1646
|
+
200: AdminWalletResponse;
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1649
|
+
export type AdminWalletsRetrieveResponse = AdminWalletsRetrieveResponses[keyof AdminWalletsRetrieveResponses];
|
|
1650
|
+
|
|
1651
|
+
export type BridgeWebhookCreateData = {
|
|
1652
|
+
body: BridgeWebhook;
|
|
1653
|
+
path: {
|
|
1654
|
+
company_id: string;
|
|
1655
|
+
};
|
|
1656
|
+
query?: never;
|
|
1657
|
+
url: '/bridge/webhook/{company_id}/';
|
|
1658
|
+
};
|
|
1659
|
+
|
|
1660
|
+
export type BridgeWebhookCreateResponses = {
|
|
1661
|
+
200: ActionResponse;
|
|
1662
|
+
};
|
|
1663
|
+
|
|
1664
|
+
export type BridgeWebhookCreateResponse = BridgeWebhookCreateResponses[keyof BridgeWebhookCreateResponses];
|
|
1665
|
+
|
|
1666
|
+
export type DeactivateCreateData = {
|
|
1667
|
+
body: Deactivate;
|
|
1668
|
+
path?: never;
|
|
1669
|
+
query?: never;
|
|
1670
|
+
url: '/deactivate/';
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
export type DeactivateCreateResponses = {
|
|
1674
|
+
200: ActionResponse;
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
export type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
1678
|
+
|
|
1679
|
+
export type UserRetrieveData = {
|
|
1680
|
+
body?: never;
|
|
1681
|
+
path?: never;
|
|
1682
|
+
query?: never;
|
|
1683
|
+
url: '/user/';
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
export type UserRetrieveResponses = {
|
|
1687
|
+
200: UserResponse;
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
export type UserRetrieveResponse = UserRetrieveResponses[keyof UserRetrieveResponses];
|
|
1691
|
+
|
|
1692
|
+
export type UserPartialUpdateData = {
|
|
1693
|
+
body?: PatchedUserWritable;
|
|
1694
|
+
path?: never;
|
|
1695
|
+
query?: never;
|
|
1696
|
+
url: '/user/';
|
|
1697
|
+
};
|
|
1698
|
+
|
|
1699
|
+
export type UserPartialUpdateResponses = {
|
|
1700
|
+
200: UserResponse;
|
|
1701
|
+
};
|
|
1702
|
+
|
|
1703
|
+
export type UserPartialUpdateResponse = UserPartialUpdateResponses[keyof UserPartialUpdateResponses];
|
|
1704
|
+
|
|
1705
|
+
export type UserUpdateData = {
|
|
1706
|
+
body: UserWritable;
|
|
1707
|
+
path?: never;
|
|
1708
|
+
query?: never;
|
|
1709
|
+
url: '/user/';
|
|
1710
|
+
};
|
|
1711
|
+
|
|
1712
|
+
export type UserUpdateResponses = {
|
|
1713
|
+
200: UserResponse;
|
|
1714
|
+
};
|
|
1715
|
+
|
|
1716
|
+
export type UserUpdateResponse = UserUpdateResponses[keyof UserUpdateResponses];
|
|
1717
|
+
|
|
1718
|
+
export type UserCryptoDepositCreateData = {
|
|
1719
|
+
body: UserCryptoDeposit;
|
|
1720
|
+
path?: never;
|
|
1721
|
+
query?: never;
|
|
1722
|
+
url: '/user/crypto-deposit/';
|
|
1723
|
+
};
|
|
1724
|
+
|
|
1725
|
+
export type UserCryptoDepositCreateResponses = {
|
|
1726
|
+
201: UserCryptoDepositResponseResponse;
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
export type UserCryptoDepositCreateResponse = UserCryptoDepositCreateResponses[keyof UserCryptoDepositCreateResponses];
|
|
1730
|
+
|
|
1731
|
+
export type UserCurrenciesListData = {
|
|
1732
|
+
body?: never;
|
|
1733
|
+
path?: never;
|
|
1734
|
+
query?: {
|
|
1735
|
+
/**
|
|
1736
|
+
* A page number within the paginated result set.
|
|
1737
|
+
*/
|
|
1738
|
+
page?: number;
|
|
1739
|
+
/**
|
|
1740
|
+
* Number of results to return per page.
|
|
1741
|
+
*/
|
|
1742
|
+
page_size?: number;
|
|
1743
|
+
};
|
|
1744
|
+
url: '/user/currencies/';
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
export type UserCurrenciesListResponses = {
|
|
1748
|
+
200: PaginatedCurrencyListResponse;
|
|
1749
|
+
};
|
|
1750
|
+
|
|
1751
|
+
export type UserCurrenciesListResponse = UserCurrenciesListResponses[keyof UserCurrenciesListResponses];
|
|
1752
|
+
|
|
1753
|
+
export type UserCurrenciesRetrieveData = {
|
|
1754
|
+
body?: never;
|
|
1755
|
+
path: {
|
|
1756
|
+
code: string;
|
|
1757
|
+
};
|
|
1758
|
+
query?: never;
|
|
1759
|
+
url: '/user/currencies/{code}/';
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
export type UserCurrenciesRetrieveResponses = {
|
|
1763
|
+
200: CurrencyResponse;
|
|
1764
|
+
};
|
|
1765
|
+
|
|
1766
|
+
export type UserCurrenciesRetrieveResponse = UserCurrenciesRetrieveResponses[keyof UserCurrenciesRetrieveResponses];
|
|
1767
|
+
|
|
1768
|
+
export type UserExchangeRatesRetrieveData = {
|
|
1769
|
+
body?: never;
|
|
1770
|
+
path?: never;
|
|
1771
|
+
query?: never;
|
|
1772
|
+
url: '/user/exchange-rates/';
|
|
1773
|
+
};
|
|
1774
|
+
|
|
1775
|
+
export type UserExchangeRatesRetrieveResponses = {
|
|
1776
|
+
200: UserExchangeRateResponseResponse;
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1779
|
+
export type UserExchangeRatesRetrieveResponse = UserExchangeRatesRetrieveResponses[keyof UserExchangeRatesRetrieveResponses];
|
|
1780
|
+
|
|
1781
|
+
export type UserKycLinksCreateData = {
|
|
1782
|
+
body?: UserCreateCustomerKycLink;
|
|
1783
|
+
path?: never;
|
|
1784
|
+
query?: never;
|
|
1785
|
+
url: '/user/kyc-links/';
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
export type UserKycLinksCreateResponses = {
|
|
1789
|
+
201: UserCustomerKycLinkResponse;
|
|
1790
|
+
};
|
|
1791
|
+
|
|
1792
|
+
export type UserKycLinksCreateResponse = UserKycLinksCreateResponses[keyof UserKycLinksCreateResponses];
|
|
1793
|
+
|
|
1794
|
+
export type UserVirtualAccountsListData = {
|
|
1795
|
+
body?: never;
|
|
1796
|
+
path?: never;
|
|
1797
|
+
query?: {
|
|
1798
|
+
/**
|
|
1799
|
+
* A page number within the paginated result set.
|
|
1800
|
+
*/
|
|
1801
|
+
page?: number;
|
|
1802
|
+
/**
|
|
1803
|
+
* Number of results to return per page.
|
|
1804
|
+
*/
|
|
1805
|
+
page_size?: number;
|
|
1806
|
+
};
|
|
1807
|
+
url: '/user/virtual-accounts/';
|
|
1808
|
+
};
|
|
1809
|
+
|
|
1810
|
+
export type UserVirtualAccountsListResponses = {
|
|
1811
|
+
200: PaginatedUserVirtualAccountListResponse;
|
|
1812
|
+
};
|
|
1813
|
+
|
|
1814
|
+
export type UserVirtualAccountsListResponse = UserVirtualAccountsListResponses[keyof UserVirtualAccountsListResponses];
|
|
1815
|
+
|
|
1816
|
+
export type UserVirtualAccountsCreateData = {
|
|
1817
|
+
body: UserCreateVirtualAccount;
|
|
1818
|
+
path?: never;
|
|
1819
|
+
query?: never;
|
|
1820
|
+
url: '/user/virtual-accounts/';
|
|
1821
|
+
};
|
|
1822
|
+
|
|
1823
|
+
export type UserVirtualAccountsCreateResponses = {
|
|
1824
|
+
201: UserVirtualAccountResponse;
|
|
1825
|
+
};
|
|
1826
|
+
|
|
1827
|
+
export type UserVirtualAccountsCreateResponse = UserVirtualAccountsCreateResponses[keyof UserVirtualAccountsCreateResponses];
|
|
1828
|
+
|
|
1829
|
+
export type UserVirtualAccountsRetrieveData = {
|
|
1830
|
+
body?: never;
|
|
1831
|
+
path: {
|
|
1832
|
+
identifier: string;
|
|
1833
|
+
};
|
|
1834
|
+
query?: never;
|
|
1835
|
+
url: '/user/virtual-accounts/{identifier}/';
|
|
1836
|
+
};
|
|
1837
|
+
|
|
1838
|
+
export type UserVirtualAccountsRetrieveResponses = {
|
|
1839
|
+
200: UserVirtualAccountResponse;
|
|
1840
|
+
};
|
|
1841
|
+
|
|
1842
|
+
export type UserVirtualAccountsRetrieveResponse = UserVirtualAccountsRetrieveResponses[keyof UserVirtualAccountsRetrieveResponses];
|
|
1843
|
+
|
|
1844
|
+
export type WebhookCreateData = {
|
|
1845
|
+
body: Webhook;
|
|
1846
|
+
path?: never;
|
|
1847
|
+
query?: never;
|
|
1848
|
+
url: '/webhook/';
|
|
1849
|
+
};
|
|
1850
|
+
|
|
1851
|
+
export type WebhookCreateResponses = {
|
|
1852
|
+
200: ActionResponse;
|
|
1853
|
+
};
|
|
1854
|
+
|
|
1855
|
+
export type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|