rehive 4.2.0 → 4.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +17 -0
- package/dist/admin.d.mts +614 -116
- package/dist/admin.d.ts +614 -116
- 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-PCR54D6A.mjs → chunk-A53KSFBA.mjs} +1 -1
- package/dist/chunk-CRNPJD3E.js +6 -0
- package/dist/{chunk-ERD2XKSM.js → chunk-HXAEBUQM.js} +1 -1
- package/dist/chunk-IJBXROTB.mjs +6 -0
- package/dist/chunk-OV77OD2G.js +1 -0
- package/dist/chunk-RO2QGTSG.mjs +1 -0
- package/dist/chunk-TAABJLJG.mjs +6 -0
- package/dist/chunk-Y33FT632.js +6 -0
- package/dist/{create-api-client-B4Q01gHp.d.mts → create-api-client-Bkkri-AM.d.mts} +1 -1
- package/dist/{create-api-client-ADSlg8HX.d.ts → create-api-client-CgvKBlQ_.d.ts} +1 -1
- package/dist/{create-auth-CT_IFt3T.d.mts → create-auth-ChOASbvo.d.mts} +111 -100
- package/dist/{create-auth-CT_IFt3T.d.ts → create-auth-ChOASbvo.d.ts} +111 -100
- package/dist/extensions/alchemy.d.mts +175 -41
- package/dist/extensions/alchemy.d.ts +175 -41
- package/dist/extensions/alchemy.js +5 -6
- package/dist/extensions/alchemy.mjs +5 -6
- package/dist/extensions/app.d.mts +11 -10
- package/dist/extensions/app.d.ts +11 -10
- package/dist/extensions/app.js +5 -6
- package/dist/extensions/app.mjs +5 -6
- package/dist/extensions/billing.d.mts +11 -10
- package/dist/extensions/billing.d.ts +11 -10
- package/dist/extensions/billing.js +5 -6
- package/dist/extensions/billing.mjs +5 -6
- package/dist/extensions/bridge.d.mts +537 -38
- package/dist/extensions/bridge.d.ts +537 -38
- package/dist/extensions/bridge.js +5 -6
- package/dist/extensions/bridge.mjs +5 -6
- package/dist/extensions/builder.d.mts +8 -7
- package/dist/extensions/builder.d.ts +8 -7
- package/dist/extensions/builder.js +5 -6
- package/dist/extensions/builder.mjs +5 -6
- package/dist/extensions/business.d.mts +99 -63
- package/dist/extensions/business.d.ts +99 -63
- package/dist/extensions/business.js +5 -6
- package/dist/extensions/business.mjs +5 -6
- package/dist/extensions/conversion.d.mts +10 -9
- package/dist/extensions/conversion.d.ts +10 -9
- package/dist/extensions/conversion.js +5 -6
- package/dist/extensions/conversion.mjs +5 -6
- package/dist/extensions/mass-send.d.mts +8 -7
- package/dist/extensions/mass-send.d.ts +8 -7
- package/dist/extensions/mass-send.js +5 -6
- package/dist/extensions/mass-send.mjs +5 -6
- package/dist/extensions/notifications.d.mts +16 -15
- package/dist/extensions/notifications.d.ts +16 -15
- package/dist/extensions/notifications.js +5 -6
- package/dist/extensions/notifications.mjs +5 -6
- package/dist/extensions/payment-requests.d.mts +15 -10
- package/dist/extensions/payment-requests.d.ts +15 -10
- package/dist/extensions/payment-requests.js +5 -6
- package/dist/extensions/payment-requests.mjs +5 -6
- package/dist/extensions/products.d.mts +43 -42
- package/dist/extensions/products.d.ts +43 -42
- package/dist/extensions/products.js +5 -6
- package/dist/extensions/products.mjs +5 -6
- package/dist/extensions/rain.d.mts +22 -21
- package/dist/extensions/rain.d.ts +22 -21
- package/dist/extensions/rain.js +5 -6
- package/dist/extensions/rain.mjs +5 -6
- package/dist/extensions/rewards.d.mts +8 -7
- package/dist/extensions/rewards.d.ts +8 -7
- package/dist/extensions/rewards.js +5 -6
- package/dist/extensions/rewards.mjs +5 -6
- package/dist/extensions/stellar-testnet.d.mts +16 -15
- package/dist/extensions/stellar-testnet.d.ts +16 -15
- package/dist/extensions/stellar-testnet.js +5 -6
- package/dist/extensions/stellar-testnet.mjs +5 -6
- package/dist/extensions/stellar.d.mts +16 -15
- package/dist/extensions/stellar.d.ts +16 -15
- package/dist/extensions/stellar.js +5 -6
- package/dist/extensions/stellar.mjs +5 -6
- 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 +3 -11
- package/dist/react.d.ts +3 -11
- package/dist/react.js +1 -1
- package/dist/react.mjs +1 -1
- package/dist/user.d.mts +21 -10
- package/dist/user.d.ts +21 -10
- package/dist/user.js +1 -1
- package/dist/user.mjs +1 -1
- package/package.json +1 -1
- package/src/auth/create-auth.ts +184 -781
- package/src/auth/index.ts +2 -25
- package/src/auth/types/index.ts +0 -48
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/alchemy/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/alchemy/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/alchemy/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/alchemy/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/alchemy/openapi-ts/index.ts +2 -2
- package/src/extensions/alchemy/openapi-ts/sdk.gen.ts +44 -2
- package/src/extensions/alchemy/openapi-ts/types.gen.ts +177 -34
- package/src/extensions/app/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/app/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/app/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/app/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/app/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/app/openapi-ts/types.gen.ts +3 -3
- package/src/extensions/billing/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/billing/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/billing/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/billing/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/billing/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/billing/openapi-ts/types.gen.ts +3 -3
- package/src/extensions/bridge/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/bridge/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/bridge/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/bridge/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/bridge/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/bridge/openapi-ts/index.ts +2 -2
- package/src/extensions/bridge/openapi-ts/sdk.gen.ts +90 -2
- package/src/extensions/bridge/openapi-ts/types.gen.ts +572 -29
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/builder/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/builder/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/builder/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/builder/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/builder/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/business/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/business/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/business/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/business/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/business/openapi-ts/types.gen.ts +91 -56
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/conversion/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/conversion/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/conversion/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/conversion/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/conversion/openapi-ts/types.gen.ts +2 -2
- package/src/extensions/mass-send/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/mass-send/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/mass-send/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/mass-send/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/mass-send/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/mass-send/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/notifications/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/notifications/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/notifications/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/notifications/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/notifications/openapi-ts/types.gen.ts +8 -8
- package/src/extensions/payment-requests/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/payment-requests/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/payment-requests/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/payment-requests/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/payment-requests/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/payment-requests/openapi-ts/types.gen.ts +7 -3
- package/src/extensions/products/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/products/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/products/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/products/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/products/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/products/openapi-ts/types.gen.ts +35 -35
- package/src/extensions/rain/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/rain/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/rain/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/rain/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/rain/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/rain/openapi-ts/types.gen.ts +14 -14
- package/src/extensions/rewards/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/rewards/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/rewards/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/rewards/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/rewards/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/rewards/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/stellar/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/stellar/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/stellar/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/stellar/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/stellar/openapi-ts/types.gen.ts +8 -8
- package/src/extensions/stellar-testnet/openapi-ts/client/client.gen.ts +17 -7
- package/src/extensions/stellar-testnet/openapi-ts/client/types.gen.ts +2 -1
- package/src/extensions/stellar-testnet/openapi-ts/client/utils.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/extensions/stellar-testnet/openapi-ts/core/params.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/extensions/stellar-testnet/openapi-ts/core/types.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/core/utils.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/sdk.gen.ts +1 -1
- package/src/extensions/stellar-testnet/openapi-ts/types.gen.ts +8 -8
- package/src/platform/admin/openapi-ts/client/client.gen.ts +17 -7
- package/src/platform/admin/openapi-ts/client/types.gen.ts +2 -1
- package/src/platform/admin/openapi-ts/client/utils.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/platform/admin/openapi-ts/core/params.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/platform/admin/openapi-ts/core/types.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/core/utils.gen.ts +1 -1
- package/src/platform/admin/openapi-ts/index.ts +2 -2
- package/src/platform/admin/openapi-ts/sdk.gen.ts +54 -12
- package/src/platform/admin/openapi-ts/types.gen.ts +623 -107
- package/src/platform/user/openapi-ts/client/client.gen.ts +17 -7
- package/src/platform/user/openapi-ts/client/types.gen.ts +2 -1
- package/src/platform/user/openapi-ts/client/utils.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/bodySerializer.gen.ts +6 -8
- package/src/platform/user/openapi-ts/core/params.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/serverSentEvents.gen.ts +4 -5
- package/src/platform/user/openapi-ts/core/types.gen.ts +1 -1
- package/src/platform/user/openapi-ts/core/utils.gen.ts +1 -1
- package/src/platform/user/openapi-ts/index.ts +2 -2
- package/src/platform/user/openapi-ts/sdk.gen.ts +30 -4
- package/src/platform/user/openapi-ts/types.gen.ts +116 -52
- package/dist/chunk-7USVOK77.js +0 -7
- package/dist/chunk-G3M5QMRX.js +0 -1
- package/dist/chunk-HSPTEN45.mjs +0 -1
- package/dist/chunk-HWXE5WBF.js +0 -7
- package/dist/chunk-MUN3POSM.mjs +0 -7
- package/dist/chunk-ZUZHOLAX.mjs +0 -7
|
@@ -928,10 +928,11 @@ export type Auth = {
|
|
|
928
928
|
* * `obsolete` - Obsolete
|
|
929
929
|
* * `declined` - Declined
|
|
930
930
|
* * `pending` - Pending
|
|
931
|
+
* * `paused` - Paused
|
|
931
932
|
* * `incomplete` - Incomplete
|
|
932
933
|
* * `verified` - Verified
|
|
933
934
|
*/
|
|
934
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
935
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
935
936
|
readonly created: number;
|
|
936
937
|
readonly updated: number;
|
|
937
938
|
settings: UserSettings;
|
|
@@ -950,6 +951,7 @@ export type AuthResponse = {
|
|
|
950
951
|
*/
|
|
951
952
|
export type AuthToken = {
|
|
952
953
|
token_key: string;
|
|
954
|
+
readonly label: string;
|
|
953
955
|
readonly expires: number;
|
|
954
956
|
readonly created: number;
|
|
955
957
|
};
|
|
@@ -1001,13 +1003,13 @@ export type AuthenticatorChallenge = {
|
|
|
1001
1003
|
* * `authorization` - Authorization
|
|
1002
1004
|
* * `setup` - Setup
|
|
1003
1005
|
*/
|
|
1004
|
-
type: 'authentication' | 'authorization' | 'setup';
|
|
1006
|
+
readonly type: 'authentication' | 'authorization' | 'setup';
|
|
1005
1007
|
/**
|
|
1006
1008
|
* * `ephemeral` - Ephemeral
|
|
1007
1009
|
* * `durable` - Durable
|
|
1008
1010
|
* * `permanent` - Permanent
|
|
1009
1011
|
*/
|
|
1010
|
-
durability: 'ephemeral' | 'durable' | 'permanent';
|
|
1012
|
+
readonly durability: 'ephemeral' | 'durable' | 'permanent';
|
|
1011
1013
|
readonly authenticator_types: Array<'totp' | 'sms' | 'static'>;
|
|
1012
1014
|
readonly created: number;
|
|
1013
1015
|
};
|
|
@@ -1867,14 +1869,14 @@ export type Company = {
|
|
|
1867
1869
|
* * `test` - Test
|
|
1868
1870
|
* * `production` - Production
|
|
1869
1871
|
*/
|
|
1870
|
-
mode: 'test' | 'production';
|
|
1872
|
+
readonly mode: 'test' | 'production';
|
|
1871
1873
|
/**
|
|
1872
1874
|
* * `pending` - Pending
|
|
1873
1875
|
* * `active` - Active
|
|
1874
1876
|
* * `restricted` - Restricted
|
|
1875
1877
|
* * `suspended` - Suspended
|
|
1876
1878
|
*/
|
|
1877
|
-
status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
1879
|
+
readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
1878
1880
|
readonly created: number;
|
|
1879
1881
|
readonly updated: number;
|
|
1880
1882
|
};
|
|
@@ -1890,6 +1892,7 @@ export type CompanyBankAccount = {
|
|
|
1890
1892
|
name?: string | null;
|
|
1891
1893
|
number?: string | null;
|
|
1892
1894
|
type?: string | null;
|
|
1895
|
+
payment_method?: string | null;
|
|
1893
1896
|
bank_name?: string | null;
|
|
1894
1897
|
bank_code?: string | null;
|
|
1895
1898
|
bank_currency?: string | null;
|
|
@@ -1903,6 +1906,7 @@ export type CompanyBankAccount = {
|
|
|
1903
1906
|
check_digit?: string | null;
|
|
1904
1907
|
pix_key?: string | null;
|
|
1905
1908
|
br_code?: string | null;
|
|
1909
|
+
sort_code?: string | null;
|
|
1906
1910
|
metadata?: {
|
|
1907
1911
|
[key: string]: unknown;
|
|
1908
1912
|
} | null;
|
|
@@ -1910,7 +1914,7 @@ export type CompanyBankAccount = {
|
|
|
1910
1914
|
/**
|
|
1911
1915
|
* * `withdraw` - Withdraw
|
|
1912
1916
|
*/
|
|
1913
|
-
action: 'withdraw';
|
|
1917
|
+
readonly action: 'withdraw';
|
|
1914
1918
|
readonly created: number;
|
|
1915
1919
|
readonly updated: number;
|
|
1916
1920
|
};
|
|
@@ -2288,7 +2292,7 @@ export type CompanyWalletAccount = {
|
|
|
2288
2292
|
/**
|
|
2289
2293
|
* * `withdraw` - Withdraw
|
|
2290
2294
|
*/
|
|
2291
|
-
action: 'withdraw';
|
|
2295
|
+
readonly action: 'withdraw';
|
|
2292
2296
|
readonly created: number;
|
|
2293
2297
|
readonly updated: number;
|
|
2294
2298
|
};
|
|
@@ -2302,6 +2306,7 @@ export type CreateAccountAccountAssetRequest = {
|
|
|
2302
2306
|
export type CreateAuthTokenRequest = {
|
|
2303
2307
|
password: string;
|
|
2304
2308
|
duration?: number | null;
|
|
2309
|
+
label?: string | null;
|
|
2305
2310
|
};
|
|
2306
2311
|
|
|
2307
2312
|
/**
|
|
@@ -2778,6 +2783,7 @@ export type CreateMetricRequest = {
|
|
|
2778
2783
|
*/
|
|
2779
2784
|
export type CreateMobileRequest = {
|
|
2780
2785
|
number: string;
|
|
2786
|
+
primary?: boolean;
|
|
2781
2787
|
};
|
|
2782
2788
|
|
|
2783
2789
|
export type CreateMultiTransactionRequest = {
|
|
@@ -2922,15 +2928,16 @@ export type CryptoAccount = {
|
|
|
2922
2928
|
* * `obsolete` - Obsolete
|
|
2923
2929
|
* * `declined` - Declined
|
|
2924
2930
|
* * `pending` - Pending
|
|
2931
|
+
* * `paused` - Paused
|
|
2925
2932
|
* * `incomplete` - Incomplete
|
|
2926
2933
|
* * `verified` - Verified
|
|
2927
2934
|
*/
|
|
2928
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
2935
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
2929
2936
|
/**
|
|
2930
2937
|
* * `withdraw` - Withdraw
|
|
2931
2938
|
* * `deposit` - Deposit
|
|
2932
2939
|
*/
|
|
2933
|
-
action: 'withdraw' | 'deposit';
|
|
2940
|
+
readonly action: 'withdraw' | 'deposit';
|
|
2934
2941
|
readonly created: number;
|
|
2935
2942
|
readonly updated: number;
|
|
2936
2943
|
};
|
|
@@ -3181,7 +3188,7 @@ export type Export = {
|
|
|
3181
3188
|
* * `transaction` - Transaction
|
|
3182
3189
|
* * `user` - User
|
|
3183
3190
|
*/
|
|
3184
|
-
resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3191
|
+
readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3185
3192
|
query?: {
|
|
3186
3193
|
[key: string]: unknown;
|
|
3187
3194
|
} | null;
|
|
@@ -3191,7 +3198,7 @@ export type Export = {
|
|
|
3191
3198
|
* * `complete` - Complete
|
|
3192
3199
|
* * `failed` - Failed
|
|
3193
3200
|
*/
|
|
3194
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3201
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3195
3202
|
progress: number;
|
|
3196
3203
|
count?: number | null;
|
|
3197
3204
|
page_size?: number;
|
|
@@ -3199,7 +3206,7 @@ export type Export = {
|
|
|
3199
3206
|
* * `json` - JSON
|
|
3200
3207
|
* * `csv` - CSV
|
|
3201
3208
|
*/
|
|
3202
|
-
file_format: 'json' | 'csv';
|
|
3209
|
+
readonly file_format: 'json' | 'csv';
|
|
3203
3210
|
readonly created: number;
|
|
3204
3211
|
readonly updated: number;
|
|
3205
3212
|
};
|
|
@@ -3293,7 +3300,7 @@ export type ExtendedExport = {
|
|
|
3293
3300
|
* * `transaction` - Transaction
|
|
3294
3301
|
* * `user` - User
|
|
3295
3302
|
*/
|
|
3296
|
-
resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3303
|
+
readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3297
3304
|
readonly query: {
|
|
3298
3305
|
[key: string]: unknown;
|
|
3299
3306
|
} | null;
|
|
@@ -3303,7 +3310,7 @@ export type ExtendedExport = {
|
|
|
3303
3310
|
* * `complete` - Complete
|
|
3304
3311
|
* * `failed` - Failed
|
|
3305
3312
|
*/
|
|
3306
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3313
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3307
3314
|
progress: number;
|
|
3308
3315
|
readonly count: number | null;
|
|
3309
3316
|
readonly page_size: number;
|
|
@@ -3312,7 +3319,7 @@ export type ExtendedExport = {
|
|
|
3312
3319
|
* * `json` - JSON
|
|
3313
3320
|
* * `csv` - CSV
|
|
3314
3321
|
*/
|
|
3315
|
-
file_format: 'json' | 'csv';
|
|
3322
|
+
readonly file_format: 'json' | 'csv';
|
|
3316
3323
|
readonly created: number;
|
|
3317
3324
|
readonly updated: number;
|
|
3318
3325
|
};
|
|
@@ -3364,7 +3371,7 @@ export type ExtendedTransaction = {
|
|
|
3364
3371
|
* * `credit` - Credit
|
|
3365
3372
|
* * `debit` - Debit
|
|
3366
3373
|
*/
|
|
3367
|
-
tx_type: 'credit' | 'debit';
|
|
3374
|
+
readonly tx_type: 'credit' | 'debit';
|
|
3368
3375
|
readonly subtype: string | null;
|
|
3369
3376
|
readonly note: string;
|
|
3370
3377
|
readonly metadata: {
|
|
@@ -3377,7 +3384,7 @@ export type ExtendedTransaction = {
|
|
|
3377
3384
|
* * `Complete` - Complete
|
|
3378
3385
|
* * `Failed` - Failed
|
|
3379
3386
|
*/
|
|
3380
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
3387
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
3381
3388
|
readonly reference: string | null;
|
|
3382
3389
|
readonly amount: number;
|
|
3383
3390
|
readonly fee: number;
|
|
@@ -3972,10 +3979,11 @@ export type ExtendedUserInfo = {
|
|
|
3972
3979
|
* * `obsolete` - Obsolete
|
|
3973
3980
|
* * `declined` - Declined
|
|
3974
3981
|
* * `pending` - Pending
|
|
3982
|
+
* * `paused` - Paused
|
|
3975
3983
|
* * `incomplete` - Incomplete
|
|
3976
3984
|
* * `verified` - Verified
|
|
3977
3985
|
*/
|
|
3978
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
3986
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
3979
3987
|
readonly created: number;
|
|
3980
3988
|
readonly updated: number;
|
|
3981
3989
|
settings: UserSettings;
|
|
@@ -4623,12 +4631,13 @@ export type GroupPermission = {
|
|
|
4623
4631
|
* * `admin` - Admin
|
|
4624
4632
|
* * `user` - User
|
|
4625
4633
|
*/
|
|
4626
|
-
section: 'system' | 'admin' | 'user';
|
|
4634
|
+
readonly section: 'system' | 'admin' | 'user';
|
|
4627
4635
|
/**
|
|
4628
4636
|
* * `accesscontrolrule` - Access Control Rule
|
|
4629
4637
|
* * `account` - Account
|
|
4630
4638
|
* * `accountdefinition` - Account Definition
|
|
4631
4639
|
* * `address` - Address
|
|
4640
|
+
* * `alert` - Alert
|
|
4632
4641
|
* * `currency` - Currency
|
|
4633
4642
|
* * `bankaccount` - Bank Account
|
|
4634
4643
|
* * `company` - Company
|
|
@@ -4653,14 +4662,14 @@ export type GroupPermission = {
|
|
|
4653
4662
|
* * `user` - User
|
|
4654
4663
|
* * `webhook` - Webhook
|
|
4655
4664
|
*/
|
|
4656
|
-
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
4665
|
+
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';
|
|
4657
4666
|
/**
|
|
4658
4667
|
* * `view` - View
|
|
4659
4668
|
* * `add` - Add
|
|
4660
4669
|
* * `change` - Change
|
|
4661
4670
|
* * `delete` - Delete
|
|
4662
4671
|
*/
|
|
4663
|
-
level: 'view' | 'add' | 'change' | 'delete';
|
|
4672
|
+
readonly level: 'view' | 'add' | 'change' | 'delete';
|
|
4664
4673
|
readonly properties: {
|
|
4665
4674
|
[key: string]: unknown;
|
|
4666
4675
|
};
|
|
@@ -4819,7 +4828,7 @@ export type GroupTierRequirementSetItem = {
|
|
|
4819
4828
|
/**
|
|
4820
4829
|
* * `resource` - Resource
|
|
4821
4830
|
*/
|
|
4822
|
-
type: 'resource';
|
|
4831
|
+
readonly type: 'resource';
|
|
4823
4832
|
rule: GroupTierRequirementSetItemRule;
|
|
4824
4833
|
name?: string | null;
|
|
4825
4834
|
description?: string | null;
|
|
@@ -4874,7 +4883,7 @@ export type LegalTerm = {
|
|
|
4874
4883
|
* * `system` - System
|
|
4875
4884
|
* * `company` - Company
|
|
4876
4885
|
*/
|
|
4877
|
-
type: 'system' | 'company';
|
|
4886
|
+
readonly type: 'system' | 'company';
|
|
4878
4887
|
readonly name: string;
|
|
4879
4888
|
readonly description: string | null;
|
|
4880
4889
|
readonly versions: Array<ReducedLegalTermVersion>;
|
|
@@ -4982,7 +4991,7 @@ export type MfatotpDeviceDetail = {
|
|
|
4982
4991
|
* * `SHA256` - SHA256
|
|
4983
4992
|
* * `SHA512` - SHA512
|
|
4984
4993
|
*/
|
|
4985
|
-
algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4994
|
+
readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4986
4995
|
readonly otpauth_url: string;
|
|
4987
4996
|
readonly issuer: string;
|
|
4988
4997
|
readonly account: string;
|
|
@@ -5044,7 +5053,7 @@ export type MaskedMfatotpDeviceDetail = {
|
|
|
5044
5053
|
* * `SHA256` - SHA256
|
|
5045
5054
|
* * `SHA512` - SHA512
|
|
5046
5055
|
*/
|
|
5047
|
-
algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
5056
|
+
readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
5048
5057
|
readonly otpauth_url: string;
|
|
5049
5058
|
readonly issuer: string;
|
|
5050
5059
|
readonly account: string;
|
|
@@ -5084,7 +5093,7 @@ export type Metric = {
|
|
|
5084
5093
|
* * `user_active_count` - User Active Count
|
|
5085
5094
|
* * `user_transacted_in_30days_count` - User Transacted In 30Days Count
|
|
5086
5095
|
*/
|
|
5087
|
-
type: 'account_count' | 'transaction_count' | 'transaction_complete_count' | 'transaction_failed_count' | 'transaction_pending_count' | 'transaction_complete_sum' | 'transaction_failed_sum' | 'transaction_pending_sum' | 'transaction_balance_sum' | 'transaction_available_balance_sum' | 'user_count' | 'user_active_count' | 'user_transacted_in_30days_count';
|
|
5096
|
+
readonly type: 'account_count' | 'transaction_count' | 'transaction_complete_count' | 'transaction_failed_count' | 'transaction_pending_count' | 'transaction_complete_sum' | 'transaction_failed_sum' | 'transaction_pending_sum' | 'transaction_balance_sum' | 'transaction_available_balance_sum' | 'user_count' | 'user_active_count' | 'user_transacted_in_30days_count';
|
|
5088
5097
|
currency: ReducedAsset;
|
|
5089
5098
|
readonly timezone: string;
|
|
5090
5099
|
readonly query: {
|
|
@@ -5094,7 +5103,7 @@ export type Metric = {
|
|
|
5094
5103
|
* * `accumulate` - Accumulate
|
|
5095
5104
|
* * `set` - Set
|
|
5096
5105
|
*/
|
|
5097
|
-
method: 'accumulate' | 'set';
|
|
5106
|
+
readonly method: 'accumulate' | 'set';
|
|
5098
5107
|
readonly created: number;
|
|
5099
5108
|
readonly updated: number;
|
|
5100
5109
|
};
|
|
@@ -5188,7 +5197,7 @@ export type OauthClient = {
|
|
|
5188
5197
|
* * `apple` - Apple
|
|
5189
5198
|
* * `google` - Google
|
|
5190
5199
|
*/
|
|
5191
|
-
provider: 'apple' | 'google';
|
|
5200
|
+
readonly provider: 'apple' | 'google';
|
|
5192
5201
|
readonly application: string;
|
|
5193
5202
|
readonly client_id: string;
|
|
5194
5203
|
readonly created: number;
|
|
@@ -6431,6 +6440,10 @@ export type PatchedMobileRequest = {
|
|
|
6431
6440
|
primary?: boolean;
|
|
6432
6441
|
};
|
|
6433
6442
|
|
|
6443
|
+
export type PatchedUpdateAuthTokenRequest = {
|
|
6444
|
+
label?: string | null;
|
|
6445
|
+
};
|
|
6446
|
+
|
|
6434
6447
|
/**
|
|
6435
6448
|
* A mixin that handles the application of permissions to properties on a
|
|
6436
6449
|
* serializer using the built-in permissions system.
|
|
@@ -6743,6 +6756,7 @@ export type PatchedUserBankAccountRequest = {
|
|
|
6743
6756
|
name?: string | null;
|
|
6744
6757
|
number?: string | null;
|
|
6745
6758
|
type?: string | null;
|
|
6759
|
+
payment_method?: string | null;
|
|
6746
6760
|
/**
|
|
6747
6761
|
* * `individual` - Individual
|
|
6748
6762
|
* * `business` - Business
|
|
@@ -6763,6 +6777,7 @@ export type PatchedUserBankAccountRequest = {
|
|
|
6763
6777
|
check_digit?: string | null;
|
|
6764
6778
|
pix_key?: string | null;
|
|
6765
6779
|
br_code?: string | null;
|
|
6780
|
+
sort_code?: string | null;
|
|
6766
6781
|
metadata?: {
|
|
6767
6782
|
[key: string]: unknown;
|
|
6768
6783
|
} | null;
|
|
@@ -7078,14 +7093,14 @@ export type PublicCompany = {
|
|
|
7078
7093
|
* * `test` - Test
|
|
7079
7094
|
* * `production` - Production
|
|
7080
7095
|
*/
|
|
7081
|
-
mode: 'test' | 'production';
|
|
7096
|
+
readonly mode: 'test' | 'production';
|
|
7082
7097
|
/**
|
|
7083
7098
|
* * `pending` - Pending
|
|
7084
7099
|
* * `active` - Active
|
|
7085
7100
|
* * `restricted` - Restricted
|
|
7086
7101
|
* * `suspended` - Suspended
|
|
7087
7102
|
*/
|
|
7088
|
-
status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
7103
|
+
readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
7089
7104
|
readonly created: number;
|
|
7090
7105
|
readonly updated: number;
|
|
7091
7106
|
};
|
|
@@ -7102,7 +7117,7 @@ export type PublicCompanyLegalTerm = {
|
|
|
7102
7117
|
* * `system` - System
|
|
7103
7118
|
* * `company` - Company
|
|
7104
7119
|
*/
|
|
7105
|
-
type: 'system' | 'company';
|
|
7120
|
+
readonly type: 'system' | 'company';
|
|
7106
7121
|
name: string;
|
|
7107
7122
|
description?: string | null;
|
|
7108
7123
|
readonly groups: Array<string>;
|
|
@@ -7196,7 +7211,7 @@ export type PublicLegalTerm = {
|
|
|
7196
7211
|
* * `system` - System
|
|
7197
7212
|
* * `company` - Company
|
|
7198
7213
|
*/
|
|
7199
|
-
type: 'system' | 'company';
|
|
7214
|
+
readonly type: 'system' | 'company';
|
|
7200
7215
|
name: string;
|
|
7201
7216
|
description?: string | null;
|
|
7202
7217
|
readonly groups: Array<string>;
|
|
@@ -7506,7 +7521,7 @@ export type ReducedService = {
|
|
|
7506
7521
|
* * `public` - Public
|
|
7507
7522
|
* * `private` - Private
|
|
7508
7523
|
*/
|
|
7509
|
-
type: 'system' | 'public' | 'private';
|
|
7524
|
+
readonly type: 'system' | 'public' | 'private';
|
|
7510
7525
|
};
|
|
7511
7526
|
|
|
7512
7527
|
export type ReducedTransactionSubtype = {
|
|
@@ -8700,7 +8715,7 @@ export type Statement = {
|
|
|
8700
8715
|
* * `complete` - Complete
|
|
8701
8716
|
* * `failed` - Failed
|
|
8702
8717
|
*/
|
|
8703
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
8718
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
8704
8719
|
readonly created: number;
|
|
8705
8720
|
readonly updated: number;
|
|
8706
8721
|
};
|
|
@@ -8742,7 +8757,7 @@ export type Transaction = {
|
|
|
8742
8757
|
* * `credit` - Credit
|
|
8743
8758
|
* * `debit` - Debit
|
|
8744
8759
|
*/
|
|
8745
|
-
tx_type: 'credit' | 'debit';
|
|
8760
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8746
8761
|
readonly subtype: string | null;
|
|
8747
8762
|
readonly note: string;
|
|
8748
8763
|
readonly metadata: {
|
|
@@ -8755,7 +8770,7 @@ export type Transaction = {
|
|
|
8755
8770
|
* * `Complete` - Complete
|
|
8756
8771
|
* * `Failed` - Failed
|
|
8757
8772
|
*/
|
|
8758
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8773
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8759
8774
|
readonly reference: string | null;
|
|
8760
8775
|
readonly amount: number;
|
|
8761
8776
|
readonly fee: number;
|
|
@@ -8800,7 +8815,7 @@ export type TransactionCollection = {
|
|
|
8800
8815
|
* * `Complete` - Complete
|
|
8801
8816
|
* * `Failed` - Failed
|
|
8802
8817
|
*/
|
|
8803
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8818
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8804
8819
|
readonly created: number;
|
|
8805
8820
|
readonly updated: number;
|
|
8806
8821
|
};
|
|
@@ -8830,7 +8845,7 @@ export type TransactionCollectionTransaction = {
|
|
|
8830
8845
|
* * `credit` - Credit
|
|
8831
8846
|
* * `debit` - Debit
|
|
8832
8847
|
*/
|
|
8833
|
-
tx_type: 'credit' | 'debit';
|
|
8848
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8834
8849
|
readonly subtype: string | null;
|
|
8835
8850
|
readonly note: string;
|
|
8836
8851
|
readonly metadata: {
|
|
@@ -8843,7 +8858,7 @@ export type TransactionCollectionTransaction = {
|
|
|
8843
8858
|
* * `Complete` - Complete
|
|
8844
8859
|
* * `Failed` - Failed
|
|
8845
8860
|
*/
|
|
8846
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8861
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8847
8862
|
readonly reference: string | null;
|
|
8848
8863
|
readonly amount: number;
|
|
8849
8864
|
readonly fee: number;
|
|
@@ -8884,7 +8899,7 @@ export type TransactionMessage = {
|
|
|
8884
8899
|
* * `warning` - Warning
|
|
8885
8900
|
* * `error` - Error
|
|
8886
8901
|
*/
|
|
8887
|
-
level: 'info' | 'warning' | 'error';
|
|
8902
|
+
readonly level: 'info' | 'warning' | 'error';
|
|
8888
8903
|
message: string;
|
|
8889
8904
|
readonly created: number;
|
|
8890
8905
|
readonly updated: number;
|
|
@@ -8910,14 +8925,14 @@ export type TransactionSubtype = {
|
|
|
8910
8925
|
* * `credit` - Credit
|
|
8911
8926
|
* * `debit` - Debit
|
|
8912
8927
|
*/
|
|
8913
|
-
tx_type: 'credit' | 'debit';
|
|
8928
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8914
8929
|
/**
|
|
8915
8930
|
* * `partner` - Partner
|
|
8916
8931
|
* * `single` - Single
|
|
8917
8932
|
*
|
|
8918
8933
|
* @deprecated
|
|
8919
8934
|
*/
|
|
8920
|
-
usage_type: 'partner' | 'single' | null;
|
|
8935
|
+
readonly usage_type: 'partner' | 'single' | null;
|
|
8921
8936
|
partner: ReducedTransactionSubtype;
|
|
8922
8937
|
readonly created: number;
|
|
8923
8938
|
readonly updated: number;
|
|
@@ -8935,6 +8950,10 @@ export type TransactionSubtypeResponse = {
|
|
|
8935
8950
|
data: TransactionSubtype;
|
|
8936
8951
|
};
|
|
8937
8952
|
|
|
8953
|
+
export type UpdateAuthTokenRequest = {
|
|
8954
|
+
label?: string | null;
|
|
8955
|
+
};
|
|
8956
|
+
|
|
8938
8957
|
/**
|
|
8939
8958
|
* A mixin that handles the application of permissions to properties on a
|
|
8940
8959
|
* serializer using the built-in permissions system.
|
|
@@ -9240,10 +9259,11 @@ export type UserAddress = {
|
|
|
9240
9259
|
* * `obsolete` - Obsolete
|
|
9241
9260
|
* * `declined` - Declined
|
|
9242
9261
|
* * `pending` - Pending
|
|
9262
|
+
* * `paused` - Paused
|
|
9243
9263
|
* * `incomplete` - Incomplete
|
|
9244
9264
|
* * `verified` - Verified
|
|
9245
9265
|
*/
|
|
9246
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
9266
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9247
9267
|
readonly created: number;
|
|
9248
9268
|
readonly updated: number;
|
|
9249
9269
|
};
|
|
@@ -9545,6 +9565,7 @@ export type UserBankAccount = {
|
|
|
9545
9565
|
name?: string | null;
|
|
9546
9566
|
number?: string | null;
|
|
9547
9567
|
type?: string | null;
|
|
9568
|
+
payment_method?: string | null;
|
|
9548
9569
|
/**
|
|
9549
9570
|
* * `individual` - Individual
|
|
9550
9571
|
* * `business` - Business
|
|
@@ -9565,6 +9586,7 @@ export type UserBankAccount = {
|
|
|
9565
9586
|
check_digit?: string | null;
|
|
9566
9587
|
pix_key?: string | null;
|
|
9567
9588
|
br_code?: string | null;
|
|
9589
|
+
sort_code?: string | null;
|
|
9568
9590
|
readonly code: string | null;
|
|
9569
9591
|
metadata?: {
|
|
9570
9592
|
[key: string]: unknown;
|
|
@@ -9573,17 +9595,18 @@ export type UserBankAccount = {
|
|
|
9573
9595
|
* * `obsolete` - Obsolete
|
|
9574
9596
|
* * `declined` - Declined
|
|
9575
9597
|
* * `pending` - Pending
|
|
9598
|
+
* * `paused` - Paused
|
|
9576
9599
|
* * `incomplete` - Incomplete
|
|
9577
9600
|
* * `verified` - Verified
|
|
9578
9601
|
*/
|
|
9579
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
9602
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9580
9603
|
readonly currencies: Array<ReducedAsset>;
|
|
9581
9604
|
readonly account_currencies: Array<ReducedAccountAsset>;
|
|
9582
9605
|
/**
|
|
9583
9606
|
* * `withdraw` - Withdraw
|
|
9584
9607
|
* * `deposit` - Deposit
|
|
9585
9608
|
*/
|
|
9586
|
-
action: 'withdraw' | 'deposit';
|
|
9609
|
+
readonly action: 'withdraw' | 'deposit';
|
|
9587
9610
|
readonly created: number;
|
|
9588
9611
|
readonly updated: number;
|
|
9589
9612
|
};
|
|
@@ -9634,6 +9657,7 @@ export type UserBankAccountRequest = {
|
|
|
9634
9657
|
name?: string | null;
|
|
9635
9658
|
number?: string | null;
|
|
9636
9659
|
type?: string | null;
|
|
9660
|
+
payment_method?: string | null;
|
|
9637
9661
|
/**
|
|
9638
9662
|
* * `individual` - Individual
|
|
9639
9663
|
* * `business` - Business
|
|
@@ -9654,6 +9678,7 @@ export type UserBankAccountRequest = {
|
|
|
9654
9678
|
check_digit?: string | null;
|
|
9655
9679
|
pix_key?: string | null;
|
|
9656
9680
|
br_code?: string | null;
|
|
9681
|
+
sort_code?: string | null;
|
|
9657
9682
|
metadata?: {
|
|
9658
9683
|
[key: string]: unknown;
|
|
9659
9684
|
} | null;
|
|
@@ -10208,6 +10233,7 @@ export type UserCreateBankAccountRequest = {
|
|
|
10208
10233
|
name?: string | null;
|
|
10209
10234
|
number?: string | null;
|
|
10210
10235
|
type?: string | null;
|
|
10236
|
+
payment_method?: string | null;
|
|
10211
10237
|
/**
|
|
10212
10238
|
* * `individual` - Individual
|
|
10213
10239
|
* * `business` - Business
|
|
@@ -10228,6 +10254,7 @@ export type UserCreateBankAccountRequest = {
|
|
|
10228
10254
|
check_digit?: string | null;
|
|
10229
10255
|
pix_key?: string | null;
|
|
10230
10256
|
br_code?: string | null;
|
|
10257
|
+
sort_code?: string | null;
|
|
10231
10258
|
metadata?: {
|
|
10232
10259
|
[key: string]: unknown;
|
|
10233
10260
|
} | null;
|
|
@@ -10301,10 +10328,11 @@ export type UserDocument = {
|
|
|
10301
10328
|
* * `obsolete` - Obsolete
|
|
10302
10329
|
* * `declined` - Declined
|
|
10303
10330
|
* * `pending` - Pending
|
|
10331
|
+
* * `paused` - Paused
|
|
10304
10332
|
* * `incomplete` - Incomplete
|
|
10305
10333
|
* * `verified` - Verified
|
|
10306
10334
|
*/
|
|
10307
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
10335
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10308
10336
|
metadata?: {
|
|
10309
10337
|
[key: string]: unknown;
|
|
10310
10338
|
} | null;
|
|
@@ -10359,7 +10387,7 @@ export type UserMessage = {
|
|
|
10359
10387
|
* * `warning` - Warning
|
|
10360
10388
|
* * `error` - Error
|
|
10361
10389
|
*/
|
|
10362
|
-
level: 'info' | 'warning' | 'error';
|
|
10390
|
+
readonly level: 'info' | 'warning' | 'error';
|
|
10363
10391
|
message: string;
|
|
10364
10392
|
readonly created: number;
|
|
10365
10393
|
readonly updated: number;
|
|
@@ -10383,12 +10411,13 @@ export type UserPermission = {
|
|
|
10383
10411
|
* * `admin` - Admin
|
|
10384
10412
|
* * `user` - User
|
|
10385
10413
|
*/
|
|
10386
|
-
section: 'system' | 'admin' | 'user';
|
|
10414
|
+
readonly section: 'system' | 'admin' | 'user';
|
|
10387
10415
|
/**
|
|
10388
10416
|
* * `accesscontrolrule` - Access Control Rule
|
|
10389
10417
|
* * `account` - Account
|
|
10390
10418
|
* * `accountdefinition` - Account Definition
|
|
10391
10419
|
* * `address` - Address
|
|
10420
|
+
* * `alert` - Alert
|
|
10392
10421
|
* * `currency` - Currency
|
|
10393
10422
|
* * `bankaccount` - Bank Account
|
|
10394
10423
|
* * `company` - Company
|
|
@@ -10413,14 +10442,14 @@ export type UserPermission = {
|
|
|
10413
10442
|
* * `user` - User
|
|
10414
10443
|
* * `webhook` - Webhook
|
|
10415
10444
|
*/
|
|
10416
|
-
type: 'accesscontrolrule' | 'account' | 'accountdefinition' | 'address' | 'currency' | 'bankaccount' | 'company' | 'cryptoaccount' | 'device' | 'document' | 'email' | 'group' | 'jwt' | 'legalterm' | 'mfa' | 'mfarule' | 'mobile' | 'notification' | 'oauthclient' | 'permission' | 'request' | 'service' | 'token' | 'transaction' | 'transactionsubtypes' | 'user' | 'webhook';
|
|
10445
|
+
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';
|
|
10417
10446
|
/**
|
|
10418
10447
|
* * `view` - View
|
|
10419
10448
|
* * `add` - Add
|
|
10420
10449
|
* * `change` - Change
|
|
10421
10450
|
* * `delete` - Delete
|
|
10422
10451
|
*/
|
|
10423
|
-
level: 'view' | 'add' | 'change' | 'delete';
|
|
10452
|
+
readonly level: 'view' | 'add' | 'change' | 'delete';
|
|
10424
10453
|
readonly properties: {
|
|
10425
10454
|
[key: string]: unknown;
|
|
10426
10455
|
};
|
|
@@ -10495,17 +10524,18 @@ export type UserWalletAccount = {
|
|
|
10495
10524
|
* * `obsolete` - Obsolete
|
|
10496
10525
|
* * `declined` - Declined
|
|
10497
10526
|
* * `pending` - Pending
|
|
10527
|
+
* * `paused` - Paused
|
|
10498
10528
|
* * `incomplete` - Incomplete
|
|
10499
10529
|
* * `verified` - Verified
|
|
10500
10530
|
*/
|
|
10501
|
-
status: 'obsolete' | 'declined' | 'pending' | 'incomplete' | 'verified';
|
|
10531
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10502
10532
|
readonly currencies: Array<ReducedAsset>;
|
|
10503
10533
|
readonly account_currencies: Array<ReducedAccountAsset>;
|
|
10504
10534
|
/**
|
|
10505
10535
|
* * `withdraw` - Withdraw
|
|
10506
10536
|
* * `deposit` - Deposit
|
|
10507
10537
|
*/
|
|
10508
|
-
action: 'withdraw' | 'deposit';
|
|
10538
|
+
readonly action: 'withdraw' | 'deposit';
|
|
10509
10539
|
readonly created: number;
|
|
10510
10540
|
readonly updated: number;
|
|
10511
10541
|
};
|
|
@@ -11631,6 +11661,7 @@ export type CompanyBankAccountWritable = {
|
|
|
11631
11661
|
name?: string | null;
|
|
11632
11662
|
number?: string | null;
|
|
11633
11663
|
type?: string | null;
|
|
11664
|
+
payment_method?: string | null;
|
|
11634
11665
|
bank_name?: string | null;
|
|
11635
11666
|
bank_code?: string | null;
|
|
11636
11667
|
bank_currency?: string | null;
|
|
@@ -11644,6 +11675,7 @@ export type CompanyBankAccountWritable = {
|
|
|
11644
11675
|
check_digit?: string | null;
|
|
11645
11676
|
pix_key?: string | null;
|
|
11646
11677
|
br_code?: string | null;
|
|
11678
|
+
sort_code?: string | null;
|
|
11647
11679
|
metadata?: {
|
|
11648
11680
|
[key: string]: unknown;
|
|
11649
11681
|
} | null;
|
|
@@ -15869,6 +15901,7 @@ export type UserBankAccountWritable = {
|
|
|
15869
15901
|
name?: string | null;
|
|
15870
15902
|
number?: string | null;
|
|
15871
15903
|
type?: string | null;
|
|
15904
|
+
payment_method?: string | null;
|
|
15872
15905
|
/**
|
|
15873
15906
|
* * `individual` - Individual
|
|
15874
15907
|
* * `business` - Business
|
|
@@ -15889,6 +15922,7 @@ export type UserBankAccountWritable = {
|
|
|
15889
15922
|
check_digit?: string | null;
|
|
15890
15923
|
pix_key?: string | null;
|
|
15891
15924
|
br_code?: string | null;
|
|
15925
|
+
sort_code?: string | null;
|
|
15892
15926
|
metadata?: {
|
|
15893
15927
|
[key: string]: unknown;
|
|
15894
15928
|
} | null;
|
|
@@ -16941,6 +16975,36 @@ export type AuthTokensRetrieveResponses = {
|
|
|
16941
16975
|
|
|
16942
16976
|
export type AuthTokensRetrieveResponse = AuthTokensRetrieveResponses[keyof AuthTokensRetrieveResponses];
|
|
16943
16977
|
|
|
16978
|
+
export type AuthTokensPartialUpdateData = {
|
|
16979
|
+
body?: PatchedUpdateAuthTokenRequest;
|
|
16980
|
+
path: {
|
|
16981
|
+
token_key: string;
|
|
16982
|
+
};
|
|
16983
|
+
query?: never;
|
|
16984
|
+
url: '/3/auth/tokens/{token_key}/';
|
|
16985
|
+
};
|
|
16986
|
+
|
|
16987
|
+
export type AuthTokensPartialUpdateResponses = {
|
|
16988
|
+
200: AuthTokenResponse;
|
|
16989
|
+
};
|
|
16990
|
+
|
|
16991
|
+
export type AuthTokensPartialUpdateResponse = AuthTokensPartialUpdateResponses[keyof AuthTokensPartialUpdateResponses];
|
|
16992
|
+
|
|
16993
|
+
export type AuthTokensUpdateData = {
|
|
16994
|
+
body?: UpdateAuthTokenRequest;
|
|
16995
|
+
path: {
|
|
16996
|
+
token_key: string;
|
|
16997
|
+
};
|
|
16998
|
+
query?: never;
|
|
16999
|
+
url: '/3/auth/tokens/{token_key}/';
|
|
17000
|
+
};
|
|
17001
|
+
|
|
17002
|
+
export type AuthTokensUpdateResponses = {
|
|
17003
|
+
200: AuthTokenResponse;
|
|
17004
|
+
};
|
|
17005
|
+
|
|
17006
|
+
export type AuthTokensUpdateResponse = AuthTokensUpdateResponses[keyof AuthTokensUpdateResponses];
|
|
17007
|
+
|
|
16944
17008
|
export type CompanyRetrieveData = {
|
|
16945
17009
|
body?: never;
|
|
16946
17010
|
path?: never;
|