increase 0.16.0 → 0.18.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 +43 -0
- package/README.md +41 -2
- package/core.d.ts +1 -10
- package/core.d.ts.map +1 -1
- package/core.js +6 -14
- package/core.js.map +1 -1
- package/core.mjs +5 -12
- package/core.mjs.map +1 -1
- package/index.d.mts +12 -8
- package/index.d.ts +12 -8
- package/index.d.ts.map +1 -1
- package/index.js +8 -5
- package/index.js.map +1 -1
- package/index.mjs +8 -5
- package/index.mjs.map +1 -1
- package/package.json +27 -23
- package/resource.d.ts +1 -7
- package/resource.d.ts.map +1 -1
- package/resource.js +1 -7
- package/resource.js.map +1 -1
- package/resource.mjs +1 -7
- package/resource.mjs.map +1 -1
- package/resources/account-numbers.js +4 -4
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +4 -4
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.js +2 -2
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +2 -2
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.js +5 -5
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +5 -5
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +38 -0
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +11 -5
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +11 -5
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.js +3 -3
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +3 -3
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.js +5 -5
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +5 -5
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +36 -1
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +9 -3
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +9 -3
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.ts +11 -1
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +7 -1
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +7 -1
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +28 -1
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +47 -2
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +22 -1
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.js +3 -3
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +3 -3
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.ts +36 -0
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +2 -2
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +2 -2
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-profiles.js +4 -4
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +4 -4
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +5 -2
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +5 -2
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.js +5 -5
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +5 -5
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.js +3 -3
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +3 -3
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.js +6 -6
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +6 -6
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +28 -0
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +2 -2
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +2 -2
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-wallet-tokens.js +2 -2
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +2 -2
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.js +2 -2
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -2
- package/resources/documents.mjs.map +1 -1
- package/resources/entities/beneficial-owners.js +3 -3
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +3 -3
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +7 -7
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +7 -7
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.js +2 -2
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs +2 -2
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.js +4 -4
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +4 -4
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.js +2 -2
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +2 -2
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +29 -2
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +3 -3
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +3 -3
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.js +4 -4
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +4 -4
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.js +3 -3
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +3 -3
- package/resources/files.mjs.map +1 -1
- package/resources/groups.js +1 -1
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +1 -1
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +8 -5
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +8 -5
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +2 -2
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +2 -2
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/index.d.ts +3 -4
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +2 -3
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +1 -2
- package/resources/index.mjs.map +1 -1
- package/resources/oauth-connections.js +2 -2
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +2 -2
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +18 -0
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +2 -2
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +2 -2
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-cards.js +4 -4
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +4 -4
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.js +2 -2
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +2 -2
- package/resources/programs.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +18 -0
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js +2 -2
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +2 -2
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.js +3 -3
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +3 -3
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.js +1 -1
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +1 -1
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.js +1 -1
- package/resources/simulations/account-statements.js.map +1 -1
- package/resources/simulations/account-statements.mjs +1 -1
- package/resources/simulations/account-statements.mjs.map +1 -1
- package/resources/simulations/account-transfers.js +1 -1
- package/resources/simulations/account-transfers.js.map +1 -1
- package/resources/simulations/account-transfers.mjs +1 -1
- package/resources/simulations/account-transfers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +28 -0
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +3 -3
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +3 -3
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.js +1 -1
- package/resources/simulations/card-disputes.js.map +1 -1
- package/resources/simulations/card-disputes.mjs +1 -1
- package/resources/simulations/card-disputes.mjs.map +1 -1
- package/resources/simulations/card-profiles.js +1 -1
- package/resources/simulations/card-profiles.js.map +1 -1
- package/resources/simulations/card-profiles.mjs +1 -1
- package/resources/simulations/card-profiles.mjs.map +1 -1
- package/resources/simulations/card-refunds.js +1 -1
- package/resources/simulations/card-refunds.js.map +1 -1
- package/resources/simulations/card-refunds.mjs +1 -1
- package/resources/simulations/card-refunds.mjs.map +1 -1
- package/resources/simulations/cards.d.ts +46 -0
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js +2 -2
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs +2 -2
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.js +3 -3
- package/resources/simulations/check-deposits.js.map +1 -1
- package/resources/simulations/check-deposits.mjs +3 -3
- package/resources/simulations/check-deposits.mjs.map +1 -1
- package/resources/simulations/check-transfers.js +2 -2
- package/resources/simulations/check-transfers.js.map +1 -1
- package/resources/simulations/check-transfers.mjs +2 -2
- package/resources/simulations/check-transfers.mjs.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.js +1 -1
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
- package/resources/simulations/documents.js +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.js +1 -1
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs +1 -1
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/interest-payments.js +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/physical-cards.js +4 -1
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +4 -1
- package/resources/simulations/physical-cards.mjs.map +1 -1
- package/resources/simulations/programs.js +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +28 -0
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +2 -5
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +2 -5
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +18 -18
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +18 -18
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.js +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.js +2 -2
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +2 -2
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +6 -3
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +6 -3
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.js +7 -7
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +7 -7
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/core.ts +11 -23
- package/src/index.ts +23 -9
- package/src/resource.ts +3 -16
- package/src/resources/account-numbers.ts +4 -4
- package/src/resources/account-statements.ts +2 -2
- package/src/resources/account-transfers.ts +5 -5
- package/src/resources/accounts.ts +63 -5
- package/src/resources/ach-prenotifications.ts +3 -3
- package/src/resources/ach-transfers.ts +5 -5
- package/src/resources/bookkeeping-accounts.ts +61 -4
- package/src/resources/bookkeeping-entries.ts +16 -2
- package/src/resources/bookkeeping-entry-sets.ts +54 -2
- package/src/resources/card-disputes.ts +3 -3
- package/src/resources/card-payments.ts +52 -2
- package/src/resources/card-profiles.ts +4 -4
- package/src/resources/card-purchase-supplements.ts +5 -2
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +3 -3
- package/src/resources/check-transfers.ts +6 -6
- package/src/resources/declined-transactions.ts +39 -2
- package/src/resources/digital-wallet-tokens.ts +2 -2
- package/src/resources/documents.ts +2 -2
- package/src/resources/entities/beneficial-owners.ts +3 -3
- package/src/resources/entities/entities.ts +7 -7
- package/src/resources/entities/supplemental-documents.ts +2 -2
- package/src/resources/event-subscriptions.ts +4 -4
- package/src/resources/events.ts +2 -2
- package/src/resources/exports.ts +45 -5
- package/src/resources/external-accounts.ts +4 -4
- package/src/resources/files.ts +3 -3
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfers.ts +8 -5
- package/src/resources/inbound-wire-drawdown-requests.ts +2 -2
- package/src/resources/index.ts +6 -1
- package/src/resources/oauth-connections.ts +2 -2
- package/src/resources/pending-transactions.ts +27 -2
- package/src/resources/physical-cards.ts +4 -4
- package/src/resources/programs.ts +2 -2
- package/src/resources/real-time-decisions.ts +27 -2
- package/src/resources/real-time-payments-transfers.ts +3 -3
- package/src/resources/routing-numbers.ts +1 -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 +40 -3
- package/src/resources/simulations/card-disputes.ts +1 -1
- package/src/resources/simulations/card-profiles.ts +1 -1
- package/src/resources/simulations/card-refunds.ts +1 -1
- package/src/resources/simulations/cards.ts +64 -2
- 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 -1
- 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 +1 -1
- package/src/resources/simulations/physical-cards.ts +4 -1
- package/src/resources/simulations/programs.ts +1 -1
- package/src/resources/simulations/real-time-payments-transfers.ts +42 -5
- package/src/resources/simulations/simulations.ts +18 -18
- package/src/resources/simulations/wire-transfers.ts +1 -1
- package/src/resources/transactions.ts +2 -2
- package/src/resources/wire-drawdown-requests.ts +6 -3
- package/src/resources/wire-transfers.ts +7 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/balance-lookups.d.ts +0 -49
- package/resources/balance-lookups.d.ts.map +0 -1
- package/resources/balance-lookups.js +0 -17
- package/resources/balance-lookups.js.map +0 -1
- package/resources/balance-lookups.mjs +0 -13
- package/resources/balance-lookups.mjs.map +0 -1
- package/src/resources/balance-lookups.ts +0 -63
package/src/resources/index.ts
CHANGED
|
@@ -16,9 +16,11 @@ export {
|
|
|
16
16
|
} from './ach-transfers';
|
|
17
17
|
export {
|
|
18
18
|
Account,
|
|
19
|
+
BalanceLookup,
|
|
19
20
|
AccountCreateParams,
|
|
20
21
|
AccountUpdateParams,
|
|
21
22
|
AccountListParams,
|
|
23
|
+
AccountBalanceParams,
|
|
22
24
|
AccountsPage,
|
|
23
25
|
Accounts,
|
|
24
26
|
} from './accounts';
|
|
@@ -43,12 +45,13 @@ export {
|
|
|
43
45
|
AccountTransfersPage,
|
|
44
46
|
AccountTransfers,
|
|
45
47
|
} from './account-transfers';
|
|
46
|
-
export { BalanceLookupLookupResponse, BalanceLookupLookupParams, BalanceLookups } from './balance-lookups';
|
|
47
48
|
export {
|
|
48
49
|
BookkeepingAccount,
|
|
50
|
+
BookkeepingBalanceLookup,
|
|
49
51
|
BookkeepingAccountCreateParams,
|
|
50
52
|
BookkeepingAccountUpdateParams,
|
|
51
53
|
BookkeepingAccountListParams,
|
|
54
|
+
BookkeepingAccountBalanceParams,
|
|
52
55
|
BookkeepingAccountsPage,
|
|
53
56
|
BookkeepingAccounts,
|
|
54
57
|
} from './bookkeeping-accounts';
|
|
@@ -61,6 +64,8 @@ export {
|
|
|
61
64
|
export {
|
|
62
65
|
BookkeepingEntrySet,
|
|
63
66
|
BookkeepingEntrySetCreateParams,
|
|
67
|
+
BookkeepingEntrySetListParams,
|
|
68
|
+
BookkeepingEntrySetsPage,
|
|
64
69
|
BookkeepingEntrySets,
|
|
65
70
|
} from './bookkeeping-entry-sets';
|
|
66
71
|
export {
|
|
@@ -11,7 +11,7 @@ export class OauthConnections extends APIResource {
|
|
|
11
11
|
* Retrieve an OAuth Connection
|
|
12
12
|
*/
|
|
13
13
|
retrieve(oauthConnectionId: string, options?: Core.RequestOptions): Core.APIPromise<OauthConnection> {
|
|
14
|
-
return this.get(`/oauth_connections/${oauthConnectionId}`, options);
|
|
14
|
+
return this._client.get(`/oauth_connections/${oauthConnectionId}`, options);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -29,7 +29,7 @@ export class OauthConnections extends APIResource {
|
|
|
29
29
|
if (isRequestOptions(query)) {
|
|
30
30
|
return this.list({}, query);
|
|
31
31
|
}
|
|
32
|
-
return this.getAPIList('/oauth_connections', OauthConnectionsPage, { query, ...options });
|
|
32
|
+
return this._client.getAPIList('/oauth_connections', OauthConnectionsPage, { query, ...options });
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -11,7 +11,7 @@ export class PendingTransactions extends APIResource {
|
|
|
11
11
|
* Retrieve a Pending Transaction
|
|
12
12
|
*/
|
|
13
13
|
retrieve(pendingTransactionId: string, options?: Core.RequestOptions): Core.APIPromise<PendingTransaction> {
|
|
14
|
-
return this.get(`/pending_transactions/${pendingTransactionId}`, options);
|
|
14
|
+
return this._client.get(`/pending_transactions/${pendingTransactionId}`, options);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -29,7 +29,7 @@ export class PendingTransactions extends APIResource {
|
|
|
29
29
|
if (isRequestOptions(query)) {
|
|
30
30
|
return this.list({}, query);
|
|
31
31
|
}
|
|
32
|
-
return this.getAPIList('/pending_transactions', PendingTransactionsPage, { query, ...options });
|
|
32
|
+
return this._client.getAPIList('/pending_transactions', PendingTransactionsPage, { query, ...options });
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
|
|
@@ -373,6 +373,31 @@ export namespace PendingTransaction {
|
|
|
373
373
|
*/
|
|
374
374
|
physical_card_id: string | null;
|
|
375
375
|
|
|
376
|
+
/**
|
|
377
|
+
* The processing category describes the intent behind the authorization, such as
|
|
378
|
+
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
379
|
+
*
|
|
380
|
+
* - `account_funding` - Account funding transactions are transactions used to
|
|
381
|
+
* e.g., fund an account or transfer funds between accounts.
|
|
382
|
+
* - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
|
|
383
|
+
* when a card is used at a gas pump, prior to the actual transaction amount
|
|
384
|
+
* being known. They are followed by an advice message that updates the amount of
|
|
385
|
+
* the pending transaction.
|
|
386
|
+
* - `bill_payment` - A transaction used to pay a bill.
|
|
387
|
+
* - `purchase` - A regular purchase.
|
|
388
|
+
* - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
|
|
389
|
+
* be convertible to cash.
|
|
390
|
+
* - `refund` - A refund card authorization, sometimes referred to as a credit
|
|
391
|
+
* voucher authorization, where funds are credited to the cardholder.
|
|
392
|
+
*/
|
|
393
|
+
processing_category:
|
|
394
|
+
| 'account_funding'
|
|
395
|
+
| 'automatic_fuel_dispenser'
|
|
396
|
+
| 'bill_payment'
|
|
397
|
+
| 'purchase'
|
|
398
|
+
| 'quasi_cash'
|
|
399
|
+
| 'refund';
|
|
400
|
+
|
|
376
401
|
/**
|
|
377
402
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
378
403
|
* transaction.
|
|
@@ -11,14 +11,14 @@ export class PhysicalCards extends APIResource {
|
|
|
11
11
|
* Create a Physical Card
|
|
12
12
|
*/
|
|
13
13
|
create(body: PhysicalCardCreateParams, options?: Core.RequestOptions): Core.APIPromise<PhysicalCard> {
|
|
14
|
-
return this.post('/physical_cards', { body, ...options });
|
|
14
|
+
return this._client.post('/physical_cards', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Retrieve a Physical Card
|
|
19
19
|
*/
|
|
20
20
|
retrieve(physicalCardId: string, options?: Core.RequestOptions): Core.APIPromise<PhysicalCard> {
|
|
21
|
-
return this.get(`/physical_cards/${physicalCardId}`, options);
|
|
21
|
+
return this._client.get(`/physical_cards/${physicalCardId}`, options);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
@@ -29,7 +29,7 @@ export class PhysicalCards extends APIResource {
|
|
|
29
29
|
body: PhysicalCardUpdateParams,
|
|
30
30
|
options?: Core.RequestOptions,
|
|
31
31
|
): Core.APIPromise<PhysicalCard> {
|
|
32
|
-
return this.patch(`/physical_cards/${physicalCardId}`, { body, ...options });
|
|
32
|
+
return this._client.patch(`/physical_cards/${physicalCardId}`, { body, ...options });
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
/**
|
|
@@ -47,7 +47,7 @@ export class PhysicalCards extends APIResource {
|
|
|
47
47
|
if (isRequestOptions(query)) {
|
|
48
48
|
return this.list({}, query);
|
|
49
49
|
}
|
|
50
|
-
return this.getAPIList('/physical_cards', PhysicalCardsPage, { query, ...options });
|
|
50
|
+
return this._client.getAPIList('/physical_cards', PhysicalCardsPage, { query, ...options });
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -11,7 +11,7 @@ export class Programs extends APIResource {
|
|
|
11
11
|
* Retrieve a Program
|
|
12
12
|
*/
|
|
13
13
|
retrieve(programId: string, options?: Core.RequestOptions): Core.APIPromise<Program> {
|
|
14
|
-
return this.get(`/programs/${programId}`, options);
|
|
14
|
+
return this._client.get(`/programs/${programId}`, options);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
@@ -26,7 +26,7 @@ export class Programs extends APIResource {
|
|
|
26
26
|
if (isRequestOptions(query)) {
|
|
27
27
|
return this.list({}, query);
|
|
28
28
|
}
|
|
29
|
-
return this.getAPIList('/programs', ProgramsPage, { query, ...options });
|
|
29
|
+
return this._client.getAPIList('/programs', ProgramsPage, { query, ...options });
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
|
|
@@ -9,7 +9,7 @@ export class RealTimeDecisions extends APIResource {
|
|
|
9
9
|
* Retrieve a Real-Time Decision
|
|
10
10
|
*/
|
|
11
11
|
retrieve(realTimeDecisionId: string, options?: Core.RequestOptions): Core.APIPromise<RealTimeDecision> {
|
|
12
|
-
return this.get(`/real_time_decisions/${realTimeDecisionId}`, options);
|
|
12
|
+
return this._client.get(`/real_time_decisions/${realTimeDecisionId}`, options);
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
/**
|
|
@@ -20,7 +20,7 @@ export class RealTimeDecisions extends APIResource {
|
|
|
20
20
|
body: RealTimeDecisionActionParams,
|
|
21
21
|
options?: Core.RequestOptions,
|
|
22
22
|
): Core.APIPromise<RealTimeDecision> {
|
|
23
|
-
return this.post(`/real_time_decisions/${realTimeDecisionId}/action`, { body, ...options });
|
|
23
|
+
return this._client.post(`/real_time_decisions/${realTimeDecisionId}/action`, { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
|
|
@@ -178,6 +178,31 @@ export namespace RealTimeDecision {
|
|
|
178
178
|
*/
|
|
179
179
|
presentment_currency: string;
|
|
180
180
|
|
|
181
|
+
/**
|
|
182
|
+
* The processing category describes the intent behind the authorization, such as
|
|
183
|
+
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
184
|
+
*
|
|
185
|
+
* - `account_funding` - Account funding transactions are transactions used to
|
|
186
|
+
* e.g., fund an account or transfer funds between accounts.
|
|
187
|
+
* - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
|
|
188
|
+
* when a card is used at a gas pump, prior to the actual transaction amount
|
|
189
|
+
* being known. They are followed by an advice message that updates the amount of
|
|
190
|
+
* the pending transaction.
|
|
191
|
+
* - `bill_payment` - A transaction used to pay a bill.
|
|
192
|
+
* - `purchase` - A regular purchase.
|
|
193
|
+
* - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
|
|
194
|
+
* be convertible to cash.
|
|
195
|
+
* - `refund` - A refund card authorization, sometimes referred to as a credit
|
|
196
|
+
* voucher authorization, where funds are credited to the cardholder.
|
|
197
|
+
*/
|
|
198
|
+
processing_category:
|
|
199
|
+
| 'account_funding'
|
|
200
|
+
| 'automatic_fuel_dispenser'
|
|
201
|
+
| 'bill_payment'
|
|
202
|
+
| 'purchase'
|
|
203
|
+
| 'quasi_cash'
|
|
204
|
+
| 'refund';
|
|
205
|
+
|
|
181
206
|
/**
|
|
182
207
|
* Fields specific to the type of request, such as an incremental authorization.
|
|
183
208
|
*/
|
|
@@ -14,7 +14,7 @@ export class RealTimePaymentsTransfers extends APIResource {
|
|
|
14
14
|
body: RealTimePaymentsTransferCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<RealTimePaymentsTransfer> {
|
|
17
|
-
return this.post('/real_time_payments_transfers', { body, ...options });
|
|
17
|
+
return this._client.post('/real_time_payments_transfers', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -24,7 +24,7 @@ export class RealTimePaymentsTransfers extends APIResource {
|
|
|
24
24
|
realTimePaymentsTransferId: string,
|
|
25
25
|
options?: Core.RequestOptions,
|
|
26
26
|
): Core.APIPromise<RealTimePaymentsTransfer> {
|
|
27
|
-
return this.get(`/real_time_payments_transfers/${realTimePaymentsTransferId}`, options);
|
|
27
|
+
return this._client.get(`/real_time_payments_transfers/${realTimePaymentsTransferId}`, options);
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
/**
|
|
@@ -44,7 +44,7 @@ export class RealTimePaymentsTransfers extends APIResource {
|
|
|
44
44
|
if (isRequestOptions(query)) {
|
|
45
45
|
return this.list({}, query);
|
|
46
46
|
}
|
|
47
|
-
return this.getAPIList('/real_time_payments_transfers', RealTimePaymentsTransfersPage, {
|
|
47
|
+
return this._client.getAPIList('/real_time_payments_transfers', RealTimePaymentsTransfersPage, {
|
|
48
48
|
query,
|
|
49
49
|
...options,
|
|
50
50
|
});
|
|
@@ -16,7 +16,7 @@ export class RoutingNumbers extends APIResource {
|
|
|
16
16
|
query: RoutingNumberListParams,
|
|
17
17
|
options?: Core.RequestOptions,
|
|
18
18
|
): Core.PagePromise<RoutingNumbersPage, RoutingNumber> {
|
|
19
|
-
return this.getAPIList('/routing_numbers', RoutingNumbersPage, { query, ...options });
|
|
19
|
+
return this._client.getAPIList('/routing_numbers', RoutingNumbersPage, { query, ...options });
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
|
|
@@ -14,7 +14,7 @@ export class AccountStatements extends APIResource {
|
|
|
14
14
|
body: AccountStatementCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<AccountStatementsAPI.AccountStatement> {
|
|
17
|
-
return this.post('/simulations/account_statements', { body, ...options });
|
|
17
|
+
return this._client.post('/simulations/account_statements', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -15,6 +15,6 @@ export class AccountTransfers extends APIResource {
|
|
|
15
15
|
accountTransferId: string,
|
|
16
16
|
options?: Core.RequestOptions,
|
|
17
17
|
): Core.APIPromise<AccountTransfersAPI.AccountTransfer> {
|
|
18
|
-
return this.post(`/simulations/account_transfers/${accountTransferId}/complete`, options);
|
|
18
|
+
return this._client.post(`/simulations/account_transfers/${accountTransferId}/complete`, options);
|
|
19
19
|
}
|
|
20
20
|
}
|
|
@@ -22,7 +22,7 @@ export class ACHTransfers extends APIResource {
|
|
|
22
22
|
body: ACHTransferCreateInboundParams,
|
|
23
23
|
options?: Core.RequestOptions,
|
|
24
24
|
): Core.APIPromise<ACHTransferSimulation> {
|
|
25
|
-
return this.post('/simulations/inbound_ach_transfers', { body, ...options });
|
|
25
|
+
return this._client.post('/simulations/inbound_ach_transfers', { body, ...options });
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
/**
|
|
@@ -35,7 +35,7 @@ export class ACHTransfers extends APIResource {
|
|
|
35
35
|
body: ACHTransferReturnParams,
|
|
36
36
|
options?: Core.RequestOptions,
|
|
37
37
|
): Core.APIPromise<ACHTransfersAPI.ACHTransfer> {
|
|
38
|
-
return this.post(`/simulations/ach_transfers/${achTransferId}/return`, { body, ...options });
|
|
38
|
+
return this._client.post(`/simulations/ach_transfers/${achTransferId}/return`, { body, ...options });
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
/**
|
|
@@ -47,7 +47,7 @@ export class ACHTransfers extends APIResource {
|
|
|
47
47
|
* delay and transition the ACH Transfer to a status of `submitted`.
|
|
48
48
|
*/
|
|
49
49
|
submit(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfersAPI.ACHTransfer> {
|
|
50
|
-
return this.post(`/simulations/ach_transfers/${achTransferId}/submit`, options);
|
|
50
|
+
return this._client.post(`/simulations/ach_transfers/${achTransferId}/submit`, options);
|
|
51
51
|
}
|
|
52
52
|
}
|
|
53
53
|
|
|
@@ -422,6 +422,31 @@ export namespace ACHTransferSimulation {
|
|
|
422
422
|
*/
|
|
423
423
|
physical_card_id: string | null;
|
|
424
424
|
|
|
425
|
+
/**
|
|
426
|
+
* The processing category describes the intent behind the authorization, such as
|
|
427
|
+
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
428
|
+
*
|
|
429
|
+
* - `account_funding` - Account funding transactions are transactions used to
|
|
430
|
+
* e.g., fund an account or transfer funds between accounts.
|
|
431
|
+
* - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
|
|
432
|
+
* when a card is used at a gas pump, prior to the actual transaction amount
|
|
433
|
+
* being known. They are followed by an advice message that updates the amount of
|
|
434
|
+
* the pending transaction.
|
|
435
|
+
* - `bill_payment` - A transaction used to pay a bill.
|
|
436
|
+
* - `purchase` - A regular purchase.
|
|
437
|
+
* - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
|
|
438
|
+
* be convertible to cash.
|
|
439
|
+
* - `refund` - A refund card authorization, sometimes referred to as a credit
|
|
440
|
+
* voucher authorization, where funds are credited to the cardholder.
|
|
441
|
+
*/
|
|
442
|
+
processing_category:
|
|
443
|
+
| 'account_funding'
|
|
444
|
+
| 'automatic_fuel_dispenser'
|
|
445
|
+
| 'bill_payment'
|
|
446
|
+
| 'purchase'
|
|
447
|
+
| 'quasi_cash'
|
|
448
|
+
| 'refund';
|
|
449
|
+
|
|
425
450
|
/**
|
|
426
451
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
427
452
|
* transaction.
|
|
@@ -702,6 +727,18 @@ export namespace ACHTransferSimulation {
|
|
|
702
727
|
*/
|
|
703
728
|
auxiliary_on_us: string | null;
|
|
704
729
|
|
|
730
|
+
/**
|
|
731
|
+
* The identifier of the API File object containing an image of the back of the
|
|
732
|
+
* declined check.
|
|
733
|
+
*/
|
|
734
|
+
back_image_file_id: string | null;
|
|
735
|
+
|
|
736
|
+
/**
|
|
737
|
+
* The identifier of the API File object containing an image of the front of the
|
|
738
|
+
* declined check.
|
|
739
|
+
*/
|
|
740
|
+
front_image_file_id: string | null;
|
|
741
|
+
|
|
705
742
|
/**
|
|
706
743
|
* Why the check was declined.
|
|
707
744
|
*
|
|
@@ -17,7 +17,7 @@ export class CardDisputes extends APIResource {
|
|
|
17
17
|
body: CardDisputeActionParams,
|
|
18
18
|
options?: Core.RequestOptions,
|
|
19
19
|
): Core.APIPromise<CardDisputesAPI.CardDispute> {
|
|
20
|
-
return this.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
|
|
20
|
+
return this._client.post(`/simulations/card_disputes/${cardDisputeId}/action`, { body, ...options });
|
|
21
21
|
}
|
|
22
22
|
}
|
|
23
23
|
|
|
@@ -16,6 +16,6 @@ export class CardProfiles extends APIResource {
|
|
|
16
16
|
cardProfileId: string,
|
|
17
17
|
options?: Core.RequestOptions,
|
|
18
18
|
): Core.APIPromise<CardProfilesAPI.CardProfile> {
|
|
19
|
-
return this.post(`/simulations/card_profiles/${cardProfileId}/approve`, options);
|
|
19
|
+
return this._client.post(`/simulations/card_profiles/${cardProfileId}/approve`, options);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
@@ -14,7 +14,7 @@ export class CardRefunds extends APIResource {
|
|
|
14
14
|
body: CardRefundCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<TransactionsAPI.Transaction> {
|
|
17
|
-
return this.post('/simulations/card_refunds', { body, ...options });
|
|
17
|
+
return this._client.post('/simulations/card_refunds', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -19,7 +19,7 @@ export class Cards extends APIResource {
|
|
|
19
19
|
body: CardAuthorizeParams,
|
|
20
20
|
options?: Core.RequestOptions,
|
|
21
21
|
): Core.APIPromise<CardAuthorizationSimulation> {
|
|
22
|
-
return this.post('/simulations/card_authorizations', { body, ...options });
|
|
22
|
+
return this._client.post('/simulations/card_authorizations', { body, ...options });
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
/**
|
|
@@ -33,7 +33,7 @@ export class Cards extends APIResource {
|
|
|
33
33
|
body: CardSettlementParams,
|
|
34
34
|
options?: Core.RequestOptions,
|
|
35
35
|
): Core.APIPromise<TransactionsAPI.Transaction> {
|
|
36
|
-
return this.post('/simulations/card_settlements', { body, ...options });
|
|
36
|
+
return this._client.post('/simulations/card_settlements', { body, ...options });
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
39
|
|
|
@@ -403,6 +403,31 @@ export namespace CardAuthorizationSimulation {
|
|
|
403
403
|
*/
|
|
404
404
|
physical_card_id: string | null;
|
|
405
405
|
|
|
406
|
+
/**
|
|
407
|
+
* The processing category describes the intent behind the authorization, such as
|
|
408
|
+
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
409
|
+
*
|
|
410
|
+
* - `account_funding` - Account funding transactions are transactions used to
|
|
411
|
+
* e.g., fund an account or transfer funds between accounts.
|
|
412
|
+
* - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
|
|
413
|
+
* when a card is used at a gas pump, prior to the actual transaction amount
|
|
414
|
+
* being known. They are followed by an advice message that updates the amount of
|
|
415
|
+
* the pending transaction.
|
|
416
|
+
* - `bill_payment` - A transaction used to pay a bill.
|
|
417
|
+
* - `purchase` - A regular purchase.
|
|
418
|
+
* - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
|
|
419
|
+
* be convertible to cash.
|
|
420
|
+
* - `refund` - A refund card authorization, sometimes referred to as a credit
|
|
421
|
+
* voucher authorization, where funds are credited to the cardholder.
|
|
422
|
+
*/
|
|
423
|
+
processing_category:
|
|
424
|
+
| 'account_funding'
|
|
425
|
+
| 'automatic_fuel_dispenser'
|
|
426
|
+
| 'bill_payment'
|
|
427
|
+
| 'purchase'
|
|
428
|
+
| 'quasi_cash'
|
|
429
|
+
| 'refund';
|
|
430
|
+
|
|
406
431
|
/**
|
|
407
432
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
408
433
|
* transaction.
|
|
@@ -683,6 +708,18 @@ export namespace CardAuthorizationSimulation {
|
|
|
683
708
|
*/
|
|
684
709
|
auxiliary_on_us: string | null;
|
|
685
710
|
|
|
711
|
+
/**
|
|
712
|
+
* The identifier of the API File object containing an image of the back of the
|
|
713
|
+
* declined check.
|
|
714
|
+
*/
|
|
715
|
+
back_image_file_id: string | null;
|
|
716
|
+
|
|
717
|
+
/**
|
|
718
|
+
* The identifier of the API File object containing an image of the front of the
|
|
719
|
+
* declined check.
|
|
720
|
+
*/
|
|
721
|
+
front_image_file_id: string | null;
|
|
722
|
+
|
|
686
723
|
/**
|
|
687
724
|
* Why the check was declined.
|
|
688
725
|
*
|
|
@@ -1535,6 +1572,31 @@ export namespace CardAuthorizationSimulation {
|
|
|
1535
1572
|
*/
|
|
1536
1573
|
physical_card_id: string | null;
|
|
1537
1574
|
|
|
1575
|
+
/**
|
|
1576
|
+
* The processing category describes the intent behind the authorization, such as
|
|
1577
|
+
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
1578
|
+
*
|
|
1579
|
+
* - `account_funding` - Account funding transactions are transactions used to
|
|
1580
|
+
* e.g., fund an account or transfer funds between accounts.
|
|
1581
|
+
* - `automatic_fuel_dispenser` - Automatic fuel dispenser authorizations occur
|
|
1582
|
+
* when a card is used at a gas pump, prior to the actual transaction amount
|
|
1583
|
+
* being known. They are followed by an advice message that updates the amount of
|
|
1584
|
+
* the pending transaction.
|
|
1585
|
+
* - `bill_payment` - A transaction used to pay a bill.
|
|
1586
|
+
* - `purchase` - A regular purchase.
|
|
1587
|
+
* - `quasi_cash` - Quasi-cash transactions represent purchases of items which may
|
|
1588
|
+
* be convertible to cash.
|
|
1589
|
+
* - `refund` - A refund card authorization, sometimes referred to as a credit
|
|
1590
|
+
* voucher authorization, where funds are credited to the cardholder.
|
|
1591
|
+
*/
|
|
1592
|
+
processing_category:
|
|
1593
|
+
| 'account_funding'
|
|
1594
|
+
| 'automatic_fuel_dispenser'
|
|
1595
|
+
| 'bill_payment'
|
|
1596
|
+
| 'purchase'
|
|
1597
|
+
| 'quasi_cash'
|
|
1598
|
+
| 'refund';
|
|
1599
|
+
|
|
1538
1600
|
/**
|
|
1539
1601
|
* The identifier of the Real-Time Decision sent to approve or decline this
|
|
1540
1602
|
* transaction.
|
|
@@ -14,7 +14,7 @@ export class CheckDeposits extends APIResource {
|
|
|
14
14
|
checkDepositId: string,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
|
|
17
|
-
return this.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
|
|
17
|
+
return this._client.post(`/simulations/check_deposits/${checkDepositId}/reject`, options);
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
@@ -25,7 +25,7 @@ export class CheckDeposits extends APIResource {
|
|
|
25
25
|
checkDepositId: string,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
27
|
): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
|
|
28
|
-
return this.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
|
|
28
|
+
return this._client.post(`/simulations/check_deposits/${checkDepositId}/return`, options);
|
|
29
29
|
}
|
|
30
30
|
|
|
31
31
|
/**
|
|
@@ -36,6 +36,6 @@ export class CheckDeposits extends APIResource {
|
|
|
36
36
|
checkDepositId: string,
|
|
37
37
|
options?: Core.RequestOptions,
|
|
38
38
|
): Core.APIPromise<CheckDepositsAPI.CheckDeposit> {
|
|
39
|
-
return this.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
|
|
39
|
+
return this._client.post(`/simulations/check_deposits/${checkDepositId}/submit`, options);
|
|
40
40
|
}
|
|
41
41
|
}
|
|
@@ -13,7 +13,7 @@ export class CheckTransfers extends APIResource {
|
|
|
13
13
|
checkTransferId: string,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
15
|
): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
|
|
16
|
-
return this.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
|
|
16
|
+
return this._client.post(`/simulations/check_transfers/${checkTransferId}/deposit`, options);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -25,6 +25,6 @@ export class CheckTransfers extends APIResource {
|
|
|
25
25
|
checkTransferId: string,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
27
|
): Core.APIPromise<CheckTransfersAPI.CheckTransfer> {
|
|
28
|
-
return this.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
|
|
28
|
+
return this._client.post(`/simulations/check_transfers/${checkTransferId}/mail`, options);
|
|
29
29
|
}
|
|
30
30
|
}
|
|
@@ -13,7 +13,7 @@ export class DigitalWalletTokenRequests extends APIResource {
|
|
|
13
13
|
body: DigitalWalletTokenRequestCreateParams,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
15
|
): Core.APIPromise<DigitalWalletTokenRequestCreateResponse> {
|
|
16
|
-
return this.post('/simulations/digital_wallet_token_requests', { body, ...options });
|
|
16
|
+
return this._client.post('/simulations/digital_wallet_token_requests', { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -10,7 +10,7 @@ export class Documents extends APIResource {
|
|
|
10
10
|
* Simulates an tax document being created for an account.
|
|
11
11
|
*/
|
|
12
12
|
create(body: DocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<DocumentsAPI.Document> {
|
|
13
|
-
return this.post('/simulations/documents', { body, ...options });
|
|
13
|
+
return this._client.post('/simulations/documents', { body, ...options });
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
|
|
@@ -13,7 +13,7 @@ export class InboundFundsHolds extends APIResource {
|
|
|
13
13
|
inboundFundsHoldId: string,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
15
|
): Core.APIPromise<InboundFundsHoldReleaseResponse> {
|
|
16
|
-
return this.post(`/simulations/inbound_funds_holds/${inboundFundsHoldId}/release`, options);
|
|
16
|
+
return this._client.post(`/simulations/inbound_funds_holds/${inboundFundsHoldId}/release`, options);
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -14,7 +14,7 @@ export class InboundWireDrawdownRequests extends APIResource {
|
|
|
14
14
|
body: InboundWireDrawdownRequestCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
16
|
): Core.APIPromise<InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequest> {
|
|
17
|
-
return this.post('/simulations/inbound_wire_drawdown_requests', { body, ...options });
|
|
17
|
+
return this._client.post('/simulations/inbound_wire_drawdown_requests', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -13,7 +13,7 @@ export class InterestPayments extends APIResource {
|
|
|
13
13
|
body: InterestPaymentCreateParams,
|
|
14
14
|
options?: Core.RequestOptions,
|
|
15
15
|
): Core.APIPromise<InterestPaymentSimulationResult> {
|
|
16
|
-
return this.post('/simulations/interest_payment', { body, ...options });
|
|
16
|
+
return this._client.post('/simulations/interest_payment', { body, ...options });
|
|
17
17
|
}
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -16,7 +16,10 @@ export class PhysicalCards extends APIResource {
|
|
|
16
16
|
body: PhysicalCardShipmentAdvanceParams,
|
|
17
17
|
options?: Core.RequestOptions,
|
|
18
18
|
): Core.APIPromise<PhysicalCardsAPI.PhysicalCard> {
|
|
19
|
-
return this.post(`/simulations/physical_cards/${physicalCardId}/shipment_advance`, {
|
|
19
|
+
return this._client.post(`/simulations/physical_cards/${physicalCardId}/shipment_advance`, {
|
|
20
|
+
body,
|
|
21
|
+
...options,
|
|
22
|
+
});
|
|
20
23
|
}
|
|
21
24
|
}
|
|
22
25
|
|
|
@@ -12,7 +12,7 @@ export class Programs extends APIResource {
|
|
|
12
12
|
* one program, `program_id` is a required field when creating accounts.
|
|
13
13
|
*/
|
|
14
14
|
create(body: ProgramCreateParams, options?: Core.RequestOptions): Core.APIPromise<ProgramsAPI.Program> {
|
|
15
|
-
return this.post('/simulations/programs', { body, ...options });
|
|
15
|
+
return this._client.post('/simulations/programs', { body, ...options });
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
18
|
|