increase 0.8.1 → 0.9.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 +23 -0
- package/README.md +29 -9
- package/_shims/fetch.d.ts +8 -1
- package/_shims/fetch.node.d.ts +11 -1
- package/core.d.ts +75 -27
- package/core.d.ts.map +1 -1
- package/core.js +112 -49
- package/core.js.map +1 -1
- package/core.mjs +108 -49
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.ts +2 -2
- package/pagination.d.ts.map +1 -1
- package/pagination.js +4 -4
- package/pagination.js.map +1 -1
- package/pagination.mjs +4 -4
- package/pagination.mjs.map +1 -1
- package/resources/account-numbers.d.ts +8 -8
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +3 -6
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +6 -18
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +6 -6
- package/resources/accounts.d.ts.map +1 -1
- package/resources/ach-prenotifications.d.ts +51 -7
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +16 -9
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/balance-lookups.d.ts +1 -1
- package/resources/balance-lookups.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +3 -3
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-entries.d.ts +2 -2
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +1 -1
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/card-disputes.d.ts +7 -7
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-profiles.d.ts +15 -7
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js +6 -0
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +6 -0
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +3 -3
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/cards.d.ts +6 -13
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +7 -7
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +15 -10
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +25 -28
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +3 -6
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +3 -3
- package/resources/documents.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +4 -8
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +11 -11
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +6 -0
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +6 -0
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +2 -2
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/event-subscriptions.d.ts +5 -8
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +7 -5
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +4 -4
- package/resources/exports.d.ts.map +1 -1
- package/resources/external-accounts.d.ts +5 -11
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +9 -4
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +2 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -2
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +1 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.d.ts +6 -4
- package/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.js.map +1 -1
- package/resources/inbound-ach-transfer-returns.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +5 -3
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/limits.d.ts +5 -9
- package/resources/limits.d.ts.map +1 -1
- package/resources/limits.js.map +1 -1
- package/resources/limits.mjs.map +1 -1
- package/resources/oauth-connections.d.ts +3 -6
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +28 -37
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/programs.d.ts +3 -3
- package/resources/programs.d.ts.map +1 -1
- package/resources/real-time-decisions.d.ts +2 -5
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +6 -4
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +4 -1
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.ts +1 -1
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-transfers.d.ts +1 -1
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +124 -138
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +1 -1
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-profiles.d.ts +1 -4
- package/resources/simulations/card-profiles.d.ts.map +1 -1
- package/resources/simulations/card-profiles.js.map +1 -1
- package/resources/simulations/card-profiles.mjs.map +1 -1
- package/resources/simulations/card-refunds.d.ts +1 -1
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/cards.d.ts +49 -58
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +3 -12
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-transfers.d.ts +2 -2
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/documents.d.ts +1 -4
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/interest-payments.d.ts +100 -108
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/programs.d.ts +1 -4
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +123 -134
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +100 -108
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +105 -110
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +4 -4
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-transfers.d.ts +11 -11
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/_shims/fetch.d.ts +8 -1
- package/src/_shims/fetch.node.d.ts +11 -1
- package/src/core.ts +167 -70
- package/src/pagination.ts +5 -5
- package/src/resources/account-numbers.ts +9 -9
- package/src/resources/account-statements.ts +4 -7
- package/src/resources/account-transfers.ts +7 -19
- package/src/resources/accounts.ts +7 -7
- package/src/resources/ach-prenotifications.ts +56 -8
- package/src/resources/ach-transfers.ts +18 -10
- package/src/resources/balance-lookups.ts +1 -1
- package/src/resources/bookkeeping-accounts.ts +4 -4
- package/src/resources/bookkeeping-entries.ts +3 -3
- package/src/resources/bookkeeping-entry-sets.ts +1 -1
- package/src/resources/card-disputes.ts +8 -8
- package/src/resources/card-profiles.ts +20 -8
- package/src/resources/card-purchase-supplements.ts +4 -4
- package/src/resources/cards.ts +7 -14
- package/src/resources/check-deposits.ts +8 -8
- package/src/resources/check-transfers.ts +17 -11
- package/src/resources/declined-transactions.ts +26 -29
- package/src/resources/digital-wallet-tokens.ts +4 -7
- package/src/resources/documents.ts +4 -4
- package/src/resources/entities/beneficial-owners.ts +4 -8
- package/src/resources/entities/entities.ts +15 -12
- package/src/resources/entities/supplemental-documents.ts +2 -2
- package/src/resources/event-subscriptions.ts +6 -9
- package/src/resources/events.ts +8 -6
- package/src/resources/exports.ts +5 -5
- package/src/resources/external-accounts.ts +6 -12
- package/src/resources/files.ts +11 -6
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfer-returns.ts +7 -5
- package/src/resources/inbound-wire-drawdown-requests.ts +6 -4
- package/src/resources/limits.ts +6 -10
- package/src/resources/oauth-connections.ts +4 -7
- package/src/resources/pending-transactions.ts +29 -38
- package/src/resources/programs.ts +4 -4
- package/src/resources/real-time-decisions.ts +2 -5
- package/src/resources/real-time-payments-transfers.ts +7 -5
- package/src/resources/routing-numbers.ts +4 -1
- package/src/resources/simulations/account-statements.ts +1 -1
- package/src/resources/simulations/account-transfers.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +124 -138
- package/src/resources/simulations/card-disputes.ts +1 -1
- package/src/resources/simulations/card-profiles.ts +1 -4
- package/src/resources/simulations/card-refunds.ts +1 -1
- package/src/resources/simulations/cards.ts +49 -58
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +2 -2
- package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
- package/src/resources/simulations/documents.ts +1 -4
- package/src/resources/simulations/inbound-funds-holds.ts +1 -1
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/simulations/interest-payments.ts +100 -108
- package/src/resources/simulations/programs.ts +1 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +123 -134
- package/src/resources/simulations/wire-transfers.ts +100 -108
- package/src/resources/transactions.ts +106 -111
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +12 -12
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -10,19 +10,22 @@ export class Transactions extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieve a Transaction
|
|
12
12
|
*/
|
|
13
|
-
retrieve(transactionId: string, options?: Core.RequestOptions):
|
|
13
|
+
retrieve(transactionId: string, options?: Core.RequestOptions): Core.APIPromise<Transaction> {
|
|
14
14
|
return this.get(`/transactions/${transactionId}`, options);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* List Transactions
|
|
19
19
|
*/
|
|
20
|
-
list(
|
|
21
|
-
|
|
20
|
+
list(
|
|
21
|
+
query?: TransactionListParams,
|
|
22
|
+
options?: Core.RequestOptions,
|
|
23
|
+
): Core.PagePromise<TransactionsPage, Transaction>;
|
|
24
|
+
list(options?: Core.RequestOptions): Core.PagePromise<TransactionsPage, Transaction>;
|
|
22
25
|
list(
|
|
23
26
|
query: TransactionListParams | Core.RequestOptions = {},
|
|
24
27
|
options?: Core.RequestOptions,
|
|
25
|
-
): Core.PagePromise<TransactionsPage> {
|
|
28
|
+
): Core.PagePromise<TransactionsPage, Transaction> {
|
|
26
29
|
if (isRequestOptions(query)) {
|
|
27
30
|
return this.list({}, query);
|
|
28
31
|
}
|
|
@@ -120,26 +123,26 @@ export namespace Transaction {
|
|
|
120
123
|
*/
|
|
121
124
|
export interface Source {
|
|
122
125
|
/**
|
|
123
|
-
*
|
|
126
|
+
* An Account Transfer Intention object. This field will be present in the JSON
|
|
124
127
|
* response if and only if `category` is equal to `account_transfer_intention`.
|
|
125
128
|
*/
|
|
126
129
|
account_transfer_intention: Source.AccountTransferIntention | null;
|
|
127
130
|
|
|
128
131
|
/**
|
|
129
|
-
*
|
|
130
|
-
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
132
|
+
* An ACH Transfer Intention object. This field will be present in the JSON
|
|
133
|
+
* response if and only if `category` is equal to `ach_transfer_intention`.
|
|
131
134
|
*/
|
|
132
135
|
ach_transfer_intention: Source.ACHTransferIntention | null;
|
|
133
136
|
|
|
134
137
|
/**
|
|
135
|
-
*
|
|
136
|
-
* if and only if `category` is equal to `ach_transfer_rejection`.
|
|
138
|
+
* An ACH Transfer Rejection object. This field will be present in the JSON
|
|
139
|
+
* response if and only if `category` is equal to `ach_transfer_rejection`.
|
|
137
140
|
*/
|
|
138
141
|
ach_transfer_rejection: Source.ACHTransferRejection | null;
|
|
139
142
|
|
|
140
143
|
/**
|
|
141
|
-
*
|
|
142
|
-
* and only if `category` is equal to `ach_transfer_return`.
|
|
144
|
+
* An ACH Transfer Return object. This field will be present in the JSON response
|
|
145
|
+
* if and only if `category` is equal to `ach_transfer_return`.
|
|
143
146
|
*/
|
|
144
147
|
ach_transfer_return: Source.ACHTransferReturn | null;
|
|
145
148
|
|
|
@@ -168,77 +171,69 @@ export namespace Transaction {
|
|
|
168
171
|
card_settlement: Source.CardSettlement | null;
|
|
169
172
|
|
|
170
173
|
/**
|
|
171
|
-
* The type of
|
|
172
|
-
*
|
|
173
|
-
* additions gracefully.
|
|
174
|
+
* The type of the resource. We may add additional possible values for this enum
|
|
175
|
+
* over time; your application should be able to handle such additions gracefully.
|
|
174
176
|
*
|
|
175
|
-
* - `account_transfer_intention` -
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
*
|
|
183
|
-
*
|
|
184
|
-
*
|
|
185
|
-
*
|
|
186
|
-
* - `
|
|
187
|
-
*
|
|
188
|
-
* - `
|
|
189
|
-
*
|
|
190
|
-
* - `
|
|
191
|
-
*
|
|
192
|
-
* - `
|
|
193
|
-
*
|
|
177
|
+
* - `account_transfer_intention` - Account Transfer Intention: details will be
|
|
178
|
+
* under the `account_transfer_intention` object.
|
|
179
|
+
* - `ach_transfer_intention` - ACH Transfer Intention: details will be under the
|
|
180
|
+
* `ach_transfer_intention` object.
|
|
181
|
+
* - `ach_transfer_rejection` - ACH Transfer Rejection: details will be under the
|
|
182
|
+
* `ach_transfer_rejection` object.
|
|
183
|
+
* - `ach_transfer_return` - ACH Transfer Return: details will be under the
|
|
184
|
+
* `ach_transfer_return` object.
|
|
185
|
+
* - `card_dispute_acceptance` - Card Dispute Acceptance: details will be under the
|
|
186
|
+
* `card_dispute_acceptance` object.
|
|
187
|
+
* - `card_refund` - Card Refund: details will be under the `card_refund` object.
|
|
188
|
+
* - `card_revenue_payment` - Card Revenue Payment: details will be under the
|
|
189
|
+
* `card_revenue_payment` object.
|
|
190
|
+
* - `card_settlement` - Card Settlement: details will be under the
|
|
191
|
+
* `card_settlement` object.
|
|
192
|
+
* - `check_deposit_acceptance` - Check Deposit Acceptance: details will be under
|
|
193
|
+
* the `check_deposit_acceptance` object.
|
|
194
|
+
* - `check_deposit_return` - Check Deposit Return: details will be under the
|
|
195
|
+
* `check_deposit_return` object.
|
|
196
|
+
* - `check_transfer_deposit` - Check Transfer Deposit: details will be under the
|
|
197
|
+
* `check_transfer_deposit` object.
|
|
198
|
+
* - `check_transfer_intention` - Check Transfer Intention: details will be under
|
|
199
|
+
* the `check_transfer_intention` object.
|
|
200
|
+
* - `check_transfer_stop_payment_request` - Check Transfer Stop Payment Request:
|
|
201
|
+
* details will be under the `check_transfer_stop_payment_request` object.
|
|
202
|
+
* - `fee_payment` - Fee Payment: details will be under the `fee_payment` object.
|
|
203
|
+
* - `inbound_ach_transfer` - Inbound ACH Transfer Intention: details will be under
|
|
204
|
+
* the `inbound_ach_transfer` object.
|
|
205
|
+
* - `inbound_ach_transfer_return_intention` - Inbound ACH Transfer Return
|
|
206
|
+
* Intention: details will be under the `inbound_ach_transfer_return_intention`
|
|
207
|
+
* object.
|
|
208
|
+
* - `inbound_check` - Inbound Check: details will be under the `inbound_check`
|
|
209
|
+
* object.
|
|
210
|
+
* - `inbound_international_ach_transfer` - Inbound International ACH Transfer:
|
|
211
|
+
* details will be under the `inbound_international_ach_transfer` object.
|
|
212
|
+
* - `inbound_real_time_payments_transfer_confirmation` - Inbound Real Time
|
|
213
|
+
* Payments Transfer Confirmation: details will be under the
|
|
214
|
+
* `inbound_real_time_payments_transfer_confirmation` object.
|
|
215
|
+
* - `inbound_wire_drawdown_payment` - Inbound Wire Drawdown Payment: details will
|
|
216
|
+
* be under the `inbound_wire_drawdown_payment` object.
|
|
217
|
+
* - `inbound_wire_drawdown_payment_reversal` - Inbound Wire Drawdown Payment
|
|
218
|
+
* Reversal: details will be under the `inbound_wire_drawdown_payment_reversal`
|
|
219
|
+
* object.
|
|
220
|
+
* - `inbound_wire_reversal` - Inbound Wire Reversal: details will be under the
|
|
221
|
+
* `inbound_wire_reversal` object.
|
|
222
|
+
* - `inbound_wire_transfer` - Inbound Wire Transfer: details will be under the
|
|
223
|
+
* `inbound_wire_transfer` object.
|
|
224
|
+
* - `interest_payment` - Interest Payment: details will be under the
|
|
225
|
+
* `interest_payment` object.
|
|
226
|
+
* - `internal_source` - Internal Source: details will be under the
|
|
227
|
+
* `internal_source` object.
|
|
228
|
+
* - `real_time_payments_transfer_acknowledgement` - Real Time Payments Transfer
|
|
229
|
+
* Acknowledgement: details will be under the
|
|
230
|
+
* `real_time_payments_transfer_acknowledgement` object.
|
|
231
|
+
* - `sample_funds` - Sample Funds: details will be under the `sample_funds`
|
|
194
232
|
* object.
|
|
195
|
-
* - `
|
|
196
|
-
*
|
|
197
|
-
* - `
|
|
198
|
-
*
|
|
199
|
-
* - `check_transfer_intention` - The Transaction was created by a Check Transfer
|
|
200
|
-
* Intention object. Details will be under the `check_transfer_intention` object.
|
|
201
|
-
* - `check_transfer_stop_payment_request` - The Transaction was created by a Check
|
|
202
|
-
* Transfer Stop Payment Request object. Details will be under the
|
|
203
|
-
* `check_transfer_stop_payment_request` object.
|
|
204
|
-
* - `fee_payment` - The Transaction was created by a Fee Payment object. Details
|
|
205
|
-
* will be under the `fee_payment` object.
|
|
206
|
-
* - `inbound_ach_transfer` - The Transaction was created by a Inbound ACH Transfer
|
|
207
|
-
* object. Details will be under the `inbound_ach_transfer` object.
|
|
208
|
-
* - `inbound_ach_transfer_return_intention` - The Transaction was created by a
|
|
209
|
-
* Inbound ACH Transfer Return Intention object. Details will be under the
|
|
210
|
-
* `inbound_ach_transfer_return_intention` object.
|
|
211
|
-
* - `inbound_check` - The Transaction was created by a Inbound Check object.
|
|
212
|
-
* Details will be under the `inbound_check` object.
|
|
213
|
-
* - `inbound_international_ach_transfer` - The Transaction was created by a
|
|
214
|
-
* Inbound International ACH Transfer object. Details will be under the
|
|
215
|
-
* `inbound_international_ach_transfer` object.
|
|
216
|
-
* - `inbound_real_time_payments_transfer_confirmation` - The Transaction was
|
|
217
|
-
* created by a Inbound Real Time Payments Transfer Confirmation object. Details
|
|
218
|
-
* will be under the `inbound_real_time_payments_transfer_confirmation` object.
|
|
219
|
-
* - `inbound_wire_drawdown_payment` - The Transaction was created by a Inbound
|
|
220
|
-
* Wire Drawdown Payment object. Details will be under the
|
|
221
|
-
* `inbound_wire_drawdown_payment` object.
|
|
222
|
-
* - `inbound_wire_drawdown_payment_reversal` - The Transaction was created by a
|
|
223
|
-
* Inbound Wire Drawdown Payment Reversal object. Details will be under the
|
|
224
|
-
* `inbound_wire_drawdown_payment_reversal` object.
|
|
225
|
-
* - `inbound_wire_reversal` - The Transaction was created by a Inbound Wire
|
|
226
|
-
* Reversal object. Details will be under the `inbound_wire_reversal` object.
|
|
227
|
-
* - `inbound_wire_transfer` - The Transaction was created by a Inbound Wire
|
|
228
|
-
* Transfer object. Details will be under the `inbound_wire_transfer` object.
|
|
229
|
-
* - `interest_payment` - The Transaction was created by a Interest Payment object.
|
|
230
|
-
* Details will be under the `interest_payment` object.
|
|
231
|
-
* - `internal_source` - The Transaction was created by a Internal Source object.
|
|
232
|
-
* Details will be under the `internal_source` object.
|
|
233
|
-
* - `real_time_payments_transfer_acknowledgement` - The Transaction was created by
|
|
234
|
-
* a Real Time Payments Transfer Acknowledgement object. Details will be under
|
|
235
|
-
* the `real_time_payments_transfer_acknowledgement` object.
|
|
236
|
-
* - `sample_funds` - The Transaction was created by a Sample Funds object. Details
|
|
237
|
-
* will be under the `sample_funds` object.
|
|
238
|
-
* - `wire_transfer_intention` - The Transaction was created by a Wire Transfer
|
|
239
|
-
* Intention object. Details will be under the `wire_transfer_intention` object.
|
|
240
|
-
* - `wire_transfer_rejection` - The Transaction was created by a Wire Transfer
|
|
241
|
-
* Rejection object. Details will be under the `wire_transfer_rejection` object.
|
|
233
|
+
* - `wire_transfer_intention` - Wire Transfer Intention: details will be under the
|
|
234
|
+
* `wire_transfer_intention` object.
|
|
235
|
+
* - `wire_transfer_rejection` - Wire Transfer Rejection: details will be under the
|
|
236
|
+
* `wire_transfer_rejection` object.
|
|
242
237
|
* - `other` - The Transaction was made for an undocumented or deprecated reason.
|
|
243
238
|
*/
|
|
244
239
|
category:
|
|
@@ -311,65 +306,65 @@ export namespace Transaction {
|
|
|
311
306
|
fee_payment: Source.FeePayment | null;
|
|
312
307
|
|
|
313
308
|
/**
|
|
314
|
-
*
|
|
315
|
-
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
309
|
+
* An Inbound ACH Transfer Intention object. This field will be present in the JSON
|
|
310
|
+
* response if and only if `category` is equal to `inbound_ach_transfer`.
|
|
316
311
|
*/
|
|
317
312
|
inbound_ach_transfer: Source.InboundACHTransfer | null;
|
|
318
313
|
|
|
319
314
|
/**
|
|
320
|
-
*
|
|
315
|
+
* An Inbound Check object. This field will be present in the JSON response if and
|
|
321
316
|
* only if `category` is equal to `inbound_check`.
|
|
322
317
|
*/
|
|
323
318
|
inbound_check: Source.InboundCheck | null;
|
|
324
319
|
|
|
325
320
|
/**
|
|
326
|
-
*
|
|
321
|
+
* An Inbound International ACH Transfer object. This field will be present in the
|
|
327
322
|
* JSON response if and only if `category` is equal to
|
|
328
323
|
* `inbound_international_ach_transfer`.
|
|
329
324
|
*/
|
|
330
325
|
inbound_international_ach_transfer: Source.InboundInternationalACHTransfer | null;
|
|
331
326
|
|
|
332
327
|
/**
|
|
333
|
-
*
|
|
328
|
+
* An Inbound Real Time Payments Transfer Confirmation object. This field will be
|
|
334
329
|
* present in the JSON response if and only if `category` is equal to
|
|
335
330
|
* `inbound_real_time_payments_transfer_confirmation`.
|
|
336
331
|
*/
|
|
337
332
|
inbound_real_time_payments_transfer_confirmation: Source.InboundRealTimePaymentsTransferConfirmation | null;
|
|
338
333
|
|
|
339
334
|
/**
|
|
340
|
-
*
|
|
335
|
+
* An Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
341
336
|
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
342
337
|
*/
|
|
343
338
|
inbound_wire_drawdown_payment: Source.InboundWireDrawdownPayment | null;
|
|
344
339
|
|
|
345
340
|
/**
|
|
346
|
-
*
|
|
341
|
+
* An Inbound Wire Drawdown Payment Reversal object. This field will be present in
|
|
347
342
|
* the JSON response if and only if `category` is equal to
|
|
348
343
|
* `inbound_wire_drawdown_payment_reversal`.
|
|
349
344
|
*/
|
|
350
345
|
inbound_wire_drawdown_payment_reversal: Source.InboundWireDrawdownPaymentReversal | null;
|
|
351
346
|
|
|
352
347
|
/**
|
|
353
|
-
*
|
|
348
|
+
* An Inbound Wire Reversal object. This field will be present in the JSON response
|
|
354
349
|
* if and only if `category` is equal to `inbound_wire_reversal`.
|
|
355
350
|
*/
|
|
356
351
|
inbound_wire_reversal: Source.InboundWireReversal | null;
|
|
357
352
|
|
|
358
353
|
/**
|
|
359
|
-
*
|
|
354
|
+
* An Inbound Wire Transfer object. This field will be present in the JSON response
|
|
360
355
|
* if and only if `category` is equal to `inbound_wire_transfer`.
|
|
361
356
|
*/
|
|
362
357
|
inbound_wire_transfer: Source.InboundWireTransfer | null;
|
|
363
358
|
|
|
364
359
|
/**
|
|
365
|
-
*
|
|
360
|
+
* An Interest Payment object. This field will be present in the JSON response if
|
|
366
361
|
* and only if `category` is equal to `interest_payment`.
|
|
367
362
|
*/
|
|
368
363
|
interest_payment: Source.InterestPayment | null;
|
|
369
364
|
|
|
370
365
|
/**
|
|
371
|
-
*
|
|
372
|
-
* only if `category` is equal to `internal_source`.
|
|
366
|
+
* An Internal Source object. This field will be present in the JSON response if
|
|
367
|
+
* and only if `category` is equal to `internal_source`.
|
|
373
368
|
*/
|
|
374
369
|
internal_source: Source.InternalSource | null;
|
|
375
370
|
|
|
@@ -401,7 +396,7 @@ export namespace Transaction {
|
|
|
401
396
|
|
|
402
397
|
export namespace Source {
|
|
403
398
|
/**
|
|
404
|
-
*
|
|
399
|
+
* An Account Transfer Intention object. This field will be present in the JSON
|
|
405
400
|
* response if and only if `category` is equal to `account_transfer_intention`.
|
|
406
401
|
*/
|
|
407
402
|
export interface AccountTransferIntention {
|
|
@@ -446,8 +441,8 @@ export namespace Transaction {
|
|
|
446
441
|
}
|
|
447
442
|
|
|
448
443
|
/**
|
|
449
|
-
*
|
|
450
|
-
* if and only if `category` is equal to `ach_transfer_intention`.
|
|
444
|
+
* An ACH Transfer Intention object. This field will be present in the JSON
|
|
445
|
+
* response if and only if `category` is equal to `ach_transfer_intention`.
|
|
451
446
|
*/
|
|
452
447
|
export interface ACHTransferIntention {
|
|
453
448
|
account_number: string;
|
|
@@ -469,8 +464,8 @@ export namespace Transaction {
|
|
|
469
464
|
}
|
|
470
465
|
|
|
471
466
|
/**
|
|
472
|
-
*
|
|
473
|
-
* if and only if `category` is equal to `ach_transfer_rejection`.
|
|
467
|
+
* An ACH Transfer Rejection object. This field will be present in the JSON
|
|
468
|
+
* response if and only if `category` is equal to `ach_transfer_rejection`.
|
|
474
469
|
*/
|
|
475
470
|
export interface ACHTransferRejection {
|
|
476
471
|
/**
|
|
@@ -480,8 +475,8 @@ export namespace Transaction {
|
|
|
480
475
|
}
|
|
481
476
|
|
|
482
477
|
/**
|
|
483
|
-
*
|
|
484
|
-
* and only if `category` is equal to `ach_transfer_return`.
|
|
478
|
+
* An ACH Transfer Return object. This field will be present in the JSON response
|
|
479
|
+
* if and only if `category` is equal to `ach_transfer_return`.
|
|
485
480
|
*/
|
|
486
481
|
export interface ACHTransferReturn {
|
|
487
482
|
/**
|
|
@@ -2304,8 +2299,8 @@ export namespace Transaction {
|
|
|
2304
2299
|
}
|
|
2305
2300
|
|
|
2306
2301
|
/**
|
|
2307
|
-
*
|
|
2308
|
-
* if and only if `category` is equal to `inbound_ach_transfer`.
|
|
2302
|
+
* An Inbound ACH Transfer Intention object. This field will be present in the JSON
|
|
2303
|
+
* response if and only if `category` is equal to `inbound_ach_transfer`.
|
|
2309
2304
|
*/
|
|
2310
2305
|
export interface InboundACHTransfer {
|
|
2311
2306
|
/**
|
|
@@ -2332,7 +2327,7 @@ export namespace Transaction {
|
|
|
2332
2327
|
}
|
|
2333
2328
|
|
|
2334
2329
|
/**
|
|
2335
|
-
*
|
|
2330
|
+
* An Inbound Check object. This field will be present in the JSON response if and
|
|
2336
2331
|
* only if `category` is equal to `inbound_check`.
|
|
2337
2332
|
*/
|
|
2338
2333
|
export interface InboundCheck {
|
|
@@ -2363,7 +2358,7 @@ export namespace Transaction {
|
|
|
2363
2358
|
}
|
|
2364
2359
|
|
|
2365
2360
|
/**
|
|
2366
|
-
*
|
|
2361
|
+
* An Inbound International ACH Transfer object. This field will be present in the
|
|
2367
2362
|
* JSON response if and only if `category` is equal to
|
|
2368
2363
|
* `inbound_international_ach_transfer`.
|
|
2369
2364
|
*/
|
|
@@ -2446,7 +2441,7 @@ export namespace Transaction {
|
|
|
2446
2441
|
}
|
|
2447
2442
|
|
|
2448
2443
|
/**
|
|
2449
|
-
*
|
|
2444
|
+
* An Inbound Real Time Payments Transfer Confirmation object. This field will be
|
|
2450
2445
|
* present in the JSON response if and only if `category` is equal to
|
|
2451
2446
|
* `inbound_real_time_payments_transfer_confirmation`.
|
|
2452
2447
|
*/
|
|
@@ -2502,7 +2497,7 @@ export namespace Transaction {
|
|
|
2502
2497
|
}
|
|
2503
2498
|
|
|
2504
2499
|
/**
|
|
2505
|
-
*
|
|
2500
|
+
* An Inbound Wire Drawdown Payment object. This field will be present in the JSON
|
|
2506
2501
|
* response if and only if `category` is equal to `inbound_wire_drawdown_payment`.
|
|
2507
2502
|
*/
|
|
2508
2503
|
export interface InboundWireDrawdownPayment {
|
|
@@ -2538,7 +2533,7 @@ export namespace Transaction {
|
|
|
2538
2533
|
}
|
|
2539
2534
|
|
|
2540
2535
|
/**
|
|
2541
|
-
*
|
|
2536
|
+
* An Inbound Wire Drawdown Payment Reversal object. This field will be present in
|
|
2542
2537
|
* the JSON response if and only if `category` is equal to
|
|
2543
2538
|
* `inbound_wire_drawdown_payment_reversal`.
|
|
2544
2539
|
*/
|
|
@@ -2595,7 +2590,7 @@ export namespace Transaction {
|
|
|
2595
2590
|
}
|
|
2596
2591
|
|
|
2597
2592
|
/**
|
|
2598
|
-
*
|
|
2593
|
+
* An Inbound Wire Reversal object. This field will be present in the JSON response
|
|
2599
2594
|
* if and only if `category` is equal to `inbound_wire_reversal`.
|
|
2600
2595
|
*/
|
|
2601
2596
|
export interface InboundWireReversal {
|
|
@@ -2678,7 +2673,7 @@ export namespace Transaction {
|
|
|
2678
2673
|
}
|
|
2679
2674
|
|
|
2680
2675
|
/**
|
|
2681
|
-
*
|
|
2676
|
+
* An Inbound Wire Transfer object. This field will be present in the JSON response
|
|
2682
2677
|
* if and only if `category` is equal to `inbound_wire_transfer`.
|
|
2683
2678
|
*/
|
|
2684
2679
|
export interface InboundWireTransfer {
|
|
@@ -2722,7 +2717,7 @@ export namespace Transaction {
|
|
|
2722
2717
|
}
|
|
2723
2718
|
|
|
2724
2719
|
/**
|
|
2725
|
-
*
|
|
2720
|
+
* An Interest Payment object. This field will be present in the JSON response if
|
|
2726
2721
|
* and only if `category` is equal to `interest_payment`.
|
|
2727
2722
|
*/
|
|
2728
2723
|
export interface InterestPayment {
|
|
@@ -2762,8 +2757,8 @@ export namespace Transaction {
|
|
|
2762
2757
|
}
|
|
2763
2758
|
|
|
2764
2759
|
/**
|
|
2765
|
-
*
|
|
2766
|
-
* only if `category` is equal to `internal_source`.
|
|
2760
|
+
* An Internal Source object. This field will be present in the JSON response if
|
|
2761
|
+
* and only if `category` is equal to `internal_source`.
|
|
2767
2762
|
*/
|
|
2768
2763
|
export interface InternalSource {
|
|
2769
2764
|
/**
|
|
@@ -13,7 +13,7 @@ export class WireDrawdownRequests extends APIResource {
|
|
|
13
13
|
create(
|
|
14
14
|
body: WireDrawdownRequestCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<WireDrawdownRequest> {
|
|
17
17
|
return this.post('/wire_drawdown_requests', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -23,7 +23,7 @@ export class WireDrawdownRequests extends APIResource {
|
|
|
23
23
|
retrieve(
|
|
24
24
|
wireDrawdownRequestId: string,
|
|
25
25
|
options?: Core.RequestOptions,
|
|
26
|
-
):
|
|
26
|
+
): Core.APIPromise<WireDrawdownRequest> {
|
|
27
27
|
return this.get(`/wire_drawdown_requests/${wireDrawdownRequestId}`, options);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -33,12 +33,12 @@ export class WireDrawdownRequests extends APIResource {
|
|
|
33
33
|
list(
|
|
34
34
|
query?: WireDrawdownRequestListParams,
|
|
35
35
|
options?: Core.RequestOptions,
|
|
36
|
-
): Core.PagePromise<WireDrawdownRequestsPage>;
|
|
37
|
-
list(options?: Core.RequestOptions): Core.PagePromise<WireDrawdownRequestsPage>;
|
|
36
|
+
): Core.PagePromise<WireDrawdownRequestsPage, WireDrawdownRequest>;
|
|
37
|
+
list(options?: Core.RequestOptions): Core.PagePromise<WireDrawdownRequestsPage, WireDrawdownRequest>;
|
|
38
38
|
list(
|
|
39
39
|
query: WireDrawdownRequestListParams | Core.RequestOptions = {},
|
|
40
40
|
options?: Core.RequestOptions,
|
|
41
|
-
): Core.PagePromise<WireDrawdownRequestsPage> {
|
|
41
|
+
): Core.PagePromise<WireDrawdownRequestsPage, WireDrawdownRequest> {
|
|
42
42
|
if (isRequestOptions(query)) {
|
|
43
43
|
return this.list({}, query);
|
|
44
44
|
}
|
|
@@ -10,29 +10,29 @@ export class WireTransfers extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Create a Wire Transfer
|
|
12
12
|
*/
|
|
13
|
-
create(
|
|
14
|
-
body: WireTransferCreateParams,
|
|
15
|
-
options?: Core.RequestOptions,
|
|
16
|
-
): Promise<Core.APIResponse<WireTransfer>> {
|
|
13
|
+
create(body: WireTransferCreateParams, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
|
|
17
14
|
return this.post('/wire_transfers', { body, ...options });
|
|
18
15
|
}
|
|
19
16
|
|
|
20
17
|
/**
|
|
21
18
|
* Retrieve a Wire Transfer
|
|
22
19
|
*/
|
|
23
|
-
retrieve(wireTransferId: string, options?: Core.RequestOptions):
|
|
20
|
+
retrieve(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
|
|
24
21
|
return this.get(`/wire_transfers/${wireTransferId}`, options);
|
|
25
22
|
}
|
|
26
23
|
|
|
27
24
|
/**
|
|
28
25
|
* List Wire Transfers
|
|
29
26
|
*/
|
|
30
|
-
list(
|
|
31
|
-
|
|
27
|
+
list(
|
|
28
|
+
query?: WireTransferListParams,
|
|
29
|
+
options?: Core.RequestOptions,
|
|
30
|
+
): Core.PagePromise<WireTransfersPage, WireTransfer>;
|
|
31
|
+
list(options?: Core.RequestOptions): Core.PagePromise<WireTransfersPage, WireTransfer>;
|
|
32
32
|
list(
|
|
33
33
|
query: WireTransferListParams | Core.RequestOptions = {},
|
|
34
34
|
options?: Core.RequestOptions,
|
|
35
|
-
): Core.PagePromise<WireTransfersPage> {
|
|
35
|
+
): Core.PagePromise<WireTransfersPage, WireTransfer> {
|
|
36
36
|
if (isRequestOptions(query)) {
|
|
37
37
|
return this.list({}, query);
|
|
38
38
|
}
|
|
@@ -42,14 +42,14 @@ export class WireTransfers extends APIResource {
|
|
|
42
42
|
/**
|
|
43
43
|
* Approve a Wire Transfer
|
|
44
44
|
*/
|
|
45
|
-
approve(wireTransferId: string, options?: Core.RequestOptions):
|
|
45
|
+
approve(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
|
|
46
46
|
return this.post(`/wire_transfers/${wireTransferId}/approve`, options);
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* Cancel a pending Wire Transfer
|
|
51
51
|
*/
|
|
52
|
-
cancel(wireTransferId: string, options?: Core.RequestOptions):
|
|
52
|
+
cancel(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
|
|
53
53
|
return this.post(`/wire_transfers/${wireTransferId}/cancel`, options);
|
|
54
54
|
}
|
|
55
55
|
|
|
@@ -59,7 +59,7 @@ export class WireTransfers extends APIResource {
|
|
|
59
59
|
* [Transaction](#transaction) to account for the returned funds. This Wire
|
|
60
60
|
* Transfer must first have a `status` of `complete`.'
|
|
61
61
|
*/
|
|
62
|
-
reverse(wireTransferId: string, options?: Core.RequestOptions):
|
|
62
|
+
reverse(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
|
|
63
63
|
return this.post(`/simulations/wire_transfers/${wireTransferId}/reverse`, options);
|
|
64
64
|
}
|
|
65
65
|
|
|
@@ -68,7 +68,7 @@ export class WireTransfers extends APIResource {
|
|
|
68
68
|
* Reserve. This transfer must first have a `status` of `pending_approval` or
|
|
69
69
|
* `pending_creating`.
|
|
70
70
|
*/
|
|
71
|
-
submit(wireTransferId: string, options?: Core.RequestOptions):
|
|
71
|
+
submit(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfer> {
|
|
72
72
|
return this.post(`/simulations/wire_transfers/${wireTransferId}/submit`, options);
|
|
73
73
|
}
|
|
74
74
|
}
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.
|
|
1
|
+
export const VERSION = '0.9.0'; // x-release-please-version
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = '0.
|
|
1
|
+
export declare const VERSION = '0.9.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.9.0'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|