increase 0.54.0 → 0.57.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 +61 -0
- package/README.md +1 -1
- package/core.d.ts +4 -2
- package/core.d.ts.map +1 -1
- package/core.js +17 -4
- package/core.js.map +1 -1
- package/core.mjs +18 -5
- package/core.mjs.map +1 -1
- package/index.d.mts +22 -6
- package/index.d.ts +22 -6
- package/index.d.ts.map +1 -1
- package/index.js +13 -5
- package/index.js.map +1 -1
- package/index.mjs +13 -5
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/account-numbers.d.ts +4 -4
- package/resources/account-numbers.d.ts.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.d.ts +4 -4
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js +4 -4
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +4 -4
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +64 -4
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js +4 -4
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +4 -4
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +9 -4
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +4 -4
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +4 -4
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +4 -4
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js +4 -4
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +4 -4
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +151 -16
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js +4 -4
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +4 -4
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +4 -4
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +4 -4
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +4 -4
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.ts +4 -4
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +4 -4
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +4 -4
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +4 -4
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +4 -4
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +4 -4
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.d.ts +60 -7
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js +4 -4
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +4 -4
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.ts +54 -13
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +4 -4
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +4 -4
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +8 -4
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +4 -4
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +4 -4
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.d.ts +4 -4
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +4 -4
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +4 -4
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +36 -19
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +4 -4
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +4 -4
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +74 -4
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js +4 -4
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +4 -4
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +84 -10
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +4 -4
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +4 -4
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-card-profiles.d.ts +4 -9
- package/resources/digital-card-profiles.d.ts.map +1 -1
- package/resources/digital-card-profiles.js +4 -4
- package/resources/digital-card-profiles.js.map +1 -1
- package/resources/digital-card-profiles.mjs +4 -4
- package/resources/digital-card-profiles.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +4 -4
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js +4 -4
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +4 -4
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +4 -4
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +4 -4
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +4 -4
- package/resources/documents.mjs.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +4 -4
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js +1 -1
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +1 -1
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +160 -10
- 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/industry-code.d.ts +4 -4
- package/resources/entities/industry-code.d.ts.map +1 -1
- package/resources/entities/industry-code.js +1 -1
- package/resources/entities/industry-code.js.map +1 -1
- package/resources/entities/industry-code.mjs +1 -1
- package/resources/entities/industry-code.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +5 -5
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/entities/supplemental-documents.js +3 -3
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs +3 -3
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +10 -6
- package/resources/event-subscriptions.d.ts.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.d.ts +8 -6
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +4 -4
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +4 -4
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +15 -7
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +4 -4
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +4 -4
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.ts +4 -4
- package/resources/external-accounts.d.ts.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.d.ts +11 -8
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +6 -6
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +6 -6
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +3 -3
- package/resources/groups.d.ts.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 +26 -5
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +4 -4
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +4 -4
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-check-deposits.d.ts +4 -4
- package/resources/inbound-check-deposits.d.ts.map +1 -1
- package/resources/inbound-check-deposits.js +4 -4
- package/resources/inbound-check-deposits.js.map +1 -1
- package/resources/inbound-check-deposits.mjs +4 -4
- package/resources/inbound-check-deposits.mjs.map +1 -1
- package/resources/inbound-mail-items.d.ts +151 -0
- package/resources/inbound-mail-items.d.ts.map +1 -0
- package/resources/inbound-mail-items.js +53 -0
- package/resources/inbound-mail-items.js.map +1 -0
- package/resources/inbound-mail-items.mjs +25 -0
- package/resources/inbound-mail-items.mjs.map +1 -0
- package/resources/inbound-wire-drawdown-requests.d.ts +4 -4
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +4 -4
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +4 -4
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +4 -4
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js +4 -4
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs +4 -4
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/intrafi/account-enrollments.d.ts +4 -4
- package/resources/intrafi/account-enrollments.d.ts.map +1 -1
- package/resources/intrafi/account-enrollments.js +4 -4
- package/resources/intrafi/account-enrollments.js.map +1 -1
- package/resources/intrafi/account-enrollments.mjs +4 -4
- package/resources/intrafi/account-enrollments.mjs.map +1 -1
- package/resources/intrafi/balances.d.ts +11 -3
- package/resources/intrafi/balances.d.ts.map +1 -1
- package/resources/intrafi/balances.js +1 -1
- package/resources/intrafi/balances.js.map +1 -1
- package/resources/intrafi/balances.mjs +1 -1
- package/resources/intrafi/balances.mjs.map +1 -1
- package/resources/intrafi/exclusions.d.ts +4 -4
- package/resources/intrafi/exclusions.d.ts.map +1 -1
- package/resources/intrafi/exclusions.js +4 -4
- package/resources/intrafi/exclusions.js.map +1 -1
- package/resources/intrafi/exclusions.mjs +4 -4
- package/resources/intrafi/exclusions.mjs.map +1 -1
- package/resources/intrafi/intrafi.d.ts +4 -4
- package/resources/intrafi/intrafi.d.ts.map +1 -1
- package/resources/intrafi/intrafi.js +4 -4
- package/resources/intrafi/intrafi.js.map +1 -1
- package/resources/intrafi/intrafi.mjs +4 -4
- package/resources/intrafi/intrafi.mjs.map +1 -1
- package/resources/lockboxes.d.ts +186 -0
- package/resources/lockboxes.d.ts.map +1 -0
- package/resources/lockboxes.js +65 -0
- package/resources/lockboxes.js.map +1 -0
- package/resources/lockboxes.mjs +37 -0
- package/resources/lockboxes.mjs.map +1 -0
- package/resources/oauth-connections.d.ts +4 -4
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js +4 -4
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +4 -4
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/oauth-tokens.d.ts +3 -3
- package/resources/oauth-tokens.d.ts.map +1 -1
- package/resources/oauth-tokens.js +1 -1
- package/resources/oauth-tokens.js.map +1 -1
- package/resources/oauth-tokens.mjs +1 -1
- package/resources/oauth-tokens.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +16 -6
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +4 -4
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +4 -4
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-card-profiles.d.ts +4 -4
- package/resources/physical-card-profiles.d.ts.map +1 -1
- package/resources/physical-card-profiles.js +4 -4
- package/resources/physical-card-profiles.js.map +1 -1
- package/resources/physical-card-profiles.mjs +4 -4
- package/resources/physical-card-profiles.mjs.map +1 -1
- package/resources/physical-cards.d.ts +4 -4
- package/resources/physical-cards.d.ts.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.d.ts +14 -4
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js +4 -4
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +4 -4
- package/resources/programs.mjs.map +1 -1
- package/resources/proof-of-authorization-request-submissions.d.ts +4 -4
- package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -1
- package/resources/proof-of-authorization-request-submissions.js +4 -4
- package/resources/proof-of-authorization-request-submissions.js.map +1 -1
- package/resources/proof-of-authorization-request-submissions.mjs +4 -4
- package/resources/proof-of-authorization-request-submissions.mjs.map +1 -1
- package/resources/proof-of-authorization-requests.d.ts +4 -4
- package/resources/proof-of-authorization-requests.d.ts.map +1 -1
- package/resources/proof-of-authorization-requests.js +4 -4
- package/resources/proof-of-authorization-requests.js.map +1 -1
- package/resources/proof-of-authorization-requests.mjs +4 -4
- package/resources/proof-of-authorization-requests.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +8 -3
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-request-for-payments.d.ts +4 -4
- package/resources/real-time-payments-request-for-payments.d.ts.map +1 -1
- package/resources/real-time-payments-request-for-payments.js +4 -4
- package/resources/real-time-payments-request-for-payments.js.map +1 -1
- package/resources/real-time-payments-request-for-payments.mjs +4 -4
- package/resources/real-time-payments-request-for-payments.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +78 -13
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +4 -4
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +4 -4
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +4 -4
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +3 -3
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +3 -3
- 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-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.d.ts +3 -3
- package/resources/simulations/account-transfers.d.ts.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 +5 -5
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +10 -6
- package/resources/simulations/card-disputes.d.ts.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-refunds.d.ts +4 -4
- package/resources/simulations/card-refunds.d.ts.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 +95 -11
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +3 -3
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-deposits.js +1 -1
- package/resources/simulations/check-deposits.js.map +1 -1
- package/resources/simulations/check-deposits.mjs +1 -1
- package/resources/simulations/check-deposits.mjs.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/check-transfers.js +1 -1
- package/resources/simulations/check-transfers.js.map +1 -1
- package/resources/simulations/check-transfers.mjs +1 -1
- package/resources/simulations/check-transfers.mjs.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/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.d.ts +4 -4
- package/resources/simulations/documents.d.ts.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-check-deposits.d.ts +4 -4
- package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
- package/resources/simulations/inbound-check-deposits.js +1 -1
- package/resources/simulations/inbound-check-deposits.js.map +1 -1
- package/resources/simulations/inbound-check-deposits.mjs +1 -1
- package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +3 -3
- package/resources/simulations/inbound-funds-holds.d.ts.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-international-ach-transfers.d.ts +281 -0
- package/resources/simulations/inbound-international-ach-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-international-ach-transfers.js +21 -0
- package/resources/simulations/inbound-international-ach-transfers.js.map +1 -0
- package/resources/simulations/inbound-international-ach-transfers.mjs +17 -0
- package/resources/simulations/inbound-international-ach-transfers.mjs.map +1 -0
- 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/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/index.d.ts +1 -0
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +3 -1
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +1 -0
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/interest-payments.d.ts +4 -4
- package/resources/simulations/interest-payments.d.ts.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 +4 -4
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/physical-cards.js +1 -1
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +1 -1
- package/resources/simulations/physical-cards.mjs.map +1 -1
- package/resources/simulations/programs.d.ts +4 -4
- package/resources/simulations/programs.d.ts.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 +143 -16
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +27 -22
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +22 -19
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +22 -19
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +4 -4
- package/resources/simulations/wire-transfers.d.ts.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.d.ts +65 -12
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +4 -4
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +4 -4
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +4 -4
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +4 -4
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +4 -4
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +64 -4
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +4 -4
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +4 -4
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/core.ts +27 -8
- package/src/index.ts +25 -6
- package/src/resources/account-numbers.ts +5 -5
- package/src/resources/account-statements.ts +5 -5
- package/src/resources/account-transfers.ts +73 -5
- package/src/resources/accounts.ts +11 -5
- package/src/resources/ach-prenotifications.ts +5 -5
- package/src/resources/ach-transfers.ts +168 -18
- package/src/resources/bookkeeping-accounts.ts +5 -5
- package/src/resources/bookkeeping-entries.ts +5 -5
- package/src/resources/bookkeeping-entry-sets.ts +5 -5
- package/src/resources/card-disputes.ts +69 -8
- package/src/resources/card-payments.ts +64 -13
- package/src/resources/card-purchase-supplements.ts +10 -5
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +43 -21
- package/src/resources/check-transfers.ts +85 -5
- package/src/resources/declined-transactions.ts +104 -7
- package/src/resources/digital-card-profiles.ts +5 -11
- package/src/resources/digital-wallet-tokens.ts +5 -5
- package/src/resources/documents.ts +5 -5
- package/src/resources/entities/beneficial-owners.ts +4 -4
- package/src/resources/entities/entities.ts +188 -11
- package/src/resources/entities/industry-code.ts +4 -4
- package/src/resources/entities/supplemental-documents.ts +5 -5
- package/src/resources/event-subscriptions.ts +13 -5
- package/src/resources/events.ts +11 -5
- package/src/resources/exports.ts +19 -7
- package/src/resources/external-accounts.ts +5 -5
- package/src/resources/files.ts +15 -8
- package/src/resources/groups.ts +3 -3
- package/src/resources/inbound-ach-transfers.ts +43 -5
- package/src/resources/inbound-check-deposits.ts +5 -5
- package/src/resources/inbound-mail-items.ts +193 -0
- package/src/resources/inbound-wire-drawdown-requests.ts +5 -5
- package/src/resources/inbound-wire-transfers.ts +5 -5
- package/src/resources/index.ts +16 -0
- package/src/resources/intrafi/account-enrollments.ts +5 -5
- package/src/resources/intrafi/balances.ts +13 -3
- package/src/resources/intrafi/exclusions.ts +5 -5
- package/src/resources/intrafi/intrafi.ts +4 -4
- package/src/resources/lockboxes.ts +238 -0
- package/src/resources/oauth-connections.ts +5 -5
- package/src/resources/oauth-tokens.ts +3 -3
- package/src/resources/pending-transactions.ts +19 -7
- package/src/resources/physical-card-profiles.ts +5 -5
- package/src/resources/physical-cards.ts +5 -5
- package/src/resources/programs.ts +17 -5
- package/src/resources/proof-of-authorization-request-submissions.ts +5 -5
- package/src/resources/proof-of-authorization-requests.ts +5 -5
- package/src/resources/real-time-decisions.ts +9 -3
- package/src/resources/real-time-payments-request-for-payments.ts +5 -5
- package/src/resources/real-time-payments-transfers.ts +87 -14
- package/src/resources/routing-numbers.ts +4 -4
- package/src/resources/simulations/account-statements.ts +4 -4
- package/src/resources/simulations/account-transfers.ts +3 -3
- package/src/resources/simulations/ach-transfers.ts +5 -5
- package/src/resources/simulations/card-disputes.ts +10 -6
- package/src/resources/simulations/card-refunds.ts +4 -4
- package/src/resources/simulations/cards.ts +116 -8
- package/src/resources/simulations/check-deposits.ts +3 -3
- 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-check-deposits.ts +4 -4
- package/src/resources/simulations/inbound-funds-holds.ts +3 -3
- package/src/resources/simulations/inbound-international-ach-transfers.ts +362 -0
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +4 -4
- package/src/resources/simulations/index.ts +5 -0
- package/src/resources/simulations/interest-payments.ts +4 -4
- 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 +171 -12
- package/src/resources/simulations/simulations.ts +28 -22
- package/src/resources/simulations/wire-transfers.ts +4 -4
- package/src/resources/transactions.ts +75 -11
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +73 -5
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as ACHTransfersAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as ACHTransfersAPI from './ach-transfers';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class ACHTransfers extends APIResource {
|
|
10
10
|
/**
|
|
@@ -133,6 +133,11 @@ export interface ACHTransfer {
|
|
|
133
133
|
*/
|
|
134
134
|
created_at: string;
|
|
135
135
|
|
|
136
|
+
/**
|
|
137
|
+
* What object created the transfer, either via the API or the dashboard.
|
|
138
|
+
*/
|
|
139
|
+
created_by: ACHTransfer.CreatedBy | null;
|
|
140
|
+
|
|
136
141
|
/**
|
|
137
142
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the transfer's
|
|
138
143
|
* currency. For ACH transfers this is always equal to `usd`.
|
|
@@ -156,12 +161,6 @@ export interface ACHTransfer {
|
|
|
156
161
|
*/
|
|
157
162
|
destination_account_holder: 'business' | 'individual' | 'unknown';
|
|
158
163
|
|
|
159
|
-
/**
|
|
160
|
-
* The transfer effective date in
|
|
161
|
-
* [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format.
|
|
162
|
-
*/
|
|
163
|
-
effective_date: string | null;
|
|
164
|
-
|
|
165
164
|
/**
|
|
166
165
|
* The identifier of the External Account the transfer was made to, if any.
|
|
167
166
|
*/
|
|
@@ -212,6 +211,14 @@ export interface ACHTransfer {
|
|
|
212
211
|
*/
|
|
213
212
|
pending_transaction_id: string | null;
|
|
214
213
|
|
|
214
|
+
/**
|
|
215
|
+
* Configuration for how the effective date of the transfer will be set. This
|
|
216
|
+
* determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
217
|
+
* `settlement_schedule` of `same_day`. If set, exactly one of the child atributes
|
|
218
|
+
* must be set.
|
|
219
|
+
*/
|
|
220
|
+
preferred_effective_date: ACHTransfer.PreferredEffectiveDate;
|
|
221
|
+
|
|
215
222
|
/**
|
|
216
223
|
* If your transfer is returned, this will contain details of the return.
|
|
217
224
|
*/
|
|
@@ -412,6 +419,69 @@ export namespace ACHTransfer {
|
|
|
412
419
|
canceled_by: string | null;
|
|
413
420
|
}
|
|
414
421
|
|
|
422
|
+
/**
|
|
423
|
+
* What object created the transfer, either via the API or the dashboard.
|
|
424
|
+
*/
|
|
425
|
+
export interface CreatedBy {
|
|
426
|
+
/**
|
|
427
|
+
* If present, details about the API key that created the transfer.
|
|
428
|
+
*/
|
|
429
|
+
api_key: CreatedBy.APIKey | null;
|
|
430
|
+
|
|
431
|
+
/**
|
|
432
|
+
* The type of object that created this transfer.
|
|
433
|
+
*
|
|
434
|
+
* - `api_key` - An API key. Details will be under the `api_key` object.
|
|
435
|
+
* - `oauth_application` - An OAuth application you connected to Increase. Details
|
|
436
|
+
* will be under the `oauth_application` object.
|
|
437
|
+
* - `user` - A User in the Increase dashboard. Details will be under the `user`
|
|
438
|
+
* object.
|
|
439
|
+
*/
|
|
440
|
+
category: 'api_key' | 'oauth_application' | 'user';
|
|
441
|
+
|
|
442
|
+
/**
|
|
443
|
+
* If present, details about the OAuth Application that created the transfer.
|
|
444
|
+
*/
|
|
445
|
+
oauth_application: CreatedBy.OAuthApplication | null;
|
|
446
|
+
|
|
447
|
+
/**
|
|
448
|
+
* If present, details about the User that created the transfer.
|
|
449
|
+
*/
|
|
450
|
+
user: CreatedBy.User | null;
|
|
451
|
+
}
|
|
452
|
+
|
|
453
|
+
export namespace CreatedBy {
|
|
454
|
+
/**
|
|
455
|
+
* If present, details about the API key that created the transfer.
|
|
456
|
+
*/
|
|
457
|
+
export interface APIKey {
|
|
458
|
+
/**
|
|
459
|
+
* The description set for the API key when it was created.
|
|
460
|
+
*/
|
|
461
|
+
description: string | null;
|
|
462
|
+
}
|
|
463
|
+
|
|
464
|
+
/**
|
|
465
|
+
* If present, details about the OAuth Application that created the transfer.
|
|
466
|
+
*/
|
|
467
|
+
export interface OAuthApplication {
|
|
468
|
+
/**
|
|
469
|
+
* The name of the OAuth Application.
|
|
470
|
+
*/
|
|
471
|
+
name: string;
|
|
472
|
+
}
|
|
473
|
+
|
|
474
|
+
/**
|
|
475
|
+
* If present, details about the User that created the transfer.
|
|
476
|
+
*/
|
|
477
|
+
export interface User {
|
|
478
|
+
/**
|
|
479
|
+
* The email address of the User.
|
|
480
|
+
*/
|
|
481
|
+
email: string;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
415
485
|
export interface NotificationsOfChange {
|
|
416
486
|
/**
|
|
417
487
|
* The required type of change that is being signaled by the receiving financial
|
|
@@ -489,6 +559,33 @@ export namespace ACHTransfer {
|
|
|
489
559
|
created_at: string;
|
|
490
560
|
}
|
|
491
561
|
|
|
562
|
+
/**
|
|
563
|
+
* Configuration for how the effective date of the transfer will be set. This
|
|
564
|
+
* determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
565
|
+
* `settlement_schedule` of `same_day`. If set, exactly one of the child atributes
|
|
566
|
+
* must be set.
|
|
567
|
+
*/
|
|
568
|
+
export interface PreferredEffectiveDate {
|
|
569
|
+
/**
|
|
570
|
+
* A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to
|
|
571
|
+
* use as the effective date when submitting this transfer.
|
|
572
|
+
*/
|
|
573
|
+
date: string | null;
|
|
574
|
+
|
|
575
|
+
/**
|
|
576
|
+
* A schedule by which Increase whill choose an effective date for the transfer.
|
|
577
|
+
*
|
|
578
|
+
* - `same_day` - The chosen effective date will be the same as the ACH processing
|
|
579
|
+
* date on which the transfer is submitted. This is necessary, but not sufficient
|
|
580
|
+
* for the transfer to be settled same-day: it must also be submitted before the
|
|
581
|
+
* last same-day cutoff and be less than or equal to $1,000.000.00.
|
|
582
|
+
* - `future_dated` - The chosen effective date will be the business day following
|
|
583
|
+
* the ACH processing date on which the transfer is submitted. The transfer will
|
|
584
|
+
* be settled on that future day.
|
|
585
|
+
*/
|
|
586
|
+
settlement_schedule: 'same_day' | 'future_dated' | null;
|
|
587
|
+
}
|
|
588
|
+
|
|
492
589
|
/**
|
|
493
590
|
* If your transfer is returned, this will contain details of the return.
|
|
494
591
|
*/
|
|
@@ -728,6 +825,14 @@ export namespace ACHTransfer {
|
|
|
728
825
|
| 'untimely_dishonored_return'
|
|
729
826
|
| 'untimely_return';
|
|
730
827
|
|
|
828
|
+
/**
|
|
829
|
+
* A 15 digit number that was generated by the bank that initiated the return. The
|
|
830
|
+
* trace number of the return is different than that of the original transfer. ACH
|
|
831
|
+
* trace numbers are not unique, but along with the amount and date this number can
|
|
832
|
+
* be used to identify the ACH return at the bank that initiated it.
|
|
833
|
+
*/
|
|
834
|
+
trace_number: string;
|
|
835
|
+
|
|
731
836
|
/**
|
|
732
837
|
* The identifier of the Transaction associated with this return.
|
|
733
838
|
*/
|
|
@@ -748,21 +853,31 @@ export namespace ACHTransfer {
|
|
|
748
853
|
*/
|
|
749
854
|
export interface Submission {
|
|
750
855
|
/**
|
|
751
|
-
* The ACH's effective date sent to the
|
|
752
|
-
*
|
|
753
|
-
*
|
|
754
|
-
*
|
|
856
|
+
* The ACH transfer's effective date as sent to the Federal Reserve. If a specific
|
|
857
|
+
* date was configured using `preferred_effective_date`, this will match that
|
|
858
|
+
* value. Otherwise, it will be the date selected (following the specified
|
|
859
|
+
* settlement schedule) at the time the transfer was submitted.
|
|
755
860
|
*/
|
|
756
861
|
effective_date: string;
|
|
757
862
|
|
|
758
863
|
/**
|
|
759
|
-
* When the
|
|
760
|
-
*
|
|
761
|
-
*
|
|
864
|
+
* When the transfer is expected to settle in the recipient's account. Credits may
|
|
865
|
+
* be available sooner, at the receiving banks discretion. The FedACH schedule is
|
|
866
|
+
* published
|
|
762
867
|
* [here](https://www.frbservices.org/resources/resource-centers/same-day-ach/fedach-processing-schedule.html).
|
|
763
868
|
*/
|
|
764
869
|
expected_funds_settlement_at: string;
|
|
765
870
|
|
|
871
|
+
/**
|
|
872
|
+
* The settlement schedule the transfer is expected to follow. This expectation
|
|
873
|
+
* takes into account the `effective_date`, `submitted_at`, and the amount of the
|
|
874
|
+
* transfer.
|
|
875
|
+
*
|
|
876
|
+
* - `same_day` - The transfer is expected to settle same-day.
|
|
877
|
+
* - `future_dated` - The transfer is expected to settle on a future date.
|
|
878
|
+
*/
|
|
879
|
+
expected_settlement_schedule: 'same_day' | 'future_dated';
|
|
880
|
+
|
|
766
881
|
/**
|
|
767
882
|
* When the ACH transfer was sent to FedACH.
|
|
768
883
|
*/
|
|
@@ -878,6 +993,14 @@ export interface ACHTransferCreateParams {
|
|
|
878
993
|
*/
|
|
879
994
|
individual_name?: string;
|
|
880
995
|
|
|
996
|
+
/**
|
|
997
|
+
* Configuration for how the effective date of the transfer will be set. This
|
|
998
|
+
* determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
999
|
+
* `settlement_schedule` of `same_day`. If set, exactly one of the child atributes
|
|
1000
|
+
* must be set.
|
|
1001
|
+
*/
|
|
1002
|
+
preferred_effective_date?: ACHTransferCreateParams.PreferredEffectiveDate;
|
|
1003
|
+
|
|
881
1004
|
/**
|
|
882
1005
|
* Whether the transfer requires explicit approval via the dashboard or API.
|
|
883
1006
|
*/
|
|
@@ -981,6 +1104,33 @@ export namespace ACHTransferCreateParams {
|
|
|
981
1104
|
}
|
|
982
1105
|
}
|
|
983
1106
|
}
|
|
1107
|
+
|
|
1108
|
+
/**
|
|
1109
|
+
* Configuration for how the effective date of the transfer will be set. This
|
|
1110
|
+
* determines same-day vs future-dated settlement timing. If not set, defaults to a
|
|
1111
|
+
* `settlement_schedule` of `same_day`. If set, exactly one of the child atributes
|
|
1112
|
+
* must be set.
|
|
1113
|
+
*/
|
|
1114
|
+
export interface PreferredEffectiveDate {
|
|
1115
|
+
/**
|
|
1116
|
+
* A specific date in [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) format to
|
|
1117
|
+
* use as the effective date when submitting this transfer.
|
|
1118
|
+
*/
|
|
1119
|
+
date?: string;
|
|
1120
|
+
|
|
1121
|
+
/**
|
|
1122
|
+
* A schedule by which Increase whill choose an effective date for the transfer.
|
|
1123
|
+
*
|
|
1124
|
+
* - `same_day` - The chosen effective date will be the same as the ACH processing
|
|
1125
|
+
* date on which the transfer is submitted. This is necessary, but not sufficient
|
|
1126
|
+
* for the transfer to be settled same-day: it must also be submitted before the
|
|
1127
|
+
* last same-day cutoff and be less than or equal to $1,000.000.00.
|
|
1128
|
+
* - `future_dated` - The chosen effective date will be the business day following
|
|
1129
|
+
* the ACH processing date on which the transfer is submitted. The transfer will
|
|
1130
|
+
* be settled on that future day.
|
|
1131
|
+
*/
|
|
1132
|
+
settlement_schedule?: 'same_day' | 'future_dated';
|
|
1133
|
+
}
|
|
984
1134
|
}
|
|
985
1135
|
|
|
986
1136
|
export interface ACHTransferListParams extends PageParams {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as BookkeepingAccountsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as BookkeepingAccountsAPI from './bookkeeping-accounts';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class BookkeepingAccounts extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as BookkeepingEntriesAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as BookkeepingEntriesAPI from './bookkeeping-entries';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class BookkeepingEntries extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as BookkeepingEntrySetsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as BookkeepingEntrySetsAPI from './bookkeeping-entry-sets';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class BookkeepingEntrySets extends APIResource {
|
|
10
10
|
/**
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as CardDisputesAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as CardDisputesAPI from './card-disputes';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class CardDisputes extends APIResource {
|
|
10
10
|
/**
|
|
@@ -81,6 +81,12 @@ export interface CardDispute {
|
|
|
81
81
|
*/
|
|
82
82
|
idempotency_key: string | null;
|
|
83
83
|
|
|
84
|
+
/**
|
|
85
|
+
* If the Card Dispute's status is `lost`, this will contain details of the lost
|
|
86
|
+
* dispute.
|
|
87
|
+
*/
|
|
88
|
+
loss: CardDispute.Loss | null;
|
|
89
|
+
|
|
84
90
|
/**
|
|
85
91
|
* If the Card Dispute's status is `rejected`, this will contain details of the
|
|
86
92
|
* unsuccessful dispute.
|
|
@@ -92,16 +98,26 @@ export interface CardDispute {
|
|
|
92
98
|
*
|
|
93
99
|
* - `pending_reviewing` - The Card Dispute is pending review.
|
|
94
100
|
* - `accepted` - The Card Dispute has been accepted and your funds have been
|
|
95
|
-
* returned.
|
|
101
|
+
* returned. The card dispute will eventually transition into `won` or `lost`
|
|
102
|
+
* depending on the outcome.
|
|
96
103
|
* - `rejected` - The Card Dispute has been rejected.
|
|
104
|
+
* - `lost` - The Card Dispute has been lost and funds previously credited from the
|
|
105
|
+
* acceptance have been debited.
|
|
106
|
+
* - `won` - The Card Dispute has been won and no further action can be taken.
|
|
97
107
|
*/
|
|
98
|
-
status: 'pending_reviewing' | 'accepted' | 'rejected';
|
|
108
|
+
status: 'pending_reviewing' | 'accepted' | 'rejected' | 'lost' | 'won';
|
|
99
109
|
|
|
100
110
|
/**
|
|
101
111
|
* A constant representing the object's type. For this resource it will always be
|
|
102
112
|
* `card_dispute`.
|
|
103
113
|
*/
|
|
104
114
|
type: 'card_dispute';
|
|
115
|
+
|
|
116
|
+
/**
|
|
117
|
+
* If the Card Dispute's status is `won`, this will contain details of the won
|
|
118
|
+
* dispute.
|
|
119
|
+
*/
|
|
120
|
+
win: CardDispute.Win | null;
|
|
105
121
|
}
|
|
106
122
|
|
|
107
123
|
export namespace CardDispute {
|
|
@@ -128,6 +144,34 @@ export namespace CardDispute {
|
|
|
128
144
|
transaction_id: string;
|
|
129
145
|
}
|
|
130
146
|
|
|
147
|
+
/**
|
|
148
|
+
* If the Card Dispute's status is `lost`, this will contain details of the lost
|
|
149
|
+
* dispute.
|
|
150
|
+
*/
|
|
151
|
+
export interface Loss {
|
|
152
|
+
/**
|
|
153
|
+
* The identifier of the Card Dispute that was lost.
|
|
154
|
+
*/
|
|
155
|
+
card_dispute_id: string;
|
|
156
|
+
|
|
157
|
+
/**
|
|
158
|
+
* Why the Card Dispute was lost.
|
|
159
|
+
*/
|
|
160
|
+
explanation: string;
|
|
161
|
+
|
|
162
|
+
/**
|
|
163
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
164
|
+
* the Card Dispute was lost.
|
|
165
|
+
*/
|
|
166
|
+
lost_at: string;
|
|
167
|
+
|
|
168
|
+
/**
|
|
169
|
+
* The identifier of the Transaction that was created to debit the disputed funds
|
|
170
|
+
* from your account.
|
|
171
|
+
*/
|
|
172
|
+
transaction_id: string;
|
|
173
|
+
}
|
|
174
|
+
|
|
131
175
|
/**
|
|
132
176
|
* If the Card Dispute's status is `rejected`, this will contain details of the
|
|
133
177
|
* unsuccessful dispute.
|
|
@@ -149,6 +193,23 @@ export namespace CardDispute {
|
|
|
149
193
|
*/
|
|
150
194
|
rejected_at: string;
|
|
151
195
|
}
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* If the Card Dispute's status is `won`, this will contain details of the won
|
|
199
|
+
* dispute.
|
|
200
|
+
*/
|
|
201
|
+
export interface Win {
|
|
202
|
+
/**
|
|
203
|
+
* The identifier of the Card Dispute that was won.
|
|
204
|
+
*/
|
|
205
|
+
card_dispute_id: string;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date and time at which
|
|
209
|
+
* the Card Dispute was won.
|
|
210
|
+
*/
|
|
211
|
+
won_at: string;
|
|
212
|
+
}
|
|
152
213
|
}
|
|
153
214
|
|
|
154
215
|
export interface CardDisputeCreateParams {
|
|
@@ -211,7 +272,7 @@ export namespace CardDisputeListParams {
|
|
|
211
272
|
* requests, this should be encoded as a comma-delimited string, such as
|
|
212
273
|
* `?in=one,two,three`.
|
|
213
274
|
*/
|
|
214
|
-
in?: Array<'pending_reviewing' | 'accepted' | 'rejected'>;
|
|
275
|
+
in?: Array<'pending_reviewing' | 'accepted' | 'rejected' | 'lost' | 'won'>;
|
|
215
276
|
}
|
|
216
277
|
}
|
|
217
278
|
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as CardPaymentsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as CardPaymentsAPI from './card-payments';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class CardPayments extends APIResource {
|
|
10
10
|
/**
|
|
@@ -61,11 +61,21 @@ export interface CardPayment {
|
|
|
61
61
|
*/
|
|
62
62
|
created_at: string;
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* The Digital Wallet Token identifier for this payment.
|
|
66
|
+
*/
|
|
67
|
+
digital_wallet_token_id: string | null;
|
|
68
|
+
|
|
64
69
|
/**
|
|
65
70
|
* The interactions related to this card payment.
|
|
66
71
|
*/
|
|
67
72
|
elements: Array<CardPayment.Element>;
|
|
68
73
|
|
|
74
|
+
/**
|
|
75
|
+
* The Physical Card identifier for this payment.
|
|
76
|
+
*/
|
|
77
|
+
physical_card_id: string | null;
|
|
78
|
+
|
|
69
79
|
/**
|
|
70
80
|
* The summarized state of this card payment.
|
|
71
81
|
*/
|
|
@@ -207,7 +217,7 @@ export namespace CardPayment {
|
|
|
207
217
|
/**
|
|
208
218
|
* The ID of the Card Payment this transaction belongs to.
|
|
209
219
|
*/
|
|
210
|
-
card_payment_id: string
|
|
220
|
+
card_payment_id: string;
|
|
211
221
|
|
|
212
222
|
/**
|
|
213
223
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
@@ -299,6 +309,17 @@ export namespace CardPayment {
|
|
|
299
309
|
*/
|
|
300
310
|
physical_card_id: string | null;
|
|
301
311
|
|
|
312
|
+
/**
|
|
313
|
+
* The pending amount in the minor unit of the transaction's presentment currency.
|
|
314
|
+
*/
|
|
315
|
+
presentment_amount: number;
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
319
|
+
* transaction's presentment currency.
|
|
320
|
+
*/
|
|
321
|
+
presentment_currency: string;
|
|
322
|
+
|
|
302
323
|
/**
|
|
303
324
|
* The processing category describes the intent behind the authorization, such as
|
|
304
325
|
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
@@ -630,7 +651,7 @@ export namespace CardPayment {
|
|
|
630
651
|
/**
|
|
631
652
|
* The ID of the Card Payment this transaction belongs to.
|
|
632
653
|
*/
|
|
633
|
-
card_payment_id: string
|
|
654
|
+
card_payment_id: string;
|
|
634
655
|
|
|
635
656
|
/**
|
|
636
657
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the destination
|
|
@@ -645,6 +666,11 @@ export namespace CardPayment {
|
|
|
645
666
|
*/
|
|
646
667
|
currency: 'CAD' | 'CHF' | 'EUR' | 'GBP' | 'JPY' | 'USD';
|
|
647
668
|
|
|
669
|
+
/**
|
|
670
|
+
* The identifier of the declined transaction created for this Card Decline.
|
|
671
|
+
*/
|
|
672
|
+
declined_transaction_id: string;
|
|
673
|
+
|
|
648
674
|
/**
|
|
649
675
|
* If the authorization was made via a Digital Wallet Token (such as an Apple Pay
|
|
650
676
|
* purchase), the identifier of the token that was used.
|
|
@@ -705,6 +731,17 @@ export namespace CardPayment {
|
|
|
705
731
|
*/
|
|
706
732
|
physical_card_id: string | null;
|
|
707
733
|
|
|
734
|
+
/**
|
|
735
|
+
* The declined amount in the minor unit of the transaction's presentment currency.
|
|
736
|
+
*/
|
|
737
|
+
presentment_amount: number;
|
|
738
|
+
|
|
739
|
+
/**
|
|
740
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
741
|
+
* transaction's presentment currency.
|
|
742
|
+
*/
|
|
743
|
+
presentment_currency: string;
|
|
744
|
+
|
|
708
745
|
/**
|
|
709
746
|
* The processing category describes the intent behind the authorization, such as
|
|
710
747
|
* whether it was used for bill payments or an automatic fuel dispenser.
|
|
@@ -746,6 +783,8 @@ export namespace CardPayment {
|
|
|
746
783
|
* - `insufficient_funds` - The Card's Account did not have a sufficient available
|
|
747
784
|
* balance.
|
|
748
785
|
* - `cvv2_mismatch` - The given CVV2 did not match the card's value.
|
|
786
|
+
* - `card_expiration_mismatch` - The given expiration date did not match the
|
|
787
|
+
* card's value. Only applies when a CVV2 is present.
|
|
749
788
|
* - `transaction_not_allowed` - The attempted card transaction is not allowed per
|
|
750
789
|
* Increase's terms.
|
|
751
790
|
* - `breaches_limit` - The transaction was blocked by a Limit.
|
|
@@ -767,6 +806,7 @@ export namespace CardPayment {
|
|
|
767
806
|
| 'group_locked'
|
|
768
807
|
| 'insufficient_funds'
|
|
769
808
|
| 'cvv2_mismatch'
|
|
809
|
+
| 'card_expiration_mismatch'
|
|
770
810
|
| 'transaction_not_allowed'
|
|
771
811
|
| 'breaches_limit'
|
|
772
812
|
| 'webhook_declined'
|
|
@@ -1201,19 +1241,19 @@ export namespace CardPayment {
|
|
|
1201
1241
|
id: string;
|
|
1202
1242
|
|
|
1203
1243
|
/**
|
|
1204
|
-
* The
|
|
1205
|
-
* for example, this is cents.
|
|
1244
|
+
* The amount in the minor unit of the transaction's settlement currency. For
|
|
1245
|
+
* dollars, for example, this is cents.
|
|
1206
1246
|
*/
|
|
1207
1247
|
amount: number;
|
|
1208
1248
|
|
|
1209
1249
|
/**
|
|
1210
1250
|
* The ID of the Card Payment this transaction belongs to.
|
|
1211
1251
|
*/
|
|
1212
|
-
card_payment_id: string
|
|
1252
|
+
card_payment_id: string;
|
|
1213
1253
|
|
|
1214
1254
|
/**
|
|
1215
1255
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
1216
|
-
* transaction's currency.
|
|
1256
|
+
* transaction's settlement currency.
|
|
1217
1257
|
*
|
|
1218
1258
|
* - `CAD` - Canadian Dollar (CAD)
|
|
1219
1259
|
* - `CHF` - Swiss Franc (CHF)
|
|
@@ -1260,6 +1300,17 @@ export namespace CardPayment {
|
|
|
1260
1300
|
*/
|
|
1261
1301
|
network_identifiers: CardRefund.NetworkIdentifiers;
|
|
1262
1302
|
|
|
1303
|
+
/**
|
|
1304
|
+
* The amount in the minor unit of the transaction's presentment currency.
|
|
1305
|
+
*/
|
|
1306
|
+
presentment_amount: number;
|
|
1307
|
+
|
|
1308
|
+
/**
|
|
1309
|
+
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
1310
|
+
* transaction's presentment currency.
|
|
1311
|
+
*/
|
|
1312
|
+
presentment_currency: string;
|
|
1313
|
+
|
|
1263
1314
|
/**
|
|
1264
1315
|
* Additional details about the card purchase, such as tax and industry-specific
|
|
1265
1316
|
* fields.
|
|
@@ -1944,7 +1995,7 @@ export namespace CardPayment {
|
|
|
1944
1995
|
/**
|
|
1945
1996
|
* The ID of the Card Payment this transaction belongs to.
|
|
1946
1997
|
*/
|
|
1947
|
-
card_payment_id: string
|
|
1998
|
+
card_payment_id: string;
|
|
1948
1999
|
|
|
1949
2000
|
/**
|
|
1950
2001
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
@@ -2604,7 +2655,7 @@ export namespace CardPayment {
|
|
|
2604
2655
|
/**
|
|
2605
2656
|
* The ID of the Card Payment this transaction belongs to.
|
|
2606
2657
|
*/
|
|
2607
|
-
card_payment_id: string
|
|
2658
|
+
card_payment_id: string;
|
|
2608
2659
|
|
|
2609
2660
|
/**
|
|
2610
2661
|
* The [ISO 4217](https://en.wikipedia.org/wiki/ISO_4217) code for the
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as CardPurchaseSupplementsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as CardPurchaseSupplementsAPI from './card-purchase-supplements';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class CardPurchaseSupplements extends APIResource {
|
|
10
10
|
/**
|
|
@@ -189,6 +189,11 @@ export namespace CardPurchaseSupplement {
|
|
|
189
189
|
}
|
|
190
190
|
|
|
191
191
|
export interface LineItem {
|
|
192
|
+
/**
|
|
193
|
+
* The Card Purchase Supplement Line Item identifier.
|
|
194
|
+
*/
|
|
195
|
+
id: string;
|
|
196
|
+
|
|
192
197
|
/**
|
|
193
198
|
* Indicates the type of line item.
|
|
194
199
|
*
|
package/src/resources/cards.ts
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
2
|
|
|
3
|
-
import
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import * as CardsAPI from
|
|
7
|
-
import { Page, type PageParams } from
|
|
3
|
+
import { APIResource } from '../resource';
|
|
4
|
+
import { isRequestOptions } from '../core';
|
|
5
|
+
import * as Core from '../core';
|
|
6
|
+
import * as CardsAPI from './cards';
|
|
7
|
+
import { Page, type PageParams } from '../pagination';
|
|
8
8
|
|
|
9
9
|
export class Cards extends APIResource {
|
|
10
10
|
/**
|