increase 0.8.1 → 0.9.1
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 +42 -0
- package/README.md +31 -11
- package/_shims/fetch.d.ts +8 -1
- package/_shims/fetch.node.d.ts +11 -1
- package/core.d.ts +76 -28
- package/core.d.ts.map +1 -1
- package/core.js +123 -55
- package/core.js.map +1 -1
- package/core.mjs +119 -55
- package/core.mjs.map +1 -1
- package/index.js +3 -2
- package/index.js.map +1 -1
- package/index.mjs +3 -2
- package/index.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 +176 -76
- package/src/index.ts +2 -2
- 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
|
@@ -19,7 +19,7 @@ export class Cards extends APIResource {
|
|
|
19
19
|
authorize(
|
|
20
20
|
body: CardAuthorizeParams,
|
|
21
21
|
options?: Core.RequestOptions,
|
|
22
|
-
):
|
|
22
|
+
): Core.APIPromise<CardAuthorizationSimulation> {
|
|
23
23
|
return this.post('/simulations/card_authorizations', { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -33,7 +33,7 @@ export class Cards extends APIResource {
|
|
|
33
33
|
settlement(
|
|
34
34
|
body: CardSettlementParams,
|
|
35
35
|
options?: Core.RequestOptions,
|
|
36
|
-
):
|
|
36
|
+
): Core.APIPromise<Transactions.Transaction> {
|
|
37
37
|
return this.post('/simulations/card_settlements', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
}
|
|
@@ -151,7 +151,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
151
151
|
*/
|
|
152
152
|
export interface Source {
|
|
153
153
|
/**
|
|
154
|
-
*
|
|
154
|
+
* An ACH Decline object. This field will be present in the JSON response if and
|
|
155
155
|
* only if `category` is equal to `ach_decline`.
|
|
156
156
|
*/
|
|
157
157
|
ach_decline: Source.ACHDecline | null;
|
|
@@ -163,24 +163,21 @@ export namespace CardAuthorizationSimulation {
|
|
|
163
163
|
card_decline: Source.CardDecline | null;
|
|
164
164
|
|
|
165
165
|
/**
|
|
166
|
-
* The type of
|
|
167
|
-
*
|
|
168
|
-
* gracefully.
|
|
166
|
+
* The type of the resource. We may add additional possible values for this enum
|
|
167
|
+
* over time; your application should be able to handle such additions gracefully.
|
|
169
168
|
*
|
|
170
|
-
* - `ach_decline` -
|
|
171
|
-
*
|
|
172
|
-
*
|
|
173
|
-
*
|
|
174
|
-
*
|
|
175
|
-
*
|
|
176
|
-
*
|
|
177
|
-
*
|
|
178
|
-
*
|
|
179
|
-
*
|
|
180
|
-
*
|
|
181
|
-
*
|
|
182
|
-
* - `wire_decline` - The Declined Transaction was created by a Wire Decline
|
|
183
|
-
* object. Details will be under the `wire_decline` object.
|
|
169
|
+
* - `ach_decline` - ACH Decline: details will be under the `ach_decline` object.
|
|
170
|
+
* - `card_decline` - Card Decline: details will be under the `card_decline`
|
|
171
|
+
* object.
|
|
172
|
+
* - `check_decline` - Check Decline: details will be under the `check_decline`
|
|
173
|
+
* object.
|
|
174
|
+
* - `inbound_real_time_payments_transfer_decline` - Inbound Real Time Payments
|
|
175
|
+
* Transfer Decline: details will be under the
|
|
176
|
+
* `inbound_real_time_payments_transfer_decline` object.
|
|
177
|
+
* - `international_ach_decline` - International ACH Decline: details will be under
|
|
178
|
+
* the `international_ach_decline` object.
|
|
179
|
+
* - `wire_decline` - Wire Decline: details will be under the `wire_decline`
|
|
180
|
+
* object.
|
|
184
181
|
* - `other` - The Declined Transaction was made for an undocumented or deprecated
|
|
185
182
|
* reason.
|
|
186
183
|
*/
|
|
@@ -200,14 +197,14 @@ export namespace CardAuthorizationSimulation {
|
|
|
200
197
|
check_decline: Source.CheckDecline | null;
|
|
201
198
|
|
|
202
199
|
/**
|
|
203
|
-
*
|
|
204
|
-
* in the JSON response if and only if `category` is equal to
|
|
200
|
+
* An Inbound Real Time Payments Transfer Decline object. This field will be
|
|
201
|
+
* present in the JSON response if and only if `category` is equal to
|
|
205
202
|
* `inbound_real_time_payments_transfer_decline`.
|
|
206
203
|
*/
|
|
207
204
|
inbound_real_time_payments_transfer_decline: Source.InboundRealTimePaymentsTransferDecline | null;
|
|
208
205
|
|
|
209
206
|
/**
|
|
210
|
-
*
|
|
207
|
+
* An International ACH Decline object. This field will be present in the JSON
|
|
211
208
|
* response if and only if `category` is equal to `international_ach_decline`.
|
|
212
209
|
*/
|
|
213
210
|
international_ach_decline: Source.InternationalACHDecline | null;
|
|
@@ -221,7 +218,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
221
218
|
|
|
222
219
|
export namespace Source {
|
|
223
220
|
/**
|
|
224
|
-
*
|
|
221
|
+
* An ACH Decline object. This field will be present in the JSON response if and
|
|
225
222
|
* only if `category` is equal to `ach_decline`.
|
|
226
223
|
*/
|
|
227
224
|
export interface ACHDecline {
|
|
@@ -526,8 +523,8 @@ export namespace CardAuthorizationSimulation {
|
|
|
526
523
|
}
|
|
527
524
|
|
|
528
525
|
/**
|
|
529
|
-
*
|
|
530
|
-
* in the JSON response if and only if `category` is equal to
|
|
526
|
+
* An Inbound Real Time Payments Transfer Decline object. This field will be
|
|
527
|
+
* present in the JSON response if and only if `category` is equal to
|
|
531
528
|
* `inbound_real_time_payments_transfer_decline`.
|
|
532
529
|
*/
|
|
533
530
|
export interface InboundRealTimePaymentsTransferDecline {
|
|
@@ -602,7 +599,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
602
599
|
}
|
|
603
600
|
|
|
604
601
|
/**
|
|
605
|
-
*
|
|
602
|
+
* An International ACH Decline object. This field will be present in the JSON
|
|
606
603
|
* response if and only if `category` is equal to `international_ach_decline`.
|
|
607
604
|
*/
|
|
608
605
|
export interface InternationalACHDecline {
|
|
@@ -848,13 +845,13 @@ export namespace CardAuthorizationSimulation {
|
|
|
848
845
|
*/
|
|
849
846
|
export interface Source {
|
|
850
847
|
/**
|
|
851
|
-
*
|
|
848
|
+
* An Account Transfer Instruction object. This field will be present in the JSON
|
|
852
849
|
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
853
850
|
*/
|
|
854
851
|
account_transfer_instruction: Source.AccountTransferInstruction | null;
|
|
855
852
|
|
|
856
853
|
/**
|
|
857
|
-
*
|
|
854
|
+
* An ACH Transfer Instruction object. This field will be present in the JSON
|
|
858
855
|
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
859
856
|
*/
|
|
860
857
|
ach_transfer_instruction: Source.ACHTransferInstruction | null;
|
|
@@ -866,32 +863,26 @@ export namespace CardAuthorizationSimulation {
|
|
|
866
863
|
card_authorization: Source.CardAuthorization | null;
|
|
867
864
|
|
|
868
865
|
/**
|
|
869
|
-
* The type of
|
|
870
|
-
*
|
|
871
|
-
* additions gracefully.
|
|
866
|
+
* The type of the resource. We may add additional possible values for this enum
|
|
867
|
+
* over time; your application should be able to handle such additions gracefully.
|
|
872
868
|
*
|
|
873
|
-
* - `account_transfer_instruction` -
|
|
874
|
-
*
|
|
875
|
-
*
|
|
876
|
-
*
|
|
877
|
-
*
|
|
878
|
-
* `
|
|
879
|
-
* - `
|
|
880
|
-
*
|
|
881
|
-
* - `
|
|
882
|
-
*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
885
|
-
*
|
|
886
|
-
*
|
|
887
|
-
*
|
|
888
|
-
*
|
|
889
|
-
*
|
|
890
|
-
* created by a Real Time Payments Transfer Instruction object. Details will be
|
|
891
|
-
* under the `real_time_payments_transfer_instruction` object.
|
|
892
|
-
* - `wire_transfer_instruction` - The Pending Transaction was created by a Wire
|
|
893
|
-
* Transfer Instruction object. Details will be under the
|
|
894
|
-
* `wire_transfer_instruction` object.
|
|
869
|
+
* - `account_transfer_instruction` - Account Transfer Instruction: details will be
|
|
870
|
+
* under the `account_transfer_instruction` object.
|
|
871
|
+
* - `ach_transfer_instruction` - ACH Transfer Instruction: details will be under
|
|
872
|
+
* the `ach_transfer_instruction` object.
|
|
873
|
+
* - `card_authorization` - Card Authorization: details will be under the
|
|
874
|
+
* `card_authorization` object.
|
|
875
|
+
* - `check_deposit_instruction` - Check Deposit Instruction: details will be under
|
|
876
|
+
* the `check_deposit_instruction` object.
|
|
877
|
+
* - `check_transfer_instruction` - Check Transfer Instruction: details will be
|
|
878
|
+
* under the `check_transfer_instruction` object.
|
|
879
|
+
* - `inbound_funds_hold` - Inbound Funds Hold: details will be under the
|
|
880
|
+
* `inbound_funds_hold` object.
|
|
881
|
+
* - `real_time_payments_transfer_instruction` - Real Time Payments Transfer
|
|
882
|
+
* Instruction: details will be under the
|
|
883
|
+
* `real_time_payments_transfer_instruction` object.
|
|
884
|
+
* - `wire_transfer_instruction` - Wire Transfer Instruction: details will be under
|
|
885
|
+
* the `wire_transfer_instruction` object.
|
|
895
886
|
* - `other` - The Pending Transaction was made for an undocumented or deprecated
|
|
896
887
|
* reason.
|
|
897
888
|
*/
|
|
@@ -919,7 +910,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
919
910
|
check_transfer_instruction: Source.CheckTransferInstruction | null;
|
|
920
911
|
|
|
921
912
|
/**
|
|
922
|
-
*
|
|
913
|
+
* An Inbound Funds Hold object. This field will be present in the JSON response if
|
|
923
914
|
* and only if `category` is equal to `inbound_funds_hold`.
|
|
924
915
|
*/
|
|
925
916
|
inbound_funds_hold: Source.InboundFundsHold | null;
|
|
@@ -940,7 +931,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
940
931
|
|
|
941
932
|
export namespace Source {
|
|
942
933
|
/**
|
|
943
|
-
*
|
|
934
|
+
* An Account Transfer Instruction object. This field will be present in the JSON
|
|
944
935
|
* response if and only if `category` is equal to `account_transfer_instruction`.
|
|
945
936
|
*/
|
|
946
937
|
export interface AccountTransferInstruction {
|
|
@@ -970,7 +961,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
970
961
|
}
|
|
971
962
|
|
|
972
963
|
/**
|
|
973
|
-
*
|
|
964
|
+
* An ACH Transfer Instruction object. This field will be present in the JSON
|
|
974
965
|
* response if and only if `category` is equal to `ach_transfer_instruction`.
|
|
975
966
|
*/
|
|
976
967
|
export interface ACHTransferInstruction {
|
|
@@ -1234,7 +1225,7 @@ export namespace CardAuthorizationSimulation {
|
|
|
1234
1225
|
}
|
|
1235
1226
|
|
|
1236
1227
|
/**
|
|
1237
|
-
*
|
|
1228
|
+
* An Inbound Funds Hold object. This field will be present in the JSON response if
|
|
1238
1229
|
* and only if `category` is equal to `inbound_funds_hold`.
|
|
1239
1230
|
*/
|
|
1240
1231
|
export interface InboundFundsHold {
|
|
@@ -13,7 +13,7 @@ export class CheckDeposits extends APIResource {
|
|
|
13
13
|
reject(
|
|
14
14
|
checkDepositId: string,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<CheckDeposits_.CheckDeposit> {
|
|
17
17
|
return this.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -24,7 +24,7 @@ export class CheckDeposits extends APIResource {
|
|
|
24
24
|
return(
|
|
25
25
|
checkDepositId: string,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
|
-
):
|
|
27
|
+
): Core.APIPromise<CheckDeposits_.CheckDeposit> {
|
|
28
28
|
return this.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
|
|
29
29
|
}
|
|
30
30
|
|
|
@@ -35,7 +35,7 @@ export class CheckDeposits extends APIResource {
|
|
|
35
35
|
submit(
|
|
36
36
|
checkDepositId: string,
|
|
37
37
|
options?: Core.RequestOptions,
|
|
38
|
-
):
|
|
38
|
+
): Core.APIPromise<CheckDeposits_.CheckDeposit> {
|
|
39
39
|
return this.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -12,7 +12,7 @@ export class CheckTransfers extends APIResource {
|
|
|
12
12
|
deposit(
|
|
13
13
|
checkTransferId: string,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
|
-
):
|
|
15
|
+
): Core.APIPromise<CheckTransfers_.CheckTransfer> {
|
|
16
16
|
return this.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
|
|
17
17
|
}
|
|
18
18
|
|
|
@@ -24,7 +24,7 @@ export class CheckTransfers extends APIResource {
|
|
|
24
24
|
mail(
|
|
25
25
|
checkTransferId: string,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
|
-
):
|
|
27
|
+
): Core.APIPromise<CheckTransfers_.CheckTransfer> {
|
|
28
28
|
return this.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -12,7 +12,7 @@ export class DigitalWalletTokenRequests extends APIResource {
|
|
|
12
12
|
create(
|
|
13
13
|
body: DigitalWalletTokenRequestCreateParams,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
|
-
):
|
|
15
|
+
): Core.APIPromise<DigitalWalletTokenRequestCreateResponse> {
|
|
16
16
|
return this.post('/simulations/digital_wallet_token_requests', { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -9,10 +9,7 @@ export class Documents extends APIResource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Simulates an tax document being created for an account.
|
|
11
11
|
*/
|
|
12
|
-
create(
|
|
13
|
-
body: DocumentCreateParams,
|
|
14
|
-
options?: Core.RequestOptions,
|
|
15
|
-
): Promise<Core.APIResponse<Documents_.Document>> {
|
|
12
|
+
create(body: DocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<Documents_.Document> {
|
|
16
13
|
return this.post('/simulations/documents', { body, ...options });
|
|
17
14
|
}
|
|
18
15
|
}
|
|
@@ -12,7 +12,7 @@ export class InboundFundsHolds extends APIResource {
|
|
|
12
12
|
release(
|
|
13
13
|
inboundFundsHoldId: string,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
|
-
):
|
|
15
|
+
): Core.APIPromise<InboundFundsHoldReleaseResponse> {
|
|
16
16
|
return this.post(`/simulations/inbound_funds_holds/${inboundFundsHoldId}/release`, options);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
@@ -13,7 +13,7 @@ export class InboundWireDrawdownRequests extends APIResource {
|
|
|
13
13
|
create(
|
|
14
14
|
body: InboundWireDrawdownRequestCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<InboundWireDrawdownRequests_.InboundWireDrawdownRequest> {
|
|
17
17
|
return this.post('/simulations/inbound_wire_drawdown_requests', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|