increase 0.59.1 → 0.60.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 +18 -0
- package/README.md +41 -17
- package/error.d.ts.map +1 -1
- package/error.js +0 -3
- package/error.js.map +1 -1
- package/error.mjs +0 -3
- package/error.mjs.map +1 -1
- package/index.d.mts +190 -172
- package/index.d.ts +190 -172
- package/index.d.ts.map +1 -1
- package/index.js +96 -87
- package/index.js.map +1 -1
- package/index.mjs +96 -87
- package/index.mjs.map +1 -1
- package/package.json +1 -1
- package/resources/cards.d.ts +1 -1
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js +1 -1
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +1 -1
- package/resources/cards.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +2 -231
- package/resources/declined-transactions.d.ts.map +1 -1
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/{entities/entities.d.ts → entities.d.ts} +276 -46
- package/resources/entities.d.ts.map +1 -0
- package/resources/{entities/entities.js → entities.js} +28 -17
- package/resources/entities.js.map +1 -0
- package/resources/{entities/entities.mjs → entities.mjs} +28 -17
- package/resources/entities.mjs.map +1 -0
- package/resources/groups.d.ts +1 -1
- 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 +218 -7
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +8 -8
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +8 -8
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-check-deposits.d.ts +25 -1
- package/resources/inbound-check-deposits.d.ts.map +1 -1
- package/resources/inbound-check-deposits.js +6 -0
- package/resources/inbound-check-deposits.js.map +1 -1
- package/resources/inbound-check-deposits.mjs +6 -0
- package/resources/inbound-check-deposits.mjs.map +1 -1
- package/resources/inbound-mail-items.d.ts +0 -14
- package/resources/inbound-mail-items.d.ts.map +1 -1
- package/resources/inbound-mail-items.js.map +1 -1
- package/resources/inbound-mail-items.mjs.map +1 -1
- package/resources/inbound-wire-transfers.d.ts +4 -0
- package/resources/inbound-wire-transfers.d.ts.map +1 -1
- package/resources/inbound-wire-transfers.js.map +1 -1
- package/resources/inbound-wire-transfers.mjs.map +1 -1
- package/resources/index.d.ts +11 -8
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +15 -6
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +7 -4
- package/resources/index.mjs.map +1 -1
- package/resources/{intrafi/account-enrollments.d.ts → intrafi-account-enrollments.d.ts} +17 -17
- package/resources/intrafi-account-enrollments.d.ts.map +1 -0
- package/resources/{intrafi/account-enrollments.js → intrafi-account-enrollments.js} +11 -11
- package/resources/intrafi-account-enrollments.js.map +1 -0
- package/resources/{intrafi/account-enrollments.mjs → intrafi-account-enrollments.mjs} +9 -9
- package/resources/intrafi-account-enrollments.mjs.map +1 -0
- package/resources/{intrafi/balances.d.ts → intrafi-balances.d.ts} +7 -7
- package/resources/intrafi-balances.d.ts.map +1 -0
- package/resources/{intrafi/balances.js → intrafi-balances.js} +7 -7
- package/resources/intrafi-balances.js.map +1 -0
- package/resources/{intrafi/balances.mjs → intrafi-balances.mjs} +5 -5
- package/resources/intrafi-balances.mjs.map +1 -0
- package/resources/{intrafi/exclusions.d.ts → intrafi-exclusions.d.ts} +15 -15
- package/resources/intrafi-exclusions.d.ts.map +1 -0
- package/resources/{intrafi/exclusions.js → intrafi-exclusions.js} +11 -11
- package/resources/intrafi-exclusions.js.map +1 -0
- package/resources/{intrafi/exclusions.mjs → intrafi-exclusions.mjs} +9 -9
- package/resources/intrafi-exclusions.mjs.map +1 -0
- package/resources/lockboxes.d.ts +0 -14
- package/resources/lockboxes.d.ts.map +1 -1
- package/resources/lockboxes.js.map +1 -1
- package/resources/lockboxes.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +5 -5
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js +5 -5
- 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/ach-transfers.d.ts +10 -61
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +10 -14
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +10 -14
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-authorization-expirations.d.ts +20 -0
- package/resources/simulations/card-authorization-expirations.d.ts.map +1 -0
- package/resources/simulations/card-authorization-expirations.js +17 -0
- package/resources/simulations/card-authorization-expirations.js.map +1 -0
- package/resources/simulations/card-authorization-expirations.mjs +13 -0
- package/resources/simulations/card-authorization-expirations.mjs.map +1 -0
- package/resources/simulations/card-authorizations.d.ts +91 -0
- package/resources/simulations/card-authorizations.d.ts.map +1 -0
- package/resources/simulations/{cards.js → card-authorizations.js} +7 -17
- package/resources/simulations/card-authorizations.js.map +1 -0
- package/resources/simulations/{cards.mjs → card-authorizations.mjs} +5 -15
- package/resources/simulations/card-authorizations.mjs.map +1 -0
- package/resources/simulations/card-fuel-confirmations.d.ts +27 -0
- package/resources/simulations/card-fuel-confirmations.d.ts.map +1 -0
- package/resources/simulations/card-fuel-confirmations.js +19 -0
- package/resources/simulations/card-fuel-confirmations.js.map +1 -0
- package/resources/simulations/card-fuel-confirmations.mjs +15 -0
- package/resources/simulations/card-fuel-confirmations.mjs.map +1 -0
- package/resources/simulations/card-increments.d.ts +32 -0
- package/resources/simulations/card-increments.d.ts.map +1 -0
- package/resources/simulations/card-increments.js +18 -0
- package/resources/simulations/card-increments.js.map +1 -0
- package/resources/simulations/card-increments.mjs +14 -0
- package/resources/simulations/card-increments.mjs.map +1 -0
- package/resources/simulations/card-reversals.d.ts +28 -0
- package/resources/simulations/card-reversals.d.ts.map +1 -0
- package/resources/simulations/card-reversals.js +20 -0
- package/resources/simulations/card-reversals.js.map +1 -0
- package/resources/simulations/card-reversals.mjs +16 -0
- package/resources/simulations/card-reversals.mjs.map +1 -0
- package/resources/simulations/card-settlements.d.ts +34 -0
- package/resources/simulations/card-settlements.d.ts.map +1 -0
- package/resources/simulations/card-settlements.js +21 -0
- package/resources/simulations/card-settlements.js.map +1 -0
- package/resources/simulations/card-settlements.mjs +17 -0
- package/resources/simulations/card-settlements.mjs.map +1 -0
- package/resources/simulations/inbound-ach-transfers.d.ts +89 -0
- package/resources/simulations/inbound-ach-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-ach-transfers.js +26 -0
- package/resources/simulations/inbound-ach-transfers.js.map +1 -0
- package/resources/simulations/inbound-ach-transfers.mjs +22 -0
- package/resources/simulations/inbound-ach-transfers.mjs.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts +71 -0
- package/resources/simulations/inbound-real-time-payments-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.js +18 -0
- package/resources/simulations/inbound-real-time-payments-transfers.js.map +1 -0
- package/resources/simulations/inbound-real-time-payments-transfers.mjs +14 -0
- package/resources/simulations/inbound-real-time-payments-transfers.mjs.map +1 -0
- package/resources/simulations/inbound-wire-transfers.d.ts +99 -0
- package/resources/simulations/inbound-wire-transfers.d.ts.map +1 -0
- package/resources/simulations/inbound-wire-transfers.js +17 -0
- package/resources/simulations/inbound-wire-transfers.js.map +1 -0
- package/resources/simulations/inbound-wire-transfers.mjs +13 -0
- package/resources/simulations/inbound-wire-transfers.mjs.map +1 -0
- package/resources/simulations/index.d.ts +14 -7
- package/resources/simulations/index.d.ts.map +1 -1
- package/resources/simulations/index.js +21 -7
- package/resources/simulations/index.js.map +1 -1
- package/resources/simulations/index.mjs +11 -4
- package/resources/simulations/index.mjs.map +1 -1
- package/resources/simulations/interest-payments.js +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.ts +3 -3
- package/resources/simulations/physical-cards.js +2 -2
- package/resources/simulations/physical-cards.mjs +2 -2
- package/resources/simulations/real-time-payments-transfers.d.ts +0 -3686
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +0 -7
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +0 -7
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts +67 -118
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +45 -54
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +45 -54
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +10 -85
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +14 -5
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +14 -5
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/{entities/supplemental-documents.d.ts → supplemental-documents.d.ts} +17 -10
- package/resources/supplemental-documents.d.ts.map +1 -0
- package/resources/{entities/supplemental-documents.js → supplemental-documents.js} +9 -9
- package/resources/supplemental-documents.js.map +1 -0
- package/resources/{entities/supplemental-documents.mjs → supplemental-documents.mjs} +7 -7
- package/resources/supplemental-documents.mjs.map +1 -0
- package/resources/transactions.d.ts +6 -276
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-transfers.d.ts +4 -13
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js +0 -17
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +0 -17
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/error.ts +0 -8
- package/src/index.ts +210 -189
- package/src/resources/cards.ts +1 -1
- package/src/resources/declined-transactions.ts +0 -297
- package/src/resources/{entities/entities.ts → entities.ts} +351 -56
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfers.ts +288 -13
- package/src/resources/inbound-check-deposits.ts +34 -1
- package/src/resources/inbound-mail-items.ts +0 -16
- package/src/resources/inbound-wire-transfers.ts +5 -0
- package/src/resources/index.ts +32 -14
- package/src/resources/{intrafi/account-enrollments.ts → intrafi-account-enrollments.ts} +18 -18
- package/src/resources/{intrafi/balances.ts → intrafi-balances.ts} +6 -6
- package/src/resources/{intrafi/exclusions.ts → intrafi-exclusions.ts} +19 -16
- package/src/resources/lockboxes.ts +0 -16
- package/src/resources/routing-numbers.ts +6 -6
- package/src/resources/simulations/ach-transfers.ts +15 -76
- package/src/resources/simulations/card-authorization-expirations.ts +29 -0
- package/src/resources/simulations/card-authorizations.ts +112 -0
- package/src/resources/simulations/card-fuel-confirmations.ts +37 -0
- package/src/resources/simulations/card-increments.ts +43 -0
- package/src/resources/simulations/card-reversals.ts +38 -0
- package/src/resources/simulations/card-settlements.ts +45 -0
- package/src/resources/simulations/inbound-ach-transfers.ts +124 -0
- package/src/resources/simulations/inbound-real-time-payments-transfers.ts +89 -0
- package/src/resources/simulations/inbound-wire-transfers.ts +124 -0
- package/src/resources/simulations/index.ts +26 -21
- package/src/resources/simulations/interest-payments.ts +1 -1
- package/src/resources/simulations/physical-cards.ts +5 -5
- package/src/resources/simulations/real-time-payments-transfers.ts +0 -4659
- package/src/resources/simulations/simulations.ts +80 -157
- package/src/resources/simulations/wire-transfers.ts +18 -104
- package/src/resources/{entities/supplemental-documents.ts → supplemental-documents.ts} +21 -13
- package/src/resources/transactions.ts +5 -350
- package/src/resources/wire-transfers.ts +5 -19
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
- package/resources/entities/beneficial-owners.d.ts +0 -279
- package/resources/entities/beneficial-owners.d.ts.map +0 -1
- package/resources/entities/beneficial-owners.js +0 -29
- package/resources/entities/beneficial-owners.js.map +0 -1
- package/resources/entities/beneficial-owners.mjs +0 -25
- package/resources/entities/beneficial-owners.mjs.map +0 -1
- package/resources/entities/entities.d.ts.map +0 -1
- package/resources/entities/entities.js.map +0 -1
- package/resources/entities/entities.mjs.map +0 -1
- package/resources/entities/index.d.ts +0 -5
- package/resources/entities/index.d.ts.map +0 -1
- package/resources/entities/index.js +0 -15
- package/resources/entities/index.js.map +0 -1
- package/resources/entities/index.mjs +0 -6
- package/resources/entities/index.mjs.map +0 -1
- package/resources/entities/industry-code.d.ts +0 -23
- package/resources/entities/industry-code.d.ts.map +0 -1
- package/resources/entities/industry-code.js +0 -17
- package/resources/entities/industry-code.js.map +0 -1
- package/resources/entities/industry-code.mjs +0 -13
- package/resources/entities/industry-code.mjs.map +0 -1
- package/resources/entities/supplemental-documents.d.ts.map +0 -1
- package/resources/entities/supplemental-documents.js.map +0 -1
- package/resources/entities/supplemental-documents.mjs.map +0 -1
- package/resources/intrafi/account-enrollments.d.ts.map +0 -1
- package/resources/intrafi/account-enrollments.js.map +0 -1
- package/resources/intrafi/account-enrollments.mjs.map +0 -1
- package/resources/intrafi/balances.d.ts.map +0 -1
- package/resources/intrafi/balances.js.map +0 -1
- package/resources/intrafi/balances.mjs.map +0 -1
- package/resources/intrafi/exclusions.d.ts.map +0 -1
- package/resources/intrafi/exclusions.js.map +0 -1
- package/resources/intrafi/exclusions.mjs.map +0 -1
- package/resources/intrafi/index.d.ts +0 -5
- package/resources/intrafi/index.d.ts.map +0 -1
- package/resources/intrafi/index.js +0 -15
- package/resources/intrafi/index.js.map +0 -1
- package/resources/intrafi/index.mjs +0 -6
- package/resources/intrafi/index.mjs.map +0 -1
- package/resources/intrafi/intrafi.d.ts +0 -24
- package/resources/intrafi/intrafi.d.ts.map +0 -1
- package/resources/intrafi/intrafi.js +0 -48
- package/resources/intrafi/intrafi.js.map +0 -1
- package/resources/intrafi/intrafi.mjs +0 -21
- package/resources/intrafi/intrafi.mjs.map +0 -1
- package/resources/simulations/cards.d.ts +0 -1763
- package/resources/simulations/cards.d.ts.map +0 -1
- package/resources/simulations/cards.js.map +0 -1
- package/resources/simulations/cards.mjs.map +0 -1
- package/resources/simulations/inbound-international-ach-transfers.d.ts +0 -285
- package/resources/simulations/inbound-international-ach-transfers.d.ts.map +0 -1
- package/resources/simulations/inbound-international-ach-transfers.js +0 -21
- package/resources/simulations/inbound-international-ach-transfers.js.map +0 -1
- package/resources/simulations/inbound-international-ach-transfers.mjs +0 -17
- package/resources/simulations/inbound-international-ach-transfers.mjs.map +0 -1
- package/src/resources/entities/beneficial-owners.ts +0 -346
- package/src/resources/entities/index.ts +0 -25
- package/src/resources/entities/industry-code.ts +0 -33
- package/src/resources/intrafi/index.ts +0 -18
- package/src/resources/intrafi/intrafi.ts +0 -29
- package/src/resources/simulations/cards.ts +0 -2188
- package/src/resources/simulations/inbound-international-ach-transfers.ts +0 -367
|
@@ -3,17 +3,24 @@ import { APIResource } from "../../resource.mjs";
|
|
|
3
3
|
import * as AccountStatementsAPI from "./account-statements.mjs";
|
|
4
4
|
import * as AccountTransfersAPI from "./account-transfers.mjs";
|
|
5
5
|
import * as ACHTransfersAPI from "./ach-transfers.mjs";
|
|
6
|
+
import * as CardAuthorizationExpirationsAPI from "./card-authorization-expirations.mjs";
|
|
7
|
+
import * as CardAuthorizationsAPI from "./card-authorizations.mjs";
|
|
6
8
|
import * as CardDisputesAPI from "./card-disputes.mjs";
|
|
9
|
+
import * as CardFuelConfirmationsAPI from "./card-fuel-confirmations.mjs";
|
|
10
|
+
import * as CardIncrementsAPI from "./card-increments.mjs";
|
|
7
11
|
import * as CardRefundsAPI from "./card-refunds.mjs";
|
|
8
|
-
import * as
|
|
12
|
+
import * as CardReversalsAPI from "./card-reversals.mjs";
|
|
13
|
+
import * as CardSettlementsAPI from "./card-settlements.mjs";
|
|
9
14
|
import * as CheckDepositsAPI from "./check-deposits.mjs";
|
|
10
15
|
import * as CheckTransfersAPI from "./check-transfers.mjs";
|
|
11
16
|
import * as DigitalWalletTokenRequestsAPI from "./digital-wallet-token-requests.mjs";
|
|
12
17
|
import * as DocumentsAPI from "./documents.mjs";
|
|
18
|
+
import * as InboundACHTransfersAPI from "./inbound-ach-transfers.mjs";
|
|
13
19
|
import * as InboundCheckDepositsAPI from "./inbound-check-deposits.mjs";
|
|
14
20
|
import * as InboundFundsHoldsAPI from "./inbound-funds-holds.mjs";
|
|
15
|
-
import * as
|
|
21
|
+
import * as InboundRealTimePaymentsTransfersAPI from "./inbound-real-time-payments-transfers.mjs";
|
|
16
22
|
import * as InboundWireDrawdownRequestsAPI from "./inbound-wire-drawdown-requests.mjs";
|
|
23
|
+
import * as InboundWireTransfersAPI from "./inbound-wire-transfers.mjs";
|
|
17
24
|
import * as InterestPaymentsAPI from "./interest-payments.mjs";
|
|
18
25
|
import * as PhysicalCardsAPI from "./physical-cards.mjs";
|
|
19
26
|
import * as ProgramsAPI from "./programs.mjs";
|
|
@@ -23,75 +30,59 @@ export class Simulations extends APIResource {
|
|
|
23
30
|
constructor() {
|
|
24
31
|
super(...arguments);
|
|
25
32
|
this.accountTransfers = new AccountTransfersAPI.AccountTransfers(this._client);
|
|
26
|
-
this.
|
|
33
|
+
this.inboundACHTransfers = new InboundACHTransfersAPI.InboundACHTransfers(this._client);
|
|
27
34
|
this.achTransfers = new ACHTransfersAPI.ACHTransfers(this._client);
|
|
28
|
-
this.cardDisputes = new CardDisputesAPI.CardDisputes(this._client);
|
|
29
|
-
this.cardRefunds = new CardRefundsAPI.CardRefunds(this._client);
|
|
30
35
|
this.checkTransfers = new CheckTransfersAPI.CheckTransfers(this._client);
|
|
31
|
-
this.
|
|
32
|
-
this.digitalWalletTokenRequests = new DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests(this._client);
|
|
36
|
+
this.inboundCheckDeposits = new InboundCheckDepositsAPI.InboundCheckDeposits(this._client);
|
|
33
37
|
this.checkDeposits = new CheckDepositsAPI.CheckDeposits(this._client);
|
|
34
|
-
this.
|
|
38
|
+
this.inboundWireTransfers = new InboundWireTransfersAPI.InboundWireTransfers(this._client);
|
|
39
|
+
this.wireTransfers = new WireTransfersAPI.WireTransfers(this._client);
|
|
35
40
|
this.inboundWireDrawdownRequests = new InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequests(this._client);
|
|
41
|
+
this.inboundRealTimePaymentsTransfers = new InboundRealTimePaymentsTransfersAPI.InboundRealTimePaymentsTransfers(this._client);
|
|
36
42
|
this.inboundFundsHolds = new InboundFundsHoldsAPI.InboundFundsHolds(this._client);
|
|
37
|
-
this.interestPayments = new InterestPaymentsAPI.InterestPayments(this._client);
|
|
38
|
-
this.wireTransfers = new WireTransfersAPI.WireTransfers(this._client);
|
|
39
|
-
this.cards = new CardsAPI.Cards(this._client);
|
|
40
43
|
this.realTimePaymentsTransfers = new RealTimePaymentsTransfersAPI.RealTimePaymentsTransfers(this._client);
|
|
44
|
+
this.cardAuthorizations = new CardAuthorizationsAPI.CardAuthorizations(this._client);
|
|
45
|
+
this.cardSettlements = new CardSettlementsAPI.CardSettlements(this._client);
|
|
46
|
+
this.cardReversals = new CardReversalsAPI.CardReversals(this._client);
|
|
47
|
+
this.cardIncrements = new CardIncrementsAPI.CardIncrements(this._client);
|
|
48
|
+
this.cardAuthorizationExpirations = new CardAuthorizationExpirationsAPI.CardAuthorizationExpirations(this._client);
|
|
49
|
+
this.cardFuelConfirmations = new CardFuelConfirmationsAPI.CardFuelConfirmations(this._client);
|
|
50
|
+
this.cardRefunds = new CardRefundsAPI.CardRefunds(this._client);
|
|
51
|
+
this.cardDisputes = new CardDisputesAPI.CardDisputes(this._client);
|
|
52
|
+
this.digitalWalletTokenRequests = new DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests(this._client);
|
|
41
53
|
this.physicalCards = new PhysicalCardsAPI.PhysicalCards(this._client);
|
|
42
|
-
this.
|
|
43
|
-
this.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
* Simulates expiring a card authorization immediately.
|
|
47
|
-
*/
|
|
48
|
-
cardAuthorizationExpirations(body, options) {
|
|
49
|
-
return this._client.post('/simulations/card_authorization_expirations', { body, ...options });
|
|
50
|
-
}
|
|
51
|
-
/**
|
|
52
|
-
* Simulates the fuel confirmation of an authorization by a card acquirer. This
|
|
53
|
-
* happens asynchronously right after a fuel pump transaction is completed. A fuel
|
|
54
|
-
* confirmation can only happen once per authorization.
|
|
55
|
-
*/
|
|
56
|
-
cardFuelConfirmations(body, options) {
|
|
57
|
-
return this._client.post('/simulations/card_fuel_confirmations', { body, ...options });
|
|
58
|
-
}
|
|
59
|
-
/**
|
|
60
|
-
* Simulates the increment of an authorization by a card acquirer. An authorization
|
|
61
|
-
* can be incremented multiple times.
|
|
62
|
-
*/
|
|
63
|
-
cardIncrements(body, options) {
|
|
64
|
-
return this._client.post('/simulations/card_increments', { body, ...options });
|
|
65
|
-
}
|
|
66
|
-
/**
|
|
67
|
-
* Simulates the reversal of an authorization by a card acquirer. An authorization
|
|
68
|
-
* can be partially reversed multiple times, up until the total authorized amount.
|
|
69
|
-
* Marks the pending transaction as complete if the authorization is fully
|
|
70
|
-
* reversed.
|
|
71
|
-
*/
|
|
72
|
-
cardReversals(body, options) {
|
|
73
|
-
return this._client.post('/simulations/card_reversals', { body, ...options });
|
|
54
|
+
this.interestPayments = new InterestPaymentsAPI.InterestPayments(this._client);
|
|
55
|
+
this.accountStatements = new AccountStatementsAPI.AccountStatements(this._client);
|
|
56
|
+
this.documents = new DocumentsAPI.Documents(this._client);
|
|
57
|
+
this.programs = new ProgramsAPI.Programs(this._client);
|
|
74
58
|
}
|
|
75
59
|
}
|
|
76
60
|
(function (Simulations) {
|
|
77
61
|
Simulations.AccountTransfers = AccountTransfersAPI.AccountTransfers;
|
|
78
|
-
Simulations.
|
|
62
|
+
Simulations.InboundACHTransfers = InboundACHTransfersAPI.InboundACHTransfers;
|
|
79
63
|
Simulations.ACHTransfers = ACHTransfersAPI.ACHTransfers;
|
|
80
|
-
Simulations.CardDisputes = CardDisputesAPI.CardDisputes;
|
|
81
|
-
Simulations.CardRefunds = CardRefundsAPI.CardRefunds;
|
|
82
64
|
Simulations.CheckTransfers = CheckTransfersAPI.CheckTransfers;
|
|
83
|
-
Simulations.
|
|
84
|
-
Simulations.DigitalWalletTokenRequests = DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests;
|
|
65
|
+
Simulations.InboundCheckDeposits = InboundCheckDepositsAPI.InboundCheckDeposits;
|
|
85
66
|
Simulations.CheckDeposits = CheckDepositsAPI.CheckDeposits;
|
|
86
|
-
Simulations.
|
|
67
|
+
Simulations.InboundWireTransfers = InboundWireTransfersAPI.InboundWireTransfers;
|
|
68
|
+
Simulations.WireTransfers = WireTransfersAPI.WireTransfers;
|
|
87
69
|
Simulations.InboundWireDrawdownRequests = InboundWireDrawdownRequestsAPI.InboundWireDrawdownRequests;
|
|
70
|
+
Simulations.InboundRealTimePaymentsTransfers = InboundRealTimePaymentsTransfersAPI.InboundRealTimePaymentsTransfers;
|
|
88
71
|
Simulations.InboundFundsHolds = InboundFundsHoldsAPI.InboundFundsHolds;
|
|
89
|
-
Simulations.InterestPayments = InterestPaymentsAPI.InterestPayments;
|
|
90
|
-
Simulations.WireTransfers = WireTransfersAPI.WireTransfers;
|
|
91
|
-
Simulations.Cards = CardsAPI.Cards;
|
|
92
72
|
Simulations.RealTimePaymentsTransfers = RealTimePaymentsTransfersAPI.RealTimePaymentsTransfers;
|
|
73
|
+
Simulations.CardAuthorizations = CardAuthorizationsAPI.CardAuthorizations;
|
|
74
|
+
Simulations.CardSettlements = CardSettlementsAPI.CardSettlements;
|
|
75
|
+
Simulations.CardReversals = CardReversalsAPI.CardReversals;
|
|
76
|
+
Simulations.CardIncrements = CardIncrementsAPI.CardIncrements;
|
|
77
|
+
Simulations.CardAuthorizationExpirations = CardAuthorizationExpirationsAPI.CardAuthorizationExpirations;
|
|
78
|
+
Simulations.CardFuelConfirmations = CardFuelConfirmationsAPI.CardFuelConfirmations;
|
|
79
|
+
Simulations.CardRefunds = CardRefundsAPI.CardRefunds;
|
|
80
|
+
Simulations.CardDisputes = CardDisputesAPI.CardDisputes;
|
|
81
|
+
Simulations.DigitalWalletTokenRequests = DigitalWalletTokenRequestsAPI.DigitalWalletTokenRequests;
|
|
93
82
|
Simulations.PhysicalCards = PhysicalCardsAPI.PhysicalCards;
|
|
94
|
-
Simulations.
|
|
95
|
-
Simulations.
|
|
83
|
+
Simulations.InterestPayments = InterestPaymentsAPI.InterestPayments;
|
|
84
|
+
Simulations.AccountStatements = AccountStatementsAPI.AccountStatements;
|
|
85
|
+
Simulations.Documents = DocumentsAPI.Documents;
|
|
86
|
+
Simulations.Programs = ProgramsAPI.Programs;
|
|
96
87
|
})(Simulations || (Simulations = {}));
|
|
97
88
|
//# sourceMappingURL=simulations.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"simulations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/simulations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"simulations.mjs","sourceRoot":"","sources":["../../src/resources/simulations/simulations.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OACf,KAAK,oBAAoB;OACzB,KAAK,mBAAmB;OACxB,KAAK,eAAe;OACpB,KAAK,+BAA+B;OACpC,KAAK,qBAAqB;OAC1B,KAAK,eAAe;OACpB,KAAK,wBAAwB;OAC7B,KAAK,iBAAiB;OACtB,KAAK,cAAc;OACnB,KAAK,gBAAgB;OACrB,KAAK,kBAAkB;OACvB,KAAK,gBAAgB;OACrB,KAAK,iBAAiB;OACtB,KAAK,6BAA6B;OAClC,KAAK,YAAY;OACjB,KAAK,sBAAsB;OAC3B,KAAK,uBAAuB;OAC5B,KA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AC;AAEhD,CAAC,EArDgB,WAAW,KAAX,WAAW,QAqD3B"}
|
|
@@ -1,94 +1,19 @@
|
|
|
1
1
|
import { APIResource } from "../../resource.js";
|
|
2
2
|
import * as Core from "../../core.js";
|
|
3
|
-
import * as WireTransfersAPI from "
|
|
4
|
-
import * as InboundWireTransfersAPI from "../inbound-wire-transfers.js";
|
|
3
|
+
import * as WireTransfersAPI from "../wire-transfers.js";
|
|
5
4
|
export declare class WireTransfers extends APIResource {
|
|
6
5
|
/**
|
|
7
|
-
* Simulates
|
|
6
|
+
* Simulates the reversal of a [Wire Transfer](#wire-transfers) by the Federal
|
|
7
|
+
* Reserve due to error conditions. This will also create a
|
|
8
|
+
* [Transaction](#transaction) to account for the returned funds. This Wire
|
|
9
|
+
* Transfer must first have a `status` of `complete`.
|
|
8
10
|
*/
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
export interface WireTransferCreateInboundParams {
|
|
12
|
-
/**
|
|
13
|
-
* The identifier of the Account Number the inbound Wire Transfer is for.
|
|
14
|
-
*/
|
|
15
|
-
account_number_id: string;
|
|
16
|
-
/**
|
|
17
|
-
* The transfer amount in cents. Must be positive.
|
|
18
|
-
*/
|
|
19
|
-
amount: number;
|
|
20
|
-
/**
|
|
21
|
-
* The sending bank will set beneficiary_address_line1 in production. You can
|
|
22
|
-
* simulate any value here.
|
|
23
|
-
*/
|
|
24
|
-
beneficiary_address_line1?: string;
|
|
25
|
-
/**
|
|
26
|
-
* The sending bank will set beneficiary_address_line2 in production. You can
|
|
27
|
-
* simulate any value here.
|
|
28
|
-
*/
|
|
29
|
-
beneficiary_address_line2?: string;
|
|
30
|
-
/**
|
|
31
|
-
* The sending bank will set beneficiary_address_line3 in production. You can
|
|
32
|
-
* simulate any value here.
|
|
33
|
-
*/
|
|
34
|
-
beneficiary_address_line3?: string;
|
|
35
|
-
/**
|
|
36
|
-
* The sending bank will set beneficiary_name in production. You can simulate any
|
|
37
|
-
* value here.
|
|
38
|
-
*/
|
|
39
|
-
beneficiary_name?: string;
|
|
40
|
-
/**
|
|
41
|
-
* The sending bank will set beneficiary_reference in production. You can simulate
|
|
42
|
-
* any value here.
|
|
43
|
-
*/
|
|
44
|
-
beneficiary_reference?: string;
|
|
45
|
-
/**
|
|
46
|
-
* The sending bank will set originator_address_line1 in production. You can
|
|
47
|
-
* simulate any value here.
|
|
48
|
-
*/
|
|
49
|
-
originator_address_line1?: string;
|
|
50
|
-
/**
|
|
51
|
-
* The sending bank will set originator_address_line2 in production. You can
|
|
52
|
-
* simulate any value here.
|
|
53
|
-
*/
|
|
54
|
-
originator_address_line2?: string;
|
|
55
|
-
/**
|
|
56
|
-
* The sending bank will set originator_address_line3 in production. You can
|
|
57
|
-
* simulate any value here.
|
|
58
|
-
*/
|
|
59
|
-
originator_address_line3?: string;
|
|
60
|
-
/**
|
|
61
|
-
* The sending bank will set originator_name in production. You can simulate any
|
|
62
|
-
* value here.
|
|
63
|
-
*/
|
|
64
|
-
originator_name?: string;
|
|
65
|
-
/**
|
|
66
|
-
* The sending bank will set originator_routing_number in production. You can
|
|
67
|
-
* simulate any value here.
|
|
68
|
-
*/
|
|
69
|
-
originator_routing_number?: string;
|
|
70
|
-
/**
|
|
71
|
-
* The sending bank will set originator_to_beneficiary_information_line1 in
|
|
72
|
-
* production. You can simulate any value here.
|
|
73
|
-
*/
|
|
74
|
-
originator_to_beneficiary_information_line1?: string;
|
|
75
|
-
/**
|
|
76
|
-
* The sending bank will set originator_to_beneficiary_information_line2 in
|
|
77
|
-
* production. You can simulate any value here.
|
|
78
|
-
*/
|
|
79
|
-
originator_to_beneficiary_information_line2?: string;
|
|
80
|
-
/**
|
|
81
|
-
* The sending bank will set originator_to_beneficiary_information_line3 in
|
|
82
|
-
* production. You can simulate any value here.
|
|
83
|
-
*/
|
|
84
|
-
originator_to_beneficiary_information_line3?: string;
|
|
11
|
+
reverse(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfersAPI.WireTransfer>;
|
|
85
12
|
/**
|
|
86
|
-
*
|
|
87
|
-
*
|
|
13
|
+
* Simulates the submission of a [Wire Transfer](#wire-transfers) to the Federal
|
|
14
|
+
* Reserve. This transfer must first have a `status` of `pending_approval` or
|
|
15
|
+
* `pending_creating`.
|
|
88
16
|
*/
|
|
89
|
-
|
|
90
|
-
}
|
|
91
|
-
export declare namespace WireTransfers {
|
|
92
|
-
export import WireTransferCreateInboundParams = WireTransfersAPI.WireTransferCreateInboundParams;
|
|
17
|
+
submit(wireTransferId: string, options?: Core.RequestOptions): Core.APIPromise<WireTransfersAPI.WireTransfer>;
|
|
93
18
|
}
|
|
94
19
|
//# sourceMappingURL=wire-transfers.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/wire-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,gBAAgB,MAAM,
|
|
1
|
+
{"version":3,"file":"wire-transfers.d.ts","sourceRoot":"","sources":["../../src/resources/simulations/wire-transfers.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC;AAC7C,OAAO,KAAK,IAAI,MAAM,YAAY,CAAC;AACnC,OAAO,KAAK,gBAAgB,MAAM,mBAAmB,CAAC;AAEtD,qBAAa,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,OAAO,CACL,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,YAAY,CAAC;IAIjD;;;;OAIG;IACH,MAAM,CACJ,cAAc,EAAE,MAAM,EACtB,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,gBAAgB,CAAC,YAAY,CAAC;CAGlD"}
|
|
@@ -5,13 +5,22 @@ exports.WireTransfers = void 0;
|
|
|
5
5
|
const resource_1 = require("../../resource.js");
|
|
6
6
|
class WireTransfers extends resource_1.APIResource {
|
|
7
7
|
/**
|
|
8
|
-
* Simulates
|
|
8
|
+
* Simulates the reversal of a [Wire Transfer](#wire-transfers) by the Federal
|
|
9
|
+
* Reserve due to error conditions. This will also create a
|
|
10
|
+
* [Transaction](#transaction) to account for the returned funds. This Wire
|
|
11
|
+
* Transfer must first have a `status` of `complete`.
|
|
9
12
|
*/
|
|
10
|
-
|
|
11
|
-
return this._client.post(
|
|
13
|
+
reverse(wireTransferId, options) {
|
|
14
|
+
return this._client.post(`/simulations/wire_transfers/${wireTransferId}/reverse`, options);
|
|
15
|
+
}
|
|
16
|
+
/**
|
|
17
|
+
* Simulates the submission of a [Wire Transfer](#wire-transfers) to the Federal
|
|
18
|
+
* Reserve. This transfer must first have a `status` of `pending_approval` or
|
|
19
|
+
* `pending_creating`.
|
|
20
|
+
*/
|
|
21
|
+
submit(wireTransferId, options) {
|
|
22
|
+
return this._client.post(`/simulations/wire_transfers/${wireTransferId}/submit`, options);
|
|
12
23
|
}
|
|
13
24
|
}
|
|
14
25
|
exports.WireTransfers = WireTransfers;
|
|
15
|
-
(function (WireTransfers) {
|
|
16
|
-
})(WireTransfers = exports.WireTransfers || (exports.WireTransfers = {}));
|
|
17
26
|
//# sourceMappingURL=wire-transfers.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../../src/resources/simulations/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;
|
|
1
|
+
{"version":3,"file":"wire-transfers.js","sourceRoot":"","sources":["../../src/resources/simulations/wire-transfers.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,gDAA6C;AAI7C,MAAa,aAAc,SAAQ,sBAAW;IAC5C;;;;;OAKG;IACH,OAAO,CACL,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF;AAzBD,sCAyBC"}
|
|
@@ -2,12 +2,21 @@
|
|
|
2
2
|
import { APIResource } from "../../resource.mjs";
|
|
3
3
|
export class WireTransfers extends APIResource {
|
|
4
4
|
/**
|
|
5
|
-
* Simulates
|
|
5
|
+
* Simulates the reversal of a [Wire Transfer](#wire-transfers) by the Federal
|
|
6
|
+
* Reserve due to error conditions. This will also create a
|
|
7
|
+
* [Transaction](#transaction) to account for the returned funds. This Wire
|
|
8
|
+
* Transfer must first have a `status` of `complete`.
|
|
6
9
|
*/
|
|
7
|
-
|
|
8
|
-
return this._client.post(
|
|
10
|
+
reverse(wireTransferId, options) {
|
|
11
|
+
return this._client.post(`/simulations/wire_transfers/${wireTransferId}/reverse`, options);
|
|
12
|
+
}
|
|
13
|
+
/**
|
|
14
|
+
* Simulates the submission of a [Wire Transfer](#wire-transfers) to the Federal
|
|
15
|
+
* Reserve. This transfer must first have a `status` of `pending_approval` or
|
|
16
|
+
* `pending_creating`.
|
|
17
|
+
*/
|
|
18
|
+
submit(wireTransferId, options) {
|
|
19
|
+
return this._client.post(`/simulations/wire_transfers/${wireTransferId}/submit`, options);
|
|
9
20
|
}
|
|
10
21
|
}
|
|
11
|
-
(function (WireTransfers) {
|
|
12
|
-
})(WireTransfers || (WireTransfers = {}));
|
|
13
22
|
//# sourceMappingURL=wire-transfers.mjs.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/wire-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;
|
|
1
|
+
{"version":3,"file":"wire-transfers.mjs","sourceRoot":"","sources":["../../src/resources/simulations/wire-transfers.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;AAItB,MAAM,OAAO,aAAc,SAAQ,WAAW;IAC5C;;;;;OAKG;IACH,OAAO,CACL,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,UAAU,EAAE,OAAO,CAAC,CAAC;IAC7F,CAAC;IAED;;;;OAIG;IACH,MAAM,CACJ,cAAsB,EACtB,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,+BAA+B,cAAc,SAAS,EAAE,OAAO,CAAC,CAAC;IAC5F,CAAC;CACF"}
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
import { APIResource } from "
|
|
2
|
-
import * as Core from "
|
|
1
|
+
import { APIResource } from "../resource.js";
|
|
2
|
+
import * as Core from "../core.js";
|
|
3
3
|
import * as SupplementalDocumentsAPI from "./supplemental-documents.js";
|
|
4
|
-
import
|
|
5
|
-
import { Page, type PageParams } from "../../pagination.js";
|
|
4
|
+
import { Page, type PageParams } from "../pagination.js";
|
|
6
5
|
export declare class SupplementalDocuments extends APIResource {
|
|
7
6
|
/**
|
|
8
7
|
* Create a supplemental document for an Entity
|
|
9
8
|
*/
|
|
10
|
-
create(
|
|
9
|
+
create(body: SupplementalDocumentCreateParams, options?: Core.RequestOptions): Core.APIPromise<EntitySupplementalDocument>;
|
|
11
10
|
/**
|
|
12
11
|
* List Entity Supplemental Document Submissions
|
|
13
12
|
*/
|
|
14
|
-
list(query: SupplementalDocumentListParams, options?: Core.RequestOptions): Core.PagePromise<
|
|
13
|
+
list(query: SupplementalDocumentListParams, options?: Core.RequestOptions): Core.PagePromise<EntitySupplementalDocumentsPage, EntitySupplementalDocument>;
|
|
15
14
|
}
|
|
16
|
-
export declare class
|
|
15
|
+
export declare class EntitySupplementalDocumentsPage extends Page<EntitySupplementalDocument> {
|
|
17
16
|
}
|
|
18
17
|
/**
|
|
19
18
|
* Supplemental Documents are uploaded files connected to an Entity during
|
|
20
19
|
* onboarding.
|
|
21
20
|
*/
|
|
22
|
-
export interface
|
|
21
|
+
export interface EntitySupplementalDocument {
|
|
23
22
|
/**
|
|
24
23
|
* The [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) time at which the
|
|
25
24
|
* Supplemental Document was created.
|
|
26
25
|
*/
|
|
27
26
|
created_at: string;
|
|
27
|
+
/**
|
|
28
|
+
* The Entity the supplemental document is attached to.
|
|
29
|
+
*/
|
|
30
|
+
entity_id: string;
|
|
28
31
|
/**
|
|
29
32
|
* The File containing the document.
|
|
30
33
|
*/
|
|
@@ -42,6 +45,10 @@ export interface SupplementalDocument {
|
|
|
42
45
|
type: 'entity_supplemental_document';
|
|
43
46
|
}
|
|
44
47
|
export interface SupplementalDocumentCreateParams {
|
|
48
|
+
/**
|
|
49
|
+
* The identifier of the Entity to associate with the supplemental document.
|
|
50
|
+
*/
|
|
51
|
+
entity_id: string;
|
|
45
52
|
/**
|
|
46
53
|
* The identifier of the File containing the document.
|
|
47
54
|
*/
|
|
@@ -61,8 +68,8 @@ export interface SupplementalDocumentListParams extends PageParams {
|
|
|
61
68
|
idempotency_key?: string;
|
|
62
69
|
}
|
|
63
70
|
export declare namespace SupplementalDocuments {
|
|
64
|
-
export import
|
|
65
|
-
export import
|
|
71
|
+
export import EntitySupplementalDocument = SupplementalDocumentsAPI.EntitySupplementalDocument;
|
|
72
|
+
export import EntitySupplementalDocumentsPage = SupplementalDocumentsAPI.EntitySupplementalDocumentsPage;
|
|
66
73
|
export import SupplementalDocumentCreateParams = SupplementalDocumentsAPI.SupplementalDocumentCreateParams;
|
|
67
74
|
export import SupplementalDocumentListParams = SupplementalDocumentsAPI.SupplementalDocumentListParams;
|
|
68
75
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supplemental-documents.d.ts","sourceRoot":"","sources":["../src/resources/supplemental-documents.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,WAAW,EAAE,MAAM,aAAa,CAAC;AAC1C,OAAO,KAAK,IAAI,MAAM,SAAS,CAAC;AAChC,OAAO,KAAK,wBAAwB,MAAM,0BAA0B,CAAC;AACrE,OAAO,EAAE,IAAI,EAAE,KAAK,UAAU,EAAE,MAAM,eAAe,CAAC;AAEtD,qBAAa,qBAAsB,SAAQ,WAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAI,EAAE,gCAAgC,EACtC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,UAAU,CAAC,0BAA0B,CAAC;IAI9C;;OAEG;IACH,IAAI,CACF,KAAK,EAAE,8BAA8B,EACrC,OAAO,CAAC,EAAE,IAAI,CAAC,cAAc,GAC5B,IAAI,CAAC,WAAW,CAAC,+BAA+B,EAAE,0BAA0B,CAAC;CAMjF;AAED,qBAAa,+BAAgC,SAAQ,IAAI,CAAC,0BAA0B,CAAC;CAAG;AAExF;;;GAGG;AACH,MAAM,WAAW,0BAA0B;IACzC;;;OAGG;IACH,UAAU,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;IAEhB;;;;OAIG;IACH,eAAe,EAAE,MAAM,GAAG,IAAI,CAAC;IAE/B;;;OAGG;IACH,IAAI,EAAE,8BAA8B,CAAC;CACtC;AAED,MAAM,WAAW,gCAAgC;IAC/C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,OAAO,EAAE,MAAM,CAAC;CACjB;AAED,MAAM,WAAW,8BAA+B,SAAQ,UAAU;IAChE;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;OAKG;IACH,eAAe,CAAC,EAAE,MAAM,CAAC;CAC1B;AAED,yBAAiB,qBAAqB,CAAC;IACrC,MAAM,QAAQ,0BAA0B,GAAG,wBAAwB,CAAC,0BAA0B,CAAC;IAC/F,MAAM,QAAQ,+BAA+B,GAAG,wBAAwB,CAAC,+BAA+B,CAAC;IACzG,MAAM,QAAQ,gCAAgC,GAAG,wBAAwB,CAAC,gCAAgC,CAAC;IAC3G,MAAM,QAAQ,8BAA8B,GAAG,wBAAwB,CAAC,8BAA8B,CAAC;CACxG"}
|
|
@@ -24,32 +24,32 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
24
24
|
return result;
|
|
25
25
|
};
|
|
26
26
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
27
|
-
exports.
|
|
28
|
-
const resource_1 = require("
|
|
27
|
+
exports.EntitySupplementalDocumentsPage = exports.SupplementalDocuments = void 0;
|
|
28
|
+
const resource_1 = require("../resource.js");
|
|
29
29
|
const SupplementalDocumentsAPI = __importStar(require("./supplemental-documents.js"));
|
|
30
|
-
const pagination_1 = require("
|
|
30
|
+
const pagination_1 = require("../pagination.js");
|
|
31
31
|
class SupplementalDocuments extends resource_1.APIResource {
|
|
32
32
|
/**
|
|
33
33
|
* Create a supplemental document for an Entity
|
|
34
34
|
*/
|
|
35
|
-
create(
|
|
36
|
-
return this._client.post(
|
|
35
|
+
create(body, options) {
|
|
36
|
+
return this._client.post('/entity_supplemental_documents', { body, ...options });
|
|
37
37
|
}
|
|
38
38
|
/**
|
|
39
39
|
* List Entity Supplemental Document Submissions
|
|
40
40
|
*/
|
|
41
41
|
list(query, options) {
|
|
42
|
-
return this._client.getAPIList('/entity_supplemental_documents',
|
|
42
|
+
return this._client.getAPIList('/entity_supplemental_documents', EntitySupplementalDocumentsPage, {
|
|
43
43
|
query,
|
|
44
44
|
...options,
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
}
|
|
48
48
|
exports.SupplementalDocuments = SupplementalDocuments;
|
|
49
|
-
class
|
|
49
|
+
class EntitySupplementalDocumentsPage extends pagination_1.Page {
|
|
50
50
|
}
|
|
51
|
-
exports.
|
|
51
|
+
exports.EntitySupplementalDocumentsPage = EntitySupplementalDocumentsPage;
|
|
52
52
|
(function (SupplementalDocuments) {
|
|
53
|
-
SupplementalDocuments.
|
|
53
|
+
SupplementalDocuments.EntitySupplementalDocumentsPage = SupplementalDocumentsAPI.EntitySupplementalDocumentsPage;
|
|
54
54
|
})(SupplementalDocuments = exports.SupplementalDocuments || (exports.SupplementalDocuments = {}));
|
|
55
55
|
//# sourceMappingURL=supplemental-documents.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supplemental-documents.js","sourceRoot":"","sources":["../src/resources/supplemental-documents.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;;;;;;;;;;;;;;;;;;;;;;;AAEtF,6CAA0C;AAE1C,sFAAqE;AACrE,iDAAsD;AAEtD,MAAa,qBAAsB,SAAQ,sBAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,KAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE,+BAA+B,EAAE;YAChG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAvBD,sDAuBC;AAED,MAAa,+BAAgC,SAAQ,iBAAgC;CAAG;AAAxF,0EAAwF;AAgExF,WAAiB,qBAAqB;IAEtB,qDAA+B,GAAG,wBAAwB,CAAC,+BAA+B,CAAC;AAG3G,CAAC,EALgB,qBAAqB,GAArB,6BAAqB,KAArB,6BAAqB,QAKrC"}
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
|
|
2
|
-
import { APIResource } from "
|
|
2
|
+
import { APIResource } from "../resource.mjs";
|
|
3
3
|
import * as SupplementalDocumentsAPI from "./supplemental-documents.mjs";
|
|
4
|
-
import { Page } from "
|
|
4
|
+
import { Page } from "../pagination.mjs";
|
|
5
5
|
export class SupplementalDocuments extends APIResource {
|
|
6
6
|
/**
|
|
7
7
|
* Create a supplemental document for an Entity
|
|
8
8
|
*/
|
|
9
|
-
create(
|
|
10
|
-
return this._client.post(
|
|
9
|
+
create(body, options) {
|
|
10
|
+
return this._client.post('/entity_supplemental_documents', { body, ...options });
|
|
11
11
|
}
|
|
12
12
|
/**
|
|
13
13
|
* List Entity Supplemental Document Submissions
|
|
14
14
|
*/
|
|
15
15
|
list(query, options) {
|
|
16
|
-
return this._client.getAPIList('/entity_supplemental_documents',
|
|
16
|
+
return this._client.getAPIList('/entity_supplemental_documents', EntitySupplementalDocumentsPage, {
|
|
17
17
|
query,
|
|
18
18
|
...options,
|
|
19
19
|
});
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
|
-
export class
|
|
22
|
+
export class EntitySupplementalDocumentsPage extends Page {
|
|
23
23
|
}
|
|
24
24
|
(function (SupplementalDocuments) {
|
|
25
|
-
SupplementalDocuments.
|
|
25
|
+
SupplementalDocuments.EntitySupplementalDocumentsPage = SupplementalDocumentsAPI.EntitySupplementalDocumentsPage;
|
|
26
26
|
})(SupplementalDocuments || (SupplementalDocuments = {}));
|
|
27
27
|
//# sourceMappingURL=supplemental-documents.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"supplemental-documents.mjs","sourceRoot":"","sources":["../src/resources/supplemental-documents.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EAAE,WAAW,EAAE;OAEf,KAAK,wBAAwB;OAC7B,EAAE,IAAI,EAAmB;AAEhC,MAAM,OAAO,qBAAsB,SAAQ,WAAW;IACpD;;OAEG;IACH,MAAM,CACJ,IAAsC,EACtC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,gCAAgC,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACnF,CAAC;IAED;;OAEG;IACH,IAAI,CACF,KAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,UAAU,CAAC,gCAAgC,EAAE,+BAA+B,EAAE;YAChG,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,+BAAgC,SAAQ,IAAgC;CAAG;AAgExF,WAAiB,qBAAqB;IAEtB,qDAA+B,GAAG,wBAAwB,CAAC,+BAA+B,CAAC;AAG3G,CAAC,EALgB,qBAAqB,KAArB,qBAAqB,QAKrC"}
|