rehive 4.1.4 → 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 +514 -79
- package/dist/admin.d.ts +514 -79
- 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-4WSHB6U6.mjs → chunk-A53KSFBA.mjs} +1 -1
- package/dist/chunk-CRNPJD3E.js +6 -0
- package/dist/{chunk-X6YDNXYV.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-C-LEZku2.d.mts → create-api-client-Bkkri-AM.d.mts} +1 -1
- package/dist/{create-api-client-ebyTfhcm.d.ts → create-api-client-CgvKBlQ_.d.ts} +1 -1
- package/dist/{create-auth-DsnHpEf0.d.mts → create-auth-ChOASbvo.d.mts} +71 -54
- package/dist/{create-auth-DsnHpEf0.d.ts → create-auth-ChOASbvo.d.ts} +71 -54
- package/dist/extensions/alchemy.d.mts +174 -40
- package/dist/extensions/alchemy.d.ts +174 -40
- package/dist/extensions/alchemy.js +3 -4
- package/dist/extensions/alchemy.mjs +3 -4
- package/dist/extensions/app.d.mts +10 -9
- package/dist/extensions/app.d.ts +10 -9
- package/dist/extensions/app.js +5 -6
- package/dist/extensions/app.mjs +5 -6
- package/dist/extensions/billing.d.mts +10 -9
- package/dist/extensions/billing.d.ts +10 -9
- package/dist/extensions/billing.js +2 -3
- package/dist/extensions/billing.mjs +2 -3
- package/dist/extensions/bridge.d.mts +352 -27
- package/dist/extensions/bridge.d.ts +352 -27
- package/dist/extensions/bridge.js +5 -6
- package/dist/extensions/bridge.mjs +5 -6
- package/dist/extensions/builder.d.mts +7 -6
- package/dist/extensions/builder.d.ts +7 -6
- package/dist/extensions/builder.js +3 -4
- package/dist/extensions/builder.mjs +3 -4
- package/dist/extensions/business.d.mts +26 -25
- package/dist/extensions/business.d.ts +26 -25
- package/dist/extensions/business.js +2 -3
- package/dist/extensions/business.mjs +2 -3
- package/dist/extensions/conversion.d.mts +9 -8
- package/dist/extensions/conversion.d.ts +9 -8
- package/dist/extensions/conversion.js +2 -3
- package/dist/extensions/conversion.mjs +2 -3
- package/dist/extensions/mass-send.d.mts +7 -6
- package/dist/extensions/mass-send.d.ts +7 -6
- package/dist/extensions/mass-send.js +2 -3
- package/dist/extensions/mass-send.mjs +2 -3
- package/dist/extensions/notifications.d.mts +15 -14
- package/dist/extensions/notifications.d.ts +15 -14
- package/dist/extensions/notifications.js +3 -4
- package/dist/extensions/notifications.mjs +3 -4
- package/dist/extensions/payment-requests.d.mts +10 -9
- package/dist/extensions/payment-requests.d.ts +10 -9
- package/dist/extensions/payment-requests.js +3 -4
- package/dist/extensions/payment-requests.mjs +3 -4
- package/dist/extensions/products.d.mts +42 -41
- package/dist/extensions/products.d.ts +42 -41
- package/dist/extensions/products.js +2 -3
- package/dist/extensions/products.mjs +2 -3
- package/dist/extensions/rain.d.mts +21 -20
- package/dist/extensions/rain.d.ts +21 -20
- package/dist/extensions/rain.js +2 -3
- package/dist/extensions/rain.mjs +2 -3
- package/dist/extensions/rewards.d.mts +7 -6
- package/dist/extensions/rewards.d.ts +7 -6
- package/dist/extensions/rewards.js +3 -4
- package/dist/extensions/rewards.mjs +3 -4
- package/dist/extensions/stellar-testnet.d.mts +15 -14
- package/dist/extensions/stellar-testnet.d.ts +15 -14
- package/dist/extensions/stellar-testnet.js +2 -3
- package/dist/extensions/stellar-testnet.mjs +2 -3
- package/dist/extensions/stellar.d.mts +15 -14
- package/dist/extensions/stellar.d.ts +15 -14
- package/dist/extensions/stellar.js +2 -3
- package/dist/extensions/stellar.mjs +2 -3
- 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 +8 -7
- package/dist/user.d.ts +8 -7
- package/dist/user.js +1 -1
- package/dist/user.mjs +1 -1
- package/package.json +1 -1
- package/src/auth/create-auth.ts +17 -10
- package/src/extensions/alchemy/openapi-ts/client/client.gen.ts +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +48 -2
- package/src/extensions/bridge/openapi-ts/types.gen.ts +372 -19
- package/src/extensions/builder/openapi-ts/client/client.gen.ts +12 -4
- 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/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 +12 -4
- 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/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 +19 -19
- package/src/extensions/conversion/openapi-ts/client/client.gen.ts +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +3 -3
- package/src/extensions/products/openapi-ts/client/client.gen.ts +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +12 -4
- 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/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 +44 -2
- package/src/platform/admin/openapi-ts/types.gen.ts +524 -71
- package/src/platform/user/openapi-ts/client/client.gen.ts +12 -4
- 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/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/sdk.gen.ts +1 -1
- package/src/platform/user/openapi-ts/types.gen.ts +69 -52
- package/dist/chunk-AVPKHYGS.js +0 -7
- package/dist/chunk-KUT5NSX7.mjs +0 -7
- package/dist/chunk-KZWBOQHZ.mjs +0 -7
- package/dist/chunk-PE6PG7ZE.js +0 -1
- package/dist/chunk-UYYU5OJ4.js +0 -7
- package/dist/chunk-Z7BUNKND.mjs +0 -1
|
@@ -932,7 +932,7 @@ export type Auth = {
|
|
|
932
932
|
* * `incomplete` - Incomplete
|
|
933
933
|
* * `verified` - Verified
|
|
934
934
|
*/
|
|
935
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
935
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
936
936
|
readonly created: number;
|
|
937
937
|
readonly updated: number;
|
|
938
938
|
settings: UserSettings;
|
|
@@ -1003,13 +1003,13 @@ export type AuthenticatorChallenge = {
|
|
|
1003
1003
|
* * `authorization` - Authorization
|
|
1004
1004
|
* * `setup` - Setup
|
|
1005
1005
|
*/
|
|
1006
|
-
type: 'authentication' | 'authorization' | 'setup';
|
|
1006
|
+
readonly type: 'authentication' | 'authorization' | 'setup';
|
|
1007
1007
|
/**
|
|
1008
1008
|
* * `ephemeral` - Ephemeral
|
|
1009
1009
|
* * `durable` - Durable
|
|
1010
1010
|
* * `permanent` - Permanent
|
|
1011
1011
|
*/
|
|
1012
|
-
durability: 'ephemeral' | 'durable' | 'permanent';
|
|
1012
|
+
readonly durability: 'ephemeral' | 'durable' | 'permanent';
|
|
1013
1013
|
readonly authenticator_types: Array<'totp' | 'sms' | 'static'>;
|
|
1014
1014
|
readonly created: number;
|
|
1015
1015
|
};
|
|
@@ -1869,14 +1869,14 @@ export type Company = {
|
|
|
1869
1869
|
* * `test` - Test
|
|
1870
1870
|
* * `production` - Production
|
|
1871
1871
|
*/
|
|
1872
|
-
mode: 'test' | 'production';
|
|
1872
|
+
readonly mode: 'test' | 'production';
|
|
1873
1873
|
/**
|
|
1874
1874
|
* * `pending` - Pending
|
|
1875
1875
|
* * `active` - Active
|
|
1876
1876
|
* * `restricted` - Restricted
|
|
1877
1877
|
* * `suspended` - Suspended
|
|
1878
1878
|
*/
|
|
1879
|
-
status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
1879
|
+
readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
1880
1880
|
readonly created: number;
|
|
1881
1881
|
readonly updated: number;
|
|
1882
1882
|
};
|
|
@@ -1892,6 +1892,7 @@ export type CompanyBankAccount = {
|
|
|
1892
1892
|
name?: string | null;
|
|
1893
1893
|
number?: string | null;
|
|
1894
1894
|
type?: string | null;
|
|
1895
|
+
payment_method?: string | null;
|
|
1895
1896
|
bank_name?: string | null;
|
|
1896
1897
|
bank_code?: string | null;
|
|
1897
1898
|
bank_currency?: string | null;
|
|
@@ -1905,6 +1906,7 @@ export type CompanyBankAccount = {
|
|
|
1905
1906
|
check_digit?: string | null;
|
|
1906
1907
|
pix_key?: string | null;
|
|
1907
1908
|
br_code?: string | null;
|
|
1909
|
+
sort_code?: string | null;
|
|
1908
1910
|
metadata?: {
|
|
1909
1911
|
[key: string]: unknown;
|
|
1910
1912
|
} | null;
|
|
@@ -1912,7 +1914,7 @@ export type CompanyBankAccount = {
|
|
|
1912
1914
|
/**
|
|
1913
1915
|
* * `withdraw` - Withdraw
|
|
1914
1916
|
*/
|
|
1915
|
-
action: 'withdraw';
|
|
1917
|
+
readonly action: 'withdraw';
|
|
1916
1918
|
readonly created: number;
|
|
1917
1919
|
readonly updated: number;
|
|
1918
1920
|
};
|
|
@@ -2290,7 +2292,7 @@ export type CompanyWalletAccount = {
|
|
|
2290
2292
|
/**
|
|
2291
2293
|
* * `withdraw` - Withdraw
|
|
2292
2294
|
*/
|
|
2293
|
-
action: 'withdraw';
|
|
2295
|
+
readonly action: 'withdraw';
|
|
2294
2296
|
readonly created: number;
|
|
2295
2297
|
readonly updated: number;
|
|
2296
2298
|
};
|
|
@@ -2781,6 +2783,7 @@ export type CreateMetricRequest = {
|
|
|
2781
2783
|
*/
|
|
2782
2784
|
export type CreateMobileRequest = {
|
|
2783
2785
|
number: string;
|
|
2786
|
+
primary?: boolean;
|
|
2784
2787
|
};
|
|
2785
2788
|
|
|
2786
2789
|
export type CreateMultiTransactionRequest = {
|
|
@@ -2929,12 +2932,12 @@ export type CryptoAccount = {
|
|
|
2929
2932
|
* * `incomplete` - Incomplete
|
|
2930
2933
|
* * `verified` - Verified
|
|
2931
2934
|
*/
|
|
2932
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
2935
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
2933
2936
|
/**
|
|
2934
2937
|
* * `withdraw` - Withdraw
|
|
2935
2938
|
* * `deposit` - Deposit
|
|
2936
2939
|
*/
|
|
2937
|
-
action: 'withdraw' | 'deposit';
|
|
2940
|
+
readonly action: 'withdraw' | 'deposit';
|
|
2938
2941
|
readonly created: number;
|
|
2939
2942
|
readonly updated: number;
|
|
2940
2943
|
};
|
|
@@ -3185,7 +3188,7 @@ export type Export = {
|
|
|
3185
3188
|
* * `transaction` - Transaction
|
|
3186
3189
|
* * `user` - User
|
|
3187
3190
|
*/
|
|
3188
|
-
resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3191
|
+
readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3189
3192
|
query?: {
|
|
3190
3193
|
[key: string]: unknown;
|
|
3191
3194
|
} | null;
|
|
@@ -3195,7 +3198,7 @@ export type Export = {
|
|
|
3195
3198
|
* * `complete` - Complete
|
|
3196
3199
|
* * `failed` - Failed
|
|
3197
3200
|
*/
|
|
3198
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3201
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3199
3202
|
progress: number;
|
|
3200
3203
|
count?: number | null;
|
|
3201
3204
|
page_size?: number;
|
|
@@ -3203,7 +3206,7 @@ export type Export = {
|
|
|
3203
3206
|
* * `json` - JSON
|
|
3204
3207
|
* * `csv` - CSV
|
|
3205
3208
|
*/
|
|
3206
|
-
file_format: 'json' | 'csv';
|
|
3209
|
+
readonly file_format: 'json' | 'csv';
|
|
3207
3210
|
readonly created: number;
|
|
3208
3211
|
readonly updated: number;
|
|
3209
3212
|
};
|
|
@@ -3297,7 +3300,7 @@ export type ExtendedExport = {
|
|
|
3297
3300
|
* * `transaction` - Transaction
|
|
3298
3301
|
* * `user` - User
|
|
3299
3302
|
*/
|
|
3300
|
-
resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3303
|
+
readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3301
3304
|
readonly query: {
|
|
3302
3305
|
[key: string]: unknown;
|
|
3303
3306
|
} | null;
|
|
@@ -3307,7 +3310,7 @@ export type ExtendedExport = {
|
|
|
3307
3310
|
* * `complete` - Complete
|
|
3308
3311
|
* * `failed` - Failed
|
|
3309
3312
|
*/
|
|
3310
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3313
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3311
3314
|
progress: number;
|
|
3312
3315
|
readonly count: number | null;
|
|
3313
3316
|
readonly page_size: number;
|
|
@@ -3316,7 +3319,7 @@ export type ExtendedExport = {
|
|
|
3316
3319
|
* * `json` - JSON
|
|
3317
3320
|
* * `csv` - CSV
|
|
3318
3321
|
*/
|
|
3319
|
-
file_format: 'json' | 'csv';
|
|
3322
|
+
readonly file_format: 'json' | 'csv';
|
|
3320
3323
|
readonly created: number;
|
|
3321
3324
|
readonly updated: number;
|
|
3322
3325
|
};
|
|
@@ -3368,7 +3371,7 @@ export type ExtendedTransaction = {
|
|
|
3368
3371
|
* * `credit` - Credit
|
|
3369
3372
|
* * `debit` - Debit
|
|
3370
3373
|
*/
|
|
3371
|
-
tx_type: 'credit' | 'debit';
|
|
3374
|
+
readonly tx_type: 'credit' | 'debit';
|
|
3372
3375
|
readonly subtype: string | null;
|
|
3373
3376
|
readonly note: string;
|
|
3374
3377
|
readonly metadata: {
|
|
@@ -3381,7 +3384,7 @@ export type ExtendedTransaction = {
|
|
|
3381
3384
|
* * `Complete` - Complete
|
|
3382
3385
|
* * `Failed` - Failed
|
|
3383
3386
|
*/
|
|
3384
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
3387
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
3385
3388
|
readonly reference: string | null;
|
|
3386
3389
|
readonly amount: number;
|
|
3387
3390
|
readonly fee: number;
|
|
@@ -3980,7 +3983,7 @@ export type ExtendedUserInfo = {
|
|
|
3980
3983
|
* * `incomplete` - Incomplete
|
|
3981
3984
|
* * `verified` - Verified
|
|
3982
3985
|
*/
|
|
3983
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
3986
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
3984
3987
|
readonly created: number;
|
|
3985
3988
|
readonly updated: number;
|
|
3986
3989
|
settings: UserSettings;
|
|
@@ -4628,12 +4631,13 @@ export type GroupPermission = {
|
|
|
4628
4631
|
* * `admin` - Admin
|
|
4629
4632
|
* * `user` - User
|
|
4630
4633
|
*/
|
|
4631
|
-
section: 'system' | 'admin' | 'user';
|
|
4634
|
+
readonly section: 'system' | 'admin' | 'user';
|
|
4632
4635
|
/**
|
|
4633
4636
|
* * `accesscontrolrule` - Access Control Rule
|
|
4634
4637
|
* * `account` - Account
|
|
4635
4638
|
* * `accountdefinition` - Account Definition
|
|
4636
4639
|
* * `address` - Address
|
|
4640
|
+
* * `alert` - Alert
|
|
4637
4641
|
* * `currency` - Currency
|
|
4638
4642
|
* * `bankaccount` - Bank Account
|
|
4639
4643
|
* * `company` - Company
|
|
@@ -4658,14 +4662,14 @@ export type GroupPermission = {
|
|
|
4658
4662
|
* * `user` - User
|
|
4659
4663
|
* * `webhook` - Webhook
|
|
4660
4664
|
*/
|
|
4661
|
-
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';
|
|
4662
4666
|
/**
|
|
4663
4667
|
* * `view` - View
|
|
4664
4668
|
* * `add` - Add
|
|
4665
4669
|
* * `change` - Change
|
|
4666
4670
|
* * `delete` - Delete
|
|
4667
4671
|
*/
|
|
4668
|
-
level: 'view' | 'add' | 'change' | 'delete';
|
|
4672
|
+
readonly level: 'view' | 'add' | 'change' | 'delete';
|
|
4669
4673
|
readonly properties: {
|
|
4670
4674
|
[key: string]: unknown;
|
|
4671
4675
|
};
|
|
@@ -4824,7 +4828,7 @@ export type GroupTierRequirementSetItem = {
|
|
|
4824
4828
|
/**
|
|
4825
4829
|
* * `resource` - Resource
|
|
4826
4830
|
*/
|
|
4827
|
-
type: 'resource';
|
|
4831
|
+
readonly type: 'resource';
|
|
4828
4832
|
rule: GroupTierRequirementSetItemRule;
|
|
4829
4833
|
name?: string | null;
|
|
4830
4834
|
description?: string | null;
|
|
@@ -4879,7 +4883,7 @@ export type LegalTerm = {
|
|
|
4879
4883
|
* * `system` - System
|
|
4880
4884
|
* * `company` - Company
|
|
4881
4885
|
*/
|
|
4882
|
-
type: 'system' | 'company';
|
|
4886
|
+
readonly type: 'system' | 'company';
|
|
4883
4887
|
readonly name: string;
|
|
4884
4888
|
readonly description: string | null;
|
|
4885
4889
|
readonly versions: Array<ReducedLegalTermVersion>;
|
|
@@ -4987,7 +4991,7 @@ export type MfatotpDeviceDetail = {
|
|
|
4987
4991
|
* * `SHA256` - SHA256
|
|
4988
4992
|
* * `SHA512` - SHA512
|
|
4989
4993
|
*/
|
|
4990
|
-
algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4994
|
+
readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4991
4995
|
readonly otpauth_url: string;
|
|
4992
4996
|
readonly issuer: string;
|
|
4993
4997
|
readonly account: string;
|
|
@@ -5049,7 +5053,7 @@ export type MaskedMfatotpDeviceDetail = {
|
|
|
5049
5053
|
* * `SHA256` - SHA256
|
|
5050
5054
|
* * `SHA512` - SHA512
|
|
5051
5055
|
*/
|
|
5052
|
-
algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
5056
|
+
readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
5053
5057
|
readonly otpauth_url: string;
|
|
5054
5058
|
readonly issuer: string;
|
|
5055
5059
|
readonly account: string;
|
|
@@ -5089,7 +5093,7 @@ export type Metric = {
|
|
|
5089
5093
|
* * `user_active_count` - User Active Count
|
|
5090
5094
|
* * `user_transacted_in_30days_count` - User Transacted In 30Days Count
|
|
5091
5095
|
*/
|
|
5092
|
-
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';
|
|
5093
5097
|
currency: ReducedAsset;
|
|
5094
5098
|
readonly timezone: string;
|
|
5095
5099
|
readonly query: {
|
|
@@ -5099,7 +5103,7 @@ export type Metric = {
|
|
|
5099
5103
|
* * `accumulate` - Accumulate
|
|
5100
5104
|
* * `set` - Set
|
|
5101
5105
|
*/
|
|
5102
|
-
method: 'accumulate' | 'set';
|
|
5106
|
+
readonly method: 'accumulate' | 'set';
|
|
5103
5107
|
readonly created: number;
|
|
5104
5108
|
readonly updated: number;
|
|
5105
5109
|
};
|
|
@@ -5193,7 +5197,7 @@ export type OauthClient = {
|
|
|
5193
5197
|
* * `apple` - Apple
|
|
5194
5198
|
* * `google` - Google
|
|
5195
5199
|
*/
|
|
5196
|
-
provider: 'apple' | 'google';
|
|
5200
|
+
readonly provider: 'apple' | 'google';
|
|
5197
5201
|
readonly application: string;
|
|
5198
5202
|
readonly client_id: string;
|
|
5199
5203
|
readonly created: number;
|
|
@@ -6752,6 +6756,7 @@ export type PatchedUserBankAccountRequest = {
|
|
|
6752
6756
|
name?: string | null;
|
|
6753
6757
|
number?: string | null;
|
|
6754
6758
|
type?: string | null;
|
|
6759
|
+
payment_method?: string | null;
|
|
6755
6760
|
/**
|
|
6756
6761
|
* * `individual` - Individual
|
|
6757
6762
|
* * `business` - Business
|
|
@@ -6772,6 +6777,7 @@ export type PatchedUserBankAccountRequest = {
|
|
|
6772
6777
|
check_digit?: string | null;
|
|
6773
6778
|
pix_key?: string | null;
|
|
6774
6779
|
br_code?: string | null;
|
|
6780
|
+
sort_code?: string | null;
|
|
6775
6781
|
metadata?: {
|
|
6776
6782
|
[key: string]: unknown;
|
|
6777
6783
|
} | null;
|
|
@@ -7087,14 +7093,14 @@ export type PublicCompany = {
|
|
|
7087
7093
|
* * `test` - Test
|
|
7088
7094
|
* * `production` - Production
|
|
7089
7095
|
*/
|
|
7090
|
-
mode: 'test' | 'production';
|
|
7096
|
+
readonly mode: 'test' | 'production';
|
|
7091
7097
|
/**
|
|
7092
7098
|
* * `pending` - Pending
|
|
7093
7099
|
* * `active` - Active
|
|
7094
7100
|
* * `restricted` - Restricted
|
|
7095
7101
|
* * `suspended` - Suspended
|
|
7096
7102
|
*/
|
|
7097
|
-
status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
7103
|
+
readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
7098
7104
|
readonly created: number;
|
|
7099
7105
|
readonly updated: number;
|
|
7100
7106
|
};
|
|
@@ -7111,7 +7117,7 @@ export type PublicCompanyLegalTerm = {
|
|
|
7111
7117
|
* * `system` - System
|
|
7112
7118
|
* * `company` - Company
|
|
7113
7119
|
*/
|
|
7114
|
-
type: 'system' | 'company';
|
|
7120
|
+
readonly type: 'system' | 'company';
|
|
7115
7121
|
name: string;
|
|
7116
7122
|
description?: string | null;
|
|
7117
7123
|
readonly groups: Array<string>;
|
|
@@ -7205,7 +7211,7 @@ export type PublicLegalTerm = {
|
|
|
7205
7211
|
* * `system` - System
|
|
7206
7212
|
* * `company` - Company
|
|
7207
7213
|
*/
|
|
7208
|
-
type: 'system' | 'company';
|
|
7214
|
+
readonly type: 'system' | 'company';
|
|
7209
7215
|
name: string;
|
|
7210
7216
|
description?: string | null;
|
|
7211
7217
|
readonly groups: Array<string>;
|
|
@@ -7515,7 +7521,7 @@ export type ReducedService = {
|
|
|
7515
7521
|
* * `public` - Public
|
|
7516
7522
|
* * `private` - Private
|
|
7517
7523
|
*/
|
|
7518
|
-
type: 'system' | 'public' | 'private';
|
|
7524
|
+
readonly type: 'system' | 'public' | 'private';
|
|
7519
7525
|
};
|
|
7520
7526
|
|
|
7521
7527
|
export type ReducedTransactionSubtype = {
|
|
@@ -8709,7 +8715,7 @@ export type Statement = {
|
|
|
8709
8715
|
* * `complete` - Complete
|
|
8710
8716
|
* * `failed` - Failed
|
|
8711
8717
|
*/
|
|
8712
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
8718
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
8713
8719
|
readonly created: number;
|
|
8714
8720
|
readonly updated: number;
|
|
8715
8721
|
};
|
|
@@ -8751,7 +8757,7 @@ export type Transaction = {
|
|
|
8751
8757
|
* * `credit` - Credit
|
|
8752
8758
|
* * `debit` - Debit
|
|
8753
8759
|
*/
|
|
8754
|
-
tx_type: 'credit' | 'debit';
|
|
8760
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8755
8761
|
readonly subtype: string | null;
|
|
8756
8762
|
readonly note: string;
|
|
8757
8763
|
readonly metadata: {
|
|
@@ -8764,7 +8770,7 @@ export type Transaction = {
|
|
|
8764
8770
|
* * `Complete` - Complete
|
|
8765
8771
|
* * `Failed` - Failed
|
|
8766
8772
|
*/
|
|
8767
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8773
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8768
8774
|
readonly reference: string | null;
|
|
8769
8775
|
readonly amount: number;
|
|
8770
8776
|
readonly fee: number;
|
|
@@ -8809,7 +8815,7 @@ export type TransactionCollection = {
|
|
|
8809
8815
|
* * `Complete` - Complete
|
|
8810
8816
|
* * `Failed` - Failed
|
|
8811
8817
|
*/
|
|
8812
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8818
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8813
8819
|
readonly created: number;
|
|
8814
8820
|
readonly updated: number;
|
|
8815
8821
|
};
|
|
@@ -8839,7 +8845,7 @@ export type TransactionCollectionTransaction = {
|
|
|
8839
8845
|
* * `credit` - Credit
|
|
8840
8846
|
* * `debit` - Debit
|
|
8841
8847
|
*/
|
|
8842
|
-
tx_type: 'credit' | 'debit';
|
|
8848
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8843
8849
|
readonly subtype: string | null;
|
|
8844
8850
|
readonly note: string;
|
|
8845
8851
|
readonly metadata: {
|
|
@@ -8852,7 +8858,7 @@ export type TransactionCollectionTransaction = {
|
|
|
8852
8858
|
* * `Complete` - Complete
|
|
8853
8859
|
* * `Failed` - Failed
|
|
8854
8860
|
*/
|
|
8855
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8861
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8856
8862
|
readonly reference: string | null;
|
|
8857
8863
|
readonly amount: number;
|
|
8858
8864
|
readonly fee: number;
|
|
@@ -8893,7 +8899,7 @@ export type TransactionMessage = {
|
|
|
8893
8899
|
* * `warning` - Warning
|
|
8894
8900
|
* * `error` - Error
|
|
8895
8901
|
*/
|
|
8896
|
-
level: 'info' | 'warning' | 'error';
|
|
8902
|
+
readonly level: 'info' | 'warning' | 'error';
|
|
8897
8903
|
message: string;
|
|
8898
8904
|
readonly created: number;
|
|
8899
8905
|
readonly updated: number;
|
|
@@ -8919,14 +8925,14 @@ export type TransactionSubtype = {
|
|
|
8919
8925
|
* * `credit` - Credit
|
|
8920
8926
|
* * `debit` - Debit
|
|
8921
8927
|
*/
|
|
8922
|
-
tx_type: 'credit' | 'debit';
|
|
8928
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8923
8929
|
/**
|
|
8924
8930
|
* * `partner` - Partner
|
|
8925
8931
|
* * `single` - Single
|
|
8926
8932
|
*
|
|
8927
8933
|
* @deprecated
|
|
8928
8934
|
*/
|
|
8929
|
-
usage_type: 'partner' | 'single' | null;
|
|
8935
|
+
readonly usage_type: 'partner' | 'single' | null;
|
|
8930
8936
|
partner: ReducedTransactionSubtype;
|
|
8931
8937
|
readonly created: number;
|
|
8932
8938
|
readonly updated: number;
|
|
@@ -9257,7 +9263,7 @@ export type UserAddress = {
|
|
|
9257
9263
|
* * `incomplete` - Incomplete
|
|
9258
9264
|
* * `verified` - Verified
|
|
9259
9265
|
*/
|
|
9260
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9266
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9261
9267
|
readonly created: number;
|
|
9262
9268
|
readonly updated: number;
|
|
9263
9269
|
};
|
|
@@ -9559,6 +9565,7 @@ export type UserBankAccount = {
|
|
|
9559
9565
|
name?: string | null;
|
|
9560
9566
|
number?: string | null;
|
|
9561
9567
|
type?: string | null;
|
|
9568
|
+
payment_method?: string | null;
|
|
9562
9569
|
/**
|
|
9563
9570
|
* * `individual` - Individual
|
|
9564
9571
|
* * `business` - Business
|
|
@@ -9579,6 +9586,7 @@ export type UserBankAccount = {
|
|
|
9579
9586
|
check_digit?: string | null;
|
|
9580
9587
|
pix_key?: string | null;
|
|
9581
9588
|
br_code?: string | null;
|
|
9589
|
+
sort_code?: string | null;
|
|
9582
9590
|
readonly code: string | null;
|
|
9583
9591
|
metadata?: {
|
|
9584
9592
|
[key: string]: unknown;
|
|
@@ -9591,14 +9599,14 @@ export type UserBankAccount = {
|
|
|
9591
9599
|
* * `incomplete` - Incomplete
|
|
9592
9600
|
* * `verified` - Verified
|
|
9593
9601
|
*/
|
|
9594
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9602
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9595
9603
|
readonly currencies: Array<ReducedAsset>;
|
|
9596
9604
|
readonly account_currencies: Array<ReducedAccountAsset>;
|
|
9597
9605
|
/**
|
|
9598
9606
|
* * `withdraw` - Withdraw
|
|
9599
9607
|
* * `deposit` - Deposit
|
|
9600
9608
|
*/
|
|
9601
|
-
action: 'withdraw' | 'deposit';
|
|
9609
|
+
readonly action: 'withdraw' | 'deposit';
|
|
9602
9610
|
readonly created: number;
|
|
9603
9611
|
readonly updated: number;
|
|
9604
9612
|
};
|
|
@@ -9649,6 +9657,7 @@ export type UserBankAccountRequest = {
|
|
|
9649
9657
|
name?: string | null;
|
|
9650
9658
|
number?: string | null;
|
|
9651
9659
|
type?: string | null;
|
|
9660
|
+
payment_method?: string | null;
|
|
9652
9661
|
/**
|
|
9653
9662
|
* * `individual` - Individual
|
|
9654
9663
|
* * `business` - Business
|
|
@@ -9669,6 +9678,7 @@ export type UserBankAccountRequest = {
|
|
|
9669
9678
|
check_digit?: string | null;
|
|
9670
9679
|
pix_key?: string | null;
|
|
9671
9680
|
br_code?: string | null;
|
|
9681
|
+
sort_code?: string | null;
|
|
9672
9682
|
metadata?: {
|
|
9673
9683
|
[key: string]: unknown;
|
|
9674
9684
|
} | null;
|
|
@@ -10223,6 +10233,7 @@ export type UserCreateBankAccountRequest = {
|
|
|
10223
10233
|
name?: string | null;
|
|
10224
10234
|
number?: string | null;
|
|
10225
10235
|
type?: string | null;
|
|
10236
|
+
payment_method?: string | null;
|
|
10226
10237
|
/**
|
|
10227
10238
|
* * `individual` - Individual
|
|
10228
10239
|
* * `business` - Business
|
|
@@ -10243,6 +10254,7 @@ export type UserCreateBankAccountRequest = {
|
|
|
10243
10254
|
check_digit?: string | null;
|
|
10244
10255
|
pix_key?: string | null;
|
|
10245
10256
|
br_code?: string | null;
|
|
10257
|
+
sort_code?: string | null;
|
|
10246
10258
|
metadata?: {
|
|
10247
10259
|
[key: string]: unknown;
|
|
10248
10260
|
} | null;
|
|
@@ -10320,7 +10332,7 @@ export type UserDocument = {
|
|
|
10320
10332
|
* * `incomplete` - Incomplete
|
|
10321
10333
|
* * `verified` - Verified
|
|
10322
10334
|
*/
|
|
10323
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10335
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10324
10336
|
metadata?: {
|
|
10325
10337
|
[key: string]: unknown;
|
|
10326
10338
|
} | null;
|
|
@@ -10375,7 +10387,7 @@ export type UserMessage = {
|
|
|
10375
10387
|
* * `warning` - Warning
|
|
10376
10388
|
* * `error` - Error
|
|
10377
10389
|
*/
|
|
10378
|
-
level: 'info' | 'warning' | 'error';
|
|
10390
|
+
readonly level: 'info' | 'warning' | 'error';
|
|
10379
10391
|
message: string;
|
|
10380
10392
|
readonly created: number;
|
|
10381
10393
|
readonly updated: number;
|
|
@@ -10399,12 +10411,13 @@ export type UserPermission = {
|
|
|
10399
10411
|
* * `admin` - Admin
|
|
10400
10412
|
* * `user` - User
|
|
10401
10413
|
*/
|
|
10402
|
-
section: 'system' | 'admin' | 'user';
|
|
10414
|
+
readonly section: 'system' | 'admin' | 'user';
|
|
10403
10415
|
/**
|
|
10404
10416
|
* * `accesscontrolrule` - Access Control Rule
|
|
10405
10417
|
* * `account` - Account
|
|
10406
10418
|
* * `accountdefinition` - Account Definition
|
|
10407
10419
|
* * `address` - Address
|
|
10420
|
+
* * `alert` - Alert
|
|
10408
10421
|
* * `currency` - Currency
|
|
10409
10422
|
* * `bankaccount` - Bank Account
|
|
10410
10423
|
* * `company` - Company
|
|
@@ -10429,14 +10442,14 @@ export type UserPermission = {
|
|
|
10429
10442
|
* * `user` - User
|
|
10430
10443
|
* * `webhook` - Webhook
|
|
10431
10444
|
*/
|
|
10432
|
-
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';
|
|
10433
10446
|
/**
|
|
10434
10447
|
* * `view` - View
|
|
10435
10448
|
* * `add` - Add
|
|
10436
10449
|
* * `change` - Change
|
|
10437
10450
|
* * `delete` - Delete
|
|
10438
10451
|
*/
|
|
10439
|
-
level: 'view' | 'add' | 'change' | 'delete';
|
|
10452
|
+
readonly level: 'view' | 'add' | 'change' | 'delete';
|
|
10440
10453
|
readonly properties: {
|
|
10441
10454
|
[key: string]: unknown;
|
|
10442
10455
|
};
|
|
@@ -10515,14 +10528,14 @@ export type UserWalletAccount = {
|
|
|
10515
10528
|
* * `incomplete` - Incomplete
|
|
10516
10529
|
* * `verified` - Verified
|
|
10517
10530
|
*/
|
|
10518
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10531
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10519
10532
|
readonly currencies: Array<ReducedAsset>;
|
|
10520
10533
|
readonly account_currencies: Array<ReducedAccountAsset>;
|
|
10521
10534
|
/**
|
|
10522
10535
|
* * `withdraw` - Withdraw
|
|
10523
10536
|
* * `deposit` - Deposit
|
|
10524
10537
|
*/
|
|
10525
|
-
action: 'withdraw' | 'deposit';
|
|
10538
|
+
readonly action: 'withdraw' | 'deposit';
|
|
10526
10539
|
readonly created: number;
|
|
10527
10540
|
readonly updated: number;
|
|
10528
10541
|
};
|
|
@@ -11648,6 +11661,7 @@ export type CompanyBankAccountWritable = {
|
|
|
11648
11661
|
name?: string | null;
|
|
11649
11662
|
number?: string | null;
|
|
11650
11663
|
type?: string | null;
|
|
11664
|
+
payment_method?: string | null;
|
|
11651
11665
|
bank_name?: string | null;
|
|
11652
11666
|
bank_code?: string | null;
|
|
11653
11667
|
bank_currency?: string | null;
|
|
@@ -11661,6 +11675,7 @@ export type CompanyBankAccountWritable = {
|
|
|
11661
11675
|
check_digit?: string | null;
|
|
11662
11676
|
pix_key?: string | null;
|
|
11663
11677
|
br_code?: string | null;
|
|
11678
|
+
sort_code?: string | null;
|
|
11664
11679
|
metadata?: {
|
|
11665
11680
|
[key: string]: unknown;
|
|
11666
11681
|
} | null;
|
|
@@ -15886,6 +15901,7 @@ export type UserBankAccountWritable = {
|
|
|
15886
15901
|
name?: string | null;
|
|
15887
15902
|
number?: string | null;
|
|
15888
15903
|
type?: string | null;
|
|
15904
|
+
payment_method?: string | null;
|
|
15889
15905
|
/**
|
|
15890
15906
|
* * `individual` - Individual
|
|
15891
15907
|
* * `business` - Business
|
|
@@ -15906,6 +15922,7 @@ export type UserBankAccountWritable = {
|
|
|
15906
15922
|
check_digit?: string | null;
|
|
15907
15923
|
pix_key?: string | null;
|
|
15908
15924
|
br_code?: string | null;
|
|
15925
|
+
sort_code?: string | null;
|
|
15909
15926
|
metadata?: {
|
|
15910
15927
|
[key: string]: unknown;
|
|
15911
15928
|
} | null;
|