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,2467 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export type ClientOptions = {
|
|
4
|
+
baseUrl: 'https://conversion.services.rehive.com/api/' | (string & {});
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This serializer can be used if only a `status` is required in the response.
|
|
9
|
+
*/
|
|
10
|
+
export type ActionResponse = {
|
|
11
|
+
status?: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
export type Activate = {
|
|
15
|
+
token: string;
|
|
16
|
+
readonly identifier: string;
|
|
17
|
+
readonly name: string;
|
|
18
|
+
readonly secret: string;
|
|
19
|
+
};
|
|
20
|
+
|
|
21
|
+
/**
|
|
22
|
+
* A ModelSerializer that takes additional arguments for
|
|
23
|
+
* "fields", "omit" and "expand" in order to
|
|
24
|
+
* control which fields are displayed, and whether to replace simple
|
|
25
|
+
* values with complex, nested serializations
|
|
26
|
+
*/
|
|
27
|
+
export type AdminCompany = {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
readonly secret: string;
|
|
30
|
+
readonly name: string;
|
|
31
|
+
display_currency?: string;
|
|
32
|
+
operational_account?: string | null;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export type AdminCompanyResponse = {
|
|
36
|
+
status?: string;
|
|
37
|
+
data?: AdminCompany;
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
/**
|
|
41
|
+
* A ModelSerializer that takes additional arguments for
|
|
42
|
+
* "fields", "omit" and "expand" in order to
|
|
43
|
+
* control which fields are displayed, and whether to replace simple
|
|
44
|
+
* values with complex, nested serializations
|
|
45
|
+
*/
|
|
46
|
+
export type AdminConversion = {
|
|
47
|
+
readonly id: string;
|
|
48
|
+
readonly user: string;
|
|
49
|
+
readonly key: string;
|
|
50
|
+
readonly from_amount: number;
|
|
51
|
+
readonly from_fee: number;
|
|
52
|
+
readonly from_total_amount: number;
|
|
53
|
+
readonly to_amount: number;
|
|
54
|
+
readonly to_fee: number;
|
|
55
|
+
readonly to_total_amount: number;
|
|
56
|
+
rate?: string;
|
|
57
|
+
readonly debit_account: string | null;
|
|
58
|
+
readonly credit_account: string | null;
|
|
59
|
+
readonly operational_account: string;
|
|
60
|
+
/**
|
|
61
|
+
* * `quoted` - Quoted
|
|
62
|
+
* * `pending` - Pending
|
|
63
|
+
* * `complete` - Complete
|
|
64
|
+
* * `failed` - Failed
|
|
65
|
+
*/
|
|
66
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
67
|
+
readonly collection: string | null;
|
|
68
|
+
readonly txns: Array<string>;
|
|
69
|
+
readonly metadata: {
|
|
70
|
+
[key: string]: unknown;
|
|
71
|
+
};
|
|
72
|
+
readonly expires: number;
|
|
73
|
+
readonly created: number;
|
|
74
|
+
readonly updated: number;
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* A ModelSerializer that takes additional arguments for
|
|
79
|
+
* "fields", "omit" and "expand" in order to
|
|
80
|
+
* control which fields are displayed, and whether to replace simple
|
|
81
|
+
* values with complex, nested serializations
|
|
82
|
+
*/
|
|
83
|
+
export type AdminConversionPair = {
|
|
84
|
+
readonly id: string;
|
|
85
|
+
readonly key: string;
|
|
86
|
+
path?: string | null;
|
|
87
|
+
rate?: string | null;
|
|
88
|
+
operational_account?: string | null;
|
|
89
|
+
quote_duration?: number;
|
|
90
|
+
enabled?: boolean;
|
|
91
|
+
readonly created: number;
|
|
92
|
+
readonly updated: number;
|
|
93
|
+
integration?: AdminIntegration;
|
|
94
|
+
/**
|
|
95
|
+
* * `operational` - Operational
|
|
96
|
+
* * `non_operational` - Non Operational
|
|
97
|
+
*/
|
|
98
|
+
transaction_type?: 'operational' | 'non_operational';
|
|
99
|
+
};
|
|
100
|
+
|
|
101
|
+
export type AdminConversionPairResponse = {
|
|
102
|
+
status?: string;
|
|
103
|
+
data?: AdminConversionPair;
|
|
104
|
+
};
|
|
105
|
+
|
|
106
|
+
export type AdminConversionResponse = {
|
|
107
|
+
status?: string;
|
|
108
|
+
data?: AdminConversion;
|
|
109
|
+
};
|
|
110
|
+
|
|
111
|
+
/**
|
|
112
|
+
* A ModelSerializer that takes additional arguments for
|
|
113
|
+
* "fields", "omit" and "expand" in order to
|
|
114
|
+
* control which fields are displayed, and whether to replace simple
|
|
115
|
+
* values with complex, nested serializations
|
|
116
|
+
*/
|
|
117
|
+
export type AdminCreateConversion = {
|
|
118
|
+
readonly id: string;
|
|
119
|
+
user: string;
|
|
120
|
+
key: string;
|
|
121
|
+
from_amount?: number | null;
|
|
122
|
+
readonly from_fee: number;
|
|
123
|
+
readonly from_total_amount: number;
|
|
124
|
+
to_amount?: number | null;
|
|
125
|
+
readonly to_fee: number;
|
|
126
|
+
readonly to_total_amount: number;
|
|
127
|
+
rate?: string | null;
|
|
128
|
+
debit_account?: string | null;
|
|
129
|
+
credit_account?: string | null;
|
|
130
|
+
readonly operational_account: string;
|
|
131
|
+
/**
|
|
132
|
+
* * `quoted` - Quoted
|
|
133
|
+
* * `pending` - Pending
|
|
134
|
+
* * `complete` - Complete
|
|
135
|
+
* * `failed` - Failed
|
|
136
|
+
*/
|
|
137
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
138
|
+
readonly collection: string | null;
|
|
139
|
+
readonly txns: Array<string>;
|
|
140
|
+
metadata?: {
|
|
141
|
+
[key: string]: unknown;
|
|
142
|
+
} | null;
|
|
143
|
+
readonly expires: number;
|
|
144
|
+
readonly created: number;
|
|
145
|
+
readonly updated: number;
|
|
146
|
+
};
|
|
147
|
+
|
|
148
|
+
/**
|
|
149
|
+
* A ModelSerializer that takes additional arguments for
|
|
150
|
+
* "fields", "omit" and "expand" in order to
|
|
151
|
+
* control which fields are displayed, and whether to replace simple
|
|
152
|
+
* values with complex, nested serializations
|
|
153
|
+
*/
|
|
154
|
+
export type AdminCreateConversionPair = {
|
|
155
|
+
readonly id: string;
|
|
156
|
+
key: string;
|
|
157
|
+
path?: string | null;
|
|
158
|
+
rate?: string | null;
|
|
159
|
+
operational_account?: string | null;
|
|
160
|
+
quote_duration?: number;
|
|
161
|
+
enabled?: boolean;
|
|
162
|
+
readonly created: number;
|
|
163
|
+
readonly updated: number;
|
|
164
|
+
integration?: string | null;
|
|
165
|
+
/**
|
|
166
|
+
* * `operational` - Operational
|
|
167
|
+
* * `non_operational` - Non Operational
|
|
168
|
+
*/
|
|
169
|
+
transaction_type?: 'operational' | 'non_operational';
|
|
170
|
+
};
|
|
171
|
+
|
|
172
|
+
/**
|
|
173
|
+
* A ModelSerializer that takes additional arguments for
|
|
174
|
+
* "fields", "omit" and "expand" in order to
|
|
175
|
+
* control which fields are displayed, and whether to replace simple
|
|
176
|
+
* values with complex, nested serializations
|
|
177
|
+
*/
|
|
178
|
+
export type AdminCreateRatePair = {
|
|
179
|
+
readonly id: string;
|
|
180
|
+
key: string;
|
|
181
|
+
path?: string | null;
|
|
182
|
+
rate?: string | null;
|
|
183
|
+
readonly created: number;
|
|
184
|
+
readonly updated: number;
|
|
185
|
+
};
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* A ModelSerializer that takes additional arguments for
|
|
189
|
+
* "fields", "omit" and "expand" in order to
|
|
190
|
+
* control which fields are displayed, and whether to replace simple
|
|
191
|
+
* values with complex, nested serializations
|
|
192
|
+
*/
|
|
193
|
+
export type AdminCurrency = {
|
|
194
|
+
code: string;
|
|
195
|
+
display_code?: string | null;
|
|
196
|
+
description?: string | null;
|
|
197
|
+
symbol?: string | null;
|
|
198
|
+
unit?: string | null;
|
|
199
|
+
divisibility?: number;
|
|
200
|
+
archived?: boolean;
|
|
201
|
+
};
|
|
202
|
+
|
|
203
|
+
export type AdminCurrencyResponse = {
|
|
204
|
+
status?: string;
|
|
205
|
+
data?: AdminCurrency;
|
|
206
|
+
};
|
|
207
|
+
|
|
208
|
+
/**
|
|
209
|
+
* A ModelSerializer that takes additional arguments for
|
|
210
|
+
* "fields", "omit" and "expand" in order to
|
|
211
|
+
* control which fields are displayed, and whether to replace simple
|
|
212
|
+
* values with complex, nested serializations
|
|
213
|
+
*/
|
|
214
|
+
export type AdminIntegration = {
|
|
215
|
+
readonly id: string;
|
|
216
|
+
slug: string;
|
|
217
|
+
name: string;
|
|
218
|
+
description?: string | null;
|
|
219
|
+
readonly created: number;
|
|
220
|
+
readonly updated: number;
|
|
221
|
+
readonly events: Array<'conversion.quote' | 'conversion.execute'>;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
export type AdminIntegrationResponse = {
|
|
225
|
+
status?: string;
|
|
226
|
+
data?: AdminIntegration;
|
|
227
|
+
};
|
|
228
|
+
|
|
229
|
+
/**
|
|
230
|
+
* A ModelSerializer that takes additional arguments for
|
|
231
|
+
* "fields", "omit" and "expand" in order to
|
|
232
|
+
* control which fields are displayed, and whether to replace simple
|
|
233
|
+
* values with complex, nested serializations
|
|
234
|
+
*/
|
|
235
|
+
export type AdminIntegrationWebhook = {
|
|
236
|
+
readonly id: string;
|
|
237
|
+
url: string;
|
|
238
|
+
/**
|
|
239
|
+
* * `conversion.quote` - conversion.quote
|
|
240
|
+
* * `conversion.execute` - conversion.execute
|
|
241
|
+
*/
|
|
242
|
+
event: 'conversion.quote' | 'conversion.execute';
|
|
243
|
+
secret?: string;
|
|
244
|
+
readonly created: number;
|
|
245
|
+
readonly updated: number;
|
|
246
|
+
};
|
|
247
|
+
|
|
248
|
+
export type AdminIntegrationWebhookResponse = {
|
|
249
|
+
status?: string;
|
|
250
|
+
data?: AdminIntegrationWebhook;
|
|
251
|
+
};
|
|
252
|
+
|
|
253
|
+
/**
|
|
254
|
+
* A ModelSerializer that takes additional arguments for
|
|
255
|
+
* "fields", "omit" and "expand" in order to
|
|
256
|
+
* control which fields are displayed, and whether to replace simple
|
|
257
|
+
* values with complex, nested serializations
|
|
258
|
+
*/
|
|
259
|
+
export type AdminRatePair = {
|
|
260
|
+
readonly id: string;
|
|
261
|
+
readonly key: string;
|
|
262
|
+
path?: string | null;
|
|
263
|
+
rate?: string | null;
|
|
264
|
+
readonly created: number;
|
|
265
|
+
readonly updated: number;
|
|
266
|
+
};
|
|
267
|
+
|
|
268
|
+
export type AdminRatePairResponse = {
|
|
269
|
+
status?: string;
|
|
270
|
+
data?: AdminRatePair;
|
|
271
|
+
};
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* A ModelSerializer that takes additional arguments for
|
|
275
|
+
* "fields", "omit" and "expand" in order to
|
|
276
|
+
* control which fields are displayed, and whether to replace simple
|
|
277
|
+
* values with complex, nested serializations
|
|
278
|
+
*/
|
|
279
|
+
export type AdminUpdateConversion = {
|
|
280
|
+
readonly id: string;
|
|
281
|
+
readonly user: string;
|
|
282
|
+
readonly key: string;
|
|
283
|
+
readonly from_amount: number;
|
|
284
|
+
readonly from_fee: number;
|
|
285
|
+
readonly from_total_amount: number;
|
|
286
|
+
readonly to_amount: number;
|
|
287
|
+
readonly to_fee: number;
|
|
288
|
+
readonly to_total_amount: number;
|
|
289
|
+
rate?: string;
|
|
290
|
+
readonly debit_account: string | null;
|
|
291
|
+
readonly credit_account: string | null;
|
|
292
|
+
readonly operational_account: string;
|
|
293
|
+
/**
|
|
294
|
+
* * `quoted` - Quoted
|
|
295
|
+
* * `pending` - Pending
|
|
296
|
+
* * `complete` - Complete
|
|
297
|
+
* * `failed` - Failed
|
|
298
|
+
*/
|
|
299
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
300
|
+
readonly collection: string | null;
|
|
301
|
+
readonly txns: Array<string>;
|
|
302
|
+
readonly metadata: {
|
|
303
|
+
[key: string]: unknown;
|
|
304
|
+
};
|
|
305
|
+
readonly expires: number;
|
|
306
|
+
readonly created: number;
|
|
307
|
+
readonly updated: number;
|
|
308
|
+
};
|
|
309
|
+
|
|
310
|
+
/**
|
|
311
|
+
* A ModelSerializer that takes additional arguments for
|
|
312
|
+
* "fields", "omit" and "expand" in order to
|
|
313
|
+
* control which fields are displayed, and whether to replace simple
|
|
314
|
+
* values with complex, nested serializations
|
|
315
|
+
*/
|
|
316
|
+
export type AdminUser = {
|
|
317
|
+
readonly id: string;
|
|
318
|
+
display_currency?: string | null;
|
|
319
|
+
};
|
|
320
|
+
|
|
321
|
+
export type AdminUserResponse = {
|
|
322
|
+
status?: string;
|
|
323
|
+
data?: AdminUser;
|
|
324
|
+
};
|
|
325
|
+
|
|
326
|
+
export type Deactivate = {
|
|
327
|
+
token: string;
|
|
328
|
+
purge?: boolean;
|
|
329
|
+
};
|
|
330
|
+
|
|
331
|
+
/**
|
|
332
|
+
* A ModelSerializer that takes additional arguments for
|
|
333
|
+
* "fields", "omit" and "expand" in order to
|
|
334
|
+
* control which fields are displayed, and whether to replace simple
|
|
335
|
+
* values with complex, nested serializations
|
|
336
|
+
*/
|
|
337
|
+
export type NewSnapshotRate = {
|
|
338
|
+
key: string;
|
|
339
|
+
date: number;
|
|
340
|
+
rate: Rate;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export type NewSnapshotRateList = Array<NewSnapshotRate>;
|
|
344
|
+
|
|
345
|
+
export type NewSnapshotRateListResponse = {
|
|
346
|
+
status?: string;
|
|
347
|
+
data?: NewSnapshotRateList;
|
|
348
|
+
};
|
|
349
|
+
|
|
350
|
+
export type PaginatedAdminConversionList = {
|
|
351
|
+
count?: number;
|
|
352
|
+
next?: string | null;
|
|
353
|
+
previous?: string | null;
|
|
354
|
+
results?: Array<AdminConversion>;
|
|
355
|
+
};
|
|
356
|
+
|
|
357
|
+
export type PaginatedAdminConversionListResponse = {
|
|
358
|
+
status?: string;
|
|
359
|
+
data?: PaginatedAdminConversionList;
|
|
360
|
+
};
|
|
361
|
+
|
|
362
|
+
export type PaginatedAdminConversionPairList = {
|
|
363
|
+
count?: number;
|
|
364
|
+
next?: string | null;
|
|
365
|
+
previous?: string | null;
|
|
366
|
+
results?: Array<AdminConversionPair>;
|
|
367
|
+
};
|
|
368
|
+
|
|
369
|
+
export type PaginatedAdminConversionPairListResponse = {
|
|
370
|
+
status?: string;
|
|
371
|
+
data?: PaginatedAdminConversionPairList;
|
|
372
|
+
};
|
|
373
|
+
|
|
374
|
+
export type PaginatedAdminCurrencyList = {
|
|
375
|
+
count?: number;
|
|
376
|
+
next?: string | null;
|
|
377
|
+
previous?: string | null;
|
|
378
|
+
results?: Array<AdminCurrency>;
|
|
379
|
+
};
|
|
380
|
+
|
|
381
|
+
export type PaginatedAdminCurrencyListResponse = {
|
|
382
|
+
status?: string;
|
|
383
|
+
data?: PaginatedAdminCurrencyList;
|
|
384
|
+
};
|
|
385
|
+
|
|
386
|
+
export type PaginatedAdminIntegrationList = {
|
|
387
|
+
count?: number;
|
|
388
|
+
next?: string | null;
|
|
389
|
+
previous?: string | null;
|
|
390
|
+
results?: Array<AdminIntegration>;
|
|
391
|
+
};
|
|
392
|
+
|
|
393
|
+
export type PaginatedAdminIntegrationListResponse = {
|
|
394
|
+
status?: string;
|
|
395
|
+
data?: PaginatedAdminIntegrationList;
|
|
396
|
+
};
|
|
397
|
+
|
|
398
|
+
export type PaginatedAdminIntegrationWebhookList = {
|
|
399
|
+
count?: number;
|
|
400
|
+
next?: string | null;
|
|
401
|
+
previous?: string | null;
|
|
402
|
+
results?: Array<AdminIntegrationWebhook>;
|
|
403
|
+
};
|
|
404
|
+
|
|
405
|
+
export type PaginatedAdminIntegrationWebhookListResponse = {
|
|
406
|
+
status?: string;
|
|
407
|
+
data?: PaginatedAdminIntegrationWebhookList;
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
export type PaginatedAdminRatePairList = {
|
|
411
|
+
count?: number;
|
|
412
|
+
next?: string | null;
|
|
413
|
+
previous?: string | null;
|
|
414
|
+
results?: Array<AdminRatePair>;
|
|
415
|
+
};
|
|
416
|
+
|
|
417
|
+
export type PaginatedAdminRatePairListResponse = {
|
|
418
|
+
status?: string;
|
|
419
|
+
data?: PaginatedAdminRatePairList;
|
|
420
|
+
};
|
|
421
|
+
|
|
422
|
+
export type PaginatedAdminUserList = {
|
|
423
|
+
count?: number;
|
|
424
|
+
next?: string | null;
|
|
425
|
+
previous?: string | null;
|
|
426
|
+
results?: Array<AdminUser>;
|
|
427
|
+
};
|
|
428
|
+
|
|
429
|
+
export type PaginatedAdminUserListResponse = {
|
|
430
|
+
status?: string;
|
|
431
|
+
data?: PaginatedAdminUserList;
|
|
432
|
+
};
|
|
433
|
+
|
|
434
|
+
export type PaginatedUserConversionList = {
|
|
435
|
+
count?: number;
|
|
436
|
+
next?: string | null;
|
|
437
|
+
previous?: string | null;
|
|
438
|
+
results?: Array<UserConversion>;
|
|
439
|
+
};
|
|
440
|
+
|
|
441
|
+
export type PaginatedUserConversionListResponse = {
|
|
442
|
+
status?: string;
|
|
443
|
+
data?: PaginatedUserConversionList;
|
|
444
|
+
};
|
|
445
|
+
|
|
446
|
+
export type PaginatedUserConversionPairList = {
|
|
447
|
+
count?: number;
|
|
448
|
+
next?: string | null;
|
|
449
|
+
previous?: string | null;
|
|
450
|
+
results?: Array<UserConversionPair>;
|
|
451
|
+
};
|
|
452
|
+
|
|
453
|
+
export type PaginatedUserConversionPairListResponse = {
|
|
454
|
+
status?: string;
|
|
455
|
+
data?: PaginatedUserConversionPairList;
|
|
456
|
+
};
|
|
457
|
+
|
|
458
|
+
export type PaginatedUserCurrencyList = {
|
|
459
|
+
count?: number;
|
|
460
|
+
next?: string | null;
|
|
461
|
+
previous?: string | null;
|
|
462
|
+
results?: Array<UserCurrency>;
|
|
463
|
+
};
|
|
464
|
+
|
|
465
|
+
export type PaginatedUserCurrencyListResponse = {
|
|
466
|
+
status?: string;
|
|
467
|
+
data?: PaginatedUserCurrencyList;
|
|
468
|
+
};
|
|
469
|
+
|
|
470
|
+
export type PaginatedUserRateList = {
|
|
471
|
+
count?: number;
|
|
472
|
+
next?: string | null;
|
|
473
|
+
previous?: string | null;
|
|
474
|
+
results?: Array<UserRate>;
|
|
475
|
+
};
|
|
476
|
+
|
|
477
|
+
export type PaginatedUserRateListResponse = {
|
|
478
|
+
status?: string;
|
|
479
|
+
data?: PaginatedUserRateList;
|
|
480
|
+
};
|
|
481
|
+
|
|
482
|
+
/**
|
|
483
|
+
* A ModelSerializer that takes additional arguments for
|
|
484
|
+
* "fields", "omit" and "expand" in order to
|
|
485
|
+
* control which fields are displayed, and whether to replace simple
|
|
486
|
+
* values with complex, nested serializations
|
|
487
|
+
*/
|
|
488
|
+
export type PatchedAdminCompany = {
|
|
489
|
+
readonly id?: string;
|
|
490
|
+
readonly secret?: string;
|
|
491
|
+
readonly name?: string;
|
|
492
|
+
display_currency?: string;
|
|
493
|
+
operational_account?: string | null;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
/**
|
|
497
|
+
* A ModelSerializer that takes additional arguments for
|
|
498
|
+
* "fields", "omit" and "expand" in order to
|
|
499
|
+
* control which fields are displayed, and whether to replace simple
|
|
500
|
+
* values with complex, nested serializations
|
|
501
|
+
*/
|
|
502
|
+
export type PatchedAdminCurrency = {
|
|
503
|
+
code?: string;
|
|
504
|
+
display_code?: string | null;
|
|
505
|
+
description?: string | null;
|
|
506
|
+
symbol?: string | null;
|
|
507
|
+
unit?: string | null;
|
|
508
|
+
divisibility?: number;
|
|
509
|
+
archived?: boolean;
|
|
510
|
+
};
|
|
511
|
+
|
|
512
|
+
/**
|
|
513
|
+
* A ModelSerializer that takes additional arguments for
|
|
514
|
+
* "fields", "omit" and "expand" in order to
|
|
515
|
+
* control which fields are displayed, and whether to replace simple
|
|
516
|
+
* values with complex, nested serializations
|
|
517
|
+
*/
|
|
518
|
+
export type PatchedAdminIntegration = {
|
|
519
|
+
readonly id?: string;
|
|
520
|
+
slug?: string;
|
|
521
|
+
name?: string;
|
|
522
|
+
description?: string | null;
|
|
523
|
+
readonly created?: number;
|
|
524
|
+
readonly updated?: number;
|
|
525
|
+
readonly events?: Array<'conversion.quote' | 'conversion.execute'>;
|
|
526
|
+
};
|
|
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
|
+
export type PatchedAdminIntegrationWebhook = {
|
|
535
|
+
readonly id?: string;
|
|
536
|
+
url?: string;
|
|
537
|
+
/**
|
|
538
|
+
* * `conversion.quote` - conversion.quote
|
|
539
|
+
* * `conversion.execute` - conversion.execute
|
|
540
|
+
*/
|
|
541
|
+
event?: 'conversion.quote' | 'conversion.execute';
|
|
542
|
+
secret?: string;
|
|
543
|
+
readonly created?: number;
|
|
544
|
+
readonly updated?: number;
|
|
545
|
+
};
|
|
546
|
+
|
|
547
|
+
/**
|
|
548
|
+
* A ModelSerializer that takes additional arguments for
|
|
549
|
+
* "fields", "omit" and "expand" in order to
|
|
550
|
+
* control which fields are displayed, and whether to replace simple
|
|
551
|
+
* values with complex, nested serializations
|
|
552
|
+
*/
|
|
553
|
+
export type PatchedAdminRatePair = {
|
|
554
|
+
readonly id?: string;
|
|
555
|
+
readonly key?: string;
|
|
556
|
+
path?: string | null;
|
|
557
|
+
rate?: string | null;
|
|
558
|
+
readonly created?: number;
|
|
559
|
+
readonly updated?: number;
|
|
560
|
+
};
|
|
561
|
+
|
|
562
|
+
/**
|
|
563
|
+
* A ModelSerializer that takes additional arguments for
|
|
564
|
+
* "fields", "omit" and "expand" in order to
|
|
565
|
+
* control which fields are displayed, and whether to replace simple
|
|
566
|
+
* values with complex, nested serializations
|
|
567
|
+
*/
|
|
568
|
+
export type PatchedAdminUpdateConversion = {
|
|
569
|
+
readonly id?: string;
|
|
570
|
+
readonly user?: string;
|
|
571
|
+
readonly key?: string;
|
|
572
|
+
readonly from_amount?: number;
|
|
573
|
+
readonly from_fee?: number;
|
|
574
|
+
readonly from_total_amount?: number;
|
|
575
|
+
readonly to_amount?: number;
|
|
576
|
+
readonly to_fee?: number;
|
|
577
|
+
readonly to_total_amount?: number;
|
|
578
|
+
rate?: string;
|
|
579
|
+
readonly debit_account?: string | null;
|
|
580
|
+
readonly credit_account?: string | null;
|
|
581
|
+
readonly operational_account?: string;
|
|
582
|
+
/**
|
|
583
|
+
* * `quoted` - Quoted
|
|
584
|
+
* * `pending` - Pending
|
|
585
|
+
* * `complete` - Complete
|
|
586
|
+
* * `failed` - Failed
|
|
587
|
+
*/
|
|
588
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
589
|
+
readonly collection?: string | null;
|
|
590
|
+
readonly txns?: Array<string>;
|
|
591
|
+
readonly metadata?: {
|
|
592
|
+
[key: string]: unknown;
|
|
593
|
+
};
|
|
594
|
+
readonly expires?: number;
|
|
595
|
+
readonly created?: number;
|
|
596
|
+
readonly updated?: number;
|
|
597
|
+
};
|
|
598
|
+
|
|
599
|
+
/**
|
|
600
|
+
* A ModelSerializer that takes additional arguments for
|
|
601
|
+
* "fields", "omit" and "expand" in order to
|
|
602
|
+
* control which fields are displayed, and whether to replace simple
|
|
603
|
+
* values with complex, nested serializations
|
|
604
|
+
*/
|
|
605
|
+
export type PatchedAdminUpdateConversionPair = {
|
|
606
|
+
readonly id?: string;
|
|
607
|
+
readonly key?: string;
|
|
608
|
+
path?: string | null;
|
|
609
|
+
rate?: string | null;
|
|
610
|
+
operational_account?: string | null;
|
|
611
|
+
quote_duration?: number;
|
|
612
|
+
enabled?: boolean;
|
|
613
|
+
readonly created?: number;
|
|
614
|
+
readonly updated?: number;
|
|
615
|
+
integration?: string | null;
|
|
616
|
+
/**
|
|
617
|
+
* * `operational` - Operational
|
|
618
|
+
* * `non_operational` - Non Operational
|
|
619
|
+
*/
|
|
620
|
+
transaction_type?: 'operational' | 'non_operational';
|
|
621
|
+
};
|
|
622
|
+
|
|
623
|
+
/**
|
|
624
|
+
* A ModelSerializer that takes additional arguments for
|
|
625
|
+
* "fields", "omit" and "expand" in order to
|
|
626
|
+
* control which fields are displayed, and whether to replace simple
|
|
627
|
+
* values with complex, nested serializations
|
|
628
|
+
*/
|
|
629
|
+
export type PatchedAdminUser = {
|
|
630
|
+
readonly id?: string;
|
|
631
|
+
display_currency?: string | null;
|
|
632
|
+
};
|
|
633
|
+
|
|
634
|
+
/**
|
|
635
|
+
* A ModelSerializer that takes additional arguments for
|
|
636
|
+
* "fields", "omit" and "expand" in order to
|
|
637
|
+
* control which fields are displayed, and whether to replace simple
|
|
638
|
+
* values with complex, nested serializations
|
|
639
|
+
*/
|
|
640
|
+
export type PatchedUserUpdateConversion = {
|
|
641
|
+
readonly id?: string;
|
|
642
|
+
readonly key?: string;
|
|
643
|
+
readonly from_amount?: number;
|
|
644
|
+
readonly from_fee?: number;
|
|
645
|
+
readonly from_total_amount?: number;
|
|
646
|
+
readonly to_amount?: number;
|
|
647
|
+
readonly to_fee?: number;
|
|
648
|
+
readonly to_total_amount?: number;
|
|
649
|
+
readonly rate?: string;
|
|
650
|
+
readonly debit_account?: string | null;
|
|
651
|
+
readonly credit_account?: string | null;
|
|
652
|
+
/**
|
|
653
|
+
* * `quoted` - Quoted
|
|
654
|
+
* * `pending` - Pending
|
|
655
|
+
* * `complete` - Complete
|
|
656
|
+
* * `failed` - Failed
|
|
657
|
+
*/
|
|
658
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
659
|
+
readonly collection?: string | null;
|
|
660
|
+
readonly txns?: Array<string>;
|
|
661
|
+
readonly metadata?: {
|
|
662
|
+
[key: string]: unknown;
|
|
663
|
+
};
|
|
664
|
+
readonly expires?: number;
|
|
665
|
+
readonly created?: number;
|
|
666
|
+
readonly updated?: number;
|
|
667
|
+
};
|
|
668
|
+
|
|
669
|
+
/**
|
|
670
|
+
* A ModelSerializer that takes additional arguments for
|
|
671
|
+
* "fields", "omit" and "expand" in order to
|
|
672
|
+
* control which fields are displayed, and whether to replace simple
|
|
673
|
+
* values with complex, nested serializations
|
|
674
|
+
*/
|
|
675
|
+
export type PatchedUserUpdateSettings = {
|
|
676
|
+
display_currency?: string | null;
|
|
677
|
+
};
|
|
678
|
+
|
|
679
|
+
/**
|
|
680
|
+
* A ModelSerializer that takes additional arguments for
|
|
681
|
+
* "fields", "omit" and "expand" in order to
|
|
682
|
+
* control which fields are displayed, and whether to replace simple
|
|
683
|
+
* values with complex, nested serializations
|
|
684
|
+
*/
|
|
685
|
+
export type Rate = {
|
|
686
|
+
id: string;
|
|
687
|
+
key: string;
|
|
688
|
+
rate: string;
|
|
689
|
+
readonly created: number;
|
|
690
|
+
};
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* A ModelSerializer that takes additional arguments for
|
|
694
|
+
* "fields", "omit" and "expand" in order to
|
|
695
|
+
* control which fields are displayed, and whether to replace simple
|
|
696
|
+
* values with complex, nested serializations
|
|
697
|
+
*/
|
|
698
|
+
export type UserConversion = {
|
|
699
|
+
readonly id: string;
|
|
700
|
+
readonly key: string;
|
|
701
|
+
readonly from_amount: number;
|
|
702
|
+
readonly from_fee: number;
|
|
703
|
+
readonly from_total_amount: number;
|
|
704
|
+
readonly to_amount: number;
|
|
705
|
+
readonly to_fee: number;
|
|
706
|
+
readonly to_total_amount: number;
|
|
707
|
+
readonly rate: string;
|
|
708
|
+
readonly debit_account: string | null;
|
|
709
|
+
readonly credit_account: string | null;
|
|
710
|
+
/**
|
|
711
|
+
* * `quoted` - Quoted
|
|
712
|
+
* * `pending` - Pending
|
|
713
|
+
* * `complete` - Complete
|
|
714
|
+
* * `failed` - Failed
|
|
715
|
+
*/
|
|
716
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
717
|
+
readonly collection: string | null;
|
|
718
|
+
readonly txns: Array<string>;
|
|
719
|
+
readonly metadata: {
|
|
720
|
+
[key: string]: unknown;
|
|
721
|
+
};
|
|
722
|
+
readonly expires: number;
|
|
723
|
+
readonly created: number;
|
|
724
|
+
readonly updated: number;
|
|
725
|
+
};
|
|
726
|
+
|
|
727
|
+
/**
|
|
728
|
+
* A ModelSerializer that takes additional arguments for
|
|
729
|
+
* "fields", "omit" and "expand" in order to
|
|
730
|
+
* control which fields are displayed, and whether to replace simple
|
|
731
|
+
* values with complex, nested serializations
|
|
732
|
+
*/
|
|
733
|
+
export type UserConversionPair = {
|
|
734
|
+
readonly id: string;
|
|
735
|
+
readonly key: string;
|
|
736
|
+
readonly created: number;
|
|
737
|
+
readonly updated: number;
|
|
738
|
+
};
|
|
739
|
+
|
|
740
|
+
export type UserConversionPairResponse = {
|
|
741
|
+
status?: string;
|
|
742
|
+
data?: UserConversionPair;
|
|
743
|
+
};
|
|
744
|
+
|
|
745
|
+
export type UserConversionResponse = {
|
|
746
|
+
status?: string;
|
|
747
|
+
data?: UserConversion;
|
|
748
|
+
};
|
|
749
|
+
|
|
750
|
+
/**
|
|
751
|
+
* A ModelSerializer that takes additional arguments for
|
|
752
|
+
* "fields", "omit" and "expand" in order to
|
|
753
|
+
* control which fields are displayed, and whether to replace simple
|
|
754
|
+
* values with complex, nested serializations
|
|
755
|
+
*/
|
|
756
|
+
export type UserCreateConversion = {
|
|
757
|
+
readonly id: string;
|
|
758
|
+
key: string;
|
|
759
|
+
from_amount?: number | null;
|
|
760
|
+
readonly from_fee: number;
|
|
761
|
+
readonly from_total_amount: number;
|
|
762
|
+
to_amount?: number | null;
|
|
763
|
+
readonly to_fee: number;
|
|
764
|
+
readonly to_total_amount: number;
|
|
765
|
+
readonly rate: string;
|
|
766
|
+
debit_account?: string | null;
|
|
767
|
+
credit_account?: string | null;
|
|
768
|
+
/**
|
|
769
|
+
* * `quoted` - Quoted
|
|
770
|
+
* * `pending` - Pending
|
|
771
|
+
* * `complete` - Complete
|
|
772
|
+
* * `failed` - Failed
|
|
773
|
+
*/
|
|
774
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
775
|
+
readonly collection: string | null;
|
|
776
|
+
readonly txns: Array<string>;
|
|
777
|
+
metadata?: {
|
|
778
|
+
[key: string]: unknown;
|
|
779
|
+
} | null;
|
|
780
|
+
readonly expires: number;
|
|
781
|
+
readonly created: number;
|
|
782
|
+
readonly updated: number;
|
|
783
|
+
};
|
|
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
|
+
export type UserCurrency = {
|
|
792
|
+
code: string;
|
|
793
|
+
display_code?: string | null;
|
|
794
|
+
description?: string | null;
|
|
795
|
+
symbol?: string | null;
|
|
796
|
+
unit?: string | null;
|
|
797
|
+
divisibility?: number;
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
export type UserCurrencyResponse = {
|
|
801
|
+
status?: string;
|
|
802
|
+
data?: UserCurrency;
|
|
803
|
+
};
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* A ModelSerializer that takes additional arguments for
|
|
807
|
+
* "fields", "omit" and "expand" in order to
|
|
808
|
+
* control which fields are displayed, and whether to replace simple
|
|
809
|
+
* values with complex, nested serializations
|
|
810
|
+
*/
|
|
811
|
+
export type UserRate = {
|
|
812
|
+
id: string;
|
|
813
|
+
key: string;
|
|
814
|
+
rate: string;
|
|
815
|
+
readonly created: number;
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
export type UserRateResponse = {
|
|
819
|
+
status?: string;
|
|
820
|
+
data?: UserRate;
|
|
821
|
+
};
|
|
822
|
+
|
|
823
|
+
/**
|
|
824
|
+
* A ModelSerializer that takes additional arguments for
|
|
825
|
+
* "fields", "omit" and "expand" in order to
|
|
826
|
+
* control which fields are displayed, and whether to replace simple
|
|
827
|
+
* values with complex, nested serializations
|
|
828
|
+
*/
|
|
829
|
+
export type UserSettings = {
|
|
830
|
+
readonly display_currency: string;
|
|
831
|
+
};
|
|
832
|
+
|
|
833
|
+
export type UserSettingsResponse = {
|
|
834
|
+
status?: string;
|
|
835
|
+
data?: UserSettings;
|
|
836
|
+
};
|
|
837
|
+
|
|
838
|
+
export type UserSnapshotRate = {
|
|
839
|
+
readonly rates: {
|
|
840
|
+
[key: string]: {
|
|
841
|
+
rate?: string;
|
|
842
|
+
created?: number;
|
|
843
|
+
};
|
|
844
|
+
};
|
|
845
|
+
};
|
|
846
|
+
|
|
847
|
+
export type UserSnapshotRateResponse = {
|
|
848
|
+
status?: string;
|
|
849
|
+
data?: UserSnapshotRate;
|
|
850
|
+
};
|
|
851
|
+
|
|
852
|
+
/**
|
|
853
|
+
* A ModelSerializer that takes additional arguments for
|
|
854
|
+
* "fields", "omit" and "expand" in order to
|
|
855
|
+
* control which fields are displayed, and whether to replace simple
|
|
856
|
+
* values with complex, nested serializations
|
|
857
|
+
*/
|
|
858
|
+
export type UserUpdateConversion = {
|
|
859
|
+
readonly id: string;
|
|
860
|
+
readonly key: string;
|
|
861
|
+
readonly from_amount: number;
|
|
862
|
+
readonly from_fee: number;
|
|
863
|
+
readonly from_total_amount: number;
|
|
864
|
+
readonly to_amount: number;
|
|
865
|
+
readonly to_fee: number;
|
|
866
|
+
readonly to_total_amount: number;
|
|
867
|
+
readonly rate: string;
|
|
868
|
+
readonly debit_account: string | null;
|
|
869
|
+
readonly credit_account: string | null;
|
|
870
|
+
/**
|
|
871
|
+
* * `quoted` - Quoted
|
|
872
|
+
* * `pending` - Pending
|
|
873
|
+
* * `complete` - Complete
|
|
874
|
+
* * `failed` - Failed
|
|
875
|
+
*/
|
|
876
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
877
|
+
readonly collection: string | null;
|
|
878
|
+
readonly txns: Array<string>;
|
|
879
|
+
readonly metadata: {
|
|
880
|
+
[key: string]: unknown;
|
|
881
|
+
};
|
|
882
|
+
readonly expires: number;
|
|
883
|
+
readonly created: number;
|
|
884
|
+
readonly updated: number;
|
|
885
|
+
};
|
|
886
|
+
|
|
887
|
+
/**
|
|
888
|
+
* A ModelSerializer that takes additional arguments for
|
|
889
|
+
* "fields", "omit" and "expand" in order to
|
|
890
|
+
* control which fields are displayed, and whether to replace simple
|
|
891
|
+
* values with complex, nested serializations
|
|
892
|
+
*/
|
|
893
|
+
export type UserUpdateSettings = {
|
|
894
|
+
display_currency?: string | null;
|
|
895
|
+
};
|
|
896
|
+
|
|
897
|
+
export type Webhook = {
|
|
898
|
+
id: string;
|
|
899
|
+
/**
|
|
900
|
+
* * `currency.create` - currency.create
|
|
901
|
+
* * `currency.update` - currency.update
|
|
902
|
+
* * `transaction.execute` - transaction.execute
|
|
903
|
+
*/
|
|
904
|
+
event: 'currency.create' | 'currency.update' | 'transaction.execute';
|
|
905
|
+
company: string;
|
|
906
|
+
data: {
|
|
907
|
+
[key: string]: unknown;
|
|
908
|
+
};
|
|
909
|
+
};
|
|
910
|
+
|
|
911
|
+
/**
|
|
912
|
+
* A ModelSerializer that takes additional arguments for
|
|
913
|
+
* "fields", "omit" and "expand" in order to
|
|
914
|
+
* control which fields are displayed, and whether to replace simple
|
|
915
|
+
* values with complex, nested serializations
|
|
916
|
+
*/
|
|
917
|
+
export type AdminCompanyWritable = {
|
|
918
|
+
display_currency?: string;
|
|
919
|
+
operational_account?: string | null;
|
|
920
|
+
};
|
|
921
|
+
|
|
922
|
+
export type AdminCompanyResponseWritable = {
|
|
923
|
+
status?: string;
|
|
924
|
+
data?: AdminCompanyWritable;
|
|
925
|
+
};
|
|
926
|
+
|
|
927
|
+
/**
|
|
928
|
+
* A ModelSerializer that takes additional arguments for
|
|
929
|
+
* "fields", "omit" and "expand" in order to
|
|
930
|
+
* control which fields are displayed, and whether to replace simple
|
|
931
|
+
* values with complex, nested serializations
|
|
932
|
+
*/
|
|
933
|
+
export type AdminConversionWritable = {
|
|
934
|
+
rate?: string;
|
|
935
|
+
/**
|
|
936
|
+
* * `quoted` - Quoted
|
|
937
|
+
* * `pending` - Pending
|
|
938
|
+
* * `complete` - Complete
|
|
939
|
+
* * `failed` - Failed
|
|
940
|
+
*/
|
|
941
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
942
|
+
};
|
|
943
|
+
|
|
944
|
+
/**
|
|
945
|
+
* A ModelSerializer that takes additional arguments for
|
|
946
|
+
* "fields", "omit" and "expand" in order to
|
|
947
|
+
* control which fields are displayed, and whether to replace simple
|
|
948
|
+
* values with complex, nested serializations
|
|
949
|
+
*/
|
|
950
|
+
export type AdminConversionPairWritable = {
|
|
951
|
+
path?: string | null;
|
|
952
|
+
rate?: string | null;
|
|
953
|
+
operational_account?: string | null;
|
|
954
|
+
quote_duration?: number;
|
|
955
|
+
enabled?: boolean;
|
|
956
|
+
integration?: AdminIntegrationWritable;
|
|
957
|
+
/**
|
|
958
|
+
* * `operational` - Operational
|
|
959
|
+
* * `non_operational` - Non Operational
|
|
960
|
+
*/
|
|
961
|
+
transaction_type?: 'operational' | 'non_operational';
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
export type AdminConversionPairResponseWritable = {
|
|
965
|
+
status?: string;
|
|
966
|
+
data?: AdminConversionPairWritable;
|
|
967
|
+
};
|
|
968
|
+
|
|
969
|
+
export type AdminConversionResponseWritable = {
|
|
970
|
+
status?: string;
|
|
971
|
+
data?: AdminConversionWritable;
|
|
972
|
+
};
|
|
973
|
+
|
|
974
|
+
/**
|
|
975
|
+
* A ModelSerializer that takes additional arguments for
|
|
976
|
+
* "fields", "omit" and "expand" in order to
|
|
977
|
+
* control which fields are displayed, and whether to replace simple
|
|
978
|
+
* values with complex, nested serializations
|
|
979
|
+
*/
|
|
980
|
+
export type AdminCreateConversionWritable = {
|
|
981
|
+
user: string;
|
|
982
|
+
key: string;
|
|
983
|
+
from_amount?: number | null;
|
|
984
|
+
to_amount?: number | null;
|
|
985
|
+
rate?: string | null;
|
|
986
|
+
debit_account?: string | null;
|
|
987
|
+
credit_account?: string | null;
|
|
988
|
+
metadata?: {
|
|
989
|
+
[key: string]: unknown;
|
|
990
|
+
} | null;
|
|
991
|
+
quote_duration?: number | null;
|
|
992
|
+
};
|
|
993
|
+
|
|
994
|
+
/**
|
|
995
|
+
* A ModelSerializer that takes additional arguments for
|
|
996
|
+
* "fields", "omit" and "expand" in order to
|
|
997
|
+
* control which fields are displayed, and whether to replace simple
|
|
998
|
+
* values with complex, nested serializations
|
|
999
|
+
*/
|
|
1000
|
+
export type AdminCreateConversionPairWritable = {
|
|
1001
|
+
key: string;
|
|
1002
|
+
path?: string | null;
|
|
1003
|
+
rate?: string | null;
|
|
1004
|
+
operational_account?: string | null;
|
|
1005
|
+
quote_duration?: number;
|
|
1006
|
+
enabled?: boolean;
|
|
1007
|
+
integration?: string | null;
|
|
1008
|
+
/**
|
|
1009
|
+
* * `operational` - Operational
|
|
1010
|
+
* * `non_operational` - Non Operational
|
|
1011
|
+
*/
|
|
1012
|
+
transaction_type?: 'operational' | 'non_operational';
|
|
1013
|
+
};
|
|
1014
|
+
|
|
1015
|
+
/**
|
|
1016
|
+
* A ModelSerializer that takes additional arguments for
|
|
1017
|
+
* "fields", "omit" and "expand" in order to
|
|
1018
|
+
* control which fields are displayed, and whether to replace simple
|
|
1019
|
+
* values with complex, nested serializations
|
|
1020
|
+
*/
|
|
1021
|
+
export type AdminCreateRatePairWritable = {
|
|
1022
|
+
key: string;
|
|
1023
|
+
path?: string | null;
|
|
1024
|
+
rate?: string | null;
|
|
1025
|
+
};
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* A ModelSerializer that takes additional arguments for
|
|
1029
|
+
* "fields", "omit" and "expand" in order to
|
|
1030
|
+
* control which fields are displayed, and whether to replace simple
|
|
1031
|
+
* values with complex, nested serializations
|
|
1032
|
+
*/
|
|
1033
|
+
export type AdminIntegrationWritable = {
|
|
1034
|
+
slug: string;
|
|
1035
|
+
name: string;
|
|
1036
|
+
description?: string | null;
|
|
1037
|
+
};
|
|
1038
|
+
|
|
1039
|
+
export type AdminIntegrationResponseWritable = {
|
|
1040
|
+
status?: string;
|
|
1041
|
+
data?: AdminIntegrationWritable;
|
|
1042
|
+
};
|
|
1043
|
+
|
|
1044
|
+
/**
|
|
1045
|
+
* A ModelSerializer that takes additional arguments for
|
|
1046
|
+
* "fields", "omit" and "expand" in order to
|
|
1047
|
+
* control which fields are displayed, and whether to replace simple
|
|
1048
|
+
* values with complex, nested serializations
|
|
1049
|
+
*/
|
|
1050
|
+
export type AdminIntegrationWebhookWritable = {
|
|
1051
|
+
url: string;
|
|
1052
|
+
/**
|
|
1053
|
+
* * `conversion.quote` - conversion.quote
|
|
1054
|
+
* * `conversion.execute` - conversion.execute
|
|
1055
|
+
*/
|
|
1056
|
+
event: 'conversion.quote' | 'conversion.execute';
|
|
1057
|
+
secret?: string;
|
|
1058
|
+
};
|
|
1059
|
+
|
|
1060
|
+
export type AdminIntegrationWebhookResponseWritable = {
|
|
1061
|
+
status?: string;
|
|
1062
|
+
data?: AdminIntegrationWebhookWritable;
|
|
1063
|
+
};
|
|
1064
|
+
|
|
1065
|
+
/**
|
|
1066
|
+
* A ModelSerializer that takes additional arguments for
|
|
1067
|
+
* "fields", "omit" and "expand" in order to
|
|
1068
|
+
* control which fields are displayed, and whether to replace simple
|
|
1069
|
+
* values with complex, nested serializations
|
|
1070
|
+
*/
|
|
1071
|
+
export type AdminRatePairWritable = {
|
|
1072
|
+
path?: string | null;
|
|
1073
|
+
rate?: string | null;
|
|
1074
|
+
};
|
|
1075
|
+
|
|
1076
|
+
export type AdminRatePairResponseWritable = {
|
|
1077
|
+
status?: string;
|
|
1078
|
+
data?: AdminRatePairWritable;
|
|
1079
|
+
};
|
|
1080
|
+
|
|
1081
|
+
/**
|
|
1082
|
+
* A ModelSerializer that takes additional arguments for
|
|
1083
|
+
* "fields", "omit" and "expand" in order to
|
|
1084
|
+
* control which fields are displayed, and whether to replace simple
|
|
1085
|
+
* values with complex, nested serializations
|
|
1086
|
+
*/
|
|
1087
|
+
export type AdminUpdateConversionWritable = {
|
|
1088
|
+
rate?: string;
|
|
1089
|
+
/**
|
|
1090
|
+
* * `quoted` - Quoted
|
|
1091
|
+
* * `pending` - Pending
|
|
1092
|
+
* * `complete` - Complete
|
|
1093
|
+
* * `failed` - Failed
|
|
1094
|
+
*/
|
|
1095
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
1096
|
+
};
|
|
1097
|
+
|
|
1098
|
+
/**
|
|
1099
|
+
* A ModelSerializer that takes additional arguments for
|
|
1100
|
+
* "fields", "omit" and "expand" in order to
|
|
1101
|
+
* control which fields are displayed, and whether to replace simple
|
|
1102
|
+
* values with complex, nested serializations
|
|
1103
|
+
*/
|
|
1104
|
+
export type AdminUserWritable = {
|
|
1105
|
+
display_currency?: string | null;
|
|
1106
|
+
};
|
|
1107
|
+
|
|
1108
|
+
export type AdminUserResponseWritable = {
|
|
1109
|
+
status?: string;
|
|
1110
|
+
data?: AdminUserWritable;
|
|
1111
|
+
};
|
|
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
|
+
export type NewSnapshotRateWritable = {
|
|
1120
|
+
key: string;
|
|
1121
|
+
date: number;
|
|
1122
|
+
rate: RateWritable;
|
|
1123
|
+
};
|
|
1124
|
+
|
|
1125
|
+
export type NewSnapshotRateListWritable = Array<NewSnapshotRateWritable>;
|
|
1126
|
+
|
|
1127
|
+
export type NewSnapshotRateListResponseWritable = {
|
|
1128
|
+
status?: string;
|
|
1129
|
+
data?: NewSnapshotRateListWritable;
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
export type PaginatedAdminConversionListWritable = {
|
|
1133
|
+
count?: number;
|
|
1134
|
+
next?: string | null;
|
|
1135
|
+
previous?: string | null;
|
|
1136
|
+
results?: Array<AdminConversionWritable>;
|
|
1137
|
+
};
|
|
1138
|
+
|
|
1139
|
+
export type PaginatedAdminConversionListResponseWritable = {
|
|
1140
|
+
status?: string;
|
|
1141
|
+
data?: PaginatedAdminConversionListWritable;
|
|
1142
|
+
};
|
|
1143
|
+
|
|
1144
|
+
export type PaginatedAdminConversionPairListWritable = {
|
|
1145
|
+
count?: number;
|
|
1146
|
+
next?: string | null;
|
|
1147
|
+
previous?: string | null;
|
|
1148
|
+
results?: Array<AdminConversionPairWritable>;
|
|
1149
|
+
};
|
|
1150
|
+
|
|
1151
|
+
export type PaginatedAdminConversionPairListResponseWritable = {
|
|
1152
|
+
status?: string;
|
|
1153
|
+
data?: PaginatedAdminConversionPairListWritable;
|
|
1154
|
+
};
|
|
1155
|
+
|
|
1156
|
+
export type PaginatedAdminIntegrationListWritable = {
|
|
1157
|
+
count?: number;
|
|
1158
|
+
next?: string | null;
|
|
1159
|
+
previous?: string | null;
|
|
1160
|
+
results?: Array<AdminIntegrationWritable>;
|
|
1161
|
+
};
|
|
1162
|
+
|
|
1163
|
+
export type PaginatedAdminIntegrationListResponseWritable = {
|
|
1164
|
+
status?: string;
|
|
1165
|
+
data?: PaginatedAdminIntegrationListWritable;
|
|
1166
|
+
};
|
|
1167
|
+
|
|
1168
|
+
export type PaginatedAdminIntegrationWebhookListWritable = {
|
|
1169
|
+
count?: number;
|
|
1170
|
+
next?: string | null;
|
|
1171
|
+
previous?: string | null;
|
|
1172
|
+
results?: Array<AdminIntegrationWebhookWritable>;
|
|
1173
|
+
};
|
|
1174
|
+
|
|
1175
|
+
export type PaginatedAdminIntegrationWebhookListResponseWritable = {
|
|
1176
|
+
status?: string;
|
|
1177
|
+
data?: PaginatedAdminIntegrationWebhookListWritable;
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
export type PaginatedAdminRatePairListWritable = {
|
|
1181
|
+
count?: number;
|
|
1182
|
+
next?: string | null;
|
|
1183
|
+
previous?: string | null;
|
|
1184
|
+
results?: Array<AdminRatePairWritable>;
|
|
1185
|
+
};
|
|
1186
|
+
|
|
1187
|
+
export type PaginatedAdminRatePairListResponseWritable = {
|
|
1188
|
+
status?: string;
|
|
1189
|
+
data?: PaginatedAdminRatePairListWritable;
|
|
1190
|
+
};
|
|
1191
|
+
|
|
1192
|
+
export type PaginatedAdminUserListWritable = {
|
|
1193
|
+
count?: number;
|
|
1194
|
+
next?: string | null;
|
|
1195
|
+
previous?: string | null;
|
|
1196
|
+
results?: Array<AdminUserWritable>;
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
export type PaginatedAdminUserListResponseWritable = {
|
|
1200
|
+
status?: string;
|
|
1201
|
+
data?: PaginatedAdminUserListWritable;
|
|
1202
|
+
};
|
|
1203
|
+
|
|
1204
|
+
export type PaginatedUserConversionListWritable = {
|
|
1205
|
+
count?: number;
|
|
1206
|
+
next?: string | null;
|
|
1207
|
+
previous?: string | null;
|
|
1208
|
+
results?: Array<UserConversionWritable>;
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
export type PaginatedUserConversionListResponseWritable = {
|
|
1212
|
+
status?: string;
|
|
1213
|
+
data?: PaginatedUserConversionListWritable;
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
export type PaginatedUserConversionPairListWritable = {
|
|
1217
|
+
count?: number;
|
|
1218
|
+
next?: string | null;
|
|
1219
|
+
previous?: string | null;
|
|
1220
|
+
results?: Array<unknown>;
|
|
1221
|
+
};
|
|
1222
|
+
|
|
1223
|
+
export type PaginatedUserConversionPairListResponseWritable = {
|
|
1224
|
+
status?: string;
|
|
1225
|
+
data?: PaginatedUserConversionPairListWritable;
|
|
1226
|
+
};
|
|
1227
|
+
|
|
1228
|
+
export type PaginatedUserRateListWritable = {
|
|
1229
|
+
count?: number;
|
|
1230
|
+
next?: string | null;
|
|
1231
|
+
previous?: string | null;
|
|
1232
|
+
results?: Array<UserRateWritable>;
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
export type PaginatedUserRateListResponseWritable = {
|
|
1236
|
+
status?: string;
|
|
1237
|
+
data?: PaginatedUserRateListWritable;
|
|
1238
|
+
};
|
|
1239
|
+
|
|
1240
|
+
/**
|
|
1241
|
+
* A ModelSerializer that takes additional arguments for
|
|
1242
|
+
* "fields", "omit" and "expand" in order to
|
|
1243
|
+
* control which fields are displayed, and whether to replace simple
|
|
1244
|
+
* values with complex, nested serializations
|
|
1245
|
+
*/
|
|
1246
|
+
export type PatchedAdminCompanyWritable = {
|
|
1247
|
+
display_currency?: string;
|
|
1248
|
+
operational_account?: string | null;
|
|
1249
|
+
};
|
|
1250
|
+
|
|
1251
|
+
/**
|
|
1252
|
+
* A ModelSerializer that takes additional arguments for
|
|
1253
|
+
* "fields", "omit" and "expand" in order to
|
|
1254
|
+
* control which fields are displayed, and whether to replace simple
|
|
1255
|
+
* values with complex, nested serializations
|
|
1256
|
+
*/
|
|
1257
|
+
export type PatchedAdminIntegrationWritable = {
|
|
1258
|
+
slug?: string;
|
|
1259
|
+
name?: string;
|
|
1260
|
+
description?: string | null;
|
|
1261
|
+
};
|
|
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
|
+
export type PatchedAdminIntegrationWebhookWritable = {
|
|
1270
|
+
url?: string;
|
|
1271
|
+
/**
|
|
1272
|
+
* * `conversion.quote` - conversion.quote
|
|
1273
|
+
* * `conversion.execute` - conversion.execute
|
|
1274
|
+
*/
|
|
1275
|
+
event?: 'conversion.quote' | 'conversion.execute';
|
|
1276
|
+
secret?: string;
|
|
1277
|
+
};
|
|
1278
|
+
|
|
1279
|
+
/**
|
|
1280
|
+
* A ModelSerializer that takes additional arguments for
|
|
1281
|
+
* "fields", "omit" and "expand" in order to
|
|
1282
|
+
* control which fields are displayed, and whether to replace simple
|
|
1283
|
+
* values with complex, nested serializations
|
|
1284
|
+
*/
|
|
1285
|
+
export type PatchedAdminRatePairWritable = {
|
|
1286
|
+
path?: string | null;
|
|
1287
|
+
rate?: string | null;
|
|
1288
|
+
};
|
|
1289
|
+
|
|
1290
|
+
/**
|
|
1291
|
+
* A ModelSerializer that takes additional arguments for
|
|
1292
|
+
* "fields", "omit" and "expand" in order to
|
|
1293
|
+
* control which fields are displayed, and whether to replace simple
|
|
1294
|
+
* values with complex, nested serializations
|
|
1295
|
+
*/
|
|
1296
|
+
export type PatchedAdminUpdateConversionWritable = {
|
|
1297
|
+
rate?: string;
|
|
1298
|
+
/**
|
|
1299
|
+
* * `quoted` - Quoted
|
|
1300
|
+
* * `pending` - Pending
|
|
1301
|
+
* * `complete` - Complete
|
|
1302
|
+
* * `failed` - Failed
|
|
1303
|
+
*/
|
|
1304
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
1305
|
+
};
|
|
1306
|
+
|
|
1307
|
+
/**
|
|
1308
|
+
* A ModelSerializer that takes additional arguments for
|
|
1309
|
+
* "fields", "omit" and "expand" in order to
|
|
1310
|
+
* control which fields are displayed, and whether to replace simple
|
|
1311
|
+
* values with complex, nested serializations
|
|
1312
|
+
*/
|
|
1313
|
+
export type PatchedAdminUpdateConversionPairWritable = {
|
|
1314
|
+
path?: string | null;
|
|
1315
|
+
rate?: string | null;
|
|
1316
|
+
operational_account?: string | null;
|
|
1317
|
+
quote_duration?: number;
|
|
1318
|
+
enabled?: boolean;
|
|
1319
|
+
integration?: string | null;
|
|
1320
|
+
/**
|
|
1321
|
+
* * `operational` - Operational
|
|
1322
|
+
* * `non_operational` - Non Operational
|
|
1323
|
+
*/
|
|
1324
|
+
transaction_type?: 'operational' | 'non_operational';
|
|
1325
|
+
};
|
|
1326
|
+
|
|
1327
|
+
/**
|
|
1328
|
+
* A ModelSerializer that takes additional arguments for
|
|
1329
|
+
* "fields", "omit" and "expand" in order to
|
|
1330
|
+
* control which fields are displayed, and whether to replace simple
|
|
1331
|
+
* values with complex, nested serializations
|
|
1332
|
+
*/
|
|
1333
|
+
export type PatchedAdminUserWritable = {
|
|
1334
|
+
display_currency?: string | null;
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
/**
|
|
1338
|
+
* A ModelSerializer that takes additional arguments for
|
|
1339
|
+
* "fields", "omit" and "expand" in order to
|
|
1340
|
+
* control which fields are displayed, and whether to replace simple
|
|
1341
|
+
* values with complex, nested serializations
|
|
1342
|
+
*/
|
|
1343
|
+
export type PatchedUserUpdateConversionWritable = {
|
|
1344
|
+
/**
|
|
1345
|
+
* * `quoted` - Quoted
|
|
1346
|
+
* * `pending` - Pending
|
|
1347
|
+
* * `complete` - Complete
|
|
1348
|
+
* * `failed` - Failed
|
|
1349
|
+
*/
|
|
1350
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
1351
|
+
};
|
|
1352
|
+
|
|
1353
|
+
/**
|
|
1354
|
+
* A ModelSerializer that takes additional arguments for
|
|
1355
|
+
* "fields", "omit" and "expand" in order to
|
|
1356
|
+
* control which fields are displayed, and whether to replace simple
|
|
1357
|
+
* values with complex, nested serializations
|
|
1358
|
+
*/
|
|
1359
|
+
export type RateWritable = {
|
|
1360
|
+
id: string;
|
|
1361
|
+
key: string;
|
|
1362
|
+
rate: string;
|
|
1363
|
+
};
|
|
1364
|
+
|
|
1365
|
+
/**
|
|
1366
|
+
* A ModelSerializer that takes additional arguments for
|
|
1367
|
+
* "fields", "omit" and "expand" in order to
|
|
1368
|
+
* control which fields are displayed, and whether to replace simple
|
|
1369
|
+
* values with complex, nested serializations
|
|
1370
|
+
*/
|
|
1371
|
+
export type UserConversionWritable = {
|
|
1372
|
+
/**
|
|
1373
|
+
* * `quoted` - Quoted
|
|
1374
|
+
* * `pending` - Pending
|
|
1375
|
+
* * `complete` - Complete
|
|
1376
|
+
* * `failed` - Failed
|
|
1377
|
+
*/
|
|
1378
|
+
status?: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
1379
|
+
};
|
|
1380
|
+
|
|
1381
|
+
export type UserConversionPairResponseWritable = {
|
|
1382
|
+
status?: string;
|
|
1383
|
+
};
|
|
1384
|
+
|
|
1385
|
+
export type UserConversionResponseWritable = {
|
|
1386
|
+
status?: string;
|
|
1387
|
+
data?: UserConversionWritable;
|
|
1388
|
+
};
|
|
1389
|
+
|
|
1390
|
+
/**
|
|
1391
|
+
* A ModelSerializer that takes additional arguments for
|
|
1392
|
+
* "fields", "omit" and "expand" in order to
|
|
1393
|
+
* control which fields are displayed, and whether to replace simple
|
|
1394
|
+
* values with complex, nested serializations
|
|
1395
|
+
*/
|
|
1396
|
+
export type UserCreateConversionWritable = {
|
|
1397
|
+
key: string;
|
|
1398
|
+
from_amount?: number | null;
|
|
1399
|
+
to_amount?: number | null;
|
|
1400
|
+
debit_account?: string | null;
|
|
1401
|
+
credit_account?: string | null;
|
|
1402
|
+
metadata?: {
|
|
1403
|
+
[key: string]: unknown;
|
|
1404
|
+
} | null;
|
|
1405
|
+
};
|
|
1406
|
+
|
|
1407
|
+
/**
|
|
1408
|
+
* A ModelSerializer that takes additional arguments for
|
|
1409
|
+
* "fields", "omit" and "expand" in order to
|
|
1410
|
+
* control which fields are displayed, and whether to replace simple
|
|
1411
|
+
* values with complex, nested serializations
|
|
1412
|
+
*/
|
|
1413
|
+
export type UserRateWritable = {
|
|
1414
|
+
id: string;
|
|
1415
|
+
key: string;
|
|
1416
|
+
rate: string;
|
|
1417
|
+
};
|
|
1418
|
+
|
|
1419
|
+
export type UserRateResponseWritable = {
|
|
1420
|
+
status?: string;
|
|
1421
|
+
data?: UserRateWritable;
|
|
1422
|
+
};
|
|
1423
|
+
|
|
1424
|
+
export type UserSettingsResponseWritable = {
|
|
1425
|
+
status?: string;
|
|
1426
|
+
};
|
|
1427
|
+
|
|
1428
|
+
export type UserSnapshotRateWritable = {
|
|
1429
|
+
[key: string]: unknown;
|
|
1430
|
+
};
|
|
1431
|
+
|
|
1432
|
+
export type UserSnapshotRateResponseWritable = {
|
|
1433
|
+
status?: string;
|
|
1434
|
+
data?: UserSnapshotRateWritable;
|
|
1435
|
+
};
|
|
1436
|
+
|
|
1437
|
+
/**
|
|
1438
|
+
* A ModelSerializer that takes additional arguments for
|
|
1439
|
+
* "fields", "omit" and "expand" in order to
|
|
1440
|
+
* control which fields are displayed, and whether to replace simple
|
|
1441
|
+
* values with complex, nested serializations
|
|
1442
|
+
*/
|
|
1443
|
+
export type UserUpdateConversionWritable = {
|
|
1444
|
+
/**
|
|
1445
|
+
* * `quoted` - Quoted
|
|
1446
|
+
* * `pending` - Pending
|
|
1447
|
+
* * `complete` - Complete
|
|
1448
|
+
* * `failed` - Failed
|
|
1449
|
+
*/
|
|
1450
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed';
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
export type ActivateCreateData = {
|
|
1454
|
+
body: Activate;
|
|
1455
|
+
path?: never;
|
|
1456
|
+
query?: never;
|
|
1457
|
+
url: '/activate/';
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
export type ActivateCreateResponses = {
|
|
1461
|
+
200: ActionResponse;
|
|
1462
|
+
};
|
|
1463
|
+
|
|
1464
|
+
export type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
1465
|
+
|
|
1466
|
+
export type AdminCompanyRetrieveData = {
|
|
1467
|
+
body?: never;
|
|
1468
|
+
path?: never;
|
|
1469
|
+
query?: never;
|
|
1470
|
+
url: '/admin/company/';
|
|
1471
|
+
};
|
|
1472
|
+
|
|
1473
|
+
export type AdminCompanyRetrieveResponses = {
|
|
1474
|
+
200: AdminCompanyResponse;
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
export type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
1478
|
+
|
|
1479
|
+
export type AdminCompanyPartialUpdateData = {
|
|
1480
|
+
body?: PatchedAdminCompanyWritable;
|
|
1481
|
+
path?: never;
|
|
1482
|
+
query?: never;
|
|
1483
|
+
url: '/admin/company/';
|
|
1484
|
+
};
|
|
1485
|
+
|
|
1486
|
+
export type AdminCompanyPartialUpdateResponses = {
|
|
1487
|
+
200: AdminCompanyResponse;
|
|
1488
|
+
};
|
|
1489
|
+
|
|
1490
|
+
export type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
1491
|
+
|
|
1492
|
+
export type AdminCompanyUpdateData = {
|
|
1493
|
+
body?: AdminCompanyWritable;
|
|
1494
|
+
path?: never;
|
|
1495
|
+
query?: never;
|
|
1496
|
+
url: '/admin/company/';
|
|
1497
|
+
};
|
|
1498
|
+
|
|
1499
|
+
export type AdminCompanyUpdateResponses = {
|
|
1500
|
+
200: AdminCompanyResponse;
|
|
1501
|
+
};
|
|
1502
|
+
|
|
1503
|
+
export type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
1504
|
+
|
|
1505
|
+
export type AdminConversionPairsListData = {
|
|
1506
|
+
body?: never;
|
|
1507
|
+
path?: never;
|
|
1508
|
+
query?: {
|
|
1509
|
+
id?: number;
|
|
1510
|
+
key?: string;
|
|
1511
|
+
/**
|
|
1512
|
+
* Multiple values may be separated by commas.
|
|
1513
|
+
*/
|
|
1514
|
+
key__in?: Array<string>;
|
|
1515
|
+
/**
|
|
1516
|
+
* A page number within the paginated result set.
|
|
1517
|
+
*/
|
|
1518
|
+
page?: number;
|
|
1519
|
+
/**
|
|
1520
|
+
* Number of results to return per page.
|
|
1521
|
+
*/
|
|
1522
|
+
page_size?: number;
|
|
1523
|
+
};
|
|
1524
|
+
url: '/admin/conversion-pairs/';
|
|
1525
|
+
};
|
|
1526
|
+
|
|
1527
|
+
export type AdminConversionPairsListResponses = {
|
|
1528
|
+
200: PaginatedAdminConversionPairListResponse;
|
|
1529
|
+
};
|
|
1530
|
+
|
|
1531
|
+
export type AdminConversionPairsListResponse = AdminConversionPairsListResponses[keyof AdminConversionPairsListResponses];
|
|
1532
|
+
|
|
1533
|
+
export type AdminConversionPairsCreateData = {
|
|
1534
|
+
body: AdminCreateConversionPairWritable;
|
|
1535
|
+
path?: never;
|
|
1536
|
+
query?: never;
|
|
1537
|
+
url: '/admin/conversion-pairs/';
|
|
1538
|
+
};
|
|
1539
|
+
|
|
1540
|
+
export type AdminConversionPairsCreateResponses = {
|
|
1541
|
+
201: AdminConversionPairResponse;
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
export type AdminConversionPairsCreateResponse = AdminConversionPairsCreateResponses[keyof AdminConversionPairsCreateResponses];
|
|
1545
|
+
|
|
1546
|
+
export type AdminConversionPairsDestroyData = {
|
|
1547
|
+
body?: never;
|
|
1548
|
+
path: {
|
|
1549
|
+
identifier: string;
|
|
1550
|
+
};
|
|
1551
|
+
query?: never;
|
|
1552
|
+
url: '/admin/conversion-pairs/{identifier}/';
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
export type AdminConversionPairsDestroyResponses = {
|
|
1556
|
+
200: AdminConversionPairResponse;
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
export type AdminConversionPairsDestroyResponse = AdminConversionPairsDestroyResponses[keyof AdminConversionPairsDestroyResponses];
|
|
1560
|
+
|
|
1561
|
+
export type AdminConversionPairsRetrieveData = {
|
|
1562
|
+
body?: never;
|
|
1563
|
+
path: {
|
|
1564
|
+
identifier: string;
|
|
1565
|
+
};
|
|
1566
|
+
query?: never;
|
|
1567
|
+
url: '/admin/conversion-pairs/{identifier}/';
|
|
1568
|
+
};
|
|
1569
|
+
|
|
1570
|
+
export type AdminConversionPairsRetrieveResponses = {
|
|
1571
|
+
200: AdminConversionPairResponse;
|
|
1572
|
+
};
|
|
1573
|
+
|
|
1574
|
+
export type AdminConversionPairsRetrieveResponse = AdminConversionPairsRetrieveResponses[keyof AdminConversionPairsRetrieveResponses];
|
|
1575
|
+
|
|
1576
|
+
export type AdminConversionPairsPartialUpdateData = {
|
|
1577
|
+
body?: PatchedAdminUpdateConversionPairWritable;
|
|
1578
|
+
path: {
|
|
1579
|
+
identifier: string;
|
|
1580
|
+
};
|
|
1581
|
+
query?: never;
|
|
1582
|
+
url: '/admin/conversion-pairs/{identifier}/';
|
|
1583
|
+
};
|
|
1584
|
+
|
|
1585
|
+
export type AdminConversionPairsPartialUpdateResponses = {
|
|
1586
|
+
200: AdminConversionPairResponse;
|
|
1587
|
+
};
|
|
1588
|
+
|
|
1589
|
+
export type AdminConversionPairsPartialUpdateResponse = AdminConversionPairsPartialUpdateResponses[keyof AdminConversionPairsPartialUpdateResponses];
|
|
1590
|
+
|
|
1591
|
+
export type AdminConversionPairsUpdateData = {
|
|
1592
|
+
body?: AdminConversionPairWritable;
|
|
1593
|
+
path: {
|
|
1594
|
+
identifier: string;
|
|
1595
|
+
};
|
|
1596
|
+
query?: never;
|
|
1597
|
+
url: '/admin/conversion-pairs/{identifier}/';
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
export type AdminConversionPairsUpdateResponses = {
|
|
1601
|
+
200: AdminConversionPairResponse;
|
|
1602
|
+
};
|
|
1603
|
+
|
|
1604
|
+
export type AdminConversionPairsUpdateResponse = AdminConversionPairsUpdateResponses[keyof AdminConversionPairsUpdateResponses];
|
|
1605
|
+
|
|
1606
|
+
export type AdminConversionsListData = {
|
|
1607
|
+
body?: never;
|
|
1608
|
+
path?: never;
|
|
1609
|
+
query?: {
|
|
1610
|
+
created?: string;
|
|
1611
|
+
created__gt?: string;
|
|
1612
|
+
created__gte?: string;
|
|
1613
|
+
created__lt?: string;
|
|
1614
|
+
created__lte?: string;
|
|
1615
|
+
id?: number;
|
|
1616
|
+
key?: string;
|
|
1617
|
+
/**
|
|
1618
|
+
* Multiple values may be separated by commas.
|
|
1619
|
+
*/
|
|
1620
|
+
key__in?: Array<string>;
|
|
1621
|
+
/**
|
|
1622
|
+
* A page number within the paginated result set.
|
|
1623
|
+
*/
|
|
1624
|
+
page?: number;
|
|
1625
|
+
/**
|
|
1626
|
+
* Number of results to return per page.
|
|
1627
|
+
*/
|
|
1628
|
+
page_size?: number;
|
|
1629
|
+
status?: string;
|
|
1630
|
+
user?: string;
|
|
1631
|
+
};
|
|
1632
|
+
url: '/admin/conversions/';
|
|
1633
|
+
};
|
|
1634
|
+
|
|
1635
|
+
export type AdminConversionsListResponses = {
|
|
1636
|
+
200: PaginatedAdminConversionListResponse;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
export type AdminConversionsListResponse = AdminConversionsListResponses[keyof AdminConversionsListResponses];
|
|
1640
|
+
|
|
1641
|
+
export type AdminConversionsCreateData = {
|
|
1642
|
+
body: AdminCreateConversionWritable;
|
|
1643
|
+
path?: never;
|
|
1644
|
+
query?: never;
|
|
1645
|
+
url: '/admin/conversions/';
|
|
1646
|
+
};
|
|
1647
|
+
|
|
1648
|
+
export type AdminConversionsCreateResponses = {
|
|
1649
|
+
201: AdminConversionResponse;
|
|
1650
|
+
};
|
|
1651
|
+
|
|
1652
|
+
export type AdminConversionsCreateResponse = AdminConversionsCreateResponses[keyof AdminConversionsCreateResponses];
|
|
1653
|
+
|
|
1654
|
+
export type AdminConversionsRetrieveData = {
|
|
1655
|
+
body?: never;
|
|
1656
|
+
path: {
|
|
1657
|
+
identifier: string;
|
|
1658
|
+
};
|
|
1659
|
+
query?: never;
|
|
1660
|
+
url: '/admin/conversions/{identifier}/';
|
|
1661
|
+
};
|
|
1662
|
+
|
|
1663
|
+
export type AdminConversionsRetrieveResponses = {
|
|
1664
|
+
200: AdminConversionResponse;
|
|
1665
|
+
};
|
|
1666
|
+
|
|
1667
|
+
export type AdminConversionsRetrieveResponse = AdminConversionsRetrieveResponses[keyof AdminConversionsRetrieveResponses];
|
|
1668
|
+
|
|
1669
|
+
export type AdminConversionsPartialUpdateData = {
|
|
1670
|
+
body?: PatchedAdminUpdateConversionWritable;
|
|
1671
|
+
path: {
|
|
1672
|
+
identifier: string;
|
|
1673
|
+
};
|
|
1674
|
+
query?: never;
|
|
1675
|
+
url: '/admin/conversions/{identifier}/';
|
|
1676
|
+
};
|
|
1677
|
+
|
|
1678
|
+
export type AdminConversionsPartialUpdateResponses = {
|
|
1679
|
+
200: AdminConversionResponse;
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
export type AdminConversionsPartialUpdateResponse = AdminConversionsPartialUpdateResponses[keyof AdminConversionsPartialUpdateResponses];
|
|
1683
|
+
|
|
1684
|
+
export type AdminConversionsUpdateData = {
|
|
1685
|
+
body: AdminUpdateConversionWritable;
|
|
1686
|
+
path: {
|
|
1687
|
+
identifier: string;
|
|
1688
|
+
};
|
|
1689
|
+
query?: never;
|
|
1690
|
+
url: '/admin/conversions/{identifier}/';
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
export type AdminConversionsUpdateResponses = {
|
|
1694
|
+
200: AdminConversionResponse;
|
|
1695
|
+
};
|
|
1696
|
+
|
|
1697
|
+
export type AdminConversionsUpdateResponse = AdminConversionsUpdateResponses[keyof AdminConversionsUpdateResponses];
|
|
1698
|
+
|
|
1699
|
+
export type AdminCurrenciesListData = {
|
|
1700
|
+
body?: never;
|
|
1701
|
+
path?: never;
|
|
1702
|
+
query?: {
|
|
1703
|
+
code?: string;
|
|
1704
|
+
/**
|
|
1705
|
+
* Multiple values may be separated by commas.
|
|
1706
|
+
*/
|
|
1707
|
+
code__in?: Array<string>;
|
|
1708
|
+
/**
|
|
1709
|
+
* A page number within the paginated result set.
|
|
1710
|
+
*/
|
|
1711
|
+
page?: number;
|
|
1712
|
+
/**
|
|
1713
|
+
* Number of results to return per page.
|
|
1714
|
+
*/
|
|
1715
|
+
page_size?: number;
|
|
1716
|
+
unit?: string;
|
|
1717
|
+
};
|
|
1718
|
+
url: '/admin/currencies/';
|
|
1719
|
+
};
|
|
1720
|
+
|
|
1721
|
+
export type AdminCurrenciesListResponses = {
|
|
1722
|
+
200: PaginatedAdminCurrencyListResponse;
|
|
1723
|
+
};
|
|
1724
|
+
|
|
1725
|
+
export type AdminCurrenciesListResponse = AdminCurrenciesListResponses[keyof AdminCurrenciesListResponses];
|
|
1726
|
+
|
|
1727
|
+
export type AdminCurrenciesCreateData = {
|
|
1728
|
+
body: AdminCurrency;
|
|
1729
|
+
path?: never;
|
|
1730
|
+
query?: never;
|
|
1731
|
+
url: '/admin/currencies/';
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
export type AdminCurrenciesCreateResponses = {
|
|
1735
|
+
201: AdminCurrencyResponse;
|
|
1736
|
+
};
|
|
1737
|
+
|
|
1738
|
+
export type AdminCurrenciesCreateResponse = AdminCurrenciesCreateResponses[keyof AdminCurrenciesCreateResponses];
|
|
1739
|
+
|
|
1740
|
+
export type AdminCurrenciesRetrieveData = {
|
|
1741
|
+
body?: never;
|
|
1742
|
+
path: {
|
|
1743
|
+
code: string;
|
|
1744
|
+
};
|
|
1745
|
+
query?: never;
|
|
1746
|
+
url: '/admin/currencies/{code}/';
|
|
1747
|
+
};
|
|
1748
|
+
|
|
1749
|
+
export type AdminCurrenciesRetrieveResponses = {
|
|
1750
|
+
200: AdminCurrencyResponse;
|
|
1751
|
+
};
|
|
1752
|
+
|
|
1753
|
+
export type AdminCurrenciesRetrieveResponse = AdminCurrenciesRetrieveResponses[keyof AdminCurrenciesRetrieveResponses];
|
|
1754
|
+
|
|
1755
|
+
export type AdminCurrenciesPartialUpdateData = {
|
|
1756
|
+
body?: PatchedAdminCurrency;
|
|
1757
|
+
path: {
|
|
1758
|
+
code: string;
|
|
1759
|
+
};
|
|
1760
|
+
query?: never;
|
|
1761
|
+
url: '/admin/currencies/{code}/';
|
|
1762
|
+
};
|
|
1763
|
+
|
|
1764
|
+
export type AdminCurrenciesPartialUpdateResponses = {
|
|
1765
|
+
200: AdminCurrencyResponse;
|
|
1766
|
+
};
|
|
1767
|
+
|
|
1768
|
+
export type AdminCurrenciesPartialUpdateResponse = AdminCurrenciesPartialUpdateResponses[keyof AdminCurrenciesPartialUpdateResponses];
|
|
1769
|
+
|
|
1770
|
+
export type AdminCurrenciesUpdateData = {
|
|
1771
|
+
body: AdminCurrency;
|
|
1772
|
+
path: {
|
|
1773
|
+
code: string;
|
|
1774
|
+
};
|
|
1775
|
+
query?: never;
|
|
1776
|
+
url: '/admin/currencies/{code}/';
|
|
1777
|
+
};
|
|
1778
|
+
|
|
1779
|
+
export type AdminCurrenciesUpdateResponses = {
|
|
1780
|
+
200: AdminCurrencyResponse;
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
export type AdminCurrenciesUpdateResponse = AdminCurrenciesUpdateResponses[keyof AdminCurrenciesUpdateResponses];
|
|
1784
|
+
|
|
1785
|
+
export type AdminIntegrationsListData = {
|
|
1786
|
+
body?: never;
|
|
1787
|
+
path?: never;
|
|
1788
|
+
query?: {
|
|
1789
|
+
/**
|
|
1790
|
+
* A page number within the paginated result set.
|
|
1791
|
+
*/
|
|
1792
|
+
page?: number;
|
|
1793
|
+
/**
|
|
1794
|
+
* Number of results to return per page.
|
|
1795
|
+
*/
|
|
1796
|
+
page_size?: number;
|
|
1797
|
+
};
|
|
1798
|
+
url: '/admin/integrations/';
|
|
1799
|
+
};
|
|
1800
|
+
|
|
1801
|
+
export type AdminIntegrationsListResponses = {
|
|
1802
|
+
200: PaginatedAdminIntegrationListResponse;
|
|
1803
|
+
};
|
|
1804
|
+
|
|
1805
|
+
export type AdminIntegrationsListResponse = AdminIntegrationsListResponses[keyof AdminIntegrationsListResponses];
|
|
1806
|
+
|
|
1807
|
+
export type AdminIntegrationsCreateData = {
|
|
1808
|
+
body: AdminIntegrationWritable;
|
|
1809
|
+
path?: never;
|
|
1810
|
+
query?: never;
|
|
1811
|
+
url: '/admin/integrations/';
|
|
1812
|
+
};
|
|
1813
|
+
|
|
1814
|
+
export type AdminIntegrationsCreateResponses = {
|
|
1815
|
+
201: AdminIntegrationResponse;
|
|
1816
|
+
};
|
|
1817
|
+
|
|
1818
|
+
export type AdminIntegrationsCreateResponse = AdminIntegrationsCreateResponses[keyof AdminIntegrationsCreateResponses];
|
|
1819
|
+
|
|
1820
|
+
export type AdminIntegrationsDestroyData = {
|
|
1821
|
+
body?: never;
|
|
1822
|
+
path: {
|
|
1823
|
+
identifier: string;
|
|
1824
|
+
};
|
|
1825
|
+
query?: never;
|
|
1826
|
+
url: '/admin/integrations/{identifier}/';
|
|
1827
|
+
};
|
|
1828
|
+
|
|
1829
|
+
export type AdminIntegrationsDestroyResponses = {
|
|
1830
|
+
200: AdminIntegrationResponse;
|
|
1831
|
+
};
|
|
1832
|
+
|
|
1833
|
+
export type AdminIntegrationsDestroyResponse = AdminIntegrationsDestroyResponses[keyof AdminIntegrationsDestroyResponses];
|
|
1834
|
+
|
|
1835
|
+
export type AdminIntegrationsRetrieveData = {
|
|
1836
|
+
body?: never;
|
|
1837
|
+
path: {
|
|
1838
|
+
identifier: string;
|
|
1839
|
+
};
|
|
1840
|
+
query?: never;
|
|
1841
|
+
url: '/admin/integrations/{identifier}/';
|
|
1842
|
+
};
|
|
1843
|
+
|
|
1844
|
+
export type AdminIntegrationsRetrieveResponses = {
|
|
1845
|
+
200: AdminIntegrationResponse;
|
|
1846
|
+
};
|
|
1847
|
+
|
|
1848
|
+
export type AdminIntegrationsRetrieveResponse = AdminIntegrationsRetrieveResponses[keyof AdminIntegrationsRetrieveResponses];
|
|
1849
|
+
|
|
1850
|
+
export type AdminIntegrationsPartialUpdateData = {
|
|
1851
|
+
body?: PatchedAdminIntegrationWritable;
|
|
1852
|
+
path: {
|
|
1853
|
+
identifier: string;
|
|
1854
|
+
};
|
|
1855
|
+
query?: never;
|
|
1856
|
+
url: '/admin/integrations/{identifier}/';
|
|
1857
|
+
};
|
|
1858
|
+
|
|
1859
|
+
export type AdminIntegrationsPartialUpdateResponses = {
|
|
1860
|
+
200: AdminIntegrationResponse;
|
|
1861
|
+
};
|
|
1862
|
+
|
|
1863
|
+
export type AdminIntegrationsPartialUpdateResponse = AdminIntegrationsPartialUpdateResponses[keyof AdminIntegrationsPartialUpdateResponses];
|
|
1864
|
+
|
|
1865
|
+
export type AdminIntegrationsUpdateData = {
|
|
1866
|
+
body: AdminIntegrationWritable;
|
|
1867
|
+
path: {
|
|
1868
|
+
identifier: string;
|
|
1869
|
+
};
|
|
1870
|
+
query?: never;
|
|
1871
|
+
url: '/admin/integrations/{identifier}/';
|
|
1872
|
+
};
|
|
1873
|
+
|
|
1874
|
+
export type AdminIntegrationsUpdateResponses = {
|
|
1875
|
+
200: AdminIntegrationResponse;
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
export type AdminIntegrationsUpdateResponse = AdminIntegrationsUpdateResponses[keyof AdminIntegrationsUpdateResponses];
|
|
1879
|
+
|
|
1880
|
+
export type AdminIntegrationsWebhooksListData = {
|
|
1881
|
+
body?: never;
|
|
1882
|
+
path: {
|
|
1883
|
+
identifier: string;
|
|
1884
|
+
};
|
|
1885
|
+
query?: {
|
|
1886
|
+
/**
|
|
1887
|
+
* A page number within the paginated result set.
|
|
1888
|
+
*/
|
|
1889
|
+
page?: number;
|
|
1890
|
+
/**
|
|
1891
|
+
* Number of results to return per page.
|
|
1892
|
+
*/
|
|
1893
|
+
page_size?: number;
|
|
1894
|
+
};
|
|
1895
|
+
url: '/admin/integrations/{identifier}/webhooks/';
|
|
1896
|
+
};
|
|
1897
|
+
|
|
1898
|
+
export type AdminIntegrationsWebhooksListResponses = {
|
|
1899
|
+
200: PaginatedAdminIntegrationWebhookListResponse;
|
|
1900
|
+
};
|
|
1901
|
+
|
|
1902
|
+
export type AdminIntegrationsWebhooksListResponse = AdminIntegrationsWebhooksListResponses[keyof AdminIntegrationsWebhooksListResponses];
|
|
1903
|
+
|
|
1904
|
+
export type AdminIntegrationsWebhooksCreateData = {
|
|
1905
|
+
body: AdminIntegrationWebhookWritable;
|
|
1906
|
+
path: {
|
|
1907
|
+
identifier: string;
|
|
1908
|
+
};
|
|
1909
|
+
query?: never;
|
|
1910
|
+
url: '/admin/integrations/{identifier}/webhooks/';
|
|
1911
|
+
};
|
|
1912
|
+
|
|
1913
|
+
export type AdminIntegrationsWebhooksCreateResponses = {
|
|
1914
|
+
201: AdminIntegrationWebhookResponse;
|
|
1915
|
+
};
|
|
1916
|
+
|
|
1917
|
+
export type AdminIntegrationsWebhooksCreateResponse = AdminIntegrationsWebhooksCreateResponses[keyof AdminIntegrationsWebhooksCreateResponses];
|
|
1918
|
+
|
|
1919
|
+
export type AdminIntegrationsWebhooksDestroyData = {
|
|
1920
|
+
body?: never;
|
|
1921
|
+
path: {
|
|
1922
|
+
integration_id: string;
|
|
1923
|
+
webhook_id: string;
|
|
1924
|
+
};
|
|
1925
|
+
query?: never;
|
|
1926
|
+
url: '/admin/integrations/{integration_id}/webhooks/{webhook_id}/';
|
|
1927
|
+
};
|
|
1928
|
+
|
|
1929
|
+
export type AdminIntegrationsWebhooksDestroyResponses = {
|
|
1930
|
+
200: AdminIntegrationWebhookResponse;
|
|
1931
|
+
};
|
|
1932
|
+
|
|
1933
|
+
export type AdminIntegrationsWebhooksDestroyResponse = AdminIntegrationsWebhooksDestroyResponses[keyof AdminIntegrationsWebhooksDestroyResponses];
|
|
1934
|
+
|
|
1935
|
+
export type AdminIntegrationsWebhooksRetrieveData = {
|
|
1936
|
+
body?: never;
|
|
1937
|
+
path: {
|
|
1938
|
+
integration_id: string;
|
|
1939
|
+
webhook_id: string;
|
|
1940
|
+
};
|
|
1941
|
+
query?: never;
|
|
1942
|
+
url: '/admin/integrations/{integration_id}/webhooks/{webhook_id}/';
|
|
1943
|
+
};
|
|
1944
|
+
|
|
1945
|
+
export type AdminIntegrationsWebhooksRetrieveResponses = {
|
|
1946
|
+
200: AdminIntegrationWebhookResponse;
|
|
1947
|
+
};
|
|
1948
|
+
|
|
1949
|
+
export type AdminIntegrationsWebhooksRetrieveResponse = AdminIntegrationsWebhooksRetrieveResponses[keyof AdminIntegrationsWebhooksRetrieveResponses];
|
|
1950
|
+
|
|
1951
|
+
export type AdminIntegrationsWebhooksPartialUpdateData = {
|
|
1952
|
+
body?: PatchedAdminIntegrationWebhookWritable;
|
|
1953
|
+
path: {
|
|
1954
|
+
integration_id: string;
|
|
1955
|
+
webhook_id: string;
|
|
1956
|
+
};
|
|
1957
|
+
query?: never;
|
|
1958
|
+
url: '/admin/integrations/{integration_id}/webhooks/{webhook_id}/';
|
|
1959
|
+
};
|
|
1960
|
+
|
|
1961
|
+
export type AdminIntegrationsWebhooksPartialUpdateResponses = {
|
|
1962
|
+
200: AdminIntegrationWebhookResponse;
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
export type AdminIntegrationsWebhooksPartialUpdateResponse = AdminIntegrationsWebhooksPartialUpdateResponses[keyof AdminIntegrationsWebhooksPartialUpdateResponses];
|
|
1966
|
+
|
|
1967
|
+
export type AdminIntegrationsWebhooksUpdateData = {
|
|
1968
|
+
body: AdminIntegrationWebhookWritable;
|
|
1969
|
+
path: {
|
|
1970
|
+
integration_id: string;
|
|
1971
|
+
webhook_id: string;
|
|
1972
|
+
};
|
|
1973
|
+
query?: never;
|
|
1974
|
+
url: '/admin/integrations/{integration_id}/webhooks/{webhook_id}/';
|
|
1975
|
+
};
|
|
1976
|
+
|
|
1977
|
+
export type AdminIntegrationsWebhooksUpdateResponses = {
|
|
1978
|
+
200: AdminIntegrationWebhookResponse;
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
export type AdminIntegrationsWebhooksUpdateResponse = AdminIntegrationsWebhooksUpdateResponses[keyof AdminIntegrationsWebhooksUpdateResponses];
|
|
1982
|
+
|
|
1983
|
+
export type AdminRatePairsListData = {
|
|
1984
|
+
body?: never;
|
|
1985
|
+
path?: never;
|
|
1986
|
+
query?: {
|
|
1987
|
+
id?: number;
|
|
1988
|
+
/**
|
|
1989
|
+
* A page number within the paginated result set.
|
|
1990
|
+
*/
|
|
1991
|
+
page?: number;
|
|
1992
|
+
/**
|
|
1993
|
+
* Number of results to return per page.
|
|
1994
|
+
*/
|
|
1995
|
+
page_size?: number;
|
|
1996
|
+
};
|
|
1997
|
+
url: '/admin/rate-pairs/';
|
|
1998
|
+
};
|
|
1999
|
+
|
|
2000
|
+
export type AdminRatePairsListResponses = {
|
|
2001
|
+
200: PaginatedAdminRatePairListResponse;
|
|
2002
|
+
};
|
|
2003
|
+
|
|
2004
|
+
export type AdminRatePairsListResponse = AdminRatePairsListResponses[keyof AdminRatePairsListResponses];
|
|
2005
|
+
|
|
2006
|
+
export type AdminRatePairsCreateData = {
|
|
2007
|
+
body: AdminCreateRatePairWritable;
|
|
2008
|
+
path?: never;
|
|
2009
|
+
query?: never;
|
|
2010
|
+
url: '/admin/rate-pairs/';
|
|
2011
|
+
};
|
|
2012
|
+
|
|
2013
|
+
export type AdminRatePairsCreateResponses = {
|
|
2014
|
+
201: AdminRatePairResponse;
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
export type AdminRatePairsCreateResponse = AdminRatePairsCreateResponses[keyof AdminRatePairsCreateResponses];
|
|
2018
|
+
|
|
2019
|
+
export type AdminRatePairsDestroyData = {
|
|
2020
|
+
body?: never;
|
|
2021
|
+
path: {
|
|
2022
|
+
identifier: string;
|
|
2023
|
+
};
|
|
2024
|
+
query?: never;
|
|
2025
|
+
url: '/admin/rate-pairs/{identifier}/';
|
|
2026
|
+
};
|
|
2027
|
+
|
|
2028
|
+
export type AdminRatePairsDestroyResponses = {
|
|
2029
|
+
200: AdminRatePairResponse;
|
|
2030
|
+
};
|
|
2031
|
+
|
|
2032
|
+
export type AdminRatePairsDestroyResponse = AdminRatePairsDestroyResponses[keyof AdminRatePairsDestroyResponses];
|
|
2033
|
+
|
|
2034
|
+
export type AdminRatePairsRetrieveData = {
|
|
2035
|
+
body?: never;
|
|
2036
|
+
path: {
|
|
2037
|
+
identifier: string;
|
|
2038
|
+
};
|
|
2039
|
+
query?: never;
|
|
2040
|
+
url: '/admin/rate-pairs/{identifier}/';
|
|
2041
|
+
};
|
|
2042
|
+
|
|
2043
|
+
export type AdminRatePairsRetrieveResponses = {
|
|
2044
|
+
200: AdminRatePairResponse;
|
|
2045
|
+
};
|
|
2046
|
+
|
|
2047
|
+
export type AdminRatePairsRetrieveResponse = AdminRatePairsRetrieveResponses[keyof AdminRatePairsRetrieveResponses];
|
|
2048
|
+
|
|
2049
|
+
export type AdminRatePairsPartialUpdateData = {
|
|
2050
|
+
body?: PatchedAdminRatePairWritable;
|
|
2051
|
+
path: {
|
|
2052
|
+
identifier: string;
|
|
2053
|
+
};
|
|
2054
|
+
query?: never;
|
|
2055
|
+
url: '/admin/rate-pairs/{identifier}/';
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
export type AdminRatePairsPartialUpdateResponses = {
|
|
2059
|
+
200: AdminRatePairResponse;
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
export type AdminRatePairsPartialUpdateResponse = AdminRatePairsPartialUpdateResponses[keyof AdminRatePairsPartialUpdateResponses];
|
|
2063
|
+
|
|
2064
|
+
export type AdminRatePairsUpdateData = {
|
|
2065
|
+
body?: AdminRatePairWritable;
|
|
2066
|
+
path: {
|
|
2067
|
+
identifier: string;
|
|
2068
|
+
};
|
|
2069
|
+
query?: never;
|
|
2070
|
+
url: '/admin/rate-pairs/{identifier}/';
|
|
2071
|
+
};
|
|
2072
|
+
|
|
2073
|
+
export type AdminRatePairsUpdateResponses = {
|
|
2074
|
+
200: AdminRatePairResponse;
|
|
2075
|
+
};
|
|
2076
|
+
|
|
2077
|
+
export type AdminRatePairsUpdateResponse = AdminRatePairsUpdateResponses[keyof AdminRatePairsUpdateResponses];
|
|
2078
|
+
|
|
2079
|
+
export type AdminUsersListData = {
|
|
2080
|
+
body?: never;
|
|
2081
|
+
path?: never;
|
|
2082
|
+
query?: {
|
|
2083
|
+
display_currency?: string;
|
|
2084
|
+
/**
|
|
2085
|
+
* Multiple values may be separated by commas.
|
|
2086
|
+
*/
|
|
2087
|
+
display_currency__in?: Array<string>;
|
|
2088
|
+
id?: number;
|
|
2089
|
+
/**
|
|
2090
|
+
* A page number within the paginated result set.
|
|
2091
|
+
*/
|
|
2092
|
+
page?: number;
|
|
2093
|
+
/**
|
|
2094
|
+
* Number of results to return per page.
|
|
2095
|
+
*/
|
|
2096
|
+
page_size?: number;
|
|
2097
|
+
};
|
|
2098
|
+
url: '/admin/users/';
|
|
2099
|
+
};
|
|
2100
|
+
|
|
2101
|
+
export type AdminUsersListResponses = {
|
|
2102
|
+
200: PaginatedAdminUserListResponse;
|
|
2103
|
+
};
|
|
2104
|
+
|
|
2105
|
+
export type AdminUsersListResponse = AdminUsersListResponses[keyof AdminUsersListResponses];
|
|
2106
|
+
|
|
2107
|
+
export type AdminUsersRetrieveData = {
|
|
2108
|
+
body?: never;
|
|
2109
|
+
path: {
|
|
2110
|
+
identifier: string;
|
|
2111
|
+
};
|
|
2112
|
+
query?: never;
|
|
2113
|
+
url: '/admin/users/{identifier}/';
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
export type AdminUsersRetrieveResponses = {
|
|
2117
|
+
200: AdminUserResponse;
|
|
2118
|
+
};
|
|
2119
|
+
|
|
2120
|
+
export type AdminUsersRetrieveResponse = AdminUsersRetrieveResponses[keyof AdminUsersRetrieveResponses];
|
|
2121
|
+
|
|
2122
|
+
export type AdminUsersPartialUpdateData = {
|
|
2123
|
+
body?: PatchedAdminUserWritable;
|
|
2124
|
+
path: {
|
|
2125
|
+
identifier: string;
|
|
2126
|
+
};
|
|
2127
|
+
query?: never;
|
|
2128
|
+
url: '/admin/users/{identifier}/';
|
|
2129
|
+
};
|
|
2130
|
+
|
|
2131
|
+
export type AdminUsersPartialUpdateResponses = {
|
|
2132
|
+
200: AdminUserResponse;
|
|
2133
|
+
};
|
|
2134
|
+
|
|
2135
|
+
export type AdminUsersPartialUpdateResponse = AdminUsersPartialUpdateResponses[keyof AdminUsersPartialUpdateResponses];
|
|
2136
|
+
|
|
2137
|
+
export type AdminUsersUpdateData = {
|
|
2138
|
+
body?: AdminUserWritable;
|
|
2139
|
+
path: {
|
|
2140
|
+
identifier: string;
|
|
2141
|
+
};
|
|
2142
|
+
query?: never;
|
|
2143
|
+
url: '/admin/users/{identifier}/';
|
|
2144
|
+
};
|
|
2145
|
+
|
|
2146
|
+
export type AdminUsersUpdateResponses = {
|
|
2147
|
+
200: AdminUserResponse;
|
|
2148
|
+
};
|
|
2149
|
+
|
|
2150
|
+
export type AdminUsersUpdateResponse = AdminUsersUpdateResponses[keyof AdminUsersUpdateResponses];
|
|
2151
|
+
|
|
2152
|
+
export type DeactivateCreateData = {
|
|
2153
|
+
body: Deactivate;
|
|
2154
|
+
path?: never;
|
|
2155
|
+
query?: never;
|
|
2156
|
+
url: '/deactivate/';
|
|
2157
|
+
};
|
|
2158
|
+
|
|
2159
|
+
export type DeactivateCreateResponses = {
|
|
2160
|
+
200: ActionResponse;
|
|
2161
|
+
};
|
|
2162
|
+
|
|
2163
|
+
export type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
2164
|
+
|
|
2165
|
+
export type UserConversionPairsListData = {
|
|
2166
|
+
body?: never;
|
|
2167
|
+
path?: never;
|
|
2168
|
+
query?: {
|
|
2169
|
+
id?: number;
|
|
2170
|
+
key?: string;
|
|
2171
|
+
/**
|
|
2172
|
+
* Multiple values may be separated by commas.
|
|
2173
|
+
*/
|
|
2174
|
+
key__in?: Array<string>;
|
|
2175
|
+
/**
|
|
2176
|
+
* A page number within the paginated result set.
|
|
2177
|
+
*/
|
|
2178
|
+
page?: number;
|
|
2179
|
+
/**
|
|
2180
|
+
* Number of results to return per page.
|
|
2181
|
+
*/
|
|
2182
|
+
page_size?: number;
|
|
2183
|
+
};
|
|
2184
|
+
url: '/user/conversion-pairs/';
|
|
2185
|
+
};
|
|
2186
|
+
|
|
2187
|
+
export type UserConversionPairsListResponses = {
|
|
2188
|
+
200: PaginatedUserConversionPairListResponse;
|
|
2189
|
+
};
|
|
2190
|
+
|
|
2191
|
+
export type UserConversionPairsListResponse = UserConversionPairsListResponses[keyof UserConversionPairsListResponses];
|
|
2192
|
+
|
|
2193
|
+
export type UserConversionPairsRetrieveData = {
|
|
2194
|
+
body?: never;
|
|
2195
|
+
path: {
|
|
2196
|
+
identifier: string;
|
|
2197
|
+
};
|
|
2198
|
+
query?: never;
|
|
2199
|
+
url: '/user/conversion-pairs/{identifier}/';
|
|
2200
|
+
};
|
|
2201
|
+
|
|
2202
|
+
export type UserConversionPairsRetrieveResponses = {
|
|
2203
|
+
200: UserConversionPairResponse;
|
|
2204
|
+
};
|
|
2205
|
+
|
|
2206
|
+
export type UserConversionPairsRetrieveResponse = UserConversionPairsRetrieveResponses[keyof UserConversionPairsRetrieveResponses];
|
|
2207
|
+
|
|
2208
|
+
export type UserConversionsListData = {
|
|
2209
|
+
body?: never;
|
|
2210
|
+
path?: never;
|
|
2211
|
+
query?: {
|
|
2212
|
+
created?: string;
|
|
2213
|
+
created__gt?: string;
|
|
2214
|
+
created__gte?: string;
|
|
2215
|
+
created__lt?: string;
|
|
2216
|
+
created__lte?: string;
|
|
2217
|
+
id?: number;
|
|
2218
|
+
key?: string;
|
|
2219
|
+
/**
|
|
2220
|
+
* Multiple values may be separated by commas.
|
|
2221
|
+
*/
|
|
2222
|
+
key__in?: Array<string>;
|
|
2223
|
+
/**
|
|
2224
|
+
* A page number within the paginated result set.
|
|
2225
|
+
*/
|
|
2226
|
+
page?: number;
|
|
2227
|
+
/**
|
|
2228
|
+
* Number of results to return per page.
|
|
2229
|
+
*/
|
|
2230
|
+
page_size?: number;
|
|
2231
|
+
status?: string;
|
|
2232
|
+
};
|
|
2233
|
+
url: '/user/conversions/';
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
export type UserConversionsListResponses = {
|
|
2237
|
+
200: PaginatedUserConversionListResponse;
|
|
2238
|
+
};
|
|
2239
|
+
|
|
2240
|
+
export type UserConversionsListResponse = UserConversionsListResponses[keyof UserConversionsListResponses];
|
|
2241
|
+
|
|
2242
|
+
export type UserConversionsCreateData = {
|
|
2243
|
+
body: UserCreateConversionWritable;
|
|
2244
|
+
path?: never;
|
|
2245
|
+
query?: never;
|
|
2246
|
+
url: '/user/conversions/';
|
|
2247
|
+
};
|
|
2248
|
+
|
|
2249
|
+
export type UserConversionsCreateResponses = {
|
|
2250
|
+
201: UserConversionResponse;
|
|
2251
|
+
};
|
|
2252
|
+
|
|
2253
|
+
export type UserConversionsCreateResponse = UserConversionsCreateResponses[keyof UserConversionsCreateResponses];
|
|
2254
|
+
|
|
2255
|
+
export type UserConversionsRetrieveData = {
|
|
2256
|
+
body?: never;
|
|
2257
|
+
path: {
|
|
2258
|
+
identifier: string;
|
|
2259
|
+
};
|
|
2260
|
+
query?: never;
|
|
2261
|
+
url: '/user/conversions/{identifier}/';
|
|
2262
|
+
};
|
|
2263
|
+
|
|
2264
|
+
export type UserConversionsRetrieveResponses = {
|
|
2265
|
+
200: UserConversionResponse;
|
|
2266
|
+
};
|
|
2267
|
+
|
|
2268
|
+
export type UserConversionsRetrieveResponse = UserConversionsRetrieveResponses[keyof UserConversionsRetrieveResponses];
|
|
2269
|
+
|
|
2270
|
+
export type UserConversionsPartialUpdateData = {
|
|
2271
|
+
body?: PatchedUserUpdateConversionWritable;
|
|
2272
|
+
path: {
|
|
2273
|
+
identifier: string;
|
|
2274
|
+
};
|
|
2275
|
+
query?: never;
|
|
2276
|
+
url: '/user/conversions/{identifier}/';
|
|
2277
|
+
};
|
|
2278
|
+
|
|
2279
|
+
export type UserConversionsPartialUpdateResponses = {
|
|
2280
|
+
200: UserConversionResponse;
|
|
2281
|
+
};
|
|
2282
|
+
|
|
2283
|
+
export type UserConversionsPartialUpdateResponse = UserConversionsPartialUpdateResponses[keyof UserConversionsPartialUpdateResponses];
|
|
2284
|
+
|
|
2285
|
+
export type UserConversionsUpdateData = {
|
|
2286
|
+
body: UserUpdateConversionWritable;
|
|
2287
|
+
path: {
|
|
2288
|
+
identifier: string;
|
|
2289
|
+
};
|
|
2290
|
+
query?: never;
|
|
2291
|
+
url: '/user/conversions/{identifier}/';
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
export type UserConversionsUpdateResponses = {
|
|
2295
|
+
200: UserConversionResponse;
|
|
2296
|
+
};
|
|
2297
|
+
|
|
2298
|
+
export type UserConversionsUpdateResponse = UserConversionsUpdateResponses[keyof UserConversionsUpdateResponses];
|
|
2299
|
+
|
|
2300
|
+
export type UserCurrenciesListData = {
|
|
2301
|
+
body?: never;
|
|
2302
|
+
path?: never;
|
|
2303
|
+
query?: {
|
|
2304
|
+
code?: string;
|
|
2305
|
+
/**
|
|
2306
|
+
* Multiple values may be separated by commas.
|
|
2307
|
+
*/
|
|
2308
|
+
code__in?: Array<string>;
|
|
2309
|
+
/**
|
|
2310
|
+
* A page number within the paginated result set.
|
|
2311
|
+
*/
|
|
2312
|
+
page?: number;
|
|
2313
|
+
/**
|
|
2314
|
+
* Number of results to return per page.
|
|
2315
|
+
*/
|
|
2316
|
+
page_size?: number;
|
|
2317
|
+
unit?: string;
|
|
2318
|
+
};
|
|
2319
|
+
url: '/user/currencies/';
|
|
2320
|
+
};
|
|
2321
|
+
|
|
2322
|
+
export type UserCurrenciesListResponses = {
|
|
2323
|
+
200: PaginatedUserCurrencyListResponse;
|
|
2324
|
+
};
|
|
2325
|
+
|
|
2326
|
+
export type UserCurrenciesListResponse = UserCurrenciesListResponses[keyof UserCurrenciesListResponses];
|
|
2327
|
+
|
|
2328
|
+
export type UserCurrenciesRetrieveData = {
|
|
2329
|
+
body?: never;
|
|
2330
|
+
path: {
|
|
2331
|
+
code: string;
|
|
2332
|
+
};
|
|
2333
|
+
query?: never;
|
|
2334
|
+
url: '/user/currencies/{code}/';
|
|
2335
|
+
};
|
|
2336
|
+
|
|
2337
|
+
export type UserCurrenciesRetrieveResponses = {
|
|
2338
|
+
200: UserCurrencyResponse;
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
export type UserCurrenciesRetrieveResponse = UserCurrenciesRetrieveResponses[keyof UserCurrenciesRetrieveResponses];
|
|
2342
|
+
|
|
2343
|
+
export type UserRatesListData = {
|
|
2344
|
+
body?: never;
|
|
2345
|
+
path?: never;
|
|
2346
|
+
query?: {
|
|
2347
|
+
created?: string;
|
|
2348
|
+
created__gt?: string;
|
|
2349
|
+
created__gte?: string;
|
|
2350
|
+
created__lt?: string;
|
|
2351
|
+
created__lte?: string;
|
|
2352
|
+
id?: number;
|
|
2353
|
+
key?: string;
|
|
2354
|
+
/**
|
|
2355
|
+
* Multiple values may be separated by commas.
|
|
2356
|
+
*/
|
|
2357
|
+
key__in?: Array<string>;
|
|
2358
|
+
/**
|
|
2359
|
+
* A page number within the paginated result set.
|
|
2360
|
+
*/
|
|
2361
|
+
page?: number;
|
|
2362
|
+
/**
|
|
2363
|
+
* Number of results to return per page.
|
|
2364
|
+
*/
|
|
2365
|
+
page_size?: number;
|
|
2366
|
+
};
|
|
2367
|
+
url: '/user/rates/';
|
|
2368
|
+
};
|
|
2369
|
+
|
|
2370
|
+
export type UserRatesListResponses = {
|
|
2371
|
+
200: PaginatedUserRateListResponse;
|
|
2372
|
+
};
|
|
2373
|
+
|
|
2374
|
+
export type UserRatesListResponse = UserRatesListResponses[keyof UserRatesListResponses];
|
|
2375
|
+
|
|
2376
|
+
export type UserRatesRetrieveData = {
|
|
2377
|
+
body?: never;
|
|
2378
|
+
path: {
|
|
2379
|
+
identifier: string;
|
|
2380
|
+
};
|
|
2381
|
+
query?: never;
|
|
2382
|
+
url: '/user/rates/{identifier}/';
|
|
2383
|
+
};
|
|
2384
|
+
|
|
2385
|
+
export type UserRatesRetrieveResponses = {
|
|
2386
|
+
200: UserRateResponse;
|
|
2387
|
+
};
|
|
2388
|
+
|
|
2389
|
+
export type UserRatesRetrieveResponse = UserRatesRetrieveResponses[keyof UserRatesRetrieveResponses];
|
|
2390
|
+
|
|
2391
|
+
export type UserRatesSnapshotRetrieveData = {
|
|
2392
|
+
body?: never;
|
|
2393
|
+
path?: never;
|
|
2394
|
+
query?: never;
|
|
2395
|
+
url: '/user/rates/snapshot/';
|
|
2396
|
+
};
|
|
2397
|
+
|
|
2398
|
+
export type UserRatesSnapshotRetrieveResponses = {
|
|
2399
|
+
200: UserSnapshotRateResponse;
|
|
2400
|
+
};
|
|
2401
|
+
|
|
2402
|
+
export type UserRatesSnapshotRetrieveResponse = UserRatesSnapshotRetrieveResponses[keyof UserRatesSnapshotRetrieveResponses];
|
|
2403
|
+
|
|
2404
|
+
export type UserRatesSnapshotsListData = {
|
|
2405
|
+
body?: never;
|
|
2406
|
+
path?: never;
|
|
2407
|
+
query?: never;
|
|
2408
|
+
url: '/user/rates/snapshots/';
|
|
2409
|
+
};
|
|
2410
|
+
|
|
2411
|
+
export type UserRatesSnapshotsListResponses = {
|
|
2412
|
+
200: NewSnapshotRateListResponse;
|
|
2413
|
+
};
|
|
2414
|
+
|
|
2415
|
+
export type UserRatesSnapshotsListResponse = UserRatesSnapshotsListResponses[keyof UserRatesSnapshotsListResponses];
|
|
2416
|
+
|
|
2417
|
+
export type UserSettingsRetrieveData = {
|
|
2418
|
+
body?: never;
|
|
2419
|
+
path?: never;
|
|
2420
|
+
query?: never;
|
|
2421
|
+
url: '/user/settings/';
|
|
2422
|
+
};
|
|
2423
|
+
|
|
2424
|
+
export type UserSettingsRetrieveResponses = {
|
|
2425
|
+
200: UserSettingsResponse;
|
|
2426
|
+
};
|
|
2427
|
+
|
|
2428
|
+
export type UserSettingsRetrieveResponse = UserSettingsRetrieveResponses[keyof UserSettingsRetrieveResponses];
|
|
2429
|
+
|
|
2430
|
+
export type UserSettingsPartialUpdateData = {
|
|
2431
|
+
body?: PatchedUserUpdateSettings;
|
|
2432
|
+
path?: never;
|
|
2433
|
+
query?: never;
|
|
2434
|
+
url: '/user/settings/';
|
|
2435
|
+
};
|
|
2436
|
+
|
|
2437
|
+
export type UserSettingsPartialUpdateResponses = {
|
|
2438
|
+
200: UserSettingsResponse;
|
|
2439
|
+
};
|
|
2440
|
+
|
|
2441
|
+
export type UserSettingsPartialUpdateResponse = UserSettingsPartialUpdateResponses[keyof UserSettingsPartialUpdateResponses];
|
|
2442
|
+
|
|
2443
|
+
export type UserSettingsUpdateData = {
|
|
2444
|
+
body?: UserUpdateSettings;
|
|
2445
|
+
path?: never;
|
|
2446
|
+
query?: never;
|
|
2447
|
+
url: '/user/settings/';
|
|
2448
|
+
};
|
|
2449
|
+
|
|
2450
|
+
export type UserSettingsUpdateResponses = {
|
|
2451
|
+
200: UserSettingsResponse;
|
|
2452
|
+
};
|
|
2453
|
+
|
|
2454
|
+
export type UserSettingsUpdateResponse = UserSettingsUpdateResponses[keyof UserSettingsUpdateResponses];
|
|
2455
|
+
|
|
2456
|
+
export type WebhookCreateData = {
|
|
2457
|
+
body: Webhook;
|
|
2458
|
+
path?: never;
|
|
2459
|
+
query?: never;
|
|
2460
|
+
url: '/webhook/';
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
export type WebhookCreateResponses = {
|
|
2464
|
+
200: ActionResponse;
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
export type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|