@augustusbank/typescript-sdk 0.31.0 → 0.33.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 +14 -0
- package/client.d.mts +7 -4
- package/client.d.mts.map +1 -1
- package/client.d.ts +7 -4
- package/client.d.ts.map +1 -1
- package/client.js +3 -0
- package/client.js.map +1 -1
- package/client.mjs +3 -0
- package/client.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/accounts.d.mts +24 -6
- package/resources/accounts.d.mts.map +1 -1
- package/resources/accounts.d.ts +24 -6
- 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/counterparties.d.mts +227 -12
- package/resources/counterparties.d.mts.map +1 -1
- package/resources/counterparties.d.ts +227 -12
- package/resources/counterparties.d.ts.map +1 -1
- package/resources/counterparties.js +16 -0
- package/resources/counterparties.js.map +1 -1
- package/resources/counterparties.mjs +16 -0
- package/resources/counterparties.mjs.map +1 -1
- package/resources/events.d.mts +3 -3
- package/resources/events.d.mts.map +1 -1
- package/resources/events.d.ts +3 -3
- package/resources/events.d.ts.map +1 -1
- package/resources/index.d.mts +3 -2
- package/resources/index.d.mts.map +1 -1
- package/resources/index.d.ts +3 -2
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +3 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -0
- package/resources/index.mjs.map +1 -1
- package/resources/payout-tracking-events.d.mts +358 -0
- package/resources/payout-tracking-events.d.mts.map +1 -0
- package/resources/payout-tracking-events.d.ts +358 -0
- package/resources/payout-tracking-events.d.ts.map +1 -0
- package/resources/payout-tracking-events.js +23 -0
- package/resources/payout-tracking-events.js.map +1 -0
- package/resources/payout-tracking-events.mjs +19 -0
- package/resources/payout-tracking-events.mjs.map +1 -0
- package/resources/payouts.d.mts +24 -0
- package/resources/payouts.d.mts.map +1 -1
- package/resources/payouts.d.ts +24 -0
- package/resources/payouts.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 +4 -4
- package/resources/transactions.d.ts +4 -4
- package/resources/webhook-subscriptions.d.mts +8 -8
- package/resources/webhook-subscriptions.d.mts.map +1 -1
- package/resources/webhook-subscriptions.d.ts +8 -8
- package/resources/webhook-subscriptions.d.ts.map +1 -1
- package/resources/webhooks.d.mts +226 -14
- package/resources/webhooks.d.mts.map +1 -1
- package/resources/webhooks.d.ts +226 -14
- package/resources/webhooks.d.ts.map +1 -1
- package/src/client.ts +21 -0
- package/src/resources/accounts.ts +24 -6
- package/src/resources/api-keys.ts +1 -0
- package/src/resources/counterparties.ts +536 -12
- package/src/resources/events.ts +3 -0
- package/src/resources/index.ts +9 -0
- package/src/resources/payout-tracking-events.ts +479 -0
- package/src/resources/payouts.ts +1368 -0
- package/src/resources/scopes.ts +2 -1
- package/src/resources/transactions.ts +4 -4
- package/src/resources/webhook-subscriptions.ts +8 -0
- package/src/resources/webhooks.ts +1951 -12
- 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/src/client.ts
CHANGED
|
@@ -67,6 +67,7 @@ import {
|
|
|
67
67
|
} from './resources/conversions';
|
|
68
68
|
import {
|
|
69
69
|
Counterparties,
|
|
70
|
+
CounterpartyActivateResponse,
|
|
70
71
|
CounterpartyCreateParams,
|
|
71
72
|
CounterpartyCreateResponse,
|
|
72
73
|
CounterpartyListParams,
|
|
@@ -90,6 +91,13 @@ import {
|
|
|
90
91
|
EventRetrieveResponse,
|
|
91
92
|
Events,
|
|
92
93
|
} from './resources/events';
|
|
94
|
+
import {
|
|
95
|
+
PayoutTrackingEventListParams,
|
|
96
|
+
PayoutTrackingEventListResponse,
|
|
97
|
+
PayoutTrackingEventListResponsesCursorPage,
|
|
98
|
+
PayoutTrackingEventRetrieveResponse,
|
|
99
|
+
PayoutTrackingEvents,
|
|
100
|
+
} from './resources/payout-tracking-events';
|
|
93
101
|
import {
|
|
94
102
|
PayoutCreateParams,
|
|
95
103
|
PayoutCreateResponse,
|
|
@@ -155,6 +163,7 @@ import {
|
|
|
155
163
|
PayoutReturnedWebhookEvent,
|
|
156
164
|
PayoutSentWebhookEvent,
|
|
157
165
|
PayoutSubmittedWebhookEvent,
|
|
166
|
+
PayoutTrackingEventCreatedWebhookEvent,
|
|
158
167
|
PingTestWebhookEvent,
|
|
159
168
|
ReturnFailedWebhookEvent,
|
|
160
169
|
ReturnInitiatedWebhookEvent,
|
|
@@ -957,6 +966,7 @@ export class Augustus {
|
|
|
957
966
|
|
|
958
967
|
webhooks: API.Webhooks = new API.Webhooks(this);
|
|
959
968
|
payouts: API.Payouts = new API.Payouts(this);
|
|
969
|
+
payoutTrackingEvents: API.PayoutTrackingEvents = new API.PayoutTrackingEvents(this);
|
|
960
970
|
deposits: API.Deposits = new API.Deposits(this);
|
|
961
971
|
simulations: API.Simulations = new API.Simulations(this);
|
|
962
972
|
transactions: API.Transactions = new API.Transactions(this);
|
|
@@ -977,6 +987,7 @@ export class Augustus {
|
|
|
977
987
|
|
|
978
988
|
Augustus.Webhooks = Webhooks;
|
|
979
989
|
Augustus.Payouts = Payouts;
|
|
990
|
+
Augustus.PayoutTrackingEvents = PayoutTrackingEvents;
|
|
980
991
|
Augustus.Deposits = Deposits;
|
|
981
992
|
Augustus.Simulations = Simulations;
|
|
982
993
|
Augustus.Transactions = Transactions;
|
|
@@ -1024,6 +1035,7 @@ export declare namespace Augustus {
|
|
|
1024
1035
|
type CounterpartyBlockedWebhookEvent as CounterpartyBlockedWebhookEvent,
|
|
1025
1036
|
type CounterpartyUnblockedWebhookEvent as CounterpartyUnblockedWebhookEvent,
|
|
1026
1037
|
type CounterpartyUpdatedWebhookEvent as CounterpartyUpdatedWebhookEvent,
|
|
1038
|
+
type PayoutTrackingEventCreatedWebhookEvent as PayoutTrackingEventCreatedWebhookEvent,
|
|
1027
1039
|
type PingTestWebhookEvent as PingTestWebhookEvent,
|
|
1028
1040
|
type UnwrapWebhookEvent as UnwrapWebhookEvent,
|
|
1029
1041
|
};
|
|
@@ -1038,6 +1050,14 @@ export declare namespace Augustus {
|
|
|
1038
1050
|
type PayoutListParams as PayoutListParams,
|
|
1039
1051
|
};
|
|
1040
1052
|
|
|
1053
|
+
export {
|
|
1054
|
+
PayoutTrackingEvents as PayoutTrackingEvents,
|
|
1055
|
+
type PayoutTrackingEventRetrieveResponse as PayoutTrackingEventRetrieveResponse,
|
|
1056
|
+
type PayoutTrackingEventListResponse as PayoutTrackingEventListResponse,
|
|
1057
|
+
type PayoutTrackingEventListResponsesCursorPage as PayoutTrackingEventListResponsesCursorPage,
|
|
1058
|
+
type PayoutTrackingEventListParams as PayoutTrackingEventListParams,
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1041
1061
|
export {
|
|
1042
1062
|
Deposits as Deposits,
|
|
1043
1063
|
type DepositRetrieveResponse as DepositRetrieveResponse,
|
|
@@ -1112,6 +1132,7 @@ export declare namespace Augustus {
|
|
|
1112
1132
|
type CounterpartyRetrieveResponse as CounterpartyRetrieveResponse,
|
|
1113
1133
|
type CounterpartyUpdateResponse as CounterpartyUpdateResponse,
|
|
1114
1134
|
type CounterpartyListResponse as CounterpartyListResponse,
|
|
1135
|
+
type CounterpartyActivateResponse as CounterpartyActivateResponse,
|
|
1115
1136
|
type CounterpartyListResponsesCursorPage as CounterpartyListResponsesCursorPage,
|
|
1116
1137
|
type CounterpartyCreateParams as CounterpartyCreateParams,
|
|
1117
1138
|
type CounterpartyUpdateParams as CounterpartyUpdateParams,
|
|
@@ -147,7 +147,10 @@ export interface AccountCreateResponse {
|
|
|
147
147
|
|
|
148
148
|
/**
|
|
149
149
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
150
|
-
* this account can send or receive funds.
|
|
150
|
+
* this account can send or receive funds. US dollar accounts that use an ABA
|
|
151
|
+
* routing number also include a companion `bic` entry for inbound wires: it
|
|
152
|
+
* carries the bank’s SWIFT code, reuses the same `account_number` as the `aba`
|
|
153
|
+
* entry, and leaves `local_bank_code` null.
|
|
151
154
|
*/
|
|
152
155
|
financial_addresses: Array<
|
|
153
156
|
| AccountCreateResponse.AbaFinancialAddress
|
|
@@ -344,7 +347,10 @@ export interface AccountRetrieveResponse {
|
|
|
344
347
|
|
|
345
348
|
/**
|
|
346
349
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
347
|
-
* this account can send or receive funds.
|
|
350
|
+
* this account can send or receive funds. US dollar accounts that use an ABA
|
|
351
|
+
* routing number also include a companion `bic` entry for inbound wires: it
|
|
352
|
+
* carries the bank’s SWIFT code, reuses the same `account_number` as the `aba`
|
|
353
|
+
* entry, and leaves `local_bank_code` null.
|
|
348
354
|
*/
|
|
349
355
|
financial_addresses: Array<
|
|
350
356
|
| AccountRetrieveResponse.AbaFinancialAddress
|
|
@@ -541,7 +547,10 @@ export interface AccountListResponse {
|
|
|
541
547
|
|
|
542
548
|
/**
|
|
543
549
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
544
|
-
* this account can send or receive funds.
|
|
550
|
+
* this account can send or receive funds. US dollar accounts that use an ABA
|
|
551
|
+
* routing number also include a companion `bic` entry for inbound wires: it
|
|
552
|
+
* carries the bank’s SWIFT code, reuses the same `account_number` as the `aba`
|
|
553
|
+
* entry, and leaves `local_bank_code` null.
|
|
545
554
|
*/
|
|
546
555
|
financial_addresses: Array<
|
|
547
556
|
| AccountListResponse.AbaFinancialAddress
|
|
@@ -738,7 +747,10 @@ export interface AccountCloseResponse {
|
|
|
738
747
|
|
|
739
748
|
/**
|
|
740
749
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
741
|
-
* this account can send or receive funds.
|
|
750
|
+
* this account can send or receive funds. US dollar accounts that use an ABA
|
|
751
|
+
* routing number also include a companion `bic` entry for inbound wires: it
|
|
752
|
+
* carries the bank’s SWIFT code, reuses the same `account_number` as the `aba`
|
|
753
|
+
* entry, and leaves `local_bank_code` null.
|
|
742
754
|
*/
|
|
743
755
|
financial_addresses: Array<
|
|
744
756
|
| AccountCloseResponse.AbaFinancialAddress
|
|
@@ -935,7 +947,10 @@ export interface AccountFreezeResponse {
|
|
|
935
947
|
|
|
936
948
|
/**
|
|
937
949
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
938
|
-
* this account can send or receive funds.
|
|
950
|
+
* this account can send or receive funds. US dollar accounts that use an ABA
|
|
951
|
+
* routing number also include a companion `bic` entry for inbound wires: it
|
|
952
|
+
* carries the bank’s SWIFT code, reuses the same `account_number` as the `aba`
|
|
953
|
+
* entry, and leaves `local_bank_code` null.
|
|
939
954
|
*/
|
|
940
955
|
financial_addresses: Array<
|
|
941
956
|
| AccountFreezeResponse.AbaFinancialAddress
|
|
@@ -1170,7 +1185,10 @@ export interface AccountUnfreezeResponse {
|
|
|
1170
1185
|
|
|
1171
1186
|
/**
|
|
1172
1187
|
* Payment identifiers (e.g. IBAN, account number, wallet address) through which
|
|
1173
|
-
* this account can send or receive funds.
|
|
1188
|
+
* this account can send or receive funds. US dollar accounts that use an ABA
|
|
1189
|
+
* routing number also include a companion `bic` entry for inbound wires: it
|
|
1190
|
+
* carries the bank’s SWIFT code, reuses the same `account_number` as the `aba`
|
|
1191
|
+
* entry, and leaves `local_bank_code` null.
|
|
1174
1192
|
*/
|
|
1175
1193
|
financial_addresses: Array<
|
|
1176
1194
|
| AccountUnfreezeResponse.AbaFinancialAddress
|