@augustusbank/typescript-sdk 0.15.0 → 0.17.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 +3 -3
- package/client.d.mts.map +1 -1
- package/client.d.ts +3 -3
- package/client.d.ts.map +1 -1
- package/client.js +3 -3
- package/client.js.map +1 -1
- package/client.mjs +3 -3
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +13 -13
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +13 -13
- package/resources/accounts.d.ts.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/conversions.d.mts +8 -8
- package/resources/conversions.d.mts.map +1 -1
- package/resources/conversions.d.ts +8 -8
- package/resources/conversions.d.ts.map +1 -1
- package/resources/deposits.d.mts +2 -2
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +2 -2
- package/resources/deposits.d.ts.map +1 -1
- package/resources/index.d.mts +1 -1
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/payouts.d.mts +5 -5
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +5 -5
- package/resources/payouts.d.ts.map +1 -1
- package/resources/quotes/indicative.d.mts +5 -5
- package/resources/quotes/indicative.d.mts.map +1 -1
- package/resources/quotes/indicative.d.ts +5 -5
- package/resources/quotes/indicative.d.ts.map +1 -1
- package/resources/quotes/quotes.d.mts +2 -2
- package/resources/quotes/quotes.d.mts.map +1 -1
- package/resources/quotes/quotes.d.ts +2 -2
- package/resources/quotes/quotes.d.ts.map +1 -1
- package/resources/returns.d.mts +3 -3
- package/resources/returns.d.mts.map +1 -1
- package/resources/returns.d.ts +3 -3
- package/resources/returns.d.ts.map +1 -1
- package/resources/scopes.d.mts +1 -1
- package/resources/scopes.d.mts.map +1 -1
- package/resources/scopes.d.ts +1 -1
- package/resources/scopes.d.ts.map +1 -1
- package/resources/transactions.d.mts +298 -0
- package/resources/transactions.d.mts.map +1 -0
- package/resources/transactions.d.ts +298 -0
- package/resources/transactions.d.ts.map +1 -0
- package/resources/transactions.js +26 -0
- package/resources/transactions.js.map +1 -0
- package/resources/transactions.mjs +22 -0
- package/resources/transactions.mjs.map +1 -0
- package/resources/webhooks.d.mts +15 -15
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +15 -15
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +17 -13
- package/src/resources/accounts.ts +13 -13
- package/src/resources/api-keys.ts +1 -1
- package/src/resources/conversions.ts +8 -8
- package/src/resources/deposits.ts +2 -2
- package/src/resources/index.ts +7 -5
- package/src/resources/payouts.ts +5 -5
- package/src/resources/quotes/indicative.ts +5 -5
- package/src/resources/quotes/quotes.ts +2 -2
- package/src/resources/returns.ts +3 -3
- package/src/resources/scopes.ts +2 -2
- package/src/resources/transactions.ts +405 -0
- package/src/resources/webhooks.ts +15 -15
- 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
- package/resources/account-openings.d.mts +0 -204
- package/resources/account-openings.d.mts.map +0 -1
- package/resources/account-openings.d.ts +0 -204
- package/resources/account-openings.d.ts.map +0 -1
- package/resources/account-openings.js +0 -16
- package/resources/account-openings.js.map +0 -1
- package/resources/account-openings.mjs +0 -12
- package/resources/account-openings.mjs.map +0 -1
- package/src/resources/account-openings.ts +0 -1016
package/src/resources/returns.ts
CHANGED
|
@@ -53,7 +53,7 @@ export interface ReturnCreateResponse {
|
|
|
53
53
|
/**
|
|
54
54
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
55
55
|
*/
|
|
56
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
56
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
57
57
|
|
|
58
58
|
/**
|
|
59
59
|
* ID of the parent deposit.
|
|
@@ -136,7 +136,7 @@ export interface ReturnRetrieveResponse {
|
|
|
136
136
|
/**
|
|
137
137
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
138
138
|
*/
|
|
139
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
139
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
140
140
|
|
|
141
141
|
/**
|
|
142
142
|
* ID of the parent deposit.
|
|
@@ -219,7 +219,7 @@ export interface ReturnListResponse {
|
|
|
219
219
|
/**
|
|
220
220
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
221
221
|
*/
|
|
222
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
222
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
223
223
|
|
|
224
224
|
/**
|
|
225
225
|
* ID of the parent deposit.
|
package/src/resources/scopes.ts
CHANGED
|
@@ -39,13 +39,13 @@ export namespace ScopeListResponse {
|
|
|
39
39
|
| 'quotes:read'
|
|
40
40
|
| 'accounts:read'
|
|
41
41
|
| 'accounts:write'
|
|
42
|
-
| 'account_openings:write'
|
|
43
42
|
| 'account_programs:read'
|
|
44
43
|
| 'webhook_subscriptions:read'
|
|
45
44
|
| 'webhook_subscriptions:write'
|
|
46
45
|
| 'events:read'
|
|
47
46
|
| 'webhook_deliveries:read'
|
|
48
|
-
| 'webhook_deliveries:write'
|
|
47
|
+
| 'webhook_deliveries:write'
|
|
48
|
+
| 'transactions:read';
|
|
49
49
|
|
|
50
50
|
/**
|
|
51
51
|
* Action category.
|
|
@@ -0,0 +1,405 @@
|
|
|
1
|
+
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
+
|
|
3
|
+
import { APIResource } from '../core/resource';
|
|
4
|
+
import { APIPromise } from '../core/api-promise';
|
|
5
|
+
import { CursorPage, type CursorPageParams, PagePromise } from '../core/pagination';
|
|
6
|
+
import { RequestOptions } from '../internal/request-options';
|
|
7
|
+
import { path } from '../internal/utils/path';
|
|
8
|
+
|
|
9
|
+
export class Transactions extends APIResource {
|
|
10
|
+
/**
|
|
11
|
+
* Retrieves a transaction by ID.
|
|
12
|
+
*/
|
|
13
|
+
retrieve(id: string, options?: RequestOptions): APIPromise<TransactionRetrieveResponse> {
|
|
14
|
+
return this._client.get(path`/v1/transactions/${id}`, options);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Lists transactions for an account with cursor-based pagination.
|
|
19
|
+
*/
|
|
20
|
+
list(
|
|
21
|
+
query: TransactionListParams,
|
|
22
|
+
options?: RequestOptions,
|
|
23
|
+
): PagePromise<TransactionListResponsesCursorPage, TransactionListResponse> {
|
|
24
|
+
return this._client.getAPIList('/v1/transactions', CursorPage<TransactionListResponse>, {
|
|
25
|
+
query,
|
|
26
|
+
...options,
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export type TransactionListResponsesCursorPage = CursorPage<TransactionListResponse>;
|
|
32
|
+
|
|
33
|
+
export interface TransactionRetrieveResponse {
|
|
34
|
+
/**
|
|
35
|
+
* Unique identifier of the transaction.
|
|
36
|
+
*/
|
|
37
|
+
id: string;
|
|
38
|
+
|
|
39
|
+
/**
|
|
40
|
+
* ID of the merchant account this transaction settled on.
|
|
41
|
+
*/
|
|
42
|
+
account_id: string;
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Absolute amount as a string decimal (e.g. "100.50").
|
|
46
|
+
*/
|
|
47
|
+
amount: string;
|
|
48
|
+
|
|
49
|
+
/**
|
|
50
|
+
* Reference visible on the bank statement, or null when not applicable.
|
|
51
|
+
*/
|
|
52
|
+
bank_statement_reference: string | null;
|
|
53
|
+
|
|
54
|
+
/**
|
|
55
|
+
* Bank account or wallet of the other party, or null when not known.
|
|
56
|
+
*/
|
|
57
|
+
counterparty:
|
|
58
|
+
| TransactionRetrieveResponse.UnionMember0
|
|
59
|
+
| TransactionRetrieveResponse.UnionMember1
|
|
60
|
+
| TransactionRetrieveResponse.UnionMember2
|
|
61
|
+
| TransactionRetrieveResponse.UnionMember3
|
|
62
|
+
| null;
|
|
63
|
+
|
|
64
|
+
/**
|
|
65
|
+
* ISO 8601 UTC timestamp when the transaction was recorded.
|
|
66
|
+
*/
|
|
67
|
+
created_at: string;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* ISO 4217 fiat or crypto currency code of the amount.
|
|
71
|
+
*/
|
|
72
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* The product that caused this transaction, or null when no product is linked.
|
|
76
|
+
*/
|
|
77
|
+
product: TransactionRetrieveResponse.Product | null;
|
|
78
|
+
|
|
79
|
+
/**
|
|
80
|
+
* Direction of the movement relative to the merchant account.
|
|
81
|
+
*/
|
|
82
|
+
side: 'credit' | 'debit';
|
|
83
|
+
|
|
84
|
+
/**
|
|
85
|
+
* Lifecycle state of the transaction.
|
|
86
|
+
*/
|
|
87
|
+
status: 'pending' | 'completed' | 'failed';
|
|
88
|
+
|
|
89
|
+
/**
|
|
90
|
+
* Resource type discriminator.
|
|
91
|
+
*/
|
|
92
|
+
type: 'transaction';
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
export namespace TransactionRetrieveResponse {
|
|
96
|
+
export interface UnionMember0 {
|
|
97
|
+
/**
|
|
98
|
+
* Name of the account holder.
|
|
99
|
+
*/
|
|
100
|
+
account_holder_name: string;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* Bank Identifier Code, or null if not provided.
|
|
104
|
+
*/
|
|
105
|
+
bic: string | null;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* International Bank Account Number.
|
|
109
|
+
*/
|
|
110
|
+
iban: string;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* Discriminator for IBAN financial address.
|
|
114
|
+
*/
|
|
115
|
+
type: 'iban';
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export interface UnionMember1 {
|
|
119
|
+
/**
|
|
120
|
+
* Name of the account holder.
|
|
121
|
+
*/
|
|
122
|
+
account_holder_name: string;
|
|
123
|
+
|
|
124
|
+
/**
|
|
125
|
+
* UK account number (8 digits).
|
|
126
|
+
*/
|
|
127
|
+
account_number: string;
|
|
128
|
+
|
|
129
|
+
/**
|
|
130
|
+
* UK sort code (6 digits).
|
|
131
|
+
*/
|
|
132
|
+
sort_code: string;
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Discriminator for UK sort code financial address.
|
|
136
|
+
*/
|
|
137
|
+
type: 'sort_code';
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
export interface UnionMember2 {
|
|
141
|
+
/**
|
|
142
|
+
* Name of the account holder.
|
|
143
|
+
*/
|
|
144
|
+
account_holder_name: string;
|
|
145
|
+
|
|
146
|
+
/**
|
|
147
|
+
* Bank account number.
|
|
148
|
+
*/
|
|
149
|
+
account_number: string;
|
|
150
|
+
|
|
151
|
+
/**
|
|
152
|
+
* ABA routing number (9 digits).
|
|
153
|
+
*/
|
|
154
|
+
routing_number: string;
|
|
155
|
+
|
|
156
|
+
/**
|
|
157
|
+
* Discriminator for ABA wire financial address.
|
|
158
|
+
*/
|
|
159
|
+
type: 'aba';
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
export interface UnionMember3 {
|
|
163
|
+
/**
|
|
164
|
+
* Wallet address on the specified blockchain.
|
|
165
|
+
*/
|
|
166
|
+
address: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* Blockchain network for the crypto wallet.
|
|
170
|
+
*/
|
|
171
|
+
blockchain:
|
|
172
|
+
| 'bitcoin'
|
|
173
|
+
| 'ethereum'
|
|
174
|
+
| 'solana'
|
|
175
|
+
| 'polygon'
|
|
176
|
+
| 'bitcoin_testnet4'
|
|
177
|
+
| 'ethereum_sepolia'
|
|
178
|
+
| 'solana_devnet'
|
|
179
|
+
| 'polygon_amoy';
|
|
180
|
+
|
|
181
|
+
/**
|
|
182
|
+
* Discriminator for crypto wallet financial address.
|
|
183
|
+
*/
|
|
184
|
+
type: 'crypto_wallet';
|
|
185
|
+
}
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* The product that caused this transaction, or null when no product is linked.
|
|
189
|
+
*/
|
|
190
|
+
export interface Product {
|
|
191
|
+
/**
|
|
192
|
+
* Identifier of the product resource that caused this transaction.
|
|
193
|
+
*/
|
|
194
|
+
id: string;
|
|
195
|
+
|
|
196
|
+
/**
|
|
197
|
+
* Type of the product that caused this transaction.
|
|
198
|
+
*/
|
|
199
|
+
type: 'deposit' | 'deposit_return' | 'refund' | 'payout';
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
export interface TransactionListResponse {
|
|
204
|
+
/**
|
|
205
|
+
* Unique identifier of the transaction.
|
|
206
|
+
*/
|
|
207
|
+
id: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* ID of the merchant account this transaction settled on.
|
|
211
|
+
*/
|
|
212
|
+
account_id: string;
|
|
213
|
+
|
|
214
|
+
/**
|
|
215
|
+
* Absolute amount as a string decimal (e.g. "100.50").
|
|
216
|
+
*/
|
|
217
|
+
amount: string;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* Reference visible on the bank statement, or null when not applicable.
|
|
221
|
+
*/
|
|
222
|
+
bank_statement_reference: string | null;
|
|
223
|
+
|
|
224
|
+
/**
|
|
225
|
+
* Bank account or wallet of the other party, or null when not known.
|
|
226
|
+
*/
|
|
227
|
+
counterparty:
|
|
228
|
+
| TransactionListResponse.UnionMember0
|
|
229
|
+
| TransactionListResponse.UnionMember1
|
|
230
|
+
| TransactionListResponse.UnionMember2
|
|
231
|
+
| TransactionListResponse.UnionMember3
|
|
232
|
+
| null;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* ISO 8601 UTC timestamp when the transaction was recorded.
|
|
236
|
+
*/
|
|
237
|
+
created_at: string;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* ISO 4217 fiat or crypto currency code of the amount.
|
|
241
|
+
*/
|
|
242
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
243
|
+
|
|
244
|
+
/**
|
|
245
|
+
* The product that caused this transaction, or null when no product is linked.
|
|
246
|
+
*/
|
|
247
|
+
product: TransactionListResponse.Product | null;
|
|
248
|
+
|
|
249
|
+
/**
|
|
250
|
+
* Direction of the movement relative to the merchant account.
|
|
251
|
+
*/
|
|
252
|
+
side: 'credit' | 'debit';
|
|
253
|
+
|
|
254
|
+
/**
|
|
255
|
+
* Lifecycle state of the transaction.
|
|
256
|
+
*/
|
|
257
|
+
status: 'pending' | 'completed' | 'failed';
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* Resource type discriminator.
|
|
261
|
+
*/
|
|
262
|
+
type: 'transaction';
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
export namespace TransactionListResponse {
|
|
266
|
+
export interface UnionMember0 {
|
|
267
|
+
/**
|
|
268
|
+
* Name of the account holder.
|
|
269
|
+
*/
|
|
270
|
+
account_holder_name: string;
|
|
271
|
+
|
|
272
|
+
/**
|
|
273
|
+
* Bank Identifier Code, or null if not provided.
|
|
274
|
+
*/
|
|
275
|
+
bic: string | null;
|
|
276
|
+
|
|
277
|
+
/**
|
|
278
|
+
* International Bank Account Number.
|
|
279
|
+
*/
|
|
280
|
+
iban: string;
|
|
281
|
+
|
|
282
|
+
/**
|
|
283
|
+
* Discriminator for IBAN financial address.
|
|
284
|
+
*/
|
|
285
|
+
type: 'iban';
|
|
286
|
+
}
|
|
287
|
+
|
|
288
|
+
export interface UnionMember1 {
|
|
289
|
+
/**
|
|
290
|
+
* Name of the account holder.
|
|
291
|
+
*/
|
|
292
|
+
account_holder_name: string;
|
|
293
|
+
|
|
294
|
+
/**
|
|
295
|
+
* UK account number (8 digits).
|
|
296
|
+
*/
|
|
297
|
+
account_number: string;
|
|
298
|
+
|
|
299
|
+
/**
|
|
300
|
+
* UK sort code (6 digits).
|
|
301
|
+
*/
|
|
302
|
+
sort_code: string;
|
|
303
|
+
|
|
304
|
+
/**
|
|
305
|
+
* Discriminator for UK sort code financial address.
|
|
306
|
+
*/
|
|
307
|
+
type: 'sort_code';
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export interface UnionMember2 {
|
|
311
|
+
/**
|
|
312
|
+
* Name of the account holder.
|
|
313
|
+
*/
|
|
314
|
+
account_holder_name: string;
|
|
315
|
+
|
|
316
|
+
/**
|
|
317
|
+
* Bank account number.
|
|
318
|
+
*/
|
|
319
|
+
account_number: string;
|
|
320
|
+
|
|
321
|
+
/**
|
|
322
|
+
* ABA routing number (9 digits).
|
|
323
|
+
*/
|
|
324
|
+
routing_number: string;
|
|
325
|
+
|
|
326
|
+
/**
|
|
327
|
+
* Discriminator for ABA wire financial address.
|
|
328
|
+
*/
|
|
329
|
+
type: 'aba';
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
export interface UnionMember3 {
|
|
333
|
+
/**
|
|
334
|
+
* Wallet address on the specified blockchain.
|
|
335
|
+
*/
|
|
336
|
+
address: string;
|
|
337
|
+
|
|
338
|
+
/**
|
|
339
|
+
* Blockchain network for the crypto wallet.
|
|
340
|
+
*/
|
|
341
|
+
blockchain:
|
|
342
|
+
| 'bitcoin'
|
|
343
|
+
| 'ethereum'
|
|
344
|
+
| 'solana'
|
|
345
|
+
| 'polygon'
|
|
346
|
+
| 'bitcoin_testnet4'
|
|
347
|
+
| 'ethereum_sepolia'
|
|
348
|
+
| 'solana_devnet'
|
|
349
|
+
| 'polygon_amoy';
|
|
350
|
+
|
|
351
|
+
/**
|
|
352
|
+
* Discriminator for crypto wallet financial address.
|
|
353
|
+
*/
|
|
354
|
+
type: 'crypto_wallet';
|
|
355
|
+
}
|
|
356
|
+
|
|
357
|
+
/**
|
|
358
|
+
* The product that caused this transaction, or null when no product is linked.
|
|
359
|
+
*/
|
|
360
|
+
export interface Product {
|
|
361
|
+
/**
|
|
362
|
+
* Identifier of the product resource that caused this transaction.
|
|
363
|
+
*/
|
|
364
|
+
id: string;
|
|
365
|
+
|
|
366
|
+
/**
|
|
367
|
+
* Type of the product that caused this transaction.
|
|
368
|
+
*/
|
|
369
|
+
type: 'deposit' | 'deposit_return' | 'refund' | 'payout';
|
|
370
|
+
}
|
|
371
|
+
}
|
|
372
|
+
|
|
373
|
+
export interface TransactionListParams extends CursorPageParams {
|
|
374
|
+
/**
|
|
375
|
+
* Account to list transactions for.
|
|
376
|
+
*/
|
|
377
|
+
account_id: string;
|
|
378
|
+
|
|
379
|
+
created_at?: TransactionListParams.CreatedAt;
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
export namespace TransactionListParams {
|
|
383
|
+
export interface CreatedAt {
|
|
384
|
+
/**
|
|
385
|
+
* Include transactions whose created_at is greater than or equal to this ISO 8601
|
|
386
|
+
* timestamp.
|
|
387
|
+
*/
|
|
388
|
+
gte?: string;
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Include transactions whose created_at is less than or equal to this ISO 8601
|
|
392
|
+
* timestamp.
|
|
393
|
+
*/
|
|
394
|
+
lte?: string;
|
|
395
|
+
}
|
|
396
|
+
}
|
|
397
|
+
|
|
398
|
+
export declare namespace Transactions {
|
|
399
|
+
export {
|
|
400
|
+
type TransactionRetrieveResponse as TransactionRetrieveResponse,
|
|
401
|
+
type TransactionListResponse as TransactionListResponse,
|
|
402
|
+
type TransactionListResponsesCursorPage as TransactionListResponsesCursorPage,
|
|
403
|
+
type TransactionListParams as TransactionListParams,
|
|
404
|
+
};
|
|
405
|
+
}
|
|
@@ -68,7 +68,7 @@ export namespace PayoutCreatedWebhookEvent {
|
|
|
68
68
|
/**
|
|
69
69
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
70
70
|
*/
|
|
71
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
71
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
72
72
|
|
|
73
73
|
/**
|
|
74
74
|
* Bank account or crypto wallet the payout was sent to.
|
|
@@ -289,7 +289,7 @@ export namespace PayoutInitiatedWebhookEvent {
|
|
|
289
289
|
/**
|
|
290
290
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
291
291
|
*/
|
|
292
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
292
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
293
293
|
|
|
294
294
|
/**
|
|
295
295
|
* Bank account or crypto wallet the payout was sent to.
|
|
@@ -510,7 +510,7 @@ export namespace PayoutPaidWebhookEvent {
|
|
|
510
510
|
/**
|
|
511
511
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
512
512
|
*/
|
|
513
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
513
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
514
514
|
|
|
515
515
|
/**
|
|
516
516
|
* Bank account or crypto wallet the payout was sent to.
|
|
@@ -731,7 +731,7 @@ export namespace PayoutFailedWebhookEvent {
|
|
|
731
731
|
/**
|
|
732
732
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
733
733
|
*/
|
|
734
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
734
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
735
735
|
|
|
736
736
|
/**
|
|
737
737
|
* Bank account or crypto wallet the payout was sent to.
|
|
@@ -952,7 +952,7 @@ export namespace ReturnInitiatedWebhookEvent {
|
|
|
952
952
|
/**
|
|
953
953
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
954
954
|
*/
|
|
955
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
955
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
956
956
|
|
|
957
957
|
/**
|
|
958
958
|
* ID of the parent deposit.
|
|
@@ -1067,7 +1067,7 @@ export namespace ReturnPaidWebhookEvent {
|
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
1069
1069
|
*/
|
|
1070
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1070
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1071
1071
|
|
|
1072
1072
|
/**
|
|
1073
1073
|
* ID of the parent deposit.
|
|
@@ -1182,7 +1182,7 @@ export namespace ReturnFailedWebhookEvent {
|
|
|
1182
1182
|
/**
|
|
1183
1183
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
1184
1184
|
*/
|
|
1185
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1185
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1186
1186
|
|
|
1187
1187
|
/**
|
|
1188
1188
|
* ID of the parent deposit.
|
|
@@ -1297,7 +1297,7 @@ export namespace ReturnReturnedWebhookEvent {
|
|
|
1297
1297
|
/**
|
|
1298
1298
|
* Currency code (ISO 4217 currency code or crypto currency code).
|
|
1299
1299
|
*/
|
|
1300
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1300
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1301
1301
|
|
|
1302
1302
|
/**
|
|
1303
1303
|
* ID of the parent deposit.
|
|
@@ -1417,7 +1417,7 @@ export namespace DepositReceivedWebhookEvent {
|
|
|
1417
1417
|
/**
|
|
1418
1418
|
* Supported fiat or crypto currency code for the deposit amount.
|
|
1419
1419
|
*/
|
|
1420
|
-
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1420
|
+
currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1421
1421
|
|
|
1422
1422
|
/**
|
|
1423
1423
|
* ID of the merchant account that received the deposit.
|
|
@@ -1651,7 +1651,7 @@ export namespace ConversionCreatedWebhookEvent {
|
|
|
1651
1651
|
/**
|
|
1652
1652
|
* Source currency code.
|
|
1653
1653
|
*/
|
|
1654
|
-
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1654
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1655
1655
|
|
|
1656
1656
|
/**
|
|
1657
1657
|
* Current status of the conversion.
|
|
@@ -1666,7 +1666,7 @@ export namespace ConversionCreatedWebhookEvent {
|
|
|
1666
1666
|
/**
|
|
1667
1667
|
* Target currency code.
|
|
1668
1668
|
*/
|
|
1669
|
-
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1669
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1670
1670
|
|
|
1671
1671
|
/**
|
|
1672
1672
|
* Resource type discriminator.
|
|
@@ -1767,7 +1767,7 @@ export namespace ConversionCompletedWebhookEvent {
|
|
|
1767
1767
|
/**
|
|
1768
1768
|
* Source currency code.
|
|
1769
1769
|
*/
|
|
1770
|
-
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1770
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1771
1771
|
|
|
1772
1772
|
/**
|
|
1773
1773
|
* Current status of the conversion.
|
|
@@ -1782,7 +1782,7 @@ export namespace ConversionCompletedWebhookEvent {
|
|
|
1782
1782
|
/**
|
|
1783
1783
|
* Target currency code.
|
|
1784
1784
|
*/
|
|
1785
|
-
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1785
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1786
1786
|
|
|
1787
1787
|
/**
|
|
1788
1788
|
* Resource type discriminator.
|
|
@@ -1883,7 +1883,7 @@ export namespace ConversionFailedWebhookEvent {
|
|
|
1883
1883
|
/**
|
|
1884
1884
|
* Source currency code.
|
|
1885
1885
|
*/
|
|
1886
|
-
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1886
|
+
source_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1887
1887
|
|
|
1888
1888
|
/**
|
|
1889
1889
|
* Current status of the conversion.
|
|
@@ -1898,7 +1898,7 @@ export namespace ConversionFailedWebhookEvent {
|
|
|
1898
1898
|
/**
|
|
1899
1899
|
* Target currency code.
|
|
1900
1900
|
*/
|
|
1901
|
-
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC';
|
|
1901
|
+
target_currency: 'EUR' | 'GBP' | 'USD' | 'USDC' | 'BTC' | 'ETH' | 'SOL' | 'POL';
|
|
1902
1902
|
|
|
1903
1903
|
/**
|
|
1904
1904
|
* Resource type discriminator.
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.17.0'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.17.0";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.
|
|
1
|
+
export declare const VERSION = "0.17.0";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.17.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|