rehive 4.2.2 → 4.3.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/dist/admin.d.mts +2003 -539
- package/dist/admin.d.ts +2003 -539
- package/dist/admin.js +1 -1
- package/dist/admin.mjs +1 -1
- package/dist/auth.d.mts +2 -2
- package/dist/auth.d.ts +2 -2
- package/dist/auth.js +1 -1
- package/dist/auth.mjs +1 -1
- package/dist/chunk-HSNZ57ET.mjs +6 -0
- package/dist/{chunk-BAUHEOL5.mjs → chunk-KOUIKOXX.mjs} +1 -1
- package/dist/chunk-M6Z3PA5D.js +6 -0
- package/dist/{chunk-HXAEBUQM.js → chunk-MAMZSYFF.js} +1 -1
- package/dist/{chunk-647XG2KN.js → chunk-OP7MQ6KX.js} +1 -1
- package/dist/{chunk-A53KSFBA.mjs → chunk-QKHQP5JT.mjs} +1 -1
- package/dist/chunk-WNBM6WBC.mjs +6 -0
- package/dist/chunk-YPGO2Y5R.js +6 -0
- package/dist/{create-api-client-DzUaFuXN.d.ts → create-api-client-C02JVdcx.d.ts} +1 -1
- package/dist/{create-api-client-JpNvOfh9.d.mts → create-api-client-DvXFNRl7.d.mts} +1 -1
- package/dist/{create-auth-D-3te_Jw.d.mts → create-auth-9l3wfvKL.d.mts} +816 -234
- package/dist/{create-auth-D-3te_Jw.d.ts → create-auth-9l3wfvKL.d.ts} +816 -234
- package/dist/extensions/alchemy.d.mts +288 -34
- package/dist/extensions/alchemy.d.ts +288 -34
- package/dist/extensions/alchemy.js +5 -5
- package/dist/extensions/alchemy.mjs +5 -5
- package/dist/extensions/app.d.mts +67 -54
- package/dist/extensions/app.d.ts +67 -54
- package/dist/extensions/app.js +5 -5
- package/dist/extensions/app.mjs +5 -5
- package/dist/extensions/billing.d.mts +32 -19
- package/dist/extensions/billing.d.ts +32 -19
- package/dist/extensions/billing.js +5 -5
- package/dist/extensions/billing.mjs +5 -5
- package/dist/extensions/bridge.d.mts +120 -74
- package/dist/extensions/bridge.d.ts +120 -74
- package/dist/extensions/bridge.js +5 -5
- package/dist/extensions/bridge.mjs +5 -5
- package/dist/extensions/builder.d.mts +24 -11
- package/dist/extensions/builder.d.ts +24 -11
- package/dist/extensions/builder.js +5 -5
- package/dist/extensions/builder.mjs +5 -5
- package/dist/extensions/business.d.mts +206 -102
- package/dist/extensions/business.d.ts +206 -102
- package/dist/extensions/business.js +5 -5
- package/dist/extensions/business.mjs +5 -5
- package/dist/extensions/conversion.d.mts +79 -66
- package/dist/extensions/conversion.d.ts +79 -66
- package/dist/extensions/conversion.js +5 -5
- package/dist/extensions/conversion.mjs +5 -5
- package/dist/extensions/mass-send.d.mts +43 -30
- package/dist/extensions/mass-send.d.ts +43 -30
- package/dist/extensions/mass-send.js +5 -5
- package/dist/extensions/mass-send.mjs +5 -5
- package/dist/extensions/mukuru.d.mts +1068 -0
- package/dist/extensions/mukuru.d.ts +1068 -0
- package/dist/extensions/mukuru.js +6 -0
- package/dist/extensions/mukuru.mjs +6 -0
- package/dist/extensions/notifications.d.mts +60 -47
- package/dist/extensions/notifications.d.ts +60 -47
- package/dist/extensions/notifications.js +5 -5
- package/dist/extensions/notifications.mjs +5 -5
- package/dist/extensions/payment-requests.d.mts +96 -83
- package/dist/extensions/payment-requests.d.ts +96 -83
- package/dist/extensions/payment-requests.js +5 -5
- package/dist/extensions/payment-requests.mjs +5 -5
- package/dist/extensions/products.d.mts +260 -247
- package/dist/extensions/products.d.ts +260 -247
- package/dist/extensions/products.js +5 -5
- package/dist/extensions/products.mjs +5 -5
- package/dist/extensions/rain.d.mts +121 -34
- package/dist/extensions/rain.d.ts +121 -34
- package/dist/extensions/rain.js +5 -5
- package/dist/extensions/rain.mjs +5 -5
- package/dist/extensions/rewards.d.mts +49 -36
- package/dist/extensions/rewards.d.ts +49 -36
- package/dist/extensions/rewards.js +5 -5
- package/dist/extensions/rewards.mjs +5 -5
- package/dist/extensions/stellar-testnet.d.mts +120 -107
- package/dist/extensions/stellar-testnet.d.ts +120 -107
- package/dist/extensions/stellar-testnet.js +5 -5
- package/dist/extensions/stellar-testnet.mjs +5 -5
- package/dist/extensions/stellar.d.mts +120 -107
- package/dist/extensions/stellar.d.ts +120 -107
- package/dist/extensions/stellar.js +5 -5
- package/dist/extensions/stellar.mjs +5 -5
- package/dist/extensions/sumsub.d.mts +1309 -0
- package/dist/extensions/sumsub.d.ts +1309 -0
- package/dist/extensions/sumsub.js +6 -0
- package/dist/extensions/sumsub.mjs +6 -0
- package/dist/index.d.mts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/index.mjs +1 -1
- package/dist/react.d.mts +2 -2
- package/dist/react.d.ts +2 -2
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +229 -216
- package/dist/user.d.ts +229 -216
- package/dist/user.js +1 -1
- package/dist/user.mjs +1 -1
- package/package.json +12 -2
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/alchemy/openapi-ts/client/index.ts +1 -0
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/alchemy/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/alchemy/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/alchemy/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/alchemy/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/alchemy/openapi-ts/index.ts +2 -2
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +60 -28
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +258 -1
- package/src/extensions/app/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/app/openapi-ts/client/index.ts +1 -0
- package/src/extensions/app/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/app/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/app/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/app/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/app/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/app/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/app/openapi-ts/sdk.gen.ts +264 -92
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/billing/openapi-ts/client/index.ts +1 -0
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/billing/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/billing/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/billing/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/billing/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +14 -14
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/bridge/openapi-ts/client/index.ts +1 -0
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/bridge/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/bridge/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/bridge/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/bridge/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/bridge/openapi-ts/index.ts +1 -1
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +60 -60
- package/src/extensions/bridge/openapi-ts/types.gen.ts +44 -9
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/builder/openapi-ts/client/index.ts +1 -0
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/builder/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/builder/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/builder/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/builder/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +6 -6
- package/src/extensions/business/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/business/openapi-ts/client/index.ts +1 -0
- package/src/extensions/business/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/business/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/business/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/business/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/business/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/business/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/business/openapi-ts/index.ts +1 -1
- package/src/extensions/business/openapi-ts/sdk.gen.ts +85 -85
- package/src/extensions/business/openapi-ts/types.gen.ts +104 -11
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/conversion/openapi-ts/client/index.ts +1 -0
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/conversion/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/conversion/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/conversion/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/conversion/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +61 -61
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/mass-send/openapi-ts/client/index.ts +1 -0
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/mass-send/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/mass-send/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/mass-send/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/mass-send/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +25 -25
- package/src/extensions/mukuru/create-api.ts +13 -0
- package/src/extensions/mukuru/index.ts +3 -0
- package/src/extensions/mukuru/openapi-ts/client/client.gen.ts +277 -0
- package/src/extensions/mukuru/openapi-ts/client/index.ts +26 -0
- package/src/extensions/mukuru/openapi-ts/client/types.gen.ts +218 -0
- package/src/extensions/mukuru/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/mukuru/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/mukuru/openapi-ts/core/auth.gen.ts +48 -0
- package/src/extensions/mukuru/openapi-ts/core/bodySerializer.gen.ts +82 -0
- package/src/extensions/mukuru/openapi-ts/core/params.gen.ts +171 -0
- package/src/extensions/mukuru/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/mukuru/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/mukuru/openapi-ts/core/serverSentEvents.gen.ts +242 -0
- package/src/extensions/mukuru/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/mukuru/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/mukuru/openapi-ts/index.ts +4 -0
- package/src/extensions/mukuru/openapi-ts/sdk.gen.ts +170 -0
- package/src/extensions/mukuru/openapi-ts/types.gen.ts +778 -0
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/notifications/openapi-ts/client/index.ts +1 -0
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/notifications/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/notifications/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/notifications/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/notifications/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +42 -42
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/payment-requests/openapi-ts/client/index.ts +1 -0
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/payment-requests/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/payment-requests/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/payment-requests/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/payment-requests/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +78 -78
- package/src/extensions/products/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/products/openapi-ts/client/index.ts +1 -0
- package/src/extensions/products/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/products/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/products/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/products/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/products/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/products/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/products/openapi-ts/sdk.gen.ts +242 -242
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/rain/openapi-ts/client/index.ts +1 -0
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/rain/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/rain/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/rain/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/rain/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/rain/openapi-ts/index.ts +2 -2
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +34 -28
- package/src/extensions/rain/openapi-ts/types.gen.ts +79 -0
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/rewards/openapi-ts/client/index.ts +1 -0
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/rewards/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/rewards/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/rewards/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/rewards/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +31 -31
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/stellar/openapi-ts/client/index.ts +1 -0
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/stellar/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/stellar/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/stellar/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/stellar/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +102 -102
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +112 -133
- package/src/extensions/stellar-testnet/openapi-ts/client/index.ts +1 -0
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +7 -4
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +12 -12
- package/src/extensions/stellar-testnet/openapi-ts/client.gen.ts +2 -2
- package/src/extensions/stellar-testnet/openapi-ts/core/auth.gen.ts +7 -0
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +14 -12
- package/src/extensions/stellar-testnet/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/extensions/stellar-testnet/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +4 -4
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +102 -102
- package/src/extensions/sumsub/create-api.ts +13 -0
- package/src/extensions/sumsub/index.ts +3 -0
- package/src/extensions/sumsub/openapi-ts/client/client.gen.ts +277 -0
- package/src/extensions/sumsub/openapi-ts/client/index.ts +26 -0
- package/src/extensions/sumsub/openapi-ts/client/types.gen.ts +218 -0
- package/src/extensions/sumsub/openapi-ts/client/utils.gen.ts +316 -0
- package/src/extensions/sumsub/openapi-ts/client.gen.ts +16 -0
- package/src/extensions/sumsub/openapi-ts/core/auth.gen.ts +48 -0
- package/src/extensions/sumsub/openapi-ts/core/bodySerializer.gen.ts +82 -0
- package/src/extensions/sumsub/openapi-ts/core/params.gen.ts +171 -0
- package/src/extensions/sumsub/openapi-ts/core/pathSerializer.gen.ts +171 -0
- package/src/extensions/sumsub/openapi-ts/core/queryKeySerializer.gen.ts +117 -0
- package/src/extensions/sumsub/openapi-ts/core/serverSentEvents.gen.ts +242 -0
- package/src/extensions/sumsub/openapi-ts/core/types.gen.ts +104 -0
- package/src/extensions/sumsub/openapi-ts/core/utils.gen.ts +140 -0
- package/src/extensions/sumsub/openapi-ts/index.ts +4 -0
- package/src/extensions/sumsub/openapi-ts/sdk.gen.ts +225 -0
- package/src/extensions/sumsub/openapi-ts/types.gen.ts +1039 -0
- package/src/platform/admin/openapi-ts/client/client.gen.ts +112 -133
- package/src/platform/admin/openapi-ts/client/index.ts +1 -0
- package/src/platform/admin/openapi-ts/client/types.gen.ts +7 -4
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +12 -12
- package/src/platform/admin/openapi-ts/client.gen.ts +2 -2
- package/src/platform/admin/openapi-ts/core/auth.gen.ts +7 -0
- package/src/platform/admin/openapi-ts/core/params.gen.ts +14 -12
- package/src/platform/admin/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/platform/admin/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +4 -4
- package/src/platform/admin/openapi-ts/index.ts +2 -2
- package/src/platform/admin/openapi-ts/sdk.gen.ts +481 -372
- package/src/platform/admin/openapi-ts/types.gen.ts +1651 -150
- package/src/platform/user/openapi-ts/client/client.gen.ts +112 -133
- package/src/platform/user/openapi-ts/client/index.ts +1 -0
- package/src/platform/user/openapi-ts/client/types.gen.ts +7 -4
- package/src/platform/user/openapi-ts/client/utils.gen.ts +12 -12
- package/src/platform/user/openapi-ts/client.gen.ts +2 -2
- package/src/platform/user/openapi-ts/core/auth.gen.ts +7 -0
- package/src/platform/user/openapi-ts/core/params.gen.ts +14 -12
- package/src/platform/user/openapi-ts/core/pathSerializer.gen.ts +6 -6
- package/src/platform/user/openapi-ts/core/queryKeySerializer.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/utils.gen.ts +4 -4
- package/src/platform/user/openapi-ts/index.ts +1 -1
- package/src/platform/user/openapi-ts/sdk.gen.ts +1101 -389
- package/src/platform/user/openapi-ts/types.gen.ts +818 -230
- package/dist/chunk-CRNPJD3E.js +0 -6
- package/dist/chunk-IJBXROTB.mjs +0 -6
- package/dist/chunk-TAABJLJG.mjs +0 -6
- package/dist/chunk-Y33FT632.js +0 -6
|
@@ -344,6 +344,9 @@ export type AdminAccountAssetLimit = {
|
|
|
344
344
|
readonly created: number;
|
|
345
345
|
readonly updated: number;
|
|
346
346
|
readonly archived: boolean | null;
|
|
347
|
+
metadata?: {
|
|
348
|
+
[key: string]: unknown;
|
|
349
|
+
} | null;
|
|
347
350
|
};
|
|
348
351
|
|
|
349
352
|
export type AdminAccountAssetLimitResponse = {
|
|
@@ -427,6 +430,7 @@ export type AdminAlert = {
|
|
|
427
430
|
readonly transaction: string | null;
|
|
428
431
|
user: ReducedUserInfo;
|
|
429
432
|
author: ReducedUserInfo;
|
|
433
|
+
policy: ReducedPolicy | null;
|
|
430
434
|
name: string;
|
|
431
435
|
description?: string | null;
|
|
432
436
|
/**
|
|
@@ -452,6 +456,9 @@ export type AdminAlert = {
|
|
|
452
456
|
archived?: boolean;
|
|
453
457
|
readonly created: string;
|
|
454
458
|
readonly updated: string;
|
|
459
|
+
actions?: Array<{
|
|
460
|
+
[key: string]: unknown;
|
|
461
|
+
}>;
|
|
455
462
|
};
|
|
456
463
|
|
|
457
464
|
/**
|
|
@@ -1361,12 +1368,9 @@ export type AdminCompanyWalletAccount = {
|
|
|
1361
1368
|
email?: string | null;
|
|
1362
1369
|
mobile?: string | null;
|
|
1363
1370
|
name?: string | null;
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
* * `other` - Other
|
|
1368
|
-
*/
|
|
1369
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
1371
|
+
type?: string | null;
|
|
1372
|
+
payment_method?: string | null;
|
|
1373
|
+
owner?: WalletOwner | null;
|
|
1370
1374
|
wallet_currency?: string | null;
|
|
1371
1375
|
metadata?: {
|
|
1372
1376
|
[key: string]: unknown;
|
|
@@ -1415,12 +1419,9 @@ export type AdminCompanyWalletAccountRequest = {
|
|
|
1415
1419
|
email?: string | null;
|
|
1416
1420
|
mobile?: string | null;
|
|
1417
1421
|
name?: string | null;
|
|
1418
|
-
|
|
1419
|
-
|
|
1420
|
-
|
|
1421
|
-
* * `other` - Other
|
|
1422
|
-
*/
|
|
1423
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
1422
|
+
type?: string | null;
|
|
1423
|
+
payment_method?: string | null;
|
|
1424
|
+
owner?: WalletOwnerRequest | null;
|
|
1424
1425
|
wallet_currency?: string | null;
|
|
1425
1426
|
metadata?: {
|
|
1426
1427
|
[key: string]: unknown;
|
|
@@ -1480,6 +1481,9 @@ export type AdminCreateAccountAccountAssetFeeRequest = {
|
|
|
1480
1481
|
export type AdminCreateAccountAccountAssetLimitRequest = {
|
|
1481
1482
|
begin?: number | null;
|
|
1482
1483
|
end?: number | null;
|
|
1484
|
+
metadata?: {
|
|
1485
|
+
[key: string]: unknown;
|
|
1486
|
+
} | null;
|
|
1483
1487
|
};
|
|
1484
1488
|
|
|
1485
1489
|
export type AdminCreateAccountAccountAssetRequest = {
|
|
@@ -1532,10 +1536,9 @@ export type AdminCreateAccountRequest = {
|
|
|
1532
1536
|
};
|
|
1533
1537
|
|
|
1534
1538
|
/**
|
|
1535
|
-
*
|
|
1536
|
-
*
|
|
1537
|
-
*
|
|
1538
|
-
* values with complex, nested serializations
|
|
1539
|
+
* Detail-endpoint serializer. Same response shape as the base; adds the
|
|
1540
|
+
* row-locking update() needed when appending actions on PATCH. Extend
|
|
1541
|
+
* here (not on the base) to add fields that should not appear on list.
|
|
1539
1542
|
*/
|
|
1540
1543
|
export type AdminCreateAlertRequest = {
|
|
1541
1544
|
name: string;
|
|
@@ -1838,6 +1841,9 @@ export type AdminCreateGroupFeeRequest = {
|
|
|
1838
1841
|
export type AdminCreateGroupLimitRequest = {
|
|
1839
1842
|
begin?: number | null;
|
|
1840
1843
|
end?: number | null;
|
|
1844
|
+
metadata?: {
|
|
1845
|
+
[key: string]: unknown;
|
|
1846
|
+
} | null;
|
|
1841
1847
|
};
|
|
1842
1848
|
|
|
1843
1849
|
export type AdminCreateGroupPermissionRequest = {
|
|
@@ -1894,6 +1900,9 @@ export type AdminCreateGroupTierFeeRequest = {
|
|
|
1894
1900
|
export type AdminCreateGroupTierLimitRequest = {
|
|
1895
1901
|
begin?: number | null;
|
|
1896
1902
|
end?: number | null;
|
|
1903
|
+
metadata?: {
|
|
1904
|
+
[key: string]: unknown;
|
|
1905
|
+
} | null;
|
|
1897
1906
|
};
|
|
1898
1907
|
|
|
1899
1908
|
/**
|
|
@@ -1944,6 +1953,62 @@ export type AdminCreateMultiUserPermissionRequest = {
|
|
|
1944
1953
|
[key: string]: unknown;
|
|
1945
1954
|
};
|
|
1946
1955
|
|
|
1956
|
+
/**
|
|
1957
|
+
* A ModelSerializer that takes additional arguments for
|
|
1958
|
+
* "fields", "omit" and "expand" in order to
|
|
1959
|
+
* control which fields are displayed, and whether to replace simple
|
|
1960
|
+
* values with complex, nested serializations
|
|
1961
|
+
*/
|
|
1962
|
+
export type AdminCreatePolicyEffectRequest = {
|
|
1963
|
+
/**
|
|
1964
|
+
* * `create_account_asset_limit` - Create Account Asset Limit
|
|
1965
|
+
* * `disable_user_transactions` - Disable User Transactions
|
|
1966
|
+
* * `disable_user_transaction_type` - Disable User Transaction Type
|
|
1967
|
+
* * `create_user_message` - Create User Message
|
|
1968
|
+
* * `create_transaction_message` - Create Transaction Message
|
|
1969
|
+
* * `create_user_alert` - Create User Alert
|
|
1970
|
+
* * `create_transaction_alert` - Create Transaction Alert
|
|
1971
|
+
*/
|
|
1972
|
+
type: 'create_account_asset_limit' | 'disable_user_transactions' | 'disable_user_transaction_type' | 'create_user_message' | 'create_transaction_message' | 'create_user_alert' | 'create_transaction_alert';
|
|
1973
|
+
label?: string | null;
|
|
1974
|
+
params?: {
|
|
1975
|
+
[key: string]: unknown;
|
|
1976
|
+
};
|
|
1977
|
+
};
|
|
1978
|
+
|
|
1979
|
+
/**
|
|
1980
|
+
* A ModelSerializer that takes additional arguments for
|
|
1981
|
+
* "fields", "omit" and "expand" in order to
|
|
1982
|
+
* control which fields are displayed, and whether to replace simple
|
|
1983
|
+
* values with complex, nested serializations
|
|
1984
|
+
*/
|
|
1985
|
+
export type AdminCreatePolicyRequest = {
|
|
1986
|
+
/**
|
|
1987
|
+
* * `trigger` - Trigger
|
|
1988
|
+
*/
|
|
1989
|
+
type?: 'trigger';
|
|
1990
|
+
name: string;
|
|
1991
|
+
label?: string | null;
|
|
1992
|
+
description?: string | null;
|
|
1993
|
+
tags?: Array<string> | null;
|
|
1994
|
+
/**
|
|
1995
|
+
* * `transaction.execute` - Transaction Execute
|
|
1996
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
1997
|
+
* * `user.create` - User Create
|
|
1998
|
+
* * `mobile.create` - Mobile Create
|
|
1999
|
+
* * `mobile.create.conflict` - Mobile Create Conflict
|
|
2000
|
+
* * `device.create` - Device Create
|
|
2001
|
+
*/
|
|
2002
|
+
event: 'transaction.execute' | 'transaction.initiate' | 'user.create' | 'mobile.create' | 'mobile.create.conflict' | 'device.create';
|
|
2003
|
+
condition?: {
|
|
2004
|
+
[key: string]: unknown;
|
|
2005
|
+
} | null;
|
|
2006
|
+
enabled?: boolean;
|
|
2007
|
+
metadata?: {
|
|
2008
|
+
[key: string]: unknown;
|
|
2009
|
+
} | null;
|
|
2010
|
+
};
|
|
2011
|
+
|
|
1947
2012
|
export type AdminCreateServicePermissionRequest = {
|
|
1948
2013
|
permissions: Array<unknown>;
|
|
1949
2014
|
};
|
|
@@ -2016,6 +2081,9 @@ export type AdminCreateTransactionMessageRequest = {
|
|
|
2016
2081
|
*/
|
|
2017
2082
|
level?: 'info' | 'warning' | 'error';
|
|
2018
2083
|
message: string;
|
|
2084
|
+
metadata?: {
|
|
2085
|
+
[key: string]: unknown;
|
|
2086
|
+
} | null;
|
|
2019
2087
|
archived?: boolean;
|
|
2020
2088
|
};
|
|
2021
2089
|
|
|
@@ -3068,6 +3136,9 @@ export type AdminCreateUserMessageRequest = {
|
|
|
3068
3136
|
*/
|
|
3069
3137
|
level?: 'info' | 'warning' | 'error';
|
|
3070
3138
|
message: string;
|
|
3139
|
+
metadata?: {
|
|
3140
|
+
[key: string]: unknown;
|
|
3141
|
+
} | null;
|
|
3071
3142
|
archived?: boolean;
|
|
3072
3143
|
};
|
|
3073
3144
|
|
|
@@ -3113,12 +3184,9 @@ export type AdminCreateUserWalletAccountRequest = {
|
|
|
3113
3184
|
email?: string | null;
|
|
3114
3185
|
mobile?: string | null;
|
|
3115
3186
|
name?: string | null;
|
|
3116
|
-
|
|
3117
|
-
|
|
3118
|
-
|
|
3119
|
-
* * `other` - Other
|
|
3120
|
-
*/
|
|
3121
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
3187
|
+
type?: string | null;
|
|
3188
|
+
payment_method?: string | null;
|
|
3189
|
+
owner?: WalletOwnerRequest | null;
|
|
3122
3190
|
wallet_currency?: string | null;
|
|
3123
3191
|
metadata?: {
|
|
3124
3192
|
[key: string]: unknown;
|
|
@@ -3358,6 +3426,7 @@ export type AdminDocumentType = {
|
|
|
3358
3426
|
name?: string | null;
|
|
3359
3427
|
description?: string | null;
|
|
3360
3428
|
related_resources?: Array<'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount'>;
|
|
3429
|
+
file_rules?: unknown;
|
|
3361
3430
|
metadata?: {
|
|
3362
3431
|
[key: string]: unknown;
|
|
3363
3432
|
} | null;
|
|
@@ -3376,6 +3445,7 @@ export type AdminDocumentTypeRequest = {
|
|
|
3376
3445
|
name?: string | null;
|
|
3377
3446
|
description?: string | null;
|
|
3378
3447
|
related_resources?: Array<'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount'>;
|
|
3448
|
+
file_rules?: unknown;
|
|
3379
3449
|
metadata?: {
|
|
3380
3450
|
[key: string]: unknown;
|
|
3381
3451
|
} | null;
|
|
@@ -3532,16 +3602,16 @@ export type AdminExtendedAccountResponse = {
|
|
|
3532
3602
|
};
|
|
3533
3603
|
|
|
3534
3604
|
/**
|
|
3535
|
-
*
|
|
3536
|
-
*
|
|
3537
|
-
*
|
|
3538
|
-
* values with complex, nested serializations
|
|
3605
|
+
* Detail-endpoint serializer. Same response shape as the base; adds the
|
|
3606
|
+
* row-locking update() needed when appending actions on PATCH. Extend
|
|
3607
|
+
* here (not on the base) to add fields that should not appear on list.
|
|
3539
3608
|
*/
|
|
3540
3609
|
export type AdminExtendedAlert = {
|
|
3541
3610
|
readonly id: string;
|
|
3542
3611
|
readonly transaction: string | null;
|
|
3543
3612
|
user: ReducedUserInfo;
|
|
3544
3613
|
author: ReducedUserInfo;
|
|
3614
|
+
policy: ReducedPolicy | null;
|
|
3545
3615
|
name: string;
|
|
3546
3616
|
description?: string | null;
|
|
3547
3617
|
/**
|
|
@@ -3573,10 +3643,9 @@ export type AdminExtendedAlert = {
|
|
|
3573
3643
|
};
|
|
3574
3644
|
|
|
3575
3645
|
/**
|
|
3576
|
-
*
|
|
3577
|
-
*
|
|
3578
|
-
*
|
|
3579
|
-
* values with complex, nested serializations
|
|
3646
|
+
* Detail-endpoint serializer. Same response shape as the base; adds the
|
|
3647
|
+
* row-locking update() needed when appending actions on PATCH. Extend
|
|
3648
|
+
* here (not on the base) to add fields that should not appear on list.
|
|
3580
3649
|
*/
|
|
3581
3650
|
export type AdminExtendedAlertRequest = {
|
|
3582
3651
|
name: string;
|
|
@@ -3730,6 +3799,7 @@ export type AdminExtendedRequest = {
|
|
|
3730
3799
|
user: ReducedUserInfo;
|
|
3731
3800
|
readonly key: string | null;
|
|
3732
3801
|
readonly token_key: string | null;
|
|
3802
|
+
readonly ip_address: string | null;
|
|
3733
3803
|
readonly scheme: string;
|
|
3734
3804
|
readonly path: string | null;
|
|
3735
3805
|
readonly method: string;
|
|
@@ -3802,6 +3872,9 @@ export type AdminExtendedRequest = {
|
|
|
3802
3872
|
* * `oauthsession` - Oauth Session
|
|
3803
3873
|
* * `oidckey` - Oidc Key
|
|
3804
3874
|
* * `permission` - Permission
|
|
3875
|
+
* * `policy` - Policy
|
|
3876
|
+
* * `policyeffect` - Policy Effect
|
|
3877
|
+
* * `policylog` - Policy Log
|
|
3805
3878
|
* * `recoverycode` - Recovery Code
|
|
3806
3879
|
* * `refresh_token` - Refresh Token
|
|
3807
3880
|
* * `request` - Request
|
|
@@ -3822,11 +3895,12 @@ export type AdminExtendedRequest = {
|
|
|
3822
3895
|
* * `userlegaltermversion` - User Legal Term Version
|
|
3823
3896
|
* * `usermessage` - User Message
|
|
3824
3897
|
* * `userpermission` - User Permission
|
|
3898
|
+
* * `walletowneraddress` - Wallet Owner Address
|
|
3825
3899
|
* * `webhook` - Webhook
|
|
3826
3900
|
* * `webhooktask` - Webhook Task
|
|
3827
3901
|
* * `webhookrequest` - Webhook Request
|
|
3828
3902
|
*/
|
|
3829
|
-
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
3903
|
+
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'policy' | 'policyeffect' | 'policylog' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'walletowneraddress' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
3830
3904
|
readonly resource_id: string | null;
|
|
3831
3905
|
/**
|
|
3832
3906
|
* Return a response object. This has to be unpickled from a stored
|
|
@@ -4695,6 +4769,9 @@ export type AdminGroupLimit = {
|
|
|
4695
4769
|
archived?: boolean;
|
|
4696
4770
|
readonly begin: number;
|
|
4697
4771
|
readonly end: number;
|
|
4772
|
+
metadata?: {
|
|
4773
|
+
[key: string]: unknown;
|
|
4774
|
+
} | null;
|
|
4698
4775
|
readonly created: number;
|
|
4699
4776
|
readonly updated: number;
|
|
4700
4777
|
};
|
|
@@ -4747,15 +4824,17 @@ export type AdminGroupPermission = {
|
|
|
4747
4824
|
* * `notification` - Notification
|
|
4748
4825
|
* * `oauthclient` - Oauth Client
|
|
4749
4826
|
* * `permission` - Permission
|
|
4827
|
+
* * `policy` - Policy
|
|
4750
4828
|
* * `request` - Request
|
|
4751
4829
|
* * `service` - Service
|
|
4752
4830
|
* * `token` - Token
|
|
4753
4831
|
* * `transaction` - Transaction
|
|
4754
4832
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
4755
4833
|
* * `user` - User
|
|
4834
|
+
* * `walletaccount` - Wallet Account
|
|
4756
4835
|
* * `webhook` - Webhook
|
|
4757
4836
|
*/
|
|
4758
|
-
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
4837
|
+
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
4759
4838
|
/**
|
|
4760
4839
|
* * `view` - View
|
|
4761
4840
|
* * `add` - Add
|
|
@@ -4933,6 +5012,9 @@ export type AdminGroupTierLimit = {
|
|
|
4933
5012
|
readonly begin: number;
|
|
4934
5013
|
readonly end: number;
|
|
4935
5014
|
archived?: boolean;
|
|
5015
|
+
metadata?: {
|
|
5016
|
+
[key: string]: unknown;
|
|
5017
|
+
} | null;
|
|
4936
5018
|
readonly created: number;
|
|
4937
5019
|
readonly updated: number;
|
|
4938
5020
|
};
|
|
@@ -5339,13 +5421,36 @@ export type AdminPasswordResetRequest = {
|
|
|
5339
5421
|
* control which fields are displayed, and whether to replace simple
|
|
5340
5422
|
* values with complex, nested serializations
|
|
5341
5423
|
*/
|
|
5342
|
-
export type
|
|
5424
|
+
export type AdminPolicy = {
|
|
5343
5425
|
readonly id: string;
|
|
5344
|
-
|
|
5345
|
-
|
|
5346
|
-
|
|
5347
|
-
|
|
5348
|
-
|
|
5426
|
+
author: ReducedUserInfo;
|
|
5427
|
+
/**
|
|
5428
|
+
* * `trigger` - Trigger
|
|
5429
|
+
*/
|
|
5430
|
+
type?: 'trigger';
|
|
5431
|
+
name: string;
|
|
5432
|
+
label?: string | null;
|
|
5433
|
+
description?: string | null;
|
|
5434
|
+
tags?: Array<string> | null;
|
|
5435
|
+
/**
|
|
5436
|
+
* * `transaction.execute` - Transaction Execute
|
|
5437
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
5438
|
+
* * `user.create` - User Create
|
|
5439
|
+
* * `mobile.create` - Mobile Create
|
|
5440
|
+
* * `mobile.create.conflict` - Mobile Create Conflict
|
|
5441
|
+
* * `device.create` - Device Create
|
|
5442
|
+
*/
|
|
5443
|
+
event: 'transaction.execute' | 'transaction.initiate' | 'user.create' | 'mobile.create' | 'mobile.create.conflict' | 'device.create';
|
|
5444
|
+
condition?: {
|
|
5445
|
+
[key: string]: unknown;
|
|
5446
|
+
} | null;
|
|
5447
|
+
enabled?: boolean;
|
|
5448
|
+
readonly effects: Array<AdminPolicyEffect>;
|
|
5449
|
+
metadata?: {
|
|
5450
|
+
[key: string]: unknown;
|
|
5451
|
+
} | null;
|
|
5452
|
+
readonly created: string;
|
|
5453
|
+
readonly updated: string;
|
|
5349
5454
|
};
|
|
5350
5455
|
|
|
5351
5456
|
/**
|
|
@@ -5354,26 +5459,24 @@ export type AdminReducedAccountAccountAsset = {
|
|
|
5354
5459
|
* control which fields are displayed, and whether to replace simple
|
|
5355
5460
|
* values with complex, nested serializations
|
|
5356
5461
|
*/
|
|
5357
|
-
export type
|
|
5462
|
+
export type AdminPolicyEffect = {
|
|
5358
5463
|
readonly id: string;
|
|
5359
|
-
|
|
5360
|
-
|
|
5361
|
-
|
|
5362
|
-
|
|
5363
|
-
|
|
5364
|
-
|
|
5365
|
-
|
|
5366
|
-
|
|
5367
|
-
|
|
5368
|
-
|
|
5369
|
-
|
|
5370
|
-
|
|
5371
|
-
|
|
5372
|
-
};
|
|
5373
|
-
|
|
5374
|
-
|
|
5375
|
-
status: string;
|
|
5376
|
-
data: AdminReducedAccountAsset;
|
|
5464
|
+
/**
|
|
5465
|
+
* * `create_account_asset_limit` - Create Account Asset Limit
|
|
5466
|
+
* * `disable_user_transactions` - Disable User Transactions
|
|
5467
|
+
* * `disable_user_transaction_type` - Disable User Transaction Type
|
|
5468
|
+
* * `create_user_message` - Create User Message
|
|
5469
|
+
* * `create_transaction_message` - Create Transaction Message
|
|
5470
|
+
* * `create_user_alert` - Create User Alert
|
|
5471
|
+
* * `create_transaction_alert` - Create Transaction Alert
|
|
5472
|
+
*/
|
|
5473
|
+
type: 'create_account_asset_limit' | 'disable_user_transactions' | 'disable_user_transaction_type' | 'create_user_message' | 'create_transaction_message' | 'create_user_alert' | 'create_transaction_alert';
|
|
5474
|
+
label?: string | null;
|
|
5475
|
+
params?: {
|
|
5476
|
+
[key: string]: unknown;
|
|
5477
|
+
};
|
|
5478
|
+
readonly created: string;
|
|
5479
|
+
readonly updated: string;
|
|
5377
5480
|
};
|
|
5378
5481
|
|
|
5379
5482
|
/**
|
|
@@ -5382,15 +5485,26 @@ export type AdminReducedAccountAssetResponse = {
|
|
|
5382
5485
|
* control which fields are displayed, and whether to replace simple
|
|
5383
5486
|
* values with complex, nested serializations
|
|
5384
5487
|
*/
|
|
5385
|
-
export type
|
|
5386
|
-
name: string;
|
|
5387
|
-
label?: string | null;
|
|
5488
|
+
export type AdminPolicyEffectRequest = {
|
|
5388
5489
|
/**
|
|
5389
|
-
* * `
|
|
5390
|
-
* * `
|
|
5391
|
-
* * `
|
|
5490
|
+
* * `create_account_asset_limit` - Create Account Asset Limit
|
|
5491
|
+
* * `disable_user_transactions` - Disable User Transactions
|
|
5492
|
+
* * `disable_user_transaction_type` - Disable User Transaction Type
|
|
5493
|
+
* * `create_user_message` - Create User Message
|
|
5494
|
+
* * `create_transaction_message` - Create Transaction Message
|
|
5495
|
+
* * `create_user_alert` - Create User Alert
|
|
5496
|
+
* * `create_transaction_alert` - Create Transaction Alert
|
|
5392
5497
|
*/
|
|
5393
|
-
|
|
5498
|
+
type: 'create_account_asset_limit' | 'disable_user_transactions' | 'disable_user_transaction_type' | 'create_user_message' | 'create_transaction_message' | 'create_user_alert' | 'create_transaction_alert';
|
|
5499
|
+
label?: string | null;
|
|
5500
|
+
params?: {
|
|
5501
|
+
[key: string]: unknown;
|
|
5502
|
+
};
|
|
5503
|
+
};
|
|
5504
|
+
|
|
5505
|
+
export type AdminPolicyEffectResponse = {
|
|
5506
|
+
status: string;
|
|
5507
|
+
data: AdminPolicyEffect;
|
|
5394
5508
|
};
|
|
5395
5509
|
|
|
5396
5510
|
/**
|
|
@@ -5399,11 +5513,108 @@ export type AdminReducedGroup = {
|
|
|
5399
5513
|
* control which fields are displayed, and whether to replace simple
|
|
5400
5514
|
* values with complex, nested serializations
|
|
5401
5515
|
*/
|
|
5402
|
-
export type
|
|
5403
|
-
readonly id:
|
|
5404
|
-
|
|
5405
|
-
|
|
5406
|
-
|
|
5516
|
+
export type AdminPolicyLog = {
|
|
5517
|
+
readonly id: string;
|
|
5518
|
+
policy: ReducedPolicy;
|
|
5519
|
+
/**
|
|
5520
|
+
* * `accesscontrolrule` - Access Control Rule
|
|
5521
|
+
* * `account` - Account
|
|
5522
|
+
* * `accountcurrency` - Account Currency
|
|
5523
|
+
* * `accountcurrencylimit` - Account Currency Limit
|
|
5524
|
+
* * `accountcurrencyfee` - Account Currency Fee
|
|
5525
|
+
* * `accountdefinition` - Account Definition
|
|
5526
|
+
* * `accountdefinitiongroup` - Account Definition Group
|
|
5527
|
+
* * `accountdefinitiongroupcurrency` - Account Definition Group Currency
|
|
5528
|
+
* * `alert` - Alert
|
|
5529
|
+
* * `currency` - Currency
|
|
5530
|
+
* * `authenticator` - Authenticator
|
|
5531
|
+
* * `authenticatorchallenge` - Authenticator Challenge
|
|
5532
|
+
* * `authenticatorrule` - Authenticator Rule
|
|
5533
|
+
* * `backgroundtask` - Background Task
|
|
5534
|
+
* * `bankowneraddress` - Bank Owner Address
|
|
5535
|
+
* * `bankbranchaddress` - Bank Branch Address
|
|
5536
|
+
* * `company` - Company
|
|
5537
|
+
* * `companyaddress` - Company Address
|
|
5538
|
+
* * `companybankaccount` - Company Bank Account
|
|
5539
|
+
* * `companywalletaccount` - Company Wallet Account
|
|
5540
|
+
* * `companyservice` - Company Service
|
|
5541
|
+
* * `companynotification` - Company Notification
|
|
5542
|
+
* * `device` - Device
|
|
5543
|
+
* * `deviceapp` - Device App
|
|
5544
|
+
* * `document` - Document
|
|
5545
|
+
* * `documenttype` - Document Type
|
|
5546
|
+
* * `export` - Export
|
|
5547
|
+
* * `exportpage` - Export Page
|
|
5548
|
+
* * `email` - Email
|
|
5549
|
+
* * `group` - Group
|
|
5550
|
+
* * `grouplimit` - Group Limit
|
|
5551
|
+
* * `groupfee` - Group Fee
|
|
5552
|
+
* * `grouppermission` - Group Permission
|
|
5553
|
+
* * `grouptier` - Group Tier
|
|
5554
|
+
* * `grouptierrequirement` - Group Tier Requirement
|
|
5555
|
+
* * `grouptierlimit` - Group Tier Limit
|
|
5556
|
+
* * `grouptierfee` - Group Tier Fee
|
|
5557
|
+
* * `grouptierrequirementsetitem` - Group Tier Requirement Set Item
|
|
5558
|
+
* * `grouptierrequirementset` - Group Tier Requirement Set
|
|
5559
|
+
* * `legalterm` - Legal Term
|
|
5560
|
+
* * `legaltermversion` - Legal Term Version
|
|
5561
|
+
* * `metric` - Metric
|
|
5562
|
+
* * `metric_schema` - Metric Schema
|
|
5563
|
+
* * `metric_point` - Metric Point
|
|
5564
|
+
* * `mfa` - Mfa
|
|
5565
|
+
* * `mfasmsdevice` - Mfa Sms Device
|
|
5566
|
+
* * `mfatotpdevice` - Mfa Totp Device
|
|
5567
|
+
* * `mfastaticdevice` - Mfa Static Device
|
|
5568
|
+
* * `mfatokenverification` - Mfa Token Verification
|
|
5569
|
+
* * `mobile` - Mobile
|
|
5570
|
+
* * `mobileconfirmation` - Mobile Confirmation
|
|
5571
|
+
* * `notification` - Notification
|
|
5572
|
+
* * `oauthclient` - Oauth Client
|
|
5573
|
+
* * `oauthlink` - Oauth Link
|
|
5574
|
+
* * `oauthsession` - Oauth Session
|
|
5575
|
+
* * `oidckey` - Oidc Key
|
|
5576
|
+
* * `permission` - Permission
|
|
5577
|
+
* * `policy` - Policy
|
|
5578
|
+
* * `policyeffect` - Policy Effect
|
|
5579
|
+
* * `policylog` - Policy Log
|
|
5580
|
+
* * `recoverycode` - Recovery Code
|
|
5581
|
+
* * `refresh_token` - Refresh Token
|
|
5582
|
+
* * `request` - Request
|
|
5583
|
+
* * `resourcerequirementrule` - Resource Requirement Rule
|
|
5584
|
+
* * `service` - Service
|
|
5585
|
+
* * `statement` - Statement
|
|
5586
|
+
* * `token` - Token
|
|
5587
|
+
* * `transaction` - Transaction
|
|
5588
|
+
* * `transactionfee` - Transaction Fee
|
|
5589
|
+
* * `transactionsubtype` - Transaction Subtype
|
|
5590
|
+
* * `transactionmessage` - Transaction Message
|
|
5591
|
+
* * `transactioncollection` - Transaction Collection
|
|
5592
|
+
* * `user` - User
|
|
5593
|
+
* * `useraddress` - User Address
|
|
5594
|
+
* * `userbankaccount` - User Bank Account
|
|
5595
|
+
* * `userwalletaccount` - User Wallet Account
|
|
5596
|
+
* * `usercryptoaccount` - User Crypto Account
|
|
5597
|
+
* * `userlegaltermversion` - User Legal Term Version
|
|
5598
|
+
* * `usermessage` - User Message
|
|
5599
|
+
* * `userpermission` - User Permission
|
|
5600
|
+
* * `walletowneraddress` - Wallet Owner Address
|
|
5601
|
+
* * `webhook` - Webhook
|
|
5602
|
+
* * `webhooktask` - Webhook Task
|
|
5603
|
+
* * `webhookrequest` - Webhook Request
|
|
5604
|
+
*/
|
|
5605
|
+
readonly resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'policy' | 'policyeffect' | 'policylog' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'walletowneraddress' | 'webhook' | 'webhooktask' | 'webhookrequest';
|
|
5606
|
+
readonly resource_id: string | null;
|
|
5607
|
+
readonly event: string;
|
|
5608
|
+
readonly data: {
|
|
5609
|
+
[key: string]: unknown;
|
|
5610
|
+
};
|
|
5611
|
+
readonly errors: Array<string>;
|
|
5612
|
+
readonly created: string;
|
|
5613
|
+
};
|
|
5614
|
+
|
|
5615
|
+
export type AdminPolicyLogResponse = {
|
|
5616
|
+
status: string;
|
|
5617
|
+
data: AdminPolicyLog;
|
|
5407
5618
|
};
|
|
5408
5619
|
|
|
5409
5620
|
/**
|
|
@@ -5412,7 +5623,118 @@ export type AdminReducedLegalTermVersion = {
|
|
|
5412
5623
|
* control which fields are displayed, and whether to replace simple
|
|
5413
5624
|
* values with complex, nested serializations
|
|
5414
5625
|
*/
|
|
5415
|
-
export type
|
|
5626
|
+
export type AdminPolicyRequest = {
|
|
5627
|
+
/**
|
|
5628
|
+
* * `trigger` - Trigger
|
|
5629
|
+
*/
|
|
5630
|
+
type?: 'trigger';
|
|
5631
|
+
name: string;
|
|
5632
|
+
label?: string | null;
|
|
5633
|
+
description?: string | null;
|
|
5634
|
+
tags?: Array<string> | null;
|
|
5635
|
+
/**
|
|
5636
|
+
* * `transaction.execute` - Transaction Execute
|
|
5637
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
5638
|
+
* * `user.create` - User Create
|
|
5639
|
+
* * `mobile.create` - Mobile Create
|
|
5640
|
+
* * `mobile.create.conflict` - Mobile Create Conflict
|
|
5641
|
+
* * `device.create` - Device Create
|
|
5642
|
+
*/
|
|
5643
|
+
event: 'transaction.execute' | 'transaction.initiate' | 'user.create' | 'mobile.create' | 'mobile.create.conflict' | 'device.create';
|
|
5644
|
+
condition?: {
|
|
5645
|
+
[key: string]: unknown;
|
|
5646
|
+
} | null;
|
|
5647
|
+
enabled?: boolean;
|
|
5648
|
+
metadata?: {
|
|
5649
|
+
[key: string]: unknown;
|
|
5650
|
+
} | null;
|
|
5651
|
+
};
|
|
5652
|
+
|
|
5653
|
+
export type AdminPolicyResponse = {
|
|
5654
|
+
status: string;
|
|
5655
|
+
data: AdminPolicy;
|
|
5656
|
+
};
|
|
5657
|
+
|
|
5658
|
+
/**
|
|
5659
|
+
* A ModelSerializer that takes additional arguments for
|
|
5660
|
+
* "fields", "omit" and "expand" in order to
|
|
5661
|
+
* control which fields are displayed, and whether to replace simple
|
|
5662
|
+
* values with complex, nested serializations
|
|
5663
|
+
*/
|
|
5664
|
+
export type AdminReducedAccountAccountAsset = {
|
|
5665
|
+
readonly id: string;
|
|
5666
|
+
readonly balance: number;
|
|
5667
|
+
readonly available_balance: number;
|
|
5668
|
+
currency: ReducedAsset;
|
|
5669
|
+
active: boolean;
|
|
5670
|
+
archived?: boolean;
|
|
5671
|
+
};
|
|
5672
|
+
|
|
5673
|
+
/**
|
|
5674
|
+
* A ModelSerializer that takes additional arguments for
|
|
5675
|
+
* "fields", "omit" and "expand" in order to
|
|
5676
|
+
* control which fields are displayed, and whether to replace simple
|
|
5677
|
+
* values with complex, nested serializations
|
|
5678
|
+
*/
|
|
5679
|
+
export type AdminReducedAccountAsset = {
|
|
5680
|
+
readonly id: string;
|
|
5681
|
+
readonly balance: number;
|
|
5682
|
+
readonly available_balance: number;
|
|
5683
|
+
account: ReducedAccount;
|
|
5684
|
+
currency: ReducedAsset;
|
|
5685
|
+
active: boolean;
|
|
5686
|
+
archived?: boolean;
|
|
5687
|
+
};
|
|
5688
|
+
|
|
5689
|
+
export type AdminReducedAccountAssetList = Array<AdminReducedAccountAsset>;
|
|
5690
|
+
|
|
5691
|
+
export type AdminReducedAccountAssetListResponse = {
|
|
5692
|
+
status: string;
|
|
5693
|
+
data: AdminReducedAccountAssetList;
|
|
5694
|
+
};
|
|
5695
|
+
|
|
5696
|
+
export type AdminReducedAccountAssetResponse = {
|
|
5697
|
+
status: string;
|
|
5698
|
+
data: AdminReducedAccountAsset;
|
|
5699
|
+
};
|
|
5700
|
+
|
|
5701
|
+
/**
|
|
5702
|
+
* A ModelSerializer that takes additional arguments for
|
|
5703
|
+
* "fields", "omit" and "expand" in order to
|
|
5704
|
+
* control which fields are displayed, and whether to replace simple
|
|
5705
|
+
* values with complex, nested serializations
|
|
5706
|
+
*/
|
|
5707
|
+
export type AdminReducedGroup = {
|
|
5708
|
+
name: string;
|
|
5709
|
+
label?: string | null;
|
|
5710
|
+
/**
|
|
5711
|
+
* * `system` - System
|
|
5712
|
+
* * `admin` - Admin
|
|
5713
|
+
* * `user` - User
|
|
5714
|
+
*/
|
|
5715
|
+
section: 'system' | 'admin' | 'user';
|
|
5716
|
+
};
|
|
5717
|
+
|
|
5718
|
+
/**
|
|
5719
|
+
* A ModelSerializer that takes additional arguments for
|
|
5720
|
+
* "fields", "omit" and "expand" in order to
|
|
5721
|
+
* control which fields are displayed, and whether to replace simple
|
|
5722
|
+
* values with complex, nested serializations
|
|
5723
|
+
*/
|
|
5724
|
+
export type AdminReducedLegalTermVersion = {
|
|
5725
|
+
readonly id: number;
|
|
5726
|
+
readonly version: number;
|
|
5727
|
+
readonly created: number;
|
|
5728
|
+
readonly updated: number;
|
|
5729
|
+
};
|
|
5730
|
+
|
|
5731
|
+
/**
|
|
5732
|
+
* A ModelSerializer that takes additional arguments for
|
|
5733
|
+
* "fields", "omit" and "expand" in order to
|
|
5734
|
+
* control which fields are displayed, and whether to replace simple
|
|
5735
|
+
* values with complex, nested serializations
|
|
5736
|
+
*/
|
|
5737
|
+
export type AdminReducedUserLegalTermVersion = {
|
|
5416
5738
|
readonly id: number;
|
|
5417
5739
|
readonly version: number;
|
|
5418
5740
|
readonly accepted: boolean;
|
|
@@ -5970,6 +6292,7 @@ export type AdminRequest = {
|
|
|
5970
6292
|
user: ReducedUserInfo;
|
|
5971
6293
|
readonly key: string | null;
|
|
5972
6294
|
readonly token_key: string | null;
|
|
6295
|
+
readonly ip_address: string | null;
|
|
5973
6296
|
readonly scheme: string;
|
|
5974
6297
|
readonly path: string | null;
|
|
5975
6298
|
readonly method: string;
|
|
@@ -6042,6 +6365,9 @@ export type AdminRequest = {
|
|
|
6042
6365
|
* * `oauthsession` - Oauth Session
|
|
6043
6366
|
* * `oidckey` - Oidc Key
|
|
6044
6367
|
* * `permission` - Permission
|
|
6368
|
+
* * `policy` - Policy
|
|
6369
|
+
* * `policyeffect` - Policy Effect
|
|
6370
|
+
* * `policylog` - Policy Log
|
|
6045
6371
|
* * `recoverycode` - Recovery Code
|
|
6046
6372
|
* * `refresh_token` - Refresh Token
|
|
6047
6373
|
* * `request` - Request
|
|
@@ -6062,11 +6388,12 @@ export type AdminRequest = {
|
|
|
6062
6388
|
* * `userlegaltermversion` - User Legal Term Version
|
|
6063
6389
|
* * `usermessage` - User Message
|
|
6064
6390
|
* * `userpermission` - User Permission
|
|
6391
|
+
* * `walletowneraddress` - Wallet Owner Address
|
|
6065
6392
|
* * `webhook` - Webhook
|
|
6066
6393
|
* * `webhooktask` - Webhook Task
|
|
6067
6394
|
* * `webhookrequest` - Webhook Request
|
|
6068
6395
|
*/
|
|
6069
|
-
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
6396
|
+
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'policy' | 'policyeffect' | 'policylog' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'walletowneraddress' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
6070
6397
|
readonly resource_id: string | null;
|
|
6071
6398
|
readonly created: number;
|
|
6072
6399
|
readonly updated: number;
|
|
@@ -6324,6 +6651,9 @@ export type AdminTransactionMessage = {
|
|
|
6324
6651
|
*/
|
|
6325
6652
|
level?: 'info' | 'warning' | 'error';
|
|
6326
6653
|
message: string;
|
|
6654
|
+
metadata?: {
|
|
6655
|
+
[key: string]: unknown;
|
|
6656
|
+
} | null;
|
|
6327
6657
|
author: ReducedUserInfo | null;
|
|
6328
6658
|
archived?: boolean;
|
|
6329
6659
|
readonly created: number;
|
|
@@ -6625,6 +6955,9 @@ export type AdminUpdateGroupFeeRequest = {
|
|
|
6625
6955
|
export type AdminUpdateGroupLimitRequest = {
|
|
6626
6956
|
begin?: number | null;
|
|
6627
6957
|
end?: number | null;
|
|
6958
|
+
metadata?: {
|
|
6959
|
+
[key: string]: unknown;
|
|
6960
|
+
} | null;
|
|
6628
6961
|
archived?: boolean;
|
|
6629
6962
|
};
|
|
6630
6963
|
|
|
@@ -6699,6 +7032,9 @@ export type AdminUpdateGroupTierFeeRequest = {
|
|
|
6699
7032
|
export type AdminUpdateGroupTierLimitRequest = {
|
|
6700
7033
|
begin?: number | null;
|
|
6701
7034
|
end?: number | null;
|
|
7035
|
+
metadata?: {
|
|
7036
|
+
[key: string]: unknown;
|
|
7037
|
+
} | null;
|
|
6702
7038
|
archived?: boolean;
|
|
6703
7039
|
};
|
|
6704
7040
|
|
|
@@ -6764,15 +7100,17 @@ export type AdminUpdateServicePermission = {
|
|
|
6764
7100
|
* * `notification` - Notification
|
|
6765
7101
|
* * `oauthclient` - Oauth Client
|
|
6766
7102
|
* * `permission` - Permission
|
|
7103
|
+
* * `policy` - Policy
|
|
6767
7104
|
* * `request` - Request
|
|
6768
7105
|
* * `service` - Service
|
|
6769
7106
|
* * `token` - Token
|
|
6770
7107
|
* * `transaction` - Transaction
|
|
6771
7108
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
6772
7109
|
* * `user` - User
|
|
7110
|
+
* * `walletaccount` - Wallet Account
|
|
6773
7111
|
* * `webhook` - Webhook
|
|
6774
7112
|
*/
|
|
6775
|
-
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
7113
|
+
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
6776
7114
|
/**
|
|
6777
7115
|
* * `view` - View
|
|
6778
7116
|
* * `add` - Add
|
|
@@ -8714,6 +9052,7 @@ export type AdminUserDocument = {
|
|
|
8714
9052
|
readonly id: number;
|
|
8715
9053
|
user: ReducedUserInfo;
|
|
8716
9054
|
readonly file: string;
|
|
9055
|
+
readonly files: Array<DocumentFile>;
|
|
8717
9056
|
type: ReducedDocumentType;
|
|
8718
9057
|
/**
|
|
8719
9058
|
* * `obsolete` - Obsolete
|
|
@@ -9430,6 +9769,9 @@ export type AdminUserMessage = {
|
|
|
9430
9769
|
*/
|
|
9431
9770
|
level?: 'info' | 'warning' | 'error';
|
|
9432
9771
|
message: string;
|
|
9772
|
+
metadata?: {
|
|
9773
|
+
[key: string]: unknown;
|
|
9774
|
+
} | null;
|
|
9433
9775
|
archived?: boolean;
|
|
9434
9776
|
author: ReducedUserInfo | null;
|
|
9435
9777
|
readonly created: number;
|
|
@@ -9477,15 +9819,17 @@ export type AdminUserPermission = {
|
|
|
9477
9819
|
* * `notification` - Notification
|
|
9478
9820
|
* * `oauthclient` - Oauth Client
|
|
9479
9821
|
* * `permission` - Permission
|
|
9822
|
+
* * `policy` - Policy
|
|
9480
9823
|
* * `request` - Request
|
|
9481
9824
|
* * `service` - Service
|
|
9482
9825
|
* * `token` - Token
|
|
9483
9826
|
* * `transaction` - Transaction
|
|
9484
9827
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
9485
9828
|
* * `user` - User
|
|
9829
|
+
* * `walletaccount` - Wallet Account
|
|
9486
9830
|
* * `webhook` - Webhook
|
|
9487
9831
|
*/
|
|
9488
|
-
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
9832
|
+
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
9489
9833
|
/**
|
|
9490
9834
|
* * `view` - View
|
|
9491
9835
|
* * `add` - Add
|
|
@@ -9529,12 +9873,9 @@ export type AdminUserWalletAccount = {
|
|
|
9529
9873
|
mobile?: string | null;
|
|
9530
9874
|
name?: string | null;
|
|
9531
9875
|
readonly code: string | null;
|
|
9532
|
-
|
|
9533
|
-
|
|
9534
|
-
|
|
9535
|
-
* * `other` - Other
|
|
9536
|
-
*/
|
|
9537
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
9876
|
+
type?: string | null;
|
|
9877
|
+
payment_method?: string | null;
|
|
9878
|
+
owner?: WalletOwner | null;
|
|
9538
9879
|
wallet_currency?: string | null;
|
|
9539
9880
|
metadata?: {
|
|
9540
9881
|
[key: string]: unknown;
|
|
@@ -9600,12 +9941,9 @@ export type AdminUserWalletAccountRequest = {
|
|
|
9600
9941
|
email?: string | null;
|
|
9601
9942
|
mobile?: string | null;
|
|
9602
9943
|
name?: string | null;
|
|
9603
|
-
|
|
9604
|
-
|
|
9605
|
-
|
|
9606
|
-
* * `other` - Other
|
|
9607
|
-
*/
|
|
9608
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
9944
|
+
type?: string | null;
|
|
9945
|
+
payment_method?: string | null;
|
|
9946
|
+
owner?: WalletOwnerRequest | null;
|
|
9609
9947
|
wallet_currency?: string | null;
|
|
9610
9948
|
metadata?: {
|
|
9611
9949
|
[key: string]: unknown;
|
|
@@ -9659,6 +9997,7 @@ export type AdminWebhook = {
|
|
|
9659
9997
|
* * `email.update` - Email Update
|
|
9660
9998
|
* * `mobile.create` - Mobile Create
|
|
9661
9999
|
* * `mobile.update` - Mobile Update
|
|
10000
|
+
* * `device.create` - Device Create
|
|
9662
10001
|
* * `address.create` - Address Create
|
|
9663
10002
|
* * `address.update` - Address Update
|
|
9664
10003
|
* * `document.create` - Document Create
|
|
@@ -9668,6 +10007,9 @@ export type AdminWebhook = {
|
|
|
9668
10007
|
* * `bank_account.delete` - Bank Account Delete
|
|
9669
10008
|
* * `crypto_account.create` - Crypto Account Create
|
|
9670
10009
|
* * `crypto_account.update` - Crypto Account Update
|
|
10010
|
+
* * `wallet_account.create` - Wallet Account Create
|
|
10011
|
+
* * `wallet_account.update` - Wallet Account Update
|
|
10012
|
+
* * `wallet_account.delete` - Wallet Account Delete
|
|
9671
10013
|
* * `account.create` - Account Create
|
|
9672
10014
|
* * `account.update` - Account Update
|
|
9673
10015
|
* * `account.currency.create` - Account Currency Create
|
|
@@ -9681,7 +10023,7 @@ export type AdminWebhook = {
|
|
|
9681
10023
|
* * `alert.create` - Alert Create
|
|
9682
10024
|
* * `alert.update` - Alert Update
|
|
9683
10025
|
*/
|
|
9684
|
-
event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
|
|
10026
|
+
event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'device.create' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'wallet_account.create' | 'wallet_account.update' | 'wallet_account.delete' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
|
|
9685
10027
|
secret?: string;
|
|
9686
10028
|
condition?: string | null;
|
|
9687
10029
|
enabled?: boolean;
|
|
@@ -11013,15 +11355,17 @@ export type CreatePermissionRequest = {
|
|
|
11013
11355
|
* * `notification` - Notification
|
|
11014
11356
|
* * `oauthclient` - Oauth Client
|
|
11015
11357
|
* * `permission` - Permission
|
|
11358
|
+
* * `policy` - Policy
|
|
11016
11359
|
* * `request` - Request
|
|
11017
11360
|
* * `service` - Service
|
|
11018
11361
|
* * `token` - Token
|
|
11019
11362
|
* * `transaction` - Transaction
|
|
11020
11363
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
11021
11364
|
* * `user` - User
|
|
11365
|
+
* * `walletaccount` - Wallet Account
|
|
11022
11366
|
* * `webhook` - Webhook
|
|
11023
11367
|
*/
|
|
11024
|
-
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
11368
|
+
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
11025
11369
|
/**
|
|
11026
11370
|
* * `view` - View
|
|
11027
11371
|
* * `add` - Add
|
|
@@ -11063,6 +11407,24 @@ export type DeviceAppRequest = {
|
|
|
11063
11407
|
type: 'expo';
|
|
11064
11408
|
};
|
|
11065
11409
|
|
|
11410
|
+
/**
|
|
11411
|
+
* A ModelSerializer that takes additional arguments for
|
|
11412
|
+
* "fields", "omit" and "expand" in order to
|
|
11413
|
+
* control which fields are displayed, and whether to replace simple
|
|
11414
|
+
* values with complex, nested serializations
|
|
11415
|
+
*/
|
|
11416
|
+
export type DocumentFile = {
|
|
11417
|
+
readonly file: string;
|
|
11418
|
+
readonly label: string | null;
|
|
11419
|
+
readonly description: string | null;
|
|
11420
|
+
};
|
|
11421
|
+
|
|
11422
|
+
export type DocumentFileWriteRequest = {
|
|
11423
|
+
file: Blob | File;
|
|
11424
|
+
label?: string;
|
|
11425
|
+
description?: string;
|
|
11426
|
+
};
|
|
11427
|
+
|
|
11066
11428
|
export type ExtendedAuthenticated = {
|
|
11067
11429
|
/**
|
|
11068
11430
|
* Fetch a token to use for authentication. The token is excluded if this
|
|
@@ -11710,15 +12072,17 @@ export type GroupPermission = {
|
|
|
11710
12072
|
* * `notification` - Notification
|
|
11711
12073
|
* * `oauthclient` - Oauth Client
|
|
11712
12074
|
* * `permission` - Permission
|
|
12075
|
+
* * `policy` - Policy
|
|
11713
12076
|
* * `request` - Request
|
|
11714
12077
|
* * `service` - Service
|
|
11715
12078
|
* * `token` - Token
|
|
11716
12079
|
* * `transaction` - Transaction
|
|
11717
12080
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
11718
12081
|
* * `user` - User
|
|
12082
|
+
* * `walletaccount` - Wallet Account
|
|
11719
12083
|
* * `webhook` - Webhook
|
|
11720
12084
|
*/
|
|
11721
|
-
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
12085
|
+
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
11722
12086
|
/**
|
|
11723
12087
|
* * `view` - View
|
|
11724
12088
|
* * `add` - Add
|
|
@@ -12359,6 +12723,42 @@ export type PaginatedAdminOauthClientListResponse = {
|
|
|
12359
12723
|
data: PaginatedAdminOauthClientList;
|
|
12360
12724
|
};
|
|
12361
12725
|
|
|
12726
|
+
export type PaginatedAdminPolicyEffectList = {
|
|
12727
|
+
count?: number;
|
|
12728
|
+
next?: string | null;
|
|
12729
|
+
previous?: string | null;
|
|
12730
|
+
results?: Array<AdminPolicyEffect>;
|
|
12731
|
+
};
|
|
12732
|
+
|
|
12733
|
+
export type PaginatedAdminPolicyEffectListResponse = {
|
|
12734
|
+
status: string;
|
|
12735
|
+
data: PaginatedAdminPolicyEffectList;
|
|
12736
|
+
};
|
|
12737
|
+
|
|
12738
|
+
export type PaginatedAdminPolicyList = {
|
|
12739
|
+
count?: number;
|
|
12740
|
+
next?: string | null;
|
|
12741
|
+
previous?: string | null;
|
|
12742
|
+
results?: Array<AdminPolicy>;
|
|
12743
|
+
};
|
|
12744
|
+
|
|
12745
|
+
export type PaginatedAdminPolicyListResponse = {
|
|
12746
|
+
status: string;
|
|
12747
|
+
data: PaginatedAdminPolicyList;
|
|
12748
|
+
};
|
|
12749
|
+
|
|
12750
|
+
export type PaginatedAdminPolicyLogList = {
|
|
12751
|
+
count?: number;
|
|
12752
|
+
next?: string | null;
|
|
12753
|
+
previous?: string | null;
|
|
12754
|
+
results?: Array<AdminPolicyLog>;
|
|
12755
|
+
};
|
|
12756
|
+
|
|
12757
|
+
export type PaginatedAdminPolicyLogListResponse = {
|
|
12758
|
+
status: string;
|
|
12759
|
+
data: PaginatedAdminPolicyLogList;
|
|
12760
|
+
};
|
|
12761
|
+
|
|
12362
12762
|
export type PaginatedAdminRequestList = {
|
|
12363
12763
|
count?: number;
|
|
12364
12764
|
next?: string | null;
|
|
@@ -13043,12 +13443,9 @@ export type PatchedAdminCompanyWalletAccountRequest = {
|
|
|
13043
13443
|
email?: string | null;
|
|
13044
13444
|
mobile?: string | null;
|
|
13045
13445
|
name?: string | null;
|
|
13046
|
-
|
|
13047
|
-
|
|
13048
|
-
|
|
13049
|
-
* * `other` - Other
|
|
13050
|
-
*/
|
|
13051
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
13446
|
+
type?: string | null;
|
|
13447
|
+
payment_method?: string | null;
|
|
13448
|
+
owner?: WalletOwnerRequest | null;
|
|
13052
13449
|
wallet_currency?: string | null;
|
|
13053
13450
|
metadata?: {
|
|
13054
13451
|
[key: string]: unknown;
|
|
@@ -13103,6 +13500,32 @@ export type PatchedAdminCreateAccountAccountAssetFeeRequest = {
|
|
|
13103
13500
|
export type PatchedAdminCreateAccountAccountAssetLimitRequest = {
|
|
13104
13501
|
begin?: number | null;
|
|
13105
13502
|
end?: number | null;
|
|
13503
|
+
metadata?: {
|
|
13504
|
+
[key: string]: unknown;
|
|
13505
|
+
} | null;
|
|
13506
|
+
};
|
|
13507
|
+
|
|
13508
|
+
/**
|
|
13509
|
+
* A ModelSerializer that takes additional arguments for
|
|
13510
|
+
* "fields", "omit" and "expand" in order to
|
|
13511
|
+
* control which fields are displayed, and whether to replace simple
|
|
13512
|
+
* values with complex, nested serializations
|
|
13513
|
+
*/
|
|
13514
|
+
export type PatchedAdminCreatePolicyEffectRequest = {
|
|
13515
|
+
/**
|
|
13516
|
+
* * `create_account_asset_limit` - Create Account Asset Limit
|
|
13517
|
+
* * `disable_user_transactions` - Disable User Transactions
|
|
13518
|
+
* * `disable_user_transaction_type` - Disable User Transaction Type
|
|
13519
|
+
* * `create_user_message` - Create User Message
|
|
13520
|
+
* * `create_transaction_message` - Create Transaction Message
|
|
13521
|
+
* * `create_user_alert` - Create User Alert
|
|
13522
|
+
* * `create_transaction_alert` - Create Transaction Alert
|
|
13523
|
+
*/
|
|
13524
|
+
type?: 'create_account_asset_limit' | 'disable_user_transactions' | 'disable_user_transaction_type' | 'create_user_message' | 'create_transaction_message' | 'create_user_alert' | 'create_transaction_alert';
|
|
13525
|
+
label?: string | null;
|
|
13526
|
+
params?: {
|
|
13527
|
+
[key: string]: unknown;
|
|
13528
|
+
};
|
|
13106
13529
|
};
|
|
13107
13530
|
|
|
13108
13531
|
/**
|
|
@@ -13210,6 +13633,7 @@ export type PatchedAdminDocumentTypeRequest = {
|
|
|
13210
13633
|
name?: string | null;
|
|
13211
13634
|
description?: string | null;
|
|
13212
13635
|
related_resources?: Array<'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount'>;
|
|
13636
|
+
file_rules?: unknown;
|
|
13213
13637
|
metadata?: {
|
|
13214
13638
|
[key: string]: unknown;
|
|
13215
13639
|
} | null;
|
|
@@ -13229,10 +13653,9 @@ export type PatchedAdminEmailRequest = {
|
|
|
13229
13653
|
};
|
|
13230
13654
|
|
|
13231
13655
|
/**
|
|
13232
|
-
*
|
|
13233
|
-
*
|
|
13234
|
-
*
|
|
13235
|
-
* values with complex, nested serializations
|
|
13656
|
+
* Detail-endpoint serializer. Same response shape as the base; adds the
|
|
13657
|
+
* row-locking update() needed when appending actions on PATCH. Extend
|
|
13658
|
+
* here (not on the base) to add fields that should not appear on list.
|
|
13236
13659
|
*/
|
|
13237
13660
|
export type PatchedAdminExtendedAlertRequest = {
|
|
13238
13661
|
name?: string;
|
|
@@ -13313,6 +13736,39 @@ export type PatchedAdminMobileRequest = {
|
|
|
13313
13736
|
archived?: boolean;
|
|
13314
13737
|
};
|
|
13315
13738
|
|
|
13739
|
+
/**
|
|
13740
|
+
* A ModelSerializer that takes additional arguments for
|
|
13741
|
+
* "fields", "omit" and "expand" in order to
|
|
13742
|
+
* control which fields are displayed, and whether to replace simple
|
|
13743
|
+
* values with complex, nested serializations
|
|
13744
|
+
*/
|
|
13745
|
+
export type PatchedAdminPolicyRequest = {
|
|
13746
|
+
/**
|
|
13747
|
+
* * `trigger` - Trigger
|
|
13748
|
+
*/
|
|
13749
|
+
type?: 'trigger';
|
|
13750
|
+
name?: string;
|
|
13751
|
+
label?: string | null;
|
|
13752
|
+
description?: string | null;
|
|
13753
|
+
tags?: Array<string> | null;
|
|
13754
|
+
/**
|
|
13755
|
+
* * `transaction.execute` - Transaction Execute
|
|
13756
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
13757
|
+
* * `user.create` - User Create
|
|
13758
|
+
* * `mobile.create` - Mobile Create
|
|
13759
|
+
* * `mobile.create.conflict` - Mobile Create Conflict
|
|
13760
|
+
* * `device.create` - Device Create
|
|
13761
|
+
*/
|
|
13762
|
+
event?: 'transaction.execute' | 'transaction.initiate' | 'user.create' | 'mobile.create' | 'mobile.create.conflict' | 'device.create';
|
|
13763
|
+
condition?: {
|
|
13764
|
+
[key: string]: unknown;
|
|
13765
|
+
} | null;
|
|
13766
|
+
enabled?: boolean;
|
|
13767
|
+
metadata?: {
|
|
13768
|
+
[key: string]: unknown;
|
|
13769
|
+
} | null;
|
|
13770
|
+
};
|
|
13771
|
+
|
|
13316
13772
|
/**
|
|
13317
13773
|
* A ModelSerializer that takes additional arguments for
|
|
13318
13774
|
* "fields", "omit" and "expand" in order to
|
|
@@ -13496,6 +13952,9 @@ export type PatchedAdminUpdateGroupFeeRequest = {
|
|
|
13496
13952
|
export type PatchedAdminUpdateGroupLimitRequest = {
|
|
13497
13953
|
begin?: number | null;
|
|
13498
13954
|
end?: number | null;
|
|
13955
|
+
metadata?: {
|
|
13956
|
+
[key: string]: unknown;
|
|
13957
|
+
} | null;
|
|
13499
13958
|
archived?: boolean;
|
|
13500
13959
|
};
|
|
13501
13960
|
|
|
@@ -13565,6 +14024,9 @@ export type PatchedAdminUpdateGroupTierFeeRequest = {
|
|
|
13565
14024
|
export type PatchedAdminUpdateGroupTierLimitRequest = {
|
|
13566
14025
|
begin?: number | null;
|
|
13567
14026
|
end?: number | null;
|
|
14027
|
+
metadata?: {
|
|
14028
|
+
[key: string]: unknown;
|
|
14029
|
+
} | null;
|
|
13568
14030
|
archived?: boolean;
|
|
13569
14031
|
};
|
|
13570
14032
|
|
|
@@ -14614,12 +15076,9 @@ export type PatchedAdminUserWalletAccountRequest = {
|
|
|
14614
15076
|
email?: string | null;
|
|
14615
15077
|
mobile?: string | null;
|
|
14616
15078
|
name?: string | null;
|
|
14617
|
-
|
|
14618
|
-
|
|
14619
|
-
|
|
14620
|
-
* * `other` - Other
|
|
14621
|
-
*/
|
|
14622
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
15079
|
+
type?: string | null;
|
|
15080
|
+
payment_method?: string | null;
|
|
15081
|
+
owner?: WalletOwnerRequest | null;
|
|
14623
15082
|
wallet_currency?: string | null;
|
|
14624
15083
|
metadata?: {
|
|
14625
15084
|
[key: string]: unknown;
|
|
@@ -14667,6 +15126,7 @@ export type PatchedAdminWebhookRequest = {
|
|
|
14667
15126
|
* * `email.update` - Email Update
|
|
14668
15127
|
* * `mobile.create` - Mobile Create
|
|
14669
15128
|
* * `mobile.update` - Mobile Update
|
|
15129
|
+
* * `device.create` - Device Create
|
|
14670
15130
|
* * `address.create` - Address Create
|
|
14671
15131
|
* * `address.update` - Address Update
|
|
14672
15132
|
* * `document.create` - Document Create
|
|
@@ -14676,6 +15136,9 @@ export type PatchedAdminWebhookRequest = {
|
|
|
14676
15136
|
* * `bank_account.delete` - Bank Account Delete
|
|
14677
15137
|
* * `crypto_account.create` - Crypto Account Create
|
|
14678
15138
|
* * `crypto_account.update` - Crypto Account Update
|
|
15139
|
+
* * `wallet_account.create` - Wallet Account Create
|
|
15140
|
+
* * `wallet_account.update` - Wallet Account Update
|
|
15141
|
+
* * `wallet_account.delete` - Wallet Account Delete
|
|
14679
15142
|
* * `account.create` - Account Create
|
|
14680
15143
|
* * `account.update` - Account Update
|
|
14681
15144
|
* * `account.currency.create` - Account Currency Create
|
|
@@ -14689,7 +15152,7 @@ export type PatchedAdminWebhookRequest = {
|
|
|
14689
15152
|
* * `alert.create` - Alert Create
|
|
14690
15153
|
* * `alert.update` - Alert Update
|
|
14691
15154
|
*/
|
|
14692
|
-
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
|
|
15155
|
+
event?: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'device.create' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'wallet_account.create' | 'wallet_account.update' | 'wallet_account.delete' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
|
|
14693
15156
|
secret?: string;
|
|
14694
15157
|
condition?: string | null;
|
|
14695
15158
|
enabled?: boolean;
|
|
@@ -14761,15 +15224,17 @@ export type Permission = {
|
|
|
14761
15224
|
* * `notification` - Notification
|
|
14762
15225
|
* * `oauthclient` - Oauth Client
|
|
14763
15226
|
* * `permission` - Permission
|
|
15227
|
+
* * `policy` - Policy
|
|
14764
15228
|
* * `request` - Request
|
|
14765
15229
|
* * `service` - Service
|
|
14766
15230
|
* * `token` - Token
|
|
14767
15231
|
* * `transaction` - Transaction
|
|
14768
15232
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
14769
15233
|
* * `user` - User
|
|
15234
|
+
* * `walletaccount` - Wallet Account
|
|
14770
15235
|
* * `webhook` - Webhook
|
|
14771
15236
|
*/
|
|
14772
|
-
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
15237
|
+
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
14773
15238
|
/**
|
|
14774
15239
|
* * `view` - View
|
|
14775
15240
|
* * `add` - Add
|
|
@@ -14963,6 +15428,7 @@ export type ReducedDocumentType = {
|
|
|
14963
15428
|
readonly id: number;
|
|
14964
15429
|
readonly name: string | null;
|
|
14965
15430
|
readonly description: string | null;
|
|
15431
|
+
readonly file_rules: unknown;
|
|
14966
15432
|
};
|
|
14967
15433
|
|
|
14968
15434
|
/**
|
|
@@ -15012,6 +15478,23 @@ export type ReducedGroupTier = {
|
|
|
15012
15478
|
readonly description: string | null;
|
|
15013
15479
|
};
|
|
15014
15480
|
|
|
15481
|
+
/**
|
|
15482
|
+
* Minimal serializer used when a policy is referenced as a nested object
|
|
15483
|
+
* (e.g. on PolicyLog responses, on Alert responses). Returns just enough
|
|
15484
|
+
* to identify the policy and to surface its lifecycle.
|
|
15485
|
+
*/
|
|
15486
|
+
export type ReducedPolicy = {
|
|
15487
|
+
readonly id: string;
|
|
15488
|
+
readonly name: string;
|
|
15489
|
+
/**
|
|
15490
|
+
* * `trigger` - Trigger
|
|
15491
|
+
*/
|
|
15492
|
+
readonly type: 'trigger';
|
|
15493
|
+
readonly label: string | null;
|
|
15494
|
+
readonly created: string;
|
|
15495
|
+
readonly updated: string;
|
|
15496
|
+
};
|
|
15497
|
+
|
|
15015
15498
|
/**
|
|
15016
15499
|
* A ModelSerializer that takes additional arguments for
|
|
15017
15500
|
* "fields", "omit" and "expand" in order to
|
|
@@ -15250,15 +15733,17 @@ export type UserPermission = {
|
|
|
15250
15733
|
* * `notification` - Notification
|
|
15251
15734
|
* * `oauthclient` - Oauth Client
|
|
15252
15735
|
* * `permission` - Permission
|
|
15736
|
+
* * `policy` - Policy
|
|
15253
15737
|
* * `request` - Request
|
|
15254
15738
|
* * `service` - Service
|
|
15255
15739
|
* * `token` - Token
|
|
15256
15740
|
* * `transaction` - Transaction
|
|
15257
15741
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
15258
15742
|
* * `user` - User
|
|
15743
|
+
* * `walletaccount` - Wallet Account
|
|
15259
15744
|
* * `webhook` - Webhook
|
|
15260
15745
|
*/
|
|
15261
|
-
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
15746
|
+
readonly type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
15262
15747
|
/**
|
|
15263
15748
|
* * `view` - View
|
|
15264
15749
|
* * `add` - Add
|
|
@@ -15327,8 +15812,18 @@ export type VerifyRequestDeleteRequest = {
|
|
|
15327
15812
|
* control which fields are displayed, and whether to replace simple
|
|
15328
15813
|
* values with complex, nested serializations
|
|
15329
15814
|
*/
|
|
15330
|
-
export type
|
|
15331
|
-
|
|
15815
|
+
export type WalletOwner = {
|
|
15816
|
+
first_name?: string | null;
|
|
15817
|
+
middle_name?: string | null;
|
|
15818
|
+
last_name?: string | null;
|
|
15819
|
+
full_name?: string | null;
|
|
15820
|
+
phone_number?: string | null;
|
|
15821
|
+
email_address?: string | null;
|
|
15822
|
+
company_name?: string | null;
|
|
15823
|
+
ein_tin?: string | null;
|
|
15824
|
+
address?: WalletOwnerAddress;
|
|
15825
|
+
address_text?: string | null;
|
|
15826
|
+
cpf_cpnj?: string | null;
|
|
15332
15827
|
};
|
|
15333
15828
|
|
|
15334
15829
|
/**
|
|
@@ -15337,11 +15832,575 @@ export type AccountAssetWritable = {
|
|
|
15337
15832
|
* control which fields are displayed, and whether to replace simple
|
|
15338
15833
|
* values with complex, nested serializations
|
|
15339
15834
|
*/
|
|
15340
|
-
export type
|
|
15835
|
+
export type WalletOwnerAddress = {
|
|
15836
|
+
line_1?: string | null;
|
|
15837
|
+
line_2?: string | null;
|
|
15838
|
+
city?: string | null;
|
|
15839
|
+
state_province?: string | null;
|
|
15341
15840
|
/**
|
|
15342
|
-
* * `
|
|
15343
|
-
* * `
|
|
15344
|
-
* * `
|
|
15841
|
+
* * `AF` - Afghanistan
|
|
15842
|
+
* * `AX` - Åland Islands
|
|
15843
|
+
* * `AL` - Albania
|
|
15844
|
+
* * `DZ` - Algeria
|
|
15845
|
+
* * `AS` - American Samoa
|
|
15846
|
+
* * `AD` - Andorra
|
|
15847
|
+
* * `AO` - Angola
|
|
15848
|
+
* * `AI` - Anguilla
|
|
15849
|
+
* * `AQ` - Antarctica
|
|
15850
|
+
* * `AG` - Antigua and Barbuda
|
|
15851
|
+
* * `AR` - Argentina
|
|
15852
|
+
* * `AM` - Armenia
|
|
15853
|
+
* * `AW` - Aruba
|
|
15854
|
+
* * `AU` - Australia
|
|
15855
|
+
* * `AT` - Austria
|
|
15856
|
+
* * `AZ` - Azerbaijan
|
|
15857
|
+
* * `BS` - Bahamas
|
|
15858
|
+
* * `BH` - Bahrain
|
|
15859
|
+
* * `BD` - Bangladesh
|
|
15860
|
+
* * `BB` - Barbados
|
|
15861
|
+
* * `BY` - Belarus
|
|
15862
|
+
* * `BE` - Belgium
|
|
15863
|
+
* * `BZ` - Belize
|
|
15864
|
+
* * `BJ` - Benin
|
|
15865
|
+
* * `BM` - Bermuda
|
|
15866
|
+
* * `BT` - Bhutan
|
|
15867
|
+
* * `BO` - Bolivia
|
|
15868
|
+
* * `BQ` - Bonaire, Sint Eustatius and Saba
|
|
15869
|
+
* * `BA` - Bosnia and Herzegovina
|
|
15870
|
+
* * `BW` - Botswana
|
|
15871
|
+
* * `BV` - Bouvet Island
|
|
15872
|
+
* * `BR` - Brazil
|
|
15873
|
+
* * `IO` - British Indian Ocean Territory
|
|
15874
|
+
* * `BN` - Brunei
|
|
15875
|
+
* * `BG` - Bulgaria
|
|
15876
|
+
* * `BF` - Burkina Faso
|
|
15877
|
+
* * `BI` - Burundi
|
|
15878
|
+
* * `CV` - Cabo Verde
|
|
15879
|
+
* * `KH` - Cambodia
|
|
15880
|
+
* * `CM` - Cameroon
|
|
15881
|
+
* * `CA` - Canada
|
|
15882
|
+
* * `KY` - Cayman Islands
|
|
15883
|
+
* * `CF` - Central African Republic
|
|
15884
|
+
* * `TD` - Chad
|
|
15885
|
+
* * `CL` - Chile
|
|
15886
|
+
* * `CN` - China
|
|
15887
|
+
* * `CX` - Christmas Island
|
|
15888
|
+
* * `CC` - Cocos (Keeling) Islands
|
|
15889
|
+
* * `CO` - Colombia
|
|
15890
|
+
* * `KM` - Comoros
|
|
15891
|
+
* * `CG` - Congo
|
|
15892
|
+
* * `CD` - Congo (the Democratic Republic of the)
|
|
15893
|
+
* * `CK` - Cook Islands
|
|
15894
|
+
* * `CR` - Costa Rica
|
|
15895
|
+
* * `CI` - Côte d'Ivoire
|
|
15896
|
+
* * `HR` - Croatia
|
|
15897
|
+
* * `CU` - Cuba
|
|
15898
|
+
* * `CW` - Curaçao
|
|
15899
|
+
* * `CY` - Cyprus
|
|
15900
|
+
* * `CZ` - Czechia
|
|
15901
|
+
* * `DK` - Denmark
|
|
15902
|
+
* * `DJ` - Djibouti
|
|
15903
|
+
* * `DM` - Dominica
|
|
15904
|
+
* * `DO` - Dominican Republic
|
|
15905
|
+
* * `EC` - Ecuador
|
|
15906
|
+
* * `EG` - Egypt
|
|
15907
|
+
* * `SV` - El Salvador
|
|
15908
|
+
* * `GQ` - Equatorial Guinea
|
|
15909
|
+
* * `ER` - Eritrea
|
|
15910
|
+
* * `EE` - Estonia
|
|
15911
|
+
* * `SZ` - Eswatini
|
|
15912
|
+
* * `ET` - Ethiopia
|
|
15913
|
+
* * `FK` - Falkland Islands (Malvinas)
|
|
15914
|
+
* * `FO` - Faroe Islands
|
|
15915
|
+
* * `FJ` - Fiji
|
|
15916
|
+
* * `FI` - Finland
|
|
15917
|
+
* * `FR` - France
|
|
15918
|
+
* * `GF` - French Guiana
|
|
15919
|
+
* * `PF` - French Polynesia
|
|
15920
|
+
* * `TF` - French Southern Territories
|
|
15921
|
+
* * `GA` - Gabon
|
|
15922
|
+
* * `GM` - Gambia
|
|
15923
|
+
* * `GE` - Georgia
|
|
15924
|
+
* * `DE` - Germany
|
|
15925
|
+
* * `GH` - Ghana
|
|
15926
|
+
* * `GI` - Gibraltar
|
|
15927
|
+
* * `GR` - Greece
|
|
15928
|
+
* * `GL` - Greenland
|
|
15929
|
+
* * `GD` - Grenada
|
|
15930
|
+
* * `GP` - Guadeloupe
|
|
15931
|
+
* * `GU` - Guam
|
|
15932
|
+
* * `GT` - Guatemala
|
|
15933
|
+
* * `GG` - Guernsey
|
|
15934
|
+
* * `GN` - Guinea
|
|
15935
|
+
* * `GW` - Guinea-Bissau
|
|
15936
|
+
* * `GY` - Guyana
|
|
15937
|
+
* * `HT` - Haiti
|
|
15938
|
+
* * `HM` - Heard Island and McDonald Islands
|
|
15939
|
+
* * `VA` - Holy See
|
|
15940
|
+
* * `HN` - Honduras
|
|
15941
|
+
* * `HK` - Hong Kong
|
|
15942
|
+
* * `HU` - Hungary
|
|
15943
|
+
* * `IS` - Iceland
|
|
15944
|
+
* * `IN` - India
|
|
15945
|
+
* * `ID` - Indonesia
|
|
15946
|
+
* * `IR` - Iran
|
|
15947
|
+
* * `IQ` - Iraq
|
|
15948
|
+
* * `IE` - Ireland
|
|
15949
|
+
* * `IM` - Isle of Man
|
|
15950
|
+
* * `IL` - Israel
|
|
15951
|
+
* * `IT` - Italy
|
|
15952
|
+
* * `JM` - Jamaica
|
|
15953
|
+
* * `JP` - Japan
|
|
15954
|
+
* * `JE` - Jersey
|
|
15955
|
+
* * `JO` - Jordan
|
|
15956
|
+
* * `KZ` - Kazakhstan
|
|
15957
|
+
* * `KE` - Kenya
|
|
15958
|
+
* * `KI` - Kiribati
|
|
15959
|
+
* * `KW` - Kuwait
|
|
15960
|
+
* * `KG` - Kyrgyzstan
|
|
15961
|
+
* * `LA` - Laos
|
|
15962
|
+
* * `LV` - Latvia
|
|
15963
|
+
* * `LB` - Lebanon
|
|
15964
|
+
* * `LS` - Lesotho
|
|
15965
|
+
* * `LR` - Liberia
|
|
15966
|
+
* * `LY` - Libya
|
|
15967
|
+
* * `LI` - Liechtenstein
|
|
15968
|
+
* * `LT` - Lithuania
|
|
15969
|
+
* * `LU` - Luxembourg
|
|
15970
|
+
* * `MO` - Macao
|
|
15971
|
+
* * `MG` - Madagascar
|
|
15972
|
+
* * `MW` - Malawi
|
|
15973
|
+
* * `MY` - Malaysia
|
|
15974
|
+
* * `MV` - Maldives
|
|
15975
|
+
* * `ML` - Mali
|
|
15976
|
+
* * `MT` - Malta
|
|
15977
|
+
* * `MH` - Marshall Islands
|
|
15978
|
+
* * `MQ` - Martinique
|
|
15979
|
+
* * `MR` - Mauritania
|
|
15980
|
+
* * `MU` - Mauritius
|
|
15981
|
+
* * `YT` - Mayotte
|
|
15982
|
+
* * `MX` - Mexico
|
|
15983
|
+
* * `FM` - Micronesia
|
|
15984
|
+
* * `MD` - Moldova
|
|
15985
|
+
* * `MC` - Monaco
|
|
15986
|
+
* * `MN` - Mongolia
|
|
15987
|
+
* * `ME` - Montenegro
|
|
15988
|
+
* * `MS` - Montserrat
|
|
15989
|
+
* * `MA` - Morocco
|
|
15990
|
+
* * `MZ` - Mozambique
|
|
15991
|
+
* * `MM` - Myanmar
|
|
15992
|
+
* * `NA` - Namibia
|
|
15993
|
+
* * `NR` - Nauru
|
|
15994
|
+
* * `NP` - Nepal
|
|
15995
|
+
* * `NL` - Netherlands
|
|
15996
|
+
* * `NC` - New Caledonia
|
|
15997
|
+
* * `NZ` - New Zealand
|
|
15998
|
+
* * `NI` - Nicaragua
|
|
15999
|
+
* * `NE` - Niger
|
|
16000
|
+
* * `NG` - Nigeria
|
|
16001
|
+
* * `NU` - Niue
|
|
16002
|
+
* * `NF` - Norfolk Island
|
|
16003
|
+
* * `KP` - North Korea
|
|
16004
|
+
* * `MK` - North Macedonia
|
|
16005
|
+
* * `MP` - Northern Mariana Islands
|
|
16006
|
+
* * `NO` - Norway
|
|
16007
|
+
* * `OM` - Oman
|
|
16008
|
+
* * `PK` - Pakistan
|
|
16009
|
+
* * `PW` - Palau
|
|
16010
|
+
* * `PS` - Palestine, State of
|
|
16011
|
+
* * `PA` - Panama
|
|
16012
|
+
* * `PG` - Papua New Guinea
|
|
16013
|
+
* * `PY` - Paraguay
|
|
16014
|
+
* * `PE` - Peru
|
|
16015
|
+
* * `PH` - Philippines
|
|
16016
|
+
* * `PN` - Pitcairn
|
|
16017
|
+
* * `PL` - Poland
|
|
16018
|
+
* * `PT` - Portugal
|
|
16019
|
+
* * `PR` - Puerto Rico
|
|
16020
|
+
* * `QA` - Qatar
|
|
16021
|
+
* * `RE` - Réunion
|
|
16022
|
+
* * `RO` - Romania
|
|
16023
|
+
* * `RU` - Russia
|
|
16024
|
+
* * `RW` - Rwanda
|
|
16025
|
+
* * `BL` - Saint Barthélemy
|
|
16026
|
+
* * `SH` - Saint Helena, Ascension and Tristan da Cunha
|
|
16027
|
+
* * `KN` - Saint Kitts and Nevis
|
|
16028
|
+
* * `LC` - Saint Lucia
|
|
16029
|
+
* * `MF` - Saint Martin (French part)
|
|
16030
|
+
* * `PM` - Saint Pierre and Miquelon
|
|
16031
|
+
* * `VC` - Saint Vincent and the Grenadines
|
|
16032
|
+
* * `WS` - Samoa
|
|
16033
|
+
* * `SM` - San Marino
|
|
16034
|
+
* * `ST` - Sao Tome and Principe
|
|
16035
|
+
* * `SA` - Saudi Arabia
|
|
16036
|
+
* * `SN` - Senegal
|
|
16037
|
+
* * `RS` - Serbia
|
|
16038
|
+
* * `SC` - Seychelles
|
|
16039
|
+
* * `SL` - Sierra Leone
|
|
16040
|
+
* * `SG` - Singapore
|
|
16041
|
+
* * `SX` - Sint Maarten (Dutch part)
|
|
16042
|
+
* * `SK` - Slovakia
|
|
16043
|
+
* * `SI` - Slovenia
|
|
16044
|
+
* * `SB` - Solomon Islands
|
|
16045
|
+
* * `SO` - Somalia
|
|
16046
|
+
* * `ZA` - South Africa
|
|
16047
|
+
* * `GS` - South Georgia and the South Sandwich Islands
|
|
16048
|
+
* * `KR` - South Korea
|
|
16049
|
+
* * `SS` - South Sudan
|
|
16050
|
+
* * `ES` - Spain
|
|
16051
|
+
* * `LK` - Sri Lanka
|
|
16052
|
+
* * `SD` - Sudan
|
|
16053
|
+
* * `SR` - Suriname
|
|
16054
|
+
* * `SJ` - Svalbard and Jan Mayen
|
|
16055
|
+
* * `SE` - Sweden
|
|
16056
|
+
* * `CH` - Switzerland
|
|
16057
|
+
* * `SY` - Syria
|
|
16058
|
+
* * `TW` - Taiwan
|
|
16059
|
+
* * `TJ` - Tajikistan
|
|
16060
|
+
* * `TZ` - Tanzania
|
|
16061
|
+
* * `TH` - Thailand
|
|
16062
|
+
* * `TL` - Timor-Leste
|
|
16063
|
+
* * `TG` - Togo
|
|
16064
|
+
* * `TK` - Tokelau
|
|
16065
|
+
* * `TO` - Tonga
|
|
16066
|
+
* * `TT` - Trinidad and Tobago
|
|
16067
|
+
* * `TN` - Tunisia
|
|
16068
|
+
* * `TR` - Türkiye
|
|
16069
|
+
* * `TM` - Turkmenistan
|
|
16070
|
+
* * `TC` - Turks and Caicos Islands
|
|
16071
|
+
* * `TV` - Tuvalu
|
|
16072
|
+
* * `UG` - Uganda
|
|
16073
|
+
* * `UA` - Ukraine
|
|
16074
|
+
* * `AE` - United Arab Emirates
|
|
16075
|
+
* * `GB` - United Kingdom
|
|
16076
|
+
* * `UM` - United States Minor Outlying Islands
|
|
16077
|
+
* * `US` - United States of America
|
|
16078
|
+
* * `UY` - Uruguay
|
|
16079
|
+
* * `UZ` - Uzbekistan
|
|
16080
|
+
* * `VU` - Vanuatu
|
|
16081
|
+
* * `VE` - Venezuela
|
|
16082
|
+
* * `VN` - Vietnam
|
|
16083
|
+
* * `VG` - Virgin Islands (British)
|
|
16084
|
+
* * `VI` - Virgin Islands (U.S.)
|
|
16085
|
+
* * `WF` - Wallis and Futuna
|
|
16086
|
+
* * `EH` - Western Sahara
|
|
16087
|
+
* * `YE` - Yemen
|
|
16088
|
+
* * `ZM` - Zambia
|
|
16089
|
+
* * `ZW` - Zimbabwe
|
|
16090
|
+
*/
|
|
16091
|
+
country?: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | '' | null;
|
|
16092
|
+
postal_code?: string | null;
|
|
16093
|
+
state_code?: string | null;
|
|
16094
|
+
};
|
|
16095
|
+
|
|
16096
|
+
/**
|
|
16097
|
+
* A ModelSerializer that takes additional arguments for
|
|
16098
|
+
* "fields", "omit" and "expand" in order to
|
|
16099
|
+
* control which fields are displayed, and whether to replace simple
|
|
16100
|
+
* values with complex, nested serializations
|
|
16101
|
+
*/
|
|
16102
|
+
export type WalletOwnerAddressRequest = {
|
|
16103
|
+
line_1?: string | null;
|
|
16104
|
+
line_2?: string | null;
|
|
16105
|
+
city?: string | null;
|
|
16106
|
+
state_province?: string | null;
|
|
16107
|
+
/**
|
|
16108
|
+
* * `AF` - Afghanistan
|
|
16109
|
+
* * `AX` - Åland Islands
|
|
16110
|
+
* * `AL` - Albania
|
|
16111
|
+
* * `DZ` - Algeria
|
|
16112
|
+
* * `AS` - American Samoa
|
|
16113
|
+
* * `AD` - Andorra
|
|
16114
|
+
* * `AO` - Angola
|
|
16115
|
+
* * `AI` - Anguilla
|
|
16116
|
+
* * `AQ` - Antarctica
|
|
16117
|
+
* * `AG` - Antigua and Barbuda
|
|
16118
|
+
* * `AR` - Argentina
|
|
16119
|
+
* * `AM` - Armenia
|
|
16120
|
+
* * `AW` - Aruba
|
|
16121
|
+
* * `AU` - Australia
|
|
16122
|
+
* * `AT` - Austria
|
|
16123
|
+
* * `AZ` - Azerbaijan
|
|
16124
|
+
* * `BS` - Bahamas
|
|
16125
|
+
* * `BH` - Bahrain
|
|
16126
|
+
* * `BD` - Bangladesh
|
|
16127
|
+
* * `BB` - Barbados
|
|
16128
|
+
* * `BY` - Belarus
|
|
16129
|
+
* * `BE` - Belgium
|
|
16130
|
+
* * `BZ` - Belize
|
|
16131
|
+
* * `BJ` - Benin
|
|
16132
|
+
* * `BM` - Bermuda
|
|
16133
|
+
* * `BT` - Bhutan
|
|
16134
|
+
* * `BO` - Bolivia
|
|
16135
|
+
* * `BQ` - Bonaire, Sint Eustatius and Saba
|
|
16136
|
+
* * `BA` - Bosnia and Herzegovina
|
|
16137
|
+
* * `BW` - Botswana
|
|
16138
|
+
* * `BV` - Bouvet Island
|
|
16139
|
+
* * `BR` - Brazil
|
|
16140
|
+
* * `IO` - British Indian Ocean Territory
|
|
16141
|
+
* * `BN` - Brunei
|
|
16142
|
+
* * `BG` - Bulgaria
|
|
16143
|
+
* * `BF` - Burkina Faso
|
|
16144
|
+
* * `BI` - Burundi
|
|
16145
|
+
* * `CV` - Cabo Verde
|
|
16146
|
+
* * `KH` - Cambodia
|
|
16147
|
+
* * `CM` - Cameroon
|
|
16148
|
+
* * `CA` - Canada
|
|
16149
|
+
* * `KY` - Cayman Islands
|
|
16150
|
+
* * `CF` - Central African Republic
|
|
16151
|
+
* * `TD` - Chad
|
|
16152
|
+
* * `CL` - Chile
|
|
16153
|
+
* * `CN` - China
|
|
16154
|
+
* * `CX` - Christmas Island
|
|
16155
|
+
* * `CC` - Cocos (Keeling) Islands
|
|
16156
|
+
* * `CO` - Colombia
|
|
16157
|
+
* * `KM` - Comoros
|
|
16158
|
+
* * `CG` - Congo
|
|
16159
|
+
* * `CD` - Congo (the Democratic Republic of the)
|
|
16160
|
+
* * `CK` - Cook Islands
|
|
16161
|
+
* * `CR` - Costa Rica
|
|
16162
|
+
* * `CI` - Côte d'Ivoire
|
|
16163
|
+
* * `HR` - Croatia
|
|
16164
|
+
* * `CU` - Cuba
|
|
16165
|
+
* * `CW` - Curaçao
|
|
16166
|
+
* * `CY` - Cyprus
|
|
16167
|
+
* * `CZ` - Czechia
|
|
16168
|
+
* * `DK` - Denmark
|
|
16169
|
+
* * `DJ` - Djibouti
|
|
16170
|
+
* * `DM` - Dominica
|
|
16171
|
+
* * `DO` - Dominican Republic
|
|
16172
|
+
* * `EC` - Ecuador
|
|
16173
|
+
* * `EG` - Egypt
|
|
16174
|
+
* * `SV` - El Salvador
|
|
16175
|
+
* * `GQ` - Equatorial Guinea
|
|
16176
|
+
* * `ER` - Eritrea
|
|
16177
|
+
* * `EE` - Estonia
|
|
16178
|
+
* * `SZ` - Eswatini
|
|
16179
|
+
* * `ET` - Ethiopia
|
|
16180
|
+
* * `FK` - Falkland Islands (Malvinas)
|
|
16181
|
+
* * `FO` - Faroe Islands
|
|
16182
|
+
* * `FJ` - Fiji
|
|
16183
|
+
* * `FI` - Finland
|
|
16184
|
+
* * `FR` - France
|
|
16185
|
+
* * `GF` - French Guiana
|
|
16186
|
+
* * `PF` - French Polynesia
|
|
16187
|
+
* * `TF` - French Southern Territories
|
|
16188
|
+
* * `GA` - Gabon
|
|
16189
|
+
* * `GM` - Gambia
|
|
16190
|
+
* * `GE` - Georgia
|
|
16191
|
+
* * `DE` - Germany
|
|
16192
|
+
* * `GH` - Ghana
|
|
16193
|
+
* * `GI` - Gibraltar
|
|
16194
|
+
* * `GR` - Greece
|
|
16195
|
+
* * `GL` - Greenland
|
|
16196
|
+
* * `GD` - Grenada
|
|
16197
|
+
* * `GP` - Guadeloupe
|
|
16198
|
+
* * `GU` - Guam
|
|
16199
|
+
* * `GT` - Guatemala
|
|
16200
|
+
* * `GG` - Guernsey
|
|
16201
|
+
* * `GN` - Guinea
|
|
16202
|
+
* * `GW` - Guinea-Bissau
|
|
16203
|
+
* * `GY` - Guyana
|
|
16204
|
+
* * `HT` - Haiti
|
|
16205
|
+
* * `HM` - Heard Island and McDonald Islands
|
|
16206
|
+
* * `VA` - Holy See
|
|
16207
|
+
* * `HN` - Honduras
|
|
16208
|
+
* * `HK` - Hong Kong
|
|
16209
|
+
* * `HU` - Hungary
|
|
16210
|
+
* * `IS` - Iceland
|
|
16211
|
+
* * `IN` - India
|
|
16212
|
+
* * `ID` - Indonesia
|
|
16213
|
+
* * `IR` - Iran
|
|
16214
|
+
* * `IQ` - Iraq
|
|
16215
|
+
* * `IE` - Ireland
|
|
16216
|
+
* * `IM` - Isle of Man
|
|
16217
|
+
* * `IL` - Israel
|
|
16218
|
+
* * `IT` - Italy
|
|
16219
|
+
* * `JM` - Jamaica
|
|
16220
|
+
* * `JP` - Japan
|
|
16221
|
+
* * `JE` - Jersey
|
|
16222
|
+
* * `JO` - Jordan
|
|
16223
|
+
* * `KZ` - Kazakhstan
|
|
16224
|
+
* * `KE` - Kenya
|
|
16225
|
+
* * `KI` - Kiribati
|
|
16226
|
+
* * `KW` - Kuwait
|
|
16227
|
+
* * `KG` - Kyrgyzstan
|
|
16228
|
+
* * `LA` - Laos
|
|
16229
|
+
* * `LV` - Latvia
|
|
16230
|
+
* * `LB` - Lebanon
|
|
16231
|
+
* * `LS` - Lesotho
|
|
16232
|
+
* * `LR` - Liberia
|
|
16233
|
+
* * `LY` - Libya
|
|
16234
|
+
* * `LI` - Liechtenstein
|
|
16235
|
+
* * `LT` - Lithuania
|
|
16236
|
+
* * `LU` - Luxembourg
|
|
16237
|
+
* * `MO` - Macao
|
|
16238
|
+
* * `MG` - Madagascar
|
|
16239
|
+
* * `MW` - Malawi
|
|
16240
|
+
* * `MY` - Malaysia
|
|
16241
|
+
* * `MV` - Maldives
|
|
16242
|
+
* * `ML` - Mali
|
|
16243
|
+
* * `MT` - Malta
|
|
16244
|
+
* * `MH` - Marshall Islands
|
|
16245
|
+
* * `MQ` - Martinique
|
|
16246
|
+
* * `MR` - Mauritania
|
|
16247
|
+
* * `MU` - Mauritius
|
|
16248
|
+
* * `YT` - Mayotte
|
|
16249
|
+
* * `MX` - Mexico
|
|
16250
|
+
* * `FM` - Micronesia
|
|
16251
|
+
* * `MD` - Moldova
|
|
16252
|
+
* * `MC` - Monaco
|
|
16253
|
+
* * `MN` - Mongolia
|
|
16254
|
+
* * `ME` - Montenegro
|
|
16255
|
+
* * `MS` - Montserrat
|
|
16256
|
+
* * `MA` - Morocco
|
|
16257
|
+
* * `MZ` - Mozambique
|
|
16258
|
+
* * `MM` - Myanmar
|
|
16259
|
+
* * `NA` - Namibia
|
|
16260
|
+
* * `NR` - Nauru
|
|
16261
|
+
* * `NP` - Nepal
|
|
16262
|
+
* * `NL` - Netherlands
|
|
16263
|
+
* * `NC` - New Caledonia
|
|
16264
|
+
* * `NZ` - New Zealand
|
|
16265
|
+
* * `NI` - Nicaragua
|
|
16266
|
+
* * `NE` - Niger
|
|
16267
|
+
* * `NG` - Nigeria
|
|
16268
|
+
* * `NU` - Niue
|
|
16269
|
+
* * `NF` - Norfolk Island
|
|
16270
|
+
* * `KP` - North Korea
|
|
16271
|
+
* * `MK` - North Macedonia
|
|
16272
|
+
* * `MP` - Northern Mariana Islands
|
|
16273
|
+
* * `NO` - Norway
|
|
16274
|
+
* * `OM` - Oman
|
|
16275
|
+
* * `PK` - Pakistan
|
|
16276
|
+
* * `PW` - Palau
|
|
16277
|
+
* * `PS` - Palestine, State of
|
|
16278
|
+
* * `PA` - Panama
|
|
16279
|
+
* * `PG` - Papua New Guinea
|
|
16280
|
+
* * `PY` - Paraguay
|
|
16281
|
+
* * `PE` - Peru
|
|
16282
|
+
* * `PH` - Philippines
|
|
16283
|
+
* * `PN` - Pitcairn
|
|
16284
|
+
* * `PL` - Poland
|
|
16285
|
+
* * `PT` - Portugal
|
|
16286
|
+
* * `PR` - Puerto Rico
|
|
16287
|
+
* * `QA` - Qatar
|
|
16288
|
+
* * `RE` - Réunion
|
|
16289
|
+
* * `RO` - Romania
|
|
16290
|
+
* * `RU` - Russia
|
|
16291
|
+
* * `RW` - Rwanda
|
|
16292
|
+
* * `BL` - Saint Barthélemy
|
|
16293
|
+
* * `SH` - Saint Helena, Ascension and Tristan da Cunha
|
|
16294
|
+
* * `KN` - Saint Kitts and Nevis
|
|
16295
|
+
* * `LC` - Saint Lucia
|
|
16296
|
+
* * `MF` - Saint Martin (French part)
|
|
16297
|
+
* * `PM` - Saint Pierre and Miquelon
|
|
16298
|
+
* * `VC` - Saint Vincent and the Grenadines
|
|
16299
|
+
* * `WS` - Samoa
|
|
16300
|
+
* * `SM` - San Marino
|
|
16301
|
+
* * `ST` - Sao Tome and Principe
|
|
16302
|
+
* * `SA` - Saudi Arabia
|
|
16303
|
+
* * `SN` - Senegal
|
|
16304
|
+
* * `RS` - Serbia
|
|
16305
|
+
* * `SC` - Seychelles
|
|
16306
|
+
* * `SL` - Sierra Leone
|
|
16307
|
+
* * `SG` - Singapore
|
|
16308
|
+
* * `SX` - Sint Maarten (Dutch part)
|
|
16309
|
+
* * `SK` - Slovakia
|
|
16310
|
+
* * `SI` - Slovenia
|
|
16311
|
+
* * `SB` - Solomon Islands
|
|
16312
|
+
* * `SO` - Somalia
|
|
16313
|
+
* * `ZA` - South Africa
|
|
16314
|
+
* * `GS` - South Georgia and the South Sandwich Islands
|
|
16315
|
+
* * `KR` - South Korea
|
|
16316
|
+
* * `SS` - South Sudan
|
|
16317
|
+
* * `ES` - Spain
|
|
16318
|
+
* * `LK` - Sri Lanka
|
|
16319
|
+
* * `SD` - Sudan
|
|
16320
|
+
* * `SR` - Suriname
|
|
16321
|
+
* * `SJ` - Svalbard and Jan Mayen
|
|
16322
|
+
* * `SE` - Sweden
|
|
16323
|
+
* * `CH` - Switzerland
|
|
16324
|
+
* * `SY` - Syria
|
|
16325
|
+
* * `TW` - Taiwan
|
|
16326
|
+
* * `TJ` - Tajikistan
|
|
16327
|
+
* * `TZ` - Tanzania
|
|
16328
|
+
* * `TH` - Thailand
|
|
16329
|
+
* * `TL` - Timor-Leste
|
|
16330
|
+
* * `TG` - Togo
|
|
16331
|
+
* * `TK` - Tokelau
|
|
16332
|
+
* * `TO` - Tonga
|
|
16333
|
+
* * `TT` - Trinidad and Tobago
|
|
16334
|
+
* * `TN` - Tunisia
|
|
16335
|
+
* * `TR` - Türkiye
|
|
16336
|
+
* * `TM` - Turkmenistan
|
|
16337
|
+
* * `TC` - Turks and Caicos Islands
|
|
16338
|
+
* * `TV` - Tuvalu
|
|
16339
|
+
* * `UG` - Uganda
|
|
16340
|
+
* * `UA` - Ukraine
|
|
16341
|
+
* * `AE` - United Arab Emirates
|
|
16342
|
+
* * `GB` - United Kingdom
|
|
16343
|
+
* * `UM` - United States Minor Outlying Islands
|
|
16344
|
+
* * `US` - United States of America
|
|
16345
|
+
* * `UY` - Uruguay
|
|
16346
|
+
* * `UZ` - Uzbekistan
|
|
16347
|
+
* * `VU` - Vanuatu
|
|
16348
|
+
* * `VE` - Venezuela
|
|
16349
|
+
* * `VN` - Vietnam
|
|
16350
|
+
* * `VG` - Virgin Islands (British)
|
|
16351
|
+
* * `VI` - Virgin Islands (U.S.)
|
|
16352
|
+
* * `WF` - Wallis and Futuna
|
|
16353
|
+
* * `EH` - Western Sahara
|
|
16354
|
+
* * `YE` - Yemen
|
|
16355
|
+
* * `ZM` - Zambia
|
|
16356
|
+
* * `ZW` - Zimbabwe
|
|
16357
|
+
*/
|
|
16358
|
+
country?: 'AF' | 'AX' | 'AL' | 'DZ' | 'AS' | 'AD' | 'AO' | 'AI' | 'AQ' | 'AG' | 'AR' | 'AM' | 'AW' | 'AU' | 'AT' | 'AZ' | 'BS' | 'BH' | 'BD' | 'BB' | 'BY' | 'BE' | 'BZ' | 'BJ' | 'BM' | 'BT' | 'BO' | 'BQ' | 'BA' | 'BW' | 'BV' | 'BR' | 'IO' | 'BN' | 'BG' | 'BF' | 'BI' | 'CV' | 'KH' | 'CM' | 'CA' | 'KY' | 'CF' | 'TD' | 'CL' | 'CN' | 'CX' | 'CC' | 'CO' | 'KM' | 'CG' | 'CD' | 'CK' | 'CR' | 'CI' | 'HR' | 'CU' | 'CW' | 'CY' | 'CZ' | 'DK' | 'DJ' | 'DM' | 'DO' | 'EC' | 'EG' | 'SV' | 'GQ' | 'ER' | 'EE' | 'SZ' | 'ET' | 'FK' | 'FO' | 'FJ' | 'FI' | 'FR' | 'GF' | 'PF' | 'TF' | 'GA' | 'GM' | 'GE' | 'DE' | 'GH' | 'GI' | 'GR' | 'GL' | 'GD' | 'GP' | 'GU' | 'GT' | 'GG' | 'GN' | 'GW' | 'GY' | 'HT' | 'HM' | 'VA' | 'HN' | 'HK' | 'HU' | 'IS' | 'IN' | 'ID' | 'IR' | 'IQ' | 'IE' | 'IM' | 'IL' | 'IT' | 'JM' | 'JP' | 'JE' | 'JO' | 'KZ' | 'KE' | 'KI' | 'KW' | 'KG' | 'LA' | 'LV' | 'LB' | 'LS' | 'LR' | 'LY' | 'LI' | 'LT' | 'LU' | 'MO' | 'MG' | 'MW' | 'MY' | 'MV' | 'ML' | 'MT' | 'MH' | 'MQ' | 'MR' | 'MU' | 'YT' | 'MX' | 'FM' | 'MD' | 'MC' | 'MN' | 'ME' | 'MS' | 'MA' | 'MZ' | 'MM' | 'NA' | 'NR' | 'NP' | 'NL' | 'NC' | 'NZ' | 'NI' | 'NE' | 'NG' | 'NU' | 'NF' | 'KP' | 'MK' | 'MP' | 'NO' | 'OM' | 'PK' | 'PW' | 'PS' | 'PA' | 'PG' | 'PY' | 'PE' | 'PH' | 'PN' | 'PL' | 'PT' | 'PR' | 'QA' | 'RE' | 'RO' | 'RU' | 'RW' | 'BL' | 'SH' | 'KN' | 'LC' | 'MF' | 'PM' | 'VC' | 'WS' | 'SM' | 'ST' | 'SA' | 'SN' | 'RS' | 'SC' | 'SL' | 'SG' | 'SX' | 'SK' | 'SI' | 'SB' | 'SO' | 'ZA' | 'GS' | 'KR' | 'SS' | 'ES' | 'LK' | 'SD' | 'SR' | 'SJ' | 'SE' | 'CH' | 'SY' | 'TW' | 'TJ' | 'TZ' | 'TH' | 'TL' | 'TG' | 'TK' | 'TO' | 'TT' | 'TN' | 'TR' | 'TM' | 'TC' | 'TV' | 'UG' | 'UA' | 'AE' | 'GB' | 'UM' | 'US' | 'UY' | 'UZ' | 'VU' | 'VE' | 'VN' | 'VG' | 'VI' | 'WF' | 'EH' | 'YE' | 'ZM' | 'ZW' | '' | null;
|
|
16359
|
+
postal_code?: string | null;
|
|
16360
|
+
state_code?: string | null;
|
|
16361
|
+
};
|
|
16362
|
+
|
|
16363
|
+
/**
|
|
16364
|
+
* A ModelSerializer that takes additional arguments for
|
|
16365
|
+
* "fields", "omit" and "expand" in order to
|
|
16366
|
+
* control which fields are displayed, and whether to replace simple
|
|
16367
|
+
* values with complex, nested serializations
|
|
16368
|
+
*/
|
|
16369
|
+
export type WalletOwnerRequest = {
|
|
16370
|
+
first_name?: string | null;
|
|
16371
|
+
middle_name?: string | null;
|
|
16372
|
+
last_name?: string | null;
|
|
16373
|
+
full_name?: string | null;
|
|
16374
|
+
phone_number?: string | null;
|
|
16375
|
+
email_address?: string | null;
|
|
16376
|
+
company_name?: string | null;
|
|
16377
|
+
ein_tin?: string | null;
|
|
16378
|
+
address?: WalletOwnerAddressRequest;
|
|
16379
|
+
address_text?: string | null;
|
|
16380
|
+
cpf_cpnj?: string | null;
|
|
16381
|
+
};
|
|
16382
|
+
|
|
16383
|
+
/**
|
|
16384
|
+
* A ModelSerializer that takes additional arguments for
|
|
16385
|
+
* "fields", "omit" and "expand" in order to
|
|
16386
|
+
* control which fields are displayed, and whether to replace simple
|
|
16387
|
+
* values with complex, nested serializations
|
|
16388
|
+
*/
|
|
16389
|
+
export type AccountAssetWritable = {
|
|
16390
|
+
active: boolean;
|
|
16391
|
+
};
|
|
16392
|
+
|
|
16393
|
+
/**
|
|
16394
|
+
* A ModelSerializer that takes additional arguments for
|
|
16395
|
+
* "fields", "omit" and "expand" in order to
|
|
16396
|
+
* control which fields are displayed, and whether to replace simple
|
|
16397
|
+
* values with complex, nested serializations
|
|
16398
|
+
*/
|
|
16399
|
+
export type AccountAssetLimitWritable = {
|
|
16400
|
+
/**
|
|
16401
|
+
* * `max` - Maximum
|
|
16402
|
+
* * `day_max` - Maximum per day
|
|
16403
|
+
* * `week_max` - Maximum per week
|
|
15345
16404
|
* * `month_max` - Maximum per month
|
|
15346
16405
|
* * `min` - Minimum
|
|
15347
16406
|
* * `overdraft` - Overdraft
|
|
@@ -15514,6 +16573,9 @@ export type AdminAccountAssetLimitWritable = {
|
|
|
15514
16573
|
* * `debit` - Debit
|
|
15515
16574
|
*/
|
|
15516
16575
|
tx_type: 'credit' | 'debit';
|
|
16576
|
+
metadata?: {
|
|
16577
|
+
[key: string]: unknown;
|
|
16578
|
+
} | null;
|
|
15517
16579
|
};
|
|
15518
16580
|
|
|
15519
16581
|
export type AdminAccountAssetLimitResponseWritable = {
|
|
@@ -15603,6 +16665,9 @@ export type AdminAlertWritable = {
|
|
|
15603
16665
|
[key: string]: unknown;
|
|
15604
16666
|
} | null;
|
|
15605
16667
|
archived?: boolean;
|
|
16668
|
+
actions?: Array<{
|
|
16669
|
+
[key: string]: unknown;
|
|
16670
|
+
}>;
|
|
15606
16671
|
};
|
|
15607
16672
|
|
|
15608
16673
|
/**
|
|
@@ -16123,12 +17188,9 @@ export type AdminCompanyWalletAccountWritable = {
|
|
|
16123
17188
|
email?: string | null;
|
|
16124
17189
|
mobile?: string | null;
|
|
16125
17190
|
name?: string | null;
|
|
16126
|
-
|
|
16127
|
-
|
|
16128
|
-
|
|
16129
|
-
* * `other` - Other
|
|
16130
|
-
*/
|
|
16131
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
17191
|
+
type?: string | null;
|
|
17192
|
+
payment_method?: string | null;
|
|
17193
|
+
owner?: WalletOwner | null;
|
|
16132
17194
|
wallet_currency?: string | null;
|
|
16133
17195
|
metadata?: {
|
|
16134
17196
|
[key: string]: unknown;
|
|
@@ -16240,6 +17302,9 @@ export type AdminCreateAccountAccountAssetLimitRequestWritable = {
|
|
|
16240
17302
|
value: number;
|
|
16241
17303
|
begin?: number | null;
|
|
16242
17304
|
end?: number | null;
|
|
17305
|
+
metadata?: {
|
|
17306
|
+
[key: string]: unknown;
|
|
17307
|
+
} | null;
|
|
16243
17308
|
};
|
|
16244
17309
|
|
|
16245
17310
|
export type AdminCreateAccountAccountAssetRequestWritable = {
|
|
@@ -16285,10 +17350,9 @@ export type AdminCreateAccountRequestWritable = {
|
|
|
16285
17350
|
};
|
|
16286
17351
|
|
|
16287
17352
|
/**
|
|
16288
|
-
*
|
|
16289
|
-
*
|
|
16290
|
-
*
|
|
16291
|
-
* values with complex, nested serializations
|
|
17353
|
+
* Detail-endpoint serializer. Same response shape as the base; adds the
|
|
17354
|
+
* row-locking update() needed when appending actions on PATCH. Extend
|
|
17355
|
+
* here (not on the base) to add fields that should not appear on list.
|
|
16292
17356
|
*/
|
|
16293
17357
|
export type AdminCreateAlertRequestWritable = {
|
|
16294
17358
|
transaction?: string;
|
|
@@ -16573,6 +17637,9 @@ export type AdminCreateGroupLimitRequestWritable = {
|
|
|
16573
17637
|
currency: string;
|
|
16574
17638
|
begin?: number | null;
|
|
16575
17639
|
end?: number | null;
|
|
17640
|
+
metadata?: {
|
|
17641
|
+
[key: string]: unknown;
|
|
17642
|
+
} | null;
|
|
16576
17643
|
};
|
|
16577
17644
|
|
|
16578
17645
|
export type AdminCreateGroupPermissionRequestWritable = {
|
|
@@ -16603,15 +17670,17 @@ export type AdminCreateGroupPermissionRequestWritable = {
|
|
|
16603
17670
|
* * `notification` - Notification
|
|
16604
17671
|
* * `oauthclient` - Oauth Client
|
|
16605
17672
|
* * `permission` - Permission
|
|
17673
|
+
* * `policy` - Policy
|
|
16606
17674
|
* * `request` - Request
|
|
16607
17675
|
* * `service` - Service
|
|
16608
17676
|
* * `token` - Token
|
|
16609
17677
|
* * `transaction` - Transaction
|
|
16610
17678
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
16611
17679
|
* * `user` - User
|
|
17680
|
+
* * `walletaccount` - Wallet Account
|
|
16612
17681
|
* * `webhook` - Webhook
|
|
16613
17682
|
*/
|
|
16614
|
-
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
17683
|
+
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
16615
17684
|
/**
|
|
16616
17685
|
* * `view` - View
|
|
16617
17686
|
* * `add` - Add
|
|
@@ -16701,6 +17770,9 @@ export type AdminCreateGroupTierLimitRequestWritable = {
|
|
|
16701
17770
|
account_definition?: string | null;
|
|
16702
17771
|
begin?: number | null;
|
|
16703
17772
|
end?: number | null;
|
|
17773
|
+
metadata?: {
|
|
17774
|
+
[key: string]: unknown;
|
|
17775
|
+
} | null;
|
|
16704
17776
|
};
|
|
16705
17777
|
|
|
16706
17778
|
/**
|
|
@@ -17242,7 +18314,11 @@ export type AdminCreateUserBankAccountRequestWritable = {
|
|
|
17242
18314
|
*/
|
|
17243
18315
|
export type AdminCreateUserDocumentRequestWritable = {
|
|
17244
18316
|
user: string;
|
|
17245
|
-
file
|
|
18317
|
+
file?: Blob | File;
|
|
18318
|
+
/**
|
|
18319
|
+
* Multi-file upload aligned with the document type's `file_rules`. Submit as bracketed multipart keys: `files[<i>][file]` (binary), `files[<i>][label]`, `files[<i>][description]` where `<i>` is the rule index (0..4). Mutually exclusive with the legacy `file` field; required when the document type defines `file_rules`.
|
|
18320
|
+
*/
|
|
18321
|
+
files?: Array<DocumentFileWriteRequest>;
|
|
17246
18322
|
type: number;
|
|
17247
18323
|
/**
|
|
17248
18324
|
* * `obsolete` - Obsolete
|
|
@@ -17853,15 +18929,17 @@ export type AdminCreateUserPermissionRequestWritable = {
|
|
|
17853
18929
|
* * `notification` - Notification
|
|
17854
18930
|
* * `oauthclient` - Oauth Client
|
|
17855
18931
|
* * `permission` - Permission
|
|
18932
|
+
* * `policy` - Policy
|
|
17856
18933
|
* * `request` - Request
|
|
17857
18934
|
* * `service` - Service
|
|
17858
18935
|
* * `token` - Token
|
|
17859
18936
|
* * `transaction` - Transaction
|
|
17860
18937
|
* * `transactionsubtypes` - Transaction Subtypes
|
|
17861
18938
|
* * `user` - User
|
|
18939
|
+
* * `walletaccount` - Wallet Account
|
|
17862
18940
|
* * `webhook` - Webhook
|
|
17863
18941
|
*/
|
|
17864
|
-
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
18942
|
+
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'alert' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'policy' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'walletaccount' | 'webhook';
|
|
17865
18943
|
/**
|
|
17866
18944
|
* * `view` - View
|
|
17867
18945
|
* * `add` - Add
|
|
@@ -17886,12 +18964,9 @@ export type AdminCreateUserWalletAccountRequestWritable = {
|
|
|
17886
18964
|
email?: string | null;
|
|
17887
18965
|
mobile?: string | null;
|
|
17888
18966
|
name?: string | null;
|
|
17889
|
-
|
|
17890
|
-
|
|
17891
|
-
|
|
17892
|
-
* * `other` - Other
|
|
17893
|
-
*/
|
|
17894
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
18967
|
+
type?: string | null;
|
|
18968
|
+
payment_method?: string | null;
|
|
18969
|
+
owner?: WalletOwnerRequest | null;
|
|
17895
18970
|
wallet_currency?: string | null;
|
|
17896
18971
|
metadata?: {
|
|
17897
18972
|
[key: string]: unknown;
|
|
@@ -18037,6 +19112,7 @@ export type AdminDocumentTypeWritable = {
|
|
|
18037
19112
|
name?: string | null;
|
|
18038
19113
|
description?: string | null;
|
|
18039
19114
|
related_resources?: Array<'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount'>;
|
|
19115
|
+
file_rules?: unknown;
|
|
18040
19116
|
metadata?: {
|
|
18041
19117
|
[key: string]: unknown;
|
|
18042
19118
|
} | null;
|
|
@@ -18170,10 +19246,9 @@ export type AdminExtendedAccountResponseWritable = {
|
|
|
18170
19246
|
};
|
|
18171
19247
|
|
|
18172
19248
|
/**
|
|
18173
|
-
*
|
|
18174
|
-
*
|
|
18175
|
-
*
|
|
18176
|
-
* values with complex, nested serializations
|
|
19249
|
+
* Detail-endpoint serializer. Same response shape as the base; adds the
|
|
19250
|
+
* row-locking update() needed when appending actions on PATCH. Extend
|
|
19251
|
+
* here (not on the base) to add fields that should not appear on list.
|
|
18177
19252
|
*/
|
|
18178
19253
|
export type AdminExtendedAlertWritable = {
|
|
18179
19254
|
name: string;
|
|
@@ -18325,6 +19400,9 @@ export type AdminExtendedRequestWritable = {
|
|
|
18325
19400
|
* * `oauthsession` - Oauth Session
|
|
18326
19401
|
* * `oidckey` - Oidc Key
|
|
18327
19402
|
* * `permission` - Permission
|
|
19403
|
+
* * `policy` - Policy
|
|
19404
|
+
* * `policyeffect` - Policy Effect
|
|
19405
|
+
* * `policylog` - Policy Log
|
|
18328
19406
|
* * `recoverycode` - Recovery Code
|
|
18329
19407
|
* * `refresh_token` - Refresh Token
|
|
18330
19408
|
* * `request` - Request
|
|
@@ -18345,11 +19423,12 @@ export type AdminExtendedRequestWritable = {
|
|
|
18345
19423
|
* * `userlegaltermversion` - User Legal Term Version
|
|
18346
19424
|
* * `usermessage` - User Message
|
|
18347
19425
|
* * `userpermission` - User Permission
|
|
19426
|
+
* * `walletowneraddress` - Wallet Owner Address
|
|
18348
19427
|
* * `webhook` - Webhook
|
|
18349
19428
|
* * `webhooktask` - Webhook Task
|
|
18350
19429
|
* * `webhookrequest` - Webhook Request
|
|
18351
19430
|
*/
|
|
18352
|
-
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
19431
|
+
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'policy' | 'policyeffect' | 'policylog' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'walletowneraddress' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
18353
19432
|
};
|
|
18354
19433
|
|
|
18355
19434
|
export type AdminExtendedRequestResponseWritable = {
|
|
@@ -19053,6 +20132,9 @@ export type AdminGroupLimitWritable = {
|
|
|
19053
20132
|
*/
|
|
19054
20133
|
tx_type: 'credit' | 'debit';
|
|
19055
20134
|
archived?: boolean;
|
|
20135
|
+
metadata?: {
|
|
20136
|
+
[key: string]: unknown;
|
|
20137
|
+
} | null;
|
|
19056
20138
|
};
|
|
19057
20139
|
|
|
19058
20140
|
export type AdminGroupLimitListWritable = Array<AdminGroupLimitWritable>;
|
|
@@ -19180,6 +20262,9 @@ export type AdminGroupTierLimitWritable = {
|
|
|
19180
20262
|
tx_type: 'credit' | 'debit';
|
|
19181
20263
|
currency: string;
|
|
19182
20264
|
archived?: boolean;
|
|
20265
|
+
metadata?: {
|
|
20266
|
+
[key: string]: unknown;
|
|
20267
|
+
} | null;
|
|
19183
20268
|
};
|
|
19184
20269
|
|
|
19185
20270
|
export type AdminGroupTierLimitListWritable = Array<AdminGroupTierLimitWritable>;
|
|
@@ -19359,17 +20444,87 @@ export type AdminOauthClientWritable = {
|
|
|
19359
20444
|
client_id: string;
|
|
19360
20445
|
data?: {
|
|
19361
20446
|
[key: string]: unknown;
|
|
19362
|
-
} | null;
|
|
19363
|
-
archived?: boolean;
|
|
20447
|
+
} | null;
|
|
20448
|
+
archived?: boolean;
|
|
20449
|
+
};
|
|
20450
|
+
|
|
20451
|
+
export type AdminOauthClientResponseWritable = {
|
|
20452
|
+
status: string;
|
|
20453
|
+
data: AdminOauthClientWritable;
|
|
20454
|
+
};
|
|
20455
|
+
|
|
20456
|
+
export type AdminOverviewAssetResponseWritable = {
|
|
20457
|
+
status: string;
|
|
20458
|
+
};
|
|
20459
|
+
|
|
20460
|
+
/**
|
|
20461
|
+
* A ModelSerializer that takes additional arguments for
|
|
20462
|
+
* "fields", "omit" and "expand" in order to
|
|
20463
|
+
* control which fields are displayed, and whether to replace simple
|
|
20464
|
+
* values with complex, nested serializations
|
|
20465
|
+
*/
|
|
20466
|
+
export type AdminPolicyWritable = {
|
|
20467
|
+
/**
|
|
20468
|
+
* * `trigger` - Trigger
|
|
20469
|
+
*/
|
|
20470
|
+
type?: 'trigger';
|
|
20471
|
+
name: string;
|
|
20472
|
+
label?: string | null;
|
|
20473
|
+
description?: string | null;
|
|
20474
|
+
tags?: Array<string> | null;
|
|
20475
|
+
/**
|
|
20476
|
+
* * `transaction.execute` - Transaction Execute
|
|
20477
|
+
* * `transaction.initiate` - Transaction Initiate
|
|
20478
|
+
* * `user.create` - User Create
|
|
20479
|
+
* * `mobile.create` - Mobile Create
|
|
20480
|
+
* * `mobile.create.conflict` - Mobile Create Conflict
|
|
20481
|
+
* * `device.create` - Device Create
|
|
20482
|
+
*/
|
|
20483
|
+
event: 'transaction.execute' | 'transaction.initiate' | 'user.create' | 'mobile.create' | 'mobile.create.conflict' | 'device.create';
|
|
20484
|
+
condition?: {
|
|
20485
|
+
[key: string]: unknown;
|
|
20486
|
+
} | null;
|
|
20487
|
+
enabled?: boolean;
|
|
20488
|
+
metadata?: {
|
|
20489
|
+
[key: string]: unknown;
|
|
20490
|
+
} | null;
|
|
20491
|
+
};
|
|
20492
|
+
|
|
20493
|
+
/**
|
|
20494
|
+
* A ModelSerializer that takes additional arguments for
|
|
20495
|
+
* "fields", "omit" and "expand" in order to
|
|
20496
|
+
* control which fields are displayed, and whether to replace simple
|
|
20497
|
+
* values with complex, nested serializations
|
|
20498
|
+
*/
|
|
20499
|
+
export type AdminPolicyEffectWritable = {
|
|
20500
|
+
/**
|
|
20501
|
+
* * `create_account_asset_limit` - Create Account Asset Limit
|
|
20502
|
+
* * `disable_user_transactions` - Disable User Transactions
|
|
20503
|
+
* * `disable_user_transaction_type` - Disable User Transaction Type
|
|
20504
|
+
* * `create_user_message` - Create User Message
|
|
20505
|
+
* * `create_transaction_message` - Create Transaction Message
|
|
20506
|
+
* * `create_user_alert` - Create User Alert
|
|
20507
|
+
* * `create_transaction_alert` - Create Transaction Alert
|
|
20508
|
+
*/
|
|
20509
|
+
type: 'create_account_asset_limit' | 'disable_user_transactions' | 'disable_user_transaction_type' | 'create_user_message' | 'create_transaction_message' | 'create_user_alert' | 'create_transaction_alert';
|
|
20510
|
+
label?: string | null;
|
|
20511
|
+
params?: {
|
|
20512
|
+
[key: string]: unknown;
|
|
20513
|
+
};
|
|
19364
20514
|
};
|
|
19365
20515
|
|
|
19366
|
-
export type
|
|
20516
|
+
export type AdminPolicyEffectResponseWritable = {
|
|
19367
20517
|
status: string;
|
|
19368
|
-
data:
|
|
20518
|
+
data: AdminPolicyEffectWritable;
|
|
19369
20519
|
};
|
|
19370
20520
|
|
|
19371
|
-
export type
|
|
20521
|
+
export type AdminPolicyLogResponseWritable = {
|
|
20522
|
+
status: string;
|
|
20523
|
+
};
|
|
20524
|
+
|
|
20525
|
+
export type AdminPolicyResponseWritable = {
|
|
19372
20526
|
status: string;
|
|
20527
|
+
data: AdminPolicyWritable;
|
|
19373
20528
|
};
|
|
19374
20529
|
|
|
19375
20530
|
/**
|
|
@@ -20026,6 +21181,9 @@ export type AdminRequestWritable = {
|
|
|
20026
21181
|
* * `oauthsession` - Oauth Session
|
|
20027
21182
|
* * `oidckey` - Oidc Key
|
|
20028
21183
|
* * `permission` - Permission
|
|
21184
|
+
* * `policy` - Policy
|
|
21185
|
+
* * `policyeffect` - Policy Effect
|
|
21186
|
+
* * `policylog` - Policy Log
|
|
20029
21187
|
* * `recoverycode` - Recovery Code
|
|
20030
21188
|
* * `refresh_token` - Refresh Token
|
|
20031
21189
|
* * `request` - Request
|
|
@@ -20046,11 +21204,12 @@ export type AdminRequestWritable = {
|
|
|
20046
21204
|
* * `userlegaltermversion` - User Legal Term Version
|
|
20047
21205
|
* * `usermessage` - User Message
|
|
20048
21206
|
* * `userpermission` - User Permission
|
|
21207
|
+
* * `walletowneraddress` - Wallet Owner Address
|
|
20049
21208
|
* * `webhook` - Webhook
|
|
20050
21209
|
* * `webhooktask` - Webhook Task
|
|
20051
21210
|
* * `webhookrequest` - Webhook Request
|
|
20052
21211
|
*/
|
|
20053
|
-
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
21212
|
+
resource: 'accesscontrolrule' | 'account' | 'accountcurrency' | 'accountcurrencylimit' | 'accountcurrencyfee' | 'accountdefinition' | 'accountdefinitiongroup' | 'accountdefinitiongroupcurrency' | 'alert' | 'currency' | 'authenticator' | 'authenticatorchallenge' | 'authenticatorrule' | 'backgroundtask' | 'bankowneraddress' | 'bankbranchaddress' | 'company' | 'companyaddress' | 'companybankaccount' | 'companywalletaccount' | 'companyservice' | 'companynotification' | 'device' | 'deviceapp' | 'document' | 'documenttype' | 'export' | 'exportpage' | 'email' | 'group' | 'grouplimit' | 'groupfee' | 'grouppermission' | 'grouptier' | 'grouptierrequirement' | 'grouptierlimit' | 'grouptierfee' | 'grouptierrequirementsetitem' | 'grouptierrequirementset' | 'legalterm' | 'legaltermversion' | 'metric' | 'metric_schema' | 'metric_point' | 'mfa' | 'mfasmsdevice' | 'mfatotpdevice' | 'mfastaticdevice' | 'mfatokenverification' | 'mobile' | 'mobileconfirmation' | 'notification' | 'oauthclient' | 'oauthlink' | 'oauthsession' | 'oidckey' | 'permission' | 'policy' | 'policyeffect' | 'policylog' | 'recoverycode' | 'refresh_token' | 'request' | 'resourcerequirementrule' | 'service' | 'statement' | 'token' | 'transaction' | 'transactionfee' | 'transactionsubtype' | 'transactionmessage' | 'transactioncollection' | 'user' | 'useraddress' | 'userbankaccount' | 'userwalletaccount' | 'usercryptoaccount' | 'userlegaltermversion' | 'usermessage' | 'userpermission' | 'walletowneraddress' | 'webhook' | 'webhooktask' | 'webhookrequest' | null;
|
|
20054
21213
|
};
|
|
20055
21214
|
|
|
20056
21215
|
/**
|
|
@@ -20156,6 +21315,9 @@ export type AdminTransactionMessageWritable = {
|
|
|
20156
21315
|
*/
|
|
20157
21316
|
level?: 'info' | 'warning' | 'error';
|
|
20158
21317
|
message: string;
|
|
21318
|
+
metadata?: {
|
|
21319
|
+
[key: string]: unknown;
|
|
21320
|
+
} | null;
|
|
20159
21321
|
archived?: boolean;
|
|
20160
21322
|
};
|
|
20161
21323
|
|
|
@@ -20343,6 +21505,9 @@ export type AdminUpdateGroupLimitRequestWritable = {
|
|
|
20343
21505
|
currency: string;
|
|
20344
21506
|
begin?: number | null;
|
|
20345
21507
|
end?: number | null;
|
|
21508
|
+
metadata?: {
|
|
21509
|
+
[key: string]: unknown;
|
|
21510
|
+
} | null;
|
|
20346
21511
|
archived?: boolean;
|
|
20347
21512
|
};
|
|
20348
21513
|
|
|
@@ -20426,6 +21591,9 @@ export type AdminUpdateGroupTierLimitRequestWritable = {
|
|
|
20426
21591
|
account_definition?: string | null;
|
|
20427
21592
|
begin?: number | null;
|
|
20428
21593
|
end?: number | null;
|
|
21594
|
+
metadata?: {
|
|
21595
|
+
[key: string]: unknown;
|
|
21596
|
+
} | null;
|
|
20429
21597
|
archived?: boolean;
|
|
20430
21598
|
};
|
|
20431
21599
|
|
|
@@ -22107,6 +23275,9 @@ export type AdminUserMessageWritable = {
|
|
|
22107
23275
|
*/
|
|
22108
23276
|
level?: 'info' | 'warning' | 'error';
|
|
22109
23277
|
message: string;
|
|
23278
|
+
metadata?: {
|
|
23279
|
+
[key: string]: unknown;
|
|
23280
|
+
} | null;
|
|
22110
23281
|
archived?: boolean;
|
|
22111
23282
|
};
|
|
22112
23283
|
|
|
@@ -22143,12 +23314,9 @@ export type AdminUserWalletAccountWritable = {
|
|
|
22143
23314
|
email?: string | null;
|
|
22144
23315
|
mobile?: string | null;
|
|
22145
23316
|
name?: string | null;
|
|
22146
|
-
|
|
22147
|
-
|
|
22148
|
-
|
|
22149
|
-
* * `other` - Other
|
|
22150
|
-
*/
|
|
22151
|
-
type?: 'paypal' | 'venmo' | 'other';
|
|
23317
|
+
type?: string | null;
|
|
23318
|
+
payment_method?: string | null;
|
|
23319
|
+
owner?: WalletOwner | null;
|
|
22152
23320
|
wallet_currency?: string | null;
|
|
22153
23321
|
metadata?: {
|
|
22154
23322
|
[key: string]: unknown;
|
|
@@ -22229,6 +23397,7 @@ export type AdminWebhookWritable = {
|
|
|
22229
23397
|
* * `email.update` - Email Update
|
|
22230
23398
|
* * `mobile.create` - Mobile Create
|
|
22231
23399
|
* * `mobile.update` - Mobile Update
|
|
23400
|
+
* * `device.create` - Device Create
|
|
22232
23401
|
* * `address.create` - Address Create
|
|
22233
23402
|
* * `address.update` - Address Update
|
|
22234
23403
|
* * `document.create` - Document Create
|
|
@@ -22238,6 +23407,9 @@ export type AdminWebhookWritable = {
|
|
|
22238
23407
|
* * `bank_account.delete` - Bank Account Delete
|
|
22239
23408
|
* * `crypto_account.create` - Crypto Account Create
|
|
22240
23409
|
* * `crypto_account.update` - Crypto Account Update
|
|
23410
|
+
* * `wallet_account.create` - Wallet Account Create
|
|
23411
|
+
* * `wallet_account.update` - Wallet Account Update
|
|
23412
|
+
* * `wallet_account.delete` - Wallet Account Delete
|
|
22241
23413
|
* * `account.create` - Account Create
|
|
22242
23414
|
* * `account.update` - Account Update
|
|
22243
23415
|
* * `account.currency.create` - Account Currency Create
|
|
@@ -22251,7 +23423,7 @@ export type AdminWebhookWritable = {
|
|
|
22251
23423
|
* * `alert.create` - Alert Create
|
|
22252
23424
|
* * `alert.update` - Alert Update
|
|
22253
23425
|
*/
|
|
22254
|
-
event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
|
|
23426
|
+
event: 'company.link.create' | 'company.link.update' | 'company.update' | 'currency.create' | 'currency.update' | 'user.create' | 'user.update' | 'user.password.reset' | 'user.password.set' | 'user.deactivate.verify' | 'user.request_delete.verify' | 'user.email.verify' | 'user.mobile.verify' | 'email.create' | 'email.update' | 'mobile.create' | 'mobile.update' | 'device.create' | 'address.create' | 'address.update' | 'document.create' | 'document.update' | 'bank_account.create' | 'bank_account.update' | 'bank_account.delete' | 'crypto_account.create' | 'crypto_account.update' | 'wallet_account.create' | 'wallet_account.update' | 'wallet_account.delete' | 'account.create' | 'account.update' | 'account.currency.create' | 'transaction.create' | 'transaction.update' | 'transaction.initiate' | 'transaction.execute' | 'transaction.transition.create' | 'transaction.transition.update' | 'mfa.sms.verify' | 'alert.create' | 'alert.update';
|
|
22255
23427
|
secret?: string;
|
|
22256
23428
|
condition?: string | null;
|
|
22257
23429
|
enabled?: boolean;
|
|
@@ -23406,6 +24578,42 @@ export type PaginatedAdminOauthClientListResponseWritable = {
|
|
|
23406
24578
|
data: PaginatedAdminOauthClientListWritable;
|
|
23407
24579
|
};
|
|
23408
24580
|
|
|
24581
|
+
export type PaginatedAdminPolicyEffectListWritable = {
|
|
24582
|
+
count?: number;
|
|
24583
|
+
next?: string | null;
|
|
24584
|
+
previous?: string | null;
|
|
24585
|
+
results?: Array<AdminPolicyEffectWritable>;
|
|
24586
|
+
};
|
|
24587
|
+
|
|
24588
|
+
export type PaginatedAdminPolicyEffectListResponseWritable = {
|
|
24589
|
+
status: string;
|
|
24590
|
+
data: PaginatedAdminPolicyEffectListWritable;
|
|
24591
|
+
};
|
|
24592
|
+
|
|
24593
|
+
export type PaginatedAdminPolicyListWritable = {
|
|
24594
|
+
count?: number;
|
|
24595
|
+
next?: string | null;
|
|
24596
|
+
previous?: string | null;
|
|
24597
|
+
results?: Array<AdminPolicyWritable>;
|
|
24598
|
+
};
|
|
24599
|
+
|
|
24600
|
+
export type PaginatedAdminPolicyListResponseWritable = {
|
|
24601
|
+
status: string;
|
|
24602
|
+
data: PaginatedAdminPolicyListWritable;
|
|
24603
|
+
};
|
|
24604
|
+
|
|
24605
|
+
export type PaginatedAdminPolicyLogListWritable = {
|
|
24606
|
+
count?: number;
|
|
24607
|
+
next?: string | null;
|
|
24608
|
+
previous?: string | null;
|
|
24609
|
+
results?: Array<unknown>;
|
|
24610
|
+
};
|
|
24611
|
+
|
|
24612
|
+
export type PaginatedAdminPolicyLogListResponseWritable = {
|
|
24613
|
+
status: string;
|
|
24614
|
+
data: PaginatedAdminPolicyLogListWritable;
|
|
24615
|
+
};
|
|
24616
|
+
|
|
23409
24617
|
export type PaginatedAdminRequestListWritable = {
|
|
23410
24618
|
count?: number;
|
|
23411
24619
|
next?: string | null;
|
|
@@ -23816,6 +25024,9 @@ export type PatchedAdminCreateAccountAccountAssetLimitRequestWritable = {
|
|
|
23816
25024
|
value?: number;
|
|
23817
25025
|
begin?: number | null;
|
|
23818
25026
|
end?: number | null;
|
|
25027
|
+
metadata?: {
|
|
25028
|
+
[key: string]: unknown;
|
|
25029
|
+
} | null;
|
|
23819
25030
|
};
|
|
23820
25031
|
|
|
23821
25032
|
/**
|
|
@@ -23962,6 +25173,9 @@ export type PatchedAdminUpdateGroupLimitRequestWritable = {
|
|
|
23962
25173
|
currency?: string;
|
|
23963
25174
|
begin?: number | null;
|
|
23964
25175
|
end?: number | null;
|
|
25176
|
+
metadata?: {
|
|
25177
|
+
[key: string]: unknown;
|
|
25178
|
+
} | null;
|
|
23965
25179
|
archived?: boolean;
|
|
23966
25180
|
};
|
|
23967
25181
|
|
|
@@ -24040,6 +25254,9 @@ export type PatchedAdminUpdateGroupTierLimitRequestWritable = {
|
|
|
24040
25254
|
account_definition?: string | null;
|
|
24041
25255
|
begin?: number | null;
|
|
24042
25256
|
end?: number | null;
|
|
25257
|
+
metadata?: {
|
|
25258
|
+
[key: string]: unknown;
|
|
25259
|
+
} | null;
|
|
24043
25260
|
archived?: boolean;
|
|
24044
25261
|
};
|
|
24045
25262
|
|
|
@@ -25772,6 +26989,8 @@ export type AlertsListData = {
|
|
|
25772
26989
|
created__gte?: string;
|
|
25773
26990
|
created__lt?: string;
|
|
25774
26991
|
created__lte?: string;
|
|
26992
|
+
name?: string;
|
|
26993
|
+
name__icontains?: string;
|
|
25775
26994
|
/**
|
|
25776
26995
|
* A page number within the paginated result set.
|
|
25777
26996
|
*/
|
|
@@ -25780,8 +26999,14 @@ export type AlertsListData = {
|
|
|
25780
26999
|
* Number of results to return per page.
|
|
25781
27000
|
*/
|
|
25782
27001
|
page_size?: number;
|
|
27002
|
+
policy__name?: string;
|
|
27003
|
+
policy__name__icontains?: string;
|
|
25783
27004
|
priority?: string;
|
|
25784
27005
|
status?: string;
|
|
27006
|
+
/**
|
|
27007
|
+
* Multiple values may be separated by commas.
|
|
27008
|
+
*/
|
|
27009
|
+
status__in?: Array<string>;
|
|
25785
27010
|
transaction?: string;
|
|
25786
27011
|
updated?: string;
|
|
25787
27012
|
updated__gt?: string;
|
|
@@ -28120,6 +29345,279 @@ export type PermissionsRetrieveResponses = {
|
|
|
28120
29345
|
|
|
28121
29346
|
export type PermissionsRetrieveResponse = PermissionsRetrieveResponses[keyof PermissionsRetrieveResponses];
|
|
28122
29347
|
|
|
29348
|
+
export type PoliciesListData = {
|
|
29349
|
+
body?: never;
|
|
29350
|
+
path?: never;
|
|
29351
|
+
query?: {
|
|
29352
|
+
author?: string;
|
|
29353
|
+
created?: string;
|
|
29354
|
+
created__gt?: string;
|
|
29355
|
+
created__gte?: string;
|
|
29356
|
+
created__lt?: string;
|
|
29357
|
+
created__lte?: string;
|
|
29358
|
+
enabled?: boolean;
|
|
29359
|
+
event?: string;
|
|
29360
|
+
id?: string;
|
|
29361
|
+
name?: string;
|
|
29362
|
+
/**
|
|
29363
|
+
* A page number within the paginated result set.
|
|
29364
|
+
*/
|
|
29365
|
+
page?: number;
|
|
29366
|
+
/**
|
|
29367
|
+
* Number of results to return per page.
|
|
29368
|
+
*/
|
|
29369
|
+
page_size?: number;
|
|
29370
|
+
tag?: string;
|
|
29371
|
+
type?: string;
|
|
29372
|
+
updated?: string;
|
|
29373
|
+
updated__gt?: string;
|
|
29374
|
+
updated__gte?: string;
|
|
29375
|
+
updated__lt?: string;
|
|
29376
|
+
updated__lte?: string;
|
|
29377
|
+
};
|
|
29378
|
+
url: '/3/admin/policies/';
|
|
29379
|
+
};
|
|
29380
|
+
|
|
29381
|
+
export type PoliciesListResponses = {
|
|
29382
|
+
200: PaginatedAdminPolicyListResponse;
|
|
29383
|
+
};
|
|
29384
|
+
|
|
29385
|
+
export type PoliciesListResponse = PoliciesListResponses[keyof PoliciesListResponses];
|
|
29386
|
+
|
|
29387
|
+
export type PoliciesCreateData = {
|
|
29388
|
+
body: AdminCreatePolicyRequest;
|
|
29389
|
+
path?: never;
|
|
29390
|
+
query?: never;
|
|
29391
|
+
url: '/3/admin/policies/';
|
|
29392
|
+
};
|
|
29393
|
+
|
|
29394
|
+
export type PoliciesCreateResponses = {
|
|
29395
|
+
201: AdminPolicyResponse;
|
|
29396
|
+
};
|
|
29397
|
+
|
|
29398
|
+
export type PoliciesCreateResponse = PoliciesCreateResponses[keyof PoliciesCreateResponses];
|
|
29399
|
+
|
|
29400
|
+
export type PoliciesDestroyData = {
|
|
29401
|
+
body?: never;
|
|
29402
|
+
path: {
|
|
29403
|
+
identifier: string;
|
|
29404
|
+
};
|
|
29405
|
+
query?: never;
|
|
29406
|
+
url: '/3/admin/policies/{identifier}/';
|
|
29407
|
+
};
|
|
29408
|
+
|
|
29409
|
+
export type PoliciesDestroyResponses = {
|
|
29410
|
+
200: ActionResponse;
|
|
29411
|
+
};
|
|
29412
|
+
|
|
29413
|
+
export type PoliciesDestroyResponse = PoliciesDestroyResponses[keyof PoliciesDestroyResponses];
|
|
29414
|
+
|
|
29415
|
+
export type PoliciesRetrieveData = {
|
|
29416
|
+
body?: never;
|
|
29417
|
+
path: {
|
|
29418
|
+
identifier: string;
|
|
29419
|
+
};
|
|
29420
|
+
query?: never;
|
|
29421
|
+
url: '/3/admin/policies/{identifier}/';
|
|
29422
|
+
};
|
|
29423
|
+
|
|
29424
|
+
export type PoliciesRetrieveResponses = {
|
|
29425
|
+
200: AdminPolicyResponse;
|
|
29426
|
+
};
|
|
29427
|
+
|
|
29428
|
+
export type PoliciesRetrieveResponse = PoliciesRetrieveResponses[keyof PoliciesRetrieveResponses];
|
|
29429
|
+
|
|
29430
|
+
export type PoliciesPartialUpdateData = {
|
|
29431
|
+
body?: PatchedAdminPolicyRequest;
|
|
29432
|
+
path: {
|
|
29433
|
+
identifier: string;
|
|
29434
|
+
};
|
|
29435
|
+
query?: never;
|
|
29436
|
+
url: '/3/admin/policies/{identifier}/';
|
|
29437
|
+
};
|
|
29438
|
+
|
|
29439
|
+
export type PoliciesPartialUpdateResponses = {
|
|
29440
|
+
200: AdminPolicyResponse;
|
|
29441
|
+
};
|
|
29442
|
+
|
|
29443
|
+
export type PoliciesPartialUpdateResponse = PoliciesPartialUpdateResponses[keyof PoliciesPartialUpdateResponses];
|
|
29444
|
+
|
|
29445
|
+
export type PoliciesUpdateData = {
|
|
29446
|
+
body: AdminPolicyRequest;
|
|
29447
|
+
path: {
|
|
29448
|
+
identifier: string;
|
|
29449
|
+
};
|
|
29450
|
+
query?: never;
|
|
29451
|
+
url: '/3/admin/policies/{identifier}/';
|
|
29452
|
+
};
|
|
29453
|
+
|
|
29454
|
+
export type PoliciesUpdateResponses = {
|
|
29455
|
+
200: AdminPolicyResponse;
|
|
29456
|
+
};
|
|
29457
|
+
|
|
29458
|
+
export type PoliciesUpdateResponse = PoliciesUpdateResponses[keyof PoliciesUpdateResponses];
|
|
29459
|
+
|
|
29460
|
+
export type PoliciesEffectsListData = {
|
|
29461
|
+
body?: never;
|
|
29462
|
+
path: {
|
|
29463
|
+
policy_identifier: string;
|
|
29464
|
+
};
|
|
29465
|
+
query?: {
|
|
29466
|
+
created?: string;
|
|
29467
|
+
created__gt?: string;
|
|
29468
|
+
created__gte?: string;
|
|
29469
|
+
created__lt?: string;
|
|
29470
|
+
created__lte?: string;
|
|
29471
|
+
id?: string;
|
|
29472
|
+
/**
|
|
29473
|
+
* A page number within the paginated result set.
|
|
29474
|
+
*/
|
|
29475
|
+
page?: number;
|
|
29476
|
+
/**
|
|
29477
|
+
* Number of results to return per page.
|
|
29478
|
+
*/
|
|
29479
|
+
page_size?: number;
|
|
29480
|
+
type?: string;
|
|
29481
|
+
updated?: string;
|
|
29482
|
+
updated__gt?: string;
|
|
29483
|
+
updated__gte?: string;
|
|
29484
|
+
updated__lt?: string;
|
|
29485
|
+
updated__lte?: string;
|
|
29486
|
+
};
|
|
29487
|
+
url: '/3/admin/policies/{policy_identifier}/effects/';
|
|
29488
|
+
};
|
|
29489
|
+
|
|
29490
|
+
export type PoliciesEffectsListResponses = {
|
|
29491
|
+
200: PaginatedAdminPolicyEffectListResponse;
|
|
29492
|
+
};
|
|
29493
|
+
|
|
29494
|
+
export type PoliciesEffectsListResponse = PoliciesEffectsListResponses[keyof PoliciesEffectsListResponses];
|
|
29495
|
+
|
|
29496
|
+
export type PoliciesEffectsCreateData = {
|
|
29497
|
+
body: AdminCreatePolicyEffectRequest;
|
|
29498
|
+
path: {
|
|
29499
|
+
policy_identifier: string;
|
|
29500
|
+
};
|
|
29501
|
+
query?: never;
|
|
29502
|
+
url: '/3/admin/policies/{policy_identifier}/effects/';
|
|
29503
|
+
};
|
|
29504
|
+
|
|
29505
|
+
export type PoliciesEffectsCreateResponses = {
|
|
29506
|
+
201: AdminPolicyEffectResponse;
|
|
29507
|
+
};
|
|
29508
|
+
|
|
29509
|
+
export type PoliciesEffectsCreateResponse = PoliciesEffectsCreateResponses[keyof PoliciesEffectsCreateResponses];
|
|
29510
|
+
|
|
29511
|
+
export type PoliciesEffectsDestroyData = {
|
|
29512
|
+
body?: never;
|
|
29513
|
+
path: {
|
|
29514
|
+
identifier: string;
|
|
29515
|
+
policy_identifier: string;
|
|
29516
|
+
};
|
|
29517
|
+
query?: never;
|
|
29518
|
+
url: '/3/admin/policies/{policy_identifier}/effects/{identifier}/';
|
|
29519
|
+
};
|
|
29520
|
+
|
|
29521
|
+
export type PoliciesEffectsDestroyResponses = {
|
|
29522
|
+
200: ActionResponse;
|
|
29523
|
+
};
|
|
29524
|
+
|
|
29525
|
+
export type PoliciesEffectsDestroyResponse = PoliciesEffectsDestroyResponses[keyof PoliciesEffectsDestroyResponses];
|
|
29526
|
+
|
|
29527
|
+
export type PoliciesEffectsRetrieveData = {
|
|
29528
|
+
body?: never;
|
|
29529
|
+
path: {
|
|
29530
|
+
identifier: string;
|
|
29531
|
+
policy_identifier: string;
|
|
29532
|
+
};
|
|
29533
|
+
query?: never;
|
|
29534
|
+
url: '/3/admin/policies/{policy_identifier}/effects/{identifier}/';
|
|
29535
|
+
};
|
|
29536
|
+
|
|
29537
|
+
export type PoliciesEffectsRetrieveResponses = {
|
|
29538
|
+
200: AdminPolicyEffectResponse;
|
|
29539
|
+
};
|
|
29540
|
+
|
|
29541
|
+
export type PoliciesEffectsRetrieveResponse = PoliciesEffectsRetrieveResponses[keyof PoliciesEffectsRetrieveResponses];
|
|
29542
|
+
|
|
29543
|
+
export type PoliciesEffectsPartialUpdateData = {
|
|
29544
|
+
body?: PatchedAdminCreatePolicyEffectRequest;
|
|
29545
|
+
path: {
|
|
29546
|
+
identifier: string;
|
|
29547
|
+
policy_identifier: string;
|
|
29548
|
+
};
|
|
29549
|
+
query?: never;
|
|
29550
|
+
url: '/3/admin/policies/{policy_identifier}/effects/{identifier}/';
|
|
29551
|
+
};
|
|
29552
|
+
|
|
29553
|
+
export type PoliciesEffectsPartialUpdateResponses = {
|
|
29554
|
+
200: AdminPolicyEffectResponse;
|
|
29555
|
+
};
|
|
29556
|
+
|
|
29557
|
+
export type PoliciesEffectsPartialUpdateResponse = PoliciesEffectsPartialUpdateResponses[keyof PoliciesEffectsPartialUpdateResponses];
|
|
29558
|
+
|
|
29559
|
+
export type PoliciesEffectsUpdateData = {
|
|
29560
|
+
body: AdminCreatePolicyEffectRequest;
|
|
29561
|
+
path: {
|
|
29562
|
+
identifier: string;
|
|
29563
|
+
policy_identifier: string;
|
|
29564
|
+
};
|
|
29565
|
+
query?: never;
|
|
29566
|
+
url: '/3/admin/policies/{policy_identifier}/effects/{identifier}/';
|
|
29567
|
+
};
|
|
29568
|
+
|
|
29569
|
+
export type PoliciesEffectsUpdateResponses = {
|
|
29570
|
+
200: AdminPolicyEffectResponse;
|
|
29571
|
+
};
|
|
29572
|
+
|
|
29573
|
+
export type PoliciesEffectsUpdateResponse = PoliciesEffectsUpdateResponses[keyof PoliciesEffectsUpdateResponses];
|
|
29574
|
+
|
|
29575
|
+
export type PolicyLogsListData = {
|
|
29576
|
+
body?: never;
|
|
29577
|
+
path?: never;
|
|
29578
|
+
query?: {
|
|
29579
|
+
created?: string;
|
|
29580
|
+
created__gt?: string;
|
|
29581
|
+
created__gte?: string;
|
|
29582
|
+
created__lt?: string;
|
|
29583
|
+
created__lte?: string;
|
|
29584
|
+
id?: string;
|
|
29585
|
+
/**
|
|
29586
|
+
* A page number within the paginated result set.
|
|
29587
|
+
*/
|
|
29588
|
+
page?: number;
|
|
29589
|
+
/**
|
|
29590
|
+
* Number of results to return per page.
|
|
29591
|
+
*/
|
|
29592
|
+
page_size?: number;
|
|
29593
|
+
policy?: string;
|
|
29594
|
+
resource?: string;
|
|
29595
|
+
resource_id?: string;
|
|
29596
|
+
};
|
|
29597
|
+
url: '/3/admin/policy-logs/';
|
|
29598
|
+
};
|
|
29599
|
+
|
|
29600
|
+
export type PolicyLogsListResponses = {
|
|
29601
|
+
200: PaginatedAdminPolicyLogListResponse;
|
|
29602
|
+
};
|
|
29603
|
+
|
|
29604
|
+
export type PolicyLogsListResponse = PolicyLogsListResponses[keyof PolicyLogsListResponses];
|
|
29605
|
+
|
|
29606
|
+
export type PolicyLogsRetrieveData = {
|
|
29607
|
+
body?: never;
|
|
29608
|
+
path: {
|
|
29609
|
+
identifier: string;
|
|
29610
|
+
};
|
|
29611
|
+
query?: never;
|
|
29612
|
+
url: '/3/admin/policy-logs/{identifier}/';
|
|
29613
|
+
};
|
|
29614
|
+
|
|
29615
|
+
export type PolicyLogsRetrieveResponses = {
|
|
29616
|
+
200: AdminPolicyLogResponse;
|
|
29617
|
+
};
|
|
29618
|
+
|
|
29619
|
+
export type PolicyLogsRetrieveResponse = PolicyLogsRetrieveResponses[keyof PolicyLogsRetrieveResponses];
|
|
29620
|
+
|
|
28123
29621
|
export type RequestsListData = {
|
|
28124
29622
|
body?: never;
|
|
28125
29623
|
path?: never;
|
|
@@ -28130,6 +29628,7 @@ export type RequestsListData = {
|
|
|
28130
29628
|
created__gte?: string;
|
|
28131
29629
|
created__lt?: string;
|
|
28132
29630
|
created__lte?: string;
|
|
29631
|
+
ip_address?: string;
|
|
28133
29632
|
key?: string;
|
|
28134
29633
|
method?: string;
|
|
28135
29634
|
method__in?: string;
|
|
@@ -28685,6 +30184,7 @@ export type TransactionCollectionsTransactionsListData = {
|
|
|
28685
30184
|
created__gte?: string;
|
|
28686
30185
|
created__lt?: string;
|
|
28687
30186
|
created__lte?: string;
|
|
30187
|
+
creator?: string;
|
|
28688
30188
|
currency?: string;
|
|
28689
30189
|
executed?: string | null;
|
|
28690
30190
|
executed__gt?: string | null;
|
|
@@ -28865,6 +30365,7 @@ export type TransactionsListData = {
|
|
|
28865
30365
|
created__gte?: string;
|
|
28866
30366
|
created__lt?: string;
|
|
28867
30367
|
created__lte?: string;
|
|
30368
|
+
creator?: string;
|
|
28868
30369
|
currency?: string;
|
|
28869
30370
|
executed?: string | null;
|
|
28870
30371
|
executed__gt?: string | null;
|