rehive 3.1.4 → 4.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +211 -506
- package/dist/admin.d.mts +31284 -0
- package/dist/admin.d.ts +31284 -0
- package/dist/admin.js +1 -0
- package/dist/admin.mjs +1 -0
- package/dist/auth.d.mts +23 -0
- package/dist/auth.d.ts +23 -0
- package/dist/auth.js +1 -0
- package/dist/auth.mjs +1 -0
- package/dist/chunk-53JJUQ4V.js +1 -0
- package/dist/chunk-5MRX4DHT.js +1 -0
- package/dist/chunk-7WWCXCY2.mjs +1 -0
- package/dist/chunk-HF5XDXOU.mjs +1 -0
- package/dist/chunk-NFN3B6SG.mjs +1 -0
- package/dist/chunk-OEIQFP6T.js +1 -0
- package/dist/chunk-Q2ZX3WFY.mjs +7 -0
- package/dist/chunk-QWQ6ZENI.js +1 -0
- package/dist/chunk-RKDIBDG6.js +7 -0
- package/dist/chunk-S4QKN5WW.mjs +1 -0
- package/dist/chunk-UYUMXTPF.js +7 -0
- package/dist/chunk-V277OEVY.mjs +7 -0
- package/dist/create-api-client-BMeX50D6.d.ts +25 -0
- package/dist/create-api-client-BrsH1l8c.d.mts +25 -0
- package/dist/create-auth-UTklIOTc.d.mts +18340 -0
- package/dist/create-auth-UTklIOTc.d.ts +18340 -0
- package/dist/extensions/alchemy.d.mts +1114 -0
- package/dist/extensions/alchemy.d.ts +1114 -0
- package/dist/extensions/alchemy.js +7 -0
- package/dist/extensions/alchemy.mjs +7 -0
- package/dist/extensions/app.d.mts +2042 -0
- package/dist/extensions/app.d.ts +2042 -0
- package/dist/extensions/app.js +7 -0
- package/dist/extensions/app.mjs +7 -0
- package/dist/extensions/billing.d.mts +828 -0
- package/dist/extensions/billing.d.ts +828 -0
- package/dist/extensions/billing.js +7 -0
- package/dist/extensions/billing.mjs +7 -0
- package/dist/extensions/bridge.d.mts +2028 -0
- package/dist/extensions/bridge.d.ts +2028 -0
- package/dist/extensions/bridge.js +7 -0
- package/dist/extensions/bridge.mjs +7 -0
- package/dist/extensions/builder.d.mts +542 -0
- package/dist/extensions/builder.d.ts +542 -0
- package/dist/extensions/builder.js +7 -0
- package/dist/extensions/builder.mjs +7 -0
- package/dist/extensions/business.d.mts +8972 -0
- package/dist/extensions/business.d.ts +8972 -0
- package/dist/extensions/business.js +7 -0
- package/dist/extensions/business.mjs +7 -0
- package/dist/extensions/conversion.d.mts +2786 -0
- package/dist/extensions/conversion.d.ts +2786 -0
- package/dist/extensions/conversion.js +7 -0
- package/dist/extensions/conversion.mjs +7 -0
- package/dist/extensions/mass-send.d.mts +1294 -0
- package/dist/extensions/mass-send.d.ts +1294 -0
- package/dist/extensions/mass-send.js +7 -0
- package/dist/extensions/mass-send.mjs +7 -0
- package/dist/extensions/notifications.d.mts +2035 -0
- package/dist/extensions/notifications.d.ts +2035 -0
- package/dist/extensions/notifications.js +7 -0
- package/dist/extensions/notifications.mjs +7 -0
- package/dist/extensions/payment-requests.d.mts +3746 -0
- package/dist/extensions/payment-requests.d.ts +3746 -0
- package/dist/extensions/payment-requests.js +7 -0
- package/dist/extensions/payment-requests.mjs +7 -0
- package/dist/extensions/products.d.mts +10092 -0
- package/dist/extensions/products.d.ts +10092 -0
- package/dist/extensions/products.js +7 -0
- package/dist/extensions/products.mjs +7 -0
- package/dist/extensions/rain.d.mts +1896 -0
- package/dist/extensions/rain.d.ts +1896 -0
- package/dist/extensions/rain.js +7 -0
- package/dist/extensions/rain.mjs +7 -0
- package/dist/extensions/rewards.d.mts +2038 -0
- package/dist/extensions/rewards.d.ts +2038 -0
- package/dist/extensions/rewards.js +7 -0
- package/dist/extensions/rewards.mjs +7 -0
- package/dist/extensions/stellar-testnet.d.mts +3922 -0
- package/dist/extensions/stellar-testnet.d.ts +3922 -0
- package/dist/extensions/stellar-testnet.js +7 -0
- package/dist/extensions/stellar-testnet.mjs +7 -0
- package/dist/extensions/stellar.d.mts +3922 -0
- package/dist/extensions/stellar.d.ts +3922 -0
- package/dist/extensions/stellar.js +7 -0
- package/dist/extensions/stellar.mjs +7 -0
- package/dist/index.d.mts +6 -61050
- package/dist/index.d.ts +6 -61050
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +8 -61087
- package/dist/react.d.ts +8 -61087
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +1347 -0
- package/dist/user.d.ts +1347 -0
- package/dist/user.js +1 -0
- package/dist/user.mjs +1 -0
- package/package.json +99 -32
- package/src/auth/core/storage-adapters.ts +58 -0
- package/src/auth/create-auth.ts +563 -0
- package/src/auth/index.ts +4 -0
- package/src/auth/types/index.ts +28 -0
- package/src/extensions/alchemy/create-api.ts +13 -0
- package/src/extensions/alchemy/index.ts +3 -0
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/alchemy/openapi-ts/client/index.ts +25 -0
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/alchemy/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/alchemy/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/alchemy/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/alchemy/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/alchemy/openapi-ts/index.ts +4 -0
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +179 -0
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +851 -0
- package/src/extensions/app/create-api.ts +13 -0
- package/src/extensions/app/index.ts +3 -0
- package/src/extensions/app/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/app/openapi-ts/client/index.ts +25 -0
- package/src/extensions/app/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/app/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/app/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/app/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/app/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/app/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/app/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/app/openapi-ts/index.ts +4 -0
- package/src/extensions/app/openapi-ts/sdk.gen.ts +539 -0
- package/src/extensions/app/openapi-ts/types.gen.ts +1702 -0
- package/src/extensions/billing/create-api.ts +13 -0
- package/src/extensions/billing/index.ts +3 -0
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/billing/openapi-ts/client/index.ts +25 -0
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/billing/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/billing/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/billing/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/billing/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/billing/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/billing/openapi-ts/index.ts +4 -0
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +155 -0
- package/src/extensions/billing/openapi-ts/types.gen.ts +508 -0
- package/src/extensions/bridge/create-api.ts +13 -0
- package/src/extensions/bridge/index.ts +3 -0
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/bridge/openapi-ts/client/index.ts +25 -0
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/bridge/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/bridge/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/bridge/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/bridge/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/bridge/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/bridge/openapi-ts/index.ts +4 -0
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +383 -0
- package/src/extensions/bridge/openapi-ts/types.gen.ts +1855 -0
- package/src/extensions/builder/create-api.ts +13 -0
- package/src/extensions/builder/index.ts +3 -0
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/builder/openapi-ts/client/index.ts +25 -0
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/builder/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/builder/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/builder/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/builder/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/builder/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/builder/openapi-ts/index.ts +4 -0
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +60 -0
- package/src/extensions/builder/openapi-ts/types.gen.ts +215 -0
- package/src/extensions/business/create-api.ts +13 -0
- package/src/extensions/business/index.ts +3 -0
- package/src/extensions/business/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/business/openapi-ts/client/index.ts +25 -0
- package/src/extensions/business/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/business/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/business/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/business/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/business/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/business/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/business/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/business/openapi-ts/index.ts +4 -0
- package/src/extensions/business/openapi-ts/sdk.gen.ts +903 -0
- package/src/extensions/business/openapi-ts/types.gen.ts +8718 -0
- package/src/extensions/conversion/create-api.ts +13 -0
- package/src/extensions/conversion/index.ts +3 -0
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/conversion/openapi-ts/client/index.ts +25 -0
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/conversion/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/conversion/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/conversion/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/conversion/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/conversion/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/conversion/openapi-ts/index.ts +4 -0
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +684 -0
- package/src/extensions/conversion/openapi-ts/types.gen.ts +2467 -0
- package/src/extensions/mass-send/create-api.ts +13 -0
- package/src/extensions/mass-send/index.ts +3 -0
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/mass-send/openapi-ts/client/index.ts +25 -0
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/mass-send/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/mass-send/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/mass-send/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/mass-send/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/mass-send/openapi-ts/index.ts +4 -0
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +270 -0
- package/src/extensions/mass-send/openapi-ts/types.gen.ts +988 -0
- package/src/extensions/notifications/create-api.ts +13 -0
- package/src/extensions/notifications/index.ts +3 -0
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/notifications/openapi-ts/client/index.ts +25 -0
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/notifications/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/notifications/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/notifications/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/notifications/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/notifications/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/notifications/openapi-ts/index.ts +4 -0
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +450 -0
- package/src/extensions/notifications/openapi-ts/types.gen.ts +1732 -0
- package/src/extensions/payment-requests/create-api.ts +13 -0
- package/src/extensions/payment-requests/index.ts +3 -0
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/payment-requests/openapi-ts/client/index.ts +25 -0
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/payment-requests/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/payment-requests/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/payment-requests/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/payment-requests/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/payment-requests/openapi-ts/index.ts +4 -0
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +845 -0
- package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3415 -0
- package/src/extensions/products/create-api.ts +13 -0
- package/src/extensions/products/index.ts +3 -0
- package/src/extensions/products/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/products/openapi-ts/client/index.ts +25 -0
- package/src/extensions/products/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/products/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/products/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/products/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/products/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/products/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/products/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/products/openapi-ts/index.ts +4 -0
- package/src/extensions/products/openapi-ts/sdk.gen.ts +2619 -0
- package/src/extensions/products/openapi-ts/types.gen.ts +9717 -0
- package/src/extensions/rain/create-api.ts +13 -0
- package/src/extensions/rain/index.ts +3 -0
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rain/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rain/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rain/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rain/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rain/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rain/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rain/openapi-ts/index.ts +4 -0
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +227 -0
- package/src/extensions/rain/openapi-ts/types.gen.ts +1660 -0
- package/src/extensions/rewards/create-api.ts +13 -0
- package/src/extensions/rewards/index.ts +3 -0
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rewards/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rewards/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rewards/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rewards/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rewards/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rewards/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rewards/openapi-ts/index.ts +4 -0
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +345 -0
- package/src/extensions/rewards/openapi-ts/types.gen.ts +1718 -0
- package/src/extensions/stellar/create-api.ts +13 -0
- package/src/extensions/stellar/index.ts +3 -0
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar/openapi-ts/types.gen.ts +3543 -0
- package/src/extensions/stellar-testnet/create-api.ts +13 -0
- package/src/extensions/stellar-testnet/index.ts +3 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +213 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar-testnet/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar-testnet/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +3543 -0
- package/src/platform/admin/create-api.ts +11 -0
- package/src/platform/admin/index.ts +3 -42
- package/src/platform/admin/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/admin/openapi-ts/client/index.ts +25 -0
- package/src/platform/admin/openapi-ts/client/types.gen.ts +213 -0
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/admin/openapi-ts/client.gen.ts +16 -0
- package/src/platform/admin/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/admin/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/admin/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/admin/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/admin/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/admin/openapi-ts/index.ts +4 -0
- package/src/platform/admin/openapi-ts/sdk.gen.ts +3975 -0
- package/src/platform/admin/openapi-ts/types.gen.ts +31193 -0
- package/src/platform/user/create-api.ts +11 -0
- package/src/platform/user/index.ts +3 -42
- package/src/platform/user/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/user/openapi-ts/client/index.ts +25 -0
- package/src/platform/user/openapi-ts/client/types.gen.ts +213 -0
- package/src/platform/user/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/user/openapi-ts/client.gen.ts +16 -0
- package/src/platform/user/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/user/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/user/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/user/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/user/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/user/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/user/openapi-ts/index.ts +4 -0
- package/src/platform/user/openapi-ts/sdk.gen.ts +2090 -0
- package/src/platform/user/openapi-ts/types.gen.ts +19540 -0
- package/src/shared/api-utils.ts +22 -0
- package/src/shared/bind-sdk.ts +48 -0
- package/src/shared/create-api-client.ts +54 -0
- package/src/extensions/app/http-client.ts +0 -1
- package/src/extensions/app/rehive-app-api.ts +0 -1827
- package/src/extensions/bridge/rehive-bridge-api.ts +0 -1436
- package/src/extensions/business/rehive-business-api.ts +0 -9480
- package/src/extensions/conversion/rehive-conversion-api.ts +0 -3054
- package/src/extensions/mass-send/rehive-mass-send-api.ts +0 -1061
- package/src/extensions/notifications/rehive-notifications-api.ts +0 -1964
- package/src/extensions/payment-requests/rehive-payment-requests-api.ts +0 -4026
- package/src/extensions/products/rehive-products-api.ts +0 -13107
- package/src/extensions/rewards/rehive-rewards-api.ts +0 -2139
- package/src/extensions/stellar/rehive-stellar-api.ts +0 -4219
- package/src/extensions/stellar-testnet/rehive-stellar-testnet-api.ts +0 -4219
- package/src/platform/admin/rehive-platform-admin-api.ts +0 -35075
- package/src/platform/user/rehive-platform-user-api.ts +0 -21554
|
@@ -0,0 +1,2028 @@
|
|
|
1
|
+
import { A as ApiFactoryConfig, B as BoundSdk } from '../create-api-client-BMeX50D6.js';
|
|
2
|
+
import '../create-auth-UTklIOTc.js';
|
|
3
|
+
|
|
4
|
+
type AuthToken = string | undefined;
|
|
5
|
+
interface Auth {
|
|
6
|
+
/**
|
|
7
|
+
* Which part of the request do we use to send the auth?
|
|
8
|
+
*
|
|
9
|
+
* @default 'header'
|
|
10
|
+
*/
|
|
11
|
+
in?: 'header' | 'query' | 'cookie';
|
|
12
|
+
/**
|
|
13
|
+
* Header or query parameter name.
|
|
14
|
+
*
|
|
15
|
+
* @default 'Authorization'
|
|
16
|
+
*/
|
|
17
|
+
name?: string;
|
|
18
|
+
scheme?: 'basic' | 'bearer';
|
|
19
|
+
type: 'apiKey' | 'http';
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
interface SerializerOptions<T> {
|
|
23
|
+
/**
|
|
24
|
+
* @default true
|
|
25
|
+
*/
|
|
26
|
+
explode: boolean;
|
|
27
|
+
style: T;
|
|
28
|
+
}
|
|
29
|
+
type ArrayStyle = 'form' | 'spaceDelimited' | 'pipeDelimited';
|
|
30
|
+
type ObjectStyle = 'form' | 'deepObject';
|
|
31
|
+
|
|
32
|
+
type QuerySerializer = (query: Record<string, unknown>) => string;
|
|
33
|
+
type BodySerializer = (body: any) => any;
|
|
34
|
+
type QuerySerializerOptionsObject = {
|
|
35
|
+
allowReserved?: boolean;
|
|
36
|
+
array?: Partial<SerializerOptions<ArrayStyle>>;
|
|
37
|
+
object?: Partial<SerializerOptions<ObjectStyle>>;
|
|
38
|
+
};
|
|
39
|
+
type QuerySerializerOptions = QuerySerializerOptionsObject & {
|
|
40
|
+
/**
|
|
41
|
+
* Per-parameter serialization overrides. When provided, these settings
|
|
42
|
+
* override the global array/object settings for specific parameter names.
|
|
43
|
+
*/
|
|
44
|
+
parameters?: Record<string, QuerySerializerOptionsObject>;
|
|
45
|
+
};
|
|
46
|
+
|
|
47
|
+
type HttpMethod = 'connect' | 'delete' | 'get' | 'head' | 'options' | 'patch' | 'post' | 'put' | 'trace';
|
|
48
|
+
type Client$1<RequestFn = never, Config = unknown, MethodFn = never, BuildUrlFn = never, SseFn = never> = {
|
|
49
|
+
/**
|
|
50
|
+
* Returns the final request URL.
|
|
51
|
+
*/
|
|
52
|
+
buildUrl: BuildUrlFn;
|
|
53
|
+
getConfig: () => Config;
|
|
54
|
+
request: RequestFn;
|
|
55
|
+
setConfig: (config: Config) => Config;
|
|
56
|
+
} & {
|
|
57
|
+
[K in HttpMethod]: MethodFn;
|
|
58
|
+
} & ([SseFn] extends [never] ? {
|
|
59
|
+
sse?: never;
|
|
60
|
+
} : {
|
|
61
|
+
sse: {
|
|
62
|
+
[K in HttpMethod]: SseFn;
|
|
63
|
+
};
|
|
64
|
+
});
|
|
65
|
+
interface Config$1 {
|
|
66
|
+
/**
|
|
67
|
+
* Auth token or a function returning auth token. The resolved value will be
|
|
68
|
+
* added to the request payload as defined by its `security` array.
|
|
69
|
+
*/
|
|
70
|
+
auth?: ((auth: Auth) => Promise<AuthToken> | AuthToken) | AuthToken;
|
|
71
|
+
/**
|
|
72
|
+
* A function for serializing request body parameter. By default,
|
|
73
|
+
* {@link JSON.stringify()} will be used.
|
|
74
|
+
*/
|
|
75
|
+
bodySerializer?: BodySerializer | null;
|
|
76
|
+
/**
|
|
77
|
+
* An object containing any HTTP headers that you want to pre-populate your
|
|
78
|
+
* `Headers` object with.
|
|
79
|
+
*
|
|
80
|
+
* {@link https://developer.mozilla.org/docs/Web/API/Headers/Headers#init See more}
|
|
81
|
+
*/
|
|
82
|
+
headers?: RequestInit['headers'] | Record<string, string | number | boolean | (string | number | boolean)[] | null | undefined | unknown>;
|
|
83
|
+
/**
|
|
84
|
+
* The request method.
|
|
85
|
+
*
|
|
86
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#method See more}
|
|
87
|
+
*/
|
|
88
|
+
method?: Uppercase<HttpMethod>;
|
|
89
|
+
/**
|
|
90
|
+
* A function for serializing request query parameters. By default, arrays
|
|
91
|
+
* will be exploded in form style, objects will be exploded in deepObject
|
|
92
|
+
* style, and reserved characters are percent-encoded.
|
|
93
|
+
*
|
|
94
|
+
* This method will have no effect if the native `paramsSerializer()` Axios
|
|
95
|
+
* API function is used.
|
|
96
|
+
*
|
|
97
|
+
* {@link https://swagger.io/docs/specification/serialization/#query View examples}
|
|
98
|
+
*/
|
|
99
|
+
querySerializer?: QuerySerializer | QuerySerializerOptions;
|
|
100
|
+
/**
|
|
101
|
+
* A function validating request data. This is useful if you want to ensure
|
|
102
|
+
* the request conforms to the desired shape, so it can be safely sent to
|
|
103
|
+
* the server.
|
|
104
|
+
*/
|
|
105
|
+
requestValidator?: (data: unknown) => Promise<unknown>;
|
|
106
|
+
/**
|
|
107
|
+
* A function transforming response data before it's returned. This is useful
|
|
108
|
+
* for post-processing data, e.g. converting ISO strings into Date objects.
|
|
109
|
+
*/
|
|
110
|
+
responseTransformer?: (data: unknown) => Promise<unknown>;
|
|
111
|
+
/**
|
|
112
|
+
* A function validating response data. This is useful if you want to ensure
|
|
113
|
+
* the response conforms to the desired shape, so it can be safely passed to
|
|
114
|
+
* the transformers and returned to the user.
|
|
115
|
+
*/
|
|
116
|
+
responseValidator?: (data: unknown) => Promise<unknown>;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
type ServerSentEventsOptions<TData = unknown> = Omit<RequestInit, 'method'> & Pick<Config$1, 'method' | 'responseTransformer' | 'responseValidator'> & {
|
|
120
|
+
/**
|
|
121
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
122
|
+
* fetch instance.
|
|
123
|
+
*
|
|
124
|
+
* @default globalThis.fetch
|
|
125
|
+
*/
|
|
126
|
+
fetch?: typeof fetch;
|
|
127
|
+
/**
|
|
128
|
+
* Implementing clients can call request interceptors inside this hook.
|
|
129
|
+
*/
|
|
130
|
+
onRequest?: (url: string, init: RequestInit) => Promise<Request>;
|
|
131
|
+
/**
|
|
132
|
+
* Callback invoked when a network or parsing error occurs during streaming.
|
|
133
|
+
*
|
|
134
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
135
|
+
*
|
|
136
|
+
* @param error The error that occurred.
|
|
137
|
+
*/
|
|
138
|
+
onSseError?: (error: unknown) => void;
|
|
139
|
+
/**
|
|
140
|
+
* Callback invoked when an event is streamed from the server.
|
|
141
|
+
*
|
|
142
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
143
|
+
*
|
|
144
|
+
* @param event Event streamed from the server.
|
|
145
|
+
* @returns Nothing (void).
|
|
146
|
+
*/
|
|
147
|
+
onSseEvent?: (event: StreamEvent<TData>) => void;
|
|
148
|
+
serializedBody?: RequestInit['body'];
|
|
149
|
+
/**
|
|
150
|
+
* Default retry delay in milliseconds.
|
|
151
|
+
*
|
|
152
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
153
|
+
*
|
|
154
|
+
* @default 3000
|
|
155
|
+
*/
|
|
156
|
+
sseDefaultRetryDelay?: number;
|
|
157
|
+
/**
|
|
158
|
+
* Maximum number of retry attempts before giving up.
|
|
159
|
+
*/
|
|
160
|
+
sseMaxRetryAttempts?: number;
|
|
161
|
+
/**
|
|
162
|
+
* Maximum retry delay in milliseconds.
|
|
163
|
+
*
|
|
164
|
+
* Applies only when exponential backoff is used.
|
|
165
|
+
*
|
|
166
|
+
* This option applies only if the endpoint returns a stream of events.
|
|
167
|
+
*
|
|
168
|
+
* @default 30000
|
|
169
|
+
*/
|
|
170
|
+
sseMaxRetryDelay?: number;
|
|
171
|
+
/**
|
|
172
|
+
* Optional sleep function for retry backoff.
|
|
173
|
+
*
|
|
174
|
+
* Defaults to using `setTimeout`.
|
|
175
|
+
*/
|
|
176
|
+
sseSleepFn?: (ms: number) => Promise<void>;
|
|
177
|
+
url: string;
|
|
178
|
+
};
|
|
179
|
+
interface StreamEvent<TData = unknown> {
|
|
180
|
+
data: TData;
|
|
181
|
+
event?: string;
|
|
182
|
+
id?: string;
|
|
183
|
+
retry?: number;
|
|
184
|
+
}
|
|
185
|
+
type ServerSentEventsResult<TData = unknown, TReturn = void, TNext = unknown> = {
|
|
186
|
+
stream: AsyncGenerator<TData extends Record<string, unknown> ? TData[keyof TData] : TData, TReturn, TNext>;
|
|
187
|
+
};
|
|
188
|
+
|
|
189
|
+
type ErrInterceptor<Err, Res, Req, Options> = (error: Err, response: Res, request: Req, options: Options) => Err | Promise<Err>;
|
|
190
|
+
type ReqInterceptor<Req, Options> = (request: Req, options: Options) => Req | Promise<Req>;
|
|
191
|
+
type ResInterceptor<Res, Req, Options> = (response: Res, request: Req, options: Options) => Res | Promise<Res>;
|
|
192
|
+
declare class Interceptors<Interceptor> {
|
|
193
|
+
fns: Array<Interceptor | null>;
|
|
194
|
+
clear(): void;
|
|
195
|
+
eject(id: number | Interceptor): void;
|
|
196
|
+
exists(id: number | Interceptor): boolean;
|
|
197
|
+
getInterceptorIndex(id: number | Interceptor): number;
|
|
198
|
+
update(id: number | Interceptor, fn: Interceptor): number | Interceptor | false;
|
|
199
|
+
use(fn: Interceptor): number;
|
|
200
|
+
}
|
|
201
|
+
interface Middleware<Req, Res, Err, Options> {
|
|
202
|
+
error: Interceptors<ErrInterceptor<Err, Res, Req, Options>>;
|
|
203
|
+
request: Interceptors<ReqInterceptor<Req, Options>>;
|
|
204
|
+
response: Interceptors<ResInterceptor<Res, Req, Options>>;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
type ResponseStyle = 'data' | 'fields';
|
|
208
|
+
interface Config<T extends ClientOptions$1 = ClientOptions$1> extends Omit<RequestInit, 'body' | 'headers' | 'method'>, Config$1 {
|
|
209
|
+
/**
|
|
210
|
+
* Base URL for all requests made by this client.
|
|
211
|
+
*/
|
|
212
|
+
baseUrl?: T['baseUrl'];
|
|
213
|
+
/**
|
|
214
|
+
* Fetch API implementation. You can use this option to provide a custom
|
|
215
|
+
* fetch instance.
|
|
216
|
+
*
|
|
217
|
+
* @default globalThis.fetch
|
|
218
|
+
*/
|
|
219
|
+
fetch?: typeof fetch;
|
|
220
|
+
/**
|
|
221
|
+
* Please don't use the Fetch client for Next.js applications. The `next`
|
|
222
|
+
* options won't have any effect.
|
|
223
|
+
*
|
|
224
|
+
* Install {@link https://www.npmjs.com/package/@hey-api/client-next `@hey-api/client-next`} instead.
|
|
225
|
+
*/
|
|
226
|
+
next?: never;
|
|
227
|
+
/**
|
|
228
|
+
* Return the response data parsed in a specified format. By default, `auto`
|
|
229
|
+
* will infer the appropriate method from the `Content-Type` response header.
|
|
230
|
+
* You can override this behavior with any of the {@link Body} methods.
|
|
231
|
+
* Select `stream` if you don't want to parse response data at all.
|
|
232
|
+
*
|
|
233
|
+
* @default 'auto'
|
|
234
|
+
*/
|
|
235
|
+
parseAs?: 'arrayBuffer' | 'auto' | 'blob' | 'formData' | 'json' | 'stream' | 'text';
|
|
236
|
+
/**
|
|
237
|
+
* Should we return only data or multiple fields (data, error, response, etc.)?
|
|
238
|
+
*
|
|
239
|
+
* @default 'fields'
|
|
240
|
+
*/
|
|
241
|
+
responseStyle?: ResponseStyle;
|
|
242
|
+
/**
|
|
243
|
+
* Throw an error instead of returning it in the response?
|
|
244
|
+
*
|
|
245
|
+
* @default false
|
|
246
|
+
*/
|
|
247
|
+
throwOnError?: T['throwOnError'];
|
|
248
|
+
}
|
|
249
|
+
interface RequestOptions<TData = unknown, TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends Config<{
|
|
250
|
+
responseStyle: TResponseStyle;
|
|
251
|
+
throwOnError: ThrowOnError;
|
|
252
|
+
}>, Pick<ServerSentEventsOptions<TData>, 'onSseError' | 'onSseEvent' | 'sseDefaultRetryDelay' | 'sseMaxRetryAttempts' | 'sseMaxRetryDelay'> {
|
|
253
|
+
/**
|
|
254
|
+
* Any body that you want to add to your request.
|
|
255
|
+
*
|
|
256
|
+
* {@link https://developer.mozilla.org/docs/Web/API/fetch#body}
|
|
257
|
+
*/
|
|
258
|
+
body?: unknown;
|
|
259
|
+
path?: Record<string, unknown>;
|
|
260
|
+
query?: Record<string, unknown>;
|
|
261
|
+
/**
|
|
262
|
+
* Security mechanism(s) to use for the request.
|
|
263
|
+
*/
|
|
264
|
+
security?: ReadonlyArray<Auth>;
|
|
265
|
+
url: Url;
|
|
266
|
+
}
|
|
267
|
+
interface ResolvedRequestOptions<TResponseStyle extends ResponseStyle = 'data', ThrowOnError extends boolean = boolean, Url extends string = string> extends RequestOptions<unknown, TResponseStyle, ThrowOnError, Url> {
|
|
268
|
+
serializedBody?: string;
|
|
269
|
+
}
|
|
270
|
+
type RequestResult<TData = unknown, TError = unknown, ThrowOnError extends boolean = boolean, TResponseStyle extends ResponseStyle = 'data'> = ThrowOnError extends true ? Promise<TResponseStyle extends 'data' ? TData extends Record<string, unknown> ? TData[keyof TData] : TData : {
|
|
271
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
272
|
+
request: Request;
|
|
273
|
+
response: Response;
|
|
274
|
+
}> : Promise<TResponseStyle extends 'data' ? (TData extends Record<string, unknown> ? TData[keyof TData] : TData) | undefined : ({
|
|
275
|
+
data: TData extends Record<string, unknown> ? TData[keyof TData] : TData;
|
|
276
|
+
error: undefined;
|
|
277
|
+
} | {
|
|
278
|
+
data: undefined;
|
|
279
|
+
error: TError extends Record<string, unknown> ? TError[keyof TError] : TError;
|
|
280
|
+
}) & {
|
|
281
|
+
request: Request;
|
|
282
|
+
response: Response;
|
|
283
|
+
}>;
|
|
284
|
+
interface ClientOptions$1 {
|
|
285
|
+
baseUrl?: string;
|
|
286
|
+
responseStyle?: ResponseStyle;
|
|
287
|
+
throwOnError?: boolean;
|
|
288
|
+
}
|
|
289
|
+
type MethodFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
290
|
+
type SseFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'>) => Promise<ServerSentEventsResult<TData, TError>>;
|
|
291
|
+
type RequestFn = <TData = unknown, TError = unknown, ThrowOnError extends boolean = false, TResponseStyle extends ResponseStyle = 'data'>(options: Omit<RequestOptions<TData, TResponseStyle, ThrowOnError>, 'method'> & Pick<Required<RequestOptions<TData, TResponseStyle, ThrowOnError>>, 'method'>) => RequestResult<TData, TError, ThrowOnError, TResponseStyle>;
|
|
292
|
+
type BuildUrlFn = <TData extends {
|
|
293
|
+
body?: unknown;
|
|
294
|
+
path?: Record<string, unknown>;
|
|
295
|
+
query?: Record<string, unknown>;
|
|
296
|
+
url: string;
|
|
297
|
+
}>(options: TData & Options$1<TData>) => string;
|
|
298
|
+
type Client = Client$1<RequestFn, Config, MethodFn, BuildUrlFn, SseFn> & {
|
|
299
|
+
interceptors: Middleware<Request, Response, unknown, ResolvedRequestOptions>;
|
|
300
|
+
};
|
|
301
|
+
interface TDataShape {
|
|
302
|
+
body?: unknown;
|
|
303
|
+
headers?: unknown;
|
|
304
|
+
path?: unknown;
|
|
305
|
+
query?: unknown;
|
|
306
|
+
url: string;
|
|
307
|
+
}
|
|
308
|
+
type OmitKeys<T, K> = Pick<T, Exclude<keyof T, K>>;
|
|
309
|
+
type Options$1<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean, TResponse = unknown, TResponseStyle extends ResponseStyle = 'data'> = OmitKeys<RequestOptions<TResponse, TResponseStyle, ThrowOnError>, 'body' | 'path' | 'query' | 'url'> & ([TData] extends [never] ? unknown : Omit<TData, 'url'>);
|
|
310
|
+
|
|
311
|
+
type ClientOptions = {
|
|
312
|
+
baseUrl: 'https://bridge.services.rehive.com/api/' | (string & {});
|
|
313
|
+
};
|
|
314
|
+
/**
|
|
315
|
+
* This serializer can be used if only a `status` is required in the response.
|
|
316
|
+
*/
|
|
317
|
+
type ActionResponse = {
|
|
318
|
+
status: string;
|
|
319
|
+
};
|
|
320
|
+
/**
|
|
321
|
+
* Serialize the activation data, should be a token that represents an admin
|
|
322
|
+
* user.
|
|
323
|
+
*/
|
|
324
|
+
type Activate = {
|
|
325
|
+
token: string;
|
|
326
|
+
readonly id: string;
|
|
327
|
+
readonly name: string;
|
|
328
|
+
readonly secret: string;
|
|
329
|
+
};
|
|
330
|
+
/**
|
|
331
|
+
* A ModelSerializer that takes additional arguments for
|
|
332
|
+
* "fields", "omit" and "expand" in order to
|
|
333
|
+
* control which fields are displayed, and whether to replace simple
|
|
334
|
+
* values with complex, nested serializations
|
|
335
|
+
*/
|
|
336
|
+
type AdminCompany = {
|
|
337
|
+
readonly id: string;
|
|
338
|
+
readonly secret: string;
|
|
339
|
+
/**
|
|
340
|
+
* * `test` - Test
|
|
341
|
+
* * `production` - Production
|
|
342
|
+
*/
|
|
343
|
+
mode: 'test' | 'production';
|
|
344
|
+
bridge_api_key: string;
|
|
345
|
+
readonly bridge_webhook_id: string | null;
|
|
346
|
+
readonly admin_user_bridge_id: string | null;
|
|
347
|
+
readonly bridge_default_endorsements: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'>;
|
|
348
|
+
readonly bridge_tos_platform_legal_term: string | null;
|
|
349
|
+
readonly exchange_rate_override_bps: number;
|
|
350
|
+
};
|
|
351
|
+
type AdminCompanyResponse = {
|
|
352
|
+
status: string;
|
|
353
|
+
data: AdminCompany;
|
|
354
|
+
};
|
|
355
|
+
/**
|
|
356
|
+
* A ModelSerializer that takes additional arguments for
|
|
357
|
+
* "fields", "omit" and "expand" in order to
|
|
358
|
+
* control which fields are displayed, and whether to replace simple
|
|
359
|
+
* values with complex, nested serializations
|
|
360
|
+
*/
|
|
361
|
+
type AdminCreatePayoutConfiguration = {
|
|
362
|
+
/**
|
|
363
|
+
* * `solana` - Solana
|
|
364
|
+
*/
|
|
365
|
+
destination_chain: 'solana';
|
|
366
|
+
destination_address: string;
|
|
367
|
+
};
|
|
368
|
+
type AdminCryptoReturnPolicy = {
|
|
369
|
+
readonly id: string;
|
|
370
|
+
refund_destination_address?: string | null;
|
|
371
|
+
refund_destination_blockchain_memo?: string | null;
|
|
372
|
+
refund_destination_chain?: string | null;
|
|
373
|
+
refund_destination_currency?: string | null;
|
|
374
|
+
/**
|
|
375
|
+
* * `refund_to_sender` - refund_to_sender
|
|
376
|
+
* * `static_address` - static_address
|
|
377
|
+
*/
|
|
378
|
+
strategy: 'refund_to_sender' | 'static_address';
|
|
379
|
+
};
|
|
380
|
+
type AdminCryptoReturnPolicyList = Array<AdminCryptoReturnPolicy>;
|
|
381
|
+
type AdminCryptoReturnPolicyListResponse = {
|
|
382
|
+
status: string;
|
|
383
|
+
data: AdminCryptoReturnPolicyList;
|
|
384
|
+
};
|
|
385
|
+
type AdminCryptoReturnPolicyResponse = {
|
|
386
|
+
status: string;
|
|
387
|
+
data: AdminCryptoReturnPolicy;
|
|
388
|
+
};
|
|
389
|
+
/**
|
|
390
|
+
* A ModelSerializer that takes additional arguments for
|
|
391
|
+
* "fields", "omit" and "expand" in order to
|
|
392
|
+
* control which fields are displayed, and whether to replace simple
|
|
393
|
+
* values with complex, nested serializations
|
|
394
|
+
*/
|
|
395
|
+
type AdminCurrency = {
|
|
396
|
+
readonly code: string;
|
|
397
|
+
/**
|
|
398
|
+
* * `usdc` - Usdc
|
|
399
|
+
* * `eurc` - Eurc
|
|
400
|
+
*/
|
|
401
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
402
|
+
/**
|
|
403
|
+
* * `solana` - Solana
|
|
404
|
+
*/
|
|
405
|
+
bridge_chain?: 'solana';
|
|
406
|
+
readonly display_code: string | null;
|
|
407
|
+
readonly description: string | null;
|
|
408
|
+
readonly symbol: string | null;
|
|
409
|
+
readonly unit: string | null;
|
|
410
|
+
readonly divisibility: number;
|
|
411
|
+
readonly manager: string | null;
|
|
412
|
+
};
|
|
413
|
+
type AdminCurrencyResponse = {
|
|
414
|
+
status: string;
|
|
415
|
+
data: AdminCurrency;
|
|
416
|
+
};
|
|
417
|
+
/**
|
|
418
|
+
* A ModelSerializer that takes additional arguments for
|
|
419
|
+
* "fields", "omit" and "expand" in order to
|
|
420
|
+
* control which fields are displayed, and whether to replace simple
|
|
421
|
+
* values with complex, nested serializations
|
|
422
|
+
*/
|
|
423
|
+
type AdminLiquidationAddress = {
|
|
424
|
+
readonly id: string;
|
|
425
|
+
wallet: UserReducedWallet;
|
|
426
|
+
readonly chain: string;
|
|
427
|
+
/**
|
|
428
|
+
* * `usdc` - Usdc
|
|
429
|
+
* * `eurc` - Eurc
|
|
430
|
+
* * `usd` - Usd
|
|
431
|
+
* * `eur` - Eur
|
|
432
|
+
* * `mxn` - Mxn
|
|
433
|
+
* * `brl` - Brl
|
|
434
|
+
*/
|
|
435
|
+
bridge_currency: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
436
|
+
readonly address: string;
|
|
437
|
+
readonly memo: string | null;
|
|
438
|
+
readonly bridge_id: string | null;
|
|
439
|
+
readonly active: boolean;
|
|
440
|
+
readonly user: string;
|
|
441
|
+
readonly created: number;
|
|
442
|
+
readonly updated: number;
|
|
443
|
+
};
|
|
444
|
+
type AdminLiquidationAddressResponse = {
|
|
445
|
+
status: string;
|
|
446
|
+
data: AdminLiquidationAddress;
|
|
447
|
+
};
|
|
448
|
+
type AdminOperationalAccountLiquidationAddress = {
|
|
449
|
+
account_currency: string;
|
|
450
|
+
/**
|
|
451
|
+
* * `solana` - Solana
|
|
452
|
+
* * `base` - Base
|
|
453
|
+
* * `ethereum` - Ethereum
|
|
454
|
+
* * `stellar` - Stellar
|
|
455
|
+
* * `tron` - Tron
|
|
456
|
+
* * `polygon` - Polygon
|
|
457
|
+
* * `arbitrum` - Arbitrum
|
|
458
|
+
* * `optimism` - Optimism
|
|
459
|
+
*/
|
|
460
|
+
chain: 'solana' | 'base' | 'ethereum' | 'stellar' | 'tron' | 'polygon' | 'arbitrum' | 'optimism';
|
|
461
|
+
};
|
|
462
|
+
type AdminOperationalAccountVirtualAccount = {
|
|
463
|
+
account_currency: string;
|
|
464
|
+
/**
|
|
465
|
+
* * `usd` - Usd
|
|
466
|
+
* * `eur` - Eur
|
|
467
|
+
* * `mxn` - Mxn
|
|
468
|
+
* * `brl` - Brl
|
|
469
|
+
*/
|
|
470
|
+
source_currency?: 'usd' | 'eur' | 'mxn' | 'brl';
|
|
471
|
+
};
|
|
472
|
+
/**
|
|
473
|
+
* A ModelSerializer that takes additional arguments for
|
|
474
|
+
* "fields", "omit" and "expand" in order to
|
|
475
|
+
* control which fields are displayed, and whether to replace simple
|
|
476
|
+
* values with complex, nested serializations
|
|
477
|
+
*/
|
|
478
|
+
type AdminPaymentProcessorQuote = {
|
|
479
|
+
id: string;
|
|
480
|
+
account?: string | null;
|
|
481
|
+
currency: {
|
|
482
|
+
[key: string]: unknown;
|
|
483
|
+
};
|
|
484
|
+
amount?: string | null;
|
|
485
|
+
expiration_date?: string | null;
|
|
486
|
+
payer_user?: {
|
|
487
|
+
[key: string]: unknown;
|
|
488
|
+
};
|
|
489
|
+
/**
|
|
490
|
+
* * `bank` - Bank
|
|
491
|
+
* * `wallet` - Wallet
|
|
492
|
+
* * `crypto` - Crypto
|
|
493
|
+
*/
|
|
494
|
+
processor_type: 'bank' | 'wallet' | 'crypto';
|
|
495
|
+
};
|
|
496
|
+
type AdminPaymentProcessorQuoteResponse = {
|
|
497
|
+
readonly reference: string;
|
|
498
|
+
readonly account: string;
|
|
499
|
+
readonly deposit_details: {
|
|
500
|
+
[key: string]: unknown;
|
|
501
|
+
};
|
|
502
|
+
};
|
|
503
|
+
type AdminPaymentProcessorQuoteResponseResponse = {
|
|
504
|
+
status: string;
|
|
505
|
+
data: AdminPaymentProcessorQuoteResponse;
|
|
506
|
+
};
|
|
507
|
+
/**
|
|
508
|
+
* A ModelSerializer that takes additional arguments for
|
|
509
|
+
* "fields", "omit" and "expand" in order to
|
|
510
|
+
* control which fields are displayed, and whether to replace simple
|
|
511
|
+
* values with complex, nested serializations
|
|
512
|
+
*/
|
|
513
|
+
type AdminPayoutConfiguration = {
|
|
514
|
+
readonly id: string;
|
|
515
|
+
wallet: AdminWallet;
|
|
516
|
+
/**
|
|
517
|
+
* * `solana` - Solana
|
|
518
|
+
*/
|
|
519
|
+
destination_chain: 'solana';
|
|
520
|
+
destination_address: string;
|
|
521
|
+
readonly created: string;
|
|
522
|
+
readonly updated: string;
|
|
523
|
+
};
|
|
524
|
+
type AdminPayoutConfigurationResponse = {
|
|
525
|
+
status: string;
|
|
526
|
+
data: AdminPayoutConfiguration;
|
|
527
|
+
};
|
|
528
|
+
/**
|
|
529
|
+
* A ModelSerializer that takes additional arguments for
|
|
530
|
+
* "fields", "omit" and "expand" in order to
|
|
531
|
+
* control which fields are displayed, and whether to replace simple
|
|
532
|
+
* values with complex, nested serializations
|
|
533
|
+
*/
|
|
534
|
+
type AdminTransactionTransition = {
|
|
535
|
+
readonly id: string;
|
|
536
|
+
readonly transaction: string;
|
|
537
|
+
/**
|
|
538
|
+
* * `Initiating` - Initiating
|
|
539
|
+
* * `Quoted` - Quoted
|
|
540
|
+
* * `Pending` - Pending
|
|
541
|
+
* * `Complete` - Complete
|
|
542
|
+
* * `Failed` - Failed
|
|
543
|
+
*/
|
|
544
|
+
from_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
545
|
+
/**
|
|
546
|
+
* * `Initiating` - Initiating
|
|
547
|
+
* * `Quoted` - Quoted
|
|
548
|
+
* * `Pending` - Pending
|
|
549
|
+
* * `Complete` - Complete
|
|
550
|
+
* * `Failed` - Failed
|
|
551
|
+
*/
|
|
552
|
+
to_status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
553
|
+
/**
|
|
554
|
+
* * `queued` - Queued
|
|
555
|
+
* * `pending` - Pending
|
|
556
|
+
* * `awaiting_verification` - Awaiting Verification
|
|
557
|
+
* * `awaiting_balance` - Awaiting Balance
|
|
558
|
+
* * `paused` - Paused
|
|
559
|
+
* * `approved` - Approved
|
|
560
|
+
* * `declined` - Declined
|
|
561
|
+
*/
|
|
562
|
+
status: 'queued' | 'pending' | 'awaiting_verification' | 'awaiting_balance' | 'paused' | 'approved' | 'declined';
|
|
563
|
+
readonly created: number;
|
|
564
|
+
readonly updated: number;
|
|
565
|
+
};
|
|
566
|
+
type AdminTransactionTransitionResponse = {
|
|
567
|
+
status: string;
|
|
568
|
+
data: AdminTransactionTransition;
|
|
569
|
+
};
|
|
570
|
+
/**
|
|
571
|
+
* A ModelSerializer that takes additional arguments for
|
|
572
|
+
* "fields", "omit" and "expand" in order to
|
|
573
|
+
* control which fields are displayed, and whether to replace simple
|
|
574
|
+
* values with complex, nested serializations
|
|
575
|
+
*/
|
|
576
|
+
type AdminUpdateCompany = {
|
|
577
|
+
readonly id: string;
|
|
578
|
+
readonly secret: string;
|
|
579
|
+
/**
|
|
580
|
+
* * `test` - Test
|
|
581
|
+
* * `production` - Production
|
|
582
|
+
*/
|
|
583
|
+
mode: 'test' | 'production';
|
|
584
|
+
bridge_api_key?: string;
|
|
585
|
+
readonly bridge_webhook_id: string | null;
|
|
586
|
+
admin_user_bridge_id?: string | null;
|
|
587
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
588
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
589
|
+
exchange_rate_override_bps?: number | null;
|
|
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
|
+
type AdminVirtualAccount = {
|
|
598
|
+
readonly id: string;
|
|
599
|
+
wallet: UserReducedWallet;
|
|
600
|
+
/**
|
|
601
|
+
* * `usdc` - Usdc
|
|
602
|
+
* * `eurc` - Eurc
|
|
603
|
+
* * `usd` - Usd
|
|
604
|
+
* * `eur` - Eur
|
|
605
|
+
* * `mxn` - Mxn
|
|
606
|
+
* * `brl` - Brl
|
|
607
|
+
*/
|
|
608
|
+
source_currency: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
609
|
+
readonly bank_account: string | null;
|
|
610
|
+
readonly bank_account_details: string;
|
|
611
|
+
readonly bridge_id: string | null;
|
|
612
|
+
readonly active: boolean;
|
|
613
|
+
readonly created: number;
|
|
614
|
+
readonly updated: number;
|
|
615
|
+
readonly user: string;
|
|
616
|
+
};
|
|
617
|
+
type AdminVirtualAccountResponse = {
|
|
618
|
+
status: string;
|
|
619
|
+
data: AdminVirtualAccount;
|
|
620
|
+
};
|
|
621
|
+
/**
|
|
622
|
+
* A ModelSerializer that takes additional arguments for
|
|
623
|
+
* "fields", "omit" and "expand" in order to
|
|
624
|
+
* control which fields are displayed, and whether to replace simple
|
|
625
|
+
* values with complex, nested serializations
|
|
626
|
+
*/
|
|
627
|
+
type AdminWallet = {
|
|
628
|
+
readonly id: string;
|
|
629
|
+
readonly user: string;
|
|
630
|
+
currency: Currency;
|
|
631
|
+
readonly account: string | null;
|
|
632
|
+
readonly bridge_id: string | null;
|
|
633
|
+
readonly created: number;
|
|
634
|
+
readonly updated: number;
|
|
635
|
+
};
|
|
636
|
+
type AdminWalletResponse = {
|
|
637
|
+
status: string;
|
|
638
|
+
data: AdminWallet;
|
|
639
|
+
};
|
|
640
|
+
type BridgeWebhook = {
|
|
641
|
+
event_id: string;
|
|
642
|
+
event_category: string;
|
|
643
|
+
event_type: string;
|
|
644
|
+
event_object_id: string;
|
|
645
|
+
event_object_status?: string | null;
|
|
646
|
+
event_object_changes?: {
|
|
647
|
+
[key: string]: unknown;
|
|
648
|
+
} | null;
|
|
649
|
+
event_object: {
|
|
650
|
+
[key: string]: unknown;
|
|
651
|
+
};
|
|
652
|
+
event_created_at: string;
|
|
653
|
+
};
|
|
654
|
+
/**
|
|
655
|
+
* A ModelSerializer that takes additional arguments for
|
|
656
|
+
* "fields", "omit" and "expand" in order to
|
|
657
|
+
* control which fields are displayed, and whether to replace simple
|
|
658
|
+
* values with complex, nested serializations
|
|
659
|
+
*/
|
|
660
|
+
type Currency = {
|
|
661
|
+
code: string;
|
|
662
|
+
/**
|
|
663
|
+
* * `usdc` - Usdc
|
|
664
|
+
* * `eurc` - Eurc
|
|
665
|
+
* * `usd` - Usd
|
|
666
|
+
* * `eur` - Eur
|
|
667
|
+
* * `mxn` - Mxn
|
|
668
|
+
* * `brl` - Brl
|
|
669
|
+
*/
|
|
670
|
+
bridge_code?: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
671
|
+
/**
|
|
672
|
+
* * `solana` - Solana
|
|
673
|
+
*/
|
|
674
|
+
bridge_chain?: 'solana';
|
|
675
|
+
display_code?: string | null;
|
|
676
|
+
description?: string | null;
|
|
677
|
+
symbol?: string | null;
|
|
678
|
+
unit?: string | null;
|
|
679
|
+
divisibility?: number;
|
|
680
|
+
};
|
|
681
|
+
type CurrencyResponse = {
|
|
682
|
+
status: string;
|
|
683
|
+
data: Currency;
|
|
684
|
+
};
|
|
685
|
+
/**
|
|
686
|
+
* Serialize the deactivation data, should be a token that represents an admin
|
|
687
|
+
* user.
|
|
688
|
+
*/
|
|
689
|
+
type Deactivate = {
|
|
690
|
+
token: string;
|
|
691
|
+
purge?: boolean;
|
|
692
|
+
};
|
|
693
|
+
type PaginatedAdminCurrencyList = {
|
|
694
|
+
count?: number;
|
|
695
|
+
next?: string | null;
|
|
696
|
+
previous?: string | null;
|
|
697
|
+
results?: Array<AdminCurrency>;
|
|
698
|
+
};
|
|
699
|
+
type PaginatedAdminCurrencyListResponse = {
|
|
700
|
+
status: string;
|
|
701
|
+
data: PaginatedAdminCurrencyList;
|
|
702
|
+
};
|
|
703
|
+
type PaginatedAdminLiquidationAddressList = {
|
|
704
|
+
count?: number;
|
|
705
|
+
next?: string | null;
|
|
706
|
+
previous?: string | null;
|
|
707
|
+
results?: Array<AdminLiquidationAddress>;
|
|
708
|
+
};
|
|
709
|
+
type PaginatedAdminLiquidationAddressListResponse = {
|
|
710
|
+
status: string;
|
|
711
|
+
data: PaginatedAdminLiquidationAddressList;
|
|
712
|
+
};
|
|
713
|
+
type PaginatedAdminPayoutConfigurationList = {
|
|
714
|
+
count?: number;
|
|
715
|
+
next?: string | null;
|
|
716
|
+
previous?: string | null;
|
|
717
|
+
results?: Array<AdminPayoutConfiguration>;
|
|
718
|
+
};
|
|
719
|
+
type PaginatedAdminPayoutConfigurationListResponse = {
|
|
720
|
+
status: string;
|
|
721
|
+
data: PaginatedAdminPayoutConfigurationList;
|
|
722
|
+
};
|
|
723
|
+
type PaginatedAdminTransactionTransitionList = {
|
|
724
|
+
count?: number;
|
|
725
|
+
next?: string | null;
|
|
726
|
+
previous?: string | null;
|
|
727
|
+
results?: Array<AdminTransactionTransition>;
|
|
728
|
+
};
|
|
729
|
+
type PaginatedAdminTransactionTransitionListResponse = {
|
|
730
|
+
status: string;
|
|
731
|
+
data: PaginatedAdminTransactionTransitionList;
|
|
732
|
+
};
|
|
733
|
+
type PaginatedAdminVirtualAccountList = {
|
|
734
|
+
count?: number;
|
|
735
|
+
next?: string | null;
|
|
736
|
+
previous?: string | null;
|
|
737
|
+
results?: Array<AdminVirtualAccount>;
|
|
738
|
+
};
|
|
739
|
+
type PaginatedAdminVirtualAccountListResponse = {
|
|
740
|
+
status: string;
|
|
741
|
+
data: PaginatedAdminVirtualAccountList;
|
|
742
|
+
};
|
|
743
|
+
type PaginatedAdminWalletList = {
|
|
744
|
+
count?: number;
|
|
745
|
+
next?: string | null;
|
|
746
|
+
previous?: string | null;
|
|
747
|
+
results?: Array<AdminWallet>;
|
|
748
|
+
};
|
|
749
|
+
type PaginatedAdminWalletListResponse = {
|
|
750
|
+
status: string;
|
|
751
|
+
data: PaginatedAdminWalletList;
|
|
752
|
+
};
|
|
753
|
+
type PaginatedCurrencyList = {
|
|
754
|
+
count?: number;
|
|
755
|
+
next?: string | null;
|
|
756
|
+
previous?: string | null;
|
|
757
|
+
results?: Array<Currency>;
|
|
758
|
+
};
|
|
759
|
+
type PaginatedCurrencyListResponse = {
|
|
760
|
+
status: string;
|
|
761
|
+
data: PaginatedCurrencyList;
|
|
762
|
+
};
|
|
763
|
+
type PaginatedUserVirtualAccountList = {
|
|
764
|
+
count?: number;
|
|
765
|
+
next?: string | null;
|
|
766
|
+
previous?: string | null;
|
|
767
|
+
results?: Array<UserVirtualAccount>;
|
|
768
|
+
};
|
|
769
|
+
type PaginatedUserVirtualAccountListResponse = {
|
|
770
|
+
status: string;
|
|
771
|
+
data: PaginatedUserVirtualAccountList;
|
|
772
|
+
};
|
|
773
|
+
type PatchedAdminCryptoReturnPolicy = {
|
|
774
|
+
readonly id?: string;
|
|
775
|
+
refund_destination_address?: string | null;
|
|
776
|
+
refund_destination_blockchain_memo?: string | null;
|
|
777
|
+
refund_destination_chain?: string | null;
|
|
778
|
+
refund_destination_currency?: string | null;
|
|
779
|
+
/**
|
|
780
|
+
* * `refund_to_sender` - refund_to_sender
|
|
781
|
+
* * `static_address` - static_address
|
|
782
|
+
*/
|
|
783
|
+
strategy?: 'refund_to_sender' | 'static_address';
|
|
784
|
+
};
|
|
785
|
+
/**
|
|
786
|
+
* A ModelSerializer that takes additional arguments for
|
|
787
|
+
* "fields", "omit" and "expand" in order to
|
|
788
|
+
* control which fields are displayed, and whether to replace simple
|
|
789
|
+
* values with complex, nested serializations
|
|
790
|
+
*/
|
|
791
|
+
type PatchedAdminCurrency = {
|
|
792
|
+
readonly code?: string;
|
|
793
|
+
/**
|
|
794
|
+
* * `usdc` - Usdc
|
|
795
|
+
* * `eurc` - Eurc
|
|
796
|
+
*/
|
|
797
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
798
|
+
/**
|
|
799
|
+
* * `solana` - Solana
|
|
800
|
+
*/
|
|
801
|
+
bridge_chain?: 'solana';
|
|
802
|
+
readonly display_code?: string | null;
|
|
803
|
+
readonly description?: string | null;
|
|
804
|
+
readonly symbol?: string | null;
|
|
805
|
+
readonly unit?: string | null;
|
|
806
|
+
readonly divisibility?: number;
|
|
807
|
+
readonly manager?: string | null;
|
|
808
|
+
};
|
|
809
|
+
/**
|
|
810
|
+
* A ModelSerializer that takes additional arguments for
|
|
811
|
+
* "fields", "omit" and "expand" in order to
|
|
812
|
+
* control which fields are displayed, and whether to replace simple
|
|
813
|
+
* values with complex, nested serializations
|
|
814
|
+
*/
|
|
815
|
+
type PatchedAdminPayoutConfiguration = {
|
|
816
|
+
readonly id?: string;
|
|
817
|
+
wallet?: AdminWallet;
|
|
818
|
+
/**
|
|
819
|
+
* * `solana` - Solana
|
|
820
|
+
*/
|
|
821
|
+
destination_chain?: 'solana';
|
|
822
|
+
destination_address?: string;
|
|
823
|
+
readonly created?: string;
|
|
824
|
+
readonly updated?: string;
|
|
825
|
+
};
|
|
826
|
+
/**
|
|
827
|
+
* A ModelSerializer that takes additional arguments for
|
|
828
|
+
* "fields", "omit" and "expand" in order to
|
|
829
|
+
* control which fields are displayed, and whether to replace simple
|
|
830
|
+
* values with complex, nested serializations
|
|
831
|
+
*/
|
|
832
|
+
type PatchedAdminUpdateCompany = {
|
|
833
|
+
readonly id?: string;
|
|
834
|
+
readonly secret?: string;
|
|
835
|
+
/**
|
|
836
|
+
* * `test` - Test
|
|
837
|
+
* * `production` - Production
|
|
838
|
+
*/
|
|
839
|
+
mode?: 'test' | 'production';
|
|
840
|
+
bridge_api_key?: string;
|
|
841
|
+
readonly bridge_webhook_id?: string | null;
|
|
842
|
+
admin_user_bridge_id?: string | null;
|
|
843
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
844
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
845
|
+
exchange_rate_override_bps?: number | null;
|
|
846
|
+
};
|
|
847
|
+
/**
|
|
848
|
+
* A ModelSerializer that takes additional arguments for
|
|
849
|
+
* "fields", "omit" and "expand" in order to
|
|
850
|
+
* control which fields are displayed, and whether to replace simple
|
|
851
|
+
* values with complex, nested serializations
|
|
852
|
+
*/
|
|
853
|
+
type PatchedUser = {
|
|
854
|
+
readonly id?: string;
|
|
855
|
+
readonly bridge_id?: string;
|
|
856
|
+
bridge_signed_agreement_id?: string;
|
|
857
|
+
};
|
|
858
|
+
/**
|
|
859
|
+
* A ModelSerializer that takes additional arguments for
|
|
860
|
+
* "fields", "omit" and "expand" in order to
|
|
861
|
+
* control which fields are displayed, and whether to replace simple
|
|
862
|
+
* values with complex, nested serializations
|
|
863
|
+
*/
|
|
864
|
+
type User = {
|
|
865
|
+
readonly id: string;
|
|
866
|
+
readonly bridge_id: string;
|
|
867
|
+
bridge_signed_agreement_id: string;
|
|
868
|
+
};
|
|
869
|
+
type UserCreateCustomerKycLink = {
|
|
870
|
+
/**
|
|
871
|
+
* * `individual` - Individual
|
|
872
|
+
* * `business` - Business
|
|
873
|
+
*/
|
|
874
|
+
customer_type?: 'individual' | 'business';
|
|
875
|
+
endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
876
|
+
redirect_uri?: string | null;
|
|
877
|
+
};
|
|
878
|
+
/**
|
|
879
|
+
* A ModelSerializer that takes additional arguments for
|
|
880
|
+
* "fields", "omit" and "expand" in order to
|
|
881
|
+
* control which fields are displayed, and whether to replace simple
|
|
882
|
+
* values with complex, nested serializations
|
|
883
|
+
*/
|
|
884
|
+
type UserCreateVirtualAccount = {
|
|
885
|
+
account: string;
|
|
886
|
+
currency: string;
|
|
887
|
+
/**
|
|
888
|
+
* * `usd` - Usd
|
|
889
|
+
* * `eur` - Eur
|
|
890
|
+
* * `mxn` - Mxn
|
|
891
|
+
* * `brl` - Brl
|
|
892
|
+
*/
|
|
893
|
+
source_currency?: 'usd' | 'eur' | 'mxn' | 'brl';
|
|
894
|
+
};
|
|
895
|
+
type UserCryptoDeposit = {
|
|
896
|
+
account_currency: string;
|
|
897
|
+
/**
|
|
898
|
+
* * `solana` - Solana
|
|
899
|
+
* * `base` - Base
|
|
900
|
+
* * `ethereum` - Ethereum
|
|
901
|
+
* * `stellar` - Stellar
|
|
902
|
+
* * `tron` - Tron
|
|
903
|
+
* * `polygon` - Polygon
|
|
904
|
+
* * `arbitrum` - Arbitrum
|
|
905
|
+
* * `optimism` - Optimism
|
|
906
|
+
*/
|
|
907
|
+
chain: 'solana' | 'base' | 'ethereum' | 'stellar' | 'tron' | 'polygon' | 'arbitrum' | 'optimism';
|
|
908
|
+
};
|
|
909
|
+
type UserCryptoDepositResponse = {
|
|
910
|
+
readonly chain: string;
|
|
911
|
+
readonly currency: string;
|
|
912
|
+
readonly address: string;
|
|
913
|
+
readonly memo: string;
|
|
914
|
+
};
|
|
915
|
+
type UserCryptoDepositResponseResponse = {
|
|
916
|
+
status: string;
|
|
917
|
+
data: UserCryptoDepositResponse;
|
|
918
|
+
};
|
|
919
|
+
type UserCustomerKycLink = {
|
|
920
|
+
readonly kyc: {
|
|
921
|
+
[key: string]: unknown;
|
|
922
|
+
};
|
|
923
|
+
readonly tos: {
|
|
924
|
+
[key: string]: unknown;
|
|
925
|
+
};
|
|
926
|
+
readonly endorsements: {
|
|
927
|
+
[key: string]: unknown;
|
|
928
|
+
};
|
|
929
|
+
};
|
|
930
|
+
type UserCustomerKycLinkResponse = {
|
|
931
|
+
status: string;
|
|
932
|
+
data: UserCustomerKycLink;
|
|
933
|
+
};
|
|
934
|
+
type UserExchangeRateResponse = {
|
|
935
|
+
midmarket_rate: string;
|
|
936
|
+
buy_rate: string;
|
|
937
|
+
sell_rate: string;
|
|
938
|
+
};
|
|
939
|
+
type UserExchangeRateResponseResponse = {
|
|
940
|
+
status: string;
|
|
941
|
+
data: UserExchangeRateResponse;
|
|
942
|
+
};
|
|
943
|
+
/**
|
|
944
|
+
* A ModelSerializer that takes additional arguments for
|
|
945
|
+
* "fields", "omit" and "expand" in order to
|
|
946
|
+
* control which fields are displayed, and whether to replace simple
|
|
947
|
+
* values with complex, nested serializations
|
|
948
|
+
*/
|
|
949
|
+
type UserReducedWallet = {
|
|
950
|
+
readonly id: string;
|
|
951
|
+
readonly account: string | null;
|
|
952
|
+
currency: Currency;
|
|
953
|
+
readonly bridge_id: string | null;
|
|
954
|
+
};
|
|
955
|
+
type UserResponse = {
|
|
956
|
+
status: string;
|
|
957
|
+
data: User;
|
|
958
|
+
};
|
|
959
|
+
/**
|
|
960
|
+
* A ModelSerializer that takes additional arguments for
|
|
961
|
+
* "fields", "omit" and "expand" in order to
|
|
962
|
+
* control which fields are displayed, and whether to replace simple
|
|
963
|
+
* values with complex, nested serializations
|
|
964
|
+
*/
|
|
965
|
+
type UserVirtualAccount = {
|
|
966
|
+
readonly id: string;
|
|
967
|
+
wallet: UserReducedWallet;
|
|
968
|
+
/**
|
|
969
|
+
* * `usdc` - Usdc
|
|
970
|
+
* * `eurc` - Eurc
|
|
971
|
+
* * `usd` - Usd
|
|
972
|
+
* * `eur` - Eur
|
|
973
|
+
* * `mxn` - Mxn
|
|
974
|
+
* * `brl` - Brl
|
|
975
|
+
*/
|
|
976
|
+
source_currency: 'usdc' | 'eurc' | 'usd' | 'eur' | 'mxn' | 'brl';
|
|
977
|
+
readonly bank_account: string | null;
|
|
978
|
+
readonly bank_account_details: string;
|
|
979
|
+
readonly bridge_id: string | null;
|
|
980
|
+
readonly active: boolean;
|
|
981
|
+
readonly created: number;
|
|
982
|
+
readonly updated: number;
|
|
983
|
+
};
|
|
984
|
+
type UserVirtualAccountResponse = {
|
|
985
|
+
status: string;
|
|
986
|
+
data: UserVirtualAccount;
|
|
987
|
+
};
|
|
988
|
+
type Webhook = {
|
|
989
|
+
id: string;
|
|
990
|
+
/**
|
|
991
|
+
* * `account.currency.create` - Account Currency Create
|
|
992
|
+
* * `bank_account.create` - Bank Account Create
|
|
993
|
+
* * `bank_account.update` - Bank Account Update
|
|
994
|
+
* * `bank_account.delete` - Bank Account Delete
|
|
995
|
+
* * `currency.create` - Currency Create
|
|
996
|
+
* * `currency.update` - Currency Update
|
|
997
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
998
|
+
* * `transaction.execute` - Transaction Execute
|
|
999
|
+
* * `transaction.transition.update` - Transaction Transition Update
|
|
1000
|
+
* * `user.update` - User Update
|
|
1001
|
+
*/
|
|
1002
|
+
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';
|
|
1003
|
+
company: string;
|
|
1004
|
+
data: {
|
|
1005
|
+
[key: string]: unknown;
|
|
1006
|
+
};
|
|
1007
|
+
};
|
|
1008
|
+
/**
|
|
1009
|
+
* A ModelSerializer that takes additional arguments for
|
|
1010
|
+
* "fields", "omit" and "expand" in order to
|
|
1011
|
+
* control which fields are displayed, and whether to replace simple
|
|
1012
|
+
* values with complex, nested serializations
|
|
1013
|
+
*/
|
|
1014
|
+
type AdminCompanyWritable = {
|
|
1015
|
+
bridge_api_key: string;
|
|
1016
|
+
};
|
|
1017
|
+
type AdminCompanyResponseWritable = {
|
|
1018
|
+
status: string;
|
|
1019
|
+
data: AdminCompanyWritable;
|
|
1020
|
+
};
|
|
1021
|
+
/**
|
|
1022
|
+
* A ModelSerializer that takes additional arguments for
|
|
1023
|
+
* "fields", "omit" and "expand" in order to
|
|
1024
|
+
* control which fields are displayed, and whether to replace simple
|
|
1025
|
+
* values with complex, nested serializations
|
|
1026
|
+
*/
|
|
1027
|
+
type AdminCreatePayoutConfigurationWritable = {
|
|
1028
|
+
account: string;
|
|
1029
|
+
currency: string;
|
|
1030
|
+
/**
|
|
1031
|
+
* * `solana` - Solana
|
|
1032
|
+
*/
|
|
1033
|
+
destination_chain: 'solana';
|
|
1034
|
+
destination_address: string;
|
|
1035
|
+
};
|
|
1036
|
+
type AdminCryptoReturnPolicyWritable = {
|
|
1037
|
+
refund_destination_address?: string | null;
|
|
1038
|
+
refund_destination_blockchain_memo?: string | null;
|
|
1039
|
+
refund_destination_chain?: string | null;
|
|
1040
|
+
refund_destination_currency?: string | null;
|
|
1041
|
+
/**
|
|
1042
|
+
* * `refund_to_sender` - refund_to_sender
|
|
1043
|
+
* * `static_address` - static_address
|
|
1044
|
+
*/
|
|
1045
|
+
strategy: 'refund_to_sender' | 'static_address';
|
|
1046
|
+
};
|
|
1047
|
+
type AdminCryptoReturnPolicyListWritable = Array<AdminCryptoReturnPolicyWritable>;
|
|
1048
|
+
type AdminCryptoReturnPolicyListResponseWritable = {
|
|
1049
|
+
status: string;
|
|
1050
|
+
data: AdminCryptoReturnPolicyListWritable;
|
|
1051
|
+
};
|
|
1052
|
+
type AdminCryptoReturnPolicyResponseWritable = {
|
|
1053
|
+
status: string;
|
|
1054
|
+
data: AdminCryptoReturnPolicyWritable;
|
|
1055
|
+
};
|
|
1056
|
+
/**
|
|
1057
|
+
* A ModelSerializer that takes additional arguments for
|
|
1058
|
+
* "fields", "omit" and "expand" in order to
|
|
1059
|
+
* control which fields are displayed, and whether to replace simple
|
|
1060
|
+
* values with complex, nested serializations
|
|
1061
|
+
*/
|
|
1062
|
+
type AdminCurrencyWritable = {
|
|
1063
|
+
/**
|
|
1064
|
+
* * `usdc` - Usdc
|
|
1065
|
+
* * `eurc` - Eurc
|
|
1066
|
+
*/
|
|
1067
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
1068
|
+
/**
|
|
1069
|
+
* * `solana` - Solana
|
|
1070
|
+
*/
|
|
1071
|
+
bridge_chain?: 'solana';
|
|
1072
|
+
};
|
|
1073
|
+
type AdminCurrencyResponseWritable = {
|
|
1074
|
+
status: string;
|
|
1075
|
+
data: AdminCurrencyWritable;
|
|
1076
|
+
};
|
|
1077
|
+
/**
|
|
1078
|
+
* A ModelSerializer that takes additional arguments for
|
|
1079
|
+
* "fields", "omit" and "expand" in order to
|
|
1080
|
+
* control which fields are displayed, and whether to replace simple
|
|
1081
|
+
* values with complex, nested serializations
|
|
1082
|
+
*/
|
|
1083
|
+
type AdminLiquidationAddressWritable = {
|
|
1084
|
+
[key: string]: unknown;
|
|
1085
|
+
};
|
|
1086
|
+
type AdminLiquidationAddressResponseWritable = {
|
|
1087
|
+
status: string;
|
|
1088
|
+
data: AdminLiquidationAddressWritable;
|
|
1089
|
+
};
|
|
1090
|
+
type AdminPaymentProcessorQuoteResponseResponseWritable = {
|
|
1091
|
+
status: string;
|
|
1092
|
+
};
|
|
1093
|
+
/**
|
|
1094
|
+
* A ModelSerializer that takes additional arguments for
|
|
1095
|
+
* "fields", "omit" and "expand" in order to
|
|
1096
|
+
* control which fields are displayed, and whether to replace simple
|
|
1097
|
+
* values with complex, nested serializations
|
|
1098
|
+
*/
|
|
1099
|
+
type AdminPayoutConfigurationWritable = {
|
|
1100
|
+
/**
|
|
1101
|
+
* * `solana` - Solana
|
|
1102
|
+
*/
|
|
1103
|
+
destination_chain: 'solana';
|
|
1104
|
+
destination_address: string;
|
|
1105
|
+
};
|
|
1106
|
+
type AdminPayoutConfigurationResponseWritable = {
|
|
1107
|
+
status: string;
|
|
1108
|
+
data: AdminPayoutConfigurationWritable;
|
|
1109
|
+
};
|
|
1110
|
+
type AdminTransactionTransitionResponseWritable = {
|
|
1111
|
+
status: string;
|
|
1112
|
+
};
|
|
1113
|
+
/**
|
|
1114
|
+
* A ModelSerializer that takes additional arguments for
|
|
1115
|
+
* "fields", "omit" and "expand" in order to
|
|
1116
|
+
* control which fields are displayed, and whether to replace simple
|
|
1117
|
+
* values with complex, nested serializations
|
|
1118
|
+
*/
|
|
1119
|
+
type AdminUpdateCompanyWritable = {
|
|
1120
|
+
bridge_api_key?: string;
|
|
1121
|
+
admin_user_bridge_id?: string | null;
|
|
1122
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
1123
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
1124
|
+
exchange_rate_override_bps?: number | null;
|
|
1125
|
+
};
|
|
1126
|
+
/**
|
|
1127
|
+
* A ModelSerializer that takes additional arguments for
|
|
1128
|
+
* "fields", "omit" and "expand" in order to
|
|
1129
|
+
* control which fields are displayed, and whether to replace simple
|
|
1130
|
+
* values with complex, nested serializations
|
|
1131
|
+
*/
|
|
1132
|
+
type AdminVirtualAccountWritable = {
|
|
1133
|
+
[key: string]: unknown;
|
|
1134
|
+
};
|
|
1135
|
+
type AdminVirtualAccountResponseWritable = {
|
|
1136
|
+
status: string;
|
|
1137
|
+
data: AdminVirtualAccountWritable;
|
|
1138
|
+
};
|
|
1139
|
+
/**
|
|
1140
|
+
* A ModelSerializer that takes additional arguments for
|
|
1141
|
+
* "fields", "omit" and "expand" in order to
|
|
1142
|
+
* control which fields are displayed, and whether to replace simple
|
|
1143
|
+
* values with complex, nested serializations
|
|
1144
|
+
*/
|
|
1145
|
+
type AdminWalletWritable = {
|
|
1146
|
+
[key: string]: unknown;
|
|
1147
|
+
};
|
|
1148
|
+
type AdminWalletResponseWritable = {
|
|
1149
|
+
status: string;
|
|
1150
|
+
data: AdminWalletWritable;
|
|
1151
|
+
};
|
|
1152
|
+
type PaginatedAdminCurrencyListWritable = {
|
|
1153
|
+
count?: number;
|
|
1154
|
+
next?: string | null;
|
|
1155
|
+
previous?: string | null;
|
|
1156
|
+
results?: Array<AdminCurrencyWritable>;
|
|
1157
|
+
};
|
|
1158
|
+
type PaginatedAdminCurrencyListResponseWritable = {
|
|
1159
|
+
status: string;
|
|
1160
|
+
data: PaginatedAdminCurrencyListWritable;
|
|
1161
|
+
};
|
|
1162
|
+
type PaginatedAdminLiquidationAddressListWritable = {
|
|
1163
|
+
count?: number;
|
|
1164
|
+
next?: string | null;
|
|
1165
|
+
previous?: string | null;
|
|
1166
|
+
results?: Array<AdminLiquidationAddressWritable>;
|
|
1167
|
+
};
|
|
1168
|
+
type PaginatedAdminLiquidationAddressListResponseWritable = {
|
|
1169
|
+
status: string;
|
|
1170
|
+
data: PaginatedAdminLiquidationAddressListWritable;
|
|
1171
|
+
};
|
|
1172
|
+
type PaginatedAdminPayoutConfigurationListWritable = {
|
|
1173
|
+
count?: number;
|
|
1174
|
+
next?: string | null;
|
|
1175
|
+
previous?: string | null;
|
|
1176
|
+
results?: Array<AdminPayoutConfigurationWritable>;
|
|
1177
|
+
};
|
|
1178
|
+
type PaginatedAdminPayoutConfigurationListResponseWritable = {
|
|
1179
|
+
status: string;
|
|
1180
|
+
data: PaginatedAdminPayoutConfigurationListWritable;
|
|
1181
|
+
};
|
|
1182
|
+
type PaginatedAdminTransactionTransitionListWritable = {
|
|
1183
|
+
count?: number;
|
|
1184
|
+
next?: string | null;
|
|
1185
|
+
previous?: string | null;
|
|
1186
|
+
results?: Array<unknown>;
|
|
1187
|
+
};
|
|
1188
|
+
type PaginatedAdminTransactionTransitionListResponseWritable = {
|
|
1189
|
+
status: string;
|
|
1190
|
+
data: PaginatedAdminTransactionTransitionListWritable;
|
|
1191
|
+
};
|
|
1192
|
+
type PaginatedAdminVirtualAccountListWritable = {
|
|
1193
|
+
count?: number;
|
|
1194
|
+
next?: string | null;
|
|
1195
|
+
previous?: string | null;
|
|
1196
|
+
results?: Array<AdminVirtualAccountWritable>;
|
|
1197
|
+
};
|
|
1198
|
+
type PaginatedAdminVirtualAccountListResponseWritable = {
|
|
1199
|
+
status: string;
|
|
1200
|
+
data: PaginatedAdminVirtualAccountListWritable;
|
|
1201
|
+
};
|
|
1202
|
+
type PaginatedAdminWalletListWritable = {
|
|
1203
|
+
count?: number;
|
|
1204
|
+
next?: string | null;
|
|
1205
|
+
previous?: string | null;
|
|
1206
|
+
results?: Array<AdminWalletWritable>;
|
|
1207
|
+
};
|
|
1208
|
+
type PaginatedAdminWalletListResponseWritable = {
|
|
1209
|
+
status: string;
|
|
1210
|
+
data: PaginatedAdminWalletListWritable;
|
|
1211
|
+
};
|
|
1212
|
+
type PaginatedUserVirtualAccountListWritable = {
|
|
1213
|
+
count?: number;
|
|
1214
|
+
next?: string | null;
|
|
1215
|
+
previous?: string | null;
|
|
1216
|
+
results?: Array<UserVirtualAccountWritable>;
|
|
1217
|
+
};
|
|
1218
|
+
type PaginatedUserVirtualAccountListResponseWritable = {
|
|
1219
|
+
status: string;
|
|
1220
|
+
data: PaginatedUserVirtualAccountListWritable;
|
|
1221
|
+
};
|
|
1222
|
+
type PatchedAdminCryptoReturnPolicyWritable = {
|
|
1223
|
+
refund_destination_address?: string | null;
|
|
1224
|
+
refund_destination_blockchain_memo?: string | null;
|
|
1225
|
+
refund_destination_chain?: string | null;
|
|
1226
|
+
refund_destination_currency?: string | null;
|
|
1227
|
+
/**
|
|
1228
|
+
* * `refund_to_sender` - refund_to_sender
|
|
1229
|
+
* * `static_address` - static_address
|
|
1230
|
+
*/
|
|
1231
|
+
strategy?: 'refund_to_sender' | 'static_address';
|
|
1232
|
+
};
|
|
1233
|
+
/**
|
|
1234
|
+
* A ModelSerializer that takes additional arguments for
|
|
1235
|
+
* "fields", "omit" and "expand" in order to
|
|
1236
|
+
* control which fields are displayed, and whether to replace simple
|
|
1237
|
+
* values with complex, nested serializations
|
|
1238
|
+
*/
|
|
1239
|
+
type PatchedAdminCurrencyWritable = {
|
|
1240
|
+
/**
|
|
1241
|
+
* * `usdc` - Usdc
|
|
1242
|
+
* * `eurc` - Eurc
|
|
1243
|
+
*/
|
|
1244
|
+
bridge_code?: 'usdc' | 'eurc';
|
|
1245
|
+
/**
|
|
1246
|
+
* * `solana` - Solana
|
|
1247
|
+
*/
|
|
1248
|
+
bridge_chain?: 'solana';
|
|
1249
|
+
};
|
|
1250
|
+
/**
|
|
1251
|
+
* A ModelSerializer that takes additional arguments for
|
|
1252
|
+
* "fields", "omit" and "expand" in order to
|
|
1253
|
+
* control which fields are displayed, and whether to replace simple
|
|
1254
|
+
* values with complex, nested serializations
|
|
1255
|
+
*/
|
|
1256
|
+
type PatchedAdminPayoutConfigurationWritable = {
|
|
1257
|
+
/**
|
|
1258
|
+
* * `solana` - Solana
|
|
1259
|
+
*/
|
|
1260
|
+
destination_chain?: 'solana';
|
|
1261
|
+
destination_address?: string;
|
|
1262
|
+
};
|
|
1263
|
+
/**
|
|
1264
|
+
* A ModelSerializer that takes additional arguments for
|
|
1265
|
+
* "fields", "omit" and "expand" in order to
|
|
1266
|
+
* control which fields are displayed, and whether to replace simple
|
|
1267
|
+
* values with complex, nested serializations
|
|
1268
|
+
*/
|
|
1269
|
+
type PatchedAdminUpdateCompanyWritable = {
|
|
1270
|
+
bridge_api_key?: string;
|
|
1271
|
+
admin_user_bridge_id?: string | null;
|
|
1272
|
+
bridge_default_endorsements?: Array<'base' | 'sepa' | 'spei' | 'pix' | 'cards'> | null;
|
|
1273
|
+
bridge_tos_platform_legal_term?: string | null;
|
|
1274
|
+
exchange_rate_override_bps?: number | null;
|
|
1275
|
+
};
|
|
1276
|
+
/**
|
|
1277
|
+
* A ModelSerializer that takes additional arguments for
|
|
1278
|
+
* "fields", "omit" and "expand" in order to
|
|
1279
|
+
* control which fields are displayed, and whether to replace simple
|
|
1280
|
+
* values with complex, nested serializations
|
|
1281
|
+
*/
|
|
1282
|
+
type PatchedUserWritable = {
|
|
1283
|
+
bridge_signed_agreement_id?: string;
|
|
1284
|
+
};
|
|
1285
|
+
/**
|
|
1286
|
+
* A ModelSerializer that takes additional arguments for
|
|
1287
|
+
* "fields", "omit" and "expand" in order to
|
|
1288
|
+
* control which fields are displayed, and whether to replace simple
|
|
1289
|
+
* values with complex, nested serializations
|
|
1290
|
+
*/
|
|
1291
|
+
type UserWritable = {
|
|
1292
|
+
bridge_signed_agreement_id: string;
|
|
1293
|
+
};
|
|
1294
|
+
type UserCryptoDepositResponseResponseWritable = {
|
|
1295
|
+
status: string;
|
|
1296
|
+
};
|
|
1297
|
+
type UserCustomerKycLinkResponseWritable = {
|
|
1298
|
+
status: string;
|
|
1299
|
+
};
|
|
1300
|
+
/**
|
|
1301
|
+
* A ModelSerializer that takes additional arguments for
|
|
1302
|
+
* "fields", "omit" and "expand" in order to
|
|
1303
|
+
* control which fields are displayed, and whether to replace simple
|
|
1304
|
+
* values with complex, nested serializations
|
|
1305
|
+
*/
|
|
1306
|
+
type UserReducedWalletWritable = {
|
|
1307
|
+
[key: string]: unknown;
|
|
1308
|
+
};
|
|
1309
|
+
type UserResponseWritable = {
|
|
1310
|
+
status: string;
|
|
1311
|
+
data: UserWritable;
|
|
1312
|
+
};
|
|
1313
|
+
/**
|
|
1314
|
+
* A ModelSerializer that takes additional arguments for
|
|
1315
|
+
* "fields", "omit" and "expand" in order to
|
|
1316
|
+
* control which fields are displayed, and whether to replace simple
|
|
1317
|
+
* values with complex, nested serializations
|
|
1318
|
+
*/
|
|
1319
|
+
type UserVirtualAccountWritable = {
|
|
1320
|
+
[key: string]: unknown;
|
|
1321
|
+
};
|
|
1322
|
+
type UserVirtualAccountResponseWritable = {
|
|
1323
|
+
status: string;
|
|
1324
|
+
data: UserVirtualAccountWritable;
|
|
1325
|
+
};
|
|
1326
|
+
type ActivateCreateData = {
|
|
1327
|
+
body: Activate;
|
|
1328
|
+
path?: never;
|
|
1329
|
+
query?: never;
|
|
1330
|
+
url: '/activate/';
|
|
1331
|
+
};
|
|
1332
|
+
type ActivateCreateResponses = {
|
|
1333
|
+
200: ActionResponse;
|
|
1334
|
+
};
|
|
1335
|
+
type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
1336
|
+
type AdminCompanyRetrieveData = {
|
|
1337
|
+
body?: never;
|
|
1338
|
+
path?: never;
|
|
1339
|
+
query?: never;
|
|
1340
|
+
url: '/admin/company/';
|
|
1341
|
+
};
|
|
1342
|
+
type AdminCompanyRetrieveResponses = {
|
|
1343
|
+
200: AdminCompanyResponse;
|
|
1344
|
+
};
|
|
1345
|
+
type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
1346
|
+
type AdminCompanyPartialUpdateData = {
|
|
1347
|
+
body?: PatchedAdminUpdateCompanyWritable;
|
|
1348
|
+
path?: never;
|
|
1349
|
+
query?: never;
|
|
1350
|
+
url: '/admin/company/';
|
|
1351
|
+
};
|
|
1352
|
+
type AdminCompanyPartialUpdateResponses = {
|
|
1353
|
+
200: AdminCompanyResponse;
|
|
1354
|
+
};
|
|
1355
|
+
type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
1356
|
+
type AdminCompanyUpdateData = {
|
|
1357
|
+
body?: AdminUpdateCompanyWritable;
|
|
1358
|
+
path?: never;
|
|
1359
|
+
query?: never;
|
|
1360
|
+
url: '/admin/company/';
|
|
1361
|
+
};
|
|
1362
|
+
type AdminCompanyUpdateResponses = {
|
|
1363
|
+
200: AdminCompanyResponse;
|
|
1364
|
+
};
|
|
1365
|
+
type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
1366
|
+
type AdminCryptoReturnPoliciesListData = {
|
|
1367
|
+
body?: never;
|
|
1368
|
+
path?: never;
|
|
1369
|
+
query?: never;
|
|
1370
|
+
url: '/admin/crypto-return-policies/';
|
|
1371
|
+
};
|
|
1372
|
+
type AdminCryptoReturnPoliciesListResponses = {
|
|
1373
|
+
200: AdminCryptoReturnPolicyListResponse;
|
|
1374
|
+
};
|
|
1375
|
+
type AdminCryptoReturnPoliciesListResponse = AdminCryptoReturnPoliciesListResponses[keyof AdminCryptoReturnPoliciesListResponses];
|
|
1376
|
+
type AdminCryptoReturnPoliciesCreateData = {
|
|
1377
|
+
body: AdminCryptoReturnPolicyWritable;
|
|
1378
|
+
path?: never;
|
|
1379
|
+
query?: never;
|
|
1380
|
+
url: '/admin/crypto-return-policies/';
|
|
1381
|
+
};
|
|
1382
|
+
type AdminCryptoReturnPoliciesCreateResponses = {
|
|
1383
|
+
201: AdminCryptoReturnPolicyResponse;
|
|
1384
|
+
};
|
|
1385
|
+
type AdminCryptoReturnPoliciesCreateResponse = AdminCryptoReturnPoliciesCreateResponses[keyof AdminCryptoReturnPoliciesCreateResponses];
|
|
1386
|
+
type AdminCryptoReturnPoliciesDestroyData = {
|
|
1387
|
+
body?: never;
|
|
1388
|
+
path: {
|
|
1389
|
+
identifier: string;
|
|
1390
|
+
};
|
|
1391
|
+
query?: never;
|
|
1392
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1393
|
+
};
|
|
1394
|
+
type AdminCryptoReturnPoliciesDestroyResponses = {
|
|
1395
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1396
|
+
};
|
|
1397
|
+
type AdminCryptoReturnPoliciesDestroyResponse = AdminCryptoReturnPoliciesDestroyResponses[keyof AdminCryptoReturnPoliciesDestroyResponses];
|
|
1398
|
+
type AdminCryptoReturnPoliciesRetrieveData = {
|
|
1399
|
+
body?: never;
|
|
1400
|
+
path: {
|
|
1401
|
+
identifier: string;
|
|
1402
|
+
};
|
|
1403
|
+
query?: never;
|
|
1404
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1405
|
+
};
|
|
1406
|
+
type AdminCryptoReturnPoliciesRetrieveResponses = {
|
|
1407
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1408
|
+
};
|
|
1409
|
+
type AdminCryptoReturnPoliciesRetrieveResponse = AdminCryptoReturnPoliciesRetrieveResponses[keyof AdminCryptoReturnPoliciesRetrieveResponses];
|
|
1410
|
+
type AdminCryptoReturnPoliciesPartialUpdateData = {
|
|
1411
|
+
body?: PatchedAdminCryptoReturnPolicyWritable;
|
|
1412
|
+
path: {
|
|
1413
|
+
identifier: string;
|
|
1414
|
+
};
|
|
1415
|
+
query?: never;
|
|
1416
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1417
|
+
};
|
|
1418
|
+
type AdminCryptoReturnPoliciesPartialUpdateResponses = {
|
|
1419
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1420
|
+
};
|
|
1421
|
+
type AdminCryptoReturnPoliciesPartialUpdateResponse = AdminCryptoReturnPoliciesPartialUpdateResponses[keyof AdminCryptoReturnPoliciesPartialUpdateResponses];
|
|
1422
|
+
type AdminCryptoReturnPoliciesUpdateData = {
|
|
1423
|
+
body: AdminCryptoReturnPolicyWritable;
|
|
1424
|
+
path: {
|
|
1425
|
+
identifier: string;
|
|
1426
|
+
};
|
|
1427
|
+
query?: never;
|
|
1428
|
+
url: '/admin/crypto-return-policies/{identifier}/';
|
|
1429
|
+
};
|
|
1430
|
+
type AdminCryptoReturnPoliciesUpdateResponses = {
|
|
1431
|
+
200: AdminCryptoReturnPolicyResponse;
|
|
1432
|
+
};
|
|
1433
|
+
type AdminCryptoReturnPoliciesUpdateResponse = AdminCryptoReturnPoliciesUpdateResponses[keyof AdminCryptoReturnPoliciesUpdateResponses];
|
|
1434
|
+
type AdminCurrenciesListData = {
|
|
1435
|
+
body?: never;
|
|
1436
|
+
path?: never;
|
|
1437
|
+
query?: {
|
|
1438
|
+
/**
|
|
1439
|
+
* A page number within the paginated result set.
|
|
1440
|
+
*/
|
|
1441
|
+
page?: number;
|
|
1442
|
+
/**
|
|
1443
|
+
* Number of results to return per page.
|
|
1444
|
+
*/
|
|
1445
|
+
page_size?: number;
|
|
1446
|
+
};
|
|
1447
|
+
url: '/admin/currencies/';
|
|
1448
|
+
};
|
|
1449
|
+
type AdminCurrenciesListResponses = {
|
|
1450
|
+
200: PaginatedAdminCurrencyListResponse;
|
|
1451
|
+
};
|
|
1452
|
+
type AdminCurrenciesListResponse = AdminCurrenciesListResponses[keyof AdminCurrenciesListResponses];
|
|
1453
|
+
type AdminCurrenciesRetrieveData = {
|
|
1454
|
+
body?: never;
|
|
1455
|
+
path: {
|
|
1456
|
+
code: string;
|
|
1457
|
+
};
|
|
1458
|
+
query?: never;
|
|
1459
|
+
url: '/admin/currencies/{code}/';
|
|
1460
|
+
};
|
|
1461
|
+
type AdminCurrenciesRetrieveResponses = {
|
|
1462
|
+
200: AdminCurrencyResponse;
|
|
1463
|
+
};
|
|
1464
|
+
type AdminCurrenciesRetrieveResponse = AdminCurrenciesRetrieveResponses[keyof AdminCurrenciesRetrieveResponses];
|
|
1465
|
+
type AdminCurrenciesPartialUpdateData = {
|
|
1466
|
+
body?: PatchedAdminCurrencyWritable;
|
|
1467
|
+
path: {
|
|
1468
|
+
code: string;
|
|
1469
|
+
};
|
|
1470
|
+
query?: never;
|
|
1471
|
+
url: '/admin/currencies/{code}/';
|
|
1472
|
+
};
|
|
1473
|
+
type AdminCurrenciesPartialUpdateResponses = {
|
|
1474
|
+
200: AdminCurrencyResponse;
|
|
1475
|
+
};
|
|
1476
|
+
type AdminCurrenciesPartialUpdateResponse = AdminCurrenciesPartialUpdateResponses[keyof AdminCurrenciesPartialUpdateResponses];
|
|
1477
|
+
type AdminCurrenciesUpdateData = {
|
|
1478
|
+
body?: AdminCurrencyWritable;
|
|
1479
|
+
path: {
|
|
1480
|
+
code: string;
|
|
1481
|
+
};
|
|
1482
|
+
query?: never;
|
|
1483
|
+
url: '/admin/currencies/{code}/';
|
|
1484
|
+
};
|
|
1485
|
+
type AdminCurrenciesUpdateResponses = {
|
|
1486
|
+
200: AdminCurrencyResponse;
|
|
1487
|
+
};
|
|
1488
|
+
type AdminCurrenciesUpdateResponse = AdminCurrenciesUpdateResponses[keyof AdminCurrenciesUpdateResponses];
|
|
1489
|
+
type AdminLiquidationAddressesListData = {
|
|
1490
|
+
body?: never;
|
|
1491
|
+
path?: never;
|
|
1492
|
+
query?: {
|
|
1493
|
+
account?: string;
|
|
1494
|
+
active?: boolean;
|
|
1495
|
+
bridge_id?: string;
|
|
1496
|
+
currency?: string;
|
|
1497
|
+
/**
|
|
1498
|
+
* A page number within the paginated result set.
|
|
1499
|
+
*/
|
|
1500
|
+
page?: number;
|
|
1501
|
+
/**
|
|
1502
|
+
* Number of results to return per page.
|
|
1503
|
+
*/
|
|
1504
|
+
page_size?: number;
|
|
1505
|
+
user?: string;
|
|
1506
|
+
};
|
|
1507
|
+
url: '/admin/liquidation-addresses/';
|
|
1508
|
+
};
|
|
1509
|
+
type AdminLiquidationAddressesListResponses = {
|
|
1510
|
+
200: PaginatedAdminLiquidationAddressListResponse;
|
|
1511
|
+
};
|
|
1512
|
+
type AdminLiquidationAddressesListResponse = AdminLiquidationAddressesListResponses[keyof AdminLiquidationAddressesListResponses];
|
|
1513
|
+
type AdminLiquidationAddressesRetrieveData = {
|
|
1514
|
+
body?: never;
|
|
1515
|
+
path: {
|
|
1516
|
+
identifier: string;
|
|
1517
|
+
};
|
|
1518
|
+
query?: never;
|
|
1519
|
+
url: '/admin/liquidation-addresses/{identifier}/';
|
|
1520
|
+
};
|
|
1521
|
+
type AdminLiquidationAddressesRetrieveResponses = {
|
|
1522
|
+
200: AdminLiquidationAddressResponse;
|
|
1523
|
+
};
|
|
1524
|
+
type AdminLiquidationAddressesRetrieveResponse = AdminLiquidationAddressesRetrieveResponses[keyof AdminLiquidationAddressesRetrieveResponses];
|
|
1525
|
+
type AdminOperationalAccountsLiquidationAddressCreateData = {
|
|
1526
|
+
body: AdminOperationalAccountLiquidationAddress;
|
|
1527
|
+
path?: never;
|
|
1528
|
+
query?: never;
|
|
1529
|
+
url: '/admin/operational-accounts/liquidation-address/';
|
|
1530
|
+
};
|
|
1531
|
+
type AdminOperationalAccountsLiquidationAddressCreateResponses = {
|
|
1532
|
+
201: UserCryptoDepositResponseResponse;
|
|
1533
|
+
};
|
|
1534
|
+
type AdminOperationalAccountsLiquidationAddressCreateResponse = AdminOperationalAccountsLiquidationAddressCreateResponses[keyof AdminOperationalAccountsLiquidationAddressCreateResponses];
|
|
1535
|
+
type AdminOperationalAccountsVirtualAccountCreateData = {
|
|
1536
|
+
body: AdminOperationalAccountVirtualAccount;
|
|
1537
|
+
path?: never;
|
|
1538
|
+
query?: never;
|
|
1539
|
+
url: '/admin/operational-accounts/virtual-account/';
|
|
1540
|
+
};
|
|
1541
|
+
type AdminOperationalAccountsVirtualAccountCreateResponses = {
|
|
1542
|
+
201: AdminVirtualAccountResponse;
|
|
1543
|
+
};
|
|
1544
|
+
type AdminOperationalAccountsVirtualAccountCreateResponse = AdminOperationalAccountsVirtualAccountCreateResponses[keyof AdminOperationalAccountsVirtualAccountCreateResponses];
|
|
1545
|
+
type AdminPaymentProcessorQuoteCreateData = {
|
|
1546
|
+
body: AdminPaymentProcessorQuote;
|
|
1547
|
+
path?: never;
|
|
1548
|
+
query?: never;
|
|
1549
|
+
url: '/admin/payment-processor-quote/';
|
|
1550
|
+
};
|
|
1551
|
+
type AdminPaymentProcessorQuoteCreateResponses = {
|
|
1552
|
+
201: AdminPaymentProcessorQuoteResponseResponse;
|
|
1553
|
+
};
|
|
1554
|
+
type AdminPaymentProcessorQuoteCreateResponse = AdminPaymentProcessorQuoteCreateResponses[keyof AdminPaymentProcessorQuoteCreateResponses];
|
|
1555
|
+
type AdminPayoutConfigurationsListData = {
|
|
1556
|
+
body?: never;
|
|
1557
|
+
path?: never;
|
|
1558
|
+
query?: {
|
|
1559
|
+
/**
|
|
1560
|
+
* A page number within the paginated result set.
|
|
1561
|
+
*/
|
|
1562
|
+
page?: number;
|
|
1563
|
+
/**
|
|
1564
|
+
* Number of results to return per page.
|
|
1565
|
+
*/
|
|
1566
|
+
page_size?: number;
|
|
1567
|
+
};
|
|
1568
|
+
url: '/admin/payout-configurations/';
|
|
1569
|
+
};
|
|
1570
|
+
type AdminPayoutConfigurationsListResponses = {
|
|
1571
|
+
200: PaginatedAdminPayoutConfigurationListResponse;
|
|
1572
|
+
};
|
|
1573
|
+
type AdminPayoutConfigurationsListResponse = AdminPayoutConfigurationsListResponses[keyof AdminPayoutConfigurationsListResponses];
|
|
1574
|
+
type AdminPayoutConfigurationsCreateData = {
|
|
1575
|
+
body: AdminCreatePayoutConfigurationWritable;
|
|
1576
|
+
path?: never;
|
|
1577
|
+
query?: never;
|
|
1578
|
+
url: '/admin/payout-configurations/';
|
|
1579
|
+
};
|
|
1580
|
+
type AdminPayoutConfigurationsCreateResponses = {
|
|
1581
|
+
201: AdminPayoutConfigurationResponse;
|
|
1582
|
+
};
|
|
1583
|
+
type AdminPayoutConfigurationsCreateResponse = AdminPayoutConfigurationsCreateResponses[keyof AdminPayoutConfigurationsCreateResponses];
|
|
1584
|
+
type AdminPayoutConfigurationsDestroyData = {
|
|
1585
|
+
body?: never;
|
|
1586
|
+
path: {
|
|
1587
|
+
identifier: string;
|
|
1588
|
+
};
|
|
1589
|
+
query?: never;
|
|
1590
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1591
|
+
};
|
|
1592
|
+
type AdminPayoutConfigurationsDestroyResponses = {
|
|
1593
|
+
200: AdminPayoutConfigurationResponse;
|
|
1594
|
+
};
|
|
1595
|
+
type AdminPayoutConfigurationsDestroyResponse = AdminPayoutConfigurationsDestroyResponses[keyof AdminPayoutConfigurationsDestroyResponses];
|
|
1596
|
+
type AdminPayoutConfigurationsRetrieveData = {
|
|
1597
|
+
body?: never;
|
|
1598
|
+
path: {
|
|
1599
|
+
identifier: string;
|
|
1600
|
+
};
|
|
1601
|
+
query?: never;
|
|
1602
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1603
|
+
};
|
|
1604
|
+
type AdminPayoutConfigurationsRetrieveResponses = {
|
|
1605
|
+
200: AdminPayoutConfigurationResponse;
|
|
1606
|
+
};
|
|
1607
|
+
type AdminPayoutConfigurationsRetrieveResponse = AdminPayoutConfigurationsRetrieveResponses[keyof AdminPayoutConfigurationsRetrieveResponses];
|
|
1608
|
+
type AdminPayoutConfigurationsPartialUpdateData = {
|
|
1609
|
+
body?: PatchedAdminPayoutConfigurationWritable;
|
|
1610
|
+
path: {
|
|
1611
|
+
identifier: string;
|
|
1612
|
+
};
|
|
1613
|
+
query?: never;
|
|
1614
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1615
|
+
};
|
|
1616
|
+
type AdminPayoutConfigurationsPartialUpdateResponses = {
|
|
1617
|
+
200: AdminPayoutConfigurationResponse;
|
|
1618
|
+
};
|
|
1619
|
+
type AdminPayoutConfigurationsPartialUpdateResponse = AdminPayoutConfigurationsPartialUpdateResponses[keyof AdminPayoutConfigurationsPartialUpdateResponses];
|
|
1620
|
+
type AdminPayoutConfigurationsUpdateData = {
|
|
1621
|
+
body: AdminPayoutConfigurationWritable;
|
|
1622
|
+
path: {
|
|
1623
|
+
identifier: string;
|
|
1624
|
+
};
|
|
1625
|
+
query?: never;
|
|
1626
|
+
url: '/admin/payout-configurations/{identifier}/';
|
|
1627
|
+
};
|
|
1628
|
+
type AdminPayoutConfigurationsUpdateResponses = {
|
|
1629
|
+
200: AdminPayoutConfigurationResponse;
|
|
1630
|
+
};
|
|
1631
|
+
type AdminPayoutConfigurationsUpdateResponse = AdminPayoutConfigurationsUpdateResponses[keyof AdminPayoutConfigurationsUpdateResponses];
|
|
1632
|
+
type AdminTransactionTransitionsListData = {
|
|
1633
|
+
body?: never;
|
|
1634
|
+
path?: never;
|
|
1635
|
+
query?: {
|
|
1636
|
+
/**
|
|
1637
|
+
* A page number within the paginated result set.
|
|
1638
|
+
*/
|
|
1639
|
+
page?: number;
|
|
1640
|
+
/**
|
|
1641
|
+
* Number of results to return per page.
|
|
1642
|
+
*/
|
|
1643
|
+
page_size?: number;
|
|
1644
|
+
status?: string;
|
|
1645
|
+
transaction?: string;
|
|
1646
|
+
};
|
|
1647
|
+
url: '/admin/transaction-transitions/';
|
|
1648
|
+
};
|
|
1649
|
+
type AdminTransactionTransitionsListResponses = {
|
|
1650
|
+
200: PaginatedAdminTransactionTransitionListResponse;
|
|
1651
|
+
};
|
|
1652
|
+
type AdminTransactionTransitionsListResponse = AdminTransactionTransitionsListResponses[keyof AdminTransactionTransitionsListResponses];
|
|
1653
|
+
type AdminTransactionTransitionsRetrieveData = {
|
|
1654
|
+
body?: never;
|
|
1655
|
+
path: {
|
|
1656
|
+
identifier: string;
|
|
1657
|
+
};
|
|
1658
|
+
query?: never;
|
|
1659
|
+
url: '/admin/transaction-transitions/{identifier}/';
|
|
1660
|
+
};
|
|
1661
|
+
type AdminTransactionTransitionsRetrieveResponses = {
|
|
1662
|
+
200: AdminTransactionTransitionResponse;
|
|
1663
|
+
};
|
|
1664
|
+
type AdminTransactionTransitionsRetrieveResponse = AdminTransactionTransitionsRetrieveResponses[keyof AdminTransactionTransitionsRetrieveResponses];
|
|
1665
|
+
type AdminTransactionTransitionsProcessCreateData = {
|
|
1666
|
+
body?: AdminTransactionTransition;
|
|
1667
|
+
path: {
|
|
1668
|
+
identifier: string;
|
|
1669
|
+
};
|
|
1670
|
+
query?: never;
|
|
1671
|
+
url: '/admin/transaction-transitions/{identifier}/process/';
|
|
1672
|
+
};
|
|
1673
|
+
type AdminTransactionTransitionsProcessCreateResponses = {
|
|
1674
|
+
202: ActionResponse;
|
|
1675
|
+
};
|
|
1676
|
+
type AdminTransactionTransitionsProcessCreateResponse = AdminTransactionTransitionsProcessCreateResponses[keyof AdminTransactionTransitionsProcessCreateResponses];
|
|
1677
|
+
type AdminVirtualAccountsListData = {
|
|
1678
|
+
body?: never;
|
|
1679
|
+
path?: never;
|
|
1680
|
+
query?: {
|
|
1681
|
+
account?: string;
|
|
1682
|
+
active?: boolean;
|
|
1683
|
+
bank_account?: string;
|
|
1684
|
+
bridge_id?: string;
|
|
1685
|
+
currency?: string;
|
|
1686
|
+
/**
|
|
1687
|
+
* A page number within the paginated result set.
|
|
1688
|
+
*/
|
|
1689
|
+
page?: number;
|
|
1690
|
+
/**
|
|
1691
|
+
* Number of results to return per page.
|
|
1692
|
+
*/
|
|
1693
|
+
page_size?: number;
|
|
1694
|
+
user?: string;
|
|
1695
|
+
};
|
|
1696
|
+
url: '/admin/virtual-accounts/';
|
|
1697
|
+
};
|
|
1698
|
+
type AdminVirtualAccountsListResponses = {
|
|
1699
|
+
200: PaginatedAdminVirtualAccountListResponse;
|
|
1700
|
+
};
|
|
1701
|
+
type AdminVirtualAccountsListResponse = AdminVirtualAccountsListResponses[keyof AdminVirtualAccountsListResponses];
|
|
1702
|
+
type AdminVirtualAccountsRetrieveData = {
|
|
1703
|
+
body?: never;
|
|
1704
|
+
path: {
|
|
1705
|
+
identifier: string;
|
|
1706
|
+
};
|
|
1707
|
+
query?: never;
|
|
1708
|
+
url: '/admin/virtual-accounts/{identifier}/';
|
|
1709
|
+
};
|
|
1710
|
+
type AdminVirtualAccountsRetrieveResponses = {
|
|
1711
|
+
200: AdminVirtualAccountResponse;
|
|
1712
|
+
};
|
|
1713
|
+
type AdminVirtualAccountsRetrieveResponse = AdminVirtualAccountsRetrieveResponses[keyof AdminVirtualAccountsRetrieveResponses];
|
|
1714
|
+
type AdminWalletsListData = {
|
|
1715
|
+
body?: never;
|
|
1716
|
+
path?: never;
|
|
1717
|
+
query?: {
|
|
1718
|
+
account?: string;
|
|
1719
|
+
bridge_id?: string;
|
|
1720
|
+
currency?: string;
|
|
1721
|
+
/**
|
|
1722
|
+
* A page number within the paginated result set.
|
|
1723
|
+
*/
|
|
1724
|
+
page?: number;
|
|
1725
|
+
/**
|
|
1726
|
+
* Number of results to return per page.
|
|
1727
|
+
*/
|
|
1728
|
+
page_size?: number;
|
|
1729
|
+
user?: string;
|
|
1730
|
+
};
|
|
1731
|
+
url: '/admin/wallets/';
|
|
1732
|
+
};
|
|
1733
|
+
type AdminWalletsListResponses = {
|
|
1734
|
+
200: PaginatedAdminWalletListResponse;
|
|
1735
|
+
};
|
|
1736
|
+
type AdminWalletsListResponse = AdminWalletsListResponses[keyof AdminWalletsListResponses];
|
|
1737
|
+
type AdminWalletsRetrieveData = {
|
|
1738
|
+
body?: never;
|
|
1739
|
+
path: {
|
|
1740
|
+
identifier: string;
|
|
1741
|
+
};
|
|
1742
|
+
query?: never;
|
|
1743
|
+
url: '/admin/wallets/{identifier}/';
|
|
1744
|
+
};
|
|
1745
|
+
type AdminWalletsRetrieveResponses = {
|
|
1746
|
+
200: AdminWalletResponse;
|
|
1747
|
+
};
|
|
1748
|
+
type AdminWalletsRetrieveResponse = AdminWalletsRetrieveResponses[keyof AdminWalletsRetrieveResponses];
|
|
1749
|
+
type BridgeWebhookCreateData = {
|
|
1750
|
+
body: BridgeWebhook;
|
|
1751
|
+
path: {
|
|
1752
|
+
company_id: string;
|
|
1753
|
+
};
|
|
1754
|
+
query?: never;
|
|
1755
|
+
url: '/bridge/webhook/{company_id}/';
|
|
1756
|
+
};
|
|
1757
|
+
type BridgeWebhookCreateResponses = {
|
|
1758
|
+
200: ActionResponse;
|
|
1759
|
+
};
|
|
1760
|
+
type BridgeWebhookCreateResponse = BridgeWebhookCreateResponses[keyof BridgeWebhookCreateResponses];
|
|
1761
|
+
type DeactivateCreateData = {
|
|
1762
|
+
body: Deactivate;
|
|
1763
|
+
path?: never;
|
|
1764
|
+
query?: never;
|
|
1765
|
+
url: '/deactivate/';
|
|
1766
|
+
};
|
|
1767
|
+
type DeactivateCreateResponses = {
|
|
1768
|
+
200: ActionResponse;
|
|
1769
|
+
};
|
|
1770
|
+
type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
1771
|
+
type UserRetrieveData = {
|
|
1772
|
+
body?: never;
|
|
1773
|
+
path?: never;
|
|
1774
|
+
query?: never;
|
|
1775
|
+
url: '/user/';
|
|
1776
|
+
};
|
|
1777
|
+
type UserRetrieveResponses = {
|
|
1778
|
+
200: UserResponse;
|
|
1779
|
+
};
|
|
1780
|
+
type UserRetrieveResponse = UserRetrieveResponses[keyof UserRetrieveResponses];
|
|
1781
|
+
type UserPartialUpdateData = {
|
|
1782
|
+
body?: PatchedUserWritable;
|
|
1783
|
+
path?: never;
|
|
1784
|
+
query?: never;
|
|
1785
|
+
url: '/user/';
|
|
1786
|
+
};
|
|
1787
|
+
type UserPartialUpdateResponses = {
|
|
1788
|
+
200: UserResponse;
|
|
1789
|
+
};
|
|
1790
|
+
type UserPartialUpdateResponse = UserPartialUpdateResponses[keyof UserPartialUpdateResponses];
|
|
1791
|
+
type UserUpdateData = {
|
|
1792
|
+
body: UserWritable;
|
|
1793
|
+
path?: never;
|
|
1794
|
+
query?: never;
|
|
1795
|
+
url: '/user/';
|
|
1796
|
+
};
|
|
1797
|
+
type UserUpdateResponses = {
|
|
1798
|
+
200: UserResponse;
|
|
1799
|
+
};
|
|
1800
|
+
type UserUpdateResponse = UserUpdateResponses[keyof UserUpdateResponses];
|
|
1801
|
+
type UserCryptoDepositCreateData = {
|
|
1802
|
+
body: UserCryptoDeposit;
|
|
1803
|
+
path?: never;
|
|
1804
|
+
query?: never;
|
|
1805
|
+
url: '/user/crypto-deposit/';
|
|
1806
|
+
};
|
|
1807
|
+
type UserCryptoDepositCreateResponses = {
|
|
1808
|
+
201: UserCryptoDepositResponseResponse;
|
|
1809
|
+
};
|
|
1810
|
+
type UserCryptoDepositCreateResponse = UserCryptoDepositCreateResponses[keyof UserCryptoDepositCreateResponses];
|
|
1811
|
+
type UserCurrenciesListData = {
|
|
1812
|
+
body?: never;
|
|
1813
|
+
path?: never;
|
|
1814
|
+
query?: {
|
|
1815
|
+
/**
|
|
1816
|
+
* A page number within the paginated result set.
|
|
1817
|
+
*/
|
|
1818
|
+
page?: number;
|
|
1819
|
+
/**
|
|
1820
|
+
* Number of results to return per page.
|
|
1821
|
+
*/
|
|
1822
|
+
page_size?: number;
|
|
1823
|
+
};
|
|
1824
|
+
url: '/user/currencies/';
|
|
1825
|
+
};
|
|
1826
|
+
type UserCurrenciesListResponses = {
|
|
1827
|
+
200: PaginatedCurrencyListResponse;
|
|
1828
|
+
};
|
|
1829
|
+
type UserCurrenciesListResponse = UserCurrenciesListResponses[keyof UserCurrenciesListResponses];
|
|
1830
|
+
type UserCurrenciesRetrieveData = {
|
|
1831
|
+
body?: never;
|
|
1832
|
+
path: {
|
|
1833
|
+
code: string;
|
|
1834
|
+
};
|
|
1835
|
+
query?: never;
|
|
1836
|
+
url: '/user/currencies/{code}/';
|
|
1837
|
+
};
|
|
1838
|
+
type UserCurrenciesRetrieveResponses = {
|
|
1839
|
+
200: CurrencyResponse;
|
|
1840
|
+
};
|
|
1841
|
+
type UserCurrenciesRetrieveResponse = UserCurrenciesRetrieveResponses[keyof UserCurrenciesRetrieveResponses];
|
|
1842
|
+
type UserExchangeRatesRetrieveData = {
|
|
1843
|
+
body?: never;
|
|
1844
|
+
path?: never;
|
|
1845
|
+
query?: never;
|
|
1846
|
+
url: '/user/exchange-rates/';
|
|
1847
|
+
};
|
|
1848
|
+
type UserExchangeRatesRetrieveResponses = {
|
|
1849
|
+
200: UserExchangeRateResponseResponse;
|
|
1850
|
+
};
|
|
1851
|
+
type UserExchangeRatesRetrieveResponse = UserExchangeRatesRetrieveResponses[keyof UserExchangeRatesRetrieveResponses];
|
|
1852
|
+
type UserKycLinksCreateData = {
|
|
1853
|
+
body?: UserCreateCustomerKycLink;
|
|
1854
|
+
path?: never;
|
|
1855
|
+
query?: never;
|
|
1856
|
+
url: '/user/kyc-links/';
|
|
1857
|
+
};
|
|
1858
|
+
type UserKycLinksCreateResponses = {
|
|
1859
|
+
201: UserCustomerKycLinkResponse;
|
|
1860
|
+
};
|
|
1861
|
+
type UserKycLinksCreateResponse = UserKycLinksCreateResponses[keyof UserKycLinksCreateResponses];
|
|
1862
|
+
type UserVirtualAccountsListData = {
|
|
1863
|
+
body?: never;
|
|
1864
|
+
path?: never;
|
|
1865
|
+
query?: {
|
|
1866
|
+
/**
|
|
1867
|
+
* A page number within the paginated result set.
|
|
1868
|
+
*/
|
|
1869
|
+
page?: number;
|
|
1870
|
+
/**
|
|
1871
|
+
* Number of results to return per page.
|
|
1872
|
+
*/
|
|
1873
|
+
page_size?: number;
|
|
1874
|
+
};
|
|
1875
|
+
url: '/user/virtual-accounts/';
|
|
1876
|
+
};
|
|
1877
|
+
type UserVirtualAccountsListResponses = {
|
|
1878
|
+
200: PaginatedUserVirtualAccountListResponse;
|
|
1879
|
+
};
|
|
1880
|
+
type UserVirtualAccountsListResponse = UserVirtualAccountsListResponses[keyof UserVirtualAccountsListResponses];
|
|
1881
|
+
type UserVirtualAccountsCreateData = {
|
|
1882
|
+
body: UserCreateVirtualAccount;
|
|
1883
|
+
path?: never;
|
|
1884
|
+
query?: never;
|
|
1885
|
+
url: '/user/virtual-accounts/';
|
|
1886
|
+
};
|
|
1887
|
+
type UserVirtualAccountsCreateResponses = {
|
|
1888
|
+
201: UserVirtualAccountResponse;
|
|
1889
|
+
};
|
|
1890
|
+
type UserVirtualAccountsCreateResponse = UserVirtualAccountsCreateResponses[keyof UserVirtualAccountsCreateResponses];
|
|
1891
|
+
type UserVirtualAccountsRetrieveData = {
|
|
1892
|
+
body?: never;
|
|
1893
|
+
path: {
|
|
1894
|
+
identifier: string;
|
|
1895
|
+
};
|
|
1896
|
+
query?: never;
|
|
1897
|
+
url: '/user/virtual-accounts/{identifier}/';
|
|
1898
|
+
};
|
|
1899
|
+
type UserVirtualAccountsRetrieveResponses = {
|
|
1900
|
+
200: UserVirtualAccountResponse;
|
|
1901
|
+
};
|
|
1902
|
+
type UserVirtualAccountsRetrieveResponse = UserVirtualAccountsRetrieveResponses[keyof UserVirtualAccountsRetrieveResponses];
|
|
1903
|
+
type WebhookCreateData = {
|
|
1904
|
+
body: Webhook;
|
|
1905
|
+
path?: never;
|
|
1906
|
+
query?: never;
|
|
1907
|
+
url: '/webhook/';
|
|
1908
|
+
};
|
|
1909
|
+
type WebhookCreateResponses = {
|
|
1910
|
+
200: ActionResponse;
|
|
1911
|
+
};
|
|
1912
|
+
type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|
|
1913
|
+
|
|
1914
|
+
type Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options$1<TData, ThrowOnError> & {
|
|
1915
|
+
/**
|
|
1916
|
+
* You can provide a client instance returned by `createClient()` instead of
|
|
1917
|
+
* individual options. This might be also useful if you want to implement a
|
|
1918
|
+
* custom client.
|
|
1919
|
+
*/
|
|
1920
|
+
client?: Client;
|
|
1921
|
+
/**
|
|
1922
|
+
* You can pass arbitrary values through the `meta` object. This can be
|
|
1923
|
+
* used to access values that aren't defined as part of the SDK function.
|
|
1924
|
+
*/
|
|
1925
|
+
meta?: Record<string, unknown>;
|
|
1926
|
+
};
|
|
1927
|
+
declare const activateCreate: <ThrowOnError extends boolean = false>(options: Options<ActivateCreateData, ThrowOnError>) => RequestResult<ActivateCreateResponses, unknown, ThrowOnError, "data">;
|
|
1928
|
+
declare const adminCompanyRetrieve: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyRetrieveData, ThrowOnError>) => RequestResult<AdminCompanyRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1929
|
+
declare const adminCompanyPartialUpdate: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyPartialUpdateData, ThrowOnError>) => RequestResult<AdminCompanyPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1930
|
+
declare const adminCompanyUpdate: <ThrowOnError extends boolean = false>(options?: Options<AdminCompanyUpdateData, ThrowOnError>) => RequestResult<AdminCompanyUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1931
|
+
declare const adminCryptoReturnPoliciesList: <ThrowOnError extends boolean = false>(options?: Options<AdminCryptoReturnPoliciesListData, ThrowOnError>) => RequestResult<AdminCryptoReturnPoliciesListResponses, unknown, ThrowOnError, "data">;
|
|
1932
|
+
declare const adminCryptoReturnPoliciesCreate: <ThrowOnError extends boolean = false>(options: Options<AdminCryptoReturnPoliciesCreateData, ThrowOnError>) => RequestResult<AdminCryptoReturnPoliciesCreateResponses, unknown, ThrowOnError, "data">;
|
|
1933
|
+
declare const adminCryptoReturnPoliciesDestroy: <ThrowOnError extends boolean = false>(options: Options<AdminCryptoReturnPoliciesDestroyData, ThrowOnError>) => RequestResult<AdminCryptoReturnPoliciesDestroyResponses, unknown, ThrowOnError, "data">;
|
|
1934
|
+
declare const adminCryptoReturnPoliciesRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminCryptoReturnPoliciesRetrieveData, ThrowOnError>) => RequestResult<AdminCryptoReturnPoliciesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1935
|
+
declare const adminCryptoReturnPoliciesPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCryptoReturnPoliciesPartialUpdateData, ThrowOnError>) => RequestResult<AdminCryptoReturnPoliciesPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1936
|
+
declare const adminCryptoReturnPoliciesUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCryptoReturnPoliciesUpdateData, ThrowOnError>) => RequestResult<AdminCryptoReturnPoliciesUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1937
|
+
declare const adminCurrenciesList: <ThrowOnError extends boolean = false>(options?: Options<AdminCurrenciesListData, ThrowOnError>) => RequestResult<AdminCurrenciesListResponses, unknown, ThrowOnError, "data">;
|
|
1938
|
+
declare const adminCurrenciesRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesRetrieveData, ThrowOnError>) => RequestResult<AdminCurrenciesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1939
|
+
declare const adminCurrenciesPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesPartialUpdateData, ThrowOnError>) => RequestResult<AdminCurrenciesPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1940
|
+
declare const adminCurrenciesUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminCurrenciesUpdateData, ThrowOnError>) => RequestResult<AdminCurrenciesUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1941
|
+
declare const adminLiquidationAddressesList: <ThrowOnError extends boolean = false>(options?: Options<AdminLiquidationAddressesListData, ThrowOnError>) => RequestResult<AdminLiquidationAddressesListResponses, unknown, ThrowOnError, "data">;
|
|
1942
|
+
declare const adminLiquidationAddressesRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminLiquidationAddressesRetrieveData, ThrowOnError>) => RequestResult<AdminLiquidationAddressesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1943
|
+
declare const adminOperationalAccountsLiquidationAddressCreate: <ThrowOnError extends boolean = false>(options: Options<AdminOperationalAccountsLiquidationAddressCreateData, ThrowOnError>) => RequestResult<AdminOperationalAccountsLiquidationAddressCreateResponses, unknown, ThrowOnError, "data">;
|
|
1944
|
+
declare const adminOperationalAccountsVirtualAccountCreate: <ThrowOnError extends boolean = false>(options: Options<AdminOperationalAccountsVirtualAccountCreateData, ThrowOnError>) => RequestResult<AdminOperationalAccountsVirtualAccountCreateResponses, unknown, ThrowOnError, "data">;
|
|
1945
|
+
declare const adminPaymentProcessorQuoteCreate: <ThrowOnError extends boolean = false>(options: Options<AdminPaymentProcessorQuoteCreateData, ThrowOnError>) => RequestResult<AdminPaymentProcessorQuoteCreateResponses, unknown, ThrowOnError, "data">;
|
|
1946
|
+
declare const adminPayoutConfigurationsList: <ThrowOnError extends boolean = false>(options?: Options<AdminPayoutConfigurationsListData, ThrowOnError>) => RequestResult<AdminPayoutConfigurationsListResponses, unknown, ThrowOnError, "data">;
|
|
1947
|
+
declare const adminPayoutConfigurationsCreate: <ThrowOnError extends boolean = false>(options: Options<AdminPayoutConfigurationsCreateData, ThrowOnError>) => RequestResult<AdminPayoutConfigurationsCreateResponses, unknown, ThrowOnError, "data">;
|
|
1948
|
+
declare const adminPayoutConfigurationsDestroy: <ThrowOnError extends boolean = false>(options: Options<AdminPayoutConfigurationsDestroyData, ThrowOnError>) => RequestResult<AdminPayoutConfigurationsDestroyResponses, unknown, ThrowOnError, "data">;
|
|
1949
|
+
declare const adminPayoutConfigurationsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminPayoutConfigurationsRetrieveData, ThrowOnError>) => RequestResult<AdminPayoutConfigurationsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1950
|
+
declare const adminPayoutConfigurationsPartialUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminPayoutConfigurationsPartialUpdateData, ThrowOnError>) => RequestResult<AdminPayoutConfigurationsPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1951
|
+
declare const adminPayoutConfigurationsUpdate: <ThrowOnError extends boolean = false>(options: Options<AdminPayoutConfigurationsUpdateData, ThrowOnError>) => RequestResult<AdminPayoutConfigurationsUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1952
|
+
declare const adminTransactionTransitionsList: <ThrowOnError extends boolean = false>(options?: Options<AdminTransactionTransitionsListData, ThrowOnError>) => RequestResult<AdminTransactionTransitionsListResponses, unknown, ThrowOnError, "data">;
|
|
1953
|
+
declare const adminTransactionTransitionsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminTransactionTransitionsRetrieveData, ThrowOnError>) => RequestResult<AdminTransactionTransitionsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1954
|
+
declare const adminTransactionTransitionsProcessCreate: <ThrowOnError extends boolean = false>(options: Options<AdminTransactionTransitionsProcessCreateData, ThrowOnError>) => RequestResult<AdminTransactionTransitionsProcessCreateResponses, unknown, ThrowOnError, "data">;
|
|
1955
|
+
declare const adminVirtualAccountsList: <ThrowOnError extends boolean = false>(options?: Options<AdminVirtualAccountsListData, ThrowOnError>) => RequestResult<AdminVirtualAccountsListResponses, unknown, ThrowOnError, "data">;
|
|
1956
|
+
declare const adminVirtualAccountsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminVirtualAccountsRetrieveData, ThrowOnError>) => RequestResult<AdminVirtualAccountsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1957
|
+
declare const adminWalletsList: <ThrowOnError extends boolean = false>(options?: Options<AdminWalletsListData, ThrowOnError>) => RequestResult<AdminWalletsListResponses, unknown, ThrowOnError, "data">;
|
|
1958
|
+
declare const adminWalletsRetrieve: <ThrowOnError extends boolean = false>(options: Options<AdminWalletsRetrieveData, ThrowOnError>) => RequestResult<AdminWalletsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1959
|
+
declare const bridgeWebhookCreate: <ThrowOnError extends boolean = false>(options: Options<BridgeWebhookCreateData, ThrowOnError>) => RequestResult<BridgeWebhookCreateResponses, unknown, ThrowOnError, "data">;
|
|
1960
|
+
declare const deactivateCreate: <ThrowOnError extends boolean = false>(options: Options<DeactivateCreateData, ThrowOnError>) => RequestResult<DeactivateCreateResponses, unknown, ThrowOnError, "data">;
|
|
1961
|
+
declare const userRetrieve: <ThrowOnError extends boolean = false>(options?: Options<UserRetrieveData, ThrowOnError>) => RequestResult<UserRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1962
|
+
declare const userPartialUpdate: <ThrowOnError extends boolean = false>(options?: Options<UserPartialUpdateData, ThrowOnError>) => RequestResult<UserPartialUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1963
|
+
declare const userUpdate: <ThrowOnError extends boolean = false>(options: Options<UserUpdateData, ThrowOnError>) => RequestResult<UserUpdateResponses, unknown, ThrowOnError, "data">;
|
|
1964
|
+
declare const userCryptoDepositCreate: <ThrowOnError extends boolean = false>(options: Options<UserCryptoDepositCreateData, ThrowOnError>) => RequestResult<UserCryptoDepositCreateResponses, unknown, ThrowOnError, "data">;
|
|
1965
|
+
declare const userCurrenciesList: <ThrowOnError extends boolean = false>(options?: Options<UserCurrenciesListData, ThrowOnError>) => RequestResult<UserCurrenciesListResponses, unknown, ThrowOnError, "data">;
|
|
1966
|
+
declare const userCurrenciesRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserCurrenciesRetrieveData, ThrowOnError>) => RequestResult<UserCurrenciesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1967
|
+
declare const userExchangeRatesRetrieve: <ThrowOnError extends boolean = false>(options?: Options<UserExchangeRatesRetrieveData, ThrowOnError>) => RequestResult<UserExchangeRatesRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1968
|
+
declare const userKycLinksCreate: <ThrowOnError extends boolean = false>(options?: Options<UserKycLinksCreateData, ThrowOnError>) => RequestResult<UserKycLinksCreateResponses, unknown, ThrowOnError, "data">;
|
|
1969
|
+
declare const userVirtualAccountsList: <ThrowOnError extends boolean = false>(options?: Options<UserVirtualAccountsListData, ThrowOnError>) => RequestResult<UserVirtualAccountsListResponses, unknown, ThrowOnError, "data">;
|
|
1970
|
+
declare const userVirtualAccountsCreate: <ThrowOnError extends boolean = false>(options: Options<UserVirtualAccountsCreateData, ThrowOnError>) => RequestResult<UserVirtualAccountsCreateResponses, unknown, ThrowOnError, "data">;
|
|
1971
|
+
declare const userVirtualAccountsRetrieve: <ThrowOnError extends boolean = false>(options: Options<UserVirtualAccountsRetrieveData, ThrowOnError>) => RequestResult<UserVirtualAccountsRetrieveResponses, unknown, ThrowOnError, "data">;
|
|
1972
|
+
declare const webhookCreate: <ThrowOnError extends boolean = false>(options: Options<WebhookCreateData, ThrowOnError>) => RequestResult<WebhookCreateResponses, unknown, ThrowOnError, "data">;
|
|
1973
|
+
|
|
1974
|
+
type sdk_Options<TData extends TDataShape = TDataShape, ThrowOnError extends boolean = boolean> = Options<TData, ThrowOnError>;
|
|
1975
|
+
declare const sdk_activateCreate: typeof activateCreate;
|
|
1976
|
+
declare const sdk_adminCompanyPartialUpdate: typeof adminCompanyPartialUpdate;
|
|
1977
|
+
declare const sdk_adminCompanyRetrieve: typeof adminCompanyRetrieve;
|
|
1978
|
+
declare const sdk_adminCompanyUpdate: typeof adminCompanyUpdate;
|
|
1979
|
+
declare const sdk_adminCryptoReturnPoliciesCreate: typeof adminCryptoReturnPoliciesCreate;
|
|
1980
|
+
declare const sdk_adminCryptoReturnPoliciesDestroy: typeof adminCryptoReturnPoliciesDestroy;
|
|
1981
|
+
declare const sdk_adminCryptoReturnPoliciesList: typeof adminCryptoReturnPoliciesList;
|
|
1982
|
+
declare const sdk_adminCryptoReturnPoliciesPartialUpdate: typeof adminCryptoReturnPoliciesPartialUpdate;
|
|
1983
|
+
declare const sdk_adminCryptoReturnPoliciesRetrieve: typeof adminCryptoReturnPoliciesRetrieve;
|
|
1984
|
+
declare const sdk_adminCryptoReturnPoliciesUpdate: typeof adminCryptoReturnPoliciesUpdate;
|
|
1985
|
+
declare const sdk_adminCurrenciesList: typeof adminCurrenciesList;
|
|
1986
|
+
declare const sdk_adminCurrenciesPartialUpdate: typeof adminCurrenciesPartialUpdate;
|
|
1987
|
+
declare const sdk_adminCurrenciesRetrieve: typeof adminCurrenciesRetrieve;
|
|
1988
|
+
declare const sdk_adminCurrenciesUpdate: typeof adminCurrenciesUpdate;
|
|
1989
|
+
declare const sdk_adminLiquidationAddressesList: typeof adminLiquidationAddressesList;
|
|
1990
|
+
declare const sdk_adminLiquidationAddressesRetrieve: typeof adminLiquidationAddressesRetrieve;
|
|
1991
|
+
declare const sdk_adminOperationalAccountsLiquidationAddressCreate: typeof adminOperationalAccountsLiquidationAddressCreate;
|
|
1992
|
+
declare const sdk_adminOperationalAccountsVirtualAccountCreate: typeof adminOperationalAccountsVirtualAccountCreate;
|
|
1993
|
+
declare const sdk_adminPaymentProcessorQuoteCreate: typeof adminPaymentProcessorQuoteCreate;
|
|
1994
|
+
declare const sdk_adminPayoutConfigurationsCreate: typeof adminPayoutConfigurationsCreate;
|
|
1995
|
+
declare const sdk_adminPayoutConfigurationsDestroy: typeof adminPayoutConfigurationsDestroy;
|
|
1996
|
+
declare const sdk_adminPayoutConfigurationsList: typeof adminPayoutConfigurationsList;
|
|
1997
|
+
declare const sdk_adminPayoutConfigurationsPartialUpdate: typeof adminPayoutConfigurationsPartialUpdate;
|
|
1998
|
+
declare const sdk_adminPayoutConfigurationsRetrieve: typeof adminPayoutConfigurationsRetrieve;
|
|
1999
|
+
declare const sdk_adminPayoutConfigurationsUpdate: typeof adminPayoutConfigurationsUpdate;
|
|
2000
|
+
declare const sdk_adminTransactionTransitionsList: typeof adminTransactionTransitionsList;
|
|
2001
|
+
declare const sdk_adminTransactionTransitionsProcessCreate: typeof adminTransactionTransitionsProcessCreate;
|
|
2002
|
+
declare const sdk_adminTransactionTransitionsRetrieve: typeof adminTransactionTransitionsRetrieve;
|
|
2003
|
+
declare const sdk_adminVirtualAccountsList: typeof adminVirtualAccountsList;
|
|
2004
|
+
declare const sdk_adminVirtualAccountsRetrieve: typeof adminVirtualAccountsRetrieve;
|
|
2005
|
+
declare const sdk_adminWalletsList: typeof adminWalletsList;
|
|
2006
|
+
declare const sdk_adminWalletsRetrieve: typeof adminWalletsRetrieve;
|
|
2007
|
+
declare const sdk_bridgeWebhookCreate: typeof bridgeWebhookCreate;
|
|
2008
|
+
declare const sdk_deactivateCreate: typeof deactivateCreate;
|
|
2009
|
+
declare const sdk_userCryptoDepositCreate: typeof userCryptoDepositCreate;
|
|
2010
|
+
declare const sdk_userCurrenciesList: typeof userCurrenciesList;
|
|
2011
|
+
declare const sdk_userCurrenciesRetrieve: typeof userCurrenciesRetrieve;
|
|
2012
|
+
declare const sdk_userExchangeRatesRetrieve: typeof userExchangeRatesRetrieve;
|
|
2013
|
+
declare const sdk_userKycLinksCreate: typeof userKycLinksCreate;
|
|
2014
|
+
declare const sdk_userPartialUpdate: typeof userPartialUpdate;
|
|
2015
|
+
declare const sdk_userRetrieve: typeof userRetrieve;
|
|
2016
|
+
declare const sdk_userUpdate: typeof userUpdate;
|
|
2017
|
+
declare const sdk_userVirtualAccountsCreate: typeof userVirtualAccountsCreate;
|
|
2018
|
+
declare const sdk_userVirtualAccountsList: typeof userVirtualAccountsList;
|
|
2019
|
+
declare const sdk_userVirtualAccountsRetrieve: typeof userVirtualAccountsRetrieve;
|
|
2020
|
+
declare const sdk_webhookCreate: typeof webhookCreate;
|
|
2021
|
+
declare namespace sdk {
|
|
2022
|
+
export { type sdk_Options as Options, sdk_activateCreate as activateCreate, sdk_adminCompanyPartialUpdate as adminCompanyPartialUpdate, sdk_adminCompanyRetrieve as adminCompanyRetrieve, sdk_adminCompanyUpdate as adminCompanyUpdate, sdk_adminCryptoReturnPoliciesCreate as adminCryptoReturnPoliciesCreate, sdk_adminCryptoReturnPoliciesDestroy as adminCryptoReturnPoliciesDestroy, sdk_adminCryptoReturnPoliciesList as adminCryptoReturnPoliciesList, sdk_adminCryptoReturnPoliciesPartialUpdate as adminCryptoReturnPoliciesPartialUpdate, sdk_adminCryptoReturnPoliciesRetrieve as adminCryptoReturnPoliciesRetrieve, sdk_adminCryptoReturnPoliciesUpdate as adminCryptoReturnPoliciesUpdate, sdk_adminCurrenciesList as adminCurrenciesList, sdk_adminCurrenciesPartialUpdate as adminCurrenciesPartialUpdate, sdk_adminCurrenciesRetrieve as adminCurrenciesRetrieve, sdk_adminCurrenciesUpdate as adminCurrenciesUpdate, sdk_adminLiquidationAddressesList as adminLiquidationAddressesList, sdk_adminLiquidationAddressesRetrieve as adminLiquidationAddressesRetrieve, sdk_adminOperationalAccountsLiquidationAddressCreate as adminOperationalAccountsLiquidationAddressCreate, sdk_adminOperationalAccountsVirtualAccountCreate as adminOperationalAccountsVirtualAccountCreate, sdk_adminPaymentProcessorQuoteCreate as adminPaymentProcessorQuoteCreate, sdk_adminPayoutConfigurationsCreate as adminPayoutConfigurationsCreate, sdk_adminPayoutConfigurationsDestroy as adminPayoutConfigurationsDestroy, sdk_adminPayoutConfigurationsList as adminPayoutConfigurationsList, sdk_adminPayoutConfigurationsPartialUpdate as adminPayoutConfigurationsPartialUpdate, sdk_adminPayoutConfigurationsRetrieve as adminPayoutConfigurationsRetrieve, sdk_adminPayoutConfigurationsUpdate as adminPayoutConfigurationsUpdate, sdk_adminTransactionTransitionsList as adminTransactionTransitionsList, sdk_adminTransactionTransitionsProcessCreate as adminTransactionTransitionsProcessCreate, sdk_adminTransactionTransitionsRetrieve as adminTransactionTransitionsRetrieve, sdk_adminVirtualAccountsList as adminVirtualAccountsList, sdk_adminVirtualAccountsRetrieve as adminVirtualAccountsRetrieve, sdk_adminWalletsList as adminWalletsList, sdk_adminWalletsRetrieve as adminWalletsRetrieve, sdk_bridgeWebhookCreate as bridgeWebhookCreate, sdk_deactivateCreate as deactivateCreate, sdk_userCryptoDepositCreate as userCryptoDepositCreate, sdk_userCurrenciesList as userCurrenciesList, sdk_userCurrenciesRetrieve as userCurrenciesRetrieve, sdk_userExchangeRatesRetrieve as userExchangeRatesRetrieve, sdk_userKycLinksCreate as userKycLinksCreate, sdk_userPartialUpdate as userPartialUpdate, sdk_userRetrieve as userRetrieve, sdk_userUpdate as userUpdate, sdk_userVirtualAccountsCreate as userVirtualAccountsCreate, sdk_userVirtualAccountsList as userVirtualAccountsList, sdk_userVirtualAccountsRetrieve as userVirtualAccountsRetrieve, sdk_webhookCreate as webhookCreate };
|
|
2023
|
+
}
|
|
2024
|
+
|
|
2025
|
+
type BridgeApi = BoundSdk<typeof sdk>;
|
|
2026
|
+
declare function createBridgeApi(config: ApiFactoryConfig): BridgeApi;
|
|
2027
|
+
|
|
2028
|
+
export { type ActionResponse, type Activate, type ActivateCreateData, type ActivateCreateResponse, type ActivateCreateResponses, type AdminCompany, type AdminCompanyPartialUpdateData, type AdminCompanyPartialUpdateResponse, type AdminCompanyPartialUpdateResponses, type AdminCompanyResponse, type AdminCompanyResponseWritable, type AdminCompanyRetrieveData, type AdminCompanyRetrieveResponse, type AdminCompanyRetrieveResponses, type AdminCompanyUpdateData, type AdminCompanyUpdateResponse, type AdminCompanyUpdateResponses, type AdminCompanyWritable, type AdminCreatePayoutConfiguration, type AdminCreatePayoutConfigurationWritable, type AdminCryptoReturnPoliciesCreateData, type AdminCryptoReturnPoliciesCreateResponse, type AdminCryptoReturnPoliciesCreateResponses, type AdminCryptoReturnPoliciesDestroyData, type AdminCryptoReturnPoliciesDestroyResponse, type AdminCryptoReturnPoliciesDestroyResponses, type AdminCryptoReturnPoliciesListData, type AdminCryptoReturnPoliciesListResponse, type AdminCryptoReturnPoliciesListResponses, type AdminCryptoReturnPoliciesPartialUpdateData, type AdminCryptoReturnPoliciesPartialUpdateResponse, type AdminCryptoReturnPoliciesPartialUpdateResponses, type AdminCryptoReturnPoliciesRetrieveData, type AdminCryptoReturnPoliciesRetrieveResponse, type AdminCryptoReturnPoliciesRetrieveResponses, type AdminCryptoReturnPoliciesUpdateData, type AdminCryptoReturnPoliciesUpdateResponse, type AdminCryptoReturnPoliciesUpdateResponses, type AdminCryptoReturnPolicy, type AdminCryptoReturnPolicyList, type AdminCryptoReturnPolicyListResponse, type AdminCryptoReturnPolicyListResponseWritable, type AdminCryptoReturnPolicyListWritable, type AdminCryptoReturnPolicyResponse, type AdminCryptoReturnPolicyResponseWritable, type AdminCryptoReturnPolicyWritable, type AdminCurrenciesListData, type AdminCurrenciesListResponse, type AdminCurrenciesListResponses, type AdminCurrenciesPartialUpdateData, type AdminCurrenciesPartialUpdateResponse, type AdminCurrenciesPartialUpdateResponses, type AdminCurrenciesRetrieveData, type AdminCurrenciesRetrieveResponse, type AdminCurrenciesRetrieveResponses, type AdminCurrenciesUpdateData, type AdminCurrenciesUpdateResponse, type AdminCurrenciesUpdateResponses, type AdminCurrency, type AdminCurrencyResponse, type AdminCurrencyResponseWritable, type AdminCurrencyWritable, type AdminLiquidationAddress, type AdminLiquidationAddressResponse, type AdminLiquidationAddressResponseWritable, type AdminLiquidationAddressWritable, type AdminLiquidationAddressesListData, type AdminLiquidationAddressesListResponse, type AdminLiquidationAddressesListResponses, type AdminLiquidationAddressesRetrieveData, type AdminLiquidationAddressesRetrieveResponse, type AdminLiquidationAddressesRetrieveResponses, type AdminOperationalAccountLiquidationAddress, type AdminOperationalAccountVirtualAccount, type AdminOperationalAccountsLiquidationAddressCreateData, type AdminOperationalAccountsLiquidationAddressCreateResponse, type AdminOperationalAccountsLiquidationAddressCreateResponses, type AdminOperationalAccountsVirtualAccountCreateData, type AdminOperationalAccountsVirtualAccountCreateResponse, type AdminOperationalAccountsVirtualAccountCreateResponses, type AdminPaymentProcessorQuote, type AdminPaymentProcessorQuoteCreateData, type AdminPaymentProcessorQuoteCreateResponse, type AdminPaymentProcessorQuoteCreateResponses, type AdminPaymentProcessorQuoteResponse, type AdminPaymentProcessorQuoteResponseResponse, type AdminPaymentProcessorQuoteResponseResponseWritable, type AdminPayoutConfiguration, type AdminPayoutConfigurationResponse, type AdminPayoutConfigurationResponseWritable, type AdminPayoutConfigurationWritable, type AdminPayoutConfigurationsCreateData, type AdminPayoutConfigurationsCreateResponse, type AdminPayoutConfigurationsCreateResponses, type AdminPayoutConfigurationsDestroyData, type AdminPayoutConfigurationsDestroyResponse, type AdminPayoutConfigurationsDestroyResponses, type AdminPayoutConfigurationsListData, type AdminPayoutConfigurationsListResponse, type AdminPayoutConfigurationsListResponses, type AdminPayoutConfigurationsPartialUpdateData, type AdminPayoutConfigurationsPartialUpdateResponse, type AdminPayoutConfigurationsPartialUpdateResponses, type AdminPayoutConfigurationsRetrieveData, type AdminPayoutConfigurationsRetrieveResponse, type AdminPayoutConfigurationsRetrieveResponses, type AdminPayoutConfigurationsUpdateData, type AdminPayoutConfigurationsUpdateResponse, type AdminPayoutConfigurationsUpdateResponses, type AdminTransactionTransition, type AdminTransactionTransitionResponse, type AdminTransactionTransitionResponseWritable, type AdminTransactionTransitionsListData, type AdminTransactionTransitionsListResponse, type AdminTransactionTransitionsListResponses, type AdminTransactionTransitionsProcessCreateData, type AdminTransactionTransitionsProcessCreateResponse, type AdminTransactionTransitionsProcessCreateResponses, type AdminTransactionTransitionsRetrieveData, type AdminTransactionTransitionsRetrieveResponse, type AdminTransactionTransitionsRetrieveResponses, type AdminUpdateCompany, type AdminUpdateCompanyWritable, type AdminVirtualAccount, type AdminVirtualAccountResponse, type AdminVirtualAccountResponseWritable, type AdminVirtualAccountWritable, type AdminVirtualAccountsListData, type AdminVirtualAccountsListResponse, type AdminVirtualAccountsListResponses, type AdminVirtualAccountsRetrieveData, type AdminVirtualAccountsRetrieveResponse, type AdminVirtualAccountsRetrieveResponses, type AdminWallet, type AdminWalletResponse, type AdminWalletResponseWritable, type AdminWalletWritable, type AdminWalletsListData, type AdminWalletsListResponse, type AdminWalletsListResponses, type AdminWalletsRetrieveData, type AdminWalletsRetrieveResponse, type AdminWalletsRetrieveResponses, type BridgeApi, type BridgeWebhook, type BridgeWebhookCreateData, type BridgeWebhookCreateResponse, type BridgeWebhookCreateResponses, type ClientOptions, type Currency, type CurrencyResponse, type Deactivate, type DeactivateCreateData, type DeactivateCreateResponse, type DeactivateCreateResponses, type PaginatedAdminCurrencyList, type PaginatedAdminCurrencyListResponse, type PaginatedAdminCurrencyListResponseWritable, type PaginatedAdminCurrencyListWritable, type PaginatedAdminLiquidationAddressList, type PaginatedAdminLiquidationAddressListResponse, type PaginatedAdminLiquidationAddressListResponseWritable, type PaginatedAdminLiquidationAddressListWritable, type PaginatedAdminPayoutConfigurationList, type PaginatedAdminPayoutConfigurationListResponse, type PaginatedAdminPayoutConfigurationListResponseWritable, type PaginatedAdminPayoutConfigurationListWritable, type PaginatedAdminTransactionTransitionList, type PaginatedAdminTransactionTransitionListResponse, type PaginatedAdminTransactionTransitionListResponseWritable, type PaginatedAdminTransactionTransitionListWritable, type PaginatedAdminVirtualAccountList, type PaginatedAdminVirtualAccountListResponse, type PaginatedAdminVirtualAccountListResponseWritable, type PaginatedAdminVirtualAccountListWritable, type PaginatedAdminWalletList, type PaginatedAdminWalletListResponse, type PaginatedAdminWalletListResponseWritable, type PaginatedAdminWalletListWritable, type PaginatedCurrencyList, type PaginatedCurrencyListResponse, type PaginatedUserVirtualAccountList, type PaginatedUserVirtualAccountListResponse, type PaginatedUserVirtualAccountListResponseWritable, type PaginatedUserVirtualAccountListWritable, type PatchedAdminCryptoReturnPolicy, type PatchedAdminCryptoReturnPolicyWritable, type PatchedAdminCurrency, type PatchedAdminCurrencyWritable, type PatchedAdminPayoutConfiguration, type PatchedAdminPayoutConfigurationWritable, type PatchedAdminUpdateCompany, type PatchedAdminUpdateCompanyWritable, type PatchedUser, type PatchedUserWritable, type User, type UserCreateCustomerKycLink, type UserCreateVirtualAccount, type UserCryptoDeposit, type UserCryptoDepositCreateData, type UserCryptoDepositCreateResponse, type UserCryptoDepositCreateResponses, type UserCryptoDepositResponse, type UserCryptoDepositResponseResponse, type UserCryptoDepositResponseResponseWritable, type UserCurrenciesListData, type UserCurrenciesListResponse, type UserCurrenciesListResponses, type UserCurrenciesRetrieveData, type UserCurrenciesRetrieveResponse, type UserCurrenciesRetrieveResponses, type UserCustomerKycLink, type UserCustomerKycLinkResponse, type UserCustomerKycLinkResponseWritable, type UserExchangeRateResponse, type UserExchangeRateResponseResponse, type UserExchangeRatesRetrieveData, type UserExchangeRatesRetrieveResponse, type UserExchangeRatesRetrieveResponses, type UserKycLinksCreateData, type UserKycLinksCreateResponse, type UserKycLinksCreateResponses, type UserPartialUpdateData, type UserPartialUpdateResponse, type UserPartialUpdateResponses, type UserReducedWallet, type UserReducedWalletWritable, type UserResponse, type UserResponseWritable, type UserRetrieveData, type UserRetrieveResponse, type UserRetrieveResponses, type UserUpdateData, type UserUpdateResponse, type UserUpdateResponses, type UserVirtualAccount, type UserVirtualAccountResponse, type UserVirtualAccountResponseWritable, type UserVirtualAccountWritable, type UserVirtualAccountsCreateData, type UserVirtualAccountsCreateResponse, type UserVirtualAccountsCreateResponses, type UserVirtualAccountsListData, type UserVirtualAccountsListResponse, type UserVirtualAccountsListResponses, type UserVirtualAccountsRetrieveData, type UserVirtualAccountsRetrieveResponse, type UserVirtualAccountsRetrieveResponses, type UserWritable, type Webhook, type WebhookCreateData, type WebhookCreateResponse, type WebhookCreateResponses, createBridgeApi };
|