increase 0.17.0 → 0.19.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 +30 -0
- package/README.md +2 -2
- package/core.d.ts +0 -10
- package/core.d.ts.map +1 -1
- package/core.js +1 -13
- package/core.js.map +1 -1
- package/core.mjs +0 -11
- package/core.mjs.map +1 -1
- package/index.d.mts +17 -4
- package/index.d.ts +17 -4
- package/index.d.ts.map +1 -1
- package/index.js +13 -3
- package/index.js.map +1 -1
- package/index.mjs +13 -3
- package/index.mjs.map +1 -1
- package/package.json +27 -23
- package/resource.d.ts +1 -7
- package/resource.d.ts.map +1 -1
- package/resource.js +1 -7
- package/resource.js.map +1 -1
- package/resource.mjs +1 -7
- package/resource.mjs.map +1 -1
- package/resources/account-numbers.js +4 -4
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs +4 -4
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.js +2 -2
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs +2 -2
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.js +5 -5
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs +5 -5
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.js +6 -6
- package/resources/accounts.js.map +1 -1
- package/resources/accounts.mjs +6 -6
- package/resources/accounts.mjs.map +1 -1
- package/resources/ach-prenotifications.js +3 -3
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs +3 -3
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.js +5 -5
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs +5 -5
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/bookkeeping-accounts.js +4 -4
- package/resources/bookkeeping-accounts.js.map +1 -1
- package/resources/bookkeeping-accounts.mjs +4 -4
- package/resources/bookkeeping-accounts.mjs.map +1 -1
- package/resources/bookkeeping-entries.js +2 -2
- package/resources/bookkeeping-entries.js.map +1 -1
- package/resources/bookkeeping-entries.mjs +2 -2
- package/resources/bookkeeping-entries.mjs.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.js +6 -3
- package/resources/bookkeeping-entry-sets.js.map +1 -1
- package/resources/bookkeeping-entry-sets.mjs +6 -3
- package/resources/bookkeeping-entry-sets.mjs.map +1 -1
- package/resources/card-disputes.js +3 -3
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs +3 -3
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-payments.js +2 -2
- package/resources/card-payments.js.map +1 -1
- package/resources/card-payments.mjs +2 -2
- package/resources/card-payments.mjs.map +1 -1
- package/resources/card-profiles.js +4 -4
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +4 -4
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/card-purchase-supplements.js +5 -2
- package/resources/card-purchase-supplements.js.map +1 -1
- package/resources/card-purchase-supplements.mjs +5 -2
- package/resources/card-purchase-supplements.mjs.map +1 -1
- package/resources/cards.js +5 -5
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs +5 -5
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +18 -1
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js +3 -3
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs +3 -3
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.js +6 -6
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs +6 -6
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.js +2 -2
- package/resources/declined-transactions.js.map +1 -1
- package/resources/declined-transactions.mjs +2 -2
- package/resources/declined-transactions.mjs.map +1 -1
- package/resources/digital-wallet-tokens.js +2 -2
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs +2 -2
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.js +2 -2
- package/resources/documents.js.map +1 -1
- package/resources/documents.mjs +2 -2
- package/resources/documents.mjs.map +1 -1
- package/resources/entities/beneficial-owners.js +3 -3
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs +3 -3
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +7 -7
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +7 -7
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.js +2 -2
- package/resources/entities/supplemental-documents.js.map +1 -1
- package/resources/entities/supplemental-documents.mjs +2 -2
- package/resources/entities/supplemental-documents.mjs.map +1 -1
- package/resources/event-subscriptions.d.ts +18 -2
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js +4 -4
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs +4 -4
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +10 -2
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js +2 -2
- package/resources/events.js.map +1 -1
- package/resources/events.mjs +2 -2
- package/resources/events.mjs.map +1 -1
- package/resources/exports.js +3 -3
- package/resources/exports.js.map +1 -1
- package/resources/exports.mjs +3 -3
- package/resources/exports.mjs.map +1 -1
- package/resources/external-accounts.js +4 -4
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs +4 -4
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.js +3 -3
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +3 -3
- package/resources/files.mjs.map +1 -1
- package/resources/groups.js +1 -1
- package/resources/groups.js.map +1 -1
- package/resources/groups.mjs +1 -1
- package/resources/groups.mjs.map +1 -1
- package/resources/inbound-ach-transfers.d.ts.map +1 -1
- package/resources/inbound-ach-transfers.js +8 -5
- package/resources/inbound-ach-transfers.js.map +1 -1
- package/resources/inbound-ach-transfers.mjs +8 -5
- package/resources/inbound-ach-transfers.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js +2 -2
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs +2 -2
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/index.d.ts +2 -0
- package/resources/index.d.ts.map +1 -1
- package/resources/index.js +7 -1
- package/resources/index.js.map +1 -1
- package/resources/index.mjs +2 -0
- package/resources/index.mjs.map +1 -1
- package/resources/oauth-connections.js +2 -2
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs +2 -2
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.js +2 -2
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs +2 -2
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/physical-cards.js +4 -4
- package/resources/physical-cards.js.map +1 -1
- package/resources/physical-cards.mjs +4 -4
- package/resources/physical-cards.mjs.map +1 -1
- package/resources/programs.js +2 -2
- package/resources/programs.js.map +1 -1
- package/resources/programs.mjs +2 -2
- package/resources/programs.mjs.map +1 -1
- package/resources/proof-of-authorization-request-submissions.d.ts +129 -0
- package/resources/proof-of-authorization-request-submissions.d.ts.map +1 -0
- package/resources/proof-of-authorization-request-submissions.js +59 -0
- package/resources/proof-of-authorization-request-submissions.js.map +1 -0
- package/resources/proof-of-authorization-request-submissions.mjs +31 -0
- package/resources/proof-of-authorization-request-submissions.mjs.map +1 -0
- package/resources/proof-of-authorization-requests.d.ts +84 -0
- package/resources/proof-of-authorization-requests.d.ts.map +1 -0
- package/resources/proof-of-authorization-requests.js +56 -0
- package/resources/proof-of-authorization-requests.js.map +1 -0
- package/resources/proof-of-authorization-requests.mjs +28 -0
- package/resources/proof-of-authorization-requests.mjs.map +1 -0
- package/resources/real-time-decisions.js +2 -2
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs +2 -2
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.js +3 -3
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs +3 -3
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.js +1 -1
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs +1 -1
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.js +1 -1
- package/resources/simulations/account-statements.js.map +1 -1
- package/resources/simulations/account-statements.mjs +1 -1
- package/resources/simulations/account-statements.mjs.map +1 -1
- package/resources/simulations/account-transfers.js +1 -1
- package/resources/simulations/account-transfers.js.map +1 -1
- package/resources/simulations/account-transfers.mjs +1 -1
- package/resources/simulations/account-transfers.mjs.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +19 -2
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js +3 -3
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs +3 -3
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.js +1 -1
- package/resources/simulations/card-disputes.js.map +1 -1
- package/resources/simulations/card-disputes.mjs +1 -1
- package/resources/simulations/card-disputes.mjs.map +1 -1
- package/resources/simulations/card-profiles.js +1 -1
- package/resources/simulations/card-profiles.js.map +1 -1
- package/resources/simulations/card-profiles.mjs +1 -1
- package/resources/simulations/card-profiles.mjs.map +1 -1
- package/resources/simulations/card-refunds.js +1 -1
- package/resources/simulations/card-refunds.js.map +1 -1
- package/resources/simulations/card-refunds.mjs +1 -1
- package/resources/simulations/card-refunds.mjs.map +1 -1
- package/resources/simulations/cards.js +2 -2
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs +2 -2
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.js +3 -3
- package/resources/simulations/check-deposits.js.map +1 -1
- package/resources/simulations/check-deposits.mjs +3 -3
- package/resources/simulations/check-deposits.mjs.map +1 -1
- package/resources/simulations/check-transfers.js +2 -2
- package/resources/simulations/check-transfers.js.map +1 -1
- package/resources/simulations/check-transfers.mjs +2 -2
- package/resources/simulations/check-transfers.mjs.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.js +1 -1
- package/resources/simulations/digital-wallet-token-requests.js.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs +1 -1
- package/resources/simulations/digital-wallet-token-requests.mjs.map +1 -1
- package/resources/simulations/documents.js +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.js +1 -1
- package/resources/simulations/inbound-funds-holds.js.map +1 -1
- package/resources/simulations/inbound-funds-holds.mjs +1 -1
- package/resources/simulations/inbound-funds-holds.mjs.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/simulations/interest-payments.d.ts +19 -2
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/physical-cards.d.ts.map +1 -1
- package/resources/simulations/physical-cards.js +4 -1
- package/resources/simulations/physical-cards.js.map +1 -1
- package/resources/simulations/physical-cards.mjs +4 -1
- package/resources/simulations/physical-cards.mjs.map +1 -1
- package/resources/simulations/programs.js +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +19 -2
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js +2 -5
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs +2 -5
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/simulations.d.ts.map +1 -1
- package/resources/simulations/simulations.js +18 -18
- package/resources/simulations/simulations.js.map +1 -1
- package/resources/simulations/simulations.mjs +18 -18
- package/resources/simulations/simulations.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +19 -2
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +19 -2
- package/resources/transactions.d.ts.map +1 -1
- package/resources/transactions.js +2 -2
- package/resources/transactions.js.map +1 -1
- package/resources/transactions.mjs +2 -2
- package/resources/transactions.mjs.map +1 -1
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-drawdown-requests.js +6 -3
- package/resources/wire-drawdown-requests.js.map +1 -1
- package/resources/wire-drawdown-requests.mjs +6 -3
- package/resources/wire-drawdown-requests.mjs.map +1 -1
- package/resources/wire-transfers.js +7 -7
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs +7 -7
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/core.ts +0 -21
- package/src/index.ts +31 -4
- package/src/resource.ts +3 -16
- package/src/resources/account-numbers.ts +4 -4
- package/src/resources/account-statements.ts +2 -2
- package/src/resources/account-transfers.ts +5 -5
- package/src/resources/accounts.ts +6 -6
- package/src/resources/ach-prenotifications.ts +3 -3
- package/src/resources/ach-transfers.ts +5 -5
- package/src/resources/bookkeeping-accounts.ts +4 -4
- package/src/resources/bookkeeping-entries.ts +2 -2
- package/src/resources/bookkeeping-entry-sets.ts +6 -3
- package/src/resources/card-disputes.ts +3 -3
- package/src/resources/card-payments.ts +2 -2
- package/src/resources/card-profiles.ts +4 -4
- package/src/resources/card-purchase-supplements.ts +5 -2
- package/src/resources/cards.ts +5 -5
- package/src/resources/check-deposits.ts +35 -4
- package/src/resources/check-transfers.ts +6 -6
- package/src/resources/declined-transactions.ts +2 -2
- package/src/resources/digital-wallet-tokens.ts +2 -2
- package/src/resources/documents.ts +2 -2
- package/src/resources/entities/beneficial-owners.ts +3 -3
- package/src/resources/entities/entities.ts +7 -7
- package/src/resources/entities/supplemental-documents.ts +2 -2
- package/src/resources/event-subscriptions.ts +28 -4
- package/src/resources/events.ts +18 -2
- package/src/resources/exports.ts +3 -3
- package/src/resources/external-accounts.ts +4 -4
- package/src/resources/files.ts +3 -3
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfers.ts +8 -5
- package/src/resources/inbound-wire-drawdown-requests.ts +2 -2
- package/src/resources/index.ts +13 -0
- package/src/resources/oauth-connections.ts +2 -2
- package/src/resources/pending-transactions.ts +2 -2
- package/src/resources/physical-cards.ts +4 -4
- package/src/resources/programs.ts +2 -2
- package/src/resources/proof-of-authorization-request-submissions.ts +186 -0
- package/src/resources/proof-of-authorization-requests.ts +122 -0
- package/src/resources/real-time-decisions.ts +2 -2
- package/src/resources/real-time-payments-transfers.ts +3 -3
- package/src/resources/routing-numbers.ts +1 -1
- package/src/resources/simulations/account-statements.ts +1 -1
- package/src/resources/simulations/account-transfers.ts +1 -1
- package/src/resources/simulations/ach-transfers.ts +35 -4
- package/src/resources/simulations/card-disputes.ts +1 -1
- package/src/resources/simulations/card-profiles.ts +1 -1
- package/src/resources/simulations/card-refunds.ts +1 -1
- package/src/resources/simulations/cards.ts +2 -2
- package/src/resources/simulations/check-deposits.ts +3 -3
- package/src/resources/simulations/check-transfers.ts +2 -2
- package/src/resources/simulations/digital-wallet-token-requests.ts +1 -1
- package/src/resources/simulations/documents.ts +1 -1
- package/src/resources/simulations/inbound-funds-holds.ts +1 -1
- package/src/resources/simulations/inbound-wire-drawdown-requests.ts +1 -1
- package/src/resources/simulations/interest-payments.ts +33 -2
- package/src/resources/simulations/physical-cards.ts +4 -1
- package/src/resources/simulations/programs.ts +1 -1
- package/src/resources/simulations/real-time-payments-transfers.ts +37 -6
- package/src/resources/simulations/simulations.ts +18 -18
- package/src/resources/simulations/wire-transfers.ts +33 -2
- package/src/resources/transactions.ts +34 -3
- package/src/resources/wire-drawdown-requests.ts +6 -3
- package/src/resources/wire-transfers.ts +7 -7
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/resources/accounts.mjs
CHANGED
|
@@ -8,37 +8,37 @@ export class Accounts extends APIResource {
|
|
|
8
8
|
* Create an Account
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/accounts', { body, ...options });
|
|
11
|
+
return this._client.post('/accounts', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve an Account
|
|
15
15
|
*/
|
|
16
16
|
retrieve(accountId, options) {
|
|
17
|
-
return this.get(`/accounts/${accountId}`, options);
|
|
17
|
+
return this._client.get(`/accounts/${accountId}`, options);
|
|
18
18
|
}
|
|
19
19
|
/**
|
|
20
20
|
* Update an Account
|
|
21
21
|
*/
|
|
22
22
|
update(accountId, body, options) {
|
|
23
|
-
return this.patch(`/accounts/${accountId}`, { body, ...options });
|
|
23
|
+
return this._client.patch(`/accounts/${accountId}`, { body, ...options });
|
|
24
24
|
}
|
|
25
25
|
list(query = {}, options) {
|
|
26
26
|
if (isRequestOptions(query)) {
|
|
27
27
|
return this.list({}, query);
|
|
28
28
|
}
|
|
29
|
-
return this.getAPIList('/accounts', AccountsPage, { query, ...options });
|
|
29
|
+
return this._client.getAPIList('/accounts', AccountsPage, { query, ...options });
|
|
30
30
|
}
|
|
31
31
|
balance(accountId, query = {}, options) {
|
|
32
32
|
if (isRequestOptions(query)) {
|
|
33
33
|
return this.balance(accountId, {}, query);
|
|
34
34
|
}
|
|
35
|
-
return this.get(`/accounts/${accountId}/balance`, { query, ...options });
|
|
35
|
+
return this._client.get(`/accounts/${accountId}/balance`, { query, ...options });
|
|
36
36
|
}
|
|
37
37
|
/**
|
|
38
38
|
* Close an Account
|
|
39
39
|
*/
|
|
40
40
|
close(accountId, options) {
|
|
41
|
-
return this.post(`/accounts/${accountId}/close`, options);
|
|
41
|
+
return this._client.post(`/accounts/${accountId}/close`, options);
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
export class AccountsPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"accounts.mjs","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,WAAW,MAAM,6BAA6B;OACnD,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAAC,IAAI,CAAC,WAAW,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"accounts.mjs","sourceRoot":"","sources":["../src/resources/accounts.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,WAAW,MAAM,6BAA6B;OACnD,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,QAAS,SAAQ,WAAW;IACvC;;OAEG;IACH,MAAM,CAAC,IAAyB,EAAE,OAA6B;QAC7D,OAAO,IAAI,CAA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M,OAAO,YAAa,SAAQ,IAAa;CAAG;AA8MlD,WAAiB,QAAQ;IAGT,qBAAY,GAAG,WAAW,CAAC,YAAY,CAAC;AAKxD,CAAC,EARgB,QAAQ,KAAR,QAAQ,QAQxB"}
|
|
@@ -34,19 +34,19 @@ class ACHPrenotifications extends resource_1.APIResource {
|
|
|
34
34
|
* Create an ACH Prenotification
|
|
35
35
|
*/
|
|
36
36
|
create(body, options) {
|
|
37
|
-
return this.post('/ach_prenotifications', { body, ...options });
|
|
37
|
+
return this._client.post('/ach_prenotifications', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Retrieve an ACH Prenotification
|
|
41
41
|
*/
|
|
42
42
|
retrieve(achPrenotificationId, options) {
|
|
43
|
-
return this.get(`/ach_prenotifications/${achPrenotificationId}`, options);
|
|
43
|
+
return this._client.get(`/ach_prenotifications/${achPrenotificationId}`, options);
|
|
44
44
|
}
|
|
45
45
|
list(query = {}, options) {
|
|
46
46
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
47
47
|
return this.list({}, query);
|
|
48
48
|
}
|
|
49
|
-
return this.getAPIList('/ach_prenotifications', ACHPrenotificationsPage, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/ach_prenotifications', ACHPrenotificationsPage, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
exports.ACHPrenotifications = ACHPrenotifications;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-prenotifications.js","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,gGAAkF;AAClF,oDAA4D;AAE5D,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;IACH,MAAM,CACJ,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ach-prenotifications.js","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,gGAAkF;AAClF,oDAA4D;AAE5D,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;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;;OAEG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAUD,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;AAnCD,kDAmCC;AAED,MAAa,uBAAwB,SAAQ,iBAAwB;CAAG;AAAxE,0DAAwE;AA6fxE,WAAiB,mBAAmB;IAEpB,2CAAuB,GAAG,sBAAsB,CAAC,uBAAuB,CAAC;AAGzF,CAAC,EALgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAKnC"}
|
|
@@ -8,19 +8,19 @@ export class ACHPrenotifications extends APIResource {
|
|
|
8
8
|
* Create an ACH Prenotification
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/ach_prenotifications', { body, ...options });
|
|
11
|
+
return this._client.post('/ach_prenotifications', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve an ACH Prenotification
|
|
15
15
|
*/
|
|
16
16
|
retrieve(achPrenotificationId, options) {
|
|
17
|
-
return this.get(`/ach_prenotifications/${achPrenotificationId}`, options);
|
|
17
|
+
return this._client.get(`/ach_prenotifications/${achPrenotificationId}`, options);
|
|
18
18
|
}
|
|
19
19
|
list(query = {}, options) {
|
|
20
20
|
if (isRequestOptions(query)) {
|
|
21
21
|
return this.list({}, query);
|
|
22
22
|
}
|
|
23
|
-
return this.getAPIList('/ach_prenotifications', ACHPrenotificationsPage, { query, ...options });
|
|
23
|
+
return this._client.getAPIList('/ach_prenotifications', ACHPrenotificationsPage, { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export class ACHPrenotificationsPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-prenotifications.mjs","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,sBAAsB,MAAM,yCAAyC;OAC1E,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,MAAM,CACJ,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ach-prenotifications.mjs","sourceRoot":"","sources":["../src/resources/ach-prenotifications.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,sBAAsB,MAAM,yCAAyC;OAC1E,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;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;;OAEG;IACH,QAAQ,CAAC,oBAA4B,EAAE,OAA6B;QAClE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,yBAAyB,oBAAoB,EAAE,EAAE,OAAO,CAAC,CAAC;IACpF,CAAC;IAUD,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;AA6fxE,WAAiB,mBAAmB;IAEpB,2CAAuB,GAAG,sBAAsB,CAAC,uBAAuB,CAAC;AAGzF,CAAC,EALgB,mBAAmB,KAAnB,mBAAmB,QAKnC"}
|
|
@@ -34,31 +34,31 @@ class ACHTransfers extends resource_1.APIResource {
|
|
|
34
34
|
* Create an ACH Transfer
|
|
35
35
|
*/
|
|
36
36
|
create(body, options) {
|
|
37
|
-
return this.post('/ach_transfers', { body, ...options });
|
|
37
|
+
return this._client.post('/ach_transfers', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Retrieve an ACH Transfer
|
|
41
41
|
*/
|
|
42
42
|
retrieve(achTransferId, options) {
|
|
43
|
-
return this.get(`/ach_transfers/${achTransferId}`, options);
|
|
43
|
+
return this._client.get(`/ach_transfers/${achTransferId}`, options);
|
|
44
44
|
}
|
|
45
45
|
list(query = {}, options) {
|
|
46
46
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
47
47
|
return this.list({}, query);
|
|
48
48
|
}
|
|
49
|
-
return this.getAPIList('/ach_transfers', ACHTransfersPage, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/ach_transfers', ACHTransfersPage, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Approves an ACH Transfer in a pending_approval state.
|
|
53
53
|
*/
|
|
54
54
|
approve(achTransferId, options) {
|
|
55
|
-
return this.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
55
|
+
return this._client.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
56
56
|
}
|
|
57
57
|
/**
|
|
58
58
|
* Cancels an ACH Transfer in a pending_approval state.
|
|
59
59
|
*/
|
|
60
60
|
cancel(achTransferId, options) {
|
|
61
|
-
return this.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
61
|
+
return this._client.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
62
62
|
}
|
|
63
63
|
}
|
|
64
64
|
exports.ACHTransfers = ACHTransfers;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.js","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
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D,4CAA0D;AA6xB1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAGpE,CAAC,EALgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAK5B"}
|
|
@@ -8,31 +8,31 @@ export class ACHTransfers extends APIResource {
|
|
|
8
8
|
* Create an ACH Transfer
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/ach_transfers', { body, ...options });
|
|
11
|
+
return this._client.post('/ach_transfers', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve an ACH Transfer
|
|
15
15
|
*/
|
|
16
16
|
retrieve(achTransferId, options) {
|
|
17
|
-
return this.get(`/ach_transfers/${achTransferId}`, options);
|
|
17
|
+
return this._client.get(`/ach_transfers/${achTransferId}`, options);
|
|
18
18
|
}
|
|
19
19
|
list(query = {}, options) {
|
|
20
20
|
if (isRequestOptions(query)) {
|
|
21
21
|
return this.list({}, query);
|
|
22
22
|
}
|
|
23
|
-
return this.getAPIList('/ach_transfers', ACHTransfersPage, { query, ...options });
|
|
23
|
+
return this._client.getAPIList('/ach_transfers', ACHTransfersPage, { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Approves an ACH Transfer in a pending_approval state.
|
|
27
27
|
*/
|
|
28
28
|
approve(achTransferId, options) {
|
|
29
|
-
return this.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
29
|
+
return this._client.post(`/ach_transfers/${achTransferId}/approve`, options);
|
|
30
30
|
}
|
|
31
31
|
/**
|
|
32
32
|
* Cancels an ACH Transfer in a pending_approval state.
|
|
33
33
|
*/
|
|
34
34
|
cancel(achTransferId, options) {
|
|
35
|
-
return this.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
35
|
+
return this._client.post(`/ach_transfers/${achTransferId}/cancel`, options);
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
38
|
export class ACHTransfersPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,eAAe,MAAM,kCAAkC;OAC5D,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"ach-transfers.mjs","sourceRoot":"","sources":["../src/resources/ach-transfers.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,eAAe,MAAM,kCAAkC;OAC5D,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;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;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAUD,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;;OAEG;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;;OAEG;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;AA6xB1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAGpE,CAAC,EALgB,YAAY,KAAZ,YAAY,QAK5B"}
|
|
@@ -34,25 +34,25 @@ class BookkeepingAccounts extends resource_1.APIResource {
|
|
|
34
34
|
* Create a Bookkeeping Account
|
|
35
35
|
*/
|
|
36
36
|
create(body, options) {
|
|
37
|
-
return this.post('/bookkeeping_accounts', { body, ...options });
|
|
37
|
+
return this._client.post('/bookkeeping_accounts', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Update a Bookkeeping Account
|
|
41
41
|
*/
|
|
42
42
|
update(bookkeepingAccountId, body, options) {
|
|
43
|
-
return this.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|
|
43
|
+
return this._client.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|
|
44
44
|
}
|
|
45
45
|
list(query = {}, options) {
|
|
46
46
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
47
47
|
return this.list({}, query);
|
|
48
48
|
}
|
|
49
|
-
return this.getAPIList('/bookkeeping_accounts', BookkeepingAccountsPage, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/bookkeeping_accounts', BookkeepingAccountsPage, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
balance(bookkeepingAccountId, query = {}, options) {
|
|
52
52
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
53
53
|
return this.balance(bookkeepingAccountId, {}, query);
|
|
54
54
|
}
|
|
55
|
-
return this.get(`/bookkeeping_accounts/${bookkeepingAccountId}/balance`, { query, ...options });
|
|
55
|
+
return this._client.get(`/bookkeeping_accounts/${bookkeepingAccountId}/balance`, { query, ...options });
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
exports.BookkeepingAccounts = BookkeepingAccounts;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-accounts.js","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,gGAAkF;AAClF,oDAA4D;AAE5D,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;IACH,MAAM,CACJ,IAAoC,EACpC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,uBAAuB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bookkeeping-accounts.js","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,gGAAkF;AAClF,oDAA4D;AAE5D,MAAa,mBAAoB,SAAQ,sBAAW;IAClD;;OAEG;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;;OAEG;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;IAUD,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;IAcD,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;AA9DD,kDA8DC;AAED,MAAa,uBAAwB,SAAQ,iBAAwB;CAAG;AAAxE,0DAAwE;AA2GxE,WAAiB,mBAAmB;IAGpB,2CAAuB,GAAG,sBAAsB,CAAC,uBAAuB,CAAC;AAKzF,CAAC,EARgB,mBAAmB,GAAnB,2BAAmB,KAAnB,2BAAmB,QAQnC"}
|
|
@@ -8,25 +8,25 @@ export class BookkeepingAccounts extends APIResource {
|
|
|
8
8
|
* Create a Bookkeeping Account
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/bookkeeping_accounts', { body, ...options });
|
|
11
|
+
return this._client.post('/bookkeeping_accounts', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Update a Bookkeeping Account
|
|
15
15
|
*/
|
|
16
16
|
update(bookkeepingAccountId, body, options) {
|
|
17
|
-
return this.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|
|
17
|
+
return this._client.patch(`/bookkeeping_accounts/${bookkeepingAccountId}`, { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
list(query = {}, options) {
|
|
20
20
|
if (isRequestOptions(query)) {
|
|
21
21
|
return this.list({}, query);
|
|
22
22
|
}
|
|
23
|
-
return this.getAPIList('/bookkeeping_accounts', BookkeepingAccountsPage, { query, ...options });
|
|
23
|
+
return this._client.getAPIList('/bookkeeping_accounts', BookkeepingAccountsPage, { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
balance(bookkeepingAccountId, query = {}, options) {
|
|
26
26
|
if (isRequestOptions(query)) {
|
|
27
27
|
return this.balance(bookkeepingAccountId, {}, query);
|
|
28
28
|
}
|
|
29
|
-
return this.get(`/bookkeeping_accounts/${bookkeepingAccountId}/balance`, { query, ...options });
|
|
29
|
+
return this._client.get(`/bookkeeping_accounts/${bookkeepingAccountId}/balance`, { query, ...options });
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
export class BookkeepingAccountsPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-accounts.mjs","sourceRoot":"","sources":["../src/resources/bookkeeping-accounts.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,sBAAsB,MAAM,yCAAyC;OAC1E,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,mBAAoB,SAAQ,WAAW;IAClD;;OAEG;IACH,MAAM,CACJ,IAAoC,EACp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,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;AAED,MAAM,OAAO,uBAAwB,SAAQ,IAAwB;CAAG;AA2GxE,WAAiB,mBAAmB;IAGpB,2CAAuB,GAAG,sBAAsB,CAAC,uBAAuB,CAAC;AAKzF,CAAC,EARgB,mBAAmB,KAAnB,mBAAmB,QAQnC"}
|
|
@@ -34,13 +34,13 @@ class BookkeepingEntries extends resource_1.APIResource {
|
|
|
34
34
|
* Retrieve a Bookkeeping Entry
|
|
35
35
|
*/
|
|
36
36
|
retrieve(bookkeepingEntryId, options) {
|
|
37
|
-
return this.get(`/bookkeeping_entries/${bookkeepingEntryId}`, options);
|
|
37
|
+
return this._client.get(`/bookkeeping_entries/${bookkeepingEntryId}`, options);
|
|
38
38
|
}
|
|
39
39
|
list(query = {}, options) {
|
|
40
40
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
41
41
|
return this.list({}, query);
|
|
42
42
|
}
|
|
43
|
-
return this.getAPIList('/bookkeeping_entries', BookkeepingEntriesPage, { query, ...options });
|
|
43
|
+
return this._client.getAPIList('/bookkeeping_entries', BookkeepingEntriesPage, { query, ...options });
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.BookkeepingEntries = BookkeepingEntries;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-entries.js","sourceRoot":"","sources":["../src/resources/bookkeeping-entries.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,8FAAgF;AAChF,oDAA4D;AAE5D,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;OAEG;IACH,QAAQ,CAAC,kBAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,wBAAwB,kBAAkB,EAAE,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bookkeeping-entries.js","sourceRoot":"","sources":["../src/resources/bookkeeping-entries.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,8FAAgF;AAChF,oDAA4D;AAE5D,MAAa,kBAAmB,SAAQ,sBAAW;IACjD;;OAEG;IACH,QAAQ,CAAC,kBAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,kBAAkB,EAAE,EAAE,OAAO,CAAC,CAAC;IACjF,CAAC;IAUD,IAAI,CACF,QAA0D,EAAE,EAC5D,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,sBAAsB,EAAE,sBAAsB,EAAE,EAAE,KAAK,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IACxG,CAAC;CACF;AAzBD,gDAyBC;AAED,MAAa,sBAAuB,SAAQ,iBAAsB;CAAG;AAArE,wDAAqE;AA2CrE,WAAiB,kBAAkB;IAEnB,yCAAsB,GAAG,qBAAqB,CAAC,sBAAsB,CAAC;AAEtF,CAAC,EAJgB,kBAAkB,GAAlB,0BAAkB,KAAlB,0BAAkB,QAIlC"}
|
|
@@ -8,13 +8,13 @@ export class BookkeepingEntries extends APIResource {
|
|
|
8
8
|
* Retrieve a Bookkeeping Entry
|
|
9
9
|
*/
|
|
10
10
|
retrieve(bookkeepingEntryId, options) {
|
|
11
|
-
return this.get(`/bookkeeping_entries/${bookkeepingEntryId}`, options);
|
|
11
|
+
return this._client.get(`/bookkeeping_entries/${bookkeepingEntryId}`, options);
|
|
12
12
|
}
|
|
13
13
|
list(query = {}, options) {
|
|
14
14
|
if (isRequestOptions(query)) {
|
|
15
15
|
return this.list({}, query);
|
|
16
16
|
}
|
|
17
|
-
return this.getAPIList('/bookkeeping_entries', BookkeepingEntriesPage, { query, ...options });
|
|
17
|
+
return this._client.getAPIList('/bookkeeping_entries', BookkeepingEntriesPage, { query, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
export class BookkeepingEntriesPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-entries.mjs","sourceRoot":"","sources":["../src/resources/bookkeeping-entries.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,qBAAqB,MAAM,wCAAwC;OACxE,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,QAAQ,CAAC,kBAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,GAAG,CAAC,wBAAwB,kBAAkB,EAAE,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bookkeeping-entries.mjs","sourceRoot":"","sources":["../src/resources/bookkeeping-entries.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,qBAAqB,MAAM,wCAAwC;OACxE,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,kBAAmB,SAAQ,WAAW;IACjD;;OAEG;IACH,QAAQ,CAAC,kBAA0B,EAAE,OAA6B;QAChE,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,wBAAwB,kBAAkB,EAAE,EAAE,OAAO,CAAC,CAAC;IAC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.APIResource {
|
|
|
34
34
|
* Create a Bookkeeping Entry Set
|
|
35
35
|
*/
|
|
36
36
|
create(body, options) {
|
|
37
|
-
return this.post('/bookkeeping_entry_sets', { body, ...options });
|
|
37
|
+
return this._client.post('/bookkeeping_entry_sets', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Retrieve a Bookkeeping Entry Set
|
|
41
41
|
*/
|
|
42
42
|
retrieve(bookkeepingEntrySetId, options) {
|
|
43
|
-
return this.get(`/bookkeeping_entry_sets/${bookkeepingEntrySetId}`, options);
|
|
43
|
+
return this._client.get(`/bookkeeping_entry_sets/${bookkeepingEntrySetId}`, options);
|
|
44
44
|
}
|
|
45
45
|
list(query = {}, options) {
|
|
46
46
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
47
47
|
return this.list({}, query);
|
|
48
48
|
}
|
|
49
|
-
return this.getAPIList('/bookkeeping_entry_sets', BookkeepingEntrySetsPage, {
|
|
49
|
+
return this._client.getAPIList('/bookkeeping_entry_sets', BookkeepingEntrySetsPage, {
|
|
50
|
+
query,
|
|
51
|
+
...options,
|
|
52
|
+
});
|
|
50
53
|
}
|
|
51
54
|
}
|
|
52
55
|
exports.BookkeepingEntrySets = BookkeepingEntrySets;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-entry-sets.js","sourceRoot":"","sources":["../src/resources/bookkeeping-entry-sets.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,mGAAqF;AACrF,oDAA4D;AAE5D,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bookkeeping-entry-sets.js","sourceRoot":"","sources":["../src/resources/bookkeeping-entry-sets.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,mGAAqF;AACrF,oDAA4D;AAE5D,MAAa,oBAAqB,SAAQ,sBAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,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,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAzCD,oDAyCC;AAED,MAAa,wBAAyB,SAAQ,iBAAyB;CAAG;AAA1E,4DAA0E;AAqG1E,WAAiB,oBAAoB;IAErB,6CAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;AAG5F,CAAC,EALgB,oBAAoB,GAApB,4BAAoB,KAApB,4BAAoB,QAKpC"}
|
|
@@ -8,19 +8,22 @@ export class BookkeepingEntrySets extends APIResource {
|
|
|
8
8
|
* Create a Bookkeeping Entry Set
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/bookkeeping_entry_sets', { body, ...options });
|
|
11
|
+
return this._client.post('/bookkeeping_entry_sets', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve a Bookkeeping Entry Set
|
|
15
15
|
*/
|
|
16
16
|
retrieve(bookkeepingEntrySetId, options) {
|
|
17
|
-
return this.get(`/bookkeeping_entry_sets/${bookkeepingEntrySetId}`, options);
|
|
17
|
+
return this._client.get(`/bookkeeping_entry_sets/${bookkeepingEntrySetId}`, options);
|
|
18
18
|
}
|
|
19
19
|
list(query = {}, options) {
|
|
20
20
|
if (isRequestOptions(query)) {
|
|
21
21
|
return this.list({}, query);
|
|
22
22
|
}
|
|
23
|
-
return this.getAPIList('/bookkeeping_entry_sets', BookkeepingEntrySetsPage, {
|
|
23
|
+
return this._client.getAPIList('/bookkeeping_entry_sets', BookkeepingEntrySetsPage, {
|
|
24
|
+
query,
|
|
25
|
+
...options,
|
|
26
|
+
});
|
|
24
27
|
}
|
|
25
28
|
}
|
|
26
29
|
export class BookkeepingEntrySetsPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bookkeeping-entry-sets.mjs","sourceRoot":"","sources":["../src/resources/bookkeeping-entry-sets.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,uBAAuB,MAAM,2CAA2C;OAC7E,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"bookkeeping-entry-sets.mjs","sourceRoot":"","sources":["../src/resources/bookkeeping-entry-sets.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,uBAAuB,MAAM,2CAA2C;OAC7E,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,oBAAqB,SAAQ,WAAW;IACnD;;OAEG;IACH,MAAM,CACJ,IAAqC,EACrC,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,yBAAyB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;IAC5E,CAAC;IAED;;OAEG;IACH,QAAQ,CACN,qBAA6B,EAC7B,OAA6B;QAE7B,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,2BAA2B,qBAAqB,EAAE,EAAE,OAAO,CAAC,CAAC;IACvF,CAAC;IAUD,IAAI,CACF,QAA6D,EAAE,EAC/D,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,yBAAyB,EAAE,wBAAwB,EAAE;YAClF,KAAK;YACL,GAAG,OAAO;SACX,CAAC,CAAC;IACL,CAAC;CACF;AAED,MAAM,OAAO,wBAAyB,SAAQ,IAAyB;CAAG;AAqG1E,WAAiB,oBAAoB;IAErB,6CAAwB,GAAG,uBAAuB,CAAC,wBAAwB,CAAC;AAG5F,CAAC,EALgB,oBAAoB,KAApB,oBAAoB,QAKpC"}
|
|
@@ -34,19 +34,19 @@ class CardDisputes extends resource_1.APIResource {
|
|
|
34
34
|
* Create a Card Dispute
|
|
35
35
|
*/
|
|
36
36
|
create(body, options) {
|
|
37
|
-
return this.post('/card_disputes', { body, ...options });
|
|
37
|
+
return this._client.post('/card_disputes', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Retrieve a Card Dispute
|
|
41
41
|
*/
|
|
42
42
|
retrieve(cardDisputeId, options) {
|
|
43
|
-
return this.get(`/card_disputes/${cardDisputeId}`, options);
|
|
43
|
+
return this._client.get(`/card_disputes/${cardDisputeId}`, options);
|
|
44
44
|
}
|
|
45
45
|
list(query = {}, options) {
|
|
46
46
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
47
47
|
return this.list({}, query);
|
|
48
48
|
}
|
|
49
|
-
return this.getAPIList('/card_disputes', CardDisputesPage, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/card_disputes', CardDisputesPage, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
exports.CardDisputes = CardDisputes;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-disputes.js","sourceRoot":"","sources":["../src/resources/card-disputes.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"card-disputes.js","sourceRoot":"","sources":["../src/resources/card-disputes.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;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;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAUD,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;CACF;AAhCD,oCAgCC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAAG;AAA1D,4CAA0D;AAgK1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAGpE,CAAC,EALgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAK5B"}
|
|
@@ -8,19 +8,19 @@ export class CardDisputes extends APIResource {
|
|
|
8
8
|
* Create a Card Dispute
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/card_disputes', { body, ...options });
|
|
11
|
+
return this._client.post('/card_disputes', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve a Card Dispute
|
|
15
15
|
*/
|
|
16
16
|
retrieve(cardDisputeId, options) {
|
|
17
|
-
return this.get(`/card_disputes/${cardDisputeId}`, options);
|
|
17
|
+
return this._client.get(`/card_disputes/${cardDisputeId}`, options);
|
|
18
18
|
}
|
|
19
19
|
list(query = {}, options) {
|
|
20
20
|
if (isRequestOptions(query)) {
|
|
21
21
|
return this.list({}, query);
|
|
22
22
|
}
|
|
23
|
-
return this.getAPIList('/card_disputes', CardDisputesPage, { query, ...options });
|
|
23
|
+
return this._client.getAPIList('/card_disputes', CardDisputesPage, { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
export class CardDisputesPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-disputes.mjs","sourceRoot":"","sources":["../src/resources/card-disputes.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,eAAe,MAAM,kCAAkC;OAC5D,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"card-disputes.mjs","sourceRoot":"","sources":["../src/resources/card-disputes.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,eAAe,MAAM,kCAAkC;OAC5D,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;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;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAUD,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;CACF;AAED,MAAM,OAAO,gBAAiB,SAAQ,IAAiB;CAAG;AAgK1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAGpE,CAAC,EALgB,YAAY,KAAZ,YAAY,QAK5B"}
|
|
@@ -34,13 +34,13 @@ class CardPayments extends resource_1.APIResource {
|
|
|
34
34
|
* Retrieve a Card Payment
|
|
35
35
|
*/
|
|
36
36
|
retrieve(cardPaymentId, options) {
|
|
37
|
-
return this.get(`/card_payments/${cardPaymentId}`, options);
|
|
37
|
+
return this._client.get(`/card_payments/${cardPaymentId}`, options);
|
|
38
38
|
}
|
|
39
39
|
list(query = {}, options) {
|
|
40
40
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
41
41
|
return this.list({}, query);
|
|
42
42
|
}
|
|
43
|
-
return this.getAPIList('/card_payments', CardPaymentsPage, { query, ...options });
|
|
43
|
+
return this._client.getAPIList('/card_payments', CardPaymentsPage, { query, ...options });
|
|
44
44
|
}
|
|
45
45
|
}
|
|
46
46
|
exports.CardPayments = CardPayments;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-payments.js","sourceRoot":"","sources":["../src/resources/card-payments.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"card-payments.js","sourceRoot":"","sources":["../src/resources/card-payments.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAUD,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;CACF;AAzBD,oCAyBC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAAG;AAA1D,4CAA0D;AAg0F1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAEpE,CAAC,EAJgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAI5B"}
|
|
@@ -8,13 +8,13 @@ export class CardPayments extends APIResource {
|
|
|
8
8
|
* Retrieve a Card Payment
|
|
9
9
|
*/
|
|
10
10
|
retrieve(cardPaymentId, options) {
|
|
11
|
-
return this.get(`/card_payments/${cardPaymentId}`, options);
|
|
11
|
+
return this._client.get(`/card_payments/${cardPaymentId}`, options);
|
|
12
12
|
}
|
|
13
13
|
list(query = {}, options) {
|
|
14
14
|
if (isRequestOptions(query)) {
|
|
15
15
|
return this.list({}, query);
|
|
16
16
|
}
|
|
17
|
-
return this.getAPIList('/card_payments', CardPaymentsPage, { query, ...options });
|
|
17
|
+
return this._client.getAPIList('/card_payments', CardPaymentsPage, { query, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
20
20
|
export class CardPaymentsPage extends Page {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-payments.mjs","sourceRoot":"","sources":["../src/resources/card-payments.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,eAAe,MAAM,kCAAkC;OAC5D,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"card-payments.mjs","sourceRoot":"","sources":["../src/resources/card-payments.ts"],"names":[],"mappings":"AAAA,qDAAqD;OAG9C,EAAE,WAAW,EAAE,MAAM,mBAAmB;OACxC,EAAE,gBAAgB,EAAE,MAAM,eAAe;OACzC,KAAK,eAAe,MAAM,kCAAkC;OAC5D,EAAE,IAAI,EAAmB,MAAM,qBAAqB;AAE3D,MAAM,OAAO,YAAa,SAAQ,WAAW;IAC3C;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAUD,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;CACF;AAED,MAAM,OAAO,gBAAiB,SAAQ,IAAiB;CAAG;AAg0F1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAEpE,CAAC,EAJgB,YAAY,KAAZ,YAAY,QAI5B"}
|
|
@@ -34,25 +34,25 @@ class CardProfiles extends resource_1.APIResource {
|
|
|
34
34
|
* Create a Card Profile
|
|
35
35
|
*/
|
|
36
36
|
create(body, options) {
|
|
37
|
-
return this.post('/card_profiles', { body, ...options });
|
|
37
|
+
return this._client.post('/card_profiles', { body, ...options });
|
|
38
38
|
}
|
|
39
39
|
/**
|
|
40
40
|
* Retrieve a Card Profile
|
|
41
41
|
*/
|
|
42
42
|
retrieve(cardProfileId, options) {
|
|
43
|
-
return this.get(`/card_profiles/${cardProfileId}`, options);
|
|
43
|
+
return this._client.get(`/card_profiles/${cardProfileId}`, options);
|
|
44
44
|
}
|
|
45
45
|
list(query = {}, options) {
|
|
46
46
|
if ((0, core_1.isRequestOptions)(query)) {
|
|
47
47
|
return this.list({}, query);
|
|
48
48
|
}
|
|
49
|
-
return this.getAPIList('/card_profiles', CardProfilesPage, { query, ...options });
|
|
49
|
+
return this._client.getAPIList('/card_profiles', CardProfilesPage, { query, ...options });
|
|
50
50
|
}
|
|
51
51
|
/**
|
|
52
52
|
* Archive an Card Profile
|
|
53
53
|
*/
|
|
54
54
|
archive(cardProfileId, options) {
|
|
55
|
-
return this.post(`/card_profiles/${cardProfileId}/archive`, options);
|
|
55
|
+
return this._client.post(`/card_profiles/${cardProfileId}/archive`, options);
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
exports.CardProfiles = CardProfiles;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"card-profiles.js","sourceRoot":"","sources":["../src/resources/card-profiles.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;IACH,MAAM,CAAC,IAA6B,EAAE,OAA6B;QACjE,OAAO,IAAI,CAAC,IAAI,CAAC,gBAAgB,EAAE,EAAE,IAAI,EAAE,GAAG,OAAO,EAAE,CAAC,CAAC;
|
|
1
|
+
{"version":3,"file":"card-profiles.js","sourceRoot":"","sources":["../src/resources/card-profiles.ts"],"names":[],"mappings":";AAAA,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;AAGrD,gDAAgD;AAChD,wCAAiD;AACjD,kFAAoE;AACpE,oDAA4D;AAE5D,MAAa,YAAa,SAAQ,sBAAW;IAC3C;;OAEG;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;;OAEG;IACH,QAAQ,CAAC,aAAqB,EAAE,OAA6B;QAC3D,OAAO,IAAI,CAAC,OAAO,CAAC,GAAG,CAAC,kBAAkB,aAAa,EAAE,EAAE,OAAO,CAAC,CAAC;IACtE,CAAC;IAUD,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;;OAEG;IACH,OAAO,CAAC,aAAqB,EAAE,OAA6B;QAC1D,OAAO,IAAI,CAAC,OAAO,CAAC,IAAI,CAAC,kBAAkB,aAAa,UAAU,EAAE,OAAO,CAAC,CAAC;IAC/E,CAAC;CACF;AAvCD,oCAuCC;AAED,MAAa,gBAAiB,SAAQ,iBAAiB;CAAG;AAA1D,4CAA0D;AAsT1D,WAAiB,YAAY;IAEb,6BAAgB,GAAG,eAAe,CAAC,gBAAgB,CAAC;AAGpE,CAAC,EALgB,YAAY,GAAZ,oBAAY,KAAZ,oBAAY,QAK5B"}
|
|
@@ -8,25 +8,25 @@ export class CardProfiles extends APIResource {
|
|
|
8
8
|
* Create a Card Profile
|
|
9
9
|
*/
|
|
10
10
|
create(body, options) {
|
|
11
|
-
return this.post('/card_profiles', { body, ...options });
|
|
11
|
+
return this._client.post('/card_profiles', { body, ...options });
|
|
12
12
|
}
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve a Card Profile
|
|
15
15
|
*/
|
|
16
16
|
retrieve(cardProfileId, options) {
|
|
17
|
-
return this.get(`/card_profiles/${cardProfileId}`, options);
|
|
17
|
+
return this._client.get(`/card_profiles/${cardProfileId}`, options);
|
|
18
18
|
}
|
|
19
19
|
list(query = {}, options) {
|
|
20
20
|
if (isRequestOptions(query)) {
|
|
21
21
|
return this.list({}, query);
|
|
22
22
|
}
|
|
23
|
-
return this.getAPIList('/card_profiles', CardProfilesPage, { query, ...options });
|
|
23
|
+
return this._client.getAPIList('/card_profiles', CardProfilesPage, { query, ...options });
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
26
|
* Archive an Card Profile
|
|
27
27
|
*/
|
|
28
28
|
archive(cardProfileId, options) {
|
|
29
|
-
return this.post(`/card_profiles/${cardProfileId}/archive`, options);
|
|
29
|
+
return this._client.post(`/card_profiles/${cardProfileId}/archive`, options);
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
32
|
export class CardProfilesPage extends Page {
|