increase 0.11.7 → 0.12.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 +50 -0
- package/README.md +3 -3
- package/_shims/auto/types.d.ts +3 -1
- package/_shims/index.d.ts +2 -0
- package/_shims/node-runtime.d.ts.map +1 -1
- package/_shims/node-runtime.js +3 -0
- package/_shims/node-runtime.js.map +1 -1
- package/_shims/node-runtime.mjs +2 -0
- package/_shims/node-runtime.mjs.map +1 -1
- package/_shims/node-types.d.ts +1 -1
- package/_shims/registry.d.ts +2 -0
- package/_shims/registry.d.ts.map +1 -1
- package/_shims/registry.js +3 -1
- package/_shims/registry.js.map +1 -1
- package/_shims/registry.mjs +2 -0
- package/_shims/registry.mjs.map +1 -1
- package/_shims/web-runtime.d.ts.map +1 -1
- package/_shims/web-runtime.js +8 -0
- package/_shims/web-runtime.js.map +1 -1
- package/_shims/web-runtime.mjs +8 -0
- package/_shims/web-runtime.mjs.map +1 -1
- package/_shims/web-types.d.ts +2 -1
- package/core.d.ts +1 -1
- package/core.d.ts.map +1 -1
- package/core.js +26 -13
- package/core.js.map +1 -1
- package/core.mjs +24 -11
- package/core.mjs.map +1 -1
- package/error.d.ts.map +1 -1
- package/error.js +14 -4
- package/error.js.map +1 -1
- package/error.mjs +14 -4
- package/error.mjs.map +1 -1
- package/index.d.mts +4 -3
- package/index.d.ts +4 -3
- package/index.d.ts.map +1 -1
- package/index.js +3 -3
- package/index.js.map +1 -1
- package/index.mjs +3 -3
- package/index.mjs.map +1 -1
- package/package.json +3 -2
- package/resources/account-numbers.d.ts +7 -9
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js +25 -0
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +2 -0
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +5 -7
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js +25 -0
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +2 -0
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +6 -8
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js +25 -0
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +2 -0
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +7 -9
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +25 -0
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +2 -0
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +6 -8
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js +25 -0
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +2 -0
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +6 -8
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js +25 -0
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +2 -0
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/balance-lookups.d.ts +3 -3
- package/resources/balance-lookups.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +17 -8
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +31 -0
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +8 -0
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.ts +5 -7
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +25 -0
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +2 -0
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +3 -3
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/card-disputes.d.ts +6 -8
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js +25 -0
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +2 -0
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.ts +5 -7
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +25 -0
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +2 -0
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-profiles.d.ts +6 -8
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js +25 -0
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +2 -0
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +5 -7
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +25 -0
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +2 -0
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.d.ts +8 -10
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +25 -0
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +2 -0
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +6 -8
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +25 -0
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +2 -0
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +11 -9
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js +25 -0
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +2 -0
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +5 -7
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +25 -0
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +2 -0
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +5 -7
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js +25 -0
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +2 -0
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +5 -7
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +25 -0
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -0
- package/resources/documents.mjs.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +10 -9
- 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 +22 -23
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +9 -8
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +9 -8
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +8 -10
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/entities/supplemental-documents.js +25 -0
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs +2 -0
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +13 -11
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js +25 -0
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +2 -0
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +9 -9
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +25 -0
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +2 -0
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +6 -8
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +25 -0
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +2 -0
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.ts +7 -9
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js +25 -0
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +2 -0
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +6 -8
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +25 -0
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -0
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +2 -2
- package/resources/groups.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +45 -9
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +25 -0
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +2 -0
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +5 -7
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +25 -0
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +2 -0
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/index.d.ts +1 -1
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs.map +1 -1
- package/resources/oauth-connections.d.ts +5 -7
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js +25 -0
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +2 -0
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +5 -7
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +25 -0
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +2 -0
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-cards.d.ts +8 -10
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js +25 -0
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +2 -0
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.d.ts +5 -7
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js +25 -0
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +2 -0
- package/resources/programs.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +3 -3
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +6 -8
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +25 -0
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +2 -0
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +5 -7
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +25 -0
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +2 -0
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.ts +4 -4
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-transfers.d.ts +2 -2
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +49 -7
- 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 +4 -4
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-profiles.d.ts +2 -2
- 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 +4 -4
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/cards.d.ts +6 -6
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/check-deposits.d.ts +4 -4
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-transfers.d.ts +3 -3
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +3 -3
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/documents.d.ts +4 -4
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +2 -2
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +4 -4
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/interest-payments.d.ts +7 -3
- 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/physical-cards.d.ts +4 -4
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/programs.d.ts +4 -4
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +10 -6
- 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/simulations.d.ts +77 -78
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +54 -55
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +54 -55
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +7 -3
- 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 +9 -7
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +25 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +2 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +6 -8
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +25 -0
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +2 -0
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +6 -8
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +25 -0
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +2 -0
- package/resources/wire-transfers.mjs.map +1 -1
- package/shims/node.d.ts +1 -1
- package/shims/node.d.ts.map +1 -1
- package/shims/web.d.ts +1 -1
- package/shims/web.d.ts.map +1 -1
- package/src/_shims/auto/types.d.ts +3 -1
- package/src/_shims/index.d.ts +2 -0
- package/src/_shims/node-runtime.ts +4 -0
- package/src/_shims/node-types.d.ts +1 -1
- package/src/_shims/registry.ts +3 -0
- package/src/_shims/web-runtime.ts +12 -0
- package/src/_shims/web-types.d.ts +2 -1
- package/src/core.ts +26 -9
- package/src/error.ts +15 -5
- package/src/index.ts +5 -4
- package/src/resources/account-numbers.ts +7 -9
- package/src/resources/account-statements.ts +5 -7
- package/src/resources/account-transfers.ts +6 -8
- package/src/resources/accounts.ts +7 -9
- package/src/resources/ach-prenotifications.ts +6 -8
- package/src/resources/ach-transfers.ts +6 -8
- package/src/resources/balance-lookups.ts +3 -3
- package/src/resources/bookkeeping-accounts.ts +25 -8
- package/src/resources/bookkeeping-entries.ts +5 -7
- package/src/resources/bookkeeping-entry-sets.ts +3 -3
- package/src/resources/card-disputes.ts +6 -8
- package/src/resources/card-payments.ts +5 -7
- package/src/resources/card-profiles.ts +6 -8
- package/src/resources/card-purchase-supplements.ts +5 -7
- package/src/resources/cards.ts +8 -10
- package/src/resources/check-deposits.ts +6 -8
- package/src/resources/check-transfers.ts +12 -9
- package/src/resources/declined-transactions.ts +5 -7
- package/src/resources/digital-wallet-tokens.ts +5 -7
- package/src/resources/documents.ts +5 -7
- package/src/resources/entities/beneficial-owners.ts +13 -9
- package/src/resources/entities/entities.ts +25 -25
- package/src/resources/entities/supplemental-documents.ts +8 -10
- package/src/resources/event-subscriptions.ts +13 -9
- package/src/resources/events.ts +9 -7
- package/src/resources/exports.ts +6 -8
- package/src/resources/external-accounts.ts +7 -9
- package/src/resources/files.ts +6 -8
- package/src/resources/groups.ts +2 -2
- package/src/resources/inbound-ach-transfers.ts +50 -9
- package/src/resources/inbound-wire-drawdown-requests.ts +5 -7
- package/src/resources/index.ts +1 -0
- package/src/resources/oauth-connections.ts +5 -7
- package/src/resources/pending-transactions.ts +5 -7
- package/src/resources/physical-cards.ts +8 -10
- package/src/resources/programs.ts +5 -7
- package/src/resources/real-time-decisions.ts +3 -3
- package/src/resources/real-time-payments-transfers.ts +6 -8
- package/src/resources/routing-numbers.ts +5 -7
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +2 -2
- package/src/resources/simulations/ach-transfers.ts +55 -7
- package/src/resources/simulations/card-disputes.ts +4 -4
- package/src/resources/simulations/card-profiles.ts +5 -2
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +6 -6
- package/src/resources/simulations/check-deposits.ts +4 -4
- package/src/resources/simulations/check-transfers.ts +3 -3
- package/src/resources/simulations/digital-wallet-token-requests.ts +3 -3
- package/src/resources/simulations/documents.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +2 -2
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
- package/src/resources/simulations/interest-payments.ts +8 -3
- package/src/resources/simulations/physical-cards.ts +4 -4
- package/src/resources/simulations/programs.ts +4 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +11 -6
- package/src/resources/simulations/simulations.ts +88 -95
- package/src/resources/simulations/wire-transfers.ts +8 -3
- package/src/resources/transactions.ts +10 -7
- package/src/resources/wire-drawdown-requests.ts +6 -8
- package/src/resources/wire-transfers.ts +6 -8
- package/src/shims/node.ts +1 -1
- package/src/shims/web.ts +1 -1
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as ACHPrenotificationsAPI from "../e/resources/ach-prenotifications";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class ACHPrenotifications extends APIResource {
|
|
10
10
|
/**
|
|
@@ -44,8 +44,6 @@ export class ACHPrenotifications extends APIResource {
|
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
export class ACHPrenotificationsPage extends Page<ACHPrenotification> {}
|
|
47
|
-
// alias so we can export it in the namespace
|
|
48
|
-
type _ACHPrenotificationsPage = ACHPrenotificationsPage;
|
|
49
47
|
|
|
50
48
|
/**
|
|
51
49
|
* ACH Prenotifications are one way you can verify account and routing numbers by
|
|
@@ -555,8 +553,8 @@ export namespace ACHPrenotificationListParams {
|
|
|
555
553
|
}
|
|
556
554
|
|
|
557
555
|
export namespace ACHPrenotifications {
|
|
558
|
-
export import ACHPrenotification =
|
|
559
|
-
export
|
|
560
|
-
export import ACHPrenotificationCreateParams =
|
|
561
|
-
export import ACHPrenotificationListParams =
|
|
556
|
+
export import ACHPrenotification = ACHPrenotificationsAPI.ACHPrenotification;
|
|
557
|
+
export import ACHPrenotificationsPage = ACHPrenotificationsAPI.ACHPrenotificationsPage;
|
|
558
|
+
export import ACHPrenotificationCreateParams = ACHPrenotificationsAPI.ACHPrenotificationCreateParams;
|
|
559
|
+
export import ACHPrenotificationListParams = ACHPrenotificationsAPI.ACHPrenotificationListParams;
|
|
562
560
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as ACHTransfersAPI from "../e/resources/ach-transfers";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class ACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -55,8 +55,6 @@ export class ACHTransfers extends APIResource {
|
|
|
55
55
|
}
|
|
56
56
|
|
|
57
57
|
export class ACHTransfersPage extends Page<ACHTransfer> {}
|
|
58
|
-
// alias so we can export it in the namespace
|
|
59
|
-
type _ACHTransfersPage = ACHTransfersPage;
|
|
60
58
|
|
|
61
59
|
/**
|
|
62
60
|
* ACH transfers move funds between your Increase account and any other account
|
|
@@ -846,8 +844,8 @@ export namespace ACHTransferListParams {
|
|
|
846
844
|
}
|
|
847
845
|
|
|
848
846
|
export namespace ACHTransfers {
|
|
849
|
-
export import ACHTransfer =
|
|
850
|
-
export
|
|
851
|
-
export import ACHTransferCreateParams =
|
|
852
|
-
export import ACHTransferListParams =
|
|
847
|
+
export import ACHTransfer = ACHTransfersAPI.ACHTransfer;
|
|
848
|
+
export import ACHTransfersPage = ACHTransfersAPI.ACHTransfersPage;
|
|
849
|
+
export import ACHTransferCreateParams = ACHTransfersAPI.ACHTransferCreateParams;
|
|
850
|
+
export import ACHTransferListParams = ACHTransfersAPI.ACHTransferListParams;
|
|
853
851
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as BalanceLookupsAPI from "../e/resources/balance-lookups";
|
|
6
6
|
|
|
7
7
|
export class BalanceLookups extends APIResource {
|
|
8
8
|
/**
|
|
@@ -58,6 +58,6 @@ export interface BalanceLookupLookupParams {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
export namespace BalanceLookups {
|
|
61
|
-
export import BalanceLookupLookupResponse =
|
|
62
|
-
export import BalanceLookupLookupParams =
|
|
61
|
+
export import BalanceLookupLookupResponse = BalanceLookupsAPI.BalanceLookupLookupResponse;
|
|
62
|
+
export import BalanceLookupLookupParams = BalanceLookupsAPI.BalanceLookupLookupParams;
|
|
63
63
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as BookkeepingAccountsAPI from "../e/resources/bookkeeping-accounts";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class BookkeepingAccounts extends APIResource {
|
|
10
10
|
/**
|
|
@@ -17,6 +17,17 @@ export class BookkeepingAccounts extends APIResource {
|
|
|
17
17
|
return this.post('/bookkeeping_accounts', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
/**
|
|
21
|
+
* Update a Bookkeeping Account
|
|
22
|
+
*/
|
|
23
|
+
update(
|
|
24
|
+
bookkeepingAccountId: string,
|
|
25
|
+
body: BookkeepingAccountUpdateParams,
|
|
26
|
+
options?: Core.RequestOptions,
|
|
27
|
+
): Core.APIPromise<BookkeepingAccount> {
|
|
28
|
+
return this.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|
|
29
|
+
}
|
|
30
|
+
|
|
20
31
|
/**
|
|
21
32
|
* List Bookkeeping Accounts
|
|
22
33
|
*/
|
|
@@ -37,8 +48,6 @@ export class BookkeepingAccounts extends APIResource {
|
|
|
37
48
|
}
|
|
38
49
|
|
|
39
50
|
export class BookkeepingAccountsPage extends Page<BookkeepingAccount> {}
|
|
40
|
-
// alias so we can export it in the namespace
|
|
41
|
-
type _BookkeepingAccountsPage = BookkeepingAccountsPage;
|
|
42
51
|
|
|
43
52
|
/**
|
|
44
53
|
* Accounts are T-accounts. They can store accounting entries.
|
|
@@ -104,11 +113,19 @@ export interface BookkeepingAccountCreateParams {
|
|
|
104
113
|
entity_id?: string;
|
|
105
114
|
}
|
|
106
115
|
|
|
116
|
+
export interface BookkeepingAccountUpdateParams {
|
|
117
|
+
/**
|
|
118
|
+
* The name you choose for the account.
|
|
119
|
+
*/
|
|
120
|
+
name: string;
|
|
121
|
+
}
|
|
122
|
+
|
|
107
123
|
export interface BookkeepingAccountListParams extends PageParams {}
|
|
108
124
|
|
|
109
125
|
export namespace BookkeepingAccounts {
|
|
110
|
-
export import BookkeepingAccount =
|
|
111
|
-
export
|
|
112
|
-
export import BookkeepingAccountCreateParams =
|
|
113
|
-
export import
|
|
126
|
+
export import BookkeepingAccount = BookkeepingAccountsAPI.BookkeepingAccount;
|
|
127
|
+
export import BookkeepingAccountsPage = BookkeepingAccountsAPI.BookkeepingAccountsPage;
|
|
128
|
+
export import BookkeepingAccountCreateParams = BookkeepingAccountsAPI.BookkeepingAccountCreateParams;
|
|
129
|
+
export import BookkeepingAccountUpdateParams = BookkeepingAccountsAPI.BookkeepingAccountUpdateParams;
|
|
130
|
+
export import BookkeepingAccountListParams = BookkeepingAccountsAPI.BookkeepingAccountListParams;
|
|
114
131
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as BookkeepingEntriesAPI from "../e/resources/bookkeeping-entries";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class BookkeepingEntries extends APIResource {
|
|
10
10
|
/**
|
|
@@ -27,8 +27,6 @@ export class BookkeepingEntries extends APIResource {
|
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
export class BookkeepingEntriesPage extends Page<BookkeepingEntry> {}
|
|
30
|
-
// alias so we can export it in the namespace
|
|
31
|
-
type _BookkeepingEntriesPage = BookkeepingEntriesPage;
|
|
32
30
|
|
|
33
31
|
/**
|
|
34
32
|
* Entries are T-account entries recording debits and credits.
|
|
@@ -65,7 +63,7 @@ export interface BookkeepingEntry {
|
|
|
65
63
|
export interface BookkeepingEntryListParams extends PageParams {}
|
|
66
64
|
|
|
67
65
|
export namespace BookkeepingEntries {
|
|
68
|
-
export import BookkeepingEntry =
|
|
69
|
-
export
|
|
70
|
-
export import BookkeepingEntryListParams =
|
|
66
|
+
export import BookkeepingEntry = BookkeepingEntriesAPI.BookkeepingEntry;
|
|
67
|
+
export import BookkeepingEntriesPage = BookkeepingEntriesAPI.BookkeepingEntriesPage;
|
|
68
|
+
export import BookkeepingEntryListParams = BookkeepingEntriesAPI.BookkeepingEntryListParams;
|
|
71
69
|
}
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
|
-
import * as
|
|
5
|
+
import * as BookkeepingEntrySetsAPI from "../e/resources/bookkeeping-entry-sets";
|
|
6
6
|
|
|
7
7
|
export class BookkeepingEntrySets extends APIResource {
|
|
8
8
|
/**
|
|
@@ -101,6 +101,6 @@ export namespace BookkeepingEntrySetCreateParams {
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
export namespace BookkeepingEntrySets {
|
|
104
|
-
export import BookkeepingEntrySet =
|
|
105
|
-
export import BookkeepingEntrySetCreateParams =
|
|
104
|
+
export import BookkeepingEntrySet = BookkeepingEntrySetsAPI.BookkeepingEntrySet;
|
|
105
|
+
export import BookkeepingEntrySetCreateParams = BookkeepingEntrySetsAPI.BookkeepingEntrySetCreateParams;
|
|
106
106
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CardDisputesAPI from "../e/resources/card-disputes";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class CardDisputes extends APIResource {
|
|
10
10
|
/**
|
|
@@ -41,8 +41,6 @@ export class CardDisputes extends APIResource {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export class CardDisputesPage extends Page<CardDispute> {}
|
|
44
|
-
// alias so we can export it in the namespace
|
|
45
|
-
type _CardDisputesPage = CardDisputesPage;
|
|
46
44
|
|
|
47
45
|
/**
|
|
48
46
|
* If unauthorized activity occurs on a card, you can create a Card Dispute and
|
|
@@ -203,8 +201,8 @@ export namespace CardDisputeListParams {
|
|
|
203
201
|
}
|
|
204
202
|
|
|
205
203
|
export namespace CardDisputes {
|
|
206
|
-
export import CardDispute =
|
|
207
|
-
export
|
|
208
|
-
export import CardDisputeCreateParams =
|
|
209
|
-
export import CardDisputeListParams =
|
|
204
|
+
export import CardDispute = CardDisputesAPI.CardDispute;
|
|
205
|
+
export import CardDisputesPage = CardDisputesAPI.CardDisputesPage;
|
|
206
|
+
export import CardDisputeCreateParams = CardDisputesAPI.CardDisputeCreateParams;
|
|
207
|
+
export import CardDisputeListParams = CardDisputesAPI.CardDisputeListParams;
|
|
210
208
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CardPaymentsAPI from "../e/resources/card-payments";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class CardPayments extends APIResource {
|
|
10
10
|
/**
|
|
@@ -34,8 +34,6 @@ export class CardPayments extends APIResource {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export class CardPaymentsPage extends Page<CardPayment> {}
|
|
37
|
-
// alias so we can export it in the namespace
|
|
38
|
-
type _CardPaymentsPage = CardPaymentsPage;
|
|
39
37
|
|
|
40
38
|
/**
|
|
41
39
|
* Card Payments group together interactions related to a single card payment, such
|
|
@@ -2289,7 +2287,7 @@ export namespace CardPaymentListParams {
|
|
|
2289
2287
|
}
|
|
2290
2288
|
|
|
2291
2289
|
export namespace CardPayments {
|
|
2292
|
-
export import CardPayment =
|
|
2293
|
-
export
|
|
2294
|
-
export import CardPaymentListParams =
|
|
2290
|
+
export import CardPayment = CardPaymentsAPI.CardPayment;
|
|
2291
|
+
export import CardPaymentsPage = CardPaymentsAPI.CardPaymentsPage;
|
|
2292
|
+
export import CardPaymentListParams = CardPaymentsAPI.CardPaymentListParams;
|
|
2295
2293
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CardProfilesAPI from "../e/resources/card-profiles";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class CardProfiles extends APIResource {
|
|
10
10
|
/**
|
|
@@ -48,8 +48,6 @@ export class CardProfiles extends APIResource {
|
|
|
48
48
|
}
|
|
49
49
|
|
|
50
50
|
export class CardProfilesPage extends Page<CardProfile> {}
|
|
51
|
-
// alias so we can export it in the namespace
|
|
52
|
-
type _CardProfilesPage = CardProfilesPage;
|
|
53
51
|
|
|
54
52
|
/**
|
|
55
53
|
* This contains artwork and metadata relating to a Card's appearance in digital
|
|
@@ -360,8 +358,8 @@ export namespace CardProfileListParams {
|
|
|
360
358
|
}
|
|
361
359
|
|
|
362
360
|
export namespace CardProfiles {
|
|
363
|
-
export import CardProfile =
|
|
364
|
-
export
|
|
365
|
-
export import CardProfileCreateParams =
|
|
366
|
-
export import CardProfileListParams =
|
|
361
|
+
export import CardProfile = CardProfilesAPI.CardProfile;
|
|
362
|
+
export import CardProfilesPage = CardProfilesAPI.CardProfilesPage;
|
|
363
|
+
export import CardProfileCreateParams = CardProfilesAPI.CardProfileCreateParams;
|
|
364
|
+
export import CardProfileListParams = CardProfilesAPI.CardProfileListParams;
|
|
367
365
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CardPurchaseSupplementsAPI from "../e/resources/card-purchase-supplements";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class CardPurchaseSupplements extends APIResource {
|
|
10
10
|
/**
|
|
@@ -37,8 +37,6 @@ export class CardPurchaseSupplements extends APIResource {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export class CardPurchaseSupplementsPage extends Page<CardPurchaseSupplement> {}
|
|
40
|
-
// alias so we can export it in the namespace
|
|
41
|
-
type _CardPurchaseSupplementsPage = CardPurchaseSupplementsPage;
|
|
42
40
|
|
|
43
41
|
/**
|
|
44
42
|
* Additional information about a card purchase (e.g., settlement or refund), such
|
|
@@ -325,7 +323,7 @@ export namespace CardPurchaseSupplementListParams {
|
|
|
325
323
|
}
|
|
326
324
|
|
|
327
325
|
export namespace CardPurchaseSupplements {
|
|
328
|
-
export import CardPurchaseSupplement =
|
|
329
|
-
export
|
|
330
|
-
export import CardPurchaseSupplementListParams =
|
|
326
|
+
export import CardPurchaseSupplement = CardPurchaseSupplementsAPI.CardPurchaseSupplement;
|
|
327
|
+
export import CardPurchaseSupplementsPage = CardPurchaseSupplementsAPI.CardPurchaseSupplementsPage;
|
|
328
|
+
export import CardPurchaseSupplementListParams = CardPurchaseSupplementsAPI.CardPurchaseSupplementListParams;
|
|
331
329
|
}
|
package/src/resources/cards.ts
CHANGED
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CardsAPI from "../e/resources/cards";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class Cards extends APIResource {
|
|
10
10
|
/**
|
|
@@ -52,8 +52,6 @@ export class Cards extends APIResource {
|
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
export class CardsPage extends Page<Card> {}
|
|
55
|
-
// alias so we can export it in the namespace
|
|
56
|
-
type _CardsPage = CardsPage;
|
|
57
55
|
|
|
58
56
|
/**
|
|
59
57
|
* Cards are commercial credit cards. They'll immediately work for online purchases
|
|
@@ -446,10 +444,10 @@ export namespace CardListParams {
|
|
|
446
444
|
}
|
|
447
445
|
|
|
448
446
|
export namespace Cards {
|
|
449
|
-
export import Card =
|
|
450
|
-
export import CardDetails =
|
|
451
|
-
export
|
|
452
|
-
export import CardCreateParams =
|
|
453
|
-
export import CardUpdateParams =
|
|
454
|
-
export import CardListParams =
|
|
447
|
+
export import Card = CardsAPI.Card;
|
|
448
|
+
export import CardDetails = CardsAPI.CardDetails;
|
|
449
|
+
export import CardsPage = CardsAPI.CardsPage;
|
|
450
|
+
export import CardCreateParams = CardsAPI.CardCreateParams;
|
|
451
|
+
export import CardUpdateParams = CardsAPI.CardUpdateParams;
|
|
452
|
+
export import CardListParams = CardsAPI.CardListParams;
|
|
455
453
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CheckDepositsAPI from "../e/resources/check-deposits";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class CheckDeposits extends APIResource {
|
|
10
10
|
/**
|
|
@@ -41,8 +41,6 @@ export class CheckDeposits extends APIResource {
|
|
|
41
41
|
}
|
|
42
42
|
|
|
43
43
|
export class CheckDepositsPage extends Page<CheckDeposit> {}
|
|
44
|
-
// alias so we can export it in the namespace
|
|
45
|
-
type _CheckDepositsPage = CheckDepositsPage;
|
|
46
44
|
|
|
47
45
|
/**
|
|
48
46
|
* Check Deposits allow you to deposit images of paper checks into your account.
|
|
@@ -381,8 +379,8 @@ export namespace CheckDepositListParams {
|
|
|
381
379
|
}
|
|
382
380
|
|
|
383
381
|
export namespace CheckDeposits {
|
|
384
|
-
export import CheckDeposit =
|
|
385
|
-
export
|
|
386
|
-
export import CheckDepositCreateParams =
|
|
387
|
-
export import CheckDepositListParams =
|
|
382
|
+
export import CheckDeposit = CheckDepositsAPI.CheckDeposit;
|
|
383
|
+
export import CheckDepositsPage = CheckDepositsAPI.CheckDepositsPage;
|
|
384
|
+
export import CheckDepositCreateParams = CheckDepositsAPI.CheckDepositCreateParams;
|
|
385
|
+
export import CheckDepositListParams = CheckDepositsAPI.CheckDepositListParams;
|
|
388
386
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as CheckTransfersAPI from "../e/resources/check-transfers";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class CheckTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -66,8 +66,6 @@ export class CheckTransfers extends APIResource {
|
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
export class CheckTransfersPage extends Page<CheckTransfer> {}
|
|
69
|
-
// alias so we can export it in the namespace
|
|
70
|
-
type _CheckTransfersPage = CheckTransfersPage;
|
|
71
69
|
|
|
72
70
|
/**
|
|
73
71
|
* Check Transfers move funds from your Increase account by mailing a physical
|
|
@@ -296,6 +294,11 @@ export namespace CheckTransfer {
|
|
|
296
294
|
*/
|
|
297
295
|
transaction_id: string | null;
|
|
298
296
|
|
|
297
|
+
/**
|
|
298
|
+
* The identifier of the Check Transfer object that was deposited.
|
|
299
|
+
*/
|
|
300
|
+
transfer_id: string;
|
|
301
|
+
|
|
299
302
|
/**
|
|
300
303
|
* A constant representing the object's type. For this resource it will always be
|
|
301
304
|
* `check_transfer_deposit`.
|
|
@@ -676,9 +679,9 @@ export interface CheckTransferStopPaymentParams {
|
|
|
676
679
|
}
|
|
677
680
|
|
|
678
681
|
export namespace CheckTransfers {
|
|
679
|
-
export import CheckTransfer =
|
|
680
|
-
export
|
|
681
|
-
export import CheckTransferCreateParams =
|
|
682
|
-
export import CheckTransferListParams =
|
|
683
|
-
export import CheckTransferStopPaymentParams =
|
|
682
|
+
export import CheckTransfer = CheckTransfersAPI.CheckTransfer;
|
|
683
|
+
export import CheckTransfersPage = CheckTransfersAPI.CheckTransfersPage;
|
|
684
|
+
export import CheckTransferCreateParams = CheckTransfersAPI.CheckTransferCreateParams;
|
|
685
|
+
export import CheckTransferListParams = CheckTransfersAPI.CheckTransferListParams;
|
|
686
|
+
export import CheckTransferStopPaymentParams = CheckTransfersAPI.CheckTransferStopPaymentParams;
|
|
684
687
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as DeclinedTransactionsAPI from "../e/resources/declined-transactions";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class DeclinedTransactions extends APIResource {
|
|
10
10
|
/**
|
|
@@ -37,8 +37,6 @@ export class DeclinedTransactions extends APIResource {
|
|
|
37
37
|
}
|
|
38
38
|
|
|
39
39
|
export class DeclinedTransactionsPage extends Page<DeclinedTransaction> {}
|
|
40
|
-
// alias so we can export it in the namespace
|
|
41
|
-
type _DeclinedTransactionsPage = DeclinedTransactionsPage;
|
|
42
40
|
|
|
43
41
|
/**
|
|
44
42
|
* Declined Transactions are refused additions and removals of money from your bank
|
|
@@ -1114,7 +1112,7 @@ export namespace DeclinedTransactionListParams {
|
|
|
1114
1112
|
}
|
|
1115
1113
|
|
|
1116
1114
|
export namespace DeclinedTransactions {
|
|
1117
|
-
export import DeclinedTransaction =
|
|
1118
|
-
export
|
|
1119
|
-
export import DeclinedTransactionListParams =
|
|
1115
|
+
export import DeclinedTransaction = DeclinedTransactionsAPI.DeclinedTransaction;
|
|
1116
|
+
export import DeclinedTransactionsPage = DeclinedTransactionsAPI.DeclinedTransactionsPage;
|
|
1117
|
+
export import DeclinedTransactionListParams = DeclinedTransactionsAPI.DeclinedTransactionListParams;
|
|
1120
1118
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as DigitalWalletTokensAPI from "../e/resources/digital-wallet-tokens";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class DigitalWalletTokens extends APIResource {
|
|
10
10
|
/**
|
|
@@ -34,8 +34,6 @@ export class DigitalWalletTokens extends APIResource {
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
export class DigitalWalletTokensPage extends Page<DigitalWalletToken> {}
|
|
37
|
-
// alias so we can export it in the namespace
|
|
38
|
-
type _DigitalWalletTokensPage = DigitalWalletTokensPage;
|
|
39
37
|
|
|
40
38
|
/**
|
|
41
39
|
* A Digital Wallet Token is created when a user adds a Card to their Apple Pay or
|
|
@@ -124,7 +122,7 @@ export namespace DigitalWalletTokenListParams {
|
|
|
124
122
|
}
|
|
125
123
|
|
|
126
124
|
export namespace DigitalWalletTokens {
|
|
127
|
-
export import DigitalWalletToken =
|
|
128
|
-
export
|
|
129
|
-
export import DigitalWalletTokenListParams =
|
|
125
|
+
export import DigitalWalletToken = DigitalWalletTokensAPI.DigitalWalletToken;
|
|
126
|
+
export import DigitalWalletTokensPage = DigitalWalletTokensAPI.DigitalWalletTokensPage;
|
|
127
|
+
export import DigitalWalletTokenListParams = DigitalWalletTokensAPI.DigitalWalletTokenListParams;
|
|
130
128
|
}
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import * as Core from "../e/core";
|
|
4
4
|
import { APIResource } from "../e/resource";
|
|
5
5
|
import { isRequestOptions } from "../e/core";
|
|
6
|
-
import * as
|
|
7
|
-
import { Page, PageParams } from "../e/pagination";
|
|
6
|
+
import * as DocumentsAPI from "../e/resources/documents";
|
|
7
|
+
import { Page, type PageParams } from "../e/pagination";
|
|
8
8
|
|
|
9
9
|
export class Documents extends APIResource {
|
|
10
10
|
/**
|
|
@@ -31,8 +31,6 @@ export class Documents extends APIResource {
|
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
export class DocumentsPage extends Page<Document> {}
|
|
34
|
-
// alias so we can export it in the namespace
|
|
35
|
-
type _DocumentsPage = DocumentsPage;
|
|
36
34
|
|
|
37
35
|
/**
|
|
38
36
|
* Increase generates certain documents / forms automatically for your application;
|
|
@@ -128,7 +126,7 @@ export namespace DocumentListParams {
|
|
|
128
126
|
}
|
|
129
127
|
|
|
130
128
|
export namespace Documents {
|
|
131
|
-
export import Document =
|
|
132
|
-
export
|
|
133
|
-
export import DocumentListParams =
|
|
129
|
+
export import Document = DocumentsAPI.Document;
|
|
130
|
+
export import DocumentsPage = DocumentsAPI.DocumentsPage;
|
|
131
|
+
export import DocumentListParams = DocumentsAPI.DocumentListParams;
|
|
134
132
|
}
|
|
@@ -2,14 +2,17 @@
|
|
|
2
2
|
|
|
3
3
|
import * as Core from "../../e/core";
|
|
4
4
|
import { APIResource } from "../../e/resource";
|
|
5
|
-
import * as
|
|
6
|
-
import * as
|
|
5
|
+
import * as BeneficialOwnersAPI from "../../e/resources/entities/beneficial-owners";
|
|
6
|
+
import * as EntitiesAPI from "../../e/resources/entities/entities";
|
|
7
7
|
|
|
8
8
|
export class BeneficialOwners extends APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Create a beneficial owner for a corporate Entity
|
|
11
11
|
*/
|
|
12
|
-
create(
|
|
12
|
+
create(
|
|
13
|
+
body: BeneficialOwnerCreateParams,
|
|
14
|
+
options?: Core.RequestOptions,
|
|
15
|
+
): Core.APIPromise<EntitiesAPI.Entity> {
|
|
13
16
|
return this.post('/entity_beneficial_owners', { body, ...options });
|
|
14
17
|
}
|
|
15
18
|
|
|
@@ -19,7 +22,7 @@ export class BeneficialOwners extends APIResource {
|
|
|
19
22
|
archive(
|
|
20
23
|
body: BeneficialOwnerArchiveParams,
|
|
21
24
|
options?: Core.RequestOptions,
|
|
22
|
-
): Core.APIPromise<
|
|
25
|
+
): Core.APIPromise<EntitiesAPI.Entity> {
|
|
23
26
|
return this.post('/entity_beneficial_owners/archive', { body, ...options });
|
|
24
27
|
}
|
|
25
28
|
|
|
@@ -29,7 +32,7 @@ export class BeneficialOwners extends APIResource {
|
|
|
29
32
|
updateAddress(
|
|
30
33
|
body: BeneficialOwnerUpdateAddressParams,
|
|
31
34
|
options?: Core.RequestOptions,
|
|
32
|
-
): Core.APIPromise<
|
|
35
|
+
): Core.APIPromise<EntitiesAPI.Entity> {
|
|
33
36
|
return this.post('/entity_beneficial_owners/address', { body, ...options });
|
|
34
37
|
}
|
|
35
38
|
}
|
|
@@ -60,7 +63,8 @@ export namespace BeneficialOwnerCreateParams {
|
|
|
60
63
|
|
|
61
64
|
/**
|
|
62
65
|
* Why this person is considered a beneficial owner of the entity. At least one
|
|
63
|
-
* option is required
|
|
66
|
+
* option is required, if a person is both a control person and owner, submit an
|
|
67
|
+
* array containing both.
|
|
64
68
|
*/
|
|
65
69
|
prongs: Array<'ownership' | 'control'>;
|
|
66
70
|
|
|
@@ -332,7 +336,7 @@ export namespace BeneficialOwnerUpdateAddressParams {
|
|
|
332
336
|
}
|
|
333
337
|
|
|
334
338
|
export namespace BeneficialOwners {
|
|
335
|
-
export import BeneficialOwnerCreateParams =
|
|
336
|
-
export import BeneficialOwnerArchiveParams =
|
|
337
|
-
export import BeneficialOwnerUpdateAddressParams =
|
|
339
|
+
export import BeneficialOwnerCreateParams = BeneficialOwnersAPI.BeneficialOwnerCreateParams;
|
|
340
|
+
export import BeneficialOwnerArchiveParams = BeneficialOwnersAPI.BeneficialOwnerArchiveParams;
|
|
341
|
+
export import BeneficialOwnerUpdateAddressParams = BeneficialOwnersAPI.BeneficialOwnerUpdateAddressParams;
|
|
338
342
|
}
|