@augustusbank/typescript-sdk 0.33.0 → 0.34.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 +7 -0
- package/package.json +1 -1
- package/resources/accounts.d.mts +12 -6
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +12 -6
- package/resources/accounts.d.ts.map +1 -1
- package/resources/payout-tracking-events.d.mts +114 -18
- package/resources/payout-tracking-events.d.mts.map +1 -1
- package/resources/payout-tracking-events.d.ts +114 -18
- package/resources/payout-tracking-events.d.ts.map +1 -1
- package/resources/payouts.d.mts +8 -16
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +8 -16
- package/resources/payouts.d.ts.map +1 -1
- package/resources/transactions.d.mts +0 -10
- package/resources/transactions.d.mts.map +1 -1
- package/resources/transactions.d.ts +0 -10
- package/resources/transactions.d.ts.map +1 -1
- package/resources/webhooks.d.mts +67 -29
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +67 -29
- package/resources/webhooks.d.ts.map +1 -1
- package/src/resources/accounts.ts +12 -6
- package/src/resources/payout-tracking-events.ts +126 -18
- package/src/resources/payouts.ts +4 -36
- package/src/resources/transactions.ts +0 -12
- package/src/resources/webhooks.ts +68 -54
- 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
|
@@ -161,7 +161,8 @@ export interface AccountCreateResponse {
|
|
|
161
161
|
>;
|
|
162
162
|
|
|
163
163
|
/**
|
|
164
|
-
* Human-readable label for the account.
|
|
164
|
+
* Human-readable label for the account. For FBO accounts the label is set to the
|
|
165
|
+
* account holder’s name.
|
|
165
166
|
*/
|
|
166
167
|
label: string;
|
|
167
168
|
|
|
@@ -361,7 +362,8 @@ export interface AccountRetrieveResponse {
|
|
|
361
362
|
>;
|
|
362
363
|
|
|
363
364
|
/**
|
|
364
|
-
* Human-readable label for the account.
|
|
365
|
+
* Human-readable label for the account. For FBO accounts the label is set to the
|
|
366
|
+
* account holder’s name.
|
|
365
367
|
*/
|
|
366
368
|
label: string;
|
|
367
369
|
|
|
@@ -561,7 +563,8 @@ export interface AccountListResponse {
|
|
|
561
563
|
>;
|
|
562
564
|
|
|
563
565
|
/**
|
|
564
|
-
* Human-readable label for the account.
|
|
566
|
+
* Human-readable label for the account. For FBO accounts the label is set to the
|
|
567
|
+
* account holder’s name.
|
|
565
568
|
*/
|
|
566
569
|
label: string;
|
|
567
570
|
|
|
@@ -761,7 +764,8 @@ export interface AccountCloseResponse {
|
|
|
761
764
|
>;
|
|
762
765
|
|
|
763
766
|
/**
|
|
764
|
-
* Human-readable label for the account.
|
|
767
|
+
* Human-readable label for the account. For FBO accounts the label is set to the
|
|
768
|
+
* account holder’s name.
|
|
765
769
|
*/
|
|
766
770
|
label: string;
|
|
767
771
|
|
|
@@ -961,7 +965,8 @@ export interface AccountFreezeResponse {
|
|
|
961
965
|
>;
|
|
962
966
|
|
|
963
967
|
/**
|
|
964
|
-
* Human-readable label for the account.
|
|
968
|
+
* Human-readable label for the account. For FBO accounts the label is set to the
|
|
969
|
+
* account holder’s name.
|
|
965
970
|
*/
|
|
966
971
|
label: string;
|
|
967
972
|
|
|
@@ -1199,7 +1204,8 @@ export interface AccountUnfreezeResponse {
|
|
|
1199
1204
|
>;
|
|
1200
1205
|
|
|
1201
1206
|
/**
|
|
1202
|
-
* Human-readable label for the account.
|
|
1207
|
+
* Human-readable label for the account. For FBO accounts the label is set to the
|
|
1208
|
+
* account holder’s name.
|
|
1203
1209
|
*/
|
|
1204
1210
|
label: string;
|
|
1205
1211
|
|
|
@@ -54,13 +54,21 @@ export interface PayoutTrackingEventRetrieveResponse {
|
|
|
54
54
|
fee: PayoutTrackingEventRetrieveResponse.Fee | null;
|
|
55
55
|
|
|
56
56
|
/**
|
|
57
|
-
* Institution that
|
|
57
|
+
* Institution that sent the payout in this step. Null when unknown or not reported
|
|
58
|
+
* by the source.
|
|
59
|
+
*/
|
|
60
|
+
from_institution: PayoutTrackingEventRetrieveResponse.FromInstitution | null;
|
|
61
|
+
|
|
62
|
+
/**
|
|
63
|
+
* Institution holding the payout after this step: the bank that received it, or
|
|
64
|
+
* the bank that reported this status. Null when unknown.
|
|
58
65
|
*/
|
|
59
66
|
institution: PayoutTrackingEventRetrieveResponse.Institution | null;
|
|
60
67
|
|
|
61
68
|
/**
|
|
62
|
-
* Whether Augustus considers delivery finished. A
|
|
63
|
-
*
|
|
69
|
+
* Whether Augustus considers delivery finished. A credit reported by a bank that
|
|
70
|
+
* passes the payout on is a forwarded step and is not terminal. A later event,
|
|
71
|
+
* such as returned, can still follow.
|
|
64
72
|
*/
|
|
65
73
|
is_terminal: boolean;
|
|
66
74
|
|
|
@@ -169,18 +177,62 @@ export namespace PayoutTrackingEventRetrieveResponse {
|
|
|
169
177
|
}
|
|
170
178
|
|
|
171
179
|
/**
|
|
172
|
-
* Institution that
|
|
180
|
+
* Institution that sent the payout in this step. Null when unknown or not reported
|
|
181
|
+
* by the source.
|
|
182
|
+
*/
|
|
183
|
+
export interface FromInstitution {
|
|
184
|
+
/**
|
|
185
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
186
|
+
* known.
|
|
187
|
+
*/
|
|
188
|
+
identifier: FromInstitution.Identifier | null;
|
|
189
|
+
|
|
190
|
+
/**
|
|
191
|
+
* Name of the institution. Null when unknown.
|
|
192
|
+
*/
|
|
193
|
+
name: string | null;
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
export namespace FromInstitution {
|
|
197
|
+
/**
|
|
198
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
199
|
+
* known.
|
|
200
|
+
*/
|
|
201
|
+
export interface Identifier {
|
|
202
|
+
/**
|
|
203
|
+
* Identifier scheme. Only bic today.
|
|
204
|
+
*/
|
|
205
|
+
type: 'bic';
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* ISO 9362 Bank Identifier Code, always 11 characters. An 8-character BIC is
|
|
209
|
+
* padded with the XXX head office branch code.
|
|
210
|
+
*/
|
|
211
|
+
value: string;
|
|
212
|
+
}
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
/**
|
|
216
|
+
* Institution holding the payout after this step: the bank that received it, or
|
|
217
|
+
* the bank that reported this status. Null when unknown.
|
|
173
218
|
*/
|
|
174
219
|
export interface Institution {
|
|
175
220
|
/**
|
|
176
|
-
* Identifier of the institution, typed by scheme.
|
|
221
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
222
|
+
* known.
|
|
223
|
+
*/
|
|
224
|
+
identifier: Institution.Identifier | null;
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* Name of the institution. Null when unknown.
|
|
177
228
|
*/
|
|
178
|
-
|
|
229
|
+
name: string | null;
|
|
179
230
|
}
|
|
180
231
|
|
|
181
232
|
export namespace Institution {
|
|
182
233
|
/**
|
|
183
|
-
* Identifier of the institution, typed by scheme.
|
|
234
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
235
|
+
* known.
|
|
184
236
|
*/
|
|
185
237
|
export interface Identifier {
|
|
186
238
|
/**
|
|
@@ -189,7 +241,8 @@ export namespace PayoutTrackingEventRetrieveResponse {
|
|
|
189
241
|
type: 'bic';
|
|
190
242
|
|
|
191
243
|
/**
|
|
192
|
-
* ISO 9362 Bank Identifier Code
|
|
244
|
+
* ISO 9362 Bank Identifier Code, always 11 characters. An 8-character BIC is
|
|
245
|
+
* padded with the XXX head office branch code.
|
|
193
246
|
*/
|
|
194
247
|
value: string;
|
|
195
248
|
}
|
|
@@ -215,7 +268,8 @@ export namespace PayoutTrackingEventRetrieveResponse {
|
|
|
215
268
|
*/
|
|
216
269
|
export interface StatusReason {
|
|
217
270
|
/**
|
|
218
|
-
* Normalized reason code assigned by Augustus.
|
|
271
|
+
* Normalized reason code assigned by Augustus. Current codes: `CREDIT_PENDING`
|
|
272
|
+
* (the beneficiary bank reported the credit as pending). New codes may be added.
|
|
219
273
|
*/
|
|
220
274
|
code: string;
|
|
221
275
|
|
|
@@ -249,13 +303,21 @@ export interface PayoutTrackingEventListResponse {
|
|
|
249
303
|
fee: PayoutTrackingEventListResponse.Fee | null;
|
|
250
304
|
|
|
251
305
|
/**
|
|
252
|
-
* Institution that
|
|
306
|
+
* Institution that sent the payout in this step. Null when unknown or not reported
|
|
307
|
+
* by the source.
|
|
308
|
+
*/
|
|
309
|
+
from_institution: PayoutTrackingEventListResponse.FromInstitution | null;
|
|
310
|
+
|
|
311
|
+
/**
|
|
312
|
+
* Institution holding the payout after this step: the bank that received it, or
|
|
313
|
+
* the bank that reported this status. Null when unknown.
|
|
253
314
|
*/
|
|
254
315
|
institution: PayoutTrackingEventListResponse.Institution | null;
|
|
255
316
|
|
|
256
317
|
/**
|
|
257
|
-
* Whether Augustus considers delivery finished. A
|
|
258
|
-
*
|
|
318
|
+
* Whether Augustus considers delivery finished. A credit reported by a bank that
|
|
319
|
+
* passes the payout on is a forwarded step and is not terminal. A later event,
|
|
320
|
+
* such as returned, can still follow.
|
|
259
321
|
*/
|
|
260
322
|
is_terminal: boolean;
|
|
261
323
|
|
|
@@ -364,18 +426,62 @@ export namespace PayoutTrackingEventListResponse {
|
|
|
364
426
|
}
|
|
365
427
|
|
|
366
428
|
/**
|
|
367
|
-
* Institution that
|
|
429
|
+
* Institution that sent the payout in this step. Null when unknown or not reported
|
|
430
|
+
* by the source.
|
|
431
|
+
*/
|
|
432
|
+
export interface FromInstitution {
|
|
433
|
+
/**
|
|
434
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
435
|
+
* known.
|
|
436
|
+
*/
|
|
437
|
+
identifier: FromInstitution.Identifier | null;
|
|
438
|
+
|
|
439
|
+
/**
|
|
440
|
+
* Name of the institution. Null when unknown.
|
|
441
|
+
*/
|
|
442
|
+
name: string | null;
|
|
443
|
+
}
|
|
444
|
+
|
|
445
|
+
export namespace FromInstitution {
|
|
446
|
+
/**
|
|
447
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
448
|
+
* known.
|
|
449
|
+
*/
|
|
450
|
+
export interface Identifier {
|
|
451
|
+
/**
|
|
452
|
+
* Identifier scheme. Only bic today.
|
|
453
|
+
*/
|
|
454
|
+
type: 'bic';
|
|
455
|
+
|
|
456
|
+
/**
|
|
457
|
+
* ISO 9362 Bank Identifier Code, always 11 characters. An 8-character BIC is
|
|
458
|
+
* padded with the XXX head office branch code.
|
|
459
|
+
*/
|
|
460
|
+
value: string;
|
|
461
|
+
}
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* Institution holding the payout after this step: the bank that received it, or
|
|
466
|
+
* the bank that reported this status. Null when unknown.
|
|
368
467
|
*/
|
|
369
468
|
export interface Institution {
|
|
370
469
|
/**
|
|
371
|
-
* Identifier of the institution, typed by scheme.
|
|
470
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
471
|
+
* known.
|
|
472
|
+
*/
|
|
473
|
+
identifier: Institution.Identifier | null;
|
|
474
|
+
|
|
475
|
+
/**
|
|
476
|
+
* Name of the institution. Null when unknown.
|
|
372
477
|
*/
|
|
373
|
-
|
|
478
|
+
name: string | null;
|
|
374
479
|
}
|
|
375
480
|
|
|
376
481
|
export namespace Institution {
|
|
377
482
|
/**
|
|
378
|
-
* Identifier of the institution, typed by scheme.
|
|
483
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
484
|
+
* known.
|
|
379
485
|
*/
|
|
380
486
|
export interface Identifier {
|
|
381
487
|
/**
|
|
@@ -384,7 +490,8 @@ export namespace PayoutTrackingEventListResponse {
|
|
|
384
490
|
type: 'bic';
|
|
385
491
|
|
|
386
492
|
/**
|
|
387
|
-
* ISO 9362 Bank Identifier Code
|
|
493
|
+
* ISO 9362 Bank Identifier Code, always 11 characters. An 8-character BIC is
|
|
494
|
+
* padded with the XXX head office branch code.
|
|
388
495
|
*/
|
|
389
496
|
value: string;
|
|
390
497
|
}
|
|
@@ -410,7 +517,8 @@ export namespace PayoutTrackingEventListResponse {
|
|
|
410
517
|
*/
|
|
411
518
|
export interface StatusReason {
|
|
412
519
|
/**
|
|
413
|
-
* Normalized reason code assigned by Augustus.
|
|
520
|
+
* Normalized reason code assigned by Augustus. Current codes: `CREDIT_PENDING`
|
|
521
|
+
* (the beneficiary bank reported the credit as pending). New codes may be added.
|
|
414
522
|
*/
|
|
415
523
|
code: string;
|
|
416
524
|
|
package/src/resources/payouts.ts
CHANGED
|
@@ -103,9 +103,7 @@ export interface PayoutCreateResponse {
|
|
|
103
103
|
metadata: { [key: string]: string };
|
|
104
104
|
|
|
105
105
|
/**
|
|
106
|
-
*
|
|
107
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
108
|
-
* swift payouts.
|
|
106
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
109
107
|
*/
|
|
110
108
|
purpose_code:
|
|
111
109
|
| 'BKDF'
|
|
@@ -436,12 +434,6 @@ export interface PayoutCreateResponse {
|
|
|
436
434
|
| 'DEPD'
|
|
437
435
|
| 'RETL'
|
|
438
436
|
| 'DEBT'
|
|
439
|
-
| 'CAP'
|
|
440
|
-
| 'GDS'
|
|
441
|
-
| 'SRV'
|
|
442
|
-
| 'CAC'
|
|
443
|
-
| 'FTF'
|
|
444
|
-
| (string & {})
|
|
445
437
|
| null;
|
|
446
438
|
|
|
447
439
|
/**
|
|
@@ -597,9 +589,7 @@ export interface PayoutRetrieveResponse {
|
|
|
597
589
|
metadata: { [key: string]: string };
|
|
598
590
|
|
|
599
591
|
/**
|
|
600
|
-
*
|
|
601
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
602
|
-
* swift payouts.
|
|
592
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
603
593
|
*/
|
|
604
594
|
purpose_code:
|
|
605
595
|
| 'BKDF'
|
|
@@ -930,12 +920,6 @@ export interface PayoutRetrieveResponse {
|
|
|
930
920
|
| 'DEPD'
|
|
931
921
|
| 'RETL'
|
|
932
922
|
| 'DEBT'
|
|
933
|
-
| 'CAP'
|
|
934
|
-
| 'GDS'
|
|
935
|
-
| 'SRV'
|
|
936
|
-
| 'CAC'
|
|
937
|
-
| 'FTF'
|
|
938
|
-
| (string & {})
|
|
939
923
|
| null;
|
|
940
924
|
|
|
941
925
|
/**
|
|
@@ -1091,9 +1075,7 @@ export interface PayoutListResponse {
|
|
|
1091
1075
|
metadata: { [key: string]: string };
|
|
1092
1076
|
|
|
1093
1077
|
/**
|
|
1094
|
-
*
|
|
1095
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
1096
|
-
* swift payouts.
|
|
1078
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
1097
1079
|
*/
|
|
1098
1080
|
purpose_code:
|
|
1099
1081
|
| 'BKDF'
|
|
@@ -1424,12 +1406,6 @@ export interface PayoutListResponse {
|
|
|
1424
1406
|
| 'DEPD'
|
|
1425
1407
|
| 'RETL'
|
|
1426
1408
|
| 'DEBT'
|
|
1427
|
-
| 'CAP'
|
|
1428
|
-
| 'GDS'
|
|
1429
|
-
| 'SRV'
|
|
1430
|
-
| 'CAC'
|
|
1431
|
-
| 'FTF'
|
|
1432
|
-
| (string & {})
|
|
1433
1409
|
| null;
|
|
1434
1410
|
|
|
1435
1411
|
/**
|
|
@@ -1570,9 +1546,7 @@ export interface PayoutCreateParams {
|
|
|
1570
1546
|
metadata?: { [key: string]: string } | null;
|
|
1571
1547
|
|
|
1572
1548
|
/**
|
|
1573
|
-
*
|
|
1574
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
1575
|
-
* swift payouts.
|
|
1549
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
1576
1550
|
*/
|
|
1577
1551
|
purpose_code?:
|
|
1578
1552
|
| 'BKDF'
|
|
@@ -1903,12 +1877,6 @@ export interface PayoutCreateParams {
|
|
|
1903
1877
|
| 'DEPD'
|
|
1904
1878
|
| 'RETL'
|
|
1905
1879
|
| 'DEBT'
|
|
1906
|
-
| 'CAP'
|
|
1907
|
-
| 'GDS'
|
|
1908
|
-
| 'SRV'
|
|
1909
|
-
| 'CAC'
|
|
1910
|
-
| 'FTF'
|
|
1911
|
-
| (string & {})
|
|
1912
1880
|
| null;
|
|
1913
1881
|
|
|
1914
1882
|
/**
|
|
@@ -106,12 +106,6 @@ export interface TransactionRetrieveResponse {
|
|
|
106
106
|
*/
|
|
107
107
|
status: 'booked';
|
|
108
108
|
|
|
109
|
-
/**
|
|
110
|
-
* Network tracking identifier: UETR for SWIFT, IMAD for Fedwire, or the trace
|
|
111
|
-
* number for ACH. Null when unavailable.
|
|
112
|
-
*/
|
|
113
|
-
tracking_reference: string | null;
|
|
114
|
-
|
|
115
109
|
/**
|
|
116
110
|
* Transaction hash for crypto transactions, or null when not known. Only
|
|
117
111
|
* blockchain rails support this field.
|
|
@@ -665,12 +659,6 @@ export interface TransactionListResponse {
|
|
|
665
659
|
*/
|
|
666
660
|
status: 'booked';
|
|
667
661
|
|
|
668
|
-
/**
|
|
669
|
-
* Network tracking identifier: UETR for SWIFT, IMAD for Fedwire, or the trace
|
|
670
|
-
* number for ACH. Null when unavailable.
|
|
671
|
-
*/
|
|
672
|
-
tracking_reference: string | null;
|
|
673
|
-
|
|
674
662
|
/**
|
|
675
663
|
* Transaction hash for crypto transactions, or null when not known. Only
|
|
676
664
|
* blockchain rails support this field.
|
|
@@ -93,9 +93,7 @@ export namespace PayoutInitiatedWebhookEvent {
|
|
|
93
93
|
metadata: { [key: string]: string };
|
|
94
94
|
|
|
95
95
|
/**
|
|
96
|
-
*
|
|
97
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
98
|
-
* swift payouts.
|
|
96
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
99
97
|
*/
|
|
100
98
|
purpose_code:
|
|
101
99
|
| 'BKDF'
|
|
@@ -426,12 +424,6 @@ export namespace PayoutInitiatedWebhookEvent {
|
|
|
426
424
|
| 'DEPD'
|
|
427
425
|
| 'RETL'
|
|
428
426
|
| 'DEBT'
|
|
429
|
-
| 'CAP'
|
|
430
|
-
| 'GDS'
|
|
431
|
-
| 'SRV'
|
|
432
|
-
| 'CAC'
|
|
433
|
-
| 'FTF'
|
|
434
|
-
| (string & {})
|
|
435
427
|
| null;
|
|
436
428
|
|
|
437
429
|
/**
|
|
@@ -619,9 +611,7 @@ export namespace PayoutSubmittedWebhookEvent {
|
|
|
619
611
|
metadata: { [key: string]: string };
|
|
620
612
|
|
|
621
613
|
/**
|
|
622
|
-
*
|
|
623
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
624
|
-
* swift payouts.
|
|
614
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
625
615
|
*/
|
|
626
616
|
purpose_code:
|
|
627
617
|
| 'BKDF'
|
|
@@ -952,12 +942,6 @@ export namespace PayoutSubmittedWebhookEvent {
|
|
|
952
942
|
| 'DEPD'
|
|
953
943
|
| 'RETL'
|
|
954
944
|
| 'DEBT'
|
|
955
|
-
| 'CAP'
|
|
956
|
-
| 'GDS'
|
|
957
|
-
| 'SRV'
|
|
958
|
-
| 'CAC'
|
|
959
|
-
| 'FTF'
|
|
960
|
-
| (string & {})
|
|
961
945
|
| null;
|
|
962
946
|
|
|
963
947
|
/**
|
|
@@ -1145,9 +1129,7 @@ export namespace PayoutSentWebhookEvent {
|
|
|
1145
1129
|
metadata: { [key: string]: string };
|
|
1146
1130
|
|
|
1147
1131
|
/**
|
|
1148
|
-
*
|
|
1149
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
1150
|
-
* swift payouts.
|
|
1132
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
1151
1133
|
*/
|
|
1152
1134
|
purpose_code:
|
|
1153
1135
|
| 'BKDF'
|
|
@@ -1478,12 +1460,6 @@ export namespace PayoutSentWebhookEvent {
|
|
|
1478
1460
|
| 'DEPD'
|
|
1479
1461
|
| 'RETL'
|
|
1480
1462
|
| 'DEBT'
|
|
1481
|
-
| 'CAP'
|
|
1482
|
-
| 'GDS'
|
|
1483
|
-
| 'SRV'
|
|
1484
|
-
| 'CAC'
|
|
1485
|
-
| 'FTF'
|
|
1486
|
-
| (string & {})
|
|
1487
1463
|
| null;
|
|
1488
1464
|
|
|
1489
1465
|
/**
|
|
@@ -1671,9 +1647,7 @@ export namespace PayoutFailedWebhookEvent {
|
|
|
1671
1647
|
metadata: { [key: string]: string };
|
|
1672
1648
|
|
|
1673
1649
|
/**
|
|
1674
|
-
*
|
|
1675
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
1676
|
-
* swift payouts.
|
|
1650
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
1677
1651
|
*/
|
|
1678
1652
|
purpose_code:
|
|
1679
1653
|
| 'BKDF'
|
|
@@ -2004,12 +1978,6 @@ export namespace PayoutFailedWebhookEvent {
|
|
|
2004
1978
|
| 'DEPD'
|
|
2005
1979
|
| 'RETL'
|
|
2006
1980
|
| 'DEBT'
|
|
2007
|
-
| 'CAP'
|
|
2008
|
-
| 'GDS'
|
|
2009
|
-
| 'SRV'
|
|
2010
|
-
| 'CAC'
|
|
2011
|
-
| 'FTF'
|
|
2012
|
-
| (string & {})
|
|
2013
1981
|
| null;
|
|
2014
1982
|
|
|
2015
1983
|
/**
|
|
@@ -2197,9 +2165,7 @@ export namespace PayoutReturnedWebhookEvent {
|
|
|
2197
2165
|
metadata: { [key: string]: string };
|
|
2198
2166
|
|
|
2199
2167
|
/**
|
|
2200
|
-
*
|
|
2201
|
-
* beneficiary bank country requires a national code. Only supported on fedwire and
|
|
2202
|
-
* swift payouts.
|
|
2168
|
+
* ISO 20022 external purpose code. Only supported on fedwire and swift payouts.
|
|
2203
2169
|
*/
|
|
2204
2170
|
purpose_code:
|
|
2205
2171
|
| 'BKDF'
|
|
@@ -2530,12 +2496,6 @@ export namespace PayoutReturnedWebhookEvent {
|
|
|
2530
2496
|
| 'DEPD'
|
|
2531
2497
|
| 'RETL'
|
|
2532
2498
|
| 'DEBT'
|
|
2533
|
-
| 'CAP'
|
|
2534
|
-
| 'GDS'
|
|
2535
|
-
| 'SRV'
|
|
2536
|
-
| 'CAC'
|
|
2537
|
-
| 'FTF'
|
|
2538
|
-
| (string & {})
|
|
2539
2499
|
| null;
|
|
2540
2500
|
|
|
2541
2501
|
/**
|
|
@@ -14945,13 +14905,21 @@ export namespace PayoutTrackingEventCreatedWebhookEvent {
|
|
|
14945
14905
|
fee: Payload.Fee | null;
|
|
14946
14906
|
|
|
14947
14907
|
/**
|
|
14948
|
-
* Institution that
|
|
14908
|
+
* Institution that sent the payout in this step. Null when unknown or not reported
|
|
14909
|
+
* by the source.
|
|
14910
|
+
*/
|
|
14911
|
+
from_institution: Payload.FromInstitution | null;
|
|
14912
|
+
|
|
14913
|
+
/**
|
|
14914
|
+
* Institution holding the payout after this step: the bank that received it, or
|
|
14915
|
+
* the bank that reported this status. Null when unknown.
|
|
14949
14916
|
*/
|
|
14950
14917
|
institution: Payload.Institution | null;
|
|
14951
14918
|
|
|
14952
14919
|
/**
|
|
14953
|
-
* Whether Augustus considers delivery finished. A
|
|
14954
|
-
*
|
|
14920
|
+
* Whether Augustus considers delivery finished. A credit reported by a bank that
|
|
14921
|
+
* passes the payout on is a forwarded step and is not terminal. A later event,
|
|
14922
|
+
* such as returned, can still follow.
|
|
14955
14923
|
*/
|
|
14956
14924
|
is_terminal: boolean;
|
|
14957
14925
|
|
|
@@ -15060,18 +15028,62 @@ export namespace PayoutTrackingEventCreatedWebhookEvent {
|
|
|
15060
15028
|
}
|
|
15061
15029
|
|
|
15062
15030
|
/**
|
|
15063
|
-
* Institution that
|
|
15031
|
+
* Institution that sent the payout in this step. Null when unknown or not reported
|
|
15032
|
+
* by the source.
|
|
15033
|
+
*/
|
|
15034
|
+
export interface FromInstitution {
|
|
15035
|
+
/**
|
|
15036
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
15037
|
+
* known.
|
|
15038
|
+
*/
|
|
15039
|
+
identifier: FromInstitution.Identifier | null;
|
|
15040
|
+
|
|
15041
|
+
/**
|
|
15042
|
+
* Name of the institution. Null when unknown.
|
|
15043
|
+
*/
|
|
15044
|
+
name: string | null;
|
|
15045
|
+
}
|
|
15046
|
+
|
|
15047
|
+
export namespace FromInstitution {
|
|
15048
|
+
/**
|
|
15049
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
15050
|
+
* known.
|
|
15051
|
+
*/
|
|
15052
|
+
export interface Identifier {
|
|
15053
|
+
/**
|
|
15054
|
+
* Identifier scheme. Only bic today.
|
|
15055
|
+
*/
|
|
15056
|
+
type: 'bic';
|
|
15057
|
+
|
|
15058
|
+
/**
|
|
15059
|
+
* ISO 9362 Bank Identifier Code, always 11 characters. An 8-character BIC is
|
|
15060
|
+
* padded with the XXX head office branch code.
|
|
15061
|
+
*/
|
|
15062
|
+
value: string;
|
|
15063
|
+
}
|
|
15064
|
+
}
|
|
15065
|
+
|
|
15066
|
+
/**
|
|
15067
|
+
* Institution holding the payout after this step: the bank that received it, or
|
|
15068
|
+
* the bank that reported this status. Null when unknown.
|
|
15064
15069
|
*/
|
|
15065
15070
|
export interface Institution {
|
|
15066
15071
|
/**
|
|
15067
|
-
* Identifier of the institution, typed by scheme.
|
|
15072
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
15073
|
+
* known.
|
|
15074
|
+
*/
|
|
15075
|
+
identifier: Institution.Identifier | null;
|
|
15076
|
+
|
|
15077
|
+
/**
|
|
15078
|
+
* Name of the institution. Null when unknown.
|
|
15068
15079
|
*/
|
|
15069
|
-
|
|
15080
|
+
name: string | null;
|
|
15070
15081
|
}
|
|
15071
15082
|
|
|
15072
15083
|
export namespace Institution {
|
|
15073
15084
|
/**
|
|
15074
|
-
* Identifier of the institution, typed by scheme.
|
|
15085
|
+
* Identifier of the institution, typed by scheme. Null when only its name is
|
|
15086
|
+
* known.
|
|
15075
15087
|
*/
|
|
15076
15088
|
export interface Identifier {
|
|
15077
15089
|
/**
|
|
@@ -15080,7 +15092,8 @@ export namespace PayoutTrackingEventCreatedWebhookEvent {
|
|
|
15080
15092
|
type: 'bic';
|
|
15081
15093
|
|
|
15082
15094
|
/**
|
|
15083
|
-
* ISO 9362 Bank Identifier Code
|
|
15095
|
+
* ISO 9362 Bank Identifier Code, always 11 characters. An 8-character BIC is
|
|
15096
|
+
* padded with the XXX head office branch code.
|
|
15084
15097
|
*/
|
|
15085
15098
|
value: string;
|
|
15086
15099
|
}
|
|
@@ -15106,7 +15119,8 @@ export namespace PayoutTrackingEventCreatedWebhookEvent {
|
|
|
15106
15119
|
*/
|
|
15107
15120
|
export interface StatusReason {
|
|
15108
15121
|
/**
|
|
15109
|
-
* Normalized reason code assigned by Augustus.
|
|
15122
|
+
* Normalized reason code assigned by Augustus. Current codes: `CREDIT_PENDING`
|
|
15123
|
+
* (the beneficiary bank reported the credit as pending). New codes may be added.
|
|
15110
15124
|
*/
|
|
15111
15125
|
code: string;
|
|
15112
15126
|
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.34.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.34.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.34.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.34.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|