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
|
@@ -904,7 +904,7 @@ type Auth$1 = {
|
|
|
904
904
|
* * `incomplete` - Incomplete
|
|
905
905
|
* * `verified` - Verified
|
|
906
906
|
*/
|
|
907
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
907
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
908
908
|
readonly created: number;
|
|
909
909
|
readonly updated: number;
|
|
910
910
|
settings: UserSettings;
|
|
@@ -967,13 +967,13 @@ type AuthenticatorChallenge = {
|
|
|
967
967
|
* * `authorization` - Authorization
|
|
968
968
|
* * `setup` - Setup
|
|
969
969
|
*/
|
|
970
|
-
type: 'authentication' | 'authorization' | 'setup';
|
|
970
|
+
readonly type: 'authentication' | 'authorization' | 'setup';
|
|
971
971
|
/**
|
|
972
972
|
* * `ephemeral` - Ephemeral
|
|
973
973
|
* * `durable` - Durable
|
|
974
974
|
* * `permanent` - Permanent
|
|
975
975
|
*/
|
|
976
|
-
durability: 'ephemeral' | 'durable' | 'permanent';
|
|
976
|
+
readonly durability: 'ephemeral' | 'durable' | 'permanent';
|
|
977
977
|
readonly authenticator_types: Array<'totp' | 'sms' | 'static'>;
|
|
978
978
|
readonly created: number;
|
|
979
979
|
};
|
|
@@ -1828,14 +1828,14 @@ type Company = {
|
|
|
1828
1828
|
* * `test` - Test
|
|
1829
1829
|
* * `production` - Production
|
|
1830
1830
|
*/
|
|
1831
|
-
mode: 'test' | 'production';
|
|
1831
|
+
readonly mode: 'test' | 'production';
|
|
1832
1832
|
/**
|
|
1833
1833
|
* * `pending` - Pending
|
|
1834
1834
|
* * `active` - Active
|
|
1835
1835
|
* * `restricted` - Restricted
|
|
1836
1836
|
* * `suspended` - Suspended
|
|
1837
1837
|
*/
|
|
1838
|
-
status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
1838
|
+
readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
1839
1839
|
readonly created: number;
|
|
1840
1840
|
readonly updated: number;
|
|
1841
1841
|
};
|
|
@@ -1850,6 +1850,7 @@ type CompanyBankAccount = {
|
|
|
1850
1850
|
name?: string | null;
|
|
1851
1851
|
number?: string | null;
|
|
1852
1852
|
type?: string | null;
|
|
1853
|
+
payment_method?: string | null;
|
|
1853
1854
|
bank_name?: string | null;
|
|
1854
1855
|
bank_code?: string | null;
|
|
1855
1856
|
bank_currency?: string | null;
|
|
@@ -1863,6 +1864,7 @@ type CompanyBankAccount = {
|
|
|
1863
1864
|
check_digit?: string | null;
|
|
1864
1865
|
pix_key?: string | null;
|
|
1865
1866
|
br_code?: string | null;
|
|
1867
|
+
sort_code?: string | null;
|
|
1866
1868
|
metadata?: {
|
|
1867
1869
|
[key: string]: unknown;
|
|
1868
1870
|
} | null;
|
|
@@ -1870,7 +1872,7 @@ type CompanyBankAccount = {
|
|
|
1870
1872
|
/**
|
|
1871
1873
|
* * `withdraw` - Withdraw
|
|
1872
1874
|
*/
|
|
1873
|
-
action: 'withdraw';
|
|
1875
|
+
readonly action: 'withdraw';
|
|
1874
1876
|
readonly created: number;
|
|
1875
1877
|
readonly updated: number;
|
|
1876
1878
|
};
|
|
@@ -2241,7 +2243,7 @@ type CompanyWalletAccount = {
|
|
|
2241
2243
|
/**
|
|
2242
2244
|
* * `withdraw` - Withdraw
|
|
2243
2245
|
*/
|
|
2244
|
-
action: 'withdraw';
|
|
2246
|
+
readonly action: 'withdraw';
|
|
2245
2247
|
readonly created: number;
|
|
2246
2248
|
readonly updated: number;
|
|
2247
2249
|
};
|
|
@@ -2716,6 +2718,7 @@ type CreateMetricRequest = {
|
|
|
2716
2718
|
*/
|
|
2717
2719
|
type CreateMobileRequest = {
|
|
2718
2720
|
number: string;
|
|
2721
|
+
primary?: boolean;
|
|
2719
2722
|
};
|
|
2720
2723
|
type CreateMultiTransactionRequest = {
|
|
2721
2724
|
transactions: Array<ExplicitCreateTransactionRequest>;
|
|
@@ -2854,12 +2857,12 @@ type CryptoAccount = {
|
|
|
2854
2857
|
* * `incomplete` - Incomplete
|
|
2855
2858
|
* * `verified` - Verified
|
|
2856
2859
|
*/
|
|
2857
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
2860
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
2858
2861
|
/**
|
|
2859
2862
|
* * `withdraw` - Withdraw
|
|
2860
2863
|
* * `deposit` - Deposit
|
|
2861
2864
|
*/
|
|
2862
|
-
action: 'withdraw' | 'deposit';
|
|
2865
|
+
readonly action: 'withdraw' | 'deposit';
|
|
2863
2866
|
readonly created: number;
|
|
2864
2867
|
readonly updated: number;
|
|
2865
2868
|
};
|
|
@@ -3084,7 +3087,7 @@ type Export = {
|
|
|
3084
3087
|
* * `transaction` - Transaction
|
|
3085
3088
|
* * `user` - User
|
|
3086
3089
|
*/
|
|
3087
|
-
resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3090
|
+
readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3088
3091
|
query?: {
|
|
3089
3092
|
[key: string]: unknown;
|
|
3090
3093
|
} | null;
|
|
@@ -3094,7 +3097,7 @@ type Export = {
|
|
|
3094
3097
|
* * `complete` - Complete
|
|
3095
3098
|
* * `failed` - Failed
|
|
3096
3099
|
*/
|
|
3097
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3100
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3098
3101
|
progress: number;
|
|
3099
3102
|
count?: number | null;
|
|
3100
3103
|
page_size?: number;
|
|
@@ -3102,7 +3105,7 @@ type Export = {
|
|
|
3102
3105
|
* * `json` - JSON
|
|
3103
3106
|
* * `csv` - CSV
|
|
3104
3107
|
*/
|
|
3105
|
-
file_format: 'json' | 'csv';
|
|
3108
|
+
readonly file_format: 'json' | 'csv';
|
|
3106
3109
|
readonly created: number;
|
|
3107
3110
|
readonly updated: number;
|
|
3108
3111
|
};
|
|
@@ -3189,7 +3192,7 @@ type ExtendedExport = {
|
|
|
3189
3192
|
* * `transaction` - Transaction
|
|
3190
3193
|
* * `user` - User
|
|
3191
3194
|
*/
|
|
3192
|
-
resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3195
|
+
readonly resource: 'account' | 'account_currency' | 'transaction' | 'user';
|
|
3193
3196
|
readonly query: {
|
|
3194
3197
|
[key: string]: unknown;
|
|
3195
3198
|
} | null;
|
|
@@ -3199,7 +3202,7 @@ type ExtendedExport = {
|
|
|
3199
3202
|
* * `complete` - Complete
|
|
3200
3203
|
* * `failed` - Failed
|
|
3201
3204
|
*/
|
|
3202
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3205
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
3203
3206
|
progress: number;
|
|
3204
3207
|
readonly count: number | null;
|
|
3205
3208
|
readonly page_size: number;
|
|
@@ -3208,7 +3211,7 @@ type ExtendedExport = {
|
|
|
3208
3211
|
* * `json` - JSON
|
|
3209
3212
|
* * `csv` - CSV
|
|
3210
3213
|
*/
|
|
3211
|
-
file_format: 'json' | 'csv';
|
|
3214
|
+
readonly file_format: 'json' | 'csv';
|
|
3212
3215
|
readonly created: number;
|
|
3213
3216
|
readonly updated: number;
|
|
3214
3217
|
};
|
|
@@ -3256,7 +3259,7 @@ type ExtendedTransaction = {
|
|
|
3256
3259
|
* * `credit` - Credit
|
|
3257
3260
|
* * `debit` - Debit
|
|
3258
3261
|
*/
|
|
3259
|
-
tx_type: 'credit' | 'debit';
|
|
3262
|
+
readonly tx_type: 'credit' | 'debit';
|
|
3260
3263
|
readonly subtype: string | null;
|
|
3261
3264
|
readonly note: string;
|
|
3262
3265
|
readonly metadata: {
|
|
@@ -3269,7 +3272,7 @@ type ExtendedTransaction = {
|
|
|
3269
3272
|
* * `Complete` - Complete
|
|
3270
3273
|
* * `Failed` - Failed
|
|
3271
3274
|
*/
|
|
3272
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
3275
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
3273
3276
|
readonly reference: string | null;
|
|
3274
3277
|
readonly amount: number;
|
|
3275
3278
|
readonly fee: number;
|
|
@@ -3866,7 +3869,7 @@ type ExtendedUserInfo = {
|
|
|
3866
3869
|
* * `incomplete` - Incomplete
|
|
3867
3870
|
* * `verified` - Verified
|
|
3868
3871
|
*/
|
|
3869
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
3872
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
3870
3873
|
readonly created: number;
|
|
3871
3874
|
readonly updated: number;
|
|
3872
3875
|
settings: UserSettings;
|
|
@@ -4506,12 +4509,13 @@ type GroupPermission = {
|
|
|
4506
4509
|
* * `admin` - Admin
|
|
4507
4510
|
* * `user` - User
|
|
4508
4511
|
*/
|
|
4509
|
-
section: 'system' | 'admin' | 'user';
|
|
4512
|
+
readonly section: 'system' | 'admin' | 'user';
|
|
4510
4513
|
/**
|
|
4511
4514
|
* * `accesscontrolrule` - Access Control Rule
|
|
4512
4515
|
* * `account` - Account
|
|
4513
4516
|
* * `accountdefinition` - Account Definition
|
|
4514
4517
|
* * `address` - Address
|
|
4518
|
+
* * `alert` - Alert
|
|
4515
4519
|
* * `currency` - Currency
|
|
4516
4520
|
* * `bankaccount` - Bank Account
|
|
4517
4521
|
* * `company` - Company
|
|
@@ -4536,14 +4540,14 @@ type GroupPermission = {
|
|
|
4536
4540
|
* * `user` - User
|
|
4537
4541
|
* * `webhook` - Webhook
|
|
4538
4542
|
*/
|
|
4539
|
-
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';
|
|
4543
|
+
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';
|
|
4540
4544
|
/**
|
|
4541
4545
|
* * `view` - View
|
|
4542
4546
|
* * `add` - Add
|
|
4543
4547
|
* * `change` - Change
|
|
4544
4548
|
* * `delete` - Delete
|
|
4545
4549
|
*/
|
|
4546
|
-
level: 'view' | 'add' | 'change' | 'delete';
|
|
4550
|
+
readonly level: 'view' | 'add' | 'change' | 'delete';
|
|
4547
4551
|
readonly properties: {
|
|
4548
4552
|
[key: string]: unknown;
|
|
4549
4553
|
};
|
|
@@ -4692,7 +4696,7 @@ type GroupTierRequirementSetItem = {
|
|
|
4692
4696
|
/**
|
|
4693
4697
|
* * `resource` - Resource
|
|
4694
4698
|
*/
|
|
4695
|
-
type: 'resource';
|
|
4699
|
+
readonly type: 'resource';
|
|
4696
4700
|
rule: GroupTierRequirementSetItemRule;
|
|
4697
4701
|
name?: string | null;
|
|
4698
4702
|
description?: string | null;
|
|
@@ -4740,7 +4744,7 @@ type LegalTerm = {
|
|
|
4740
4744
|
* * `system` - System
|
|
4741
4745
|
* * `company` - Company
|
|
4742
4746
|
*/
|
|
4743
|
-
type: 'system' | 'company';
|
|
4747
|
+
readonly type: 'system' | 'company';
|
|
4744
4748
|
readonly name: string;
|
|
4745
4749
|
readonly description: string | null;
|
|
4746
4750
|
readonly versions: Array<ReducedLegalTermVersion>;
|
|
@@ -4836,7 +4840,7 @@ type MfatotpDeviceDetail = {
|
|
|
4836
4840
|
* * `SHA256` - SHA256
|
|
4837
4841
|
* * `SHA512` - SHA512
|
|
4838
4842
|
*/
|
|
4839
|
-
algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4843
|
+
readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4840
4844
|
readonly otpauth_url: string;
|
|
4841
4845
|
readonly issuer: string;
|
|
4842
4846
|
readonly account: string;
|
|
@@ -4890,7 +4894,7 @@ type MaskedMfatotpDeviceDetail = {
|
|
|
4890
4894
|
* * `SHA256` - SHA256
|
|
4891
4895
|
* * `SHA512` - SHA512
|
|
4892
4896
|
*/
|
|
4893
|
-
algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4897
|
+
readonly algorithm: 'SHA1' | 'SHA256' | 'SHA512';
|
|
4894
4898
|
readonly otpauth_url: string;
|
|
4895
4899
|
readonly issuer: string;
|
|
4896
4900
|
readonly account: string;
|
|
@@ -4928,7 +4932,7 @@ type Metric = {
|
|
|
4928
4932
|
* * `user_active_count` - User Active Count
|
|
4929
4933
|
* * `user_transacted_in_30days_count` - User Transacted In 30Days Count
|
|
4930
4934
|
*/
|
|
4931
|
-
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';
|
|
4935
|
+
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';
|
|
4932
4936
|
currency: ReducedAsset;
|
|
4933
4937
|
readonly timezone: string;
|
|
4934
4938
|
readonly query: {
|
|
@@ -4938,7 +4942,7 @@ type Metric = {
|
|
|
4938
4942
|
* * `accumulate` - Accumulate
|
|
4939
4943
|
* * `set` - Set
|
|
4940
4944
|
*/
|
|
4941
|
-
method: 'accumulate' | 'set';
|
|
4945
|
+
readonly method: 'accumulate' | 'set';
|
|
4942
4946
|
readonly created: number;
|
|
4943
4947
|
readonly updated: number;
|
|
4944
4948
|
};
|
|
@@ -5019,7 +5023,7 @@ type OauthClient = {
|
|
|
5019
5023
|
* * `apple` - Apple
|
|
5020
5024
|
* * `google` - Google
|
|
5021
5025
|
*/
|
|
5022
|
-
provider: 'apple' | 'google';
|
|
5026
|
+
readonly provider: 'apple' | 'google';
|
|
5023
5027
|
readonly application: string;
|
|
5024
5028
|
readonly client_id: string;
|
|
5025
5029
|
readonly created: number;
|
|
@@ -6470,6 +6474,7 @@ type PatchedUserBankAccountRequest = {
|
|
|
6470
6474
|
name?: string | null;
|
|
6471
6475
|
number?: string | null;
|
|
6472
6476
|
type?: string | null;
|
|
6477
|
+
payment_method?: string | null;
|
|
6473
6478
|
/**
|
|
6474
6479
|
* * `individual` - Individual
|
|
6475
6480
|
* * `business` - Business
|
|
@@ -6490,6 +6495,7 @@ type PatchedUserBankAccountRequest = {
|
|
|
6490
6495
|
check_digit?: string | null;
|
|
6491
6496
|
pix_key?: string | null;
|
|
6492
6497
|
br_code?: string | null;
|
|
6498
|
+
sort_code?: string | null;
|
|
6493
6499
|
metadata?: {
|
|
6494
6500
|
[key: string]: unknown;
|
|
6495
6501
|
} | null;
|
|
@@ -6802,14 +6808,14 @@ type PublicCompany = {
|
|
|
6802
6808
|
* * `test` - Test
|
|
6803
6809
|
* * `production` - Production
|
|
6804
6810
|
*/
|
|
6805
|
-
mode: 'test' | 'production';
|
|
6811
|
+
readonly mode: 'test' | 'production';
|
|
6806
6812
|
/**
|
|
6807
6813
|
* * `pending` - Pending
|
|
6808
6814
|
* * `active` - Active
|
|
6809
6815
|
* * `restricted` - Restricted
|
|
6810
6816
|
* * `suspended` - Suspended
|
|
6811
6817
|
*/
|
|
6812
|
-
status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
6818
|
+
readonly status: 'pending' | 'active' | 'restricted' | 'suspended';
|
|
6813
6819
|
readonly created: number;
|
|
6814
6820
|
readonly updated: number;
|
|
6815
6821
|
};
|
|
@@ -6825,7 +6831,7 @@ type PublicCompanyLegalTerm = {
|
|
|
6825
6831
|
* * `system` - System
|
|
6826
6832
|
* * `company` - Company
|
|
6827
6833
|
*/
|
|
6828
|
-
type: 'system' | 'company';
|
|
6834
|
+
readonly type: 'system' | 'company';
|
|
6829
6835
|
name: string;
|
|
6830
6836
|
description?: string | null;
|
|
6831
6837
|
readonly groups: Array<string>;
|
|
@@ -6911,7 +6917,7 @@ type PublicLegalTerm = {
|
|
|
6911
6917
|
* * `system` - System
|
|
6912
6918
|
* * `company` - Company
|
|
6913
6919
|
*/
|
|
6914
|
-
type: 'system' | 'company';
|
|
6920
|
+
readonly type: 'system' | 'company';
|
|
6915
6921
|
name: string;
|
|
6916
6922
|
description?: string | null;
|
|
6917
6923
|
readonly groups: Array<string>;
|
|
@@ -7196,7 +7202,7 @@ type ReducedService = {
|
|
|
7196
7202
|
* * `public` - Public
|
|
7197
7203
|
* * `private` - Private
|
|
7198
7204
|
*/
|
|
7199
|
-
type: 'system' | 'public' | 'private';
|
|
7205
|
+
readonly type: 'system' | 'public' | 'private';
|
|
7200
7206
|
};
|
|
7201
7207
|
type ReducedTransactionSubtype = {
|
|
7202
7208
|
readonly id: number;
|
|
@@ -8377,7 +8383,7 @@ type Statement = {
|
|
|
8377
8383
|
* * `complete` - Complete
|
|
8378
8384
|
* * `failed` - Failed
|
|
8379
8385
|
*/
|
|
8380
|
-
status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
8386
|
+
readonly status: 'queued' | 'processing' | 'complete' | 'failed';
|
|
8381
8387
|
readonly created: number;
|
|
8382
8388
|
readonly updated: number;
|
|
8383
8389
|
};
|
|
@@ -8415,7 +8421,7 @@ type Transaction = {
|
|
|
8415
8421
|
* * `credit` - Credit
|
|
8416
8422
|
* * `debit` - Debit
|
|
8417
8423
|
*/
|
|
8418
|
-
tx_type: 'credit' | 'debit';
|
|
8424
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8419
8425
|
readonly subtype: string | null;
|
|
8420
8426
|
readonly note: string;
|
|
8421
8427
|
readonly metadata: {
|
|
@@ -8428,7 +8434,7 @@ type Transaction = {
|
|
|
8428
8434
|
* * `Complete` - Complete
|
|
8429
8435
|
* * `Failed` - Failed
|
|
8430
8436
|
*/
|
|
8431
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8437
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8432
8438
|
readonly reference: string | null;
|
|
8433
8439
|
readonly amount: number;
|
|
8434
8440
|
readonly fee: number;
|
|
@@ -8471,7 +8477,7 @@ type TransactionCollection = {
|
|
|
8471
8477
|
* * `Complete` - Complete
|
|
8472
8478
|
* * `Failed` - Failed
|
|
8473
8479
|
*/
|
|
8474
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8480
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8475
8481
|
readonly created: number;
|
|
8476
8482
|
readonly updated: number;
|
|
8477
8483
|
};
|
|
@@ -8499,7 +8505,7 @@ type TransactionCollectionTransaction = {
|
|
|
8499
8505
|
* * `credit` - Credit
|
|
8500
8506
|
* * `debit` - Debit
|
|
8501
8507
|
*/
|
|
8502
|
-
tx_type: 'credit' | 'debit';
|
|
8508
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8503
8509
|
readonly subtype: string | null;
|
|
8504
8510
|
readonly note: string;
|
|
8505
8511
|
readonly metadata: {
|
|
@@ -8512,7 +8518,7 @@ type TransactionCollectionTransaction = {
|
|
|
8512
8518
|
* * `Complete` - Complete
|
|
8513
8519
|
* * `Failed` - Failed
|
|
8514
8520
|
*/
|
|
8515
|
-
status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8521
|
+
readonly status: 'Initiating' | 'Quoted' | 'Pending' | 'Complete' | 'Failed';
|
|
8516
8522
|
readonly reference: string | null;
|
|
8517
8523
|
readonly amount: number;
|
|
8518
8524
|
readonly fee: number;
|
|
@@ -8551,7 +8557,7 @@ type TransactionMessage = {
|
|
|
8551
8557
|
* * `warning` - Warning
|
|
8552
8558
|
* * `error` - Error
|
|
8553
8559
|
*/
|
|
8554
|
-
level: 'info' | 'warning' | 'error';
|
|
8560
|
+
readonly level: 'info' | 'warning' | 'error';
|
|
8555
8561
|
message: string;
|
|
8556
8562
|
readonly created: number;
|
|
8557
8563
|
readonly updated: number;
|
|
@@ -8575,14 +8581,14 @@ type TransactionSubtype = {
|
|
|
8575
8581
|
* * `credit` - Credit
|
|
8576
8582
|
* * `debit` - Debit
|
|
8577
8583
|
*/
|
|
8578
|
-
tx_type: 'credit' | 'debit';
|
|
8584
|
+
readonly tx_type: 'credit' | 'debit';
|
|
8579
8585
|
/**
|
|
8580
8586
|
* * `partner` - Partner
|
|
8581
8587
|
* * `single` - Single
|
|
8582
8588
|
*
|
|
8583
8589
|
* @deprecated
|
|
8584
8590
|
*/
|
|
8585
|
-
usage_type: 'partner' | 'single' | null;
|
|
8591
|
+
readonly usage_type: 'partner' | 'single' | null;
|
|
8586
8592
|
partner: ReducedTransactionSubtype;
|
|
8587
8593
|
readonly created: number;
|
|
8588
8594
|
readonly updated: number;
|
|
@@ -8906,7 +8912,7 @@ type UserAddress = {
|
|
|
8906
8912
|
* * `incomplete` - Incomplete
|
|
8907
8913
|
* * `verified` - Verified
|
|
8908
8914
|
*/
|
|
8909
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
8915
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
8910
8916
|
readonly created: number;
|
|
8911
8917
|
readonly updated: number;
|
|
8912
8918
|
};
|
|
@@ -9203,6 +9209,7 @@ type UserBankAccount = {
|
|
|
9203
9209
|
name?: string | null;
|
|
9204
9210
|
number?: string | null;
|
|
9205
9211
|
type?: string | null;
|
|
9212
|
+
payment_method?: string | null;
|
|
9206
9213
|
/**
|
|
9207
9214
|
* * `individual` - Individual
|
|
9208
9215
|
* * `business` - Business
|
|
@@ -9223,6 +9230,7 @@ type UserBankAccount = {
|
|
|
9223
9230
|
check_digit?: string | null;
|
|
9224
9231
|
pix_key?: string | null;
|
|
9225
9232
|
br_code?: string | null;
|
|
9233
|
+
sort_code?: string | null;
|
|
9226
9234
|
readonly code: string | null;
|
|
9227
9235
|
metadata?: {
|
|
9228
9236
|
[key: string]: unknown;
|
|
@@ -9235,14 +9243,14 @@ type UserBankAccount = {
|
|
|
9235
9243
|
* * `incomplete` - Incomplete
|
|
9236
9244
|
* * `verified` - Verified
|
|
9237
9245
|
*/
|
|
9238
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9246
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9239
9247
|
readonly currencies: Array<ReducedAsset>;
|
|
9240
9248
|
readonly account_currencies: Array<ReducedAccountAsset>;
|
|
9241
9249
|
/**
|
|
9242
9250
|
* * `withdraw` - Withdraw
|
|
9243
9251
|
* * `deposit` - Deposit
|
|
9244
9252
|
*/
|
|
9245
|
-
action: 'withdraw' | 'deposit';
|
|
9253
|
+
readonly action: 'withdraw' | 'deposit';
|
|
9246
9254
|
readonly created: number;
|
|
9247
9255
|
readonly updated: number;
|
|
9248
9256
|
};
|
|
@@ -9286,6 +9294,7 @@ type UserBankAccountRequest = {
|
|
|
9286
9294
|
name?: string | null;
|
|
9287
9295
|
number?: string | null;
|
|
9288
9296
|
type?: string | null;
|
|
9297
|
+
payment_method?: string | null;
|
|
9289
9298
|
/**
|
|
9290
9299
|
* * `individual` - Individual
|
|
9291
9300
|
* * `business` - Business
|
|
@@ -9306,6 +9315,7 @@ type UserBankAccountRequest = {
|
|
|
9306
9315
|
check_digit?: string | null;
|
|
9307
9316
|
pix_key?: string | null;
|
|
9308
9317
|
br_code?: string | null;
|
|
9318
|
+
sort_code?: string | null;
|
|
9309
9319
|
metadata?: {
|
|
9310
9320
|
[key: string]: unknown;
|
|
9311
9321
|
} | null;
|
|
@@ -9856,6 +9866,7 @@ type UserCreateBankAccountRequest = {
|
|
|
9856
9866
|
name?: string | null;
|
|
9857
9867
|
number?: string | null;
|
|
9858
9868
|
type?: string | null;
|
|
9869
|
+
payment_method?: string | null;
|
|
9859
9870
|
/**
|
|
9860
9871
|
* * `individual` - Individual
|
|
9861
9872
|
* * `business` - Business
|
|
@@ -9876,6 +9887,7 @@ type UserCreateBankAccountRequest = {
|
|
|
9876
9887
|
check_digit?: string | null;
|
|
9877
9888
|
pix_key?: string | null;
|
|
9878
9889
|
br_code?: string | null;
|
|
9890
|
+
sort_code?: string | null;
|
|
9879
9891
|
metadata?: {
|
|
9880
9892
|
[key: string]: unknown;
|
|
9881
9893
|
} | null;
|
|
@@ -9948,7 +9960,7 @@ type UserDocument = {
|
|
|
9948
9960
|
* * `incomplete` - Incomplete
|
|
9949
9961
|
* * `verified` - Verified
|
|
9950
9962
|
*/
|
|
9951
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9963
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
9952
9964
|
metadata?: {
|
|
9953
9965
|
[key: string]: unknown;
|
|
9954
9966
|
} | null;
|
|
@@ -9999,7 +10011,7 @@ type UserMessage = {
|
|
|
9999
10011
|
* * `warning` - Warning
|
|
10000
10012
|
* * `error` - Error
|
|
10001
10013
|
*/
|
|
10002
|
-
level: 'info' | 'warning' | 'error';
|
|
10014
|
+
readonly level: 'info' | 'warning' | 'error';
|
|
10003
10015
|
message: string;
|
|
10004
10016
|
readonly created: number;
|
|
10005
10017
|
readonly updated: number;
|
|
@@ -10021,12 +10033,13 @@ type UserPermission = {
|
|
|
10021
10033
|
* * `admin` - Admin
|
|
10022
10034
|
* * `user` - User
|
|
10023
10035
|
*/
|
|
10024
|
-
section: 'system' | 'admin' | 'user';
|
|
10036
|
+
readonly section: 'system' | 'admin' | 'user';
|
|
10025
10037
|
/**
|
|
10026
10038
|
* * `accesscontrolrule` - Access Control Rule
|
|
10027
10039
|
* * `account` - Account
|
|
10028
10040
|
* * `accountdefinition` - Account Definition
|
|
10029
10041
|
* * `address` - Address
|
|
10042
|
+
* * `alert` - Alert
|
|
10030
10043
|
* * `currency` - Currency
|
|
10031
10044
|
* * `bankaccount` - Bank Account
|
|
10032
10045
|
* * `company` - Company
|
|
@@ -10051,14 +10064,14 @@ type UserPermission = {
|
|
|
10051
10064
|
* * `user` - User
|
|
10052
10065
|
* * `webhook` - Webhook
|
|
10053
10066
|
*/
|
|
10054
|
-
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';
|
|
10067
|
+
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';
|
|
10055
10068
|
/**
|
|
10056
10069
|
* * `view` - View
|
|
10057
10070
|
* * `add` - Add
|
|
10058
10071
|
* * `change` - Change
|
|
10059
10072
|
* * `delete` - Delete
|
|
10060
10073
|
*/
|
|
10061
|
-
level: 'view' | 'add' | 'change' | 'delete';
|
|
10074
|
+
readonly level: 'view' | 'add' | 'change' | 'delete';
|
|
10062
10075
|
readonly properties: {
|
|
10063
10076
|
[key: string]: unknown;
|
|
10064
10077
|
};
|
|
@@ -10132,14 +10145,14 @@ type UserWalletAccount = {
|
|
|
10132
10145
|
* * `incomplete` - Incomplete
|
|
10133
10146
|
* * `verified` - Verified
|
|
10134
10147
|
*/
|
|
10135
|
-
status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10148
|
+
readonly status: 'obsolete' | 'declined' | 'pending' | 'paused' | 'incomplete' | 'verified';
|
|
10136
10149
|
readonly currencies: Array<ReducedAsset>;
|
|
10137
10150
|
readonly account_currencies: Array<ReducedAccountAsset>;
|
|
10138
10151
|
/**
|
|
10139
10152
|
* * `withdraw` - Withdraw
|
|
10140
10153
|
* * `deposit` - Deposit
|
|
10141
10154
|
*/
|
|
10142
|
-
action: 'withdraw' | 'deposit';
|
|
10155
|
+
readonly action: 'withdraw' | 'deposit';
|
|
10143
10156
|
readonly created: number;
|
|
10144
10157
|
readonly updated: number;
|
|
10145
10158
|
};
|
|
@@ -11227,6 +11240,7 @@ type CompanyBankAccountWritable = {
|
|
|
11227
11240
|
name?: string | null;
|
|
11228
11241
|
number?: string | null;
|
|
11229
11242
|
type?: string | null;
|
|
11243
|
+
payment_method?: string | null;
|
|
11230
11244
|
bank_name?: string | null;
|
|
11231
11245
|
bank_code?: string | null;
|
|
11232
11246
|
bank_currency?: string | null;
|
|
@@ -11240,6 +11254,7 @@ type CompanyBankAccountWritable = {
|
|
|
11240
11254
|
check_digit?: string | null;
|
|
11241
11255
|
pix_key?: string | null;
|
|
11242
11256
|
br_code?: string | null;
|
|
11257
|
+
sort_code?: string | null;
|
|
11243
11258
|
metadata?: {
|
|
11244
11259
|
[key: string]: unknown;
|
|
11245
11260
|
} | null;
|
|
@@ -15245,6 +15260,7 @@ type UserBankAccountWritable = {
|
|
|
15245
15260
|
name?: string | null;
|
|
15246
15261
|
number?: string | null;
|
|
15247
15262
|
type?: string | null;
|
|
15263
|
+
payment_method?: string | null;
|
|
15248
15264
|
/**
|
|
15249
15265
|
* * `individual` - Individual
|
|
15250
15266
|
* * `business` - Business
|
|
@@ -15265,6 +15281,7 @@ type UserBankAccountWritable = {
|
|
|
15265
15281
|
check_digit?: string | null;
|
|
15266
15282
|
pix_key?: string | null;
|
|
15267
15283
|
br_code?: string | null;
|
|
15284
|
+
sort_code?: string | null;
|
|
15268
15285
|
metadata?: {
|
|
15269
15286
|
[key: string]: unknown;
|
|
15270
15287
|
} | null;
|
|
@@ -18565,7 +18582,7 @@ type LoginParams = {
|
|
|
18565
18582
|
user: string;
|
|
18566
18583
|
password: string;
|
|
18567
18584
|
company: string;
|
|
18568
|
-
session_duration?: number;
|
|
18585
|
+
session_duration?: number | null;
|
|
18569
18586
|
};
|
|
18570
18587
|
type RegisterParams = {
|
|
18571
18588
|
email?: string;
|
|
@@ -18577,7 +18594,7 @@ type RegisterParams = {
|
|
|
18577
18594
|
last_name?: string;
|
|
18578
18595
|
terms_and_conditions?: boolean;
|
|
18579
18596
|
privacy_policy?: boolean;
|
|
18580
|
-
session_duration?: number;
|
|
18597
|
+
session_duration?: number | null;
|
|
18581
18598
|
};
|
|
18582
18599
|
type RegisterCompanyParams = RegisterCompanyRequestWritable;
|
|
18583
18600
|
interface AuthConfig {
|