rehive 3.1.4 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +211 -506
- package/dist/admin.d.mts +31507 -0
- package/dist/admin.d.ts +31507 -0
- package/dist/admin.js +1 -0
- package/dist/admin.mjs +1 -0
- package/dist/auth.d.mts +23 -0
- package/dist/auth.d.ts +23 -0
- package/dist/auth.js +1 -0
- package/dist/auth.mjs +1 -0
- package/dist/chunk-7WQMKBQ6.js +7 -0
- package/dist/chunk-CUQ6U73E.mjs +1 -0
- package/dist/chunk-DRLSOKDI.js +7 -0
- package/dist/chunk-GR5TETAU.js +1 -0
- package/dist/chunk-JK4JOKBZ.js +1 -0
- package/dist/chunk-KQ5BJOW2.mjs +1 -0
- package/dist/chunk-KUM3UI4C.mjs +7 -0
- package/dist/chunk-OEIQFP6T.js +1 -0
- package/dist/chunk-S4QKN5WW.mjs +1 -0
- package/dist/chunk-S5UXBHRU.mjs +1 -0
- package/dist/chunk-UMUOM4B2.mjs +7 -0
- package/dist/chunk-YRYX3G3E.js +1 -0
- package/dist/create-api-client-2vNCP2LN.d.mts +25 -0
- package/dist/create-api-client-D-Z8R83N.d.ts +25 -0
- package/dist/create-auth-CHzmb_8_.d.mts +18570 -0
- package/dist/create-auth-CHzmb_8_.d.ts +18570 -0
- package/dist/extensions/alchemy.d.mts +1114 -0
- package/dist/extensions/alchemy.d.ts +1114 -0
- package/dist/extensions/alchemy.js +7 -0
- package/dist/extensions/alchemy.mjs +7 -0
- package/dist/extensions/app.d.mts +2042 -0
- package/dist/extensions/app.d.ts +2042 -0
- package/dist/extensions/app.js +7 -0
- package/dist/extensions/app.mjs +7 -0
- package/dist/extensions/billing.d.mts +828 -0
- package/dist/extensions/billing.d.ts +828 -0
- package/dist/extensions/billing.js +7 -0
- package/dist/extensions/billing.mjs +7 -0
- package/dist/extensions/bridge.d.mts +2028 -0
- package/dist/extensions/bridge.d.ts +2028 -0
- package/dist/extensions/bridge.js +7 -0
- package/dist/extensions/bridge.mjs +7 -0
- package/dist/extensions/builder.d.mts +542 -0
- package/dist/extensions/builder.d.ts +542 -0
- package/dist/extensions/builder.js +7 -0
- package/dist/extensions/builder.mjs +7 -0
- package/dist/extensions/business.d.mts +8972 -0
- package/dist/extensions/business.d.ts +8972 -0
- package/dist/extensions/business.js +7 -0
- package/dist/extensions/business.mjs +7 -0
- package/dist/extensions/conversion.d.mts +2786 -0
- package/dist/extensions/conversion.d.ts +2786 -0
- package/dist/extensions/conversion.js +7 -0
- package/dist/extensions/conversion.mjs +7 -0
- package/dist/extensions/mass-send.d.mts +1294 -0
- package/dist/extensions/mass-send.d.ts +1294 -0
- package/dist/extensions/mass-send.js +7 -0
- package/dist/extensions/mass-send.mjs +7 -0
- package/dist/extensions/notifications.d.mts +2035 -0
- package/dist/extensions/notifications.d.ts +2035 -0
- package/dist/extensions/notifications.js +7 -0
- package/dist/extensions/notifications.mjs +7 -0
- package/dist/extensions/payment-requests.d.mts +3746 -0
- package/dist/extensions/payment-requests.d.ts +3746 -0
- package/dist/extensions/payment-requests.js +7 -0
- package/dist/extensions/payment-requests.mjs +7 -0
- package/dist/extensions/products.d.mts +10092 -0
- package/dist/extensions/products.d.ts +10092 -0
- package/dist/extensions/products.js +7 -0
- package/dist/extensions/products.mjs +7 -0
- package/dist/extensions/rain.d.mts +1896 -0
- package/dist/extensions/rain.d.ts +1896 -0
- package/dist/extensions/rain.js +7 -0
- package/dist/extensions/rain.mjs +7 -0
- package/dist/extensions/rewards.d.mts +2038 -0
- package/dist/extensions/rewards.d.ts +2038 -0
- package/dist/extensions/rewards.js +7 -0
- package/dist/extensions/rewards.mjs +7 -0
- package/dist/extensions/stellar-testnet.d.mts +3922 -0
- package/dist/extensions/stellar-testnet.d.ts +3922 -0
- package/dist/extensions/stellar-testnet.js +7 -0
- package/dist/extensions/stellar-testnet.mjs +7 -0
- package/dist/extensions/stellar.d.mts +3922 -0
- package/dist/extensions/stellar.d.ts +3922 -0
- package/dist/extensions/stellar.js +7 -0
- package/dist/extensions/stellar.mjs +7 -0
- package/dist/index.d.mts +6 -61050
- package/dist/index.d.ts +6 -61050
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +8 -61087
- package/dist/react.d.ts +8 -61087
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +1347 -0
- package/dist/user.d.ts +1347 -0
- package/dist/user.js +1 -0
- package/dist/user.mjs +1 -0
- package/package.json +99 -32
- package/src/auth/core/storage-adapters.ts +58 -0
- package/src/auth/create-auth.ts +563 -0
- package/src/auth/index.ts +4 -0
- package/src/auth/types/index.ts +28 -0
- package/src/extensions/alchemy/create-api.ts +13 -0
- package/src/extensions/alchemy/index.ts +3 -0
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/alchemy/openapi-ts/client/index.ts +25 -0
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/alchemy/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/alchemy/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/alchemy/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/alchemy/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/alchemy/openapi-ts/index.ts +4 -0
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +179 -0
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +851 -0
- package/src/extensions/app/create-api.ts +13 -0
- package/src/extensions/app/index.ts +3 -0
- package/src/extensions/app/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/app/openapi-ts/client/index.ts +25 -0
- package/src/extensions/app/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/app/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/app/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/app/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/app/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/app/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/app/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/app/openapi-ts/index.ts +4 -0
- package/src/extensions/app/openapi-ts/sdk.gen.ts +539 -0
- package/src/extensions/app/openapi-ts/types.gen.ts +1702 -0
- package/src/extensions/billing/create-api.ts +13 -0
- package/src/extensions/billing/index.ts +3 -0
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/billing/openapi-ts/client/index.ts +25 -0
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/billing/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/billing/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/billing/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/billing/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/billing/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/billing/openapi-ts/index.ts +4 -0
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +155 -0
- package/src/extensions/billing/openapi-ts/types.gen.ts +508 -0
- package/src/extensions/bridge/create-api.ts +13 -0
- package/src/extensions/bridge/index.ts +3 -0
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/bridge/openapi-ts/client/index.ts +25 -0
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/bridge/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/bridge/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/bridge/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/bridge/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/bridge/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/bridge/openapi-ts/index.ts +4 -0
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +383 -0
- package/src/extensions/bridge/openapi-ts/types.gen.ts +1855 -0
- package/src/extensions/builder/create-api.ts +13 -0
- package/src/extensions/builder/index.ts +3 -0
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/builder/openapi-ts/client/index.ts +25 -0
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/builder/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/builder/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/builder/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/builder/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/builder/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/builder/openapi-ts/index.ts +4 -0
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +60 -0
- package/src/extensions/builder/openapi-ts/types.gen.ts +215 -0
- package/src/extensions/business/create-api.ts +13 -0
- package/src/extensions/business/index.ts +3 -0
- package/src/extensions/business/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/business/openapi-ts/client/index.ts +25 -0
- package/src/extensions/business/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/business/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/business/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/business/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/business/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/business/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/business/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/business/openapi-ts/index.ts +4 -0
- package/src/extensions/business/openapi-ts/sdk.gen.ts +903 -0
- package/src/extensions/business/openapi-ts/types.gen.ts +8718 -0
- package/src/extensions/conversion/create-api.ts +13 -0
- package/src/extensions/conversion/index.ts +3 -0
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/conversion/openapi-ts/client/index.ts +25 -0
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/conversion/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/conversion/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/conversion/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/conversion/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/conversion/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/conversion/openapi-ts/index.ts +4 -0
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +684 -0
- package/src/extensions/conversion/openapi-ts/types.gen.ts +2467 -0
- package/src/extensions/mass-send/create-api.ts +13 -0
- package/src/extensions/mass-send/index.ts +3 -0
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/mass-send/openapi-ts/client/index.ts +25 -0
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/mass-send/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/mass-send/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/mass-send/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/mass-send/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/mass-send/openapi-ts/index.ts +4 -0
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +270 -0
- package/src/extensions/mass-send/openapi-ts/types.gen.ts +988 -0
- package/src/extensions/notifications/create-api.ts +13 -0
- package/src/extensions/notifications/index.ts +3 -0
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/notifications/openapi-ts/client/index.ts +25 -0
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/notifications/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/notifications/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/notifications/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/notifications/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/notifications/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/notifications/openapi-ts/index.ts +4 -0
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +450 -0
- package/src/extensions/notifications/openapi-ts/types.gen.ts +1732 -0
- package/src/extensions/payment-requests/create-api.ts +13 -0
- package/src/extensions/payment-requests/index.ts +3 -0
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/payment-requests/openapi-ts/client/index.ts +25 -0
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/payment-requests/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/payment-requests/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/payment-requests/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/payment-requests/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/payment-requests/openapi-ts/index.ts +4 -0
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +845 -0
- package/src/extensions/payment-requests/openapi-ts/types.gen.ts +3415 -0
- package/src/extensions/products/create-api.ts +13 -0
- package/src/extensions/products/index.ts +3 -0
- package/src/extensions/products/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/products/openapi-ts/client/index.ts +25 -0
- package/src/extensions/products/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/products/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/products/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/products/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/products/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/products/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/products/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/products/openapi-ts/index.ts +4 -0
- package/src/extensions/products/openapi-ts/sdk.gen.ts +2619 -0
- package/src/extensions/products/openapi-ts/types.gen.ts +9717 -0
- package/src/extensions/rain/create-api.ts +13 -0
- package/src/extensions/rain/index.ts +3 -0
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rain/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rain/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rain/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rain/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rain/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rain/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rain/openapi-ts/index.ts +4 -0
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +227 -0
- package/src/extensions/rain/openapi-ts/types.gen.ts +1660 -0
- package/src/extensions/rewards/create-api.ts +13 -0
- package/src/extensions/rewards/index.ts +3 -0
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/rewards/openapi-ts/client/index.ts +25 -0
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/rewards/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/rewards/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/rewards/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/rewards/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/rewards/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/rewards/openapi-ts/index.ts +4 -0
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +345 -0
- package/src/extensions/rewards/openapi-ts/types.gen.ts +1718 -0
- package/src/extensions/stellar/create-api.ts +13 -0
- package/src/extensions/stellar/index.ts +3 -0
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar/openapi-ts/types.gen.ts +3543 -0
- package/src/extensions/stellar-testnet/create-api.ts +13 -0
- package/src/extensions/stellar-testnet/index.ts +3 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +288 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/index.ts +25 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +214 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/stellar-testnet/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/auth.gen.ts +41 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +169 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/stellar-testnet/openapi-ts/index.ts +4 -0
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1049 -0
- package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +3543 -0
- package/src/platform/admin/create-api.ts +11 -0
- package/src/platform/admin/index.ts +3 -42
- package/src/platform/admin/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/admin/openapi-ts/client/index.ts +25 -0
- package/src/platform/admin/openapi-ts/client/types.gen.ts +214 -0
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/admin/openapi-ts/client.gen.ts +16 -0
- package/src/platform/admin/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/admin/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/admin/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/admin/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/admin/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/admin/openapi-ts/index.ts +4 -0
- package/src/platform/admin/openapi-ts/sdk.gen.ts +3975 -0
- package/src/platform/admin/openapi-ts/types.gen.ts +31428 -0
- package/src/platform/user/create-api.ts +11 -0
- package/src/platform/user/index.ts +3 -42
- package/src/platform/user/openapi-ts/client/client.gen.ts +288 -0
- package/src/platform/user/openapi-ts/client/index.ts +25 -0
- package/src/platform/user/openapi-ts/client/types.gen.ts +214 -0
- package/src/platform/user/openapi-ts/client/utils.gen.ts +316 -0
- package/src/platform/user/openapi-ts/client.gen.ts +16 -0
- package/src/platform/user/openapi-ts/core/auth.gen.ts +41 -0
- package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +84 -0
- package/src/platform/user/openapi-ts/core/params.gen.ts +169 -0
- package/src/platform/user/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/platform/user/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +243 -0
- package/src/platform/user/openapi-ts/core/types.gen.ts +104 -0
- package/src/platform/user/openapi-ts/core/utils.gen.ts +140 -0
- package/src/platform/user/openapi-ts/index.ts +4 -0
- package/src/platform/user/openapi-ts/sdk.gen.ts +2090 -0
- package/src/platform/user/openapi-ts/types.gen.ts +19780 -0
- package/src/shared/api-utils.ts +22 -0
- package/src/shared/bind-sdk.ts +48 -0
- package/src/shared/create-api-client.ts +55 -0
- package/src/extensions/app/http-client.ts +0 -1
- package/src/extensions/app/rehive-app-api.ts +0 -1827
- package/src/extensions/bridge/rehive-bridge-api.ts +0 -1436
- package/src/extensions/business/rehive-business-api.ts +0 -9480
- package/src/extensions/conversion/rehive-conversion-api.ts +0 -3054
- package/src/extensions/mass-send/rehive-mass-send-api.ts +0 -1061
- package/src/extensions/notifications/rehive-notifications-api.ts +0 -1964
- package/src/extensions/payment-requests/rehive-payment-requests-api.ts +0 -4026
- package/src/extensions/products/rehive-products-api.ts +0 -13107
- package/src/extensions/rewards/rehive-rewards-api.ts +0 -2139
- package/src/extensions/stellar/rehive-stellar-api.ts +0 -4219
- package/src/extensions/stellar-testnet/rehive-stellar-testnet-api.ts +0 -4219
- package/src/platform/admin/rehive-platform-admin-api.ts +0 -35075
- package/src/platform/user/rehive-platform-user-api.ts +0 -21554
|
@@ -0,0 +1,3415 @@
|
|
|
1
|
+
// This file is auto-generated by @hey-api/openapi-ts
|
|
2
|
+
|
|
3
|
+
export type ClientOptions = {
|
|
4
|
+
baseUrl: 'https://payment-requests.services.rehive.com/api/' | (string & {});
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* This serializer can be used if only a `status` is required in the response.
|
|
9
|
+
*/
|
|
10
|
+
export type ActionResponse = {
|
|
11
|
+
status?: string;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* Serialize the activation data, should be a token that represents an admin
|
|
16
|
+
* user.
|
|
17
|
+
*/
|
|
18
|
+
export type Activate = {
|
|
19
|
+
token: string;
|
|
20
|
+
readonly id: string;
|
|
21
|
+
readonly name: string;
|
|
22
|
+
readonly secret: string;
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* Serialize company, update and delete.
|
|
27
|
+
*/
|
|
28
|
+
export type AdminCompany = {
|
|
29
|
+
readonly id: string;
|
|
30
|
+
readonly secret: string;
|
|
31
|
+
name: string;
|
|
32
|
+
reminder_intervals?: Array<number>;
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
37
|
+
*/
|
|
38
|
+
export type AdminCompanyPaymentProcessor = {
|
|
39
|
+
readonly id: string;
|
|
40
|
+
active?: boolean;
|
|
41
|
+
company_base_endpoint: string;
|
|
42
|
+
payment_processor?: string;
|
|
43
|
+
generate_accounts?: boolean;
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export type AdminCompanyPaymentProcessorResponse = {
|
|
47
|
+
status?: string;
|
|
48
|
+
data?: AdminCompanyPaymentProcessor;
|
|
49
|
+
};
|
|
50
|
+
|
|
51
|
+
export type AdminCompanyResponse = {
|
|
52
|
+
status?: string;
|
|
53
|
+
data?: AdminCompany;
|
|
54
|
+
};
|
|
55
|
+
|
|
56
|
+
/**
|
|
57
|
+
* A ModelSerializer that takes additional arguments for
|
|
58
|
+
* "fields", "omit" and "expand" in order to
|
|
59
|
+
* control which fields are displayed, and whether to replace simple
|
|
60
|
+
* values with complex, nested serializations
|
|
61
|
+
*/
|
|
62
|
+
export type AdminPaymentProcessor = {
|
|
63
|
+
readonly id: string;
|
|
64
|
+
readonly native: boolean;
|
|
65
|
+
unique_string_name: string;
|
|
66
|
+
logo?: string | null;
|
|
67
|
+
name: string;
|
|
68
|
+
/**
|
|
69
|
+
* * `wallet` - Wallet
|
|
70
|
+
* * `crypto` - Crypto
|
|
71
|
+
* * `credit_card` - Credit Card
|
|
72
|
+
* * `redirect` - Redirect
|
|
73
|
+
* * `bank` - Bank
|
|
74
|
+
* * `custom` - Custom
|
|
75
|
+
*/
|
|
76
|
+
type: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
77
|
+
description: string;
|
|
78
|
+
selector_description?: string | null;
|
|
79
|
+
pending_processing_description?: string | null;
|
|
80
|
+
processing_description?: string | null;
|
|
81
|
+
currencies?: Array<string | null> | null;
|
|
82
|
+
longest_expiration_time?: number;
|
|
83
|
+
rehive_transaction_identifier?: {
|
|
84
|
+
[key: string]: unknown;
|
|
85
|
+
} | null;
|
|
86
|
+
rehive_subtype?: string | null;
|
|
87
|
+
generate_accounts?: boolean;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
export type AdminPaymentProcessorResponse = {
|
|
91
|
+
status?: string;
|
|
92
|
+
data?: AdminPaymentProcessor;
|
|
93
|
+
};
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* A ModelSerializer that takes additional arguments for
|
|
97
|
+
* "fields", "omit" and "expand" in order to
|
|
98
|
+
* control which fields are displayed, and whether to replace simple
|
|
99
|
+
* values with complex, nested serializations
|
|
100
|
+
*/
|
|
101
|
+
export type AdminRefund = {
|
|
102
|
+
readonly id: string;
|
|
103
|
+
amount?: number;
|
|
104
|
+
currency: string;
|
|
105
|
+
/**
|
|
106
|
+
* * `pending` - Pending
|
|
107
|
+
* * `processing` - Processing
|
|
108
|
+
* * `complete` - Complete
|
|
109
|
+
* * `failed` - Failed
|
|
110
|
+
*/
|
|
111
|
+
status: 'pending' | 'processing' | 'complete' | 'failed';
|
|
112
|
+
/**
|
|
113
|
+
* * `native` - Native
|
|
114
|
+
*/
|
|
115
|
+
type?: 'native';
|
|
116
|
+
readonly transaction_collection: string | null;
|
|
117
|
+
reason?: string | null;
|
|
118
|
+
readonly request: number;
|
|
119
|
+
created?: number;
|
|
120
|
+
updated?: number;
|
|
121
|
+
};
|
|
122
|
+
|
|
123
|
+
export type AdminRefundResponse = {
|
|
124
|
+
status?: string;
|
|
125
|
+
data?: AdminRefund;
|
|
126
|
+
};
|
|
127
|
+
|
|
128
|
+
/**
|
|
129
|
+
* A ModelSerializer that takes additional arguments for
|
|
130
|
+
* "fields", "omit" and "expand" in order to
|
|
131
|
+
* control which fields are displayed, and whether to replace simple
|
|
132
|
+
* values with complex, nested serializations
|
|
133
|
+
*/
|
|
134
|
+
export type AdminRequestCreateUpdate = {
|
|
135
|
+
readonly id: string;
|
|
136
|
+
user: string;
|
|
137
|
+
payer_user?: User;
|
|
138
|
+
request_reference?: string | null;
|
|
139
|
+
request_currency: string;
|
|
140
|
+
request_amount?: number | null;
|
|
141
|
+
primary_payment_processor?: string;
|
|
142
|
+
description?: string | null;
|
|
143
|
+
metadata?: {
|
|
144
|
+
[key: string]: unknown;
|
|
145
|
+
} | null;
|
|
146
|
+
/**
|
|
147
|
+
* * `draft` - Draft
|
|
148
|
+
* * `initiated` - Initiated
|
|
149
|
+
* * `processing` - Processing
|
|
150
|
+
* * `received` - Received
|
|
151
|
+
* * `paid` - Paid
|
|
152
|
+
* * `complete` - Complete
|
|
153
|
+
* * `failed` - Failed
|
|
154
|
+
* * `overpaid` - Overpaid
|
|
155
|
+
* * `cancelled` - Cancelled
|
|
156
|
+
* * `expired` - Expired
|
|
157
|
+
* * `late` - Late
|
|
158
|
+
* * `underpaid` - Underpaid
|
|
159
|
+
*/
|
|
160
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
161
|
+
expiration_date?: number;
|
|
162
|
+
due_date?: number;
|
|
163
|
+
send_request_on?: number;
|
|
164
|
+
readonly redirect_url: string;
|
|
165
|
+
payer_email?: string;
|
|
166
|
+
account: string;
|
|
167
|
+
send_reminders?: boolean;
|
|
168
|
+
reminder_intervals?: Array<number>;
|
|
169
|
+
note?: string | null;
|
|
170
|
+
return_url?: string | null;
|
|
171
|
+
payer_mobile_number?: string;
|
|
172
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
173
|
+
};
|
|
174
|
+
|
|
175
|
+
export type AdminRequestCreateUpdateResponse = {
|
|
176
|
+
status?: string;
|
|
177
|
+
data?: AdminRequestCreateUpdate;
|
|
178
|
+
};
|
|
179
|
+
|
|
180
|
+
/**
|
|
181
|
+
* A ModelSerializer that takes additional arguments for
|
|
182
|
+
* "fields", "omit" and "expand" in order to
|
|
183
|
+
* control which fields are displayed, and whether to replace simple
|
|
184
|
+
* values with complex, nested serializations
|
|
185
|
+
*/
|
|
186
|
+
export type AdminUser = {
|
|
187
|
+
readonly id: string;
|
|
188
|
+
base_currency?: string | null;
|
|
189
|
+
rate_padding?: string | null;
|
|
190
|
+
readonly email: string | null;
|
|
191
|
+
readonly mobile_number: string | null;
|
|
192
|
+
readonly first_name: string | null;
|
|
193
|
+
readonly profile: string | null;
|
|
194
|
+
readonly last_name: string | null;
|
|
195
|
+
};
|
|
196
|
+
|
|
197
|
+
export type AdminUserResponse = {
|
|
198
|
+
status?: string;
|
|
199
|
+
data?: AdminUser;
|
|
200
|
+
};
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* A ModelSerializer that takes additional arguments for
|
|
204
|
+
* "fields", "omit" and "expand" in order to
|
|
205
|
+
* control which fields are displayed, and whether to replace simple
|
|
206
|
+
* values with complex, nested serializations
|
|
207
|
+
*/
|
|
208
|
+
export type AdminWebhook = {
|
|
209
|
+
readonly id: string;
|
|
210
|
+
secret?: string | null;
|
|
211
|
+
url: string;
|
|
212
|
+
/**
|
|
213
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
214
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
215
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
216
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
217
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
218
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
219
|
+
*/
|
|
220
|
+
event: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
221
|
+
};
|
|
222
|
+
|
|
223
|
+
export type AdminWebhookResponse = {
|
|
224
|
+
status?: string;
|
|
225
|
+
data?: AdminWebhook;
|
|
226
|
+
};
|
|
227
|
+
|
|
228
|
+
/**
|
|
229
|
+
* A ModelSerializer that takes additional arguments for
|
|
230
|
+
* "fields", "omit" and "expand" in order to
|
|
231
|
+
* control which fields are displayed, and whether to replace simple
|
|
232
|
+
* values with complex, nested serializations
|
|
233
|
+
*/
|
|
234
|
+
export type AvailablePaymentProcessor = {
|
|
235
|
+
readonly id: string;
|
|
236
|
+
readonly native: boolean;
|
|
237
|
+
readonly unique_string_name: string;
|
|
238
|
+
readonly logo: string | null;
|
|
239
|
+
readonly name: string;
|
|
240
|
+
readonly description: string;
|
|
241
|
+
readonly selector_description: string | null;
|
|
242
|
+
readonly pending_processing_description: string | null;
|
|
243
|
+
readonly processing_description: string | null;
|
|
244
|
+
readonly currencies: Array<string | null> | null;
|
|
245
|
+
/**
|
|
246
|
+
* * `wallet` - Wallet
|
|
247
|
+
* * `crypto` - Crypto
|
|
248
|
+
* * `credit_card` - Credit Card
|
|
249
|
+
* * `redirect` - Redirect
|
|
250
|
+
* * `bank` - Bank
|
|
251
|
+
* * `custom` - Custom
|
|
252
|
+
*/
|
|
253
|
+
type: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
254
|
+
readonly longest_expiration_time: number;
|
|
255
|
+
readonly rehive_transaction_identifier: {
|
|
256
|
+
[key: string]: unknown;
|
|
257
|
+
} | null;
|
|
258
|
+
readonly rehive_subtype: string | null;
|
|
259
|
+
readonly active_weight: number;
|
|
260
|
+
readonly generate_accounts: boolean;
|
|
261
|
+
selectable_currencies: Array<string>;
|
|
262
|
+
weight: number;
|
|
263
|
+
};
|
|
264
|
+
|
|
265
|
+
/**
|
|
266
|
+
* Serialize company, update and delete.
|
|
267
|
+
*/
|
|
268
|
+
export type CompanyConfiguration = {
|
|
269
|
+
base_redirect_url?: string | null;
|
|
270
|
+
readonly otp_notification_id: string | null;
|
|
271
|
+
readonly request_notification_id: string | null;
|
|
272
|
+
reminder_default?: boolean;
|
|
273
|
+
request_param_config?: string | null;
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
export type CompanyConfigurationResponse = {
|
|
277
|
+
status?: string;
|
|
278
|
+
data?: CompanyConfiguration;
|
|
279
|
+
};
|
|
280
|
+
|
|
281
|
+
/**
|
|
282
|
+
* Serialize Company Payment Processor, view, create and update.
|
|
283
|
+
*/
|
|
284
|
+
export type CompanyPaymentProcessor = {
|
|
285
|
+
readonly id: string;
|
|
286
|
+
readonly active: boolean;
|
|
287
|
+
payment_processor: PaymentProcessor;
|
|
288
|
+
readonly currencies: Array<Currency>;
|
|
289
|
+
};
|
|
290
|
+
|
|
291
|
+
export type CompanyPaymentProcessorResponse = {
|
|
292
|
+
status?: string;
|
|
293
|
+
data?: CompanyPaymentProcessor;
|
|
294
|
+
};
|
|
295
|
+
|
|
296
|
+
/**
|
|
297
|
+
* A ModelSerializer that takes additional arguments for
|
|
298
|
+
* "fields", "omit" and "expand" in order to
|
|
299
|
+
* control which fields are displayed, and whether to replace simple
|
|
300
|
+
* values with complex, nested serializations
|
|
301
|
+
*/
|
|
302
|
+
export type ConversionQuote = {
|
|
303
|
+
/**
|
|
304
|
+
* * `quoted` - Quoted
|
|
305
|
+
* * `pending` - Pending
|
|
306
|
+
* * `complete` - Complete
|
|
307
|
+
* * `failed` - Failed
|
|
308
|
+
* * `cancelled` - Cancelled
|
|
309
|
+
*/
|
|
310
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed' | 'cancelled';
|
|
311
|
+
readonly conversion_quote_id: string;
|
|
312
|
+
readonly rate: string | null;
|
|
313
|
+
};
|
|
314
|
+
|
|
315
|
+
/**
|
|
316
|
+
* A ModelSerializer that takes additional arguments for
|
|
317
|
+
* "fields", "omit" and "expand" in order to
|
|
318
|
+
* control which fields are displayed, and whether to replace simple
|
|
319
|
+
* values with complex, nested serializations
|
|
320
|
+
*/
|
|
321
|
+
export type CreateRefund = {
|
|
322
|
+
readonly id: string;
|
|
323
|
+
amount?: number;
|
|
324
|
+
currency: string;
|
|
325
|
+
/**
|
|
326
|
+
* * `pending` - Pending
|
|
327
|
+
* * `processing` - Processing
|
|
328
|
+
* * `complete` - Complete
|
|
329
|
+
* * `failed` - Failed
|
|
330
|
+
*/
|
|
331
|
+
status: 'pending' | 'processing' | 'complete' | 'failed';
|
|
332
|
+
/**
|
|
333
|
+
* * `native` - Native
|
|
334
|
+
*/
|
|
335
|
+
type?: 'native';
|
|
336
|
+
readonly transaction_collection: string | null;
|
|
337
|
+
reason?: string | null;
|
|
338
|
+
readonly request: number;
|
|
339
|
+
created?: number;
|
|
340
|
+
updated?: number;
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
export type CreateRefundResponse = {
|
|
344
|
+
status?: string;
|
|
345
|
+
data?: CreateRefund;
|
|
346
|
+
};
|
|
347
|
+
|
|
348
|
+
/**
|
|
349
|
+
* A ModelSerializer that takes additional arguments for
|
|
350
|
+
* "fields", "omit" and "expand" in order to
|
|
351
|
+
* control which fields are displayed, and whether to replace simple
|
|
352
|
+
* values with complex, nested serializations
|
|
353
|
+
*/
|
|
354
|
+
export type Currency = {
|
|
355
|
+
code: string;
|
|
356
|
+
display_code?: string | null;
|
|
357
|
+
description?: string | null;
|
|
358
|
+
symbol?: string | null;
|
|
359
|
+
unit?: string | null;
|
|
360
|
+
divisibility?: number;
|
|
361
|
+
};
|
|
362
|
+
|
|
363
|
+
/**
|
|
364
|
+
* Serialize the deactivation data, should be a token that represents an admin
|
|
365
|
+
* user.
|
|
366
|
+
*/
|
|
367
|
+
export type Deactivate = {
|
|
368
|
+
token: string;
|
|
369
|
+
purge?: boolean;
|
|
370
|
+
};
|
|
371
|
+
|
|
372
|
+
export type OtpChallenge = {
|
|
373
|
+
otp: string;
|
|
374
|
+
};
|
|
375
|
+
|
|
376
|
+
export type PaginatedAdminUserList = {
|
|
377
|
+
count?: number;
|
|
378
|
+
next?: string | null;
|
|
379
|
+
previous?: string | null;
|
|
380
|
+
results?: Array<AdminUser>;
|
|
381
|
+
};
|
|
382
|
+
|
|
383
|
+
export type PaginatedAdminUserListResponse = {
|
|
384
|
+
status?: string;
|
|
385
|
+
data?: PaginatedAdminUserList;
|
|
386
|
+
};
|
|
387
|
+
|
|
388
|
+
export type PaginatedAdminWebhookList = {
|
|
389
|
+
count?: number;
|
|
390
|
+
next?: string | null;
|
|
391
|
+
previous?: string | null;
|
|
392
|
+
results?: Array<AdminWebhook>;
|
|
393
|
+
};
|
|
394
|
+
|
|
395
|
+
export type PaginatedAdminWebhookListResponse = {
|
|
396
|
+
status?: string;
|
|
397
|
+
data?: PaginatedAdminWebhookList;
|
|
398
|
+
};
|
|
399
|
+
|
|
400
|
+
export type PaginatedCompanyPaymentProcessorList = {
|
|
401
|
+
count?: number;
|
|
402
|
+
next?: string | null;
|
|
403
|
+
previous?: string | null;
|
|
404
|
+
results?: Array<CompanyPaymentProcessor>;
|
|
405
|
+
};
|
|
406
|
+
|
|
407
|
+
export type PaginatedCompanyPaymentProcessorListResponse = {
|
|
408
|
+
status?: string;
|
|
409
|
+
data?: PaginatedCompanyPaymentProcessorList;
|
|
410
|
+
};
|
|
411
|
+
|
|
412
|
+
export type PaginatedPaymentProcessorList = {
|
|
413
|
+
count?: number;
|
|
414
|
+
next?: string | null;
|
|
415
|
+
previous?: string | null;
|
|
416
|
+
results?: Array<PaymentProcessor>;
|
|
417
|
+
};
|
|
418
|
+
|
|
419
|
+
export type PaginatedPaymentProcessorListResponse = {
|
|
420
|
+
status?: string;
|
|
421
|
+
data?: PaginatedPaymentProcessorList;
|
|
422
|
+
};
|
|
423
|
+
|
|
424
|
+
export type PaginatedPaymentProcessorQuoteList = {
|
|
425
|
+
count?: number;
|
|
426
|
+
next?: string | null;
|
|
427
|
+
previous?: string | null;
|
|
428
|
+
results?: Array<PaymentProcessorQuote>;
|
|
429
|
+
};
|
|
430
|
+
|
|
431
|
+
export type PaginatedPaymentProcessorQuoteListResponse = {
|
|
432
|
+
status?: string;
|
|
433
|
+
data?: PaginatedPaymentProcessorQuoteList;
|
|
434
|
+
};
|
|
435
|
+
|
|
436
|
+
export type PaginatedRefundList = {
|
|
437
|
+
count?: number;
|
|
438
|
+
next?: string | null;
|
|
439
|
+
previous?: string | null;
|
|
440
|
+
results?: Array<Refund>;
|
|
441
|
+
};
|
|
442
|
+
|
|
443
|
+
export type PaginatedRefundListResponse = {
|
|
444
|
+
status?: string;
|
|
445
|
+
data?: PaginatedRefundList;
|
|
446
|
+
};
|
|
447
|
+
|
|
448
|
+
export type PaginatedRequestList = {
|
|
449
|
+
count?: number;
|
|
450
|
+
next?: string | null;
|
|
451
|
+
previous?: string | null;
|
|
452
|
+
results?: Array<Request>;
|
|
453
|
+
};
|
|
454
|
+
|
|
455
|
+
export type PaginatedRequestListResponse = {
|
|
456
|
+
status?: string;
|
|
457
|
+
data?: PaginatedRequestList;
|
|
458
|
+
};
|
|
459
|
+
|
|
460
|
+
export type PaginatedRequestLogsList = {
|
|
461
|
+
count?: number;
|
|
462
|
+
next?: string | null;
|
|
463
|
+
previous?: string | null;
|
|
464
|
+
results?: Array<RequestLogs>;
|
|
465
|
+
};
|
|
466
|
+
|
|
467
|
+
export type PaginatedRequestLogsListResponse = {
|
|
468
|
+
status?: string;
|
|
469
|
+
data?: PaginatedRequestLogsList;
|
|
470
|
+
};
|
|
471
|
+
|
|
472
|
+
export type PaginatedRequestTransactionList = {
|
|
473
|
+
count?: number;
|
|
474
|
+
next?: string | null;
|
|
475
|
+
previous?: string | null;
|
|
476
|
+
results?: Array<RequestTransaction>;
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
export type PaginatedRequestTransactionListResponse = {
|
|
480
|
+
status?: string;
|
|
481
|
+
data?: PaginatedRequestTransactionList;
|
|
482
|
+
};
|
|
483
|
+
|
|
484
|
+
export type PaginatedUserCompanyPaymentProcessorList = {
|
|
485
|
+
count?: number;
|
|
486
|
+
next?: string | null;
|
|
487
|
+
previous?: string | null;
|
|
488
|
+
results?: Array<UserCompanyPaymentProcessor>;
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
export type PaginatedUserCompanyPaymentProcessorListResponse = {
|
|
492
|
+
status?: string;
|
|
493
|
+
data?: PaginatedUserCompanyPaymentProcessorList;
|
|
494
|
+
};
|
|
495
|
+
|
|
496
|
+
export type PaginatedWebhookList = {
|
|
497
|
+
count?: number;
|
|
498
|
+
next?: string | null;
|
|
499
|
+
previous?: string | null;
|
|
500
|
+
results?: Array<Webhook>;
|
|
501
|
+
};
|
|
502
|
+
|
|
503
|
+
export type PaginatedWebhookListResponse = {
|
|
504
|
+
status?: string;
|
|
505
|
+
data?: PaginatedWebhookList;
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
/**
|
|
509
|
+
* Serialize company, update and delete.
|
|
510
|
+
*/
|
|
511
|
+
export type PatchedAdminCompany = {
|
|
512
|
+
readonly id?: string;
|
|
513
|
+
readonly secret?: string;
|
|
514
|
+
name?: string;
|
|
515
|
+
reminder_intervals?: Array<number>;
|
|
516
|
+
};
|
|
517
|
+
|
|
518
|
+
/**
|
|
519
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
520
|
+
*/
|
|
521
|
+
export type PatchedAdminCompanyPaymentProcessor = {
|
|
522
|
+
readonly id?: string;
|
|
523
|
+
active?: boolean;
|
|
524
|
+
company_base_endpoint?: string;
|
|
525
|
+
payment_processor?: string;
|
|
526
|
+
generate_accounts?: boolean;
|
|
527
|
+
};
|
|
528
|
+
|
|
529
|
+
/**
|
|
530
|
+
* A ModelSerializer that takes additional arguments for
|
|
531
|
+
* "fields", "omit" and "expand" in order to
|
|
532
|
+
* control which fields are displayed, and whether to replace simple
|
|
533
|
+
* values with complex, nested serializations
|
|
534
|
+
*/
|
|
535
|
+
export type PatchedAdminPaymentProcessor = {
|
|
536
|
+
readonly id?: string;
|
|
537
|
+
readonly native?: boolean;
|
|
538
|
+
unique_string_name?: string;
|
|
539
|
+
logo?: string | null;
|
|
540
|
+
name?: string;
|
|
541
|
+
/**
|
|
542
|
+
* * `wallet` - Wallet
|
|
543
|
+
* * `crypto` - Crypto
|
|
544
|
+
* * `credit_card` - Credit Card
|
|
545
|
+
* * `redirect` - Redirect
|
|
546
|
+
* * `bank` - Bank
|
|
547
|
+
* * `custom` - Custom
|
|
548
|
+
*/
|
|
549
|
+
type?: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
550
|
+
description?: string;
|
|
551
|
+
selector_description?: string | null;
|
|
552
|
+
pending_processing_description?: string | null;
|
|
553
|
+
processing_description?: string | null;
|
|
554
|
+
currencies?: Array<string | null> | null;
|
|
555
|
+
longest_expiration_time?: number;
|
|
556
|
+
rehive_transaction_identifier?: {
|
|
557
|
+
[key: string]: unknown;
|
|
558
|
+
} | null;
|
|
559
|
+
rehive_subtype?: string | null;
|
|
560
|
+
generate_accounts?: boolean;
|
|
561
|
+
};
|
|
562
|
+
|
|
563
|
+
/**
|
|
564
|
+
* A ModelSerializer that takes additional arguments for
|
|
565
|
+
* "fields", "omit" and "expand" in order to
|
|
566
|
+
* control which fields are displayed, and whether to replace simple
|
|
567
|
+
* values with complex, nested serializations
|
|
568
|
+
*/
|
|
569
|
+
export type PatchedAdminRequestCreateUpdate = {
|
|
570
|
+
readonly id?: string;
|
|
571
|
+
user?: string;
|
|
572
|
+
payer_user?: User;
|
|
573
|
+
request_reference?: string | null;
|
|
574
|
+
request_currency?: string;
|
|
575
|
+
request_amount?: number | null;
|
|
576
|
+
primary_payment_processor?: string;
|
|
577
|
+
description?: string | null;
|
|
578
|
+
metadata?: {
|
|
579
|
+
[key: string]: unknown;
|
|
580
|
+
} | null;
|
|
581
|
+
/**
|
|
582
|
+
* * `draft` - Draft
|
|
583
|
+
* * `initiated` - Initiated
|
|
584
|
+
* * `processing` - Processing
|
|
585
|
+
* * `received` - Received
|
|
586
|
+
* * `paid` - Paid
|
|
587
|
+
* * `complete` - Complete
|
|
588
|
+
* * `failed` - Failed
|
|
589
|
+
* * `overpaid` - Overpaid
|
|
590
|
+
* * `cancelled` - Cancelled
|
|
591
|
+
* * `expired` - Expired
|
|
592
|
+
* * `late` - Late
|
|
593
|
+
* * `underpaid` - Underpaid
|
|
594
|
+
*/
|
|
595
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
596
|
+
expiration_date?: number;
|
|
597
|
+
due_date?: number;
|
|
598
|
+
send_request_on?: number;
|
|
599
|
+
readonly redirect_url?: string;
|
|
600
|
+
payer_email?: string;
|
|
601
|
+
account?: string;
|
|
602
|
+
send_reminders?: boolean;
|
|
603
|
+
reminder_intervals?: Array<number>;
|
|
604
|
+
note?: string | null;
|
|
605
|
+
return_url?: string | null;
|
|
606
|
+
payer_mobile_number?: string;
|
|
607
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
608
|
+
};
|
|
609
|
+
|
|
610
|
+
/**
|
|
611
|
+
* A ModelSerializer that takes additional arguments for
|
|
612
|
+
* "fields", "omit" and "expand" in order to
|
|
613
|
+
* control which fields are displayed, and whether to replace simple
|
|
614
|
+
* values with complex, nested serializations
|
|
615
|
+
*/
|
|
616
|
+
export type PatchedAdminUser = {
|
|
617
|
+
readonly id?: string;
|
|
618
|
+
base_currency?: string | null;
|
|
619
|
+
rate_padding?: string | null;
|
|
620
|
+
readonly email?: string | null;
|
|
621
|
+
readonly mobile_number?: string | null;
|
|
622
|
+
readonly first_name?: string | null;
|
|
623
|
+
readonly profile?: string | null;
|
|
624
|
+
readonly last_name?: string | null;
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
/**
|
|
628
|
+
* A ModelSerializer that takes additional arguments for
|
|
629
|
+
* "fields", "omit" and "expand" in order to
|
|
630
|
+
* control which fields are displayed, and whether to replace simple
|
|
631
|
+
* values with complex, nested serializations
|
|
632
|
+
*/
|
|
633
|
+
export type PatchedAdminWebhook = {
|
|
634
|
+
readonly id?: string;
|
|
635
|
+
secret?: string | null;
|
|
636
|
+
url?: string;
|
|
637
|
+
/**
|
|
638
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
639
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
640
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
641
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
642
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
643
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
644
|
+
*/
|
|
645
|
+
event?: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
646
|
+
};
|
|
647
|
+
|
|
648
|
+
/**
|
|
649
|
+
* Serialize company, update and delete.
|
|
650
|
+
*/
|
|
651
|
+
export type PatchedCompanyConfiguration = {
|
|
652
|
+
base_redirect_url?: string | null;
|
|
653
|
+
readonly otp_notification_id?: string | null;
|
|
654
|
+
readonly request_notification_id?: string | null;
|
|
655
|
+
reminder_default?: boolean;
|
|
656
|
+
request_param_config?: string | null;
|
|
657
|
+
};
|
|
658
|
+
|
|
659
|
+
/**
|
|
660
|
+
* A ModelSerializer that takes additional arguments for
|
|
661
|
+
* "fields", "omit" and "expand" in order to
|
|
662
|
+
* control which fields are displayed, and whether to replace simple
|
|
663
|
+
* values with complex, nested serializations
|
|
664
|
+
*/
|
|
665
|
+
export type PatchedPublicRequestUpdate = {
|
|
666
|
+
readonly id?: string;
|
|
667
|
+
user?: User;
|
|
668
|
+
readonly request_reference?: string | null;
|
|
669
|
+
readonly request_currency?: {
|
|
670
|
+
[key: string]: unknown;
|
|
671
|
+
};
|
|
672
|
+
readonly request_amount?: number | null;
|
|
673
|
+
primary_payment_processor?: string;
|
|
674
|
+
readonly description?: string | null;
|
|
675
|
+
readonly metadata?: {
|
|
676
|
+
[key: string]: unknown;
|
|
677
|
+
} | null;
|
|
678
|
+
/**
|
|
679
|
+
* * `draft` - Draft
|
|
680
|
+
* * `initiated` - Initiated
|
|
681
|
+
* * `processing` - Processing
|
|
682
|
+
* * `received` - Received
|
|
683
|
+
* * `paid` - Paid
|
|
684
|
+
* * `complete` - Complete
|
|
685
|
+
* * `failed` - Failed
|
|
686
|
+
* * `overpaid` - Overpaid
|
|
687
|
+
* * `cancelled` - Cancelled
|
|
688
|
+
* * `expired` - Expired
|
|
689
|
+
* * `late` - Late
|
|
690
|
+
* * `underpaid` - Underpaid
|
|
691
|
+
*/
|
|
692
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
693
|
+
readonly redirect_url?: string;
|
|
694
|
+
readonly account?: string;
|
|
695
|
+
payer_email?: string;
|
|
696
|
+
readonly return_url?: string | null;
|
|
697
|
+
payer_mobile_number?: string;
|
|
698
|
+
readonly refunded?: boolean;
|
|
699
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
700
|
+
payment_processor_currency?: string;
|
|
701
|
+
available_payment_processors?: Array<AvailablePaymentProcessor>;
|
|
702
|
+
quote_amount?: string;
|
|
703
|
+
note?: string | null;
|
|
704
|
+
};
|
|
705
|
+
|
|
706
|
+
/**
|
|
707
|
+
* A ModelSerializer that takes additional arguments for
|
|
708
|
+
* "fields", "omit" and "expand" in order to
|
|
709
|
+
* control which fields are displayed, and whether to replace simple
|
|
710
|
+
* values with complex, nested serializations
|
|
711
|
+
*/
|
|
712
|
+
export type PatchedRequestCreateUpdate = {
|
|
713
|
+
readonly id?: string;
|
|
714
|
+
user?: User;
|
|
715
|
+
payer_user?: User;
|
|
716
|
+
request_reference?: string | null;
|
|
717
|
+
request_currency?: string;
|
|
718
|
+
request_amount?: number | null;
|
|
719
|
+
primary_payment_processor?: string;
|
|
720
|
+
description?: string | null;
|
|
721
|
+
metadata?: {
|
|
722
|
+
[key: string]: unknown;
|
|
723
|
+
} | null;
|
|
724
|
+
/**
|
|
725
|
+
* * `draft` - Draft
|
|
726
|
+
* * `initiated` - Initiated
|
|
727
|
+
* * `processing` - Processing
|
|
728
|
+
* * `received` - Received
|
|
729
|
+
* * `paid` - Paid
|
|
730
|
+
* * `complete` - Complete
|
|
731
|
+
* * `failed` - Failed
|
|
732
|
+
* * `overpaid` - Overpaid
|
|
733
|
+
* * `cancelled` - Cancelled
|
|
734
|
+
* * `expired` - Expired
|
|
735
|
+
* * `late` - Late
|
|
736
|
+
* * `underpaid` - Underpaid
|
|
737
|
+
*/
|
|
738
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
739
|
+
expiration_date?: number;
|
|
740
|
+
due_date?: number;
|
|
741
|
+
send_request_on?: number;
|
|
742
|
+
readonly redirect_url?: string;
|
|
743
|
+
account?: string;
|
|
744
|
+
send_reminders?: boolean;
|
|
745
|
+
reminder_intervals?: Array<number>;
|
|
746
|
+
note?: string | null;
|
|
747
|
+
payer_email?: string;
|
|
748
|
+
return_url?: string | null;
|
|
749
|
+
payer_mobile_number?: string;
|
|
750
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
751
|
+
};
|
|
752
|
+
|
|
753
|
+
/**
|
|
754
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
755
|
+
*/
|
|
756
|
+
export type PatchedUserCrudCompanyPaymentProcessor = {
|
|
757
|
+
readonly id?: string;
|
|
758
|
+
active?: boolean;
|
|
759
|
+
readonly company_payment_processor?: number;
|
|
760
|
+
};
|
|
761
|
+
|
|
762
|
+
/**
|
|
763
|
+
* A ModelSerializer that takes additional arguments for
|
|
764
|
+
* "fields", "omit" and "expand" in order to
|
|
765
|
+
* control which fields are displayed, and whether to replace simple
|
|
766
|
+
* values with complex, nested serializations
|
|
767
|
+
*/
|
|
768
|
+
export type PatchedWebhook = {
|
|
769
|
+
readonly id?: string;
|
|
770
|
+
secret?: string | null;
|
|
771
|
+
url?: string;
|
|
772
|
+
/**
|
|
773
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
774
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
775
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
776
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
777
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
778
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
779
|
+
*/
|
|
780
|
+
event?: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
781
|
+
};
|
|
782
|
+
|
|
783
|
+
/**
|
|
784
|
+
* A ModelSerializer that takes additional arguments for
|
|
785
|
+
* "fields", "omit" and "expand" in order to
|
|
786
|
+
* control which fields are displayed, and whether to replace simple
|
|
787
|
+
* values with complex, nested serializations
|
|
788
|
+
*/
|
|
789
|
+
export type PaymentProcessor = {
|
|
790
|
+
readonly id: string;
|
|
791
|
+
readonly native: boolean;
|
|
792
|
+
readonly unique_string_name: string;
|
|
793
|
+
readonly logo: string | null;
|
|
794
|
+
readonly name: string;
|
|
795
|
+
readonly description: string;
|
|
796
|
+
readonly selector_description: string | null;
|
|
797
|
+
readonly pending_processing_description: string | null;
|
|
798
|
+
readonly processing_description: string | null;
|
|
799
|
+
readonly currencies: Array<string | null> | null;
|
|
800
|
+
/**
|
|
801
|
+
* * `wallet` - Wallet
|
|
802
|
+
* * `crypto` - Crypto
|
|
803
|
+
* * `credit_card` - Credit Card
|
|
804
|
+
* * `redirect` - Redirect
|
|
805
|
+
* * `bank` - Bank
|
|
806
|
+
* * `custom` - Custom
|
|
807
|
+
*/
|
|
808
|
+
type: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
809
|
+
readonly longest_expiration_time: number;
|
|
810
|
+
readonly rehive_transaction_identifier: {
|
|
811
|
+
[key: string]: unknown;
|
|
812
|
+
} | null;
|
|
813
|
+
readonly rehive_subtype: string | null;
|
|
814
|
+
readonly active_weight: number;
|
|
815
|
+
readonly generate_accounts: boolean;
|
|
816
|
+
weight: number;
|
|
817
|
+
};
|
|
818
|
+
|
|
819
|
+
/**
|
|
820
|
+
* A ModelSerializer that takes additional arguments for
|
|
821
|
+
* "fields", "omit" and "expand" in order to
|
|
822
|
+
* control which fields are displayed, and whether to replace simple
|
|
823
|
+
* values with complex, nested serializations
|
|
824
|
+
*/
|
|
825
|
+
export type PaymentProcessorQuote = {
|
|
826
|
+
readonly id: string;
|
|
827
|
+
readonly request: number;
|
|
828
|
+
readonly reference: string | null;
|
|
829
|
+
readonly deposit_details: {
|
|
830
|
+
[key: string]: unknown;
|
|
831
|
+
} | null;
|
|
832
|
+
payment_processor?: PaymentProcessor;
|
|
833
|
+
readonly currency: {
|
|
834
|
+
[key: string]: unknown;
|
|
835
|
+
};
|
|
836
|
+
readonly amount: number;
|
|
837
|
+
readonly total_paid: number;
|
|
838
|
+
readonly total_pending: number;
|
|
839
|
+
expiration_date?: number;
|
|
840
|
+
/**
|
|
841
|
+
* * `pending` - Pending
|
|
842
|
+
* * `processing` - Processing
|
|
843
|
+
* * `received` - Received
|
|
844
|
+
* * `overpaid` - Overpaid
|
|
845
|
+
* * `paid` - Paid
|
|
846
|
+
* * `failed` - Failed
|
|
847
|
+
* * `expired` - Expired
|
|
848
|
+
* * `late` - Late
|
|
849
|
+
* * `underpaid` - Underpaid
|
|
850
|
+
*/
|
|
851
|
+
status: 'pending' | 'processing' | 'received' | 'overpaid' | 'paid' | 'failed' | 'expired' | 'late' | 'underpaid';
|
|
852
|
+
conversion_quote?: ConversionQuote;
|
|
853
|
+
created?: number;
|
|
854
|
+
readonly account: string | null;
|
|
855
|
+
updated?: number;
|
|
856
|
+
};
|
|
857
|
+
|
|
858
|
+
export type PaymentProcessorQuoteResponse = {
|
|
859
|
+
status?: string;
|
|
860
|
+
data?: PaymentProcessorQuote;
|
|
861
|
+
};
|
|
862
|
+
|
|
863
|
+
export type PaymentProcessorResponse = {
|
|
864
|
+
status?: string;
|
|
865
|
+
data?: PaymentProcessor;
|
|
866
|
+
};
|
|
867
|
+
|
|
868
|
+
/**
|
|
869
|
+
* A ModelSerializer that takes additional arguments for
|
|
870
|
+
* "fields", "omit" and "expand" in order to
|
|
871
|
+
* control which fields are displayed, and whether to replace simple
|
|
872
|
+
* values with complex, nested serializations
|
|
873
|
+
*/
|
|
874
|
+
export type PublicRequest = {
|
|
875
|
+
readonly id: string;
|
|
876
|
+
user?: User;
|
|
877
|
+
payer_user?: User;
|
|
878
|
+
readonly request_reference: string | null;
|
|
879
|
+
readonly request_currency: {
|
|
880
|
+
[key: string]: unknown;
|
|
881
|
+
};
|
|
882
|
+
readonly request_amount: number | null;
|
|
883
|
+
primary_payment_processor?: PaymentProcessor;
|
|
884
|
+
readonly description: string | null;
|
|
885
|
+
readonly metadata: {
|
|
886
|
+
[key: string]: unknown;
|
|
887
|
+
} | null;
|
|
888
|
+
/**
|
|
889
|
+
* * `draft` - Draft
|
|
890
|
+
* * `initiated` - Initiated
|
|
891
|
+
* * `processing` - Processing
|
|
892
|
+
* * `received` - Received
|
|
893
|
+
* * `paid` - Paid
|
|
894
|
+
* * `complete` - Complete
|
|
895
|
+
* * `failed` - Failed
|
|
896
|
+
* * `overpaid` - Overpaid
|
|
897
|
+
* * `cancelled` - Cancelled
|
|
898
|
+
* * `expired` - Expired
|
|
899
|
+
* * `late` - Late
|
|
900
|
+
* * `underpaid` - Underpaid
|
|
901
|
+
*/
|
|
902
|
+
status: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
903
|
+
readonly account: string;
|
|
904
|
+
readonly redirect_url: string;
|
|
905
|
+
payer_email?: string;
|
|
906
|
+
readonly payer_mobile_number: string;
|
|
907
|
+
readonly return_url: string | null;
|
|
908
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
909
|
+
available_payment_processors?: Array<AvailablePaymentProcessor>;
|
|
910
|
+
expiration_date?: number;
|
|
911
|
+
note?: string | null;
|
|
912
|
+
readonly refunded: boolean;
|
|
913
|
+
due_date?: number;
|
|
914
|
+
created?: number;
|
|
915
|
+
updated?: number;
|
|
916
|
+
};
|
|
917
|
+
|
|
918
|
+
export type PublicRequestResponse = {
|
|
919
|
+
status?: string;
|
|
920
|
+
data?: PublicRequest;
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
/**
|
|
924
|
+
* A ModelSerializer that takes additional arguments for
|
|
925
|
+
* "fields", "omit" and "expand" in order to
|
|
926
|
+
* control which fields are displayed, and whether to replace simple
|
|
927
|
+
* values with complex, nested serializations
|
|
928
|
+
*/
|
|
929
|
+
export type Refund = {
|
|
930
|
+
readonly id: string;
|
|
931
|
+
amount?: number;
|
|
932
|
+
currency: Currency;
|
|
933
|
+
/**
|
|
934
|
+
* * `pending` - Pending
|
|
935
|
+
* * `processing` - Processing
|
|
936
|
+
* * `complete` - Complete
|
|
937
|
+
* * `failed` - Failed
|
|
938
|
+
*/
|
|
939
|
+
status: 'pending' | 'processing' | 'complete' | 'failed';
|
|
940
|
+
/**
|
|
941
|
+
* * `native` - Native
|
|
942
|
+
*/
|
|
943
|
+
type?: 'native';
|
|
944
|
+
readonly transaction_collection: string | null;
|
|
945
|
+
reason?: string | null;
|
|
946
|
+
readonly request: number;
|
|
947
|
+
created?: number;
|
|
948
|
+
updated?: number;
|
|
949
|
+
};
|
|
950
|
+
|
|
951
|
+
export type RehiveWebhook = {
|
|
952
|
+
id: string;
|
|
953
|
+
/**
|
|
954
|
+
* * `currency.create` - currency.create
|
|
955
|
+
* * `currency.update` - currency.update
|
|
956
|
+
* * `transaction.initiate` - transaction.initiate
|
|
957
|
+
* * `transaction.execute` - transaction.execute
|
|
958
|
+
* * `user.create` - user.create
|
|
959
|
+
* * `user.update` - user.update
|
|
960
|
+
*/
|
|
961
|
+
event: 'currency.create' | 'currency.update' | 'transaction.initiate' | 'transaction.execute' | 'user.create' | 'user.update';
|
|
962
|
+
company: string;
|
|
963
|
+
data: {
|
|
964
|
+
[key: string]: unknown;
|
|
965
|
+
};
|
|
966
|
+
};
|
|
967
|
+
|
|
968
|
+
/**
|
|
969
|
+
* A ModelSerializer that takes additional arguments for
|
|
970
|
+
* "fields", "omit" and "expand" in order to
|
|
971
|
+
* control which fields are displayed, and whether to replace simple
|
|
972
|
+
* values with complex, nested serializations
|
|
973
|
+
*/
|
|
974
|
+
export type Request = {
|
|
975
|
+
readonly id: string;
|
|
976
|
+
user?: User;
|
|
977
|
+
payer_user?: User;
|
|
978
|
+
readonly payer_email: string;
|
|
979
|
+
readonly payer_mobile_number: string;
|
|
980
|
+
request_reference?: string | null;
|
|
981
|
+
readonly request_currency: {
|
|
982
|
+
[key: string]: unknown;
|
|
983
|
+
};
|
|
984
|
+
request_amount?: number | null;
|
|
985
|
+
primary_payment_processor?: PaymentProcessor;
|
|
986
|
+
description?: string | null;
|
|
987
|
+
metadata?: {
|
|
988
|
+
[key: string]: unknown;
|
|
989
|
+
} | null;
|
|
990
|
+
/**
|
|
991
|
+
* * `draft` - Draft
|
|
992
|
+
* * `initiated` - Initiated
|
|
993
|
+
* * `processing` - Processing
|
|
994
|
+
* * `received` - Received
|
|
995
|
+
* * `paid` - Paid
|
|
996
|
+
* * `complete` - Complete
|
|
997
|
+
* * `failed` - Failed
|
|
998
|
+
* * `overpaid` - Overpaid
|
|
999
|
+
* * `cancelled` - Cancelled
|
|
1000
|
+
* * `expired` - Expired
|
|
1001
|
+
* * `late` - Late
|
|
1002
|
+
* * `underpaid` - Underpaid
|
|
1003
|
+
*/
|
|
1004
|
+
status: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1005
|
+
expiration_date?: number;
|
|
1006
|
+
due_date?: number;
|
|
1007
|
+
readonly redirect_url: string;
|
|
1008
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
1009
|
+
refunds?: Array<Refund>;
|
|
1010
|
+
return_url?: string | null;
|
|
1011
|
+
send_request_on?: number;
|
|
1012
|
+
account: string;
|
|
1013
|
+
send_reminders?: boolean;
|
|
1014
|
+
reminder_intervals?: Array<number>;
|
|
1015
|
+
note?: string | null;
|
|
1016
|
+
readonly refunded: boolean;
|
|
1017
|
+
created?: number;
|
|
1018
|
+
updated?: number;
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
/**
|
|
1022
|
+
* A ModelSerializer that takes additional arguments for
|
|
1023
|
+
* "fields", "omit" and "expand" in order to
|
|
1024
|
+
* control which fields are displayed, and whether to replace simple
|
|
1025
|
+
* values with complex, nested serializations
|
|
1026
|
+
*/
|
|
1027
|
+
export type RequestCreateUpdate = {
|
|
1028
|
+
readonly id: string;
|
|
1029
|
+
user?: User;
|
|
1030
|
+
payer_user?: User;
|
|
1031
|
+
request_reference?: string | null;
|
|
1032
|
+
request_currency: string;
|
|
1033
|
+
request_amount?: number | null;
|
|
1034
|
+
primary_payment_processor?: string;
|
|
1035
|
+
description?: string | null;
|
|
1036
|
+
metadata?: {
|
|
1037
|
+
[key: string]: unknown;
|
|
1038
|
+
} | null;
|
|
1039
|
+
/**
|
|
1040
|
+
* * `draft` - Draft
|
|
1041
|
+
* * `initiated` - Initiated
|
|
1042
|
+
* * `processing` - Processing
|
|
1043
|
+
* * `received` - Received
|
|
1044
|
+
* * `paid` - Paid
|
|
1045
|
+
* * `complete` - Complete
|
|
1046
|
+
* * `failed` - Failed
|
|
1047
|
+
* * `overpaid` - Overpaid
|
|
1048
|
+
* * `cancelled` - Cancelled
|
|
1049
|
+
* * `expired` - Expired
|
|
1050
|
+
* * `late` - Late
|
|
1051
|
+
* * `underpaid` - Underpaid
|
|
1052
|
+
*/
|
|
1053
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1054
|
+
expiration_date?: number;
|
|
1055
|
+
due_date?: number;
|
|
1056
|
+
send_request_on?: number;
|
|
1057
|
+
readonly redirect_url: string;
|
|
1058
|
+
account: string;
|
|
1059
|
+
send_reminders?: boolean;
|
|
1060
|
+
reminder_intervals?: Array<number>;
|
|
1061
|
+
note?: string | null;
|
|
1062
|
+
payer_email?: string;
|
|
1063
|
+
return_url?: string | null;
|
|
1064
|
+
payer_mobile_number?: string;
|
|
1065
|
+
payment_processor_quotes?: Array<PaymentProcessorQuote>;
|
|
1066
|
+
};
|
|
1067
|
+
|
|
1068
|
+
export type RequestCreateUpdateResponse = {
|
|
1069
|
+
status?: string;
|
|
1070
|
+
data?: RequestCreateUpdate;
|
|
1071
|
+
};
|
|
1072
|
+
|
|
1073
|
+
/**
|
|
1074
|
+
* A ModelSerializer that takes additional arguments for
|
|
1075
|
+
* "fields", "omit" and "expand" in order to
|
|
1076
|
+
* control which fields are displayed, and whether to replace simple
|
|
1077
|
+
* values with complex, nested serializations
|
|
1078
|
+
*/
|
|
1079
|
+
export type RequestLogs = {
|
|
1080
|
+
readonly request: number;
|
|
1081
|
+
readonly user_agent: string | null;
|
|
1082
|
+
readonly ip_address: string | null;
|
|
1083
|
+
readonly email: string | null;
|
|
1084
|
+
readonly mobile_number: string | null;
|
|
1085
|
+
};
|
|
1086
|
+
|
|
1087
|
+
export type RequestResponse = {
|
|
1088
|
+
status?: string;
|
|
1089
|
+
data?: Request;
|
|
1090
|
+
};
|
|
1091
|
+
|
|
1092
|
+
/**
|
|
1093
|
+
* A ModelSerializer that takes additional arguments for
|
|
1094
|
+
* "fields", "omit" and "expand" in order to
|
|
1095
|
+
* control which fields are displayed, and whether to replace simple
|
|
1096
|
+
* values with complex, nested serializations
|
|
1097
|
+
*/
|
|
1098
|
+
export type RequestTransaction = {
|
|
1099
|
+
readonly rehive_code: string;
|
|
1100
|
+
/**
|
|
1101
|
+
* * `pending` - Pending
|
|
1102
|
+
* * `pending_settled` - Pending Settled
|
|
1103
|
+
* * `settled` - Settled
|
|
1104
|
+
* * `complete` - Complete
|
|
1105
|
+
* * `failed` - Failed
|
|
1106
|
+
*/
|
|
1107
|
+
status: 'pending' | 'pending_settled' | 'settled' | 'complete' | 'failed';
|
|
1108
|
+
readonly payment_processor_quote: number;
|
|
1109
|
+
readonly details: {
|
|
1110
|
+
[key: string]: unknown;
|
|
1111
|
+
};
|
|
1112
|
+
};
|
|
1113
|
+
|
|
1114
|
+
/**
|
|
1115
|
+
* A ModelSerializer that takes additional arguments for
|
|
1116
|
+
* "fields", "omit" and "expand" in order to
|
|
1117
|
+
* control which fields are displayed, and whether to replace simple
|
|
1118
|
+
* values with complex, nested serializations
|
|
1119
|
+
*/
|
|
1120
|
+
export type User = {
|
|
1121
|
+
readonly id: string;
|
|
1122
|
+
base_currency?: string | null;
|
|
1123
|
+
readonly company: string;
|
|
1124
|
+
readonly mobile_number: string | null;
|
|
1125
|
+
readonly email: string | null;
|
|
1126
|
+
readonly first_name: string | null;
|
|
1127
|
+
readonly profile: string | null;
|
|
1128
|
+
readonly last_name: string | null;
|
|
1129
|
+
};
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
1133
|
+
*/
|
|
1134
|
+
export type UserCrudCompanyPaymentProcessor = {
|
|
1135
|
+
readonly id: string;
|
|
1136
|
+
active?: boolean;
|
|
1137
|
+
readonly company_payment_processor: number;
|
|
1138
|
+
};
|
|
1139
|
+
|
|
1140
|
+
export type UserCrudCompanyPaymentProcessorResponse = {
|
|
1141
|
+
status?: string;
|
|
1142
|
+
data?: UserCrudCompanyPaymentProcessor;
|
|
1143
|
+
};
|
|
1144
|
+
|
|
1145
|
+
/**
|
|
1146
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
1147
|
+
*/
|
|
1148
|
+
export type UserCompanyPaymentProcessor = {
|
|
1149
|
+
readonly id: string;
|
|
1150
|
+
readonly active: boolean;
|
|
1151
|
+
company_payment_processor: CompanyPaymentProcessor;
|
|
1152
|
+
readonly currencies: Array<Currency>;
|
|
1153
|
+
};
|
|
1154
|
+
|
|
1155
|
+
export type UserCompanyPaymentProcessorResponse = {
|
|
1156
|
+
status?: string;
|
|
1157
|
+
data?: UserCompanyPaymentProcessor;
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* A ModelSerializer that takes additional arguments for
|
|
1162
|
+
* "fields", "omit" and "expand" in order to
|
|
1163
|
+
* control which fields are displayed, and whether to replace simple
|
|
1164
|
+
* values with complex, nested serializations
|
|
1165
|
+
*/
|
|
1166
|
+
export type Webhook = {
|
|
1167
|
+
readonly id: string;
|
|
1168
|
+
secret?: string | null;
|
|
1169
|
+
url: string;
|
|
1170
|
+
/**
|
|
1171
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
1172
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
1173
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
1174
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
1175
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
1176
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
1177
|
+
*/
|
|
1178
|
+
event: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
1179
|
+
};
|
|
1180
|
+
|
|
1181
|
+
export type WebhookResponse = {
|
|
1182
|
+
status?: string;
|
|
1183
|
+
data?: Webhook;
|
|
1184
|
+
};
|
|
1185
|
+
|
|
1186
|
+
/**
|
|
1187
|
+
* Serialize company, update and delete.
|
|
1188
|
+
*/
|
|
1189
|
+
export type AdminCompanyWritable = {
|
|
1190
|
+
name: string;
|
|
1191
|
+
reminder_intervals?: Array<number>;
|
|
1192
|
+
};
|
|
1193
|
+
|
|
1194
|
+
/**
|
|
1195
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
1196
|
+
*/
|
|
1197
|
+
export type AdminCompanyPaymentProcessorWritable = {
|
|
1198
|
+
active?: boolean;
|
|
1199
|
+
company_base_endpoint: string;
|
|
1200
|
+
company_external_api_key: string;
|
|
1201
|
+
payment_processor?: string;
|
|
1202
|
+
currencies?: Array<string>;
|
|
1203
|
+
generate_accounts?: boolean;
|
|
1204
|
+
};
|
|
1205
|
+
|
|
1206
|
+
export type AdminCompanyPaymentProcessorResponseWritable = {
|
|
1207
|
+
status?: string;
|
|
1208
|
+
data?: AdminCompanyPaymentProcessorWritable;
|
|
1209
|
+
};
|
|
1210
|
+
|
|
1211
|
+
export type AdminCompanyResponseWritable = {
|
|
1212
|
+
status?: string;
|
|
1213
|
+
data?: AdminCompanyWritable;
|
|
1214
|
+
};
|
|
1215
|
+
|
|
1216
|
+
/**
|
|
1217
|
+
* A ModelSerializer that takes additional arguments for
|
|
1218
|
+
* "fields", "omit" and "expand" in order to
|
|
1219
|
+
* control which fields are displayed, and whether to replace simple
|
|
1220
|
+
* values with complex, nested serializations
|
|
1221
|
+
*/
|
|
1222
|
+
export type AdminPaymentProcessorWritable = {
|
|
1223
|
+
unique_string_name: string;
|
|
1224
|
+
logo?: string | null;
|
|
1225
|
+
name: string;
|
|
1226
|
+
/**
|
|
1227
|
+
* * `wallet` - Wallet
|
|
1228
|
+
* * `crypto` - Crypto
|
|
1229
|
+
* * `credit_card` - Credit Card
|
|
1230
|
+
* * `redirect` - Redirect
|
|
1231
|
+
* * `bank` - Bank
|
|
1232
|
+
* * `custom` - Custom
|
|
1233
|
+
*/
|
|
1234
|
+
type: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
1235
|
+
description: string;
|
|
1236
|
+
selector_description?: string | null;
|
|
1237
|
+
pending_processing_description?: string | null;
|
|
1238
|
+
processing_description?: string | null;
|
|
1239
|
+
currencies?: Array<string | null> | null;
|
|
1240
|
+
longest_expiration_time?: number;
|
|
1241
|
+
rehive_transaction_identifier?: {
|
|
1242
|
+
[key: string]: unknown;
|
|
1243
|
+
} | null;
|
|
1244
|
+
rehive_subtype?: string | null;
|
|
1245
|
+
generate_accounts?: boolean;
|
|
1246
|
+
};
|
|
1247
|
+
|
|
1248
|
+
export type AdminPaymentProcessorResponseWritable = {
|
|
1249
|
+
status?: string;
|
|
1250
|
+
data?: AdminPaymentProcessorWritable;
|
|
1251
|
+
};
|
|
1252
|
+
|
|
1253
|
+
/**
|
|
1254
|
+
* A ModelSerializer that takes additional arguments for
|
|
1255
|
+
* "fields", "omit" and "expand" in order to
|
|
1256
|
+
* control which fields are displayed, and whether to replace simple
|
|
1257
|
+
* values with complex, nested serializations
|
|
1258
|
+
*/
|
|
1259
|
+
export type AdminRefundWritable = {
|
|
1260
|
+
amount?: number;
|
|
1261
|
+
currency: string;
|
|
1262
|
+
/**
|
|
1263
|
+
* * `native` - Native
|
|
1264
|
+
*/
|
|
1265
|
+
type?: 'native';
|
|
1266
|
+
reason?: string | null;
|
|
1267
|
+
created?: number;
|
|
1268
|
+
updated?: number;
|
|
1269
|
+
};
|
|
1270
|
+
|
|
1271
|
+
export type AdminRefundResponseWritable = {
|
|
1272
|
+
status?: string;
|
|
1273
|
+
data?: AdminRefundWritable;
|
|
1274
|
+
};
|
|
1275
|
+
|
|
1276
|
+
/**
|
|
1277
|
+
* A ModelSerializer that takes additional arguments for
|
|
1278
|
+
* "fields", "omit" and "expand" in order to
|
|
1279
|
+
* control which fields are displayed, and whether to replace simple
|
|
1280
|
+
* values with complex, nested serializations
|
|
1281
|
+
*/
|
|
1282
|
+
export type AdminRequestCreateUpdateWritable = {
|
|
1283
|
+
user: string;
|
|
1284
|
+
payer_user?: UserWritable;
|
|
1285
|
+
request_reference?: string | null;
|
|
1286
|
+
request_currency: string;
|
|
1287
|
+
request_amount?: number | null;
|
|
1288
|
+
primary_payment_processor?: string;
|
|
1289
|
+
description?: string | null;
|
|
1290
|
+
metadata?: {
|
|
1291
|
+
[key: string]: unknown;
|
|
1292
|
+
} | null;
|
|
1293
|
+
/**
|
|
1294
|
+
* * `draft` - Draft
|
|
1295
|
+
* * `initiated` - Initiated
|
|
1296
|
+
* * `processing` - Processing
|
|
1297
|
+
* * `received` - Received
|
|
1298
|
+
* * `paid` - Paid
|
|
1299
|
+
* * `complete` - Complete
|
|
1300
|
+
* * `failed` - Failed
|
|
1301
|
+
* * `overpaid` - Overpaid
|
|
1302
|
+
* * `cancelled` - Cancelled
|
|
1303
|
+
* * `expired` - Expired
|
|
1304
|
+
* * `late` - Late
|
|
1305
|
+
* * `underpaid` - Underpaid
|
|
1306
|
+
*/
|
|
1307
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1308
|
+
expiration_date?: number;
|
|
1309
|
+
due_date?: number;
|
|
1310
|
+
send_request_on?: number;
|
|
1311
|
+
payer_email?: string;
|
|
1312
|
+
account: string;
|
|
1313
|
+
send_reminders?: boolean;
|
|
1314
|
+
reminder_intervals?: Array<number>;
|
|
1315
|
+
note?: string | null;
|
|
1316
|
+
return_url?: string | null;
|
|
1317
|
+
payer_mobile_number?: string;
|
|
1318
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
export type AdminRequestCreateUpdateResponseWritable = {
|
|
1322
|
+
status?: string;
|
|
1323
|
+
data?: AdminRequestCreateUpdateWritable;
|
|
1324
|
+
};
|
|
1325
|
+
|
|
1326
|
+
/**
|
|
1327
|
+
* A ModelSerializer that takes additional arguments for
|
|
1328
|
+
* "fields", "omit" and "expand" in order to
|
|
1329
|
+
* control which fields are displayed, and whether to replace simple
|
|
1330
|
+
* values with complex, nested serializations
|
|
1331
|
+
*/
|
|
1332
|
+
export type AdminUserWritable = {
|
|
1333
|
+
base_currency?: string | null;
|
|
1334
|
+
rate_padding?: string | null;
|
|
1335
|
+
};
|
|
1336
|
+
|
|
1337
|
+
export type AdminUserResponseWritable = {
|
|
1338
|
+
status?: string;
|
|
1339
|
+
data?: AdminUserWritable;
|
|
1340
|
+
};
|
|
1341
|
+
|
|
1342
|
+
/**
|
|
1343
|
+
* A ModelSerializer that takes additional arguments for
|
|
1344
|
+
* "fields", "omit" and "expand" in order to
|
|
1345
|
+
* control which fields are displayed, and whether to replace simple
|
|
1346
|
+
* values with complex, nested serializations
|
|
1347
|
+
*/
|
|
1348
|
+
export type AdminWebhookWritable = {
|
|
1349
|
+
secret?: string | null;
|
|
1350
|
+
url: string;
|
|
1351
|
+
/**
|
|
1352
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
1353
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
1354
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
1355
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
1356
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
1357
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
1358
|
+
*/
|
|
1359
|
+
event: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
1360
|
+
};
|
|
1361
|
+
|
|
1362
|
+
export type AdminWebhookResponseWritable = {
|
|
1363
|
+
status?: string;
|
|
1364
|
+
data?: AdminWebhookWritable;
|
|
1365
|
+
};
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* A ModelSerializer that takes additional arguments for
|
|
1369
|
+
* "fields", "omit" and "expand" in order to
|
|
1370
|
+
* control which fields are displayed, and whether to replace simple
|
|
1371
|
+
* values with complex, nested serializations
|
|
1372
|
+
*/
|
|
1373
|
+
export type AvailablePaymentProcessorWritable = {
|
|
1374
|
+
/**
|
|
1375
|
+
* * `wallet` - Wallet
|
|
1376
|
+
* * `crypto` - Crypto
|
|
1377
|
+
* * `credit_card` - Credit Card
|
|
1378
|
+
* * `redirect` - Redirect
|
|
1379
|
+
* * `bank` - Bank
|
|
1380
|
+
* * `custom` - Custom
|
|
1381
|
+
*/
|
|
1382
|
+
type: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
1383
|
+
selectable_currencies: Array<string>;
|
|
1384
|
+
weight: number;
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
/**
|
|
1388
|
+
* Serialize company, update and delete.
|
|
1389
|
+
*/
|
|
1390
|
+
export type CompanyConfigurationWritable = {
|
|
1391
|
+
base_redirect_url?: string | null;
|
|
1392
|
+
reminder_default?: boolean;
|
|
1393
|
+
request_param_config?: string | null;
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
export type CompanyConfigurationResponseWritable = {
|
|
1397
|
+
status?: string;
|
|
1398
|
+
data?: CompanyConfigurationWritable;
|
|
1399
|
+
};
|
|
1400
|
+
|
|
1401
|
+
/**
|
|
1402
|
+
* Serialize Company Payment Processor, view, create and update.
|
|
1403
|
+
*/
|
|
1404
|
+
export type CompanyPaymentProcessorWritable = {
|
|
1405
|
+
[key: string]: unknown;
|
|
1406
|
+
};
|
|
1407
|
+
|
|
1408
|
+
export type CompanyPaymentProcessorResponseWritable = {
|
|
1409
|
+
status?: string;
|
|
1410
|
+
data?: CompanyPaymentProcessorWritable;
|
|
1411
|
+
};
|
|
1412
|
+
|
|
1413
|
+
/**
|
|
1414
|
+
* A ModelSerializer that takes additional arguments for
|
|
1415
|
+
* "fields", "omit" and "expand" in order to
|
|
1416
|
+
* control which fields are displayed, and whether to replace simple
|
|
1417
|
+
* values with complex, nested serializations
|
|
1418
|
+
*/
|
|
1419
|
+
export type ConversionQuoteWritable = {
|
|
1420
|
+
/**
|
|
1421
|
+
* * `quoted` - Quoted
|
|
1422
|
+
* * `pending` - Pending
|
|
1423
|
+
* * `complete` - Complete
|
|
1424
|
+
* * `failed` - Failed
|
|
1425
|
+
* * `cancelled` - Cancelled
|
|
1426
|
+
*/
|
|
1427
|
+
status: 'quoted' | 'pending' | 'complete' | 'failed' | 'cancelled';
|
|
1428
|
+
};
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* A ModelSerializer that takes additional arguments for
|
|
1432
|
+
* "fields", "omit" and "expand" in order to
|
|
1433
|
+
* control which fields are displayed, and whether to replace simple
|
|
1434
|
+
* values with complex, nested serializations
|
|
1435
|
+
*/
|
|
1436
|
+
export type CreateRefundWritable = {
|
|
1437
|
+
amount?: number;
|
|
1438
|
+
currency: string;
|
|
1439
|
+
/**
|
|
1440
|
+
* * `native` - Native
|
|
1441
|
+
*/
|
|
1442
|
+
type?: 'native';
|
|
1443
|
+
reason?: string | null;
|
|
1444
|
+
created?: number;
|
|
1445
|
+
updated?: number;
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
export type CreateRefundResponseWritable = {
|
|
1449
|
+
status?: string;
|
|
1450
|
+
data?: CreateRefundWritable;
|
|
1451
|
+
};
|
|
1452
|
+
|
|
1453
|
+
export type PaginatedAdminUserListWritable = {
|
|
1454
|
+
count?: number;
|
|
1455
|
+
next?: string | null;
|
|
1456
|
+
previous?: string | null;
|
|
1457
|
+
results?: Array<AdminUserWritable>;
|
|
1458
|
+
};
|
|
1459
|
+
|
|
1460
|
+
export type PaginatedAdminUserListResponseWritable = {
|
|
1461
|
+
status?: string;
|
|
1462
|
+
data?: PaginatedAdminUserListWritable;
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
export type PaginatedAdminWebhookListWritable = {
|
|
1466
|
+
count?: number;
|
|
1467
|
+
next?: string | null;
|
|
1468
|
+
previous?: string | null;
|
|
1469
|
+
results?: Array<AdminWebhookWritable>;
|
|
1470
|
+
};
|
|
1471
|
+
|
|
1472
|
+
export type PaginatedAdminWebhookListResponseWritable = {
|
|
1473
|
+
status?: string;
|
|
1474
|
+
data?: PaginatedAdminWebhookListWritable;
|
|
1475
|
+
};
|
|
1476
|
+
|
|
1477
|
+
export type PaginatedCompanyPaymentProcessorListWritable = {
|
|
1478
|
+
count?: number;
|
|
1479
|
+
next?: string | null;
|
|
1480
|
+
previous?: string | null;
|
|
1481
|
+
results?: Array<CompanyPaymentProcessorWritable>;
|
|
1482
|
+
};
|
|
1483
|
+
|
|
1484
|
+
export type PaginatedCompanyPaymentProcessorListResponseWritable = {
|
|
1485
|
+
status?: string;
|
|
1486
|
+
data?: PaginatedCompanyPaymentProcessorListWritable;
|
|
1487
|
+
};
|
|
1488
|
+
|
|
1489
|
+
export type PaginatedPaymentProcessorListWritable = {
|
|
1490
|
+
count?: number;
|
|
1491
|
+
next?: string | null;
|
|
1492
|
+
previous?: string | null;
|
|
1493
|
+
results?: Array<PaymentProcessorWritable>;
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
export type PaginatedPaymentProcessorListResponseWritable = {
|
|
1497
|
+
status?: string;
|
|
1498
|
+
data?: PaginatedPaymentProcessorListWritable;
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
export type PaginatedPaymentProcessorQuoteListWritable = {
|
|
1502
|
+
count?: number;
|
|
1503
|
+
next?: string | null;
|
|
1504
|
+
previous?: string | null;
|
|
1505
|
+
results?: Array<PaymentProcessorQuoteWritable>;
|
|
1506
|
+
};
|
|
1507
|
+
|
|
1508
|
+
export type PaginatedPaymentProcessorQuoteListResponseWritable = {
|
|
1509
|
+
status?: string;
|
|
1510
|
+
data?: PaginatedPaymentProcessorQuoteListWritable;
|
|
1511
|
+
};
|
|
1512
|
+
|
|
1513
|
+
export type PaginatedRefundListWritable = {
|
|
1514
|
+
count?: number;
|
|
1515
|
+
next?: string | null;
|
|
1516
|
+
previous?: string | null;
|
|
1517
|
+
results?: Array<RefundWritable>;
|
|
1518
|
+
};
|
|
1519
|
+
|
|
1520
|
+
export type PaginatedRefundListResponseWritable = {
|
|
1521
|
+
status?: string;
|
|
1522
|
+
data?: PaginatedRefundListWritable;
|
|
1523
|
+
};
|
|
1524
|
+
|
|
1525
|
+
export type PaginatedRequestListWritable = {
|
|
1526
|
+
count?: number;
|
|
1527
|
+
next?: string | null;
|
|
1528
|
+
previous?: string | null;
|
|
1529
|
+
results?: Array<RequestWritable>;
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
export type PaginatedRequestListResponseWritable = {
|
|
1533
|
+
status?: string;
|
|
1534
|
+
data?: PaginatedRequestListWritable;
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1537
|
+
export type PaginatedRequestLogsListWritable = {
|
|
1538
|
+
count?: number;
|
|
1539
|
+
next?: string | null;
|
|
1540
|
+
previous?: string | null;
|
|
1541
|
+
results?: Array<unknown>;
|
|
1542
|
+
};
|
|
1543
|
+
|
|
1544
|
+
export type PaginatedRequestLogsListResponseWritable = {
|
|
1545
|
+
status?: string;
|
|
1546
|
+
data?: PaginatedRequestLogsListWritable;
|
|
1547
|
+
};
|
|
1548
|
+
|
|
1549
|
+
export type PaginatedRequestTransactionListWritable = {
|
|
1550
|
+
count?: number;
|
|
1551
|
+
next?: string | null;
|
|
1552
|
+
previous?: string | null;
|
|
1553
|
+
results?: Array<RequestTransactionWritable>;
|
|
1554
|
+
};
|
|
1555
|
+
|
|
1556
|
+
export type PaginatedRequestTransactionListResponseWritable = {
|
|
1557
|
+
status?: string;
|
|
1558
|
+
data?: PaginatedRequestTransactionListWritable;
|
|
1559
|
+
};
|
|
1560
|
+
|
|
1561
|
+
export type PaginatedUserCompanyPaymentProcessorListWritable = {
|
|
1562
|
+
count?: number;
|
|
1563
|
+
next?: string | null;
|
|
1564
|
+
previous?: string | null;
|
|
1565
|
+
results?: Array<UserCompanyPaymentProcessorWritable>;
|
|
1566
|
+
};
|
|
1567
|
+
|
|
1568
|
+
export type PaginatedUserCompanyPaymentProcessorListResponseWritable = {
|
|
1569
|
+
status?: string;
|
|
1570
|
+
data?: PaginatedUserCompanyPaymentProcessorListWritable;
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
export type PaginatedWebhookListWritable = {
|
|
1574
|
+
count?: number;
|
|
1575
|
+
next?: string | null;
|
|
1576
|
+
previous?: string | null;
|
|
1577
|
+
results?: Array<WebhookWritable>;
|
|
1578
|
+
};
|
|
1579
|
+
|
|
1580
|
+
export type PaginatedWebhookListResponseWritable = {
|
|
1581
|
+
status?: string;
|
|
1582
|
+
data?: PaginatedWebhookListWritable;
|
|
1583
|
+
};
|
|
1584
|
+
|
|
1585
|
+
/**
|
|
1586
|
+
* Serialize company, update and delete.
|
|
1587
|
+
*/
|
|
1588
|
+
export type PatchedAdminCompanyWritable = {
|
|
1589
|
+
name?: string;
|
|
1590
|
+
reminder_intervals?: Array<number>;
|
|
1591
|
+
};
|
|
1592
|
+
|
|
1593
|
+
/**
|
|
1594
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
1595
|
+
*/
|
|
1596
|
+
export type PatchedAdminCompanyPaymentProcessorWritable = {
|
|
1597
|
+
active?: boolean;
|
|
1598
|
+
company_base_endpoint?: string;
|
|
1599
|
+
company_external_api_key?: string;
|
|
1600
|
+
payment_processor?: string;
|
|
1601
|
+
currencies?: Array<string>;
|
|
1602
|
+
generate_accounts?: boolean;
|
|
1603
|
+
};
|
|
1604
|
+
|
|
1605
|
+
/**
|
|
1606
|
+
* A ModelSerializer that takes additional arguments for
|
|
1607
|
+
* "fields", "omit" and "expand" in order to
|
|
1608
|
+
* control which fields are displayed, and whether to replace simple
|
|
1609
|
+
* values with complex, nested serializations
|
|
1610
|
+
*/
|
|
1611
|
+
export type PatchedAdminPaymentProcessorWritable = {
|
|
1612
|
+
unique_string_name?: string;
|
|
1613
|
+
logo?: string | null;
|
|
1614
|
+
name?: string;
|
|
1615
|
+
/**
|
|
1616
|
+
* * `wallet` - Wallet
|
|
1617
|
+
* * `crypto` - Crypto
|
|
1618
|
+
* * `credit_card` - Credit Card
|
|
1619
|
+
* * `redirect` - Redirect
|
|
1620
|
+
* * `bank` - Bank
|
|
1621
|
+
* * `custom` - Custom
|
|
1622
|
+
*/
|
|
1623
|
+
type?: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
1624
|
+
description?: string;
|
|
1625
|
+
selector_description?: string | null;
|
|
1626
|
+
pending_processing_description?: string | null;
|
|
1627
|
+
processing_description?: string | null;
|
|
1628
|
+
currencies?: Array<string | null> | null;
|
|
1629
|
+
longest_expiration_time?: number;
|
|
1630
|
+
rehive_transaction_identifier?: {
|
|
1631
|
+
[key: string]: unknown;
|
|
1632
|
+
} | null;
|
|
1633
|
+
rehive_subtype?: string | null;
|
|
1634
|
+
generate_accounts?: boolean;
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
/**
|
|
1638
|
+
* A ModelSerializer that takes additional arguments for
|
|
1639
|
+
* "fields", "omit" and "expand" in order to
|
|
1640
|
+
* control which fields are displayed, and whether to replace simple
|
|
1641
|
+
* values with complex, nested serializations
|
|
1642
|
+
*/
|
|
1643
|
+
export type PatchedAdminRequestCreateUpdateWritable = {
|
|
1644
|
+
user?: string;
|
|
1645
|
+
payer_user?: UserWritable;
|
|
1646
|
+
request_reference?: string | null;
|
|
1647
|
+
request_currency?: string;
|
|
1648
|
+
request_amount?: number | null;
|
|
1649
|
+
primary_payment_processor?: string;
|
|
1650
|
+
description?: string | null;
|
|
1651
|
+
metadata?: {
|
|
1652
|
+
[key: string]: unknown;
|
|
1653
|
+
} | null;
|
|
1654
|
+
/**
|
|
1655
|
+
* * `draft` - Draft
|
|
1656
|
+
* * `initiated` - Initiated
|
|
1657
|
+
* * `processing` - Processing
|
|
1658
|
+
* * `received` - Received
|
|
1659
|
+
* * `paid` - Paid
|
|
1660
|
+
* * `complete` - Complete
|
|
1661
|
+
* * `failed` - Failed
|
|
1662
|
+
* * `overpaid` - Overpaid
|
|
1663
|
+
* * `cancelled` - Cancelled
|
|
1664
|
+
* * `expired` - Expired
|
|
1665
|
+
* * `late` - Late
|
|
1666
|
+
* * `underpaid` - Underpaid
|
|
1667
|
+
*/
|
|
1668
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1669
|
+
expiration_date?: number;
|
|
1670
|
+
due_date?: number;
|
|
1671
|
+
send_request_on?: number;
|
|
1672
|
+
payer_email?: string;
|
|
1673
|
+
account?: string;
|
|
1674
|
+
send_reminders?: boolean;
|
|
1675
|
+
reminder_intervals?: Array<number>;
|
|
1676
|
+
note?: string | null;
|
|
1677
|
+
return_url?: string | null;
|
|
1678
|
+
payer_mobile_number?: string;
|
|
1679
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
1680
|
+
};
|
|
1681
|
+
|
|
1682
|
+
/**
|
|
1683
|
+
* A ModelSerializer that takes additional arguments for
|
|
1684
|
+
* "fields", "omit" and "expand" in order to
|
|
1685
|
+
* control which fields are displayed, and whether to replace simple
|
|
1686
|
+
* values with complex, nested serializations
|
|
1687
|
+
*/
|
|
1688
|
+
export type PatchedAdminUserWritable = {
|
|
1689
|
+
base_currency?: string | null;
|
|
1690
|
+
rate_padding?: string | null;
|
|
1691
|
+
};
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* A ModelSerializer that takes additional arguments for
|
|
1695
|
+
* "fields", "omit" and "expand" in order to
|
|
1696
|
+
* control which fields are displayed, and whether to replace simple
|
|
1697
|
+
* values with complex, nested serializations
|
|
1698
|
+
*/
|
|
1699
|
+
export type PatchedAdminWebhookWritable = {
|
|
1700
|
+
secret?: string | null;
|
|
1701
|
+
url?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
1704
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
1705
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
1706
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
1707
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
1708
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
1709
|
+
*/
|
|
1710
|
+
event?: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
1711
|
+
};
|
|
1712
|
+
|
|
1713
|
+
/**
|
|
1714
|
+
* Serialize company, update and delete.
|
|
1715
|
+
*/
|
|
1716
|
+
export type PatchedCompanyConfigurationWritable = {
|
|
1717
|
+
base_redirect_url?: string | null;
|
|
1718
|
+
reminder_default?: boolean;
|
|
1719
|
+
request_param_config?: string | null;
|
|
1720
|
+
};
|
|
1721
|
+
|
|
1722
|
+
/**
|
|
1723
|
+
* A ModelSerializer that takes additional arguments for
|
|
1724
|
+
* "fields", "omit" and "expand" in order to
|
|
1725
|
+
* control which fields are displayed, and whether to replace simple
|
|
1726
|
+
* values with complex, nested serializations
|
|
1727
|
+
*/
|
|
1728
|
+
export type PatchedPublicRequestUpdateWritable = {
|
|
1729
|
+
user?: UserWritable;
|
|
1730
|
+
primary_payment_processor?: string;
|
|
1731
|
+
/**
|
|
1732
|
+
* * `draft` - Draft
|
|
1733
|
+
* * `initiated` - Initiated
|
|
1734
|
+
* * `processing` - Processing
|
|
1735
|
+
* * `received` - Received
|
|
1736
|
+
* * `paid` - Paid
|
|
1737
|
+
* * `complete` - Complete
|
|
1738
|
+
* * `failed` - Failed
|
|
1739
|
+
* * `overpaid` - Overpaid
|
|
1740
|
+
* * `cancelled` - Cancelled
|
|
1741
|
+
* * `expired` - Expired
|
|
1742
|
+
* * `late` - Late
|
|
1743
|
+
* * `underpaid` - Underpaid
|
|
1744
|
+
*/
|
|
1745
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1746
|
+
payer_email?: string;
|
|
1747
|
+
payer_mobile_number?: string;
|
|
1748
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
1749
|
+
payment_processor_currency?: string;
|
|
1750
|
+
available_payment_processors?: Array<AvailablePaymentProcessorWritable>;
|
|
1751
|
+
quote_amount?: string;
|
|
1752
|
+
note?: string | null;
|
|
1753
|
+
};
|
|
1754
|
+
|
|
1755
|
+
/**
|
|
1756
|
+
* A ModelSerializer that takes additional arguments for
|
|
1757
|
+
* "fields", "omit" and "expand" in order to
|
|
1758
|
+
* control which fields are displayed, and whether to replace simple
|
|
1759
|
+
* values with complex, nested serializations
|
|
1760
|
+
*/
|
|
1761
|
+
export type PatchedRequestCreateUpdateWritable = {
|
|
1762
|
+
user?: UserWritable;
|
|
1763
|
+
payer_user?: UserWritable;
|
|
1764
|
+
request_reference?: string | null;
|
|
1765
|
+
request_currency?: string;
|
|
1766
|
+
request_amount?: number | null;
|
|
1767
|
+
primary_payment_processor?: string;
|
|
1768
|
+
description?: string | null;
|
|
1769
|
+
metadata?: {
|
|
1770
|
+
[key: string]: unknown;
|
|
1771
|
+
} | null;
|
|
1772
|
+
/**
|
|
1773
|
+
* * `draft` - Draft
|
|
1774
|
+
* * `initiated` - Initiated
|
|
1775
|
+
* * `processing` - Processing
|
|
1776
|
+
* * `received` - Received
|
|
1777
|
+
* * `paid` - Paid
|
|
1778
|
+
* * `complete` - Complete
|
|
1779
|
+
* * `failed` - Failed
|
|
1780
|
+
* * `overpaid` - Overpaid
|
|
1781
|
+
* * `cancelled` - Cancelled
|
|
1782
|
+
* * `expired` - Expired
|
|
1783
|
+
* * `late` - Late
|
|
1784
|
+
* * `underpaid` - Underpaid
|
|
1785
|
+
*/
|
|
1786
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1787
|
+
expiration_date?: number;
|
|
1788
|
+
due_date?: number;
|
|
1789
|
+
send_request_on?: number;
|
|
1790
|
+
account?: string;
|
|
1791
|
+
send_reminders?: boolean;
|
|
1792
|
+
reminder_intervals?: Array<number>;
|
|
1793
|
+
note?: string | null;
|
|
1794
|
+
payer_email?: string;
|
|
1795
|
+
return_url?: string | null;
|
|
1796
|
+
payer_mobile_number?: string;
|
|
1797
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
1798
|
+
};
|
|
1799
|
+
|
|
1800
|
+
/**
|
|
1801
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
1802
|
+
*/
|
|
1803
|
+
export type PatchedUserCrudCompanyPaymentProcessorWritable = {
|
|
1804
|
+
active?: boolean;
|
|
1805
|
+
currencies?: Array<string>;
|
|
1806
|
+
};
|
|
1807
|
+
|
|
1808
|
+
/**
|
|
1809
|
+
* A ModelSerializer that takes additional arguments for
|
|
1810
|
+
* "fields", "omit" and "expand" in order to
|
|
1811
|
+
* control which fields are displayed, and whether to replace simple
|
|
1812
|
+
* values with complex, nested serializations
|
|
1813
|
+
*/
|
|
1814
|
+
export type PatchedWebhookWritable = {
|
|
1815
|
+
secret?: string | null;
|
|
1816
|
+
url?: string;
|
|
1817
|
+
/**
|
|
1818
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
1819
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
1820
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
1821
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
1822
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
1823
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
1824
|
+
*/
|
|
1825
|
+
event?: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
1826
|
+
};
|
|
1827
|
+
|
|
1828
|
+
/**
|
|
1829
|
+
* A ModelSerializer that takes additional arguments for
|
|
1830
|
+
* "fields", "omit" and "expand" in order to
|
|
1831
|
+
* control which fields are displayed, and whether to replace simple
|
|
1832
|
+
* values with complex, nested serializations
|
|
1833
|
+
*/
|
|
1834
|
+
export type PaymentProcessorWritable = {
|
|
1835
|
+
/**
|
|
1836
|
+
* * `wallet` - Wallet
|
|
1837
|
+
* * `crypto` - Crypto
|
|
1838
|
+
* * `credit_card` - Credit Card
|
|
1839
|
+
* * `redirect` - Redirect
|
|
1840
|
+
* * `bank` - Bank
|
|
1841
|
+
* * `custom` - Custom
|
|
1842
|
+
*/
|
|
1843
|
+
type: 'wallet' | 'crypto' | 'credit_card' | 'redirect' | 'bank' | 'custom';
|
|
1844
|
+
weight: number;
|
|
1845
|
+
};
|
|
1846
|
+
|
|
1847
|
+
/**
|
|
1848
|
+
* A ModelSerializer that takes additional arguments for
|
|
1849
|
+
* "fields", "omit" and "expand" in order to
|
|
1850
|
+
* control which fields are displayed, and whether to replace simple
|
|
1851
|
+
* values with complex, nested serializations
|
|
1852
|
+
*/
|
|
1853
|
+
export type PaymentProcessorQuoteWritable = {
|
|
1854
|
+
payment_processor?: PaymentProcessorWritable;
|
|
1855
|
+
expiration_date?: number;
|
|
1856
|
+
/**
|
|
1857
|
+
* * `pending` - Pending
|
|
1858
|
+
* * `processing` - Processing
|
|
1859
|
+
* * `received` - Received
|
|
1860
|
+
* * `overpaid` - Overpaid
|
|
1861
|
+
* * `paid` - Paid
|
|
1862
|
+
* * `failed` - Failed
|
|
1863
|
+
* * `expired` - Expired
|
|
1864
|
+
* * `late` - Late
|
|
1865
|
+
* * `underpaid` - Underpaid
|
|
1866
|
+
*/
|
|
1867
|
+
status: 'pending' | 'processing' | 'received' | 'overpaid' | 'paid' | 'failed' | 'expired' | 'late' | 'underpaid';
|
|
1868
|
+
conversion_quote?: ConversionQuoteWritable;
|
|
1869
|
+
created?: number;
|
|
1870
|
+
updated?: number;
|
|
1871
|
+
};
|
|
1872
|
+
|
|
1873
|
+
export type PaymentProcessorQuoteResponseWritable = {
|
|
1874
|
+
status?: string;
|
|
1875
|
+
data?: PaymentProcessorQuoteWritable;
|
|
1876
|
+
};
|
|
1877
|
+
|
|
1878
|
+
export type PaymentProcessorResponseWritable = {
|
|
1879
|
+
status?: string;
|
|
1880
|
+
data?: PaymentProcessorWritable;
|
|
1881
|
+
};
|
|
1882
|
+
|
|
1883
|
+
/**
|
|
1884
|
+
* A ModelSerializer that takes additional arguments for
|
|
1885
|
+
* "fields", "omit" and "expand" in order to
|
|
1886
|
+
* control which fields are displayed, and whether to replace simple
|
|
1887
|
+
* values with complex, nested serializations
|
|
1888
|
+
*/
|
|
1889
|
+
export type PublicRequestWritable = {
|
|
1890
|
+
user?: UserWritable;
|
|
1891
|
+
payer_user?: UserWritable;
|
|
1892
|
+
primary_payment_processor?: PaymentProcessorWritable;
|
|
1893
|
+
/**
|
|
1894
|
+
* * `draft` - Draft
|
|
1895
|
+
* * `initiated` - Initiated
|
|
1896
|
+
* * `processing` - Processing
|
|
1897
|
+
* * `received` - Received
|
|
1898
|
+
* * `paid` - Paid
|
|
1899
|
+
* * `complete` - Complete
|
|
1900
|
+
* * `failed` - Failed
|
|
1901
|
+
* * `overpaid` - Overpaid
|
|
1902
|
+
* * `cancelled` - Cancelled
|
|
1903
|
+
* * `expired` - Expired
|
|
1904
|
+
* * `late` - Late
|
|
1905
|
+
* * `underpaid` - Underpaid
|
|
1906
|
+
*/
|
|
1907
|
+
status: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1908
|
+
payer_email?: string;
|
|
1909
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
1910
|
+
available_payment_processors?: Array<AvailablePaymentProcessorWritable>;
|
|
1911
|
+
expiration_date?: number;
|
|
1912
|
+
note?: string | null;
|
|
1913
|
+
due_date?: number;
|
|
1914
|
+
created?: number;
|
|
1915
|
+
updated?: number;
|
|
1916
|
+
};
|
|
1917
|
+
|
|
1918
|
+
export type PublicRequestResponseWritable = {
|
|
1919
|
+
status?: string;
|
|
1920
|
+
data?: PublicRequestWritable;
|
|
1921
|
+
};
|
|
1922
|
+
|
|
1923
|
+
/**
|
|
1924
|
+
* A ModelSerializer that takes additional arguments for
|
|
1925
|
+
* "fields", "omit" and "expand" in order to
|
|
1926
|
+
* control which fields are displayed, and whether to replace simple
|
|
1927
|
+
* values with complex, nested serializations
|
|
1928
|
+
*/
|
|
1929
|
+
export type RefundWritable = {
|
|
1930
|
+
amount?: number;
|
|
1931
|
+
currency: Currency;
|
|
1932
|
+
/**
|
|
1933
|
+
* * `native` - Native
|
|
1934
|
+
*/
|
|
1935
|
+
type?: 'native';
|
|
1936
|
+
reason?: string | null;
|
|
1937
|
+
created?: number;
|
|
1938
|
+
updated?: number;
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1941
|
+
/**
|
|
1942
|
+
* A ModelSerializer that takes additional arguments for
|
|
1943
|
+
* "fields", "omit" and "expand" in order to
|
|
1944
|
+
* control which fields are displayed, and whether to replace simple
|
|
1945
|
+
* values with complex, nested serializations
|
|
1946
|
+
*/
|
|
1947
|
+
export type RequestWritable = {
|
|
1948
|
+
user?: UserWritable;
|
|
1949
|
+
payer_user?: UserWritable;
|
|
1950
|
+
request_reference?: string | null;
|
|
1951
|
+
request_amount?: number | null;
|
|
1952
|
+
primary_payment_processor?: PaymentProcessorWritable;
|
|
1953
|
+
description?: string | null;
|
|
1954
|
+
metadata?: {
|
|
1955
|
+
[key: string]: unknown;
|
|
1956
|
+
} | null;
|
|
1957
|
+
/**
|
|
1958
|
+
* * `draft` - Draft
|
|
1959
|
+
* * `initiated` - Initiated
|
|
1960
|
+
* * `processing` - Processing
|
|
1961
|
+
* * `received` - Received
|
|
1962
|
+
* * `paid` - Paid
|
|
1963
|
+
* * `complete` - Complete
|
|
1964
|
+
* * `failed` - Failed
|
|
1965
|
+
* * `overpaid` - Overpaid
|
|
1966
|
+
* * `cancelled` - Cancelled
|
|
1967
|
+
* * `expired` - Expired
|
|
1968
|
+
* * `late` - Late
|
|
1969
|
+
* * `underpaid` - Underpaid
|
|
1970
|
+
*/
|
|
1971
|
+
status: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
1972
|
+
expiration_date?: number;
|
|
1973
|
+
due_date?: number;
|
|
1974
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
1975
|
+
refunds?: Array<RefundWritable>;
|
|
1976
|
+
return_url?: string | null;
|
|
1977
|
+
send_request_on?: number;
|
|
1978
|
+
account: string;
|
|
1979
|
+
send_reminders?: boolean;
|
|
1980
|
+
reminder_intervals?: Array<number>;
|
|
1981
|
+
note?: string | null;
|
|
1982
|
+
created?: number;
|
|
1983
|
+
updated?: number;
|
|
1984
|
+
};
|
|
1985
|
+
|
|
1986
|
+
/**
|
|
1987
|
+
* A ModelSerializer that takes additional arguments for
|
|
1988
|
+
* "fields", "omit" and "expand" in order to
|
|
1989
|
+
* control which fields are displayed, and whether to replace simple
|
|
1990
|
+
* values with complex, nested serializations
|
|
1991
|
+
*/
|
|
1992
|
+
export type RequestCreateUpdateWritable = {
|
|
1993
|
+
user?: UserWritable;
|
|
1994
|
+
payer_user?: UserWritable;
|
|
1995
|
+
request_reference?: string | null;
|
|
1996
|
+
request_currency: string;
|
|
1997
|
+
request_amount?: number | null;
|
|
1998
|
+
primary_payment_processor?: string;
|
|
1999
|
+
description?: string | null;
|
|
2000
|
+
metadata?: {
|
|
2001
|
+
[key: string]: unknown;
|
|
2002
|
+
} | null;
|
|
2003
|
+
/**
|
|
2004
|
+
* * `draft` - Draft
|
|
2005
|
+
* * `initiated` - Initiated
|
|
2006
|
+
* * `processing` - Processing
|
|
2007
|
+
* * `received` - Received
|
|
2008
|
+
* * `paid` - Paid
|
|
2009
|
+
* * `complete` - Complete
|
|
2010
|
+
* * `failed` - Failed
|
|
2011
|
+
* * `overpaid` - Overpaid
|
|
2012
|
+
* * `cancelled` - Cancelled
|
|
2013
|
+
* * `expired` - Expired
|
|
2014
|
+
* * `late` - Late
|
|
2015
|
+
* * `underpaid` - Underpaid
|
|
2016
|
+
*/
|
|
2017
|
+
status?: 'draft' | 'initiated' | 'processing' | 'received' | 'paid' | 'complete' | 'failed' | 'overpaid' | 'cancelled' | 'expired' | 'late' | 'underpaid';
|
|
2018
|
+
expiration_date?: number;
|
|
2019
|
+
due_date?: number;
|
|
2020
|
+
send_request_on?: number;
|
|
2021
|
+
account: string;
|
|
2022
|
+
send_reminders?: boolean;
|
|
2023
|
+
reminder_intervals?: Array<number>;
|
|
2024
|
+
note?: string | null;
|
|
2025
|
+
payer_email?: string;
|
|
2026
|
+
return_url?: string | null;
|
|
2027
|
+
payer_mobile_number?: string;
|
|
2028
|
+
payment_processor_quotes?: Array<PaymentProcessorQuoteWritable>;
|
|
2029
|
+
};
|
|
2030
|
+
|
|
2031
|
+
export type RequestCreateUpdateResponseWritable = {
|
|
2032
|
+
status?: string;
|
|
2033
|
+
data?: RequestCreateUpdateWritable;
|
|
2034
|
+
};
|
|
2035
|
+
|
|
2036
|
+
export type RequestResponseWritable = {
|
|
2037
|
+
status?: string;
|
|
2038
|
+
data?: RequestWritable;
|
|
2039
|
+
};
|
|
2040
|
+
|
|
2041
|
+
/**
|
|
2042
|
+
* A ModelSerializer that takes additional arguments for
|
|
2043
|
+
* "fields", "omit" and "expand" in order to
|
|
2044
|
+
* control which fields are displayed, and whether to replace simple
|
|
2045
|
+
* values with complex, nested serializations
|
|
2046
|
+
*/
|
|
2047
|
+
export type RequestTransactionWritable = {
|
|
2048
|
+
/**
|
|
2049
|
+
* * `pending` - Pending
|
|
2050
|
+
* * `pending_settled` - Pending Settled
|
|
2051
|
+
* * `settled` - Settled
|
|
2052
|
+
* * `complete` - Complete
|
|
2053
|
+
* * `failed` - Failed
|
|
2054
|
+
*/
|
|
2055
|
+
status: 'pending' | 'pending_settled' | 'settled' | 'complete' | 'failed';
|
|
2056
|
+
};
|
|
2057
|
+
|
|
2058
|
+
/**
|
|
2059
|
+
* A ModelSerializer that takes additional arguments for
|
|
2060
|
+
* "fields", "omit" and "expand" in order to
|
|
2061
|
+
* control which fields are displayed, and whether to replace simple
|
|
2062
|
+
* values with complex, nested serializations
|
|
2063
|
+
*/
|
|
2064
|
+
export type UserWritable = {
|
|
2065
|
+
base_currency?: string | null;
|
|
2066
|
+
};
|
|
2067
|
+
|
|
2068
|
+
/**
|
|
2069
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
2070
|
+
*/
|
|
2071
|
+
export type UserCrudCompanyPaymentProcessorWritable = {
|
|
2072
|
+
active?: boolean;
|
|
2073
|
+
currencies?: Array<string>;
|
|
2074
|
+
};
|
|
2075
|
+
|
|
2076
|
+
export type UserCrudCompanyPaymentProcessorResponseWritable = {
|
|
2077
|
+
status?: string;
|
|
2078
|
+
data?: UserCrudCompanyPaymentProcessorWritable;
|
|
2079
|
+
};
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* Serialize Company Payment Processors, view, create and update.
|
|
2083
|
+
*/
|
|
2084
|
+
export type UserCompanyPaymentProcessorWritable = {
|
|
2085
|
+
company_payment_processor: CompanyPaymentProcessorWritable;
|
|
2086
|
+
};
|
|
2087
|
+
|
|
2088
|
+
export type UserCompanyPaymentProcessorResponseWritable = {
|
|
2089
|
+
status?: string;
|
|
2090
|
+
data?: UserCompanyPaymentProcessorWritable;
|
|
2091
|
+
};
|
|
2092
|
+
|
|
2093
|
+
/**
|
|
2094
|
+
* A ModelSerializer that takes additional arguments for
|
|
2095
|
+
* "fields", "omit" and "expand" in order to
|
|
2096
|
+
* control which fields are displayed, and whether to replace simple
|
|
2097
|
+
* values with complex, nested serializations
|
|
2098
|
+
*/
|
|
2099
|
+
export type WebhookWritable = {
|
|
2100
|
+
secret?: string | null;
|
|
2101
|
+
url: string;
|
|
2102
|
+
/**
|
|
2103
|
+
* * `service_payment_requests.request.create` - service_payment_requests.request.create
|
|
2104
|
+
* * `service_payment_requests.request.update` - service_payment_requests.request.update
|
|
2105
|
+
* * `service_payment_requests.quote.create` - Payment Requests Quote Create
|
|
2106
|
+
* * `service_payment_requests.otp.create` - service_payment_requests.otp.create
|
|
2107
|
+
* * `service_payment_requests.payer_reminder` - Payment Requests Payer Reminder
|
|
2108
|
+
* * `service_payment_requests.payer_requested` - Payment Requests Request Payer Requested
|
|
2109
|
+
*/
|
|
2110
|
+
event: 'service_payment_requests.request.create' | 'service_payment_requests.request.update' | 'service_payment_requests.quote.create' | 'service_payment_requests.otp.create' | 'service_payment_requests.payer_reminder' | 'service_payment_requests.payer_requested';
|
|
2111
|
+
};
|
|
2112
|
+
|
|
2113
|
+
export type WebhookResponseWritable = {
|
|
2114
|
+
status?: string;
|
|
2115
|
+
data?: WebhookWritable;
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
export type ActivateCreateData = {
|
|
2119
|
+
body: Activate;
|
|
2120
|
+
path?: never;
|
|
2121
|
+
query?: never;
|
|
2122
|
+
url: '/activate/';
|
|
2123
|
+
};
|
|
2124
|
+
|
|
2125
|
+
export type ActivateCreateResponses = {
|
|
2126
|
+
200: ActionResponse;
|
|
2127
|
+
};
|
|
2128
|
+
|
|
2129
|
+
export type ActivateCreateResponse = ActivateCreateResponses[keyof ActivateCreateResponses];
|
|
2130
|
+
|
|
2131
|
+
export type AdminCompanyRetrieveData = {
|
|
2132
|
+
body?: never;
|
|
2133
|
+
path?: never;
|
|
2134
|
+
query?: never;
|
|
2135
|
+
url: '/admin/company/';
|
|
2136
|
+
};
|
|
2137
|
+
|
|
2138
|
+
export type AdminCompanyRetrieveResponses = {
|
|
2139
|
+
200: AdminCompanyResponse;
|
|
2140
|
+
};
|
|
2141
|
+
|
|
2142
|
+
export type AdminCompanyRetrieveResponse = AdminCompanyRetrieveResponses[keyof AdminCompanyRetrieveResponses];
|
|
2143
|
+
|
|
2144
|
+
export type AdminCompanyPartialUpdateData = {
|
|
2145
|
+
body?: PatchedAdminCompanyWritable;
|
|
2146
|
+
path?: never;
|
|
2147
|
+
query?: never;
|
|
2148
|
+
url: '/admin/company/';
|
|
2149
|
+
};
|
|
2150
|
+
|
|
2151
|
+
export type AdminCompanyPartialUpdateResponses = {
|
|
2152
|
+
200: AdminCompanyResponse;
|
|
2153
|
+
};
|
|
2154
|
+
|
|
2155
|
+
export type AdminCompanyPartialUpdateResponse = AdminCompanyPartialUpdateResponses[keyof AdminCompanyPartialUpdateResponses];
|
|
2156
|
+
|
|
2157
|
+
export type AdminCompanyUpdateData = {
|
|
2158
|
+
body: AdminCompanyWritable;
|
|
2159
|
+
path?: never;
|
|
2160
|
+
query?: never;
|
|
2161
|
+
url: '/admin/company/';
|
|
2162
|
+
};
|
|
2163
|
+
|
|
2164
|
+
export type AdminCompanyUpdateResponses = {
|
|
2165
|
+
200: AdminCompanyResponse;
|
|
2166
|
+
};
|
|
2167
|
+
|
|
2168
|
+
export type AdminCompanyUpdateResponse = AdminCompanyUpdateResponses[keyof AdminCompanyUpdateResponses];
|
|
2169
|
+
|
|
2170
|
+
export type AdminCompanyConfigurationRetrieveData = {
|
|
2171
|
+
body?: never;
|
|
2172
|
+
path?: never;
|
|
2173
|
+
query?: never;
|
|
2174
|
+
url: '/admin/company/configuration/';
|
|
2175
|
+
};
|
|
2176
|
+
|
|
2177
|
+
export type AdminCompanyConfigurationRetrieveResponses = {
|
|
2178
|
+
200: CompanyConfigurationResponse;
|
|
2179
|
+
};
|
|
2180
|
+
|
|
2181
|
+
export type AdminCompanyConfigurationRetrieveResponse = AdminCompanyConfigurationRetrieveResponses[keyof AdminCompanyConfigurationRetrieveResponses];
|
|
2182
|
+
|
|
2183
|
+
export type AdminCompanyConfigurationPartialUpdateData = {
|
|
2184
|
+
body?: PatchedCompanyConfigurationWritable;
|
|
2185
|
+
path?: never;
|
|
2186
|
+
query?: never;
|
|
2187
|
+
url: '/admin/company/configuration/';
|
|
2188
|
+
};
|
|
2189
|
+
|
|
2190
|
+
export type AdminCompanyConfigurationPartialUpdateResponses = {
|
|
2191
|
+
200: CompanyConfigurationResponse;
|
|
2192
|
+
};
|
|
2193
|
+
|
|
2194
|
+
export type AdminCompanyConfigurationPartialUpdateResponse = AdminCompanyConfigurationPartialUpdateResponses[keyof AdminCompanyConfigurationPartialUpdateResponses];
|
|
2195
|
+
|
|
2196
|
+
export type AdminCompanyConfigurationUpdateData = {
|
|
2197
|
+
body?: CompanyConfigurationWritable;
|
|
2198
|
+
path?: never;
|
|
2199
|
+
query?: never;
|
|
2200
|
+
url: '/admin/company/configuration/';
|
|
2201
|
+
};
|
|
2202
|
+
|
|
2203
|
+
export type AdminCompanyConfigurationUpdateResponses = {
|
|
2204
|
+
200: CompanyConfigurationResponse;
|
|
2205
|
+
};
|
|
2206
|
+
|
|
2207
|
+
export type AdminCompanyConfigurationUpdateResponse = AdminCompanyConfigurationUpdateResponses[keyof AdminCompanyConfigurationUpdateResponses];
|
|
2208
|
+
|
|
2209
|
+
export type AdminCompanyPaymentProcessorsListData = {
|
|
2210
|
+
body?: never;
|
|
2211
|
+
path?: never;
|
|
2212
|
+
query?: {
|
|
2213
|
+
created?: string;
|
|
2214
|
+
created__gt?: string;
|
|
2215
|
+
created__gte?: string;
|
|
2216
|
+
created__lt?: string;
|
|
2217
|
+
created__lte?: string;
|
|
2218
|
+
/**
|
|
2219
|
+
* A page number within the paginated result set.
|
|
2220
|
+
*/
|
|
2221
|
+
page?: number;
|
|
2222
|
+
/**
|
|
2223
|
+
* Number of results to return per page.
|
|
2224
|
+
*/
|
|
2225
|
+
page_size?: number;
|
|
2226
|
+
unique_string_name?: string;
|
|
2227
|
+
};
|
|
2228
|
+
url: '/admin/company_payment_processors/';
|
|
2229
|
+
};
|
|
2230
|
+
|
|
2231
|
+
export type AdminCompanyPaymentProcessorsListResponses = {
|
|
2232
|
+
200: PaginatedCompanyPaymentProcessorListResponse;
|
|
2233
|
+
};
|
|
2234
|
+
|
|
2235
|
+
export type AdminCompanyPaymentProcessorsListResponse = AdminCompanyPaymentProcessorsListResponses[keyof AdminCompanyPaymentProcessorsListResponses];
|
|
2236
|
+
|
|
2237
|
+
export type AdminCompanyPaymentProcessorsCreateData = {
|
|
2238
|
+
body: AdminCompanyPaymentProcessorWritable;
|
|
2239
|
+
path?: never;
|
|
2240
|
+
query?: never;
|
|
2241
|
+
url: '/admin/company_payment_processors/';
|
|
2242
|
+
};
|
|
2243
|
+
|
|
2244
|
+
export type AdminCompanyPaymentProcessorsCreateResponses = {
|
|
2245
|
+
201: CompanyPaymentProcessorResponse;
|
|
2246
|
+
};
|
|
2247
|
+
|
|
2248
|
+
export type AdminCompanyPaymentProcessorsCreateResponse = AdminCompanyPaymentProcessorsCreateResponses[keyof AdminCompanyPaymentProcessorsCreateResponses];
|
|
2249
|
+
|
|
2250
|
+
export type AdminCompanyPaymentProcessorsDestroyData = {
|
|
2251
|
+
body?: never;
|
|
2252
|
+
path: {
|
|
2253
|
+
identifier: string;
|
|
2254
|
+
};
|
|
2255
|
+
query?: never;
|
|
2256
|
+
url: '/admin/company_payment_processors/{identifier}/';
|
|
2257
|
+
};
|
|
2258
|
+
|
|
2259
|
+
export type AdminCompanyPaymentProcessorsDestroyResponses = {
|
|
2260
|
+
200: AdminCompanyPaymentProcessorResponse;
|
|
2261
|
+
};
|
|
2262
|
+
|
|
2263
|
+
export type AdminCompanyPaymentProcessorsDestroyResponse = AdminCompanyPaymentProcessorsDestroyResponses[keyof AdminCompanyPaymentProcessorsDestroyResponses];
|
|
2264
|
+
|
|
2265
|
+
export type AdminCompanyPaymentProcessorsRetrieveData = {
|
|
2266
|
+
body?: never;
|
|
2267
|
+
path: {
|
|
2268
|
+
identifier: string;
|
|
2269
|
+
};
|
|
2270
|
+
query?: never;
|
|
2271
|
+
url: '/admin/company_payment_processors/{identifier}/';
|
|
2272
|
+
};
|
|
2273
|
+
|
|
2274
|
+
export type AdminCompanyPaymentProcessorsRetrieveResponses = {
|
|
2275
|
+
200: CompanyPaymentProcessorResponse;
|
|
2276
|
+
};
|
|
2277
|
+
|
|
2278
|
+
export type AdminCompanyPaymentProcessorsRetrieveResponse = AdminCompanyPaymentProcessorsRetrieveResponses[keyof AdminCompanyPaymentProcessorsRetrieveResponses];
|
|
2279
|
+
|
|
2280
|
+
export type AdminCompanyPaymentProcessorsPartialUpdateData = {
|
|
2281
|
+
body?: PatchedAdminCompanyPaymentProcessorWritable;
|
|
2282
|
+
path: {
|
|
2283
|
+
identifier: string;
|
|
2284
|
+
};
|
|
2285
|
+
query?: never;
|
|
2286
|
+
url: '/admin/company_payment_processors/{identifier}/';
|
|
2287
|
+
};
|
|
2288
|
+
|
|
2289
|
+
export type AdminCompanyPaymentProcessorsPartialUpdateResponses = {
|
|
2290
|
+
200: AdminCompanyPaymentProcessorResponse;
|
|
2291
|
+
};
|
|
2292
|
+
|
|
2293
|
+
export type AdminCompanyPaymentProcessorsPartialUpdateResponse = AdminCompanyPaymentProcessorsPartialUpdateResponses[keyof AdminCompanyPaymentProcessorsPartialUpdateResponses];
|
|
2294
|
+
|
|
2295
|
+
export type AdminCompanyPaymentProcessorsUpdateData = {
|
|
2296
|
+
body: AdminCompanyPaymentProcessorWritable;
|
|
2297
|
+
path: {
|
|
2298
|
+
identifier: string;
|
|
2299
|
+
};
|
|
2300
|
+
query?: never;
|
|
2301
|
+
url: '/admin/company_payment_processors/{identifier}/';
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
export type AdminCompanyPaymentProcessorsUpdateResponses = {
|
|
2305
|
+
200: AdminCompanyPaymentProcessorResponse;
|
|
2306
|
+
};
|
|
2307
|
+
|
|
2308
|
+
export type AdminCompanyPaymentProcessorsUpdateResponse = AdminCompanyPaymentProcessorsUpdateResponses[keyof AdminCompanyPaymentProcessorsUpdateResponses];
|
|
2309
|
+
|
|
2310
|
+
export type AdminPaymentProcessorQuoteListData = {
|
|
2311
|
+
body?: never;
|
|
2312
|
+
path?: never;
|
|
2313
|
+
query?: {
|
|
2314
|
+
/**
|
|
2315
|
+
* A page number within the paginated result set.
|
|
2316
|
+
*/
|
|
2317
|
+
page?: number;
|
|
2318
|
+
/**
|
|
2319
|
+
* Number of results to return per page.
|
|
2320
|
+
*/
|
|
2321
|
+
page_size?: number;
|
|
2322
|
+
};
|
|
2323
|
+
url: '/admin/payment_processor_quote/';
|
|
2324
|
+
};
|
|
2325
|
+
|
|
2326
|
+
export type AdminPaymentProcessorQuoteListResponses = {
|
|
2327
|
+
200: PaginatedPaymentProcessorQuoteListResponse;
|
|
2328
|
+
};
|
|
2329
|
+
|
|
2330
|
+
export type AdminPaymentProcessorQuoteListResponse = AdminPaymentProcessorQuoteListResponses[keyof AdminPaymentProcessorQuoteListResponses];
|
|
2331
|
+
|
|
2332
|
+
export type AdminPaymentProcessorsListData = {
|
|
2333
|
+
body?: never;
|
|
2334
|
+
path?: never;
|
|
2335
|
+
query?: {
|
|
2336
|
+
/**
|
|
2337
|
+
* A page number within the paginated result set.
|
|
2338
|
+
*/
|
|
2339
|
+
page?: number;
|
|
2340
|
+
/**
|
|
2341
|
+
* Number of results to return per page.
|
|
2342
|
+
*/
|
|
2343
|
+
page_size?: number;
|
|
2344
|
+
};
|
|
2345
|
+
url: '/admin/payment_processors/';
|
|
2346
|
+
};
|
|
2347
|
+
|
|
2348
|
+
export type AdminPaymentProcessorsListResponses = {
|
|
2349
|
+
200: PaginatedPaymentProcessorListResponse;
|
|
2350
|
+
};
|
|
2351
|
+
|
|
2352
|
+
export type AdminPaymentProcessorsListResponse = AdminPaymentProcessorsListResponses[keyof AdminPaymentProcessorsListResponses];
|
|
2353
|
+
|
|
2354
|
+
export type AdminPaymentProcessorsCreateData = {
|
|
2355
|
+
body: AdminPaymentProcessorWritable;
|
|
2356
|
+
path?: never;
|
|
2357
|
+
query?: never;
|
|
2358
|
+
url: '/admin/payment_processors/';
|
|
2359
|
+
};
|
|
2360
|
+
|
|
2361
|
+
export type AdminPaymentProcessorsCreateResponses = {
|
|
2362
|
+
201: PaymentProcessorResponse;
|
|
2363
|
+
};
|
|
2364
|
+
|
|
2365
|
+
export type AdminPaymentProcessorsCreateResponse = AdminPaymentProcessorsCreateResponses[keyof AdminPaymentProcessorsCreateResponses];
|
|
2366
|
+
|
|
2367
|
+
export type AdminPaymentProcessorsDestroyData = {
|
|
2368
|
+
body?: never;
|
|
2369
|
+
path: {
|
|
2370
|
+
identifier: string;
|
|
2371
|
+
};
|
|
2372
|
+
query?: never;
|
|
2373
|
+
url: '/admin/payment_processors/{identifier}/';
|
|
2374
|
+
};
|
|
2375
|
+
|
|
2376
|
+
export type AdminPaymentProcessorsDestroyResponses = {
|
|
2377
|
+
200: AdminPaymentProcessorResponse;
|
|
2378
|
+
};
|
|
2379
|
+
|
|
2380
|
+
export type AdminPaymentProcessorsDestroyResponse = AdminPaymentProcessorsDestroyResponses[keyof AdminPaymentProcessorsDestroyResponses];
|
|
2381
|
+
|
|
2382
|
+
export type AdminPaymentProcessorsRetrieveData = {
|
|
2383
|
+
body?: never;
|
|
2384
|
+
path: {
|
|
2385
|
+
identifier: string;
|
|
2386
|
+
};
|
|
2387
|
+
query?: never;
|
|
2388
|
+
url: '/admin/payment_processors/{identifier}/';
|
|
2389
|
+
};
|
|
2390
|
+
|
|
2391
|
+
export type AdminPaymentProcessorsRetrieveResponses = {
|
|
2392
|
+
200: PaymentProcessorResponse;
|
|
2393
|
+
};
|
|
2394
|
+
|
|
2395
|
+
export type AdminPaymentProcessorsRetrieveResponse = AdminPaymentProcessorsRetrieveResponses[keyof AdminPaymentProcessorsRetrieveResponses];
|
|
2396
|
+
|
|
2397
|
+
export type AdminPaymentProcessorsPartialUpdateData = {
|
|
2398
|
+
body?: PatchedAdminPaymentProcessorWritable;
|
|
2399
|
+
path: {
|
|
2400
|
+
identifier: string;
|
|
2401
|
+
};
|
|
2402
|
+
query?: never;
|
|
2403
|
+
url: '/admin/payment_processors/{identifier}/';
|
|
2404
|
+
};
|
|
2405
|
+
|
|
2406
|
+
export type AdminPaymentProcessorsPartialUpdateResponses = {
|
|
2407
|
+
200: AdminPaymentProcessorResponse;
|
|
2408
|
+
};
|
|
2409
|
+
|
|
2410
|
+
export type AdminPaymentProcessorsPartialUpdateResponse = AdminPaymentProcessorsPartialUpdateResponses[keyof AdminPaymentProcessorsPartialUpdateResponses];
|
|
2411
|
+
|
|
2412
|
+
export type AdminPaymentProcessorsUpdateData = {
|
|
2413
|
+
body: AdminPaymentProcessorWritable;
|
|
2414
|
+
path: {
|
|
2415
|
+
identifier: string;
|
|
2416
|
+
};
|
|
2417
|
+
query?: never;
|
|
2418
|
+
url: '/admin/payment_processors/{identifier}/';
|
|
2419
|
+
};
|
|
2420
|
+
|
|
2421
|
+
export type AdminPaymentProcessorsUpdateResponses = {
|
|
2422
|
+
200: AdminPaymentProcessorResponse;
|
|
2423
|
+
};
|
|
2424
|
+
|
|
2425
|
+
export type AdminPaymentProcessorsUpdateResponse = AdminPaymentProcessorsUpdateResponses[keyof AdminPaymentProcessorsUpdateResponses];
|
|
2426
|
+
|
|
2427
|
+
export type AdminRequestsListData = {
|
|
2428
|
+
body?: never;
|
|
2429
|
+
path?: never;
|
|
2430
|
+
query?: {
|
|
2431
|
+
created?: string;
|
|
2432
|
+
created__gt?: string;
|
|
2433
|
+
created__gte?: string;
|
|
2434
|
+
created__lt?: string;
|
|
2435
|
+
created__lte?: string;
|
|
2436
|
+
expiration_date__gt?: string;
|
|
2437
|
+
expiration_date__gte?: string;
|
|
2438
|
+
expiration_date__lt?: string;
|
|
2439
|
+
expiration_date__lte?: string;
|
|
2440
|
+
id?: string;
|
|
2441
|
+
/**
|
|
2442
|
+
* A page number within the paginated result set.
|
|
2443
|
+
*/
|
|
2444
|
+
page?: number;
|
|
2445
|
+
/**
|
|
2446
|
+
* Number of results to return per page.
|
|
2447
|
+
*/
|
|
2448
|
+
page_size?: number;
|
|
2449
|
+
payer_email?: string;
|
|
2450
|
+
payer_mobile_number?: string;
|
|
2451
|
+
payment_processor_quote_reference?: string;
|
|
2452
|
+
refund_status?: string;
|
|
2453
|
+
refunded?: string;
|
|
2454
|
+
request_currency?: string;
|
|
2455
|
+
request_reference?: string;
|
|
2456
|
+
request_type?: string;
|
|
2457
|
+
status?: string;
|
|
2458
|
+
status__in?: string;
|
|
2459
|
+
};
|
|
2460
|
+
url: '/admin/requests/';
|
|
2461
|
+
};
|
|
2462
|
+
|
|
2463
|
+
export type AdminRequestsListResponses = {
|
|
2464
|
+
200: PaginatedRequestListResponse;
|
|
2465
|
+
};
|
|
2466
|
+
|
|
2467
|
+
export type AdminRequestsListResponse = AdminRequestsListResponses[keyof AdminRequestsListResponses];
|
|
2468
|
+
|
|
2469
|
+
export type AdminRequestsCreateData = {
|
|
2470
|
+
body: AdminRequestCreateUpdateWritable;
|
|
2471
|
+
path?: never;
|
|
2472
|
+
query?: never;
|
|
2473
|
+
url: '/admin/requests/';
|
|
2474
|
+
};
|
|
2475
|
+
|
|
2476
|
+
export type AdminRequestsCreateResponses = {
|
|
2477
|
+
201: RequestResponse;
|
|
2478
|
+
};
|
|
2479
|
+
|
|
2480
|
+
export type AdminRequestsCreateResponse = AdminRequestsCreateResponses[keyof AdminRequestsCreateResponses];
|
|
2481
|
+
|
|
2482
|
+
export type AdminRequestsRetrieveData = {
|
|
2483
|
+
body?: never;
|
|
2484
|
+
path: {
|
|
2485
|
+
identifier: string;
|
|
2486
|
+
};
|
|
2487
|
+
query?: never;
|
|
2488
|
+
url: '/admin/requests/{identifier}/';
|
|
2489
|
+
};
|
|
2490
|
+
|
|
2491
|
+
export type AdminRequestsRetrieveResponses = {
|
|
2492
|
+
200: RequestResponse;
|
|
2493
|
+
};
|
|
2494
|
+
|
|
2495
|
+
export type AdminRequestsRetrieveResponse = AdminRequestsRetrieveResponses[keyof AdminRequestsRetrieveResponses];
|
|
2496
|
+
|
|
2497
|
+
export type AdminRequestsPartialUpdateData = {
|
|
2498
|
+
body?: PatchedAdminRequestCreateUpdateWritable;
|
|
2499
|
+
path: {
|
|
2500
|
+
identifier: string;
|
|
2501
|
+
};
|
|
2502
|
+
query?: never;
|
|
2503
|
+
url: '/admin/requests/{identifier}/';
|
|
2504
|
+
};
|
|
2505
|
+
|
|
2506
|
+
export type AdminRequestsPartialUpdateResponses = {
|
|
2507
|
+
200: AdminRequestCreateUpdateResponse;
|
|
2508
|
+
};
|
|
2509
|
+
|
|
2510
|
+
export type AdminRequestsPartialUpdateResponse = AdminRequestsPartialUpdateResponses[keyof AdminRequestsPartialUpdateResponses];
|
|
2511
|
+
|
|
2512
|
+
export type AdminRequestsUpdateData = {
|
|
2513
|
+
body: RequestWritable;
|
|
2514
|
+
path: {
|
|
2515
|
+
identifier: string;
|
|
2516
|
+
};
|
|
2517
|
+
query?: never;
|
|
2518
|
+
url: '/admin/requests/{identifier}/';
|
|
2519
|
+
};
|
|
2520
|
+
|
|
2521
|
+
export type AdminRequestsUpdateResponses = {
|
|
2522
|
+
200: RequestResponse;
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
export type AdminRequestsUpdateResponse = AdminRequestsUpdateResponses[keyof AdminRequestsUpdateResponses];
|
|
2526
|
+
|
|
2527
|
+
export type AdminRequestsLogsListData = {
|
|
2528
|
+
body?: never;
|
|
2529
|
+
path: {
|
|
2530
|
+
identifier: string;
|
|
2531
|
+
};
|
|
2532
|
+
query?: {
|
|
2533
|
+
/**
|
|
2534
|
+
* A page number within the paginated result set.
|
|
2535
|
+
*/
|
|
2536
|
+
page?: number;
|
|
2537
|
+
/**
|
|
2538
|
+
* Number of results to return per page.
|
|
2539
|
+
*/
|
|
2540
|
+
page_size?: number;
|
|
2541
|
+
};
|
|
2542
|
+
url: '/admin/requests/{identifier}/logs/';
|
|
2543
|
+
};
|
|
2544
|
+
|
|
2545
|
+
export type AdminRequestsLogsListResponses = {
|
|
2546
|
+
200: PaginatedRequestLogsListResponse;
|
|
2547
|
+
};
|
|
2548
|
+
|
|
2549
|
+
export type AdminRequestsLogsListResponse = AdminRequestsLogsListResponses[keyof AdminRequestsLogsListResponses];
|
|
2550
|
+
|
|
2551
|
+
export type AdminRequestsPaymentProcessQuotesListData = {
|
|
2552
|
+
body?: never;
|
|
2553
|
+
path: {
|
|
2554
|
+
identifier: string;
|
|
2555
|
+
};
|
|
2556
|
+
query?: {
|
|
2557
|
+
/**
|
|
2558
|
+
* A page number within the paginated result set.
|
|
2559
|
+
*/
|
|
2560
|
+
page?: number;
|
|
2561
|
+
/**
|
|
2562
|
+
* Number of results to return per page.
|
|
2563
|
+
*/
|
|
2564
|
+
page_size?: number;
|
|
2565
|
+
};
|
|
2566
|
+
url: '/admin/requests/{identifier}/payment-process-quotes/';
|
|
2567
|
+
};
|
|
2568
|
+
|
|
2569
|
+
export type AdminRequestsPaymentProcessQuotesListResponses = {
|
|
2570
|
+
200: PaginatedPaymentProcessorQuoteListResponse;
|
|
2571
|
+
};
|
|
2572
|
+
|
|
2573
|
+
export type AdminRequestsPaymentProcessQuotesListResponse = AdminRequestsPaymentProcessQuotesListResponses[keyof AdminRequestsPaymentProcessQuotesListResponses];
|
|
2574
|
+
|
|
2575
|
+
export type AdminRequestsPaymentProcessQuotesRetrieveData = {
|
|
2576
|
+
body?: never;
|
|
2577
|
+
path: {
|
|
2578
|
+
identifier: string;
|
|
2579
|
+
quote_identifier: string;
|
|
2580
|
+
};
|
|
2581
|
+
query?: never;
|
|
2582
|
+
url: '/admin/requests/{identifier}/payment-process-quotes/{quote_identifier}/';
|
|
2583
|
+
};
|
|
2584
|
+
|
|
2585
|
+
export type AdminRequestsPaymentProcessQuotesRetrieveResponses = {
|
|
2586
|
+
200: PaymentProcessorQuoteResponse;
|
|
2587
|
+
};
|
|
2588
|
+
|
|
2589
|
+
export type AdminRequestsPaymentProcessQuotesRetrieveResponse = AdminRequestsPaymentProcessQuotesRetrieveResponses[keyof AdminRequestsPaymentProcessQuotesRetrieveResponses];
|
|
2590
|
+
|
|
2591
|
+
export type AdminRequestsPaymentProcessQuotesExecuteRetrieveData = {
|
|
2592
|
+
body?: never;
|
|
2593
|
+
path: {
|
|
2594
|
+
identifier: string;
|
|
2595
|
+
quote_identifier: string;
|
|
2596
|
+
};
|
|
2597
|
+
query?: never;
|
|
2598
|
+
url: '/admin/requests/{identifier}/payment-process-quotes/{quote_identifier}/execute/';
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
export type AdminRequestsPaymentProcessQuotesExecuteRetrieveResponses = {
|
|
2602
|
+
200: PaymentProcessorQuoteResponse;
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
export type AdminRequestsPaymentProcessQuotesExecuteRetrieveResponse = AdminRequestsPaymentProcessQuotesExecuteRetrieveResponses[keyof AdminRequestsPaymentProcessQuotesExecuteRetrieveResponses];
|
|
2606
|
+
|
|
2607
|
+
export type AdminRequestsRefundsListData = {
|
|
2608
|
+
body?: never;
|
|
2609
|
+
path: {
|
|
2610
|
+
identifier: string;
|
|
2611
|
+
};
|
|
2612
|
+
query?: {
|
|
2613
|
+
/**
|
|
2614
|
+
* A page number within the paginated result set.
|
|
2615
|
+
*/
|
|
2616
|
+
page?: number;
|
|
2617
|
+
/**
|
|
2618
|
+
* Number of results to return per page.
|
|
2619
|
+
*/
|
|
2620
|
+
page_size?: number;
|
|
2621
|
+
};
|
|
2622
|
+
url: '/admin/requests/{identifier}/refunds/';
|
|
2623
|
+
};
|
|
2624
|
+
|
|
2625
|
+
export type AdminRequestsRefundsListResponses = {
|
|
2626
|
+
200: PaginatedRefundListResponse;
|
|
2627
|
+
};
|
|
2628
|
+
|
|
2629
|
+
export type AdminRequestsRefundsListResponse = AdminRequestsRefundsListResponses[keyof AdminRequestsRefundsListResponses];
|
|
2630
|
+
|
|
2631
|
+
export type AdminRequestsRefundsCreateData = {
|
|
2632
|
+
body: AdminRefundWritable;
|
|
2633
|
+
path: {
|
|
2634
|
+
identifier: string;
|
|
2635
|
+
};
|
|
2636
|
+
query?: never;
|
|
2637
|
+
url: '/admin/requests/{identifier}/refunds/';
|
|
2638
|
+
};
|
|
2639
|
+
|
|
2640
|
+
export type AdminRequestsRefundsCreateResponses = {
|
|
2641
|
+
201: AdminRefundResponse;
|
|
2642
|
+
};
|
|
2643
|
+
|
|
2644
|
+
export type AdminRequestsRefundsCreateResponse = AdminRequestsRefundsCreateResponses[keyof AdminRequestsRefundsCreateResponses];
|
|
2645
|
+
|
|
2646
|
+
export type AdminRequestsTransactionsListData = {
|
|
2647
|
+
body?: never;
|
|
2648
|
+
path: {
|
|
2649
|
+
identifier: string;
|
|
2650
|
+
};
|
|
2651
|
+
query?: {
|
|
2652
|
+
/**
|
|
2653
|
+
* A page number within the paginated result set.
|
|
2654
|
+
*/
|
|
2655
|
+
page?: number;
|
|
2656
|
+
/**
|
|
2657
|
+
* Number of results to return per page.
|
|
2658
|
+
*/
|
|
2659
|
+
page_size?: number;
|
|
2660
|
+
};
|
|
2661
|
+
url: '/admin/requests/{identifier}/transactions/';
|
|
2662
|
+
};
|
|
2663
|
+
|
|
2664
|
+
export type AdminRequestsTransactionsListResponses = {
|
|
2665
|
+
200: PaginatedRequestTransactionListResponse;
|
|
2666
|
+
};
|
|
2667
|
+
|
|
2668
|
+
export type AdminRequestsTransactionsListResponse = AdminRequestsTransactionsListResponses[keyof AdminRequestsTransactionsListResponses];
|
|
2669
|
+
|
|
2670
|
+
export type AdminUsersListData = {
|
|
2671
|
+
body?: never;
|
|
2672
|
+
path?: never;
|
|
2673
|
+
query?: {
|
|
2674
|
+
/**
|
|
2675
|
+
* A page number within the paginated result set.
|
|
2676
|
+
*/
|
|
2677
|
+
page?: number;
|
|
2678
|
+
/**
|
|
2679
|
+
* Number of results to return per page.
|
|
2680
|
+
*/
|
|
2681
|
+
page_size?: number;
|
|
2682
|
+
};
|
|
2683
|
+
url: '/admin/users/';
|
|
2684
|
+
};
|
|
2685
|
+
|
|
2686
|
+
export type AdminUsersListResponses = {
|
|
2687
|
+
200: PaginatedAdminUserListResponse;
|
|
2688
|
+
};
|
|
2689
|
+
|
|
2690
|
+
export type AdminUsersListResponse = AdminUsersListResponses[keyof AdminUsersListResponses];
|
|
2691
|
+
|
|
2692
|
+
export type AdminUsersRetrieveData = {
|
|
2693
|
+
body?: never;
|
|
2694
|
+
path: {
|
|
2695
|
+
identifier: string;
|
|
2696
|
+
};
|
|
2697
|
+
query?: never;
|
|
2698
|
+
url: '/admin/users/{identifier}/';
|
|
2699
|
+
};
|
|
2700
|
+
|
|
2701
|
+
export type AdminUsersRetrieveResponses = {
|
|
2702
|
+
200: AdminUserResponse;
|
|
2703
|
+
};
|
|
2704
|
+
|
|
2705
|
+
export type AdminUsersRetrieveResponse = AdminUsersRetrieveResponses[keyof AdminUsersRetrieveResponses];
|
|
2706
|
+
|
|
2707
|
+
export type AdminUsersPartialUpdateData = {
|
|
2708
|
+
body?: PatchedAdminUserWritable;
|
|
2709
|
+
path: {
|
|
2710
|
+
identifier: string;
|
|
2711
|
+
};
|
|
2712
|
+
query?: never;
|
|
2713
|
+
url: '/admin/users/{identifier}/';
|
|
2714
|
+
};
|
|
2715
|
+
|
|
2716
|
+
export type AdminUsersPartialUpdateResponses = {
|
|
2717
|
+
200: AdminUserResponse;
|
|
2718
|
+
};
|
|
2719
|
+
|
|
2720
|
+
export type AdminUsersPartialUpdateResponse = AdminUsersPartialUpdateResponses[keyof AdminUsersPartialUpdateResponses];
|
|
2721
|
+
|
|
2722
|
+
export type AdminUsersUpdateData = {
|
|
2723
|
+
body?: AdminUserWritable;
|
|
2724
|
+
path: {
|
|
2725
|
+
identifier: string;
|
|
2726
|
+
};
|
|
2727
|
+
query?: never;
|
|
2728
|
+
url: '/admin/users/{identifier}/';
|
|
2729
|
+
};
|
|
2730
|
+
|
|
2731
|
+
export type AdminUsersUpdateResponses = {
|
|
2732
|
+
200: AdminUserResponse;
|
|
2733
|
+
};
|
|
2734
|
+
|
|
2735
|
+
export type AdminUsersUpdateResponse = AdminUsersUpdateResponses[keyof AdminUsersUpdateResponses];
|
|
2736
|
+
|
|
2737
|
+
export type AdminWebhooksListData = {
|
|
2738
|
+
body?: never;
|
|
2739
|
+
path?: never;
|
|
2740
|
+
query?: {
|
|
2741
|
+
event?: string;
|
|
2742
|
+
/**
|
|
2743
|
+
* A page number within the paginated result set.
|
|
2744
|
+
*/
|
|
2745
|
+
page?: number;
|
|
2746
|
+
/**
|
|
2747
|
+
* Number of results to return per page.
|
|
2748
|
+
*/
|
|
2749
|
+
page_size?: number;
|
|
2750
|
+
secret?: string;
|
|
2751
|
+
url?: string;
|
|
2752
|
+
};
|
|
2753
|
+
url: '/admin/webhooks/';
|
|
2754
|
+
};
|
|
2755
|
+
|
|
2756
|
+
export type AdminWebhooksListResponses = {
|
|
2757
|
+
200: PaginatedAdminWebhookListResponse;
|
|
2758
|
+
};
|
|
2759
|
+
|
|
2760
|
+
export type AdminWebhooksListResponse = AdminWebhooksListResponses[keyof AdminWebhooksListResponses];
|
|
2761
|
+
|
|
2762
|
+
export type AdminWebhooksCreateData = {
|
|
2763
|
+
body: AdminWebhookWritable;
|
|
2764
|
+
path?: never;
|
|
2765
|
+
query?: never;
|
|
2766
|
+
url: '/admin/webhooks/';
|
|
2767
|
+
};
|
|
2768
|
+
|
|
2769
|
+
export type AdminWebhooksCreateResponses = {
|
|
2770
|
+
201: AdminWebhookResponse;
|
|
2771
|
+
};
|
|
2772
|
+
|
|
2773
|
+
export type AdminWebhooksCreateResponse = AdminWebhooksCreateResponses[keyof AdminWebhooksCreateResponses];
|
|
2774
|
+
|
|
2775
|
+
export type AdminWebhooksDestroyData = {
|
|
2776
|
+
body?: never;
|
|
2777
|
+
path: {
|
|
2778
|
+
identifier: string;
|
|
2779
|
+
};
|
|
2780
|
+
query?: never;
|
|
2781
|
+
url: '/admin/webhooks/{identifier}/';
|
|
2782
|
+
};
|
|
2783
|
+
|
|
2784
|
+
export type AdminWebhooksDestroyResponses = {
|
|
2785
|
+
200: AdminWebhookResponse;
|
|
2786
|
+
};
|
|
2787
|
+
|
|
2788
|
+
export type AdminWebhooksDestroyResponse = AdminWebhooksDestroyResponses[keyof AdminWebhooksDestroyResponses];
|
|
2789
|
+
|
|
2790
|
+
export type AdminWebhooksRetrieveData = {
|
|
2791
|
+
body?: never;
|
|
2792
|
+
path: {
|
|
2793
|
+
identifier: string;
|
|
2794
|
+
};
|
|
2795
|
+
query?: never;
|
|
2796
|
+
url: '/admin/webhooks/{identifier}/';
|
|
2797
|
+
};
|
|
2798
|
+
|
|
2799
|
+
export type AdminWebhooksRetrieveResponses = {
|
|
2800
|
+
200: AdminWebhookResponse;
|
|
2801
|
+
};
|
|
2802
|
+
|
|
2803
|
+
export type AdminWebhooksRetrieveResponse = AdminWebhooksRetrieveResponses[keyof AdminWebhooksRetrieveResponses];
|
|
2804
|
+
|
|
2805
|
+
export type AdminWebhooksPartialUpdateData = {
|
|
2806
|
+
body?: PatchedAdminWebhookWritable;
|
|
2807
|
+
path: {
|
|
2808
|
+
identifier: string;
|
|
2809
|
+
};
|
|
2810
|
+
query?: never;
|
|
2811
|
+
url: '/admin/webhooks/{identifier}/';
|
|
2812
|
+
};
|
|
2813
|
+
|
|
2814
|
+
export type AdminWebhooksPartialUpdateResponses = {
|
|
2815
|
+
200: AdminWebhookResponse;
|
|
2816
|
+
};
|
|
2817
|
+
|
|
2818
|
+
export type AdminWebhooksPartialUpdateResponse = AdminWebhooksPartialUpdateResponses[keyof AdminWebhooksPartialUpdateResponses];
|
|
2819
|
+
|
|
2820
|
+
export type AdminWebhooksUpdateData = {
|
|
2821
|
+
body: AdminWebhookWritable;
|
|
2822
|
+
path: {
|
|
2823
|
+
identifier: string;
|
|
2824
|
+
};
|
|
2825
|
+
query?: never;
|
|
2826
|
+
url: '/admin/webhooks/{identifier}/';
|
|
2827
|
+
};
|
|
2828
|
+
|
|
2829
|
+
export type AdminWebhooksUpdateResponses = {
|
|
2830
|
+
200: AdminWebhookResponse;
|
|
2831
|
+
};
|
|
2832
|
+
|
|
2833
|
+
export type AdminWebhooksUpdateResponse = AdminWebhooksUpdateResponses[keyof AdminWebhooksUpdateResponses];
|
|
2834
|
+
|
|
2835
|
+
export type DeactivateCreateData = {
|
|
2836
|
+
body: Deactivate;
|
|
2837
|
+
path?: never;
|
|
2838
|
+
query?: never;
|
|
2839
|
+
url: '/deactivate/';
|
|
2840
|
+
};
|
|
2841
|
+
|
|
2842
|
+
export type DeactivateCreateResponses = {
|
|
2843
|
+
200: ActionResponse;
|
|
2844
|
+
};
|
|
2845
|
+
|
|
2846
|
+
export type DeactivateCreateResponse = DeactivateCreateResponses[keyof DeactivateCreateResponses];
|
|
2847
|
+
|
|
2848
|
+
export type RequestsRetrieveData = {
|
|
2849
|
+
body?: never;
|
|
2850
|
+
path: {
|
|
2851
|
+
identifier: string;
|
|
2852
|
+
};
|
|
2853
|
+
query?: never;
|
|
2854
|
+
url: '/requests/{identifier}/';
|
|
2855
|
+
};
|
|
2856
|
+
|
|
2857
|
+
export type RequestsRetrieveResponses = {
|
|
2858
|
+
200: PublicRequestResponse;
|
|
2859
|
+
};
|
|
2860
|
+
|
|
2861
|
+
export type RequestsRetrieveResponse = RequestsRetrieveResponses[keyof RequestsRetrieveResponses];
|
|
2862
|
+
|
|
2863
|
+
export type RequestsPartialUpdateData = {
|
|
2864
|
+
body?: PatchedPublicRequestUpdateWritable;
|
|
2865
|
+
path: {
|
|
2866
|
+
identifier: string;
|
|
2867
|
+
};
|
|
2868
|
+
query?: never;
|
|
2869
|
+
url: '/requests/{identifier}/';
|
|
2870
|
+
};
|
|
2871
|
+
|
|
2872
|
+
export type RequestsPartialUpdateResponses = {
|
|
2873
|
+
200: PublicRequestResponse;
|
|
2874
|
+
};
|
|
2875
|
+
|
|
2876
|
+
export type RequestsPartialUpdateResponse = RequestsPartialUpdateResponses[keyof RequestsPartialUpdateResponses];
|
|
2877
|
+
|
|
2878
|
+
export type RequestsUpdateData = {
|
|
2879
|
+
body: PublicRequestWritable;
|
|
2880
|
+
path: {
|
|
2881
|
+
identifier: string;
|
|
2882
|
+
};
|
|
2883
|
+
query?: never;
|
|
2884
|
+
url: '/requests/{identifier}/';
|
|
2885
|
+
};
|
|
2886
|
+
|
|
2887
|
+
export type RequestsUpdateResponses = {
|
|
2888
|
+
200: PublicRequestResponse;
|
|
2889
|
+
};
|
|
2890
|
+
|
|
2891
|
+
export type RequestsUpdateResponse = RequestsUpdateResponses[keyof RequestsUpdateResponses];
|
|
2892
|
+
|
|
2893
|
+
export type RequestsOtpChallengeCreateData = {
|
|
2894
|
+
body: OtpChallenge;
|
|
2895
|
+
path: {
|
|
2896
|
+
identifier: string;
|
|
2897
|
+
};
|
|
2898
|
+
query?: never;
|
|
2899
|
+
url: '/requests/{identifier}/otp_challenge/';
|
|
2900
|
+
};
|
|
2901
|
+
|
|
2902
|
+
export type RequestsOtpChallengeCreateResponses = {
|
|
2903
|
+
200: ActionResponse;
|
|
2904
|
+
};
|
|
2905
|
+
|
|
2906
|
+
export type RequestsOtpChallengeCreateResponse = RequestsOtpChallengeCreateResponses[keyof RequestsOtpChallengeCreateResponses];
|
|
2907
|
+
|
|
2908
|
+
export type RequestsPaymentProcessorsListData = {
|
|
2909
|
+
body?: never;
|
|
2910
|
+
path: {
|
|
2911
|
+
identifier: string;
|
|
2912
|
+
};
|
|
2913
|
+
query?: {
|
|
2914
|
+
/**
|
|
2915
|
+
* A page number within the paginated result set.
|
|
2916
|
+
*/
|
|
2917
|
+
page?: number;
|
|
2918
|
+
/**
|
|
2919
|
+
* Number of results to return per page.
|
|
2920
|
+
*/
|
|
2921
|
+
page_size?: number;
|
|
2922
|
+
};
|
|
2923
|
+
url: '/requests/{identifier}/payment_processors/';
|
|
2924
|
+
};
|
|
2925
|
+
|
|
2926
|
+
export type RequestsPaymentProcessorsListResponses = {
|
|
2927
|
+
200: PaginatedPaymentProcessorListResponse;
|
|
2928
|
+
};
|
|
2929
|
+
|
|
2930
|
+
export type RequestsPaymentProcessorsListResponse = RequestsPaymentProcessorsListResponses[keyof RequestsPaymentProcessorsListResponses];
|
|
2931
|
+
|
|
2932
|
+
export type RequestsResendOtpCreateData = {
|
|
2933
|
+
body?: never;
|
|
2934
|
+
path: {
|
|
2935
|
+
identifier: string;
|
|
2936
|
+
};
|
|
2937
|
+
query?: never;
|
|
2938
|
+
url: '/requests/{identifier}/resend_otp/';
|
|
2939
|
+
};
|
|
2940
|
+
|
|
2941
|
+
export type RequestsResendOtpCreateResponses = {
|
|
2942
|
+
200: ActionResponse;
|
|
2943
|
+
};
|
|
2944
|
+
|
|
2945
|
+
export type RequestsResendOtpCreateResponse = RequestsResendOtpCreateResponses[keyof RequestsResendOtpCreateResponses];
|
|
2946
|
+
|
|
2947
|
+
export type RequestsTransactionsListData = {
|
|
2948
|
+
body?: never;
|
|
2949
|
+
path: {
|
|
2950
|
+
identifier: string;
|
|
2951
|
+
};
|
|
2952
|
+
query?: {
|
|
2953
|
+
/**
|
|
2954
|
+
* A page number within the paginated result set.
|
|
2955
|
+
*/
|
|
2956
|
+
page?: number;
|
|
2957
|
+
/**
|
|
2958
|
+
* Number of results to return per page.
|
|
2959
|
+
*/
|
|
2960
|
+
page_size?: number;
|
|
2961
|
+
};
|
|
2962
|
+
url: '/requests/{identifier}/transactions/';
|
|
2963
|
+
};
|
|
2964
|
+
|
|
2965
|
+
export type RequestsTransactionsListResponses = {
|
|
2966
|
+
200: PaginatedRequestTransactionListResponse;
|
|
2967
|
+
};
|
|
2968
|
+
|
|
2969
|
+
export type RequestsTransactionsListResponse = RequestsTransactionsListResponses[keyof RequestsTransactionsListResponses];
|
|
2970
|
+
|
|
2971
|
+
export type UserPaymentProcessorsListData = {
|
|
2972
|
+
body?: never;
|
|
2973
|
+
path?: never;
|
|
2974
|
+
query?: {
|
|
2975
|
+
/**
|
|
2976
|
+
* A page number within the paginated result set.
|
|
2977
|
+
*/
|
|
2978
|
+
page?: number;
|
|
2979
|
+
/**
|
|
2980
|
+
* Number of results to return per page.
|
|
2981
|
+
*/
|
|
2982
|
+
page_size?: number;
|
|
2983
|
+
};
|
|
2984
|
+
url: '/user/payment_processors/';
|
|
2985
|
+
};
|
|
2986
|
+
|
|
2987
|
+
export type UserPaymentProcessorsListResponses = {
|
|
2988
|
+
200: PaginatedUserCompanyPaymentProcessorListResponse;
|
|
2989
|
+
};
|
|
2990
|
+
|
|
2991
|
+
export type UserPaymentProcessorsListResponse = UserPaymentProcessorsListResponses[keyof UserPaymentProcessorsListResponses];
|
|
2992
|
+
|
|
2993
|
+
export type UserPaymentProcessorsCreateData = {
|
|
2994
|
+
body?: UserCrudCompanyPaymentProcessorWritable;
|
|
2995
|
+
path?: never;
|
|
2996
|
+
query?: never;
|
|
2997
|
+
url: '/user/payment_processors/';
|
|
2998
|
+
};
|
|
2999
|
+
|
|
3000
|
+
export type UserPaymentProcessorsCreateResponses = {
|
|
3001
|
+
201: UserCompanyPaymentProcessorResponse;
|
|
3002
|
+
};
|
|
3003
|
+
|
|
3004
|
+
export type UserPaymentProcessorsCreateResponse = UserPaymentProcessorsCreateResponses[keyof UserPaymentProcessorsCreateResponses];
|
|
3005
|
+
|
|
3006
|
+
export type UserPaymentProcessorsDestroyData = {
|
|
3007
|
+
body?: never;
|
|
3008
|
+
path: {
|
|
3009
|
+
id: string;
|
|
3010
|
+
};
|
|
3011
|
+
query?: never;
|
|
3012
|
+
url: '/user/payment_processors/{id}/';
|
|
3013
|
+
};
|
|
3014
|
+
|
|
3015
|
+
export type UserPaymentProcessorsDestroyResponses = {
|
|
3016
|
+
200: UserCrudCompanyPaymentProcessorResponse;
|
|
3017
|
+
};
|
|
3018
|
+
|
|
3019
|
+
export type UserPaymentProcessorsDestroyResponse = UserPaymentProcessorsDestroyResponses[keyof UserPaymentProcessorsDestroyResponses];
|
|
3020
|
+
|
|
3021
|
+
export type UserPaymentProcessorsRetrieveData = {
|
|
3022
|
+
body?: never;
|
|
3023
|
+
path: {
|
|
3024
|
+
id: string;
|
|
3025
|
+
};
|
|
3026
|
+
query?: never;
|
|
3027
|
+
url: '/user/payment_processors/{id}/';
|
|
3028
|
+
};
|
|
3029
|
+
|
|
3030
|
+
export type UserPaymentProcessorsRetrieveResponses = {
|
|
3031
|
+
200: UserCompanyPaymentProcessorResponse;
|
|
3032
|
+
};
|
|
3033
|
+
|
|
3034
|
+
export type UserPaymentProcessorsRetrieveResponse = UserPaymentProcessorsRetrieveResponses[keyof UserPaymentProcessorsRetrieveResponses];
|
|
3035
|
+
|
|
3036
|
+
export type UserPaymentProcessorsPartialUpdateData = {
|
|
3037
|
+
body?: PatchedUserCrudCompanyPaymentProcessorWritable;
|
|
3038
|
+
path: {
|
|
3039
|
+
id: string;
|
|
3040
|
+
};
|
|
3041
|
+
query?: never;
|
|
3042
|
+
url: '/user/payment_processors/{id}/';
|
|
3043
|
+
};
|
|
3044
|
+
|
|
3045
|
+
export type UserPaymentProcessorsPartialUpdateResponses = {
|
|
3046
|
+
200: UserCrudCompanyPaymentProcessorResponse;
|
|
3047
|
+
};
|
|
3048
|
+
|
|
3049
|
+
export type UserPaymentProcessorsPartialUpdateResponse = UserPaymentProcessorsPartialUpdateResponses[keyof UserPaymentProcessorsPartialUpdateResponses];
|
|
3050
|
+
|
|
3051
|
+
export type UserPaymentProcessorsUpdateData = {
|
|
3052
|
+
body?: UserCrudCompanyPaymentProcessorWritable;
|
|
3053
|
+
path: {
|
|
3054
|
+
id: string;
|
|
3055
|
+
};
|
|
3056
|
+
query?: never;
|
|
3057
|
+
url: '/user/payment_processors/{id}/';
|
|
3058
|
+
};
|
|
3059
|
+
|
|
3060
|
+
export type UserPaymentProcessorsUpdateResponses = {
|
|
3061
|
+
200: UserCrudCompanyPaymentProcessorResponse;
|
|
3062
|
+
};
|
|
3063
|
+
|
|
3064
|
+
export type UserPaymentProcessorsUpdateResponse = UserPaymentProcessorsUpdateResponses[keyof UserPaymentProcessorsUpdateResponses];
|
|
3065
|
+
|
|
3066
|
+
export type UserRequestsListData = {
|
|
3067
|
+
body?: never;
|
|
3068
|
+
path?: never;
|
|
3069
|
+
query?: {
|
|
3070
|
+
created?: string;
|
|
3071
|
+
created__gt?: string;
|
|
3072
|
+
created__gte?: string;
|
|
3073
|
+
created__lt?: string;
|
|
3074
|
+
created__lte?: string;
|
|
3075
|
+
expiration_date__gt?: string;
|
|
3076
|
+
expiration_date__gte?: string;
|
|
3077
|
+
expiration_date__lt?: string;
|
|
3078
|
+
expiration_date__lte?: string;
|
|
3079
|
+
id?: string;
|
|
3080
|
+
/**
|
|
3081
|
+
* A page number within the paginated result set.
|
|
3082
|
+
*/
|
|
3083
|
+
page?: number;
|
|
3084
|
+
/**
|
|
3085
|
+
* Number of results to return per page.
|
|
3086
|
+
*/
|
|
3087
|
+
page_size?: number;
|
|
3088
|
+
payer_email?: string;
|
|
3089
|
+
payer_mobile_number?: string;
|
|
3090
|
+
payment_processor_quote_reference?: string;
|
|
3091
|
+
refund_status?: string;
|
|
3092
|
+
refunded?: string;
|
|
3093
|
+
request_currency?: string;
|
|
3094
|
+
request_reference?: string;
|
|
3095
|
+
request_type?: string;
|
|
3096
|
+
status?: string;
|
|
3097
|
+
status__in?: string;
|
|
3098
|
+
};
|
|
3099
|
+
url: '/user/requests/';
|
|
3100
|
+
};
|
|
3101
|
+
|
|
3102
|
+
export type UserRequestsListResponses = {
|
|
3103
|
+
200: PaginatedRequestListResponse;
|
|
3104
|
+
};
|
|
3105
|
+
|
|
3106
|
+
export type UserRequestsListResponse = UserRequestsListResponses[keyof UserRequestsListResponses];
|
|
3107
|
+
|
|
3108
|
+
export type UserRequestsCreateData = {
|
|
3109
|
+
body: RequestCreateUpdateWritable;
|
|
3110
|
+
path?: never;
|
|
3111
|
+
query?: never;
|
|
3112
|
+
url: '/user/requests/';
|
|
3113
|
+
};
|
|
3114
|
+
|
|
3115
|
+
export type UserRequestsCreateResponses = {
|
|
3116
|
+
201: RequestCreateUpdateResponse;
|
|
3117
|
+
};
|
|
3118
|
+
|
|
3119
|
+
export type UserRequestsCreateResponse = UserRequestsCreateResponses[keyof UserRequestsCreateResponses];
|
|
3120
|
+
|
|
3121
|
+
export type UserRequestsRetrieveData = {
|
|
3122
|
+
body?: never;
|
|
3123
|
+
path: {
|
|
3124
|
+
identifier: string;
|
|
3125
|
+
};
|
|
3126
|
+
query?: never;
|
|
3127
|
+
url: '/user/requests/{identifier}/';
|
|
3128
|
+
};
|
|
3129
|
+
|
|
3130
|
+
export type UserRequestsRetrieveResponses = {
|
|
3131
|
+
200: RequestResponse;
|
|
3132
|
+
};
|
|
3133
|
+
|
|
3134
|
+
export type UserRequestsRetrieveResponse = UserRequestsRetrieveResponses[keyof UserRequestsRetrieveResponses];
|
|
3135
|
+
|
|
3136
|
+
export type UserRequestsPartialUpdateData = {
|
|
3137
|
+
body?: PatchedRequestCreateUpdateWritable;
|
|
3138
|
+
path: {
|
|
3139
|
+
identifier: string;
|
|
3140
|
+
};
|
|
3141
|
+
query?: never;
|
|
3142
|
+
url: '/user/requests/{identifier}/';
|
|
3143
|
+
};
|
|
3144
|
+
|
|
3145
|
+
export type UserRequestsPartialUpdateResponses = {
|
|
3146
|
+
200: RequestCreateUpdateResponse;
|
|
3147
|
+
};
|
|
3148
|
+
|
|
3149
|
+
export type UserRequestsPartialUpdateResponse = UserRequestsPartialUpdateResponses[keyof UserRequestsPartialUpdateResponses];
|
|
3150
|
+
|
|
3151
|
+
export type UserRequestsUpdateData = {
|
|
3152
|
+
body: RequestWritable;
|
|
3153
|
+
path: {
|
|
3154
|
+
identifier: string;
|
|
3155
|
+
};
|
|
3156
|
+
query?: never;
|
|
3157
|
+
url: '/user/requests/{identifier}/';
|
|
3158
|
+
};
|
|
3159
|
+
|
|
3160
|
+
export type UserRequestsUpdateResponses = {
|
|
3161
|
+
200: RequestResponse;
|
|
3162
|
+
};
|
|
3163
|
+
|
|
3164
|
+
export type UserRequestsUpdateResponse = UserRequestsUpdateResponses[keyof UserRequestsUpdateResponses];
|
|
3165
|
+
|
|
3166
|
+
export type UserRequestsNotifyCreateData = {
|
|
3167
|
+
body?: never;
|
|
3168
|
+
path: {
|
|
3169
|
+
identifier: string;
|
|
3170
|
+
};
|
|
3171
|
+
query?: never;
|
|
3172
|
+
url: '/user/requests/{identifier}/notify/';
|
|
3173
|
+
};
|
|
3174
|
+
|
|
3175
|
+
export type UserRequestsNotifyCreateResponses = {
|
|
3176
|
+
200: ActionResponse;
|
|
3177
|
+
};
|
|
3178
|
+
|
|
3179
|
+
export type UserRequestsNotifyCreateResponse = UserRequestsNotifyCreateResponses[keyof UserRequestsNotifyCreateResponses];
|
|
3180
|
+
|
|
3181
|
+
export type UserRequestsRefundsListData = {
|
|
3182
|
+
body?: never;
|
|
3183
|
+
path: {
|
|
3184
|
+
identifier: string;
|
|
3185
|
+
};
|
|
3186
|
+
query?: {
|
|
3187
|
+
/**
|
|
3188
|
+
* A page number within the paginated result set.
|
|
3189
|
+
*/
|
|
3190
|
+
page?: number;
|
|
3191
|
+
/**
|
|
3192
|
+
* Number of results to return per page.
|
|
3193
|
+
*/
|
|
3194
|
+
page_size?: number;
|
|
3195
|
+
};
|
|
3196
|
+
url: '/user/requests/{identifier}/refunds/';
|
|
3197
|
+
};
|
|
3198
|
+
|
|
3199
|
+
export type UserRequestsRefundsListResponses = {
|
|
3200
|
+
200: PaginatedRefundListResponse;
|
|
3201
|
+
};
|
|
3202
|
+
|
|
3203
|
+
export type UserRequestsRefundsListResponse = UserRequestsRefundsListResponses[keyof UserRequestsRefundsListResponses];
|
|
3204
|
+
|
|
3205
|
+
export type UserRequestsRefundsCreateData = {
|
|
3206
|
+
body: CreateRefundWritable;
|
|
3207
|
+
path: {
|
|
3208
|
+
identifier: string;
|
|
3209
|
+
};
|
|
3210
|
+
query?: never;
|
|
3211
|
+
url: '/user/requests/{identifier}/refunds/';
|
|
3212
|
+
};
|
|
3213
|
+
|
|
3214
|
+
export type UserRequestsRefundsCreateResponses = {
|
|
3215
|
+
201: CreateRefundResponse;
|
|
3216
|
+
};
|
|
3217
|
+
|
|
3218
|
+
export type UserRequestsRefundsCreateResponse = UserRequestsRefundsCreateResponses[keyof UserRequestsRefundsCreateResponses];
|
|
3219
|
+
|
|
3220
|
+
export type UserRequestsTransactionsListData = {
|
|
3221
|
+
body?: never;
|
|
3222
|
+
path: {
|
|
3223
|
+
identifier: string;
|
|
3224
|
+
};
|
|
3225
|
+
query?: {
|
|
3226
|
+
/**
|
|
3227
|
+
* A page number within the paginated result set.
|
|
3228
|
+
*/
|
|
3229
|
+
page?: number;
|
|
3230
|
+
/**
|
|
3231
|
+
* Number of results to return per page.
|
|
3232
|
+
*/
|
|
3233
|
+
page_size?: number;
|
|
3234
|
+
};
|
|
3235
|
+
url: '/user/requests/{identifier}/transactions/';
|
|
3236
|
+
};
|
|
3237
|
+
|
|
3238
|
+
export type UserRequestsTransactionsListResponses = {
|
|
3239
|
+
200: PaginatedRequestTransactionListResponse;
|
|
3240
|
+
};
|
|
3241
|
+
|
|
3242
|
+
export type UserRequestsTransactionsListResponse = UserRequestsTransactionsListResponses[keyof UserRequestsTransactionsListResponses];
|
|
3243
|
+
|
|
3244
|
+
export type UserWebhooksListData = {
|
|
3245
|
+
body?: never;
|
|
3246
|
+
path?: never;
|
|
3247
|
+
query?: {
|
|
3248
|
+
/**
|
|
3249
|
+
* A page number within the paginated result set.
|
|
3250
|
+
*/
|
|
3251
|
+
page?: number;
|
|
3252
|
+
/**
|
|
3253
|
+
* Number of results to return per page.
|
|
3254
|
+
*/
|
|
3255
|
+
page_size?: number;
|
|
3256
|
+
};
|
|
3257
|
+
url: '/user/webhooks/';
|
|
3258
|
+
};
|
|
3259
|
+
|
|
3260
|
+
export type UserWebhooksListResponses = {
|
|
3261
|
+
200: PaginatedWebhookListResponse;
|
|
3262
|
+
};
|
|
3263
|
+
|
|
3264
|
+
export type UserWebhooksListResponse = UserWebhooksListResponses[keyof UserWebhooksListResponses];
|
|
3265
|
+
|
|
3266
|
+
export type UserWebhooksCreateData = {
|
|
3267
|
+
body: WebhookWritable;
|
|
3268
|
+
path?: never;
|
|
3269
|
+
query?: never;
|
|
3270
|
+
url: '/user/webhooks/';
|
|
3271
|
+
};
|
|
3272
|
+
|
|
3273
|
+
export type UserWebhooksCreateResponses = {
|
|
3274
|
+
201: WebhookResponse;
|
|
3275
|
+
};
|
|
3276
|
+
|
|
3277
|
+
export type UserWebhooksCreateResponse = UserWebhooksCreateResponses[keyof UserWebhooksCreateResponses];
|
|
3278
|
+
|
|
3279
|
+
export type UserWebhooksDestroyData = {
|
|
3280
|
+
body?: never;
|
|
3281
|
+
path: {
|
|
3282
|
+
identifier: string;
|
|
3283
|
+
};
|
|
3284
|
+
query?: never;
|
|
3285
|
+
url: '/user/webhooks/{identifier}/';
|
|
3286
|
+
};
|
|
3287
|
+
|
|
3288
|
+
export type UserWebhooksDestroyResponses = {
|
|
3289
|
+
200: WebhookResponse;
|
|
3290
|
+
};
|
|
3291
|
+
|
|
3292
|
+
export type UserWebhooksDestroyResponse = UserWebhooksDestroyResponses[keyof UserWebhooksDestroyResponses];
|
|
3293
|
+
|
|
3294
|
+
export type UserWebhooksRetrieveData = {
|
|
3295
|
+
body?: never;
|
|
3296
|
+
path: {
|
|
3297
|
+
identifier: string;
|
|
3298
|
+
};
|
|
3299
|
+
query?: never;
|
|
3300
|
+
url: '/user/webhooks/{identifier}/';
|
|
3301
|
+
};
|
|
3302
|
+
|
|
3303
|
+
export type UserWebhooksRetrieveResponses = {
|
|
3304
|
+
200: WebhookResponse;
|
|
3305
|
+
};
|
|
3306
|
+
|
|
3307
|
+
export type UserWebhooksRetrieveResponse = UserWebhooksRetrieveResponses[keyof UserWebhooksRetrieveResponses];
|
|
3308
|
+
|
|
3309
|
+
export type UserWebhooksPartialUpdateData = {
|
|
3310
|
+
body?: PatchedWebhookWritable;
|
|
3311
|
+
path: {
|
|
3312
|
+
identifier: string;
|
|
3313
|
+
};
|
|
3314
|
+
query?: never;
|
|
3315
|
+
url: '/user/webhooks/{identifier}/';
|
|
3316
|
+
};
|
|
3317
|
+
|
|
3318
|
+
export type UserWebhooksPartialUpdateResponses = {
|
|
3319
|
+
200: WebhookResponse;
|
|
3320
|
+
};
|
|
3321
|
+
|
|
3322
|
+
export type UserWebhooksPartialUpdateResponse = UserWebhooksPartialUpdateResponses[keyof UserWebhooksPartialUpdateResponses];
|
|
3323
|
+
|
|
3324
|
+
export type UserWebhooksUpdateData = {
|
|
3325
|
+
body: WebhookWritable;
|
|
3326
|
+
path: {
|
|
3327
|
+
identifier: string;
|
|
3328
|
+
};
|
|
3329
|
+
query?: never;
|
|
3330
|
+
url: '/user/webhooks/{identifier}/';
|
|
3331
|
+
};
|
|
3332
|
+
|
|
3333
|
+
export type UserWebhooksUpdateResponses = {
|
|
3334
|
+
200: WebhookResponse;
|
|
3335
|
+
};
|
|
3336
|
+
|
|
3337
|
+
export type UserWebhooksUpdateResponse = UserWebhooksUpdateResponses[keyof UserWebhooksUpdateResponses];
|
|
3338
|
+
|
|
3339
|
+
export type WebhookCreateData = {
|
|
3340
|
+
body: RehiveWebhook;
|
|
3341
|
+
path?: never;
|
|
3342
|
+
query?: never;
|
|
3343
|
+
url: '/webhook/';
|
|
3344
|
+
};
|
|
3345
|
+
|
|
3346
|
+
export type WebhookCreateResponses = {
|
|
3347
|
+
200: ActionResponse;
|
|
3348
|
+
};
|
|
3349
|
+
|
|
3350
|
+
export type WebhookCreateResponse = WebhookCreateResponses[keyof WebhookCreateResponses];
|
|
3351
|
+
|
|
3352
|
+
export type WebhooksRehiveTransactionExecutedCreateData = {
|
|
3353
|
+
body: RehiveWebhook;
|
|
3354
|
+
path?: never;
|
|
3355
|
+
query?: never;
|
|
3356
|
+
url: '/webhooks/rehive_transaction/executed/';
|
|
3357
|
+
};
|
|
3358
|
+
|
|
3359
|
+
export type WebhooksRehiveTransactionExecutedCreateResponses = {
|
|
3360
|
+
200: ActionResponse;
|
|
3361
|
+
};
|
|
3362
|
+
|
|
3363
|
+
export type WebhooksRehiveTransactionExecutedCreateResponse = WebhooksRehiveTransactionExecutedCreateResponses[keyof WebhooksRehiveTransactionExecutedCreateResponses];
|
|
3364
|
+
|
|
3365
|
+
export type WebhooksRehiveTransactionInitiatedCreateData = {
|
|
3366
|
+
body: RehiveWebhook;
|
|
3367
|
+
path?: never;
|
|
3368
|
+
query?: never;
|
|
3369
|
+
url: '/webhooks/rehive_transaction/initiated/';
|
|
3370
|
+
};
|
|
3371
|
+
|
|
3372
|
+
export type WebhooksRehiveTransactionInitiatedCreateResponses = {
|
|
3373
|
+
200: ActionResponse;
|
|
3374
|
+
};
|
|
3375
|
+
|
|
3376
|
+
export type WebhooksRehiveTransactionInitiatedCreateResponse = WebhooksRehiveTransactionInitiatedCreateResponses[keyof WebhooksRehiveTransactionInitiatedCreateResponses];
|
|
3377
|
+
|
|
3378
|
+
export type WebhooksRehiveUserCreateCreateData = {
|
|
3379
|
+
body: RehiveWebhook;
|
|
3380
|
+
path?: never;
|
|
3381
|
+
query?: never;
|
|
3382
|
+
url: '/webhooks/rehive_user/create/';
|
|
3383
|
+
};
|
|
3384
|
+
|
|
3385
|
+
export type WebhooksRehiveUserCreateCreateResponses = {
|
|
3386
|
+
200: ActionResponse;
|
|
3387
|
+
};
|
|
3388
|
+
|
|
3389
|
+
export type WebhooksRehiveUserCreateCreateResponse = WebhooksRehiveUserCreateCreateResponses[keyof WebhooksRehiveUserCreateCreateResponses];
|
|
3390
|
+
|
|
3391
|
+
export type WebhooksRehiveUserEmailUpdateCreateData = {
|
|
3392
|
+
body: RehiveWebhook;
|
|
3393
|
+
path?: never;
|
|
3394
|
+
query?: never;
|
|
3395
|
+
url: '/webhooks/rehive_user/email_update/';
|
|
3396
|
+
};
|
|
3397
|
+
|
|
3398
|
+
export type WebhooksRehiveUserEmailUpdateCreateResponses = {
|
|
3399
|
+
200: ActionResponse;
|
|
3400
|
+
};
|
|
3401
|
+
|
|
3402
|
+
export type WebhooksRehiveUserEmailUpdateCreateResponse = WebhooksRehiveUserEmailUpdateCreateResponses[keyof WebhooksRehiveUserEmailUpdateCreateResponses];
|
|
3403
|
+
|
|
3404
|
+
export type WebhooksRehiveUserUpdateCreateData = {
|
|
3405
|
+
body: RehiveWebhook;
|
|
3406
|
+
path?: never;
|
|
3407
|
+
query?: never;
|
|
3408
|
+
url: '/webhooks/rehive_user/update/';
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
export type WebhooksRehiveUserUpdateCreateResponses = {
|
|
3412
|
+
200: ActionResponse;
|
|
3413
|
+
};
|
|
3414
|
+
|
|
3415
|
+
export type WebhooksRehiveUserUpdateCreateResponse = WebhooksRehiveUserUpdateCreateResponses[keyof WebhooksRehiveUserUpdateCreateResponses];
|