@augustusbank/typescript-sdk 0.20.0 → 0.22.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/client.d.mts +6 -0
- package/client.d.mts.map +1 -1
- package/client.d.ts +6 -0
- package/client.d.ts.map +1 -1
- package/client.js +6 -0
- package/client.js.map +1 -1
- package/client.mjs +6 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-holders.d.mts +1555 -1184
- package/resources/account-holders.d.mts.map +1 -1
- package/resources/account-holders.d.ts +1555 -1184
- package/resources/account-holders.d.ts.map +1 -1
- package/resources/account-holders.js +59 -0
- package/resources/account-holders.js.map +1 -1
- package/resources/account-holders.mjs +59 -0
- package/resources/account-holders.mjs.map +1 -1
- package/resources/account-programs.d.mts +2 -2
- package/resources/account-programs.d.ts +2 -2
- package/resources/accounts.d.mts +206 -43
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +206 -43
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +53 -0
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +53 -0
- package/resources/accounts.mjs.map +1 -1
- package/resources/api-keys.d.mts +1 -1
- package/resources/api-keys.d.mts.map +1 -1
- package/resources/api-keys.d.ts +1 -1
- package/resources/api-keys.d.ts.map +1 -1
- package/resources/api-versions.d.mts +3 -0
- package/resources/api-versions.d.mts.map +1 -1
- package/resources/api-versions.d.ts +3 -0
- package/resources/api-versions.d.ts.map +1 -1
- package/resources/conversions.d.mts +36 -81
- package/resources/conversions.d.mts.map +1 -1
- package/resources/conversions.d.ts +36 -81
- package/resources/conversions.d.ts.map +1 -1
- package/resources/conversions.js +25 -1
- package/resources/conversions.js.map +1 -1
- package/resources/conversions.mjs +25 -1
- package/resources/conversions.mjs.map +1 -1
- package/resources/counterparties.d.mts +1042 -0
- package/resources/counterparties.d.mts.map +1 -0
- package/resources/counterparties.d.ts +1042 -0
- package/resources/counterparties.d.ts.map +1 -0
- package/resources/counterparties.js +45 -0
- package/resources/counterparties.js.map +1 -0
- package/resources/counterparties.mjs +41 -0
- package/resources/counterparties.mjs.map +1 -0
- package/resources/deposits.d.mts +38 -186
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +38 -186
- package/resources/deposits.d.ts.map +1 -1
- package/resources/index.d.mts +2 -0
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +5 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/payouts.d.mts +458 -276
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +458 -276
- package/resources/payouts.d.ts.map +1 -1
- package/resources/payouts.js +27 -0
- package/resources/payouts.js.map +1 -1
- package/resources/payouts.mjs +27 -0
- package/resources/payouts.mjs.map +1 -1
- package/resources/quotes/indicative.d.mts +7 -11
- package/resources/quotes/indicative.d.mts.map +1 -1
- package/resources/quotes/indicative.d.ts +7 -11
- package/resources/quotes/indicative.d.ts.map +1 -1
- package/resources/quotes/quotes.d.mts +4 -8
- package/resources/quotes/quotes.d.mts.map +1 -1
- package/resources/quotes/quotes.d.ts +4 -8
- package/resources/quotes/quotes.d.ts.map +1 -1
- package/resources/quotes/quotes.js.map +1 -1
- package/resources/quotes/quotes.mjs.map +1 -1
- package/resources/returns.d.mts +84 -39
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +84 -39
- package/resources/returns.d.ts.map +1 -1
- package/resources/returns.js +22 -0
- package/resources/returns.js.map +1 -1
- package/resources/returns.mjs +22 -0
- package/resources/returns.mjs.map +1 -1
- package/resources/scopes.d.mts +4 -1
- package/resources/scopes.d.mts.map +1 -1
- package/resources/scopes.d.ts +4 -1
- package/resources/scopes.d.ts.map +1 -1
- package/resources/simulations/account-programs.d.mts +281 -0
- package/resources/simulations/account-programs.d.mts.map +1 -0
- package/resources/simulations/account-programs.d.ts +281 -0
- package/resources/simulations/account-programs.d.ts.map +1 -0
- package/resources/simulations/account-programs.js +98 -0
- package/resources/simulations/account-programs.js.map +1 -0
- package/resources/simulations/account-programs.mjs +94 -0
- package/resources/simulations/account-programs.mjs.map +1 -0
- package/resources/simulations/accounts.d.mts +270 -0
- package/resources/simulations/accounts.d.mts.map +1 -0
- package/resources/simulations/accounts.d.ts +270 -0
- package/resources/simulations/accounts.d.ts.map +1 -0
- package/resources/simulations/accounts.js +91 -0
- package/resources/simulations/accounts.js.map +1 -0
- package/resources/simulations/accounts.mjs +87 -0
- package/resources/simulations/accounts.mjs.map +1 -0
- package/resources/simulations/deposits.d.mts +218 -0
- package/resources/simulations/deposits.d.mts.map +1 -0
- package/resources/simulations/deposits.d.ts +218 -0
- package/resources/simulations/deposits.d.ts.map +1 -0
- package/resources/simulations/deposits.js +25 -0
- package/resources/simulations/deposits.js.map +1 -0
- package/resources/simulations/deposits.mjs +21 -0
- package/resources/simulations/deposits.mjs.map +1 -0
- package/resources/simulations/index.d.mts +6 -0
- package/resources/simulations/index.d.mts.map +1 -0
- package/resources/simulations/index.d.ts +6 -0
- package/resources/simulations/index.d.ts.map +1 -0
- package/resources/simulations/index.js +15 -0
- package/resources/simulations/index.js.map +1 -0
- package/resources/simulations/index.mjs +7 -0
- package/resources/simulations/index.mjs.map +1 -0
- package/resources/simulations/payouts.d.mts +76 -0
- package/resources/simulations/payouts.d.mts.map +1 -0
- package/resources/simulations/payouts.d.ts +76 -0
- package/resources/simulations/payouts.d.ts.map +1 -0
- package/resources/simulations/payouts.js +39 -0
- package/resources/simulations/payouts.js.map +1 -0
- package/resources/simulations/payouts.mjs +35 -0
- package/resources/simulations/payouts.mjs.map +1 -0
- package/resources/simulations/simulations.d.mts +22 -0
- package/resources/simulations/simulations.d.mts.map +1 -0
- package/resources/simulations/simulations.d.ts +22 -0
- package/resources/simulations/simulations.d.ts.map +1 -0
- package/resources/simulations/simulations.js +29 -0
- package/resources/simulations/simulations.js.map +1 -0
- package/resources/simulations/simulations.mjs +24 -0
- package/resources/simulations/simulations.mjs.map +1 -0
- package/resources/simulations.d.mts +2 -0
- package/resources/simulations.d.mts.map +1 -0
- package/resources/simulations.d.ts +2 -0
- package/resources/simulations.d.ts.map +1 -0
- package/resources/simulations.js +6 -0
- package/resources/simulations.js.map +1 -0
- package/resources/simulations.mjs +3 -0
- package/resources/simulations.mjs.map +1 -0
- package/resources/transactions.d.mts +300 -180
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +300 -180
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhook-subscriptions.d.mts +54 -4
- package/resources/webhook-subscriptions.d.mts.map +1 -1
- package/resources/webhook-subscriptions.d.ts +54 -4
- package/resources/webhook-subscriptions.d.ts.map +1 -1
- package/resources/webhook-subscriptions.js +49 -0
- package/resources/webhook-subscriptions.js.map +1 -1
- package/resources/webhook-subscriptions.mjs +49 -0
- package/resources/webhook-subscriptions.mjs.map +1 -1
- package/resources/webhooks.d.mts +736 -953
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +736 -953
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +32 -0
- package/src/resources/account-holders.ts +1701 -1282
- package/src/resources/account-programs.ts +2 -2
- package/src/resources/accounts.ts +236 -44
- package/src/resources/api-keys.ts +3 -0
- package/src/resources/api-versions.ts +3 -0
- package/src/resources/conversions.ts +36 -93
- package/src/resources/counterparties.ts +3127 -0
- package/src/resources/deposits.ts +54 -269
- package/src/resources/index.ts +13 -0
- package/src/resources/payouts.ts +2089 -367
- package/src/resources/quotes/indicative.ts +7 -12
- package/src/resources/quotes/quotes.ts +4 -9
- package/src/resources/returns.ts +144 -40
- package/src/resources/scopes.ts +7 -1
- package/src/resources/simulations/account-programs.ts +363 -0
- package/src/resources/simulations/accounts.ts +340 -0
- package/src/resources/simulations/deposits.ts +530 -0
- package/src/resources/simulations/index.ts +32 -0
- package/src/resources/simulations/payouts.ts +98 -0
- package/src/resources/simulations/simulations.ts +82 -0
- package/src/resources/simulations.ts +3 -0
- package/src/resources/transactions.ts +910 -232
- package/src/resources/webhook-subscriptions.ts +54 -4
- package/src/resources/webhooks.ts +948 -1126
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -34,55 +34,45 @@ export interface DepositRetrieveResponse {
|
|
|
34
34
|
id: string;
|
|
35
35
|
|
|
36
36
|
/**
|
|
37
|
-
*
|
|
37
|
+
* ID of the account that was credited with the deposit.
|
|
38
38
|
*/
|
|
39
|
-
|
|
39
|
+
account_id: string;
|
|
40
40
|
|
|
41
41
|
/**
|
|
42
|
-
*
|
|
42
|
+
* Amount as a string decimal (e.g. "100.50").
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
amount: string;
|
|
45
45
|
|
|
46
46
|
/**
|
|
47
|
-
*
|
|
47
|
+
* ID of the counterparty that sent the money, or null when not known.
|
|
48
48
|
*/
|
|
49
|
-
|
|
49
|
+
counterparty_id: string | null;
|
|
50
50
|
|
|
51
51
|
/**
|
|
52
|
-
*
|
|
52
|
+
* Currency code (ISO 4217 or crypto).
|
|
53
53
|
*/
|
|
54
54
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
*
|
|
58
|
-
*/
|
|
59
|
-
destination_account_id: string;
|
|
60
|
-
|
|
61
|
-
/**
|
|
62
|
-
* Payment rail or blockchain used for the deposit.
|
|
57
|
+
* Payment scheme or blockchain used for the deposit, or null when unknown.
|
|
63
58
|
*/
|
|
64
59
|
rail:
|
|
60
|
+
| 'sepa'
|
|
65
61
|
| 'sepa_instant'
|
|
66
62
|
| 'faster_payments'
|
|
67
|
-
| 'sepa'
|
|
68
|
-
| 'elixir'
|
|
69
|
-
| 'express_elixir'
|
|
70
|
-
| 'sek_account_to_account'
|
|
71
|
-
| 'sumclearing'
|
|
72
|
-
| 'straksclearing'
|
|
73
63
|
| 'swift'
|
|
74
64
|
| 'internal'
|
|
75
65
|
| 'target'
|
|
76
66
|
| 'ach'
|
|
77
67
|
| 'fedwire'
|
|
78
|
-
| '
|
|
79
|
-
| '
|
|
80
|
-
| '
|
|
81
|
-
| '
|
|
82
|
-
| '
|
|
83
|
-
| '
|
|
84
|
-
| '
|
|
85
|
-
| '
|
|
68
|
+
| 'bitcoin'
|
|
69
|
+
| 'bitcoin_testnet4'
|
|
70
|
+
| 'ethereum'
|
|
71
|
+
| 'ethereum_sepolia'
|
|
72
|
+
| 'solana'
|
|
73
|
+
| 'solana_devnet'
|
|
74
|
+
| 'polygon'
|
|
75
|
+
| 'polygon_amoy'
|
|
86
76
|
| null;
|
|
87
77
|
|
|
88
78
|
/**
|
|
@@ -91,21 +81,18 @@ export interface DepositRetrieveResponse {
|
|
|
91
81
|
returns: Array<string>;
|
|
92
82
|
|
|
93
83
|
/**
|
|
94
|
-
*
|
|
84
|
+
* ISO 8601 UTC timestamp when the deposit was settled.
|
|
95
85
|
*/
|
|
96
|
-
|
|
97
|
-
| DepositRetrieveResponse.UnionMember0
|
|
98
|
-
| DepositRetrieveResponse.UnionMember1
|
|
99
|
-
| DepositRetrieveResponse.UnionMember2
|
|
100
|
-
| DepositRetrieveResponse.UnionMember3;
|
|
86
|
+
settled_at: string;
|
|
101
87
|
|
|
102
88
|
/**
|
|
103
89
|
* Current status of the deposit.
|
|
104
90
|
*/
|
|
105
|
-
status: '
|
|
91
|
+
status: 'settled';
|
|
106
92
|
|
|
107
93
|
/**
|
|
108
|
-
* Transaction hash for crypto deposits, or null when not known.
|
|
94
|
+
* Transaction hash for crypto deposits, or null when not known. Only blockchain
|
|
95
|
+
* rails support this field.
|
|
109
96
|
*/
|
|
110
97
|
tx_hash: string | null;
|
|
111
98
|
|
|
@@ -115,102 +102,10 @@ export interface DepositRetrieveResponse {
|
|
|
115
102
|
type: 'deposit';
|
|
116
103
|
|
|
117
104
|
/**
|
|
118
|
-
*
|
|
105
|
+
* Unstructured remittance information attached to the transfer. Not all rails
|
|
106
|
+
* support this field.
|
|
119
107
|
*/
|
|
120
|
-
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
export namespace DepositRetrieveResponse {
|
|
124
|
-
export interface UnionMember0 {
|
|
125
|
-
/**
|
|
126
|
-
* Name of the account holder.
|
|
127
|
-
*/
|
|
128
|
-
account_holder_name: string;
|
|
129
|
-
|
|
130
|
-
/**
|
|
131
|
-
* Bank Identifier Code, or null if not provided.
|
|
132
|
-
*/
|
|
133
|
-
bic: string | null;
|
|
134
|
-
|
|
135
|
-
/**
|
|
136
|
-
* International Bank Account Number.
|
|
137
|
-
*/
|
|
138
|
-
iban: string;
|
|
139
|
-
|
|
140
|
-
/**
|
|
141
|
-
* Discriminator for IBAN source.
|
|
142
|
-
*/
|
|
143
|
-
type: 'iban';
|
|
144
|
-
}
|
|
145
|
-
|
|
146
|
-
export interface UnionMember1 {
|
|
147
|
-
/**
|
|
148
|
-
* Name of the account holder.
|
|
149
|
-
*/
|
|
150
|
-
account_holder_name: string;
|
|
151
|
-
|
|
152
|
-
/**
|
|
153
|
-
* UK account number (8 digits).
|
|
154
|
-
*/
|
|
155
|
-
account_number: string;
|
|
156
|
-
|
|
157
|
-
/**
|
|
158
|
-
* UK sort code (6 digits).
|
|
159
|
-
*/
|
|
160
|
-
sort_code: string;
|
|
161
|
-
|
|
162
|
-
/**
|
|
163
|
-
* Discriminator for UK sort code source.
|
|
164
|
-
*/
|
|
165
|
-
type: 'sort_code';
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
export interface UnionMember2 {
|
|
169
|
-
/**
|
|
170
|
-
* Name of the account holder.
|
|
171
|
-
*/
|
|
172
|
-
account_holder_name: string;
|
|
173
|
-
|
|
174
|
-
/**
|
|
175
|
-
* Bank account number.
|
|
176
|
-
*/
|
|
177
|
-
account_number: string;
|
|
178
|
-
|
|
179
|
-
/**
|
|
180
|
-
* ABA routing number (9 digits).
|
|
181
|
-
*/
|
|
182
|
-
routing_number: string;
|
|
183
|
-
|
|
184
|
-
/**
|
|
185
|
-
* Discriminator for ABA wire source.
|
|
186
|
-
*/
|
|
187
|
-
type: 'aba';
|
|
188
|
-
}
|
|
189
|
-
|
|
190
|
-
export interface UnionMember3 {
|
|
191
|
-
/**
|
|
192
|
-
* Wallet address on the specified blockchain.
|
|
193
|
-
*/
|
|
194
|
-
address: string;
|
|
195
|
-
|
|
196
|
-
/**
|
|
197
|
-
* Blockchain network for the crypto wallet.
|
|
198
|
-
*/
|
|
199
|
-
blockchain:
|
|
200
|
-
| 'bitcoin'
|
|
201
|
-
| 'ethereum'
|
|
202
|
-
| 'solana'
|
|
203
|
-
| 'polygon'
|
|
204
|
-
| 'bitcoin_testnet4'
|
|
205
|
-
| 'ethereum_sepolia'
|
|
206
|
-
| 'solana_devnet'
|
|
207
|
-
| 'polygon_amoy';
|
|
208
|
-
|
|
209
|
-
/**
|
|
210
|
-
* Discriminator for crypto wallet source.
|
|
211
|
-
*/
|
|
212
|
-
type: 'crypto_wallet';
|
|
213
|
-
}
|
|
108
|
+
unstructured_remittance_information: string | null;
|
|
214
109
|
}
|
|
215
110
|
|
|
216
111
|
export interface DepositListResponse {
|
|
@@ -220,55 +115,45 @@ export interface DepositListResponse {
|
|
|
220
115
|
id: string;
|
|
221
116
|
|
|
222
117
|
/**
|
|
223
|
-
*
|
|
118
|
+
* ID of the account that was credited with the deposit.
|
|
224
119
|
*/
|
|
225
|
-
|
|
120
|
+
account_id: string;
|
|
226
121
|
|
|
227
122
|
/**
|
|
228
|
-
*
|
|
123
|
+
* Amount as a string decimal (e.g. "100.50").
|
|
229
124
|
*/
|
|
230
|
-
|
|
125
|
+
amount: string;
|
|
231
126
|
|
|
232
127
|
/**
|
|
233
|
-
*
|
|
128
|
+
* ID of the counterparty that sent the money, or null when not known.
|
|
234
129
|
*/
|
|
235
|
-
|
|
130
|
+
counterparty_id: string | null;
|
|
236
131
|
|
|
237
132
|
/**
|
|
238
|
-
*
|
|
133
|
+
* Currency code (ISO 4217 or crypto).
|
|
239
134
|
*/
|
|
240
135
|
currency: 'EUR' | 'GBP' | 'USD' | 'USDC';
|
|
241
136
|
|
|
242
137
|
/**
|
|
243
|
-
*
|
|
244
|
-
*/
|
|
245
|
-
destination_account_id: string;
|
|
246
|
-
|
|
247
|
-
/**
|
|
248
|
-
* Payment rail or blockchain used for the deposit.
|
|
138
|
+
* Payment scheme or blockchain used for the deposit, or null when unknown.
|
|
249
139
|
*/
|
|
250
140
|
rail:
|
|
141
|
+
| 'sepa'
|
|
251
142
|
| 'sepa_instant'
|
|
252
143
|
| 'faster_payments'
|
|
253
|
-
| 'sepa'
|
|
254
|
-
| 'elixir'
|
|
255
|
-
| 'express_elixir'
|
|
256
|
-
| 'sek_account_to_account'
|
|
257
|
-
| 'sumclearing'
|
|
258
|
-
| 'straksclearing'
|
|
259
144
|
| 'swift'
|
|
260
145
|
| 'internal'
|
|
261
146
|
| 'target'
|
|
262
147
|
| 'ach'
|
|
263
148
|
| 'fedwire'
|
|
264
|
-
| '
|
|
265
|
-
| '
|
|
266
|
-
| '
|
|
267
|
-
| '
|
|
268
|
-
| '
|
|
269
|
-
| '
|
|
270
|
-
| '
|
|
271
|
-
| '
|
|
149
|
+
| 'bitcoin'
|
|
150
|
+
| 'bitcoin_testnet4'
|
|
151
|
+
| 'ethereum'
|
|
152
|
+
| 'ethereum_sepolia'
|
|
153
|
+
| 'solana'
|
|
154
|
+
| 'solana_devnet'
|
|
155
|
+
| 'polygon'
|
|
156
|
+
| 'polygon_amoy'
|
|
272
157
|
| null;
|
|
273
158
|
|
|
274
159
|
/**
|
|
@@ -277,21 +162,18 @@ export interface DepositListResponse {
|
|
|
277
162
|
returns: Array<string>;
|
|
278
163
|
|
|
279
164
|
/**
|
|
280
|
-
*
|
|
165
|
+
* ISO 8601 UTC timestamp when the deposit was settled.
|
|
281
166
|
*/
|
|
282
|
-
|
|
283
|
-
| DepositListResponse.UnionMember0
|
|
284
|
-
| DepositListResponse.UnionMember1
|
|
285
|
-
| DepositListResponse.UnionMember2
|
|
286
|
-
| DepositListResponse.UnionMember3;
|
|
167
|
+
settled_at: string;
|
|
287
168
|
|
|
288
169
|
/**
|
|
289
170
|
* Current status of the deposit.
|
|
290
171
|
*/
|
|
291
|
-
status: '
|
|
172
|
+
status: 'settled';
|
|
292
173
|
|
|
293
174
|
/**
|
|
294
|
-
* Transaction hash for crypto deposits, or null when not known.
|
|
175
|
+
* Transaction hash for crypto deposits, or null when not known. Only blockchain
|
|
176
|
+
* rails support this field.
|
|
295
177
|
*/
|
|
296
178
|
tx_hash: string | null;
|
|
297
179
|
|
|
@@ -301,123 +183,26 @@ export interface DepositListResponse {
|
|
|
301
183
|
type: 'deposit';
|
|
302
184
|
|
|
303
185
|
/**
|
|
304
|
-
*
|
|
186
|
+
* Unstructured remittance information attached to the transfer. Not all rails
|
|
187
|
+
* support this field.
|
|
305
188
|
*/
|
|
306
|
-
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
export namespace DepositListResponse {
|
|
310
|
-
export interface UnionMember0 {
|
|
311
|
-
/**
|
|
312
|
-
* Name of the account holder.
|
|
313
|
-
*/
|
|
314
|
-
account_holder_name: string;
|
|
315
|
-
|
|
316
|
-
/**
|
|
317
|
-
* Bank Identifier Code, or null if not provided.
|
|
318
|
-
*/
|
|
319
|
-
bic: string | null;
|
|
320
|
-
|
|
321
|
-
/**
|
|
322
|
-
* International Bank Account Number.
|
|
323
|
-
*/
|
|
324
|
-
iban: string;
|
|
325
|
-
|
|
326
|
-
/**
|
|
327
|
-
* Discriminator for IBAN source.
|
|
328
|
-
*/
|
|
329
|
-
type: 'iban';
|
|
330
|
-
}
|
|
331
|
-
|
|
332
|
-
export interface UnionMember1 {
|
|
333
|
-
/**
|
|
334
|
-
* Name of the account holder.
|
|
335
|
-
*/
|
|
336
|
-
account_holder_name: string;
|
|
337
|
-
|
|
338
|
-
/**
|
|
339
|
-
* UK account number (8 digits).
|
|
340
|
-
*/
|
|
341
|
-
account_number: string;
|
|
342
|
-
|
|
343
|
-
/**
|
|
344
|
-
* UK sort code (6 digits).
|
|
345
|
-
*/
|
|
346
|
-
sort_code: string;
|
|
347
|
-
|
|
348
|
-
/**
|
|
349
|
-
* Discriminator for UK sort code source.
|
|
350
|
-
*/
|
|
351
|
-
type: 'sort_code';
|
|
352
|
-
}
|
|
353
|
-
|
|
354
|
-
export interface UnionMember2 {
|
|
355
|
-
/**
|
|
356
|
-
* Name of the account holder.
|
|
357
|
-
*/
|
|
358
|
-
account_holder_name: string;
|
|
359
|
-
|
|
360
|
-
/**
|
|
361
|
-
* Bank account number.
|
|
362
|
-
*/
|
|
363
|
-
account_number: string;
|
|
364
|
-
|
|
365
|
-
/**
|
|
366
|
-
* ABA routing number (9 digits).
|
|
367
|
-
*/
|
|
368
|
-
routing_number: string;
|
|
369
|
-
|
|
370
|
-
/**
|
|
371
|
-
* Discriminator for ABA wire source.
|
|
372
|
-
*/
|
|
373
|
-
type: 'aba';
|
|
374
|
-
}
|
|
375
|
-
|
|
376
|
-
export interface UnionMember3 {
|
|
377
|
-
/**
|
|
378
|
-
* Wallet address on the specified blockchain.
|
|
379
|
-
*/
|
|
380
|
-
address: string;
|
|
381
|
-
|
|
382
|
-
/**
|
|
383
|
-
* Blockchain network for the crypto wallet.
|
|
384
|
-
*/
|
|
385
|
-
blockchain:
|
|
386
|
-
| 'bitcoin'
|
|
387
|
-
| 'ethereum'
|
|
388
|
-
| 'solana'
|
|
389
|
-
| 'polygon'
|
|
390
|
-
| 'bitcoin_testnet4'
|
|
391
|
-
| 'ethereum_sepolia'
|
|
392
|
-
| 'solana_devnet'
|
|
393
|
-
| 'polygon_amoy';
|
|
394
|
-
|
|
395
|
-
/**
|
|
396
|
-
* Discriminator for crypto wallet source.
|
|
397
|
-
*/
|
|
398
|
-
type: 'crypto_wallet';
|
|
399
|
-
}
|
|
189
|
+
unstructured_remittance_information: string | null;
|
|
400
190
|
}
|
|
401
191
|
|
|
402
192
|
export interface DepositListParams extends CursorPageParams {
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
/**
|
|
406
|
-
* Filter by deposit status.
|
|
407
|
-
*/
|
|
408
|
-
status?: 'received' | 'in_return' | 'returned' | 'return_failed' | 'return_returned';
|
|
193
|
+
settled_at?: DepositListParams.SettledAt;
|
|
409
194
|
}
|
|
410
195
|
|
|
411
196
|
export namespace DepositListParams {
|
|
412
|
-
export interface
|
|
197
|
+
export interface SettledAt {
|
|
413
198
|
/**
|
|
414
|
-
* Include deposits whose
|
|
199
|
+
* Include deposits whose settled_at is greater than or equal to this ISO 8601
|
|
415
200
|
* timestamp.
|
|
416
201
|
*/
|
|
417
202
|
gte?: string;
|
|
418
203
|
|
|
419
204
|
/**
|
|
420
|
-
* Include deposits whose
|
|
205
|
+
* Include deposits whose settled_at is less than or equal to this ISO 8601
|
|
421
206
|
* timestamp.
|
|
422
207
|
*/
|
|
423
208
|
lte?: string;
|
package/src/resources/index.ts
CHANGED
|
@@ -44,6 +44,18 @@ export {
|
|
|
44
44
|
type ConversionListParams,
|
|
45
45
|
type ConversionListResponsesCursorPage,
|
|
46
46
|
} from './conversions';
|
|
47
|
+
export {
|
|
48
|
+
Counterparties,
|
|
49
|
+
type CounterpartyCreateResponse,
|
|
50
|
+
type CounterpartyRetrieveResponse,
|
|
51
|
+
type CounterpartyUpdateResponse,
|
|
52
|
+
type CounterpartyListResponse,
|
|
53
|
+
type CounterpartyBlockResponse,
|
|
54
|
+
type CounterpartyCreateParams,
|
|
55
|
+
type CounterpartyUpdateParams,
|
|
56
|
+
type CounterpartyListParams,
|
|
57
|
+
type CounterpartyListResponsesCursorPage,
|
|
58
|
+
} from './counterparties';
|
|
47
59
|
export {
|
|
48
60
|
Deposits,
|
|
49
61
|
type DepositRetrieveResponse,
|
|
@@ -78,6 +90,7 @@ export {
|
|
|
78
90
|
type ReturnListResponsesCursorPage,
|
|
79
91
|
} from './returns';
|
|
80
92
|
export { Scopes, type ScopeListResponse } from './scopes';
|
|
93
|
+
export { Simulations } from './simulations/simulations';
|
|
81
94
|
export {
|
|
82
95
|
Transactions,
|
|
83
96
|
type TransactionRetrieveResponse,
|