increase 0.211.0 → 0.212.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 +19 -0
- package/package.json +1 -1
- package/resources/account-numbers.d.ts +30 -0
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js +22 -0
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +22 -0
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +16 -0
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js +8 -0
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +8 -0
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +43 -0
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js +35 -0
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +35 -0
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +43 -0
- package/resources/accounts.d.ts.map +1 -1
- package/resources/accounts.js +28 -0
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +28 -0
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.d.ts +26 -0
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js +18 -0
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +18 -0
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +38 -0
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js +30 -0
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +30 -0
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +33 -0
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.js +17 -0
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +17 -0
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.d.ts +16 -0
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entries.js +8 -0
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +8 -0
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +35 -0
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +27 -0
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +27 -0
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.d.ts +24 -0
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js +16 -0
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +16 -0
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.d.ts +15 -0
- package/resources/card-payments.d.ts.map +1 -1
- package/resources/card-payments.js +7 -0
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +7 -0
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +16 -0
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +8 -0
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +8 -0
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.d.ts +36 -0
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +28 -0
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +28 -0
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +25 -0
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +17 -0
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +17 -0
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +48 -0
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js +40 -0
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +40 -0
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +16 -0
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js +8 -0
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +8 -0
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-card-profiles.d.ts +44 -0
- package/resources/digital-card-profiles.d.ts.map +1 -1
- package/resources/digital-card-profiles.js +36 -0
- package/resources/digital-card-profiles.js.map +1 -1
- package/resources/digital-card-profiles.mjs +36 -0
- package/resources/digital-card-profiles.mjs.map +1 -1
- package/resources/digital-wallet-tokens.d.ts +16 -0
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js +8 -0
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +8 -0
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +15 -0
- package/resources/documents.d.ts.map +1 -1
- package/resources/documents.js +7 -0
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +7 -0
- package/resources/documents.mjs.map +1 -1
- package/resources/entities.d.ts +110 -0
- package/resources/entities.d.ts.map +1 -1
- package/resources/entities.js +102 -0
- package/resources/entities.js.map +1 -1
- package/resources/entities.mjs +102 -0
- package/resources/entities.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +32 -0
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js +24 -0
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +24 -0
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +15 -0
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +7 -0
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +7 -0
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +22 -0
- package/resources/exports.d.ts.map +1 -1
- package/resources/exports.js +14 -0
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +14 -0
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.d.ts +34 -0
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js +26 -0
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +26 -0
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/file-links.d.ts +7 -0
- package/resources/file-links.d.ts.map +1 -1
- package/resources/file-links.js +7 -0
- package/resources/file-links.js.map +1 -1
- package/resources/file-links.mjs +7 -0
- package/resources/file-links.mjs.map +1 -1
- package/resources/files.d.ts +23 -0
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +15 -0
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +15 -0
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +5 -0
- package/resources/groups.d.ts.map +1 -1
- package/resources/groups.js +5 -0
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +5 -0
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts +41 -0
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +33 -0
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +33 -0
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-check-deposits.d.ts +33 -0
- package/resources/inbound-check-deposits.d.ts.map +1 -1
- package/resources/inbound-check-deposits.js +25 -0
- package/resources/inbound-check-deposits.js.map +1 -1
- package/resources/inbound-check-deposits.mjs +25 -0
- package/resources/inbound-check-deposits.mjs.map +1 -1
- package/resources/inbound-mail-items.d.ts +16 -0
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/inbound-mail-items.js +8 -0
- package/resources/inbound-mail-items.js.map +1 -1
- package/resources/inbound-mail-items.mjs +8 -0
- package/resources/inbound-mail-items.mjs.map +1 -1
- package/resources/inbound-real-time-payments-transfers.d.ts +16 -0
- package/resources/inbound-real-time-payments-transfers.d.ts.map +1 -1
- package/resources/inbound-real-time-payments-transfers.js +8 -0
- package/resources/inbound-real-time-payments-transfers.js.map +1 -1
- package/resources/inbound-real-time-payments-transfers.mjs +8 -0
- package/resources/inbound-real-time-payments-transfers.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +16 -0
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +8 -0
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +8 -0
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +25 -0
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js +17 -0
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs +17 -0
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/intrafi-account-enrollments.d.ts +33 -0
- package/resources/intrafi-account-enrollments.d.ts.map +1 -1
- package/resources/intrafi-account-enrollments.js +25 -0
- package/resources/intrafi-account-enrollments.js.map +1 -1
- package/resources/intrafi-account-enrollments.mjs +25 -0
- package/resources/intrafi-account-enrollments.mjs.map +1 -1
- package/resources/intrafi-balances.d.ts +8 -0
- package/resources/intrafi-balances.d.ts.map +1 -1
- package/resources/intrafi-balances.js +8 -0
- package/resources/intrafi-balances.js.map +1 -1
- package/resources/intrafi-balances.mjs +8 -0
- package/resources/intrafi-balances.mjs.map +1 -1
- package/resources/intrafi-exclusions.d.ts +33 -0
- package/resources/intrafi-exclusions.d.ts.map +1 -1
- package/resources/intrafi-exclusions.js +25 -0
- package/resources/intrafi-exclusions.js.map +1 -1
- package/resources/intrafi-exclusions.mjs +25 -0
- package/resources/intrafi-exclusions.mjs.map +1 -1
- package/resources/lockboxes.d.ts +29 -0
- package/resources/lockboxes.d.ts.map +1 -1
- package/resources/lockboxes.js +21 -0
- package/resources/lockboxes.js.map +1 -1
- package/resources/lockboxes.mjs +21 -0
- package/resources/lockboxes.mjs.map +1 -1
- package/resources/oauth-applications.d.ts +16 -0
- package/resources/oauth-applications.d.ts.map +1 -1
- package/resources/oauth-applications.js +8 -0
- package/resources/oauth-applications.js.map +1 -1
- package/resources/oauth-applications.mjs +8 -0
- package/resources/oauth-applications.mjs.map +1 -1
- package/resources/oauth-connections.d.ts +16 -0
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js +8 -0
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +8 -0
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/oauth-tokens.d.ts +7 -0
- package/resources/oauth-tokens.d.ts.map +1 -1
- package/resources/oauth-tokens.js +7 -0
- package/resources/oauth-tokens.js.map +1 -1
- package/resources/oauth-tokens.mjs +7 -0
- package/resources/oauth-tokens.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +16 -0
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js +8 -0
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +8 -0
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-card-profiles.d.ts +44 -0
- package/resources/physical-card-profiles.d.ts.map +1 -1
- package/resources/physical-card-profiles.js +36 -0
- package/resources/physical-card-profiles.js.map +1 -1
- package/resources/physical-card-profiles.mjs +36 -0
- package/resources/physical-card-profiles.mjs.map +1 -1
- package/resources/physical-cards.d.ts +46 -0
- package/resources/physical-cards.d.ts.map +1 -1
- package/resources/physical-cards.js +33 -0
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +33 -0
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.d.ts +15 -0
- package/resources/programs.d.ts.map +1 -1
- package/resources/programs.js +7 -0
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +7 -0
- package/resources/programs.mjs.map +1 -1
- package/resources/real-time-decisions.d.ts +16 -0
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js +16 -0
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +16 -0
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +28 -0
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js +20 -0
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +20 -0
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +10 -0
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +10 -0
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +10 -0
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.ts +8 -0
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-statements.js +8 -0
- package/resources/simulations/account-statements.js.map +1 -1
- package/resources/simulations/account-statements.mjs +8 -0
- package/resources/simulations/account-statements.mjs.map +1 -1
- package/resources/simulations/account-transfers.d.ts +8 -0
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/account-transfers.js +8 -0
- package/resources/simulations/account-transfers.js.map +1 -1
- package/resources/simulations/account-transfers.mjs +8 -0
- package/resources/simulations/account-transfers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +44 -0
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +44 -0
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +44 -0
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-authorization-expirations.d.ts +10 -0
- package/resources/simulations/card-authorization-expirations.d.ts.map +1 -1
- package/resources/simulations/card-authorization-expirations.js +10 -0
- package/resources/simulations/card-authorization-expirations.js.map +1 -1
- package/resources/simulations/card-authorization-expirations.mjs +10 -0
- package/resources/simulations/card-authorization-expirations.mjs.map +1 -1
- package/resources/simulations/card-authorizations.d.ts +8 -0
- package/resources/simulations/card-authorizations.d.ts.map +1 -1
- package/resources/simulations/card-authorizations.js +8 -0
- package/resources/simulations/card-authorizations.js.map +1 -1
- package/resources/simulations/card-authorizations.mjs +8 -0
- package/resources/simulations/card-authorizations.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +9 -0
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-disputes.js +9 -0
- package/resources/simulations/card-disputes.js.map +1 -1
- package/resources/simulations/card-disputes.mjs +9 -0
- package/resources/simulations/card-disputes.mjs.map +1 -1
- package/resources/simulations/card-fuel-confirmations.d.ts +9 -0
- package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -1
- package/resources/simulations/card-fuel-confirmations.js +9 -0
- package/resources/simulations/card-fuel-confirmations.js.map +1 -1
- package/resources/simulations/card-fuel-confirmations.mjs +9 -0
- package/resources/simulations/card-fuel-confirmations.mjs.map +1 -1
- package/resources/simulations/card-increments.d.ts +9 -0
- package/resources/simulations/card-increments.d.ts.map +1 -1
- package/resources/simulations/card-increments.js +9 -0
- package/resources/simulations/card-increments.js.map +1 -1
- package/resources/simulations/card-increments.mjs +9 -0
- package/resources/simulations/card-increments.mjs.map +1 -1
- package/resources/simulations/card-refunds.d.ts +8 -0
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/card-refunds.js +8 -0
- package/resources/simulations/card-refunds.js.map +1 -1
- package/resources/simulations/card-refunds.mjs +8 -0
- package/resources/simulations/card-refunds.mjs.map +1 -1
- package/resources/simulations/card-reversals.d.ts +8 -0
- package/resources/simulations/card-reversals.d.ts.map +1 -1
- package/resources/simulations/card-reversals.js +8 -0
- package/resources/simulations/card-reversals.js.map +1 -1
- package/resources/simulations/card-reversals.mjs +8 -0
- package/resources/simulations/card-reversals.mjs.map +1 -1
- package/resources/simulations/card-settlements.d.ts +10 -0
- package/resources/simulations/card-settlements.d.ts.map +1 -1
- package/resources/simulations/card-settlements.js +10 -0
- package/resources/simulations/card-settlements.js.map +1 -1
- package/resources/simulations/card-settlements.mjs +10 -0
- package/resources/simulations/card-settlements.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +24 -0
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-deposits.js +24 -0
- package/resources/simulations/check-deposits.js.map +1 -1
- package/resources/simulations/check-deposits.mjs +24 -0
- package/resources/simulations/check-deposits.mjs.map +1 -1
- package/resources/simulations/check-transfers.d.ts +8 -0
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/check-transfers.js +8 -0
- package/resources/simulations/check-transfers.js.map +1 -1
- package/resources/simulations/check-transfers.mjs +8 -0
- package/resources/simulations/check-transfers.mjs.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +8 -0
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.js +8 -0
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +8 -0
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
- package/resources/simulations/documents.d.ts +7 -0
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/documents.js +7 -0
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs +7 -0
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-ach-transfers.d.ts +10 -0
- package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-ach-transfers.js +10 -0
- package/resources/simulations/inbound-ach-transfers.js.map +1 -1
- package/resources/simulations/inbound-ach-transfers.mjs +10 -0
- package/resources/simulations/inbound-ach-transfers.mjs.map +1 -1
- package/resources/simulations/inbound-check-deposits.d.ts +11 -0
- package/resources/simulations/inbound-check-deposits.d.ts.map +1 -1
- package/resources/simulations/inbound-check-deposits.js +11 -0
- package/resources/simulations/inbound-check-deposits.js.map +1 -1
- package/resources/simulations/inbound-check-deposits.mjs +11 -0
- package/resources/simulations/inbound-check-deposits.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +8 -0
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-funds-holds.js +8 -0
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs +8 -0
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-mail-items.d.ts +9 -0
- package/resources/simulations/inbound-mail-items.d.ts.map +1 -1
- package/resources/simulations/inbound-mail-items.js +9 -0
- package/resources/simulations/inbound-mail-items.js.map +1 -1
- package/resources/simulations/inbound-mail-items.mjs +9 -0
- package/resources/simulations/inbound-mail-items.mjs.map +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts +12 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.js +12 -0
- package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/inbound-real-time-payments-transfers.mjs +12 -0
- package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +18 -0
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +18 -0
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +18 -0
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/inbound-wire-transfers.d.ts +10 -0
- package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-transfers.js +10 -0
- package/resources/simulations/inbound-wire-transfers.js.map +1 -1
- package/resources/simulations/inbound-wire-transfers.mjs +10 -0
- package/resources/simulations/inbound-wire-transfers.mjs.map +1 -1
- package/resources/simulations/interest-payments.d.ts +9 -0
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js +9 -0
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +9 -0
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.ts +9 -0
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/physical-cards.js +9 -0
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +9 -0
- package/resources/simulations/physical-cards.mjs.map +1 -1
- package/resources/simulations/programs.d.ts +7 -0
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/programs.js +7 -0
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs +7 -0
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +8 -0
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +8 -0
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +8 -0
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +16 -0
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +16 -0
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +16 -0
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/supplemental-documents.d.ts +19 -0
- package/resources/supplemental-documents.d.ts.map +1 -1
- package/resources/supplemental-documents.js +19 -0
- package/resources/supplemental-documents.js.map +1 -1
- package/resources/supplemental-documents.mjs +19 -0
- package/resources/supplemental-documents.mjs.map +1 -1
- package/resources/transactions.d.ts +15 -0
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +7 -0
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +7 -0
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts +30 -0
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +22 -0
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +22 -0
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +39 -0
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +31 -0
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +31 -0
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/resources/account-numbers.ts +30 -0
- package/src/resources/account-statements.ts +16 -0
- package/src/resources/account-transfers.ts +43 -0
- package/src/resources/accounts.ts +43 -0
- package/src/resources/ach-prenotifications.ts +26 -0
- package/src/resources/ach-transfers.ts +38 -0
- package/src/resources/bookkeeping-accounts.ts +33 -0
- package/src/resources/bookkeeping-entries.ts +16 -0
- package/src/resources/bookkeeping-entry-sets.ts +35 -0
- package/src/resources/card-disputes.ts +24 -0
- package/src/resources/card-payments.ts +15 -0
- package/src/resources/card-purchase-supplements.ts +16 -0
- package/src/resources/cards.ts +36 -0
- package/src/resources/check-deposits.ts +25 -0
- package/src/resources/check-transfers.ts +48 -0
- package/src/resources/declined-transactions.ts +16 -0
- package/src/resources/digital-card-profiles.ts +44 -0
- package/src/resources/digital-wallet-tokens.ts +16 -0
- package/src/resources/documents.ts +15 -0
- package/src/resources/entities.ts +110 -0
- package/src/resources/event-subscriptions.ts +32 -0
- package/src/resources/events.ts +15 -0
- package/src/resources/exports.ts +22 -0
- package/src/resources/external-accounts.ts +34 -0
- package/src/resources/file-links.ts +7 -0
- package/src/resources/files.ts +23 -0
- package/src/resources/groups.ts +5 -0
- package/src/resources/inbound-ach-transfers.ts +41 -0
- package/src/resources/inbound-check-deposits.ts +33 -0
- package/src/resources/inbound-mail-items.ts +16 -0
- package/src/resources/inbound-real-time-payments-transfers.ts +16 -0
- package/src/resources/inbound-wire-drawdown-requests.ts +16 -0
- package/src/resources/inbound-wire-transfers.ts +25 -0
- package/src/resources/intrafi-account-enrollments.ts +33 -0
- package/src/resources/intrafi-balances.ts +8 -0
- package/src/resources/intrafi-exclusions.ts +33 -0
- package/src/resources/lockboxes.ts +29 -0
- package/src/resources/oauth-applications.ts +16 -0
- package/src/resources/oauth-connections.ts +16 -0
- package/src/resources/oauth-tokens.ts +7 -0
- package/src/resources/pending-transactions.ts +16 -0
- package/src/resources/physical-card-profiles.ts +44 -0
- package/src/resources/physical-cards.ts +47 -0
- package/src/resources/programs.ts +15 -0
- package/src/resources/real-time-decisions.ts +16 -0
- package/src/resources/real-time-payments-transfers.ts +28 -0
- package/src/resources/routing-numbers.ts +10 -0
- package/src/resources/simulations/account-statements.ts +8 -0
- package/src/resources/simulations/account-transfers.ts +8 -0
- package/src/resources/simulations/ach-transfers.ts +44 -0
- package/src/resources/simulations/card-authorization-expirations.ts +10 -0
- package/src/resources/simulations/card-authorizations.ts +8 -0
- package/src/resources/simulations/card-disputes.ts +9 -0
- package/src/resources/simulations/card-fuel-confirmations.ts +9 -0
- package/src/resources/simulations/card-increments.ts +9 -0
- package/src/resources/simulations/card-refunds.ts +8 -0
- package/src/resources/simulations/card-reversals.ts +8 -0
- package/src/resources/simulations/card-settlements.ts +10 -0
- package/src/resources/simulations/check-deposits.ts +24 -0
- package/src/resources/simulations/check-transfers.ts +8 -0
- package/src/resources/simulations/digital-wallet-token-requests.ts +8 -0
- package/src/resources/simulations/documents.ts +7 -0
- package/src/resources/simulations/inbound-ach-transfers.ts +10 -0
- package/src/resources/simulations/inbound-check-deposits.ts +11 -0
- package/src/resources/simulations/inbound-funds-holds.ts +8 -0
- package/src/resources/simulations/inbound-mail-items.ts +9 -0
- package/src/resources/simulations/inbound-real-time-payments-transfers.ts +12 -0
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +18 -0
- package/src/resources/simulations/inbound-wire-transfers.ts +10 -0
- package/src/resources/simulations/interest-payments.ts +9 -0
- package/src/resources/simulations/physical-cards.ts +9 -0
- package/src/resources/simulations/programs.ts +7 -0
- package/src/resources/simulations/real-time-payments-transfers.ts +8 -0
- package/src/resources/simulations/wire-transfers.ts +16 -0
- package/src/resources/supplemental-documents.ts +19 -0
- package/src/resources/transactions.ts +15 -0
- package/src/resources/wire-drawdown-requests.ts +30 -0
- package/src/resources/wire-transfers.ts +39 -0
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/accounts.js
CHANGED
|
@@ -8,18 +8,39 @@ const pagination_1 = require("../pagination.js");
|
|
|
8
8
|
class Accounts extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Create an Account
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const account = await client.accounts.create({
|
|
15
|
+
* name: 'New Account!',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
11
18
|
*/
|
|
12
19
|
create(body, options) {
|
|
13
20
|
return this._client.post('/accounts', { body, ...options });
|
|
14
21
|
}
|
|
15
22
|
/**
|
|
16
23
|
* Retrieve an Account
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const account = await client.accounts.retrieve(
|
|
28
|
+
* 'account_in71c4amph0vgo2qllky',
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
17
31
|
*/
|
|
18
32
|
retrieve(accountId, options) {
|
|
19
33
|
return this._client.get(`/accounts/${accountId}`, options);
|
|
20
34
|
}
|
|
21
35
|
/**
|
|
22
36
|
* Update an Account
|
|
37
|
+
*
|
|
38
|
+
* @example
|
|
39
|
+
* ```ts
|
|
40
|
+
* const account = await client.accounts.update(
|
|
41
|
+
* 'account_in71c4amph0vgo2qllky',
|
|
42
|
+
* );
|
|
43
|
+
* ```
|
|
23
44
|
*/
|
|
24
45
|
update(accountId, body, options) {
|
|
25
46
|
return this._client.patch(`/accounts/${accountId}`, { body, ...options });
|
|
@@ -38,6 +59,13 @@ class Accounts extends resource_1.APIResource {
|
|
|
38
59
|
}
|
|
39
60
|
/**
|
|
40
61
|
* Close an Account
|
|
62
|
+
*
|
|
63
|
+
* @example
|
|
64
|
+
* ```ts
|
|
65
|
+
* const account = await client.accounts.close(
|
|
66
|
+
* 'account_in71c4amph0vgo2qllky',
|
|
67
|
+
* );
|
|
68
|
+
* ```
|
|
41
69
|
*/
|
|
42
70
|
close(accountId, options) {
|
|
43
71
|
return this._client.post(`/accounts/${accountId}/close`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,QAAS,SAAQ,sBAAW;IACvC
|
|
1
|
+
{"version":3,"file":"accounts.js","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,QAAS,SAAQ,sBAAW;IACvC;;;;;;;;;OASG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC9D,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,SAAiB,EAAE,OAA6B;QACvD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,SAAS,EAAE,EAAE,OAAO,CAAC,CAAC;IAC7D,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CACJ,SAAiB,EACjB,IAAyB,EACzB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,aAAa,SAAS,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAeD,IAAI,CACF,QAAiD,EAAE,EACnD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,WAAW,EAAE,YAAY,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAmBD,OAAO,CACL,SAAiB,EACjB,QAAoD,EAAE,EACtD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SAC3C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,SAAS,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,SAAiB,EAAE,OAA6B;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,SAAS,QAAQ,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AA/GD,4BA+GC;AAED,MAAa,YAAa,SAAQ,iBAAa;CAAG;AAAlD,oCAAkD;AAiPlD,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
package/resources/accounts.mjs
CHANGED
|
@@ -5,18 +5,39 @@ import { Page } from "../pagination.mjs";
|
|
|
5
5
|
export class Accounts extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create an Account
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const account = await client.accounts.create({
|
|
12
|
+
* name: 'New Account!',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
8
15
|
*/
|
|
9
16
|
create(body, options) {
|
|
10
17
|
return this._client.post('/accounts', { body, ...options });
|
|
11
18
|
}
|
|
12
19
|
/**
|
|
13
20
|
* Retrieve an Account
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const account = await client.accounts.retrieve(
|
|
25
|
+
* 'account_in71c4amph0vgo2qllky',
|
|
26
|
+
* );
|
|
27
|
+
* ```
|
|
14
28
|
*/
|
|
15
29
|
retrieve(accountId, options) {
|
|
16
30
|
return this._client.get(`/accounts/${accountId}`, options);
|
|
17
31
|
}
|
|
18
32
|
/**
|
|
19
33
|
* Update an Account
|
|
34
|
+
*
|
|
35
|
+
* @example
|
|
36
|
+
* ```ts
|
|
37
|
+
* const account = await client.accounts.update(
|
|
38
|
+
* 'account_in71c4amph0vgo2qllky',
|
|
39
|
+
* );
|
|
40
|
+
* ```
|
|
20
41
|
*/
|
|
21
42
|
update(accountId, body, options) {
|
|
22
43
|
return this._client.patch(`/accounts/${accountId}`, { body, ...options });
|
|
@@ -35,6 +56,13 @@ export class Accounts extends APIResource {
|
|
|
35
56
|
}
|
|
36
57
|
/**
|
|
37
58
|
* Close an Account
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* ```ts
|
|
62
|
+
* const account = await client.accounts.close(
|
|
63
|
+
* 'account_in71c4amph0vgo2qllky',
|
|
64
|
+
* );
|
|
65
|
+
* ```
|
|
38
66
|
*/
|
|
39
67
|
close(accountId, options) {
|
|
40
68
|
return this._client.post(`/accounts/${accountId}/close`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.mjs","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;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OAAO,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SAC3C;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,aAAa,SAAS,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;;;;;;;;OASG;IACH,KAAK,CAAC,SAAiB,EAAE,OAA6B;QACpD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,SAAS,QAAQ,EAAE,OAAO,CAAC,CAAC;IACpE,CAAC;CACF;AAED,MAAM,OAAO,YAAa,SAAQ,IAAa;CAAG;AAiPlD,QAAQ,CAAC,YAAY,GAAG,YAAY,CAAC"}
|
|
@@ -4,14 +4,40 @@ import { Page, type PageParams } from "../pagination.js";
|
|
|
4
4
|
export declare class ACHPrenotifications extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Create an ACH Prenotification
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const achPrenotification =
|
|
11
|
+
* await client.achPrenotifications.create({
|
|
12
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
13
|
+
* account_number: '987654321',
|
|
14
|
+
* routing_number: '101050001',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
7
17
|
*/
|
|
8
18
|
create(body: ACHPrenotificationCreateParams, options?: Core.RequestOptions): Core.APIPromise<ACHPrenotification>;
|
|
9
19
|
/**
|
|
10
20
|
* Retrieve an ACH Prenotification
|
|
21
|
+
*
|
|
22
|
+
* @example
|
|
23
|
+
* ```ts
|
|
24
|
+
* const achPrenotification =
|
|
25
|
+
* await client.achPrenotifications.retrieve(
|
|
26
|
+
* 'ach_prenotification_ubjf9qqsxl3obbcn1u34',
|
|
27
|
+
* );
|
|
28
|
+
* ```
|
|
11
29
|
*/
|
|
12
30
|
retrieve(achPrenotificationId: string, options?: Core.RequestOptions): Core.APIPromise<ACHPrenotification>;
|
|
13
31
|
/**
|
|
14
32
|
* List ACH Prenotifications
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* ```ts
|
|
36
|
+
* // Automatically fetches more pages as needed.
|
|
37
|
+
* for await (const achPrenotification of client.achPrenotifications.list()) {
|
|
38
|
+
* // ...
|
|
39
|
+
* }
|
|
40
|
+
* ```
|
|
15
41
|
*/
|
|
16
42
|
list(query?: ACHPrenotificationListParams, options?: Core.RequestOptions): Core.PagePromise<ACHPrenotificationsPage, ACHPrenotification>;
|
|
17
43
|
list(options?: Core.RequestOptions): Core.PagePromise<ACHPrenotificationsPage, ACHPrenotification>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-prenotifications.d.ts","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"ach-prenotifications.d.ts","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAItC;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,oBAAoB,EAAE,MAAM,EAAE,OAAO,CA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AAO,CAAC;IAE5C;;;OAGG;IACH,cAAc,CAAC,EAAE,MAAM,CAAC;IAExB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IAEvB;;;OAGG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB;;;;;;;OAOG;IACH,yBAAyB,CAAC,EACtB,2BAA2B,GAC3B,0BAA0B,GAC1B,kCAAkC,GAClC,oBAAoB,CAAC;CAC1B;AAED,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D,UAAU,CAAC,EAAE,4BAA4B,CAAC,SAAS,CAAC;IAEpD;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,yBAAiB,4BAA4B,CAAC;IAC5C,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;CACF;AAID,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,uBAAuB,IAAI,uBAAuB,EAClD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,GAClE,CAAC;CACH"}
|
|
@@ -8,12 +8,30 @@ const pagination_1 = require("../pagination.js");
|
|
|
8
8
|
class ACHPrenotifications extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Create an ACH Prenotification
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const achPrenotification =
|
|
15
|
+
* await client.achPrenotifications.create({
|
|
16
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
17
|
+
* account_number: '987654321',
|
|
18
|
+
* routing_number: '101050001',
|
|
19
|
+
* });
|
|
20
|
+
* ```
|
|
11
21
|
*/
|
|
12
22
|
create(body, options) {
|
|
13
23
|
return this._client.post('/ach_prenotifications', { body, ...options });
|
|
14
24
|
}
|
|
15
25
|
/**
|
|
16
26
|
* Retrieve an ACH Prenotification
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* ```ts
|
|
30
|
+
* const achPrenotification =
|
|
31
|
+
* await client.achPrenotifications.retrieve(
|
|
32
|
+
* 'ach_prenotification_ubjf9qqsxl3obbcn1u34',
|
|
33
|
+
* );
|
|
34
|
+
* ```
|
|
17
35
|
*/
|
|
18
36
|
retrieve(achPrenotificationId, options) {
|
|
19
37
|
return this._client.get(`/ach_prenotifications/${achPrenotificationId}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-prenotifications.js","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD
|
|
1
|
+
{"version":3,"file":"ach-prenotifications.js","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAkBD,IAAI,CACF,QAA4D,EAAE,EAC9D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF;AA7DD,kDA6DC;AAED,MAAa,uBAAwB,SAAQ,iBAAwB;CAAG;AAAxE,0DAAwE;AAwhBxE,mBAAmB,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -5,12 +5,30 @@ import { Page } from "../pagination.mjs";
|
|
|
5
5
|
export class ACHPrenotifications extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create an ACH Prenotification
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const achPrenotification =
|
|
12
|
+
* await client.achPrenotifications.create({
|
|
13
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
14
|
+
* account_number: '987654321',
|
|
15
|
+
* routing_number: '101050001',
|
|
16
|
+
* });
|
|
17
|
+
* ```
|
|
8
18
|
*/
|
|
9
19
|
create(body, options) {
|
|
10
20
|
return this._client.post('/ach_prenotifications', { body, ...options });
|
|
11
21
|
}
|
|
12
22
|
/**
|
|
13
23
|
* Retrieve an ACH Prenotification
|
|
24
|
+
*
|
|
25
|
+
* @example
|
|
26
|
+
* ```ts
|
|
27
|
+
* const achPrenotification =
|
|
28
|
+
* await client.achPrenotifications.retrieve(
|
|
29
|
+
* 'ach_prenotification_ubjf9qqsxl3obbcn1u34',
|
|
30
|
+
* );
|
|
31
|
+
* ```
|
|
14
32
|
*/
|
|
15
33
|
retrieve(achPrenotificationId, options) {
|
|
16
34
|
return this._client.get(`/ach_prenotifications/${achPrenotificationId}`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-prenotifications.mjs","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"ach-prenotifications.mjs","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;;;OAYG;IACH,MAAM,CACJ,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;OAUG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAkBD,IAAI,CACF,QAA4D,EAAE,EAC9D,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF;AAED,MAAM,OAAO,uBAAwB,SAAQ,IAAwB;CAAG;AAwhBxE,mBAAmB,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -4,23 +4,61 @@ import { Page, type PageParams } from "../pagination.js";
|
|
|
4
4
|
export declare class ACHTransfers extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Create an ACH Transfer
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const achTransfer = await client.achTransfers.create({
|
|
11
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
12
|
+
* amount: 100,
|
|
13
|
+
* statement_descriptor: 'New ACH transfer',
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
7
16
|
*/
|
|
8
17
|
create(body: ACHTransferCreateParams, options?: Core.RequestOptions): Core.APIPromise<ACHTransfer>;
|
|
9
18
|
/**
|
|
10
19
|
* Retrieve an ACH Transfer
|
|
20
|
+
*
|
|
21
|
+
* @example
|
|
22
|
+
* ```ts
|
|
23
|
+
* const achTransfer = await client.achTransfers.retrieve(
|
|
24
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
25
|
+
* );
|
|
26
|
+
* ```
|
|
11
27
|
*/
|
|
12
28
|
retrieve(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfer>;
|
|
13
29
|
/**
|
|
14
30
|
* List ACH Transfers
|
|
31
|
+
*
|
|
32
|
+
* @example
|
|
33
|
+
* ```ts
|
|
34
|
+
* // Automatically fetches more pages as needed.
|
|
35
|
+
* for await (const achTransfer of client.achTransfers.list()) {
|
|
36
|
+
* // ...
|
|
37
|
+
* }
|
|
38
|
+
* ```
|
|
15
39
|
*/
|
|
16
40
|
list(query?: ACHTransferListParams, options?: Core.RequestOptions): Core.PagePromise<ACHTransfersPage, ACHTransfer>;
|
|
17
41
|
list(options?: Core.RequestOptions): Core.PagePromise<ACHTransfersPage, ACHTransfer>;
|
|
18
42
|
/**
|
|
19
43
|
* Approves an ACH Transfer in a pending_approval state.
|
|
44
|
+
*
|
|
45
|
+
* @example
|
|
46
|
+
* ```ts
|
|
47
|
+
* const achTransfer = await client.achTransfers.approve(
|
|
48
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
49
|
+
* );
|
|
50
|
+
* ```
|
|
20
51
|
*/
|
|
21
52
|
approve(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfer>;
|
|
22
53
|
/**
|
|
23
54
|
* Cancels an ACH Transfer in a pending_approval state.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const achTransfer = await client.achTransfers.cancel(
|
|
59
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
24
62
|
*/
|
|
25
63
|
cancel(achTransferId: string, options?: Core.RequestOptions): Core.APIPromise<ACHTransfer>;
|
|
26
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.d.ts","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"ach-transfers.d.ts","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAAI,EAAE,uBAAuB,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,WAAW,CAAC;IAIlG;;;;;;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AAM,CAAC;aACrB;SACF;KACF;IAED;;;;;OAKG;IACH,UAAiB,sBAAsB;QACrC;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QAEd;;;;;;;;;;WAUG;QACH,mBAAmB,CAAC,EAAE,UAAU,GAAG,cAAc,CAAC;KACnD;CACF;AAED,MAAM,WAAW,qBAAsB,SAAQ,UAAU;IACvD;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB,UAAU,CAAC,EAAE,qBAAqB,CAAC,SAAS,CAAC;IAE7C;;OAEG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;IAE7B;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;IAEzB,MAAM,CAAC,EAAE,qBAAqB,CAAC,MAAM,CAAC;CACvC;AAED,yBAAiB,qBAAqB,CAAC;IACrC,UAAiB,SAAS;QACxB;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;QAEf;;;WAGG;QACH,MAAM,CAAC,EAAE,MAAM,CAAC;QAEhB;;;WAGG;QACH,WAAW,CAAC,EAAE,MAAM,CAAC;QAErB;;;WAGG;QACH,YAAY,CAAC,EAAE,MAAM,CAAC;KACvB;IAED,UAAiB,MAAM;QACrB;;;WAGG;QACH,EAAE,CAAC,EAAE,KAAK,CACN,kBAAkB,GAClB,uCAAuC,GACvC,UAAU,GACV,oBAAoB,GACpB,mBAAmB,GACnB,oBAAoB,GACpB,UAAU,GACV,WAAW,GACX,UAAU,CACb,CAAC;KACH;CACF;AAID,MAAM,CAAC,OAAO,WAAW,YAAY,CAAC;IACpC,OAAO,EACL,KAAK,WAAW,IAAI,WAAW,EAC/B,gBAAgB,IAAI,gBAAgB,EACpC,KAAK,uBAAuB,IAAI,uBAAuB,EACvD,KAAK,qBAAqB,IAAI,qBAAqB,GACpD,CAAC;CACH"}
|
|
@@ -8,12 +8,28 @@ const pagination_1 = require("../pagination.js");
|
|
|
8
8
|
class ACHTransfers extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Create an ACH Transfer
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const achTransfer = await client.achTransfers.create({
|
|
15
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
16
|
+
* amount: 100,
|
|
17
|
+
* statement_descriptor: 'New ACH transfer',
|
|
18
|
+
* });
|
|
19
|
+
* ```
|
|
11
20
|
*/
|
|
12
21
|
create(body, options) {
|
|
13
22
|
return this._client.post('/ach_transfers', { body, ...options });
|
|
14
23
|
}
|
|
15
24
|
/**
|
|
16
25
|
* Retrieve an ACH Transfer
|
|
26
|
+
*
|
|
27
|
+
* @example
|
|
28
|
+
* ```ts
|
|
29
|
+
* const achTransfer = await client.achTransfers.retrieve(
|
|
30
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
31
|
+
* );
|
|
32
|
+
* ```
|
|
17
33
|
*/
|
|
18
34
|
retrieve(achTransferId, options) {
|
|
19
35
|
return this._client.get(`/ach_transfers/${achTransferId}`, options);
|
|
@@ -26,12 +42,26 @@ class ACHTransfers extends resource_1.APIResource {
|
|
|
26
42
|
}
|
|
27
43
|
/**
|
|
28
44
|
* Approves an ACH Transfer in a pending_approval state.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const achTransfer = await client.achTransfers.approve(
|
|
49
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
50
|
+
* );
|
|
51
|
+
* ```
|
|
29
52
|
*/
|
|
30
53
|
approve(achTransferId, options) {
|
|
31
54
|
return this._client.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
32
55
|
}
|
|
33
56
|
/**
|
|
34
57
|
* Cancels an ACH Transfer in a pending_approval state.
|
|
58
|
+
*
|
|
59
|
+
* @example
|
|
60
|
+
* ```ts
|
|
61
|
+
* const achTransfer = await client.achTransfers.cancel(
|
|
62
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
63
|
+
* );
|
|
64
|
+
* ```
|
|
35
65
|
*/
|
|
36
66
|
cancel(achTransferId, options) {
|
|
37
67
|
return this._client.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,YAAa,SAAQ,sBAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAkBD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAqB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AApFD,oCAoFC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAAG;AAA1D,4CAA0D;AAuuC1D,YAAY,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -5,12 +5,28 @@ import { Page } from "../pagination.mjs";
|
|
|
5
5
|
export class ACHTransfers extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create an ACH Transfer
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const achTransfer = await client.achTransfers.create({
|
|
12
|
+
* account_id: 'account_in71c4amph0vgo2qllky',
|
|
13
|
+
* amount: 100,
|
|
14
|
+
* statement_descriptor: 'New ACH transfer',
|
|
15
|
+
* });
|
|
16
|
+
* ```
|
|
8
17
|
*/
|
|
9
18
|
create(body, options) {
|
|
10
19
|
return this._client.post('/ach_transfers', { body, ...options });
|
|
11
20
|
}
|
|
12
21
|
/**
|
|
13
22
|
* Retrieve an ACH Transfer
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
* ```ts
|
|
26
|
+
* const achTransfer = await client.achTransfers.retrieve(
|
|
27
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
28
|
+
* );
|
|
29
|
+
* ```
|
|
14
30
|
*/
|
|
15
31
|
retrieve(achTransferId, options) {
|
|
16
32
|
return this._client.get(`/ach_transfers/${achTransferId}`, options);
|
|
@@ -23,12 +39,26 @@ export class ACHTransfers extends APIResource {
|
|
|
23
39
|
}
|
|
24
40
|
/**
|
|
25
41
|
* Approves an ACH Transfer in a pending_approval state.
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* ```ts
|
|
45
|
+
* const achTransfer = await client.achTransfers.approve(
|
|
46
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
47
|
+
* );
|
|
48
|
+
* ```
|
|
26
49
|
*/
|
|
27
50
|
approve(achTransferId, options) {
|
|
28
51
|
return this._client.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
29
52
|
}
|
|
30
53
|
/**
|
|
31
54
|
* Cancels an ACH Transfer in a pending_approval state.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
* ```ts
|
|
58
|
+
* const achTransfer = await client.achTransfers.cancel(
|
|
59
|
+
* 'ach_transfer_uoxatyh3lt5evrsdvo7q',
|
|
60
|
+
* );
|
|
61
|
+
* ```
|
|
32
62
|
*/
|
|
33
63
|
cancel(achTransferId, options) {
|
|
34
64
|
return this._client.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C
|
|
1
|
+
{"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,EAAE,gBAAgB,EAAE;OAEpB,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;;;;;;;;;;OAWG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnE,CAAC;IAED;;;;;;;;;OASG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAkBD,IAAI,CACF,QAAqD,EAAE,EACvD,OAA6B;QAE7B,IAAI,gBAAgB,CAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gBAAgB,EAAE,gBAAgB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5F,CAAC;IAED;;;;;;;;;OASG;IACH,OAAO,CAAC,aAAqB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;IAED;;;;;;;;;OASG;IACH,MAAM,CAAC,aAAqB,EAAE,OAA6B;QACzD,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,aAAa,SAAS,EAAE,OAAO,CAAC,CAAC;IAC9E,CAAC;CACF;AAED,MAAM,OAAO,gBAAiB,SAAQ,IAAiB;CAAG;AAuuC1D,YAAY,CAAC,gBAAgB,GAAG,gBAAgB,CAAC"}
|
|
@@ -4,19 +4,52 @@ import { Page, type PageParams } from "../pagination.js";
|
|
|
4
4
|
export declare class BookkeepingAccounts extends APIResource {
|
|
5
5
|
/**
|
|
6
6
|
* Create a Bookkeeping Account
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
* ```ts
|
|
10
|
+
* const bookkeepingAccount =
|
|
11
|
+
* await client.bookkeepingAccounts.create({
|
|
12
|
+
* name: 'New Account!',
|
|
13
|
+
* });
|
|
14
|
+
* ```
|
|
7
15
|
*/
|
|
8
16
|
create(body: BookkeepingAccountCreateParams, options?: Core.RequestOptions): Core.APIPromise<BookkeepingAccount>;
|
|
9
17
|
/**
|
|
10
18
|
* Update a Bookkeeping Account
|
|
19
|
+
*
|
|
20
|
+
* @example
|
|
21
|
+
* ```ts
|
|
22
|
+
* const bookkeepingAccount =
|
|
23
|
+
* await client.bookkeepingAccounts.update(
|
|
24
|
+
* 'bookkeeping_account_e37p1f1iuocw5intf35v',
|
|
25
|
+
* { name: 'Deprecated Account' },
|
|
26
|
+
* );
|
|
27
|
+
* ```
|
|
11
28
|
*/
|
|
12
29
|
update(bookkeepingAccountId: string, body: BookkeepingAccountUpdateParams, options?: Core.RequestOptions): Core.APIPromise<BookkeepingAccount>;
|
|
13
30
|
/**
|
|
14
31
|
* List Bookkeeping Accounts
|
|
32
|
+
*
|
|
33
|
+
* @example
|
|
34
|
+
* ```ts
|
|
35
|
+
* // Automatically fetches more pages as needed.
|
|
36
|
+
* for await (const bookkeepingAccount of client.bookkeepingAccounts.list()) {
|
|
37
|
+
* // ...
|
|
38
|
+
* }
|
|
39
|
+
* ```
|
|
15
40
|
*/
|
|
16
41
|
list(query?: BookkeepingAccountListParams, options?: Core.RequestOptions): Core.PagePromise<BookkeepingAccountsPage, BookkeepingAccount>;
|
|
17
42
|
list(options?: Core.RequestOptions): Core.PagePromise<BookkeepingAccountsPage, BookkeepingAccount>;
|
|
18
43
|
/**
|
|
19
44
|
* Retrieve a Bookkeeping Account Balance
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
* ```ts
|
|
48
|
+
* const bookkeepingBalanceLookup =
|
|
49
|
+
* await client.bookkeepingAccounts.balance(
|
|
50
|
+
* 'bookkeeping_account_e37p1f1iuocw5intf35v',
|
|
51
|
+
* );
|
|
52
|
+
* ```
|
|
20
53
|
*/
|
|
21
54
|
balance(bookkeepingAccountId: string, query?: BookkeepingAccountBalanceParams, options?: Core.RequestOptions): Core.APIPromise<BookkeepingBalanceLookup>;
|
|
22
55
|
balance(bookkeepingAccountId: string, options?: Core.RequestOptions): Core.APIPromise<BookkeepingBalanceLookup>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-accounts.d.ts","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,mBAAoB,SAAQ,WAAW;IAClD
|
|
1
|
+
{"version":3,"file":"bookkeeping-accounts.d.ts","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAE1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,mBAAoB,SAAQ,WAAW;IAClD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAItC;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,oBAAoB,EAAE,MAAM,EAC5B,IAAI,EAAE,8BAA8B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,kBAAkB,CAAC;IAItC;;;;;;;;;;OAUG;IACH,IAAI,CACF,KAAK,CAAC,EAAE,4BAA4B,EACpC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,uBAAuB,EAAE,kBAAkB,CAAC;IAChE,IAAI,CAAC,OAAO,CAAC,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,GAAG,kBAAkB,CAAC;IAE7D;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,WAAW,8BAA8B;IAC7C;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,4BAA6B,SAAQ,UAAU;IAC9D;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,MAAM,WAAW,+BAA+B;IAC9C;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;CAClB;AAID,MAAM,CAAC,OAAO,WAAW,mBAAmB,CAAC;IAC3C,OAAO,EACL,KAAK,kBAAkB,IAAI,kBAAkB,EAC7C,KAAK,wBAAwB,IAAI,wBAAwB,EACzD,uBAAuB,IAAI,uBAAuB,EAClD,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,8BAA8B,IAAI,8BAA8B,EACrE,KAAK,4BAA4B,IAAI,4BAA4B,EACjE,KAAK,+BAA+B,IAAI,+BAA+B,GACxE,CAAC;CACH"}
|
|
@@ -8,12 +8,29 @@ const pagination_1 = require("../pagination.js");
|
|
|
8
8
|
class BookkeepingAccounts extends resource_1.APIResource {
|
|
9
9
|
/**
|
|
10
10
|
* Create a Bookkeeping Account
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* ```ts
|
|
14
|
+
* const bookkeepingAccount =
|
|
15
|
+
* await client.bookkeepingAccounts.create({
|
|
16
|
+
* name: 'New Account!',
|
|
17
|
+
* });
|
|
18
|
+
* ```
|
|
11
19
|
*/
|
|
12
20
|
create(body, options) {
|
|
13
21
|
return this._client.post('/bookkeeping_accounts', { body, ...options });
|
|
14
22
|
}
|
|
15
23
|
/**
|
|
16
24
|
* Update a Bookkeeping Account
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* ```ts
|
|
28
|
+
* const bookkeepingAccount =
|
|
29
|
+
* await client.bookkeepingAccounts.update(
|
|
30
|
+
* 'bookkeeping_account_e37p1f1iuocw5intf35v',
|
|
31
|
+
* { name: 'Deprecated Account' },
|
|
32
|
+
* );
|
|
33
|
+
* ```
|
|
17
34
|
*/
|
|
18
35
|
update(bookkeepingAccountId, body, options) {
|
|
19
36
|
return this._client.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-accounts.js","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD
|
|
1
|
+
{"version":3,"file":"bookkeeping-accounts.js","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,6CAA0C;AAC1C,qCAA2C;AAE3C,iDAAsD;AAEtD,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;;;;;;;;;OAUG;IACH,MAAM,CACJ,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1E,CAAC;IAED;;;;;;;;;;;OAWG;IACH,MAAM,CACJ,oBAA4B,EAC5B,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,KAAK,CAAC,yBAAyB,oBAAoB,EAAE,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnG,CAAC;IAkBD,IAAI,CACF,QAA4D,EAAE,EAC9D,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,IAAI,CAAC,EAAE,EAAE,KAAK,CAAC,CAAC;SAC7B;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,uBAAuB,EAAE,uBAAuB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;IAsBD,OAAO,CACL,oBAA4B,EAC5B,QAA+D,EAAE,EACjE,OAA6B;QAE7B,IAAI,IAAA,uBAAgB,EAAC,KAAK,CAAC,EAAE;YAC3B,OAAO,IAAI,CAAC,OAAO,CAAC,oBAAoB,EAAE,EAAE,EAAE,KAAK,CAAC,CAAC;SACtD;QACD,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,oBAAoB,UAAU,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC1G,CAAC;CACF;AA/FD,kDA+FC;AAED,MAAa,uBAAwB,SAAQ,iBAAwB;CAAG;AAAxE,0DAAwE;AA0HxE,mBAAmB,CAAC,uBAAuB,GAAG,uBAAuB,CAAC"}
|
|
@@ -5,12 +5,29 @@ import { Page } from "../pagination.mjs";
|
|
|
5
5
|
export class BookkeepingAccounts extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create a Bookkeeping Account
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* ```ts
|
|
11
|
+
* const bookkeepingAccount =
|
|
12
|
+
* await client.bookkeepingAccounts.create({
|
|
13
|
+
* name: 'New Account!',
|
|
14
|
+
* });
|
|
15
|
+
* ```
|
|
8
16
|
*/
|
|
9
17
|
create(body, options) {
|
|
10
18
|
return this._client.post('/bookkeeping_accounts', { body, ...options });
|
|
11
19
|
}
|
|
12
20
|
/**
|
|
13
21
|
* Update a Bookkeeping Account
|
|
22
|
+
*
|
|
23
|
+
* @example
|
|
24
|
+
* ```ts
|
|
25
|
+
* const bookkeepingAccount =
|
|
26
|
+
* await client.bookkeepingAccounts.update(
|
|
27
|
+
* 'bookkeeping_account_e37p1f1iuocw5intf35v',
|
|
28
|
+
* { name: 'Deprecated Account' },
|
|
29
|
+
* );
|
|
30
|
+
* ```
|
|
14
31
|
*/
|
|
15
32
|
update(bookkeepingAccountId, body, options) {
|
|
16
33
|
return this._client.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|