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,1718 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export type ClientOptions = {
|
|
4
|
+
baseUrl: 'https://reward.services.rehive.io/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 id: 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 AdminCampaign = {
|
|
28
|
+
readonly id: string;
|
|
29
|
+
name?: string;
|
|
30
|
+
image?: string | null;
|
|
31
|
+
description?: string;
|
|
32
|
+
start_date: number;
|
|
33
|
+
end_date: number;
|
|
34
|
+
currency: Currency;
|
|
35
|
+
credit_account_name?: string | null;
|
|
36
|
+
credit_account?: string | null;
|
|
37
|
+
account: string;
|
|
38
|
+
readonly total: number;
|
|
39
|
+
readonly fixed_amount: number | null;
|
|
40
|
+
percentage?: string | null;
|
|
41
|
+
readonly balance: number;
|
|
42
|
+
/**
|
|
43
|
+
* * `percentage` - Percentage
|
|
44
|
+
* * `fixed` - Fixed
|
|
45
|
+
* * `fixedpercentage` - Fixedpercentage
|
|
46
|
+
*/
|
|
47
|
+
type?: 'percentage' | 'fixed' | 'fixedpercentage';
|
|
48
|
+
/**
|
|
49
|
+
* * `pending` - Pending
|
|
50
|
+
* * `accepted` - Accepted
|
|
51
|
+
* * `rejected` - Rejected
|
|
52
|
+
*/
|
|
53
|
+
default_status?: 'pending' | 'accepted' | 'rejected';
|
|
54
|
+
users?: Array<unknown>;
|
|
55
|
+
groups?: Array<unknown>;
|
|
56
|
+
max_per_user?: number | null;
|
|
57
|
+
max_per_user_per_timeframe?: number | null;
|
|
58
|
+
/**
|
|
59
|
+
* * `daily` - Daily
|
|
60
|
+
* * `weekly` - Weekly
|
|
61
|
+
* * `monthly` - Monthly
|
|
62
|
+
*/
|
|
63
|
+
timeframe?: 'daily' | 'weekly' | 'monthly' | '' | null;
|
|
64
|
+
transactions_currency: Currency;
|
|
65
|
+
min_num_transactions?: number | null;
|
|
66
|
+
readonly min_value_transactions: number | null;
|
|
67
|
+
active?: boolean;
|
|
68
|
+
visible?: boolean;
|
|
69
|
+
claim?: boolean;
|
|
70
|
+
expression?: string | null;
|
|
71
|
+
/**
|
|
72
|
+
* * `company.link.create` - company.link.create
|
|
73
|
+
* * `company.link.update` - company.link.update
|
|
74
|
+
* * `company.update` - company.update
|
|
75
|
+
* * `currency.create` - currency.create
|
|
76
|
+
* * `currency.update` - currency.update
|
|
77
|
+
* * `user.create` - user.create
|
|
78
|
+
* * `user.update` - user.update
|
|
79
|
+
* * `user.password.reset` - user.password.reset
|
|
80
|
+
* * `user.password.set` - user.password.set
|
|
81
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
82
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
83
|
+
* * `user.email.verify` - user.email.verify
|
|
84
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
85
|
+
* * `email.create` - email.create
|
|
86
|
+
* * `email.update` - email.update
|
|
87
|
+
* * `mobile.create` - mobile.create
|
|
88
|
+
* * `mobile.update` - mobile.update
|
|
89
|
+
* * `address.create` - address.create
|
|
90
|
+
* * `address.update` - address.update
|
|
91
|
+
* * `document.create` - document.create
|
|
92
|
+
* * `document.update` - document.update
|
|
93
|
+
* * `bank_account.create` - bank_account.create
|
|
94
|
+
* * `bank_account.update` - bank_account.update
|
|
95
|
+
* * `crypto_account.create` - crypto_account.create
|
|
96
|
+
* * `crypto_account.update` - crypto_account.update
|
|
97
|
+
* * `account.create` - account.create
|
|
98
|
+
* * `account.update` - account.update
|
|
99
|
+
* * `transaction.create` - transaction.create
|
|
100
|
+
* * `transaction.update` - transaction.update
|
|
101
|
+
* * `transaction.initiate` - transaction.initiate
|
|
102
|
+
* * `transaction.execute` - transaction.execute
|
|
103
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
104
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
105
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
106
|
+
*/
|
|
107
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | '' | null;
|
|
108
|
+
event_user?: string | null;
|
|
109
|
+
event_amount?: string | null;
|
|
110
|
+
};
|
|
111
|
+
|
|
112
|
+
export type AdminCampaignResponse = {
|
|
113
|
+
status?: string;
|
|
114
|
+
data?: AdminCampaign;
|
|
115
|
+
};
|
|
116
|
+
|
|
117
|
+
/**
|
|
118
|
+
* A ModelSerializer that takes additional arguments for
|
|
119
|
+
* "fields", "omit" and "expand" in order to
|
|
120
|
+
* control which fields are displayed, and whether to replace simple
|
|
121
|
+
* values with complex, nested serializations
|
|
122
|
+
*/
|
|
123
|
+
export type AdminCompany = {
|
|
124
|
+
readonly id: string;
|
|
125
|
+
readonly identifier: string;
|
|
126
|
+
readonly secret: string;
|
|
127
|
+
readonly name: string;
|
|
128
|
+
operational_account?: string | null;
|
|
129
|
+
};
|
|
130
|
+
|
|
131
|
+
export type AdminCompanyResponse = {
|
|
132
|
+
status?: string;
|
|
133
|
+
data?: AdminCompany;
|
|
134
|
+
};
|
|
135
|
+
|
|
136
|
+
/**
|
|
137
|
+
* A ModelSerializer that takes additional arguments for
|
|
138
|
+
* "fields", "omit" and "expand" in order to
|
|
139
|
+
* control which fields are displayed, and whether to replace simple
|
|
140
|
+
* values with complex, nested serializations
|
|
141
|
+
*/
|
|
142
|
+
export type AdminCreateReward = {
|
|
143
|
+
readonly id: string;
|
|
144
|
+
user: string;
|
|
145
|
+
campaign?: string;
|
|
146
|
+
currency?: string;
|
|
147
|
+
amount?: number;
|
|
148
|
+
/**
|
|
149
|
+
* * `pending` - Pending
|
|
150
|
+
* * `accepted` - Accepted
|
|
151
|
+
* * `rejected` - Rejected
|
|
152
|
+
*/
|
|
153
|
+
status?: 'pending' | 'accepted' | 'rejected';
|
|
154
|
+
readonly collection: string | null;
|
|
155
|
+
readonly created: number;
|
|
156
|
+
data?: {
|
|
157
|
+
[key: string]: unknown;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
/**
|
|
162
|
+
* A ModelSerializer that takes additional arguments for
|
|
163
|
+
* "fields", "omit" and "expand" in order to
|
|
164
|
+
* control which fields are displayed, and whether to replace simple
|
|
165
|
+
* values with complex, nested serializations
|
|
166
|
+
*/
|
|
167
|
+
export type AdminCreateUpdateCampaign = {
|
|
168
|
+
readonly id: string;
|
|
169
|
+
name?: string;
|
|
170
|
+
image?: string | null;
|
|
171
|
+
description?: string;
|
|
172
|
+
start_date?: number | null;
|
|
173
|
+
end_date?: number | null;
|
|
174
|
+
currency: string;
|
|
175
|
+
credit_account_name?: string | null;
|
|
176
|
+
credit_account?: string | null;
|
|
177
|
+
account?: string | null;
|
|
178
|
+
total: number;
|
|
179
|
+
fixed_amount?: number;
|
|
180
|
+
percentage?: number | null;
|
|
181
|
+
readonly balance: number;
|
|
182
|
+
/**
|
|
183
|
+
* * `percentage` - Percentage
|
|
184
|
+
* * `fixed` - Fixed
|
|
185
|
+
* * `fixedpercentage` - Fixedpercentage
|
|
186
|
+
*/
|
|
187
|
+
type?: 'percentage' | 'fixed' | 'fixedpercentage';
|
|
188
|
+
/**
|
|
189
|
+
* * `pending` - Pending
|
|
190
|
+
* * `accepted` - Accepted
|
|
191
|
+
* * `rejected` - Rejected
|
|
192
|
+
*/
|
|
193
|
+
default_status?: 'pending' | 'accepted' | 'rejected';
|
|
194
|
+
users?: Array<unknown>;
|
|
195
|
+
groups?: Array<unknown>;
|
|
196
|
+
max_per_user?: number | null;
|
|
197
|
+
max_per_user_per_timeframe?: number | null;
|
|
198
|
+
/**
|
|
199
|
+
* * `daily` - Daily
|
|
200
|
+
* * `weekly` - Weekly
|
|
201
|
+
* * `monthly` - Monthly
|
|
202
|
+
*/
|
|
203
|
+
timeframe?: 'daily' | 'weekly' | 'monthly' | '' | null;
|
|
204
|
+
transactions_currency?: string | null;
|
|
205
|
+
min_num_transactions?: number | null;
|
|
206
|
+
min_value_transactions?: number | null;
|
|
207
|
+
active?: boolean;
|
|
208
|
+
visible?: boolean;
|
|
209
|
+
claim?: boolean;
|
|
210
|
+
expression?: string | null;
|
|
211
|
+
/**
|
|
212
|
+
* * `company.link.create` - company.link.create
|
|
213
|
+
* * `company.link.update` - company.link.update
|
|
214
|
+
* * `company.update` - company.update
|
|
215
|
+
* * `currency.create` - currency.create
|
|
216
|
+
* * `currency.update` - currency.update
|
|
217
|
+
* * `user.create` - user.create
|
|
218
|
+
* * `user.update` - user.update
|
|
219
|
+
* * `user.password.reset` - user.password.reset
|
|
220
|
+
* * `user.password.set` - user.password.set
|
|
221
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
222
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
223
|
+
* * `user.email.verify` - user.email.verify
|
|
224
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
225
|
+
* * `email.create` - email.create
|
|
226
|
+
* * `email.update` - email.update
|
|
227
|
+
* * `mobile.create` - mobile.create
|
|
228
|
+
* * `mobile.update` - mobile.update
|
|
229
|
+
* * `address.create` - address.create
|
|
230
|
+
* * `address.update` - address.update
|
|
231
|
+
* * `document.create` - document.create
|
|
232
|
+
* * `document.update` - document.update
|
|
233
|
+
* * `bank_account.create` - bank_account.create
|
|
234
|
+
* * `bank_account.update` - bank_account.update
|
|
235
|
+
* * `crypto_account.create` - crypto_account.create
|
|
236
|
+
* * `crypto_account.update` - crypto_account.update
|
|
237
|
+
* * `account.create` - account.create
|
|
238
|
+
* * `account.update` - account.update
|
|
239
|
+
* * `transaction.create` - transaction.create
|
|
240
|
+
* * `transaction.update` - transaction.update
|
|
241
|
+
* * `transaction.initiate` - transaction.initiate
|
|
242
|
+
* * `transaction.execute` - transaction.execute
|
|
243
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
244
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
245
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
246
|
+
*/
|
|
247
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | '' | null;
|
|
248
|
+
event_user?: string | null;
|
|
249
|
+
event_amount?: string | null;
|
|
250
|
+
};
|
|
251
|
+
|
|
252
|
+
/**
|
|
253
|
+
* A ModelSerializer that takes additional arguments for
|
|
254
|
+
* "fields", "omit" and "expand" in order to
|
|
255
|
+
* control which fields are displayed, and whether to replace simple
|
|
256
|
+
* values with complex, nested serializations
|
|
257
|
+
*/
|
|
258
|
+
export type AdminReward = {
|
|
259
|
+
readonly id: string;
|
|
260
|
+
readonly user: string;
|
|
261
|
+
campaign: Campaign;
|
|
262
|
+
currency: Currency;
|
|
263
|
+
readonly amount: number;
|
|
264
|
+
/**
|
|
265
|
+
* * `pending` - Pending
|
|
266
|
+
* * `accepted` - Accepted
|
|
267
|
+
* * `rejected` - Rejected
|
|
268
|
+
*/
|
|
269
|
+
status?: 'pending' | 'accepted' | 'rejected';
|
|
270
|
+
readonly collection: string | null;
|
|
271
|
+
readonly type: string;
|
|
272
|
+
readonly created: number;
|
|
273
|
+
};
|
|
274
|
+
|
|
275
|
+
export type AdminRewardResponse = {
|
|
276
|
+
status?: string;
|
|
277
|
+
data?: AdminReward;
|
|
278
|
+
};
|
|
279
|
+
|
|
280
|
+
/**
|
|
281
|
+
* A ModelSerializer that takes additional arguments for
|
|
282
|
+
* "fields", "omit" and "expand" in order to
|
|
283
|
+
* control which fields are displayed, and whether to replace simple
|
|
284
|
+
* values with complex, nested serializations
|
|
285
|
+
*/
|
|
286
|
+
export type AdminUser = {
|
|
287
|
+
readonly id: string;
|
|
288
|
+
readonly referral_code: string | null;
|
|
289
|
+
readonly referee_code: string | null;
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
export type AdminUserResponse = {
|
|
293
|
+
status?: string;
|
|
294
|
+
data?: AdminUser;
|
|
295
|
+
};
|
|
296
|
+
|
|
297
|
+
/**
|
|
298
|
+
* A ModelSerializer that takes additional arguments for
|
|
299
|
+
* "fields", "omit" and "expand" in order to
|
|
300
|
+
* control which fields are displayed, and whether to replace simple
|
|
301
|
+
* values with complex, nested serializations
|
|
302
|
+
*/
|
|
303
|
+
export type Campaign = {
|
|
304
|
+
readonly id: string;
|
|
305
|
+
name?: string;
|
|
306
|
+
description?: string;
|
|
307
|
+
active?: boolean;
|
|
308
|
+
default_status: string;
|
|
309
|
+
};
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* A ModelSerializer that takes additional arguments for
|
|
313
|
+
* "fields", "omit" and "expand" in order to
|
|
314
|
+
* control which fields are displayed, and whether to replace simple
|
|
315
|
+
* values with complex, nested serializations
|
|
316
|
+
*/
|
|
317
|
+
export type Currency = {
|
|
318
|
+
code: string;
|
|
319
|
+
display_code?: string | null;
|
|
320
|
+
description?: string | null;
|
|
321
|
+
symbol?: string | null;
|
|
322
|
+
unit?: string | null;
|
|
323
|
+
divisibility?: number;
|
|
324
|
+
enabled?: boolean;
|
|
325
|
+
};
|
|
326
|
+
|
|
327
|
+
export type CurrencyResponse = {
|
|
328
|
+
status?: string;
|
|
329
|
+
data?: Currency;
|
|
330
|
+
};
|
|
331
|
+
|
|
332
|
+
export type Deactivate = {
|
|
333
|
+
token: string;
|
|
334
|
+
purge?: boolean;
|
|
335
|
+
};
|
|
336
|
+
|
|
337
|
+
export type PaginatedAdminCampaignList = {
|
|
338
|
+
count?: number;
|
|
339
|
+
next?: string | null;
|
|
340
|
+
previous?: string | null;
|
|
341
|
+
results?: Array<AdminCampaign>;
|
|
342
|
+
};
|
|
343
|
+
|
|
344
|
+
export type PaginatedAdminCampaignListResponse = {
|
|
345
|
+
status?: string;
|
|
346
|
+
data?: PaginatedAdminCampaignList;
|
|
347
|
+
};
|
|
348
|
+
|
|
349
|
+
export type PaginatedAdminRewardList = {
|
|
350
|
+
count?: number;
|
|
351
|
+
next?: string | null;
|
|
352
|
+
previous?: string | null;
|
|
353
|
+
results?: Array<AdminReward>;
|
|
354
|
+
};
|
|
355
|
+
|
|
356
|
+
export type PaginatedAdminRewardListResponse = {
|
|
357
|
+
status?: string;
|
|
358
|
+
data?: PaginatedAdminRewardList;
|
|
359
|
+
};
|
|
360
|
+
|
|
361
|
+
export type PaginatedAdminUserList = {
|
|
362
|
+
count?: number;
|
|
363
|
+
next?: string | null;
|
|
364
|
+
previous?: string | null;
|
|
365
|
+
results?: Array<AdminUser>;
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
export type PaginatedAdminUserListResponse = {
|
|
369
|
+
status?: string;
|
|
370
|
+
data?: PaginatedAdminUserList;
|
|
371
|
+
};
|
|
372
|
+
|
|
373
|
+
export type PaginatedCurrencyList = {
|
|
374
|
+
count?: number;
|
|
375
|
+
next?: string | null;
|
|
376
|
+
previous?: string | null;
|
|
377
|
+
results?: Array<Currency>;
|
|
378
|
+
};
|
|
379
|
+
|
|
380
|
+
export type PaginatedCurrencyListResponse = {
|
|
381
|
+
status?: string;
|
|
382
|
+
data?: PaginatedCurrencyList;
|
|
383
|
+
};
|
|
384
|
+
|
|
385
|
+
export type PaginatedUserCampaignList = {
|
|
386
|
+
count?: number;
|
|
387
|
+
next?: string | null;
|
|
388
|
+
previous?: string | null;
|
|
389
|
+
results?: Array<UserCampaign>;
|
|
390
|
+
};
|
|
391
|
+
|
|
392
|
+
export type PaginatedUserCampaignListResponse = {
|
|
393
|
+
status?: string;
|
|
394
|
+
data?: PaginatedUserCampaignList;
|
|
395
|
+
};
|
|
396
|
+
|
|
397
|
+
export type PaginatedUserRewardList = {
|
|
398
|
+
count?: number;
|
|
399
|
+
next?: string | null;
|
|
400
|
+
previous?: string | null;
|
|
401
|
+
results?: Array<UserReward>;
|
|
402
|
+
};
|
|
403
|
+
|
|
404
|
+
export type PaginatedUserRewardListResponse = {
|
|
405
|
+
status?: string;
|
|
406
|
+
data?: PaginatedUserRewardList;
|
|
407
|
+
};
|
|
408
|
+
|
|
409
|
+
/**
|
|
410
|
+
* A ModelSerializer that takes additional arguments for
|
|
411
|
+
* "fields", "omit" and "expand" in order to
|
|
412
|
+
* control which fields are displayed, and whether to replace simple
|
|
413
|
+
* values with complex, nested serializations
|
|
414
|
+
*/
|
|
415
|
+
export type PatchedAdminCompany = {
|
|
416
|
+
readonly id?: string;
|
|
417
|
+
readonly identifier?: string;
|
|
418
|
+
readonly secret?: string;
|
|
419
|
+
readonly name?: string;
|
|
420
|
+
operational_account?: string | null;
|
|
421
|
+
};
|
|
422
|
+
|
|
423
|
+
/**
|
|
424
|
+
* A ModelSerializer that takes additional arguments for
|
|
425
|
+
* "fields", "omit" and "expand" in order to
|
|
426
|
+
* control which fields are displayed, and whether to replace simple
|
|
427
|
+
* values with complex, nested serializations
|
|
428
|
+
*/
|
|
429
|
+
export type PatchedAdminCreateUpdateCampaign = {
|
|
430
|
+
readonly id?: string;
|
|
431
|
+
name?: string;
|
|
432
|
+
image?: string | null;
|
|
433
|
+
description?: string;
|
|
434
|
+
start_date?: number | null;
|
|
435
|
+
end_date?: number | null;
|
|
436
|
+
currency?: string;
|
|
437
|
+
credit_account_name?: string | null;
|
|
438
|
+
credit_account?: string | null;
|
|
439
|
+
account?: string | null;
|
|
440
|
+
total?: number;
|
|
441
|
+
fixed_amount?: number;
|
|
442
|
+
percentage?: number | null;
|
|
443
|
+
readonly balance?: number;
|
|
444
|
+
/**
|
|
445
|
+
* * `percentage` - Percentage
|
|
446
|
+
* * `fixed` - Fixed
|
|
447
|
+
* * `fixedpercentage` - Fixedpercentage
|
|
448
|
+
*/
|
|
449
|
+
type?: 'percentage' | 'fixed' | 'fixedpercentage';
|
|
450
|
+
/**
|
|
451
|
+
* * `pending` - Pending
|
|
452
|
+
* * `accepted` - Accepted
|
|
453
|
+
* * `rejected` - Rejected
|
|
454
|
+
*/
|
|
455
|
+
default_status?: 'pending' | 'accepted' | 'rejected';
|
|
456
|
+
users?: Array<unknown>;
|
|
457
|
+
groups?: Array<unknown>;
|
|
458
|
+
max_per_user?: number | null;
|
|
459
|
+
max_per_user_per_timeframe?: number | null;
|
|
460
|
+
/**
|
|
461
|
+
* * `daily` - Daily
|
|
462
|
+
* * `weekly` - Weekly
|
|
463
|
+
* * `monthly` - Monthly
|
|
464
|
+
*/
|
|
465
|
+
timeframe?: 'daily' | 'weekly' | 'monthly' | '' | null;
|
|
466
|
+
transactions_currency?: string | null;
|
|
467
|
+
min_num_transactions?: number | null;
|
|
468
|
+
min_value_transactions?: number | null;
|
|
469
|
+
active?: boolean;
|
|
470
|
+
visible?: boolean;
|
|
471
|
+
claim?: boolean;
|
|
472
|
+
expression?: string | null;
|
|
473
|
+
/**
|
|
474
|
+
* * `company.link.create` - company.link.create
|
|
475
|
+
* * `company.link.update` - company.link.update
|
|
476
|
+
* * `company.update` - company.update
|
|
477
|
+
* * `currency.create` - currency.create
|
|
478
|
+
* * `currency.update` - currency.update
|
|
479
|
+
* * `user.create` - user.create
|
|
480
|
+
* * `user.update` - user.update
|
|
481
|
+
* * `user.password.reset` - user.password.reset
|
|
482
|
+
* * `user.password.set` - user.password.set
|
|
483
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
484
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
485
|
+
* * `user.email.verify` - user.email.verify
|
|
486
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
487
|
+
* * `email.create` - email.create
|
|
488
|
+
* * `email.update` - email.update
|
|
489
|
+
* * `mobile.create` - mobile.create
|
|
490
|
+
* * `mobile.update` - mobile.update
|
|
491
|
+
* * `address.create` - address.create
|
|
492
|
+
* * `address.update` - address.update
|
|
493
|
+
* * `document.create` - document.create
|
|
494
|
+
* * `document.update` - document.update
|
|
495
|
+
* * `bank_account.create` - bank_account.create
|
|
496
|
+
* * `bank_account.update` - bank_account.update
|
|
497
|
+
* * `crypto_account.create` - crypto_account.create
|
|
498
|
+
* * `crypto_account.update` - crypto_account.update
|
|
499
|
+
* * `account.create` - account.create
|
|
500
|
+
* * `account.update` - account.update
|
|
501
|
+
* * `transaction.create` - transaction.create
|
|
502
|
+
* * `transaction.update` - transaction.update
|
|
503
|
+
* * `transaction.initiate` - transaction.initiate
|
|
504
|
+
* * `transaction.execute` - transaction.execute
|
|
505
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
506
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
507
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
508
|
+
*/
|
|
509
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | '' | null;
|
|
510
|
+
event_user?: string | null;
|
|
511
|
+
event_amount?: string | null;
|
|
512
|
+
};
|
|
513
|
+
|
|
514
|
+
/**
|
|
515
|
+
* A ModelSerializer that takes additional arguments for
|
|
516
|
+
* "fields", "omit" and "expand" in order to
|
|
517
|
+
* control which fields are displayed, and whether to replace simple
|
|
518
|
+
* values with complex, nested serializations
|
|
519
|
+
*/
|
|
520
|
+
export type PatchedAdminReward = {
|
|
521
|
+
readonly id?: string;
|
|
522
|
+
readonly user?: string;
|
|
523
|
+
campaign?: Campaign;
|
|
524
|
+
currency?: Currency;
|
|
525
|
+
readonly amount?: number;
|
|
526
|
+
/**
|
|
527
|
+
* * `pending` - Pending
|
|
528
|
+
* * `accepted` - Accepted
|
|
529
|
+
* * `rejected` - Rejected
|
|
530
|
+
*/
|
|
531
|
+
status?: 'pending' | 'accepted' | 'rejected';
|
|
532
|
+
readonly collection?: string | null;
|
|
533
|
+
readonly type?: string;
|
|
534
|
+
readonly created?: number;
|
|
535
|
+
};
|
|
536
|
+
|
|
537
|
+
/**
|
|
538
|
+
* A ModelSerializer that takes additional arguments for
|
|
539
|
+
* "fields", "omit" and "expand" in order to
|
|
540
|
+
* control which fields are displayed, and whether to replace simple
|
|
541
|
+
* values with complex, nested serializations
|
|
542
|
+
*/
|
|
543
|
+
export type PatchedUserUpdateReferral = {
|
|
544
|
+
readonly referral_code?: string | null;
|
|
545
|
+
referee_code?: string;
|
|
546
|
+
};
|
|
547
|
+
|
|
548
|
+
/**
|
|
549
|
+
* A ModelSerializer that takes additional arguments for
|
|
550
|
+
* "fields", "omit" and "expand" in order to
|
|
551
|
+
* control which fields are displayed, and whether to replace simple
|
|
552
|
+
* values with complex, nested serializations
|
|
553
|
+
*/
|
|
554
|
+
export type User = {
|
|
555
|
+
readonly id: string;
|
|
556
|
+
readonly referral_code: string | null;
|
|
557
|
+
readonly referee_code: string | null;
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
/**
|
|
561
|
+
* A ModelSerializer that takes additional arguments for
|
|
562
|
+
* "fields", "omit" and "expand" in order to
|
|
563
|
+
* control which fields are displayed, and whether to replace simple
|
|
564
|
+
* values with complex, nested serializations
|
|
565
|
+
*/
|
|
566
|
+
export type UserCampaign = {
|
|
567
|
+
readonly id: string;
|
|
568
|
+
name?: string;
|
|
569
|
+
readonly description: string;
|
|
570
|
+
image?: string | null;
|
|
571
|
+
start_date: number;
|
|
572
|
+
end_date: number;
|
|
573
|
+
currency: Currency;
|
|
574
|
+
readonly total: number;
|
|
575
|
+
readonly fixed_amount: number;
|
|
576
|
+
percentage?: string | null;
|
|
577
|
+
readonly balance: number;
|
|
578
|
+
type: string;
|
|
579
|
+
default_status: string;
|
|
580
|
+
users?: Array<unknown>;
|
|
581
|
+
groups?: Array<unknown>;
|
|
582
|
+
max_per_user?: number | null;
|
|
583
|
+
max_per_user_per_timeframe?: number | null;
|
|
584
|
+
timeframe?: string;
|
|
585
|
+
transactions_currency: Currency;
|
|
586
|
+
min_num_transactions?: number | null;
|
|
587
|
+
readonly min_value_transactions: number | null;
|
|
588
|
+
active?: boolean;
|
|
589
|
+
claim?: boolean;
|
|
590
|
+
};
|
|
591
|
+
|
|
592
|
+
export type UserCampaignResponse = {
|
|
593
|
+
status?: string;
|
|
594
|
+
data?: UserCampaign;
|
|
595
|
+
};
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* A ModelSerializer that takes additional arguments for
|
|
599
|
+
* "fields", "omit" and "expand" in order to
|
|
600
|
+
* control which fields are displayed, and whether to replace simple
|
|
601
|
+
* values with complex, nested serializations
|
|
602
|
+
*/
|
|
603
|
+
export type UserCreateReward = {
|
|
604
|
+
readonly id: string;
|
|
605
|
+
readonly user: string;
|
|
606
|
+
campaign: string;
|
|
607
|
+
currency: Currency;
|
|
608
|
+
readonly amount: number;
|
|
609
|
+
readonly status: string;
|
|
610
|
+
readonly collection: string | null;
|
|
611
|
+
readonly created: number;
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
export type UserResponse = {
|
|
615
|
+
status?: string;
|
|
616
|
+
data?: User;
|
|
617
|
+
};
|
|
618
|
+
|
|
619
|
+
/**
|
|
620
|
+
* A ModelSerializer that takes additional arguments for
|
|
621
|
+
* "fields", "omit" and "expand" in order to
|
|
622
|
+
* control which fields are displayed, and whether to replace simple
|
|
623
|
+
* values with complex, nested serializations
|
|
624
|
+
*/
|
|
625
|
+
export type UserReward = {
|
|
626
|
+
readonly id: string;
|
|
627
|
+
readonly user: string;
|
|
628
|
+
campaign: Campaign;
|
|
629
|
+
currency: Currency;
|
|
630
|
+
readonly amount: number;
|
|
631
|
+
readonly status: string;
|
|
632
|
+
readonly type: string;
|
|
633
|
+
collection?: string | null;
|
|
634
|
+
readonly created: number;
|
|
635
|
+
};
|
|
636
|
+
|
|
637
|
+
export type UserRewardResponse = {
|
|
638
|
+
status?: string;
|
|
639
|
+
data?: UserReward;
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
/**
|
|
643
|
+
* A ModelSerializer that takes additional arguments for
|
|
644
|
+
* "fields", "omit" and "expand" in order to
|
|
645
|
+
* control which fields are displayed, and whether to replace simple
|
|
646
|
+
* values with complex, nested serializations
|
|
647
|
+
*/
|
|
648
|
+
export type UserUpdateReferral = {
|
|
649
|
+
readonly referral_code: string | null;
|
|
650
|
+
referee_code: string;
|
|
651
|
+
};
|
|
652
|
+
|
|
653
|
+
export type Webhook = {
|
|
654
|
+
id: string;
|
|
655
|
+
/**
|
|
656
|
+
* * `company.link.create` - company.link.create
|
|
657
|
+
* * `company.link.update` - company.link.update
|
|
658
|
+
* * `company.update` - company.update
|
|
659
|
+
* * `currency.create` - currency.create
|
|
660
|
+
* * `currency.update` - currency.update
|
|
661
|
+
* * `user.create` - user.create
|
|
662
|
+
* * `user.update` - user.update
|
|
663
|
+
* * `user.password.reset` - user.password.reset
|
|
664
|
+
* * `user.password.set` - user.password.set
|
|
665
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
666
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
667
|
+
* * `user.email.verify` - user.email.verify
|
|
668
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
669
|
+
* * `email.create` - email.create
|
|
670
|
+
* * `email.update` - email.update
|
|
671
|
+
* * `mobile.create` - mobile.create
|
|
672
|
+
* * `mobile.update` - mobile.update
|
|
673
|
+
* * `address.create` - address.create
|
|
674
|
+
* * `address.update` - address.update
|
|
675
|
+
* * `document.create` - document.create
|
|
676
|
+
* * `document.update` - document.update
|
|
677
|
+
* * `bank_account.create` - bank_account.create
|
|
678
|
+
* * `bank_account.update` - bank_account.update
|
|
679
|
+
* * `crypto_account.create` - crypto_account.create
|
|
680
|
+
* * `crypto_account.update` - crypto_account.update
|
|
681
|
+
* * `account.create` - account.create
|
|
682
|
+
* * `account.update` - account.update
|
|
683
|
+
* * `transaction.create` - transaction.create
|
|
684
|
+
* * `transaction.update` - transaction.update
|
|
685
|
+
* * `transaction.initiate` - transaction.initiate
|
|
686
|
+
* * `transaction.execute` - transaction.execute
|
|
687
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
688
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
689
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
690
|
+
*/
|
|
691
|
+
event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify';
|
|
692
|
+
company: string;
|
|
693
|
+
data: {
|
|
694
|
+
[key: string]: unknown;
|
|
695
|
+
};
|
|
696
|
+
};
|
|
697
|
+
|
|
698
|
+
/**
|
|
699
|
+
* A ModelSerializer that takes additional arguments for
|
|
700
|
+
* "fields", "omit" and "expand" in order to
|
|
701
|
+
* control which fields are displayed, and whether to replace simple
|
|
702
|
+
* values with complex, nested serializations
|
|
703
|
+
*/
|
|
704
|
+
export type AdminCampaignWritable = {
|
|
705
|
+
name?: string;
|
|
706
|
+
image?: string | null;
|
|
707
|
+
description?: string;
|
|
708
|
+
start_date: number;
|
|
709
|
+
end_date: number;
|
|
710
|
+
currency: Currency;
|
|
711
|
+
credit_account_name?: string | null;
|
|
712
|
+
credit_account?: string | null;
|
|
713
|
+
account: string;
|
|
714
|
+
percentage?: string | null;
|
|
715
|
+
/**
|
|
716
|
+
* * `percentage` - Percentage
|
|
717
|
+
* * `fixed` - Fixed
|
|
718
|
+
* * `fixedpercentage` - Fixedpercentage
|
|
719
|
+
*/
|
|
720
|
+
type?: 'percentage' | 'fixed' | 'fixedpercentage';
|
|
721
|
+
/**
|
|
722
|
+
* * `pending` - Pending
|
|
723
|
+
* * `accepted` - Accepted
|
|
724
|
+
* * `rejected` - Rejected
|
|
725
|
+
*/
|
|
726
|
+
default_status?: 'pending' | 'accepted' | 'rejected';
|
|
727
|
+
users?: Array<unknown>;
|
|
728
|
+
groups?: Array<unknown>;
|
|
729
|
+
max_per_user?: number | null;
|
|
730
|
+
max_per_user_per_timeframe?: number | null;
|
|
731
|
+
/**
|
|
732
|
+
* * `daily` - Daily
|
|
733
|
+
* * `weekly` - Weekly
|
|
734
|
+
* * `monthly` - Monthly
|
|
735
|
+
*/
|
|
736
|
+
timeframe?: 'daily' | 'weekly' | 'monthly' | '' | null;
|
|
737
|
+
transactions_currency: Currency;
|
|
738
|
+
min_num_transactions?: number | null;
|
|
739
|
+
active?: boolean;
|
|
740
|
+
visible?: boolean;
|
|
741
|
+
claim?: boolean;
|
|
742
|
+
expression?: string | null;
|
|
743
|
+
/**
|
|
744
|
+
* * `company.link.create` - company.link.create
|
|
745
|
+
* * `company.link.update` - company.link.update
|
|
746
|
+
* * `company.update` - company.update
|
|
747
|
+
* * `currency.create` - currency.create
|
|
748
|
+
* * `currency.update` - currency.update
|
|
749
|
+
* * `user.create` - user.create
|
|
750
|
+
* * `user.update` - user.update
|
|
751
|
+
* * `user.password.reset` - user.password.reset
|
|
752
|
+
* * `user.password.set` - user.password.set
|
|
753
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
754
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
755
|
+
* * `user.email.verify` - user.email.verify
|
|
756
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
757
|
+
* * `email.create` - email.create
|
|
758
|
+
* * `email.update` - email.update
|
|
759
|
+
* * `mobile.create` - mobile.create
|
|
760
|
+
* * `mobile.update` - mobile.update
|
|
761
|
+
* * `address.create` - address.create
|
|
762
|
+
* * `address.update` - address.update
|
|
763
|
+
* * `document.create` - document.create
|
|
764
|
+
* * `document.update` - document.update
|
|
765
|
+
* * `bank_account.create` - bank_account.create
|
|
766
|
+
* * `bank_account.update` - bank_account.update
|
|
767
|
+
* * `crypto_account.create` - crypto_account.create
|
|
768
|
+
* * `crypto_account.update` - crypto_account.update
|
|
769
|
+
* * `account.create` - account.create
|
|
770
|
+
* * `account.update` - account.update
|
|
771
|
+
* * `transaction.create` - transaction.create
|
|
772
|
+
* * `transaction.update` - transaction.update
|
|
773
|
+
* * `transaction.initiate` - transaction.initiate
|
|
774
|
+
* * `transaction.execute` - transaction.execute
|
|
775
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
776
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
777
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
778
|
+
*/
|
|
779
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | '' | null;
|
|
780
|
+
event_user?: string | null;
|
|
781
|
+
event_amount?: string | null;
|
|
782
|
+
};
|
|
783
|
+
|
|
784
|
+
export type AdminCampaignResponseWritable = {
|
|
785
|
+
status?: string;
|
|
786
|
+
data?: AdminCampaignWritable;
|
|
787
|
+
};
|
|
788
|
+
|
|
789
|
+
/**
|
|
790
|
+
* A ModelSerializer that takes additional arguments for
|
|
791
|
+
* "fields", "omit" and "expand" in order to
|
|
792
|
+
* control which fields are displayed, and whether to replace simple
|
|
793
|
+
* values with complex, nested serializations
|
|
794
|
+
*/
|
|
795
|
+
export type AdminCompanyWritable = {
|
|
796
|
+
operational_account?: string | null;
|
|
797
|
+
};
|
|
798
|
+
|
|
799
|
+
export type AdminCompanyResponseWritable = {
|
|
800
|
+
status?: string;
|
|
801
|
+
data?: AdminCompanyWritable;
|
|
802
|
+
};
|
|
803
|
+
|
|
804
|
+
/**
|
|
805
|
+
* A ModelSerializer that takes additional arguments for
|
|
806
|
+
* "fields", "omit" and "expand" in order to
|
|
807
|
+
* control which fields are displayed, and whether to replace simple
|
|
808
|
+
* values with complex, nested serializations
|
|
809
|
+
*/
|
|
810
|
+
export type AdminCreateRewardWritable = {
|
|
811
|
+
user: string;
|
|
812
|
+
campaign?: string;
|
|
813
|
+
currency?: string;
|
|
814
|
+
amount?: number;
|
|
815
|
+
/**
|
|
816
|
+
* * `pending` - Pending
|
|
817
|
+
* * `accepted` - Accepted
|
|
818
|
+
* * `rejected` - Rejected
|
|
819
|
+
*/
|
|
820
|
+
status?: 'pending' | 'accepted' | 'rejected';
|
|
821
|
+
data?: {
|
|
822
|
+
[key: string]: unknown;
|
|
823
|
+
};
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
/**
|
|
827
|
+
* A ModelSerializer that takes additional arguments for
|
|
828
|
+
* "fields", "omit" and "expand" in order to
|
|
829
|
+
* control which fields are displayed, and whether to replace simple
|
|
830
|
+
* values with complex, nested serializations
|
|
831
|
+
*/
|
|
832
|
+
export type AdminCreateUpdateCampaignWritable = {
|
|
833
|
+
name?: string;
|
|
834
|
+
image?: string | null;
|
|
835
|
+
description?: string;
|
|
836
|
+
start_date?: number | null;
|
|
837
|
+
end_date?: number | null;
|
|
838
|
+
currency: string;
|
|
839
|
+
credit_account_name?: string | null;
|
|
840
|
+
credit_account?: string | null;
|
|
841
|
+
account?: string | null;
|
|
842
|
+
total: number;
|
|
843
|
+
fixed_amount?: number;
|
|
844
|
+
percentage?: number | null;
|
|
845
|
+
/**
|
|
846
|
+
* * `percentage` - Percentage
|
|
847
|
+
* * `fixed` - Fixed
|
|
848
|
+
* * `fixedpercentage` - Fixedpercentage
|
|
849
|
+
*/
|
|
850
|
+
type?: 'percentage' | 'fixed' | 'fixedpercentage';
|
|
851
|
+
/**
|
|
852
|
+
* * `pending` - Pending
|
|
853
|
+
* * `accepted` - Accepted
|
|
854
|
+
* * `rejected` - Rejected
|
|
855
|
+
*/
|
|
856
|
+
default_status?: 'pending' | 'accepted' | 'rejected';
|
|
857
|
+
users?: Array<unknown>;
|
|
858
|
+
groups?: Array<unknown>;
|
|
859
|
+
max_per_user?: number | null;
|
|
860
|
+
max_per_user_per_timeframe?: number | null;
|
|
861
|
+
/**
|
|
862
|
+
* * `daily` - Daily
|
|
863
|
+
* * `weekly` - Weekly
|
|
864
|
+
* * `monthly` - Monthly
|
|
865
|
+
*/
|
|
866
|
+
timeframe?: 'daily' | 'weekly' | 'monthly' | '' | null;
|
|
867
|
+
transactions_currency?: string | null;
|
|
868
|
+
min_num_transactions?: number | null;
|
|
869
|
+
min_value_transactions?: number | null;
|
|
870
|
+
active?: boolean;
|
|
871
|
+
visible?: boolean;
|
|
872
|
+
claim?: boolean;
|
|
873
|
+
expression?: string | null;
|
|
874
|
+
/**
|
|
875
|
+
* * `company.link.create` - company.link.create
|
|
876
|
+
* * `company.link.update` - company.link.update
|
|
877
|
+
* * `company.update` - company.update
|
|
878
|
+
* * `currency.create` - currency.create
|
|
879
|
+
* * `currency.update` - currency.update
|
|
880
|
+
* * `user.create` - user.create
|
|
881
|
+
* * `user.update` - user.update
|
|
882
|
+
* * `user.password.reset` - user.password.reset
|
|
883
|
+
* * `user.password.set` - user.password.set
|
|
884
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
885
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
886
|
+
* * `user.email.verify` - user.email.verify
|
|
887
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
888
|
+
* * `email.create` - email.create
|
|
889
|
+
* * `email.update` - email.update
|
|
890
|
+
* * `mobile.create` - mobile.create
|
|
891
|
+
* * `mobile.update` - mobile.update
|
|
892
|
+
* * `address.create` - address.create
|
|
893
|
+
* * `address.update` - address.update
|
|
894
|
+
* * `document.create` - document.create
|
|
895
|
+
* * `document.update` - document.update
|
|
896
|
+
* * `bank_account.create` - bank_account.create
|
|
897
|
+
* * `bank_account.update` - bank_account.update
|
|
898
|
+
* * `crypto_account.create` - crypto_account.create
|
|
899
|
+
* * `crypto_account.update` - crypto_account.update
|
|
900
|
+
* * `account.create` - account.create
|
|
901
|
+
* * `account.update` - account.update
|
|
902
|
+
* * `transaction.create` - transaction.create
|
|
903
|
+
* * `transaction.update` - transaction.update
|
|
904
|
+
* * `transaction.initiate` - transaction.initiate
|
|
905
|
+
* * `transaction.execute` - transaction.execute
|
|
906
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
907
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
908
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
909
|
+
*/
|
|
910
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | '' | null;
|
|
911
|
+
event_user?: string | null;
|
|
912
|
+
event_amount?: string | null;
|
|
913
|
+
};
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* A ModelSerializer that takes additional arguments for
|
|
917
|
+
* "fields", "omit" and "expand" in order to
|
|
918
|
+
* control which fields are displayed, and whether to replace simple
|
|
919
|
+
* values with complex, nested serializations
|
|
920
|
+
*/
|
|
921
|
+
export type AdminRewardWritable = {
|
|
922
|
+
/**
|
|
923
|
+
* * `pending` - Pending
|
|
924
|
+
* * `accepted` - Accepted
|
|
925
|
+
* * `rejected` - Rejected
|
|
926
|
+
*/
|
|
927
|
+
status?: 'pending' | 'accepted' | 'rejected';
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
export type AdminRewardResponseWritable = {
|
|
931
|
+
status?: string;
|
|
932
|
+
data?: AdminRewardWritable;
|
|
933
|
+
};
|
|
934
|
+
|
|
935
|
+
export type AdminUserResponseWritable = {
|
|
936
|
+
status?: string;
|
|
937
|
+
};
|
|
938
|
+
|
|
939
|
+
/**
|
|
940
|
+
* A ModelSerializer that takes additional arguments for
|
|
941
|
+
* "fields", "omit" and "expand" in order to
|
|
942
|
+
* control which fields are displayed, and whether to replace simple
|
|
943
|
+
* values with complex, nested serializations
|
|
944
|
+
*/
|
|
945
|
+
export type CampaignWritable = {
|
|
946
|
+
name?: string;
|
|
947
|
+
description?: string;
|
|
948
|
+
active?: boolean;
|
|
949
|
+
default_status: string;
|
|
950
|
+
};
|
|
951
|
+
|
|
952
|
+
export type PaginatedAdminCampaignListWritable = {
|
|
953
|
+
count?: number;
|
|
954
|
+
next?: string | null;
|
|
955
|
+
previous?: string | null;
|
|
956
|
+
results?: Array<AdminCampaignWritable>;
|
|
957
|
+
};
|
|
958
|
+
|
|
959
|
+
export type PaginatedAdminCampaignListResponseWritable = {
|
|
960
|
+
status?: string;
|
|
961
|
+
data?: PaginatedAdminCampaignListWritable;
|
|
962
|
+
};
|
|
963
|
+
|
|
964
|
+
export type PaginatedAdminRewardListWritable = {
|
|
965
|
+
count?: number;
|
|
966
|
+
next?: string | null;
|
|
967
|
+
previous?: string | null;
|
|
968
|
+
results?: Array<AdminRewardWritable>;
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
export type PaginatedAdminRewardListResponseWritable = {
|
|
972
|
+
status?: string;
|
|
973
|
+
data?: PaginatedAdminRewardListWritable;
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
export type PaginatedAdminUserListWritable = {
|
|
977
|
+
count?: number;
|
|
978
|
+
next?: string | null;
|
|
979
|
+
previous?: string | null;
|
|
980
|
+
results?: Array<unknown>;
|
|
981
|
+
};
|
|
982
|
+
|
|
983
|
+
export type PaginatedAdminUserListResponseWritable = {
|
|
984
|
+
status?: string;
|
|
985
|
+
data?: PaginatedAdminUserListWritable;
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
export type PaginatedUserCampaignListWritable = {
|
|
989
|
+
count?: number;
|
|
990
|
+
next?: string | null;
|
|
991
|
+
previous?: string | null;
|
|
992
|
+
results?: Array<UserCampaignWritable>;
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
export type PaginatedUserCampaignListResponseWritable = {
|
|
996
|
+
status?: string;
|
|
997
|
+
data?: PaginatedUserCampaignListWritable;
|
|
998
|
+
};
|
|
999
|
+
|
|
1000
|
+
export type PaginatedUserRewardListWritable = {
|
|
1001
|
+
count?: number;
|
|
1002
|
+
next?: string | null;
|
|
1003
|
+
previous?: string | null;
|
|
1004
|
+
results?: Array<UserRewardWritable>;
|
|
1005
|
+
};
|
|
1006
|
+
|
|
1007
|
+
export type PaginatedUserRewardListResponseWritable = {
|
|
1008
|
+
status?: string;
|
|
1009
|
+
data?: PaginatedUserRewardListWritable;
|
|
1010
|
+
};
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* A ModelSerializer that takes additional arguments for
|
|
1014
|
+
* "fields", "omit" and "expand" in order to
|
|
1015
|
+
* control which fields are displayed, and whether to replace simple
|
|
1016
|
+
* values with complex, nested serializations
|
|
1017
|
+
*/
|
|
1018
|
+
export type PatchedAdminCompanyWritable = {
|
|
1019
|
+
operational_account?: string | null;
|
|
1020
|
+
};
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* A ModelSerializer that takes additional arguments for
|
|
1024
|
+
* "fields", "omit" and "expand" in order to
|
|
1025
|
+
* control which fields are displayed, and whether to replace simple
|
|
1026
|
+
* values with complex, nested serializations
|
|
1027
|
+
*/
|
|
1028
|
+
export type PatchedAdminCreateUpdateCampaignWritable = {
|
|
1029
|
+
name?: string;
|
|
1030
|
+
image?: string | null;
|
|
1031
|
+
description?: string;
|
|
1032
|
+
start_date?: number | null;
|
|
1033
|
+
end_date?: number | null;
|
|
1034
|
+
currency?: string;
|
|
1035
|
+
credit_account_name?: string | null;
|
|
1036
|
+
credit_account?: string | null;
|
|
1037
|
+
account?: string | null;
|
|
1038
|
+
total?: number;
|
|
1039
|
+
fixed_amount?: number;
|
|
1040
|
+
percentage?: number | null;
|
|
1041
|
+
/**
|
|
1042
|
+
* * `percentage` - Percentage
|
|
1043
|
+
* * `fixed` - Fixed
|
|
1044
|
+
* * `fixedpercentage` - Fixedpercentage
|
|
1045
|
+
*/
|
|
1046
|
+
type?: 'percentage' | 'fixed' | 'fixedpercentage';
|
|
1047
|
+
/**
|
|
1048
|
+
* * `pending` - Pending
|
|
1049
|
+
* * `accepted` - Accepted
|
|
1050
|
+
* * `rejected` - Rejected
|
|
1051
|
+
*/
|
|
1052
|
+
default_status?: 'pending' | 'accepted' | 'rejected';
|
|
1053
|
+
users?: Array<unknown>;
|
|
1054
|
+
groups?: Array<unknown>;
|
|
1055
|
+
max_per_user?: number | null;
|
|
1056
|
+
max_per_user_per_timeframe?: number | null;
|
|
1057
|
+
/**
|
|
1058
|
+
* * `daily` - Daily
|
|
1059
|
+
* * `weekly` - Weekly
|
|
1060
|
+
* * `monthly` - Monthly
|
|
1061
|
+
*/
|
|
1062
|
+
timeframe?: 'daily' | 'weekly' | 'monthly' | '' | null;
|
|
1063
|
+
transactions_currency?: string | null;
|
|
1064
|
+
min_num_transactions?: number | null;
|
|
1065
|
+
min_value_transactions?: number | null;
|
|
1066
|
+
active?: boolean;
|
|
1067
|
+
visible?: boolean;
|
|
1068
|
+
claim?: boolean;
|
|
1069
|
+
expression?: string | null;
|
|
1070
|
+
/**
|
|
1071
|
+
* * `company.link.create` - company.link.create
|
|
1072
|
+
* * `company.link.update` - company.link.update
|
|
1073
|
+
* * `company.update` - company.update
|
|
1074
|
+
* * `currency.create` - currency.create
|
|
1075
|
+
* * `currency.update` - currency.update
|
|
1076
|
+
* * `user.create` - user.create
|
|
1077
|
+
* * `user.update` - user.update
|
|
1078
|
+
* * `user.password.reset` - user.password.reset
|
|
1079
|
+
* * `user.password.set` - user.password.set
|
|
1080
|
+
* * `user.deactivate.verify` - user.deactivate.verify
|
|
1081
|
+
* * `user.request_delete.verify` - user.request_delete.verify
|
|
1082
|
+
* * `user.email.verify` - user.email.verify
|
|
1083
|
+
* * `user.mobile.verify` - user.mobile.verify
|
|
1084
|
+
* * `email.create` - email.create
|
|
1085
|
+
* * `email.update` - email.update
|
|
1086
|
+
* * `mobile.create` - mobile.create
|
|
1087
|
+
* * `mobile.update` - mobile.update
|
|
1088
|
+
* * `address.create` - address.create
|
|
1089
|
+
* * `address.update` - address.update
|
|
1090
|
+
* * `document.create` - document.create
|
|
1091
|
+
* * `document.update` - document.update
|
|
1092
|
+
* * `bank_account.create` - bank_account.create
|
|
1093
|
+
* * `bank_account.update` - bank_account.update
|
|
1094
|
+
* * `crypto_account.create` - crypto_account.create
|
|
1095
|
+
* * `crypto_account.update` - crypto_account.update
|
|
1096
|
+
* * `account.create` - account.create
|
|
1097
|
+
* * `account.update` - account.update
|
|
1098
|
+
* * `transaction.create` - transaction.create
|
|
1099
|
+
* * `transaction.update` - transaction.update
|
|
1100
|
+
* * `transaction.initiate` - transaction.initiate
|
|
1101
|
+
* * `transaction.execute` - transaction.execute
|
|
1102
|
+
* * `transaction.transition.create` - transaction.transition.create
|
|
1103
|
+
* * `transaction.transition.update` - transaction.transition.update
|
|
1104
|
+
* * `mfa.sms.verify` - mfa.sms.verify
|
|
1105
|
+
*/
|
|
1106
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | '' | null;
|
|
1107
|
+
event_user?: string | null;
|
|
1108
|
+
event_amount?: string | null;
|
|
1109
|
+
};
|
|
1110
|
+
|
|
1111
|
+
/**
|
|
1112
|
+
* A ModelSerializer that takes additional arguments for
|
|
1113
|
+
* "fields", "omit" and "expand" in order to
|
|
1114
|
+
* control which fields are displayed, and whether to replace simple
|
|
1115
|
+
* values with complex, nested serializations
|
|
1116
|
+
*/
|
|
1117
|
+
export type PatchedAdminRewardWritable = {
|
|
1118
|
+
/**
|
|
1119
|
+
* * `pending` - Pending
|
|
1120
|
+
* * `accepted` - Accepted
|
|
1121
|
+
* * `rejected` - Rejected
|
|
1122
|
+
*/
|
|
1123
|
+
status?: 'pending' | 'accepted' | 'rejected';
|
|
1124
|
+
};
|
|
1125
|
+
|
|
1126
|
+
/**
|
|
1127
|
+
* A ModelSerializer that takes additional arguments for
|
|
1128
|
+
* "fields", "omit" and "expand" in order to
|
|
1129
|
+
* control which fields are displayed, and whether to replace simple
|
|
1130
|
+
* values with complex, nested serializations
|
|
1131
|
+
*/
|
|
1132
|
+
export type PatchedUserUpdateReferralWritable = {
|
|
1133
|
+
referee_code?: string;
|
|
1134
|
+
};
|
|
1135
|
+
|
|
1136
|
+
/**
|
|
1137
|
+
* A ModelSerializer that takes additional arguments for
|
|
1138
|
+
* "fields", "omit" and "expand" in order to
|
|
1139
|
+
* control which fields are displayed, and whether to replace simple
|
|
1140
|
+
* values with complex, nested serializations
|
|
1141
|
+
*/
|
|
1142
|
+
export type UserCampaignWritable = {
|
|
1143
|
+
name?: string;
|
|
1144
|
+
image?: string | null;
|
|
1145
|
+
start_date: number;
|
|
1146
|
+
end_date: number;
|
|
1147
|
+
currency: Currency;
|
|
1148
|
+
percentage?: string | null;
|
|
1149
|
+
type: string;
|
|
1150
|
+
default_status: string;
|
|
1151
|
+
users?: Array<unknown>;
|
|
1152
|
+
groups?: Array<unknown>;
|
|
1153
|
+
max_per_user?: number | null;
|
|
1154
|
+
max_per_user_per_timeframe?: number | null;
|
|
1155
|
+
timeframe?: string;
|
|
1156
|
+
transactions_currency: Currency;
|
|
1157
|
+
min_num_transactions?: number | null;
|
|
1158
|
+
active?: boolean;
|
|
1159
|
+
claim?: boolean;
|
|
1160
|
+
};
|
|
1161
|
+
|
|
1162
|
+
export type UserCampaignResponseWritable = {
|
|
1163
|
+
status?: string;
|
|
1164
|
+
data?: UserCampaignWritable;
|
|
1165
|
+
};
|
|
1166
|
+
|
|
1167
|
+
/**
|
|
1168
|
+
* A ModelSerializer that takes additional arguments for
|
|
1169
|
+
* "fields", "omit" and "expand" in order to
|
|
1170
|
+
* control which fields are displayed, and whether to replace simple
|
|
1171
|
+
* values with complex, nested serializations
|
|
1172
|
+
*/
|
|
1173
|
+
export type UserCreateRewardWritable = {
|
|
1174
|
+
campaign: string;
|
|
1175
|
+
data?: {
|
|
1176
|
+
[key: string]: unknown;
|
|
1177
|
+
};
|
|
1178
|
+
};
|
|
1179
|
+
|
|
1180
|
+
export type UserResponseWritable = {
|
|
1181
|
+
status?: string;
|
|
1182
|
+
};
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* A ModelSerializer that takes additional arguments for
|
|
1186
|
+
* "fields", "omit" and "expand" in order to
|
|
1187
|
+
* control which fields are displayed, and whether to replace simple
|
|
1188
|
+
* values with complex, nested serializations
|
|
1189
|
+
*/
|
|
1190
|
+
export type UserRewardWritable = {
|
|
1191
|
+
collection?: string | null;
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
export type UserRewardResponseWritable = {
|
|
1195
|
+
status?: string;
|
|
1196
|
+
data?: UserRewardWritable;
|
|
1197
|
+
};
|
|
1198
|
+
|
|
1199
|
+
/**
|
|
1200
|
+
* A ModelSerializer that takes additional arguments for
|
|
1201
|
+
* "fields", "omit" and "expand" in order to
|
|
1202
|
+
* control which fields are displayed, and whether to replace simple
|
|
1203
|
+
* values with complex, nested serializations
|
|
1204
|
+
*/
|
|
1205
|
+
export type UserUpdateReferralWritable = {
|
|
1206
|
+
referee_code: string;
|
|
1207
|
+
};
|
|
1208
|
+
|
|
1209
|
+
export type ActivateCreateData = {
|
|
1210
|
+
body: Activate;
|
|
1211
|
+
path?: never;
|
|
1212
|
+
query?: never;
|
|
1213
|
+
url: '/activate/';
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
export type ActivateCreateResponses = {
|
|
1217
|
+
200: ActionResponse;
|
|
1218
|
+
};
|
|
1219
|
+
|
|
1220
|
+
export type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
1221
|
+
|
|
1222
|
+
export type AdminCampaignsListData = {
|
|
1223
|
+
body?: never;
|
|
1224
|
+
path?: never;
|
|
1225
|
+
query?: {
|
|
1226
|
+
active?: boolean;
|
|
1227
|
+
available?: string;
|
|
1228
|
+
currency?: string;
|
|
1229
|
+
end_date?: string;
|
|
1230
|
+
end_date__gt?: string;
|
|
1231
|
+
end_date__lt?: string;
|
|
1232
|
+
id?: string;
|
|
1233
|
+
name__contains?: string;
|
|
1234
|
+
/**
|
|
1235
|
+
* A page number within the paginated result set.
|
|
1236
|
+
*/
|
|
1237
|
+
page?: number;
|
|
1238
|
+
/**
|
|
1239
|
+
* Number of results to return per page.
|
|
1240
|
+
*/
|
|
1241
|
+
page_size?: number;
|
|
1242
|
+
search?: string;
|
|
1243
|
+
start_date?: string;
|
|
1244
|
+
start_date__gt?: string;
|
|
1245
|
+
start_date__lt?: string;
|
|
1246
|
+
type?: string;
|
|
1247
|
+
visible?: boolean;
|
|
1248
|
+
};
|
|
1249
|
+
url: '/admin/campaigns/';
|
|
1250
|
+
};
|
|
1251
|
+
|
|
1252
|
+
export type AdminCampaignsListResponses = {
|
|
1253
|
+
200: PaginatedAdminCampaignListResponse;
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
export type AdminCampaignsListResponse = AdminCampaignsListResponses[keyof AdminCampaignsListResponses];
|
|
1257
|
+
|
|
1258
|
+
export type AdminCampaignsCreateData = {
|
|
1259
|
+
body: AdminCreateUpdateCampaignWritable;
|
|
1260
|
+
path?: never;
|
|
1261
|
+
query?: never;
|
|
1262
|
+
url: '/admin/campaigns/';
|
|
1263
|
+
};
|
|
1264
|
+
|
|
1265
|
+
export type AdminCampaignsCreateResponses = {
|
|
1266
|
+
201: AdminCampaignResponse;
|
|
1267
|
+
};
|
|
1268
|
+
|
|
1269
|
+
export type AdminCampaignsCreateResponse = AdminCampaignsCreateResponses[keyof AdminCampaignsCreateResponses];
|
|
1270
|
+
|
|
1271
|
+
export type AdminCampaignsDestroyData = {
|
|
1272
|
+
body?: never;
|
|
1273
|
+
path: {
|
|
1274
|
+
id: string;
|
|
1275
|
+
};
|
|
1276
|
+
query?: never;
|
|
1277
|
+
url: '/admin/campaigns/{id}/';
|
|
1278
|
+
};
|
|
1279
|
+
|
|
1280
|
+
export type AdminCampaignsDestroyResponses = {
|
|
1281
|
+
200: AdminCampaignResponse;
|
|
1282
|
+
};
|
|
1283
|
+
|
|
1284
|
+
export type AdminCampaignsDestroyResponse = AdminCampaignsDestroyResponses[keyof AdminCampaignsDestroyResponses];
|
|
1285
|
+
|
|
1286
|
+
export type AdminCampaignsRetrieveData = {
|
|
1287
|
+
body?: never;
|
|
1288
|
+
path: {
|
|
1289
|
+
id: string;
|
|
1290
|
+
};
|
|
1291
|
+
query?: never;
|
|
1292
|
+
url: '/admin/campaigns/{id}/';
|
|
1293
|
+
};
|
|
1294
|
+
|
|
1295
|
+
export type AdminCampaignsRetrieveResponses = {
|
|
1296
|
+
200: AdminCampaignResponse;
|
|
1297
|
+
};
|
|
1298
|
+
|
|
1299
|
+
export type AdminCampaignsRetrieveResponse = AdminCampaignsRetrieveResponses[keyof AdminCampaignsRetrieveResponses];
|
|
1300
|
+
|
|
1301
|
+
export type AdminCampaignsPartialUpdateData = {
|
|
1302
|
+
body?: PatchedAdminCreateUpdateCampaignWritable;
|
|
1303
|
+
path: {
|
|
1304
|
+
id: string;
|
|
1305
|
+
};
|
|
1306
|
+
query?: never;
|
|
1307
|
+
url: '/admin/campaigns/{id}/';
|
|
1308
|
+
};
|
|
1309
|
+
|
|
1310
|
+
export type AdminCampaignsPartialUpdateResponses = {
|
|
1311
|
+
200: AdminCampaignResponse;
|
|
1312
|
+
};
|
|
1313
|
+
|
|
1314
|
+
export type AdminCampaignsPartialUpdateResponse = AdminCampaignsPartialUpdateResponses[keyof AdminCampaignsPartialUpdateResponses];
|
|
1315
|
+
|
|
1316
|
+
export type AdminCampaignsUpdateData = {
|
|
1317
|
+
body: AdminCreateUpdateCampaignWritable;
|
|
1318
|
+
path: {
|
|
1319
|
+
id: string;
|
|
1320
|
+
};
|
|
1321
|
+
query?: never;
|
|
1322
|
+
url: '/admin/campaigns/{id}/';
|
|
1323
|
+
};
|
|
1324
|
+
|
|
1325
|
+
export type AdminCampaignsUpdateResponses = {
|
|
1326
|
+
200: AdminCampaignResponse;
|
|
1327
|
+
};
|
|
1328
|
+
|
|
1329
|
+
export type AdminCampaignsUpdateResponse = AdminCampaignsUpdateResponses[keyof AdminCampaignsUpdateResponses];
|
|
1330
|
+
|
|
1331
|
+
export type AdminCompanyRetrieveData = {
|
|
1332
|
+
body?: never;
|
|
1333
|
+
path?: never;
|
|
1334
|
+
query?: never;
|
|
1335
|
+
url: '/admin/company/';
|
|
1336
|
+
};
|
|
1337
|
+
|
|
1338
|
+
export type AdminCompanyRetrieveResponses = {
|
|
1339
|
+
200: AdminCompanyResponse;
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
export type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
1343
|
+
|
|
1344
|
+
export type AdminCompanyPartialUpdateData = {
|
|
1345
|
+
body?: PatchedAdminCompanyWritable;
|
|
1346
|
+
path?: never;
|
|
1347
|
+
query?: never;
|
|
1348
|
+
url: '/admin/company/';
|
|
1349
|
+
};
|
|
1350
|
+
|
|
1351
|
+
export type AdminCompanyPartialUpdateResponses = {
|
|
1352
|
+
200: AdminCompanyResponse;
|
|
1353
|
+
};
|
|
1354
|
+
|
|
1355
|
+
export type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
1356
|
+
|
|
1357
|
+
export type AdminCompanyUpdateData = {
|
|
1358
|
+
body?: AdminCompanyWritable;
|
|
1359
|
+
path?: never;
|
|
1360
|
+
query?: never;
|
|
1361
|
+
url: '/admin/company/';
|
|
1362
|
+
};
|
|
1363
|
+
|
|
1364
|
+
export type AdminCompanyUpdateResponses = {
|
|
1365
|
+
200: AdminCompanyResponse;
|
|
1366
|
+
};
|
|
1367
|
+
|
|
1368
|
+
export type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
1369
|
+
|
|
1370
|
+
export type AdminCurrenciesListData = {
|
|
1371
|
+
body?: never;
|
|
1372
|
+
path?: never;
|
|
1373
|
+
query?: {
|
|
1374
|
+
code?: string;
|
|
1375
|
+
/**
|
|
1376
|
+
* A page number within the paginated result set.
|
|
1377
|
+
*/
|
|
1378
|
+
page?: number;
|
|
1379
|
+
/**
|
|
1380
|
+
* Number of results to return per page.
|
|
1381
|
+
*/
|
|
1382
|
+
page_size?: number;
|
|
1383
|
+
};
|
|
1384
|
+
url: '/admin/currencies/';
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
export type AdminCurrenciesListResponses = {
|
|
1388
|
+
200: PaginatedCurrencyListResponse;
|
|
1389
|
+
};
|
|
1390
|
+
|
|
1391
|
+
export type AdminCurrenciesListResponse = AdminCurrenciesListResponses[keyof AdminCurrenciesListResponses];
|
|
1392
|
+
|
|
1393
|
+
export type AdminCurrenciesRetrieveData = {
|
|
1394
|
+
body?: never;
|
|
1395
|
+
path: {
|
|
1396
|
+
code: string;
|
|
1397
|
+
};
|
|
1398
|
+
query?: never;
|
|
1399
|
+
url: '/admin/currencies/{code}/';
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
export type AdminCurrenciesRetrieveResponses = {
|
|
1403
|
+
200: CurrencyResponse;
|
|
1404
|
+
};
|
|
1405
|
+
|
|
1406
|
+
export type AdminCurrenciesRetrieveResponse = AdminCurrenciesRetrieveResponses[keyof AdminCurrenciesRetrieveResponses];
|
|
1407
|
+
|
|
1408
|
+
export type AdminRewardsListData = {
|
|
1409
|
+
body?: never;
|
|
1410
|
+
path?: never;
|
|
1411
|
+
query?: {
|
|
1412
|
+
campaign?: string;
|
|
1413
|
+
currency?: string;
|
|
1414
|
+
id?: string;
|
|
1415
|
+
/**
|
|
1416
|
+
* A page number within the paginated result set.
|
|
1417
|
+
*/
|
|
1418
|
+
page?: number;
|
|
1419
|
+
/**
|
|
1420
|
+
* Number of results to return per page.
|
|
1421
|
+
*/
|
|
1422
|
+
page_size?: number;
|
|
1423
|
+
status?: string;
|
|
1424
|
+
status__in?: string;
|
|
1425
|
+
type?: string;
|
|
1426
|
+
user?: string;
|
|
1427
|
+
};
|
|
1428
|
+
url: '/admin/rewards/';
|
|
1429
|
+
};
|
|
1430
|
+
|
|
1431
|
+
export type AdminRewardsListResponses = {
|
|
1432
|
+
200: PaginatedAdminRewardListResponse;
|
|
1433
|
+
};
|
|
1434
|
+
|
|
1435
|
+
export type AdminRewardsListResponse = AdminRewardsListResponses[keyof AdminRewardsListResponses];
|
|
1436
|
+
|
|
1437
|
+
export type AdminRewardsCreateData = {
|
|
1438
|
+
body: AdminCreateRewardWritable;
|
|
1439
|
+
path?: never;
|
|
1440
|
+
query?: never;
|
|
1441
|
+
url: '/admin/rewards/';
|
|
1442
|
+
};
|
|
1443
|
+
|
|
1444
|
+
export type AdminRewardsCreateResponses = {
|
|
1445
|
+
201: AdminRewardResponse;
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
export type AdminRewardsCreateResponse = AdminRewardsCreateResponses[keyof AdminRewardsCreateResponses];
|
|
1449
|
+
|
|
1450
|
+
export type AdminRewardsRetrieveData = {
|
|
1451
|
+
body?: never;
|
|
1452
|
+
path: {
|
|
1453
|
+
id: string;
|
|
1454
|
+
};
|
|
1455
|
+
query?: never;
|
|
1456
|
+
url: '/admin/rewards/{id}/';
|
|
1457
|
+
};
|
|
1458
|
+
|
|
1459
|
+
export type AdminRewardsRetrieveResponses = {
|
|
1460
|
+
200: AdminRewardResponse;
|
|
1461
|
+
};
|
|
1462
|
+
|
|
1463
|
+
export type AdminRewardsRetrieveResponse = AdminRewardsRetrieveResponses[keyof AdminRewardsRetrieveResponses];
|
|
1464
|
+
|
|
1465
|
+
export type AdminRewardsPartialUpdateData = {
|
|
1466
|
+
body?: PatchedAdminRewardWritable;
|
|
1467
|
+
path: {
|
|
1468
|
+
id: string;
|
|
1469
|
+
};
|
|
1470
|
+
query?: never;
|
|
1471
|
+
url: '/admin/rewards/{id}/';
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
export type AdminRewardsPartialUpdateResponses = {
|
|
1475
|
+
200: AdminRewardResponse;
|
|
1476
|
+
};
|
|
1477
|
+
|
|
1478
|
+
export type AdminRewardsPartialUpdateResponse = AdminRewardsPartialUpdateResponses[keyof AdminRewardsPartialUpdateResponses];
|
|
1479
|
+
|
|
1480
|
+
export type AdminRewardsUpdateData = {
|
|
1481
|
+
body?: AdminRewardWritable;
|
|
1482
|
+
path: {
|
|
1483
|
+
id: string;
|
|
1484
|
+
};
|
|
1485
|
+
query?: never;
|
|
1486
|
+
url: '/admin/rewards/{id}/';
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
export type AdminRewardsUpdateResponses = {
|
|
1490
|
+
200: AdminRewardResponse;
|
|
1491
|
+
};
|
|
1492
|
+
|
|
1493
|
+
export type AdminRewardsUpdateResponse = AdminRewardsUpdateResponses[keyof AdminRewardsUpdateResponses];
|
|
1494
|
+
|
|
1495
|
+
export type AdminUsersListData = {
|
|
1496
|
+
body?: never;
|
|
1497
|
+
path?: never;
|
|
1498
|
+
query?: {
|
|
1499
|
+
id?: string;
|
|
1500
|
+
/**
|
|
1501
|
+
* A page number within the paginated result set.
|
|
1502
|
+
*/
|
|
1503
|
+
page?: number;
|
|
1504
|
+
/**
|
|
1505
|
+
* Number of results to return per page.
|
|
1506
|
+
*/
|
|
1507
|
+
page_size?: number;
|
|
1508
|
+
referee_code?: string;
|
|
1509
|
+
referral_code?: string;
|
|
1510
|
+
};
|
|
1511
|
+
url: '/admin/users/';
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
export type AdminUsersListResponses = {
|
|
1515
|
+
200: PaginatedAdminUserListResponse;
|
|
1516
|
+
};
|
|
1517
|
+
|
|
1518
|
+
export type AdminUsersListResponse = AdminUsersListResponses[keyof AdminUsersListResponses];
|
|
1519
|
+
|
|
1520
|
+
export type AdminUsersRetrieveData = {
|
|
1521
|
+
body?: never;
|
|
1522
|
+
path: {
|
|
1523
|
+
id: string;
|
|
1524
|
+
};
|
|
1525
|
+
query?: never;
|
|
1526
|
+
url: '/admin/users/{id}/';
|
|
1527
|
+
};
|
|
1528
|
+
|
|
1529
|
+
export type AdminUsersRetrieveResponses = {
|
|
1530
|
+
200: AdminUserResponse;
|
|
1531
|
+
};
|
|
1532
|
+
|
|
1533
|
+
export type AdminUsersRetrieveResponse = AdminUsersRetrieveResponses[keyof AdminUsersRetrieveResponses];
|
|
1534
|
+
|
|
1535
|
+
export type AdminWebhookCreateData = {
|
|
1536
|
+
body: Webhook;
|
|
1537
|
+
path?: never;
|
|
1538
|
+
query?: never;
|
|
1539
|
+
url: '/admin/webhook/';
|
|
1540
|
+
};
|
|
1541
|
+
|
|
1542
|
+
export type AdminWebhookCreateResponses = {
|
|
1543
|
+
200: ActionResponse;
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
export type AdminWebhookCreateResponse = AdminWebhookCreateResponses[keyof AdminWebhookCreateResponses];
|
|
1547
|
+
|
|
1548
|
+
export type DeactivateCreateData = {
|
|
1549
|
+
body: Deactivate;
|
|
1550
|
+
path?: never;
|
|
1551
|
+
query?: never;
|
|
1552
|
+
url: '/deactivate/';
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
export type DeactivateCreateResponses = {
|
|
1556
|
+
200: ActionResponse;
|
|
1557
|
+
};
|
|
1558
|
+
|
|
1559
|
+
export type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
1560
|
+
|
|
1561
|
+
export type UserRetrieveData = {
|
|
1562
|
+
body?: never;
|
|
1563
|
+
path?: never;
|
|
1564
|
+
query?: never;
|
|
1565
|
+
url: '/user/';
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
export type UserRetrieveResponses = {
|
|
1569
|
+
200: UserResponse;
|
|
1570
|
+
};
|
|
1571
|
+
|
|
1572
|
+
export type UserRetrieveResponse = UserRetrieveResponses[keyof UserRetrieveResponses];
|
|
1573
|
+
|
|
1574
|
+
export type UserPartialUpdateData = {
|
|
1575
|
+
body?: PatchedUserUpdateReferralWritable;
|
|
1576
|
+
path?: never;
|
|
1577
|
+
query?: never;
|
|
1578
|
+
url: '/user/';
|
|
1579
|
+
};
|
|
1580
|
+
|
|
1581
|
+
export type UserPartialUpdateResponses = {
|
|
1582
|
+
200: UserResponse;
|
|
1583
|
+
};
|
|
1584
|
+
|
|
1585
|
+
export type UserPartialUpdateResponse = UserPartialUpdateResponses[keyof UserPartialUpdateResponses];
|
|
1586
|
+
|
|
1587
|
+
export type UserUpdateData = {
|
|
1588
|
+
body: UserUpdateReferralWritable;
|
|
1589
|
+
path?: never;
|
|
1590
|
+
query?: never;
|
|
1591
|
+
url: '/user/';
|
|
1592
|
+
};
|
|
1593
|
+
|
|
1594
|
+
export type UserUpdateResponses = {
|
|
1595
|
+
200: UserResponse;
|
|
1596
|
+
};
|
|
1597
|
+
|
|
1598
|
+
export type UserUpdateResponse = UserUpdateResponses[keyof UserUpdateResponses];
|
|
1599
|
+
|
|
1600
|
+
export type UserCampaignsListData = {
|
|
1601
|
+
body?: never;
|
|
1602
|
+
path?: never;
|
|
1603
|
+
query?: {
|
|
1604
|
+
active?: boolean;
|
|
1605
|
+
available?: string;
|
|
1606
|
+
currency?: string;
|
|
1607
|
+
end_date?: string;
|
|
1608
|
+
end_date__gt?: string;
|
|
1609
|
+
end_date__lt?: string;
|
|
1610
|
+
id?: string;
|
|
1611
|
+
name__contains?: string;
|
|
1612
|
+
/**
|
|
1613
|
+
* A page number within the paginated result set.
|
|
1614
|
+
*/
|
|
1615
|
+
page?: number;
|
|
1616
|
+
/**
|
|
1617
|
+
* Number of results to return per page.
|
|
1618
|
+
*/
|
|
1619
|
+
page_size?: number;
|
|
1620
|
+
search?: string;
|
|
1621
|
+
start_date?: string;
|
|
1622
|
+
start_date__gt?: string;
|
|
1623
|
+
start_date__lt?: string;
|
|
1624
|
+
type?: string;
|
|
1625
|
+
visible?: boolean;
|
|
1626
|
+
};
|
|
1627
|
+
url: '/user/campaigns/';
|
|
1628
|
+
};
|
|
1629
|
+
|
|
1630
|
+
export type UserCampaignsListResponses = {
|
|
1631
|
+
200: PaginatedUserCampaignListResponse;
|
|
1632
|
+
};
|
|
1633
|
+
|
|
1634
|
+
export type UserCampaignsListResponse = UserCampaignsListResponses[keyof UserCampaignsListResponses];
|
|
1635
|
+
|
|
1636
|
+
export type UserCampaignsRetrieveData = {
|
|
1637
|
+
body?: never;
|
|
1638
|
+
path: {
|
|
1639
|
+
id: string;
|
|
1640
|
+
};
|
|
1641
|
+
query?: never;
|
|
1642
|
+
url: '/user/campaigns/{id}/';
|
|
1643
|
+
};
|
|
1644
|
+
|
|
1645
|
+
export type UserCampaignsRetrieveResponses = {
|
|
1646
|
+
200: UserCampaignResponse;
|
|
1647
|
+
};
|
|
1648
|
+
|
|
1649
|
+
export type UserCampaignsRetrieveResponse = UserCampaignsRetrieveResponses[keyof UserCampaignsRetrieveResponses];
|
|
1650
|
+
|
|
1651
|
+
export type UserRewardsListData = {
|
|
1652
|
+
body?: never;
|
|
1653
|
+
path?: never;
|
|
1654
|
+
query?: {
|
|
1655
|
+
campaign?: string;
|
|
1656
|
+
currency?: string;
|
|
1657
|
+
id?: string;
|
|
1658
|
+
/**
|
|
1659
|
+
* A page number within the paginated result set.
|
|
1660
|
+
*/
|
|
1661
|
+
page?: number;
|
|
1662
|
+
/**
|
|
1663
|
+
* Number of results to return per page.
|
|
1664
|
+
*/
|
|
1665
|
+
page_size?: number;
|
|
1666
|
+
status?: string;
|
|
1667
|
+
status__in?: string;
|
|
1668
|
+
type?: string;
|
|
1669
|
+
};
|
|
1670
|
+
url: '/user/rewards/';
|
|
1671
|
+
};
|
|
1672
|
+
|
|
1673
|
+
export type UserRewardsListResponses = {
|
|
1674
|
+
200: PaginatedUserRewardListResponse;
|
|
1675
|
+
};
|
|
1676
|
+
|
|
1677
|
+
export type UserRewardsListResponse = UserRewardsListResponses[keyof UserRewardsListResponses];
|
|
1678
|
+
|
|
1679
|
+
export type UserRewardsCreateData = {
|
|
1680
|
+
body: UserCreateRewardWritable;
|
|
1681
|
+
path?: never;
|
|
1682
|
+
query?: never;
|
|
1683
|
+
url: '/user/rewards/';
|
|
1684
|
+
};
|
|
1685
|
+
|
|
1686
|
+
export type UserRewardsCreateResponses = {
|
|
1687
|
+
201: UserRewardResponse;
|
|
1688
|
+
};
|
|
1689
|
+
|
|
1690
|
+
export type UserRewardsCreateResponse = UserRewardsCreateResponses[keyof UserRewardsCreateResponses];
|
|
1691
|
+
|
|
1692
|
+
export type UserRewardsRetrieveData = {
|
|
1693
|
+
body?: never;
|
|
1694
|
+
path: {
|
|
1695
|
+
id: string;
|
|
1696
|
+
};
|
|
1697
|
+
query?: never;
|
|
1698
|
+
url: '/user/rewards/{id}/';
|
|
1699
|
+
};
|
|
1700
|
+
|
|
1701
|
+
export type UserRewardsRetrieveResponses = {
|
|
1702
|
+
200: UserRewardResponse;
|
|
1703
|
+
};
|
|
1704
|
+
|
|
1705
|
+
export type UserRewardsRetrieveResponse = UserRewardsRetrieveResponses[keyof UserRewardsRetrieveResponses];
|
|
1706
|
+
|
|
1707
|
+
export type WebhookCreateData = {
|
|
1708
|
+
body: Webhook;
|
|
1709
|
+
path?: never;
|
|
1710
|
+
query?: never;
|
|
1711
|
+
url: '/webhook/';
|
|
1712
|
+
};
|
|
1713
|
+
|
|
1714
|
+
export type WebhookCreateResponses = {
|
|
1715
|
+
200: ActionResponse;
|
|
1716
|
+
};
|
|
1717
|
+
|
|
1718
|
+
export type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|