@augustusbank/typescript-sdk 0.20.0 → 0.21.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 +8 -0
- package/package.json +1 -1
- package/resources/deposits.d.mts +12 -12
- package/resources/deposits.d.mts.map +1 -1
- package/resources/deposits.d.ts +12 -12
- package/resources/deposits.d.ts.map +1 -1
- package/resources/payouts.d.mts +20 -20
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +20 -20
- package/resources/payouts.d.ts.map +1 -1
- package/resources/transactions.d.mts +10 -10
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +10 -10
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhooks.d.mts +26 -26
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +26 -26
- package/resources/webhooks.d.ts.map +1 -1
- package/src/resources/deposits.ts +18 -18
- package/src/resources/payouts.ts +32 -32
- package/src/resources/transactions.ts +16 -16
- package/src/resources/webhooks.ts +42 -26
- 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/webhooks.d.ts
CHANGED
|
@@ -51,7 +51,7 @@ export declare namespace PayoutCreatedWebhookEvent {
|
|
|
51
51
|
/**
|
|
52
52
|
* Bank account or crypto wallet the payout was sent to.
|
|
53
53
|
*/
|
|
54
|
-
destination: Payload.
|
|
54
|
+
destination: Payload.IbanFinancialAddress | Payload.SortCodeFinancialAddress | Payload.AbaFinancialAddress | Payload.CryptoWalletFinancialAddress;
|
|
55
55
|
/**
|
|
56
56
|
* Failure details when status is failed, otherwise null.
|
|
57
57
|
*/
|
|
@@ -84,7 +84,7 @@ export declare namespace PayoutCreatedWebhookEvent {
|
|
|
84
84
|
updated_at: string;
|
|
85
85
|
}
|
|
86
86
|
namespace Payload {
|
|
87
|
-
interface
|
|
87
|
+
interface IbanFinancialAddress {
|
|
88
88
|
/**
|
|
89
89
|
* Name of the account holder.
|
|
90
90
|
*/
|
|
@@ -102,7 +102,7 @@ export declare namespace PayoutCreatedWebhookEvent {
|
|
|
102
102
|
*/
|
|
103
103
|
type: 'iban';
|
|
104
104
|
}
|
|
105
|
-
interface
|
|
105
|
+
interface SortCodeFinancialAddress {
|
|
106
106
|
/**
|
|
107
107
|
* Name of the account holder.
|
|
108
108
|
*/
|
|
@@ -120,7 +120,7 @@ export declare namespace PayoutCreatedWebhookEvent {
|
|
|
120
120
|
*/
|
|
121
121
|
type: 'sort_code';
|
|
122
122
|
}
|
|
123
|
-
interface
|
|
123
|
+
interface AbaFinancialAddress {
|
|
124
124
|
/**
|
|
125
125
|
* Name of the account holder.
|
|
126
126
|
*/
|
|
@@ -138,7 +138,7 @@ export declare namespace PayoutCreatedWebhookEvent {
|
|
|
138
138
|
*/
|
|
139
139
|
type: 'aba';
|
|
140
140
|
}
|
|
141
|
-
interface
|
|
141
|
+
interface CryptoWalletFinancialAddress {
|
|
142
142
|
/**
|
|
143
143
|
* Wallet address on the specified blockchain.
|
|
144
144
|
*/
|
|
@@ -217,7 +217,7 @@ export declare namespace PayoutInitiatedWebhookEvent {
|
|
|
217
217
|
/**
|
|
218
218
|
* Bank account or crypto wallet the payout was sent to.
|
|
219
219
|
*/
|
|
220
|
-
destination: Payload.
|
|
220
|
+
destination: Payload.IbanFinancialAddress | Payload.SortCodeFinancialAddress | Payload.AbaFinancialAddress | Payload.CryptoWalletFinancialAddress;
|
|
221
221
|
/**
|
|
222
222
|
* Failure details when status is failed, otherwise null.
|
|
223
223
|
*/
|
|
@@ -250,7 +250,7 @@ export declare namespace PayoutInitiatedWebhookEvent {
|
|
|
250
250
|
updated_at: string;
|
|
251
251
|
}
|
|
252
252
|
namespace Payload {
|
|
253
|
-
interface
|
|
253
|
+
interface IbanFinancialAddress {
|
|
254
254
|
/**
|
|
255
255
|
* Name of the account holder.
|
|
256
256
|
*/
|
|
@@ -268,7 +268,7 @@ export declare namespace PayoutInitiatedWebhookEvent {
|
|
|
268
268
|
*/
|
|
269
269
|
type: 'iban';
|
|
270
270
|
}
|
|
271
|
-
interface
|
|
271
|
+
interface SortCodeFinancialAddress {
|
|
272
272
|
/**
|
|
273
273
|
* Name of the account holder.
|
|
274
274
|
*/
|
|
@@ -286,7 +286,7 @@ export declare namespace PayoutInitiatedWebhookEvent {
|
|
|
286
286
|
*/
|
|
287
287
|
type: 'sort_code';
|
|
288
288
|
}
|
|
289
|
-
interface
|
|
289
|
+
interface AbaFinancialAddress {
|
|
290
290
|
/**
|
|
291
291
|
* Name of the account holder.
|
|
292
292
|
*/
|
|
@@ -304,7 +304,7 @@ export declare namespace PayoutInitiatedWebhookEvent {
|
|
|
304
304
|
*/
|
|
305
305
|
type: 'aba';
|
|
306
306
|
}
|
|
307
|
-
interface
|
|
307
|
+
interface CryptoWalletFinancialAddress {
|
|
308
308
|
/**
|
|
309
309
|
* Wallet address on the specified blockchain.
|
|
310
310
|
*/
|
|
@@ -383,7 +383,7 @@ export declare namespace PayoutPaidWebhookEvent {
|
|
|
383
383
|
/**
|
|
384
384
|
* Bank account or crypto wallet the payout was sent to.
|
|
385
385
|
*/
|
|
386
|
-
destination: Payload.
|
|
386
|
+
destination: Payload.IbanFinancialAddress | Payload.SortCodeFinancialAddress | Payload.AbaFinancialAddress | Payload.CryptoWalletFinancialAddress;
|
|
387
387
|
/**
|
|
388
388
|
* Failure details when status is failed, otherwise null.
|
|
389
389
|
*/
|
|
@@ -416,7 +416,7 @@ export declare namespace PayoutPaidWebhookEvent {
|
|
|
416
416
|
updated_at: string;
|
|
417
417
|
}
|
|
418
418
|
namespace Payload {
|
|
419
|
-
interface
|
|
419
|
+
interface IbanFinancialAddress {
|
|
420
420
|
/**
|
|
421
421
|
* Name of the account holder.
|
|
422
422
|
*/
|
|
@@ -434,7 +434,7 @@ export declare namespace PayoutPaidWebhookEvent {
|
|
|
434
434
|
*/
|
|
435
435
|
type: 'iban';
|
|
436
436
|
}
|
|
437
|
-
interface
|
|
437
|
+
interface SortCodeFinancialAddress {
|
|
438
438
|
/**
|
|
439
439
|
* Name of the account holder.
|
|
440
440
|
*/
|
|
@@ -452,7 +452,7 @@ export declare namespace PayoutPaidWebhookEvent {
|
|
|
452
452
|
*/
|
|
453
453
|
type: 'sort_code';
|
|
454
454
|
}
|
|
455
|
-
interface
|
|
455
|
+
interface AbaFinancialAddress {
|
|
456
456
|
/**
|
|
457
457
|
* Name of the account holder.
|
|
458
458
|
*/
|
|
@@ -470,7 +470,7 @@ export declare namespace PayoutPaidWebhookEvent {
|
|
|
470
470
|
*/
|
|
471
471
|
type: 'aba';
|
|
472
472
|
}
|
|
473
|
-
interface
|
|
473
|
+
interface CryptoWalletFinancialAddress {
|
|
474
474
|
/**
|
|
475
475
|
* Wallet address on the specified blockchain.
|
|
476
476
|
*/
|
|
@@ -549,7 +549,7 @@ export declare namespace PayoutFailedWebhookEvent {
|
|
|
549
549
|
/**
|
|
550
550
|
* Bank account or crypto wallet the payout was sent to.
|
|
551
551
|
*/
|
|
552
|
-
destination: Payload.
|
|
552
|
+
destination: Payload.IbanFinancialAddress | Payload.SortCodeFinancialAddress | Payload.AbaFinancialAddress | Payload.CryptoWalletFinancialAddress;
|
|
553
553
|
/**
|
|
554
554
|
* Failure details when status is failed, otherwise null.
|
|
555
555
|
*/
|
|
@@ -582,7 +582,7 @@ export declare namespace PayoutFailedWebhookEvent {
|
|
|
582
582
|
updated_at: string;
|
|
583
583
|
}
|
|
584
584
|
namespace Payload {
|
|
585
|
-
interface
|
|
585
|
+
interface IbanFinancialAddress {
|
|
586
586
|
/**
|
|
587
587
|
* Name of the account holder.
|
|
588
588
|
*/
|
|
@@ -600,7 +600,7 @@ export declare namespace PayoutFailedWebhookEvent {
|
|
|
600
600
|
*/
|
|
601
601
|
type: 'iban';
|
|
602
602
|
}
|
|
603
|
-
interface
|
|
603
|
+
interface SortCodeFinancialAddress {
|
|
604
604
|
/**
|
|
605
605
|
* Name of the account holder.
|
|
606
606
|
*/
|
|
@@ -618,7 +618,7 @@ export declare namespace PayoutFailedWebhookEvent {
|
|
|
618
618
|
*/
|
|
619
619
|
type: 'sort_code';
|
|
620
620
|
}
|
|
621
|
-
interface
|
|
621
|
+
interface AbaFinancialAddress {
|
|
622
622
|
/**
|
|
623
623
|
* Name of the account holder.
|
|
624
624
|
*/
|
|
@@ -636,7 +636,7 @@ export declare namespace PayoutFailedWebhookEvent {
|
|
|
636
636
|
*/
|
|
637
637
|
type: 'aba';
|
|
638
638
|
}
|
|
639
|
-
interface
|
|
639
|
+
interface CryptoWalletFinancialAddress {
|
|
640
640
|
/**
|
|
641
641
|
* Wallet address on the specified blockchain.
|
|
642
642
|
*/
|
|
@@ -1057,7 +1057,7 @@ export declare namespace DepositReceivedWebhookEvent {
|
|
|
1057
1057
|
*/
|
|
1058
1058
|
destination_account_id: string;
|
|
1059
1059
|
/**
|
|
1060
|
-
* Payment rail or blockchain used for the deposit.
|
|
1060
|
+
* Payment rail or blockchain used for the deposit, or null when unknown.
|
|
1061
1061
|
*/
|
|
1062
1062
|
rail: 'sepa_instant' | 'faster_payments' | 'sepa' | 'elixir' | 'express_elixir' | 'sek_account_to_account' | 'sumclearing' | 'straksclearing' | 'swift' | 'internal' | 'target' | 'ach' | 'fedwire' | 'btc' | 'btc_testnet4' | 'eth' | 'eth_sepolia' | 'sol' | 'sol_devnet' | 'matic' | 'matic_amoy' | null;
|
|
1063
1063
|
/**
|
|
@@ -1067,7 +1067,7 @@ export declare namespace DepositReceivedWebhookEvent {
|
|
|
1067
1067
|
/**
|
|
1068
1068
|
* Counterparty bank account or crypto wallet that sent the funds.
|
|
1069
1069
|
*/
|
|
1070
|
-
source: Payload.
|
|
1070
|
+
source: Payload.Iban | Payload.UkSortCode | Payload.Aba | Payload.Wallet;
|
|
1071
1071
|
/**
|
|
1072
1072
|
* Current status of the deposit.
|
|
1073
1073
|
*/
|
|
@@ -1086,7 +1086,7 @@ export declare namespace DepositReceivedWebhookEvent {
|
|
|
1086
1086
|
updated_at: string;
|
|
1087
1087
|
}
|
|
1088
1088
|
namespace Payload {
|
|
1089
|
-
interface
|
|
1089
|
+
interface Iban {
|
|
1090
1090
|
/**
|
|
1091
1091
|
* Name of the account holder.
|
|
1092
1092
|
*/
|
|
@@ -1104,7 +1104,7 @@ export declare namespace DepositReceivedWebhookEvent {
|
|
|
1104
1104
|
*/
|
|
1105
1105
|
type: 'iban';
|
|
1106
1106
|
}
|
|
1107
|
-
interface
|
|
1107
|
+
interface UkSortCode {
|
|
1108
1108
|
/**
|
|
1109
1109
|
* Name of the account holder.
|
|
1110
1110
|
*/
|
|
@@ -1122,7 +1122,7 @@ export declare namespace DepositReceivedWebhookEvent {
|
|
|
1122
1122
|
*/
|
|
1123
1123
|
type: 'sort_code';
|
|
1124
1124
|
}
|
|
1125
|
-
interface
|
|
1125
|
+
interface Aba {
|
|
1126
1126
|
/**
|
|
1127
1127
|
* Name of the account holder.
|
|
1128
1128
|
*/
|
|
@@ -1140,7 +1140,7 @@ export declare namespace DepositReceivedWebhookEvent {
|
|
|
1140
1140
|
*/
|
|
1141
1141
|
type: 'aba';
|
|
1142
1142
|
}
|
|
1143
|
-
interface
|
|
1143
|
+
interface Wallet {
|
|
1144
1144
|
/**
|
|
1145
1145
|
* Wallet address on the specified blockchain.
|
|
1146
1146
|
*/
|