increase 0.8.1 → 0.9.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 +23 -0
- package/README.md +29 -9
- package/_shims/fetch.d.ts +8 -1
- package/_shims/fetch.node.d.ts +11 -1
- package/core.d.ts +75 -27
- package/core.d.ts.map +1 -1
- package/core.js +112 -49
- package/core.js.map +1 -1
- package/core.mjs +108 -49
- package/core.mjs.map +1 -1
- package/package.json +1 -1
- package/pagination.d.ts +2 -2
- package/pagination.d.ts.map +1 -1
- package/pagination.js +4 -4
- package/pagination.js.map +1 -1
- package/pagination.mjs +4 -4
- package/pagination.mjs.map +1 -1
- package/resources/account-numbers.d.ts +8 -8
- package/resources/account-numbers.d.ts.map +1 -1
- package/resources/account-numbers.js.map +1 -1
- package/resources/account-numbers.mjs.map +1 -1
- package/resources/account-statements.d.ts +3 -6
- package/resources/account-statements.d.ts.map +1 -1
- package/resources/account-statements.js.map +1 -1
- package/resources/account-statements.mjs.map +1 -1
- package/resources/account-transfers.d.ts +6 -18
- package/resources/account-transfers.d.ts.map +1 -1
- package/resources/account-transfers.js.map +1 -1
- package/resources/account-transfers.mjs.map +1 -1
- package/resources/accounts.d.ts +6 -6
- package/resources/accounts.d.ts.map +1 -1
- package/resources/ach-prenotifications.d.ts +51 -7
- package/resources/ach-prenotifications.d.ts.map +1 -1
- package/resources/ach-prenotifications.js.map +1 -1
- package/resources/ach-prenotifications.mjs.map +1 -1
- package/resources/ach-transfers.d.ts +16 -9
- package/resources/ach-transfers.d.ts.map +1 -1
- package/resources/ach-transfers.js.map +1 -1
- package/resources/ach-transfers.mjs.map +1 -1
- package/resources/balance-lookups.d.ts +1 -1
- package/resources/balance-lookups.d.ts.map +1 -1
- package/resources/bookkeeping-accounts.d.ts +3 -3
- package/resources/bookkeeping-accounts.d.ts.map +1 -1
- package/resources/bookkeeping-entries.d.ts +2 -2
- package/resources/bookkeeping-entries.d.ts.map +1 -1
- package/resources/bookkeeping-entry-sets.d.ts +1 -1
- package/resources/bookkeeping-entry-sets.d.ts.map +1 -1
- package/resources/card-disputes.d.ts +7 -7
- package/resources/card-disputes.d.ts.map +1 -1
- package/resources/card-disputes.js.map +1 -1
- package/resources/card-disputes.mjs.map +1 -1
- package/resources/card-profiles.d.ts +15 -7
- package/resources/card-profiles.d.ts.map +1 -1
- package/resources/card-profiles.js +6 -0
- package/resources/card-profiles.js.map +1 -1
- package/resources/card-profiles.mjs +6 -0
- package/resources/card-profiles.mjs.map +1 -1
- package/resources/card-purchase-supplements.d.ts +3 -3
- package/resources/card-purchase-supplements.d.ts.map +1 -1
- package/resources/cards.d.ts +6 -13
- package/resources/cards.d.ts.map +1 -1
- package/resources/cards.js.map +1 -1
- package/resources/cards.mjs.map +1 -1
- package/resources/check-deposits.d.ts +7 -7
- package/resources/check-deposits.d.ts.map +1 -1
- package/resources/check-deposits.js.map +1 -1
- package/resources/check-deposits.mjs.map +1 -1
- package/resources/check-transfers.d.ts +15 -10
- package/resources/check-transfers.d.ts.map +1 -1
- package/resources/check-transfers.js.map +1 -1
- package/resources/check-transfers.mjs.map +1 -1
- package/resources/declined-transactions.d.ts +25 -28
- 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/digital-wallet-tokens.d.ts +3 -6
- package/resources/digital-wallet-tokens.d.ts.map +1 -1
- package/resources/digital-wallet-tokens.js.map +1 -1
- package/resources/digital-wallet-tokens.mjs.map +1 -1
- package/resources/documents.d.ts +3 -3
- package/resources/documents.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.d.ts +4 -8
- package/resources/entities/beneficial-owners.d.ts.map +1 -1
- package/resources/entities/beneficial-owners.js.map +1 -1
- package/resources/entities/beneficial-owners.mjs.map +1 -1
- package/resources/entities/entities.d.ts +11 -11
- package/resources/entities/entities.d.ts.map +1 -1
- package/resources/entities/entities.js +6 -0
- package/resources/entities/entities.js.map +1 -1
- package/resources/entities/entities.mjs +6 -0
- package/resources/entities/entities.mjs.map +1 -1
- package/resources/entities/supplemental-documents.d.ts +2 -2
- package/resources/entities/supplemental-documents.d.ts.map +1 -1
- package/resources/event-subscriptions.d.ts +5 -8
- package/resources/event-subscriptions.d.ts.map +1 -1
- package/resources/event-subscriptions.js.map +1 -1
- package/resources/event-subscriptions.mjs.map +1 -1
- package/resources/events.d.ts +7 -5
- package/resources/events.d.ts.map +1 -1
- package/resources/events.js.map +1 -1
- package/resources/events.mjs.map +1 -1
- package/resources/exports.d.ts +4 -4
- package/resources/exports.d.ts.map +1 -1
- package/resources/external-accounts.d.ts +5 -11
- package/resources/external-accounts.d.ts.map +1 -1
- package/resources/external-accounts.js.map +1 -1
- package/resources/external-accounts.mjs.map +1 -1
- package/resources/files.d.ts +9 -4
- package/resources/files.d.ts.map +1 -1
- package/resources/files.js +2 -2
- package/resources/files.js.map +1 -1
- package/resources/files.mjs +2 -2
- package/resources/files.mjs.map +1 -1
- package/resources/groups.d.ts +1 -1
- package/resources/groups.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.d.ts +6 -4
- package/resources/inbound-ach-transfer-returns.d.ts.map +1 -1
- package/resources/inbound-ach-transfer-returns.js.map +1 -1
- package/resources/inbound-ach-transfer-returns.mjs.map +1 -1
- package/resources/inbound-wire-drawdown-requests.d.ts +5 -3
- package/resources/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/inbound-wire-drawdown-requests.js.map +1 -1
- package/resources/inbound-wire-drawdown-requests.mjs.map +1 -1
- package/resources/limits.d.ts +5 -9
- package/resources/limits.d.ts.map +1 -1
- package/resources/limits.js.map +1 -1
- package/resources/limits.mjs.map +1 -1
- package/resources/oauth-connections.d.ts +3 -6
- package/resources/oauth-connections.d.ts.map +1 -1
- package/resources/oauth-connections.js.map +1 -1
- package/resources/oauth-connections.mjs.map +1 -1
- package/resources/pending-transactions.d.ts +28 -37
- package/resources/pending-transactions.d.ts.map +1 -1
- package/resources/pending-transactions.js.map +1 -1
- package/resources/pending-transactions.mjs.map +1 -1
- package/resources/programs.d.ts +3 -3
- package/resources/programs.d.ts.map +1 -1
- package/resources/real-time-decisions.d.ts +2 -5
- package/resources/real-time-decisions.d.ts.map +1 -1
- package/resources/real-time-decisions.js.map +1 -1
- package/resources/real-time-decisions.mjs.map +1 -1
- package/resources/real-time-payments-transfers.d.ts +6 -4
- package/resources/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/real-time-payments-transfers.js.map +1 -1
- package/resources/real-time-payments-transfers.mjs.map +1 -1
- package/resources/routing-numbers.d.ts +4 -1
- package/resources/routing-numbers.d.ts.map +1 -1
- package/resources/routing-numbers.js.map +1 -1
- package/resources/routing-numbers.mjs.map +1 -1
- package/resources/simulations/account-statements.d.ts +1 -1
- package/resources/simulations/account-statements.d.ts.map +1 -1
- package/resources/simulations/account-transfers.d.ts +1 -1
- package/resources/simulations/account-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.d.ts +124 -138
- package/resources/simulations/ach-transfers.d.ts.map +1 -1
- package/resources/simulations/ach-transfers.js.map +1 -1
- package/resources/simulations/ach-transfers.mjs.map +1 -1
- package/resources/simulations/card-disputes.d.ts +1 -1
- package/resources/simulations/card-disputes.d.ts.map +1 -1
- package/resources/simulations/card-profiles.d.ts +1 -4
- package/resources/simulations/card-profiles.d.ts.map +1 -1
- package/resources/simulations/card-profiles.js.map +1 -1
- package/resources/simulations/card-profiles.mjs.map +1 -1
- package/resources/simulations/card-refunds.d.ts +1 -1
- package/resources/simulations/card-refunds.d.ts.map +1 -1
- package/resources/simulations/cards.d.ts +49 -58
- package/resources/simulations/cards.d.ts.map +1 -1
- package/resources/simulations/cards.js.map +1 -1
- package/resources/simulations/cards.mjs.map +1 -1
- package/resources/simulations/check-deposits.d.ts +3 -12
- package/resources/simulations/check-deposits.d.ts.map +1 -1
- package/resources/simulations/check-transfers.d.ts +2 -2
- package/resources/simulations/check-transfers.d.ts.map +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts +1 -1
- package/resources/simulations/digital-wallet-token-requests.d.ts.map +1 -1
- package/resources/simulations/documents.d.ts +1 -4
- package/resources/simulations/documents.d.ts.map +1 -1
- package/resources/simulations/documents.js.map +1 -1
- package/resources/simulations/documents.mjs.map +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts +1 -1
- package/resources/simulations/inbound-funds-holds.d.ts.map +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts +1 -1
- package/resources/simulations/inbound-wire-drawdown-requests.d.ts.map +1 -1
- package/resources/simulations/interest-payments.d.ts +100 -108
- package/resources/simulations/interest-payments.d.ts.map +1 -1
- package/resources/simulations/interest-payments.js.map +1 -1
- package/resources/simulations/interest-payments.mjs.map +1 -1
- package/resources/simulations/programs.d.ts +1 -4
- package/resources/simulations/programs.d.ts.map +1 -1
- package/resources/simulations/programs.js.map +1 -1
- package/resources/simulations/programs.mjs.map +1 -1
- package/resources/simulations/real-time-payments-transfers.d.ts +123 -134
- package/resources/simulations/real-time-payments-transfers.d.ts.map +1 -1
- package/resources/simulations/real-time-payments-transfers.js.map +1 -1
- package/resources/simulations/real-time-payments-transfers.mjs.map +1 -1
- package/resources/simulations/wire-transfers.d.ts +100 -108
- package/resources/simulations/wire-transfers.d.ts.map +1 -1
- package/resources/simulations/wire-transfers.js.map +1 -1
- package/resources/simulations/wire-transfers.mjs.map +1 -1
- package/resources/transactions.d.ts +105 -110
- 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-drawdown-requests.d.ts +4 -4
- package/resources/wire-drawdown-requests.d.ts.map +1 -1
- package/resources/wire-transfers.d.ts +11 -11
- package/resources/wire-transfers.d.ts.map +1 -1
- package/resources/wire-transfers.js.map +1 -1
- package/resources/wire-transfers.mjs.map +1 -1
- package/src/_shims/fetch.d.ts +8 -1
- package/src/_shims/fetch.node.d.ts +11 -1
- package/src/core.ts +167 -70
- package/src/pagination.ts +5 -5
- package/src/resources/account-numbers.ts +9 -9
- package/src/resources/account-statements.ts +4 -7
- package/src/resources/account-transfers.ts +7 -19
- package/src/resources/accounts.ts +7 -7
- package/src/resources/ach-prenotifications.ts +56 -8
- package/src/resources/ach-transfers.ts +18 -10
- package/src/resources/balance-lookups.ts +1 -1
- package/src/resources/bookkeeping-accounts.ts +4 -4
- package/src/resources/bookkeeping-entries.ts +3 -3
- package/src/resources/bookkeeping-entry-sets.ts +1 -1
- package/src/resources/card-disputes.ts +8 -8
- package/src/resources/card-profiles.ts +20 -8
- package/src/resources/card-purchase-supplements.ts +4 -4
- package/src/resources/cards.ts +7 -14
- package/src/resources/check-deposits.ts +8 -8
- package/src/resources/check-transfers.ts +17 -11
- package/src/resources/declined-transactions.ts +26 -29
- package/src/resources/digital-wallet-tokens.ts +4 -7
- package/src/resources/documents.ts +4 -4
- package/src/resources/entities/beneficial-owners.ts +4 -8
- package/src/resources/entities/entities.ts +15 -12
- package/src/resources/entities/supplemental-documents.ts +2 -2
- package/src/resources/event-subscriptions.ts +6 -9
- package/src/resources/events.ts +8 -6
- package/src/resources/exports.ts +5 -5
- package/src/resources/external-accounts.ts +6 -12
- package/src/resources/files.ts +11 -6
- package/src/resources/groups.ts +1 -1
- package/src/resources/inbound-ach-transfer-returns.ts +7 -5
- package/src/resources/inbound-wire-drawdown-requests.ts +6 -4
- package/src/resources/limits.ts +6 -10
- package/src/resources/oauth-connections.ts +4 -7
- package/src/resources/pending-transactions.ts +29 -38
- package/src/resources/programs.ts +4 -4
- package/src/resources/real-time-decisions.ts +2 -5
- package/src/resources/real-time-payments-transfers.ts +7 -5
- package/src/resources/routing-numbers.ts +4 -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 +124 -138
- package/src/resources/simulations/card-disputes.ts +1 -1
- package/src/resources/simulations/card-profiles.ts +1 -4
- package/src/resources/simulations/card-refunds.ts +1 -1
- package/src/resources/simulations/cards.ts +49 -58
- 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 -4
- 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 +100 -108
- package/src/resources/simulations/programs.ts +1 -4
- package/src/resources/simulations/real-time-payments-transfers.ts +123 -134
- package/src/resources/simulations/wire-transfers.ts +100 -108
- package/src/resources/transactions.ts +106 -111
- package/src/resources/wire-drawdown-requests.ts +5 -5
- package/src/resources/wire-transfers.ts +12 -12
- package/src/version.ts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
|
@@ -10,10 +10,7 @@ export class DigitalWalletTokens extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieve a Digital Wallet Token
|
|
12
12
|
*/
|
|
13
|
-
retrieve(
|
|
14
|
-
digitalWalletTokenId: string,
|
|
15
|
-
options?: Core.RequestOptions,
|
|
16
|
-
): Promise<Core.APIResponse<DigitalWalletToken>> {
|
|
13
|
+
retrieve(digitalWalletTokenId: string, options?: Core.RequestOptions): Core.APIPromise<DigitalWalletToken> {
|
|
17
14
|
return this.get(`/digital_wallet_tokens/${digitalWalletTokenId}`, options);
|
|
18
15
|
}
|
|
19
16
|
|
|
@@ -23,12 +20,12 @@ export class DigitalWalletTokens extends APIResource {
|
|
|
23
20
|
list(
|
|
24
21
|
query?: DigitalWalletTokenListParams,
|
|
25
22
|
options?: Core.RequestOptions,
|
|
26
|
-
): Core.PagePromise<DigitalWalletTokensPage>;
|
|
27
|
-
list(options?: Core.RequestOptions): Core.PagePromise<DigitalWalletTokensPage>;
|
|
23
|
+
): Core.PagePromise<DigitalWalletTokensPage, DigitalWalletToken>;
|
|
24
|
+
list(options?: Core.RequestOptions): Core.PagePromise<DigitalWalletTokensPage, DigitalWalletToken>;
|
|
28
25
|
list(
|
|
29
26
|
query: DigitalWalletTokenListParams | Core.RequestOptions = {},
|
|
30
27
|
options?: Core.RequestOptions,
|
|
31
|
-
): Core.PagePromise<DigitalWalletTokensPage> {
|
|
28
|
+
): Core.PagePromise<DigitalWalletTokensPage, DigitalWalletToken> {
|
|
32
29
|
if (isRequestOptions(query)) {
|
|
33
30
|
return this.list({}, query);
|
|
34
31
|
}
|
|
@@ -10,19 +10,19 @@ export class Documents extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieve a Document
|
|
12
12
|
*/
|
|
13
|
-
retrieve(documentId: string, options?: Core.RequestOptions):
|
|
13
|
+
retrieve(documentId: string, options?: Core.RequestOptions): Core.APIPromise<Document> {
|
|
14
14
|
return this.get(`/documents/${documentId}`, options);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* List Documents
|
|
19
19
|
*/
|
|
20
|
-
list(query?: DocumentListParams, options?: Core.RequestOptions): Core.PagePromise<DocumentsPage>;
|
|
21
|
-
list(options?: Core.RequestOptions): Core.PagePromise<DocumentsPage>;
|
|
20
|
+
list(query?: DocumentListParams, options?: Core.RequestOptions): Core.PagePromise<DocumentsPage, Document>;
|
|
21
|
+
list(options?: Core.RequestOptions): Core.PagePromise<DocumentsPage, Document>;
|
|
22
22
|
list(
|
|
23
23
|
query: DocumentListParams | Core.RequestOptions = {},
|
|
24
24
|
options?: Core.RequestOptions,
|
|
25
|
-
): Core.PagePromise<DocumentsPage> {
|
|
25
|
+
): Core.PagePromise<DocumentsPage, Document> {
|
|
26
26
|
if (isRequestOptions(query)) {
|
|
27
27
|
return this.list({}, query);
|
|
28
28
|
}
|
|
@@ -13,7 +13,7 @@ export class BeneficialOwners extends APIResource {
|
|
|
13
13
|
entityId: string,
|
|
14
14
|
body: BeneficialOwnerCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<Entities.Entity> {
|
|
17
17
|
return this.post(`/entities/${entityId}/beneficial_owners`, { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
}
|
|
@@ -38,14 +38,10 @@ export namespace BeneficialOwnerCreateParams {
|
|
|
38
38
|
individual: BeneficialOwner.Individual;
|
|
39
39
|
|
|
40
40
|
/**
|
|
41
|
-
* Why this person is considered a beneficial owner of the entity.
|
|
42
|
-
*
|
|
43
|
-
* - `ownership` - A person with 25% or greater direct or indirect ownership of the
|
|
44
|
-
* entity.
|
|
45
|
-
* - `control` - A person who manages, directs, or has significant control of the
|
|
46
|
-
* entity.
|
|
41
|
+
* Why this person is considered a beneficial owner of the entity. At least one
|
|
42
|
+
* option is required.
|
|
47
43
|
*/
|
|
48
|
-
|
|
44
|
+
prongs: Array<'ownership' | 'control'>;
|
|
49
45
|
|
|
50
46
|
/**
|
|
51
47
|
* This person's role or title within the entity.
|
|
@@ -15,31 +15,38 @@ export class Entities extends APIResource {
|
|
|
15
15
|
/**
|
|
16
16
|
* Create an Entity
|
|
17
17
|
*/
|
|
18
|
-
create(body: EntityCreateParams, options?: Core.RequestOptions):
|
|
18
|
+
create(body: EntityCreateParams, options?: Core.RequestOptions): Core.APIPromise<Entity> {
|
|
19
19
|
return this.post('/entities', { body, ...options });
|
|
20
20
|
}
|
|
21
21
|
|
|
22
22
|
/**
|
|
23
23
|
* Retrieve an Entity
|
|
24
24
|
*/
|
|
25
|
-
retrieve(entityId: string, options?: Core.RequestOptions):
|
|
25
|
+
retrieve(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity> {
|
|
26
26
|
return this.get(`/entities/${entityId}`, options);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
/**
|
|
30
30
|
* List Entities
|
|
31
31
|
*/
|
|
32
|
-
list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
33
|
-
list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage>;
|
|
32
|
+
list(query?: EntityListParams, options?: Core.RequestOptions): Core.PagePromise<EntitiesPage, Entity>;
|
|
33
|
+
list(options?: Core.RequestOptions): Core.PagePromise<EntitiesPage, Entity>;
|
|
34
34
|
list(
|
|
35
35
|
query: EntityListParams | Core.RequestOptions = {},
|
|
36
36
|
options?: Core.RequestOptions,
|
|
37
|
-
): Core.PagePromise<EntitiesPage> {
|
|
37
|
+
): Core.PagePromise<EntitiesPage, Entity> {
|
|
38
38
|
if (isRequestOptions(query)) {
|
|
39
39
|
return this.list({}, query);
|
|
40
40
|
}
|
|
41
41
|
return this.getAPIList('/entities', EntitiesPage, { query, ...options });
|
|
42
42
|
}
|
|
43
|
+
|
|
44
|
+
/**
|
|
45
|
+
* Archive an Entity
|
|
46
|
+
*/
|
|
47
|
+
archive(entityId: string, options?: Core.RequestOptions): Core.APIPromise<Entity> {
|
|
48
|
+
return this.post(`/entities/${entityId}/archive`, options);
|
|
49
|
+
}
|
|
43
50
|
}
|
|
44
51
|
|
|
45
52
|
export class EntitiesPage extends Page<Entity> {}
|
|
@@ -918,14 +925,10 @@ export namespace EntityCreateParams {
|
|
|
918
925
|
individual: BeneficialOwner.Individual;
|
|
919
926
|
|
|
920
927
|
/**
|
|
921
|
-
* Why this person is considered a beneficial owner of the entity.
|
|
922
|
-
*
|
|
923
|
-
* - `ownership` - A person with 25% or greater direct or indirect ownership of the
|
|
924
|
-
* entity.
|
|
925
|
-
* - `control` - A person who manages, directs, or has significant control of the
|
|
926
|
-
* entity.
|
|
928
|
+
* Why this person is considered a beneficial owner of the entity. At least one
|
|
929
|
+
* option is required.
|
|
927
930
|
*/
|
|
928
|
-
|
|
931
|
+
prongs: Array<'ownership' | 'control'>;
|
|
929
932
|
|
|
930
933
|
/**
|
|
931
934
|
* This person's role or title within the entity.
|
|
@@ -14,7 +14,7 @@ export class SupplementalDocuments extends APIResource {
|
|
|
14
14
|
entityId: string,
|
|
15
15
|
body: SupplementalDocumentCreateParams,
|
|
16
16
|
options?: Core.RequestOptions,
|
|
17
|
-
):
|
|
17
|
+
): Core.APIPromise<Entities.Entity> {
|
|
18
18
|
return this.post(`/entities/${entityId}/supplemental_documents`, { body, ...options });
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -24,7 +24,7 @@ export class SupplementalDocuments extends APIResource {
|
|
|
24
24
|
list(
|
|
25
25
|
query: SupplementalDocumentListParams,
|
|
26
26
|
options?: Core.RequestOptions,
|
|
27
|
-
): Core.PagePromise<SupplementalDocumentsPage> {
|
|
27
|
+
): Core.PagePromise<SupplementalDocumentsPage, SupplementalDocument> {
|
|
28
28
|
return this.getAPIList('/entity_supplemental_documents', SupplementalDocumentsPage, {
|
|
29
29
|
query,
|
|
30
30
|
...options,
|
|
@@ -13,17 +13,14 @@ export class EventSubscriptions extends APIResource {
|
|
|
13
13
|
create(
|
|
14
14
|
body: EventSubscriptionCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<EventSubscription> {
|
|
17
17
|
return this.post('/event_subscriptions', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Retrieve an Event Subscription
|
|
22
22
|
*/
|
|
23
|
-
retrieve(
|
|
24
|
-
eventSubscriptionId: string,
|
|
25
|
-
options?: Core.RequestOptions,
|
|
26
|
-
): Promise<Core.APIResponse<EventSubscription>> {
|
|
23
|
+
retrieve(eventSubscriptionId: string, options?: Core.RequestOptions): Core.APIPromise<EventSubscription> {
|
|
27
24
|
return this.get(`/event_subscriptions/${eventSubscriptionId}`, options);
|
|
28
25
|
}
|
|
29
26
|
|
|
@@ -34,7 +31,7 @@ export class EventSubscriptions extends APIResource {
|
|
|
34
31
|
eventSubscriptionId: string,
|
|
35
32
|
body: EventSubscriptionUpdateParams,
|
|
36
33
|
options?: Core.RequestOptions,
|
|
37
|
-
):
|
|
34
|
+
): Core.APIPromise<EventSubscription> {
|
|
38
35
|
return this.patch(`/event_subscriptions/${eventSubscriptionId}`, { body, ...options });
|
|
39
36
|
}
|
|
40
37
|
|
|
@@ -44,12 +41,12 @@ export class EventSubscriptions extends APIResource {
|
|
|
44
41
|
list(
|
|
45
42
|
query?: EventSubscriptionListParams,
|
|
46
43
|
options?: Core.RequestOptions,
|
|
47
|
-
): Core.PagePromise<EventSubscriptionsPage>;
|
|
48
|
-
list(options?: Core.RequestOptions): Core.PagePromise<EventSubscriptionsPage>;
|
|
44
|
+
): Core.PagePromise<EventSubscriptionsPage, EventSubscription>;
|
|
45
|
+
list(options?: Core.RequestOptions): Core.PagePromise<EventSubscriptionsPage, EventSubscription>;
|
|
49
46
|
list(
|
|
50
47
|
query: EventSubscriptionListParams | Core.RequestOptions = {},
|
|
51
48
|
options?: Core.RequestOptions,
|
|
52
|
-
): Core.PagePromise<EventSubscriptionsPage> {
|
|
49
|
+
): Core.PagePromise<EventSubscriptionsPage, EventSubscription> {
|
|
53
50
|
if (isRequestOptions(query)) {
|
|
54
51
|
return this.list({}, query);
|
|
55
52
|
}
|
package/src/resources/events.ts
CHANGED
|
@@ -10,19 +10,19 @@ export class Events extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieve an Event
|
|
12
12
|
*/
|
|
13
|
-
retrieve(eventId: string, options?: Core.RequestOptions):
|
|
13
|
+
retrieve(eventId: string, options?: Core.RequestOptions): Core.APIPromise<Event> {
|
|
14
14
|
return this.get(`/events/${eventId}`, options);
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* List Events
|
|
19
19
|
*/
|
|
20
|
-
list(query?: EventListParams, options?: Core.RequestOptions): Core.PagePromise<EventsPage>;
|
|
21
|
-
list(options?: Core.RequestOptions): Core.PagePromise<EventsPage>;
|
|
20
|
+
list(query?: EventListParams, options?: Core.RequestOptions): Core.PagePromise<EventsPage, Event>;
|
|
21
|
+
list(options?: Core.RequestOptions): Core.PagePromise<EventsPage, Event>;
|
|
22
22
|
list(
|
|
23
23
|
query: EventListParams | Core.RequestOptions = {},
|
|
24
24
|
options?: Core.RequestOptions,
|
|
25
|
-
): Core.PagePromise<EventsPage> {
|
|
25
|
+
): Core.PagePromise<EventsPage, Event> {
|
|
26
26
|
if (isRequestOptions(query)) {
|
|
27
27
|
return this.list({}, query);
|
|
28
28
|
}
|
|
@@ -35,8 +35,10 @@ export class EventsPage extends Page<Event> {}
|
|
|
35
35
|
type _EventsPage = EventsPage;
|
|
36
36
|
|
|
37
37
|
/**
|
|
38
|
-
* Events are records of things that happened to objects
|
|
39
|
-
*
|
|
38
|
+
* Events are records of things that happened to objects at Increase. Events are
|
|
39
|
+
* accessible via the List Events endpoint and can be delivered to your application
|
|
40
|
+
* via webhooks. For more information, see our
|
|
41
|
+
* [webhooks guide](https://increase.com/documentation/webhooks).
|
|
40
42
|
*/
|
|
41
43
|
export interface Event {
|
|
42
44
|
/**
|
package/src/resources/exports.ts
CHANGED
|
@@ -10,26 +10,26 @@ export class Exports extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Create an Export
|
|
12
12
|
*/
|
|
13
|
-
create(body: ExportCreateParams, options?: Core.RequestOptions):
|
|
13
|
+
create(body: ExportCreateParams, options?: Core.RequestOptions): Core.APIPromise<Export> {
|
|
14
14
|
return this.post('/exports', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Retrieve an Export
|
|
19
19
|
*/
|
|
20
|
-
retrieve(exportId: string, options?: Core.RequestOptions):
|
|
20
|
+
retrieve(exportId: string, options?: Core.RequestOptions): Core.APIPromise<Export> {
|
|
21
21
|
return this.get(`/exports/${exportId}`, options);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* List Exports
|
|
26
26
|
*/
|
|
27
|
-
list(query?: ExportListParams, options?: Core.RequestOptions): Core.PagePromise<ExportsPage>;
|
|
28
|
-
list(options?: Core.RequestOptions): Core.PagePromise<ExportsPage>;
|
|
27
|
+
list(query?: ExportListParams, options?: Core.RequestOptions): Core.PagePromise<ExportsPage, Export>;
|
|
28
|
+
list(options?: Core.RequestOptions): Core.PagePromise<ExportsPage, Export>;
|
|
29
29
|
list(
|
|
30
30
|
query: ExportListParams | Core.RequestOptions = {},
|
|
31
31
|
options?: Core.RequestOptions,
|
|
32
|
-
): Core.PagePromise<ExportsPage> {
|
|
32
|
+
): Core.PagePromise<ExportsPage, Export> {
|
|
33
33
|
if (isRequestOptions(query)) {
|
|
34
34
|
return this.list({}, query);
|
|
35
35
|
}
|
|
@@ -10,20 +10,14 @@ export class ExternalAccounts extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Create an External Account
|
|
12
12
|
*/
|
|
13
|
-
create(
|
|
14
|
-
body: ExternalAccountCreateParams,
|
|
15
|
-
options?: Core.RequestOptions,
|
|
16
|
-
): Promise<Core.APIResponse<ExternalAccount>> {
|
|
13
|
+
create(body: ExternalAccountCreateParams, options?: Core.RequestOptions): Core.APIPromise<ExternalAccount> {
|
|
17
14
|
return this.post('/external_accounts', { body, ...options });
|
|
18
15
|
}
|
|
19
16
|
|
|
20
17
|
/**
|
|
21
18
|
* Retrieve an External Account
|
|
22
19
|
*/
|
|
23
|
-
retrieve(
|
|
24
|
-
externalAccountId: string,
|
|
25
|
-
options?: Core.RequestOptions,
|
|
26
|
-
): Promise<Core.APIResponse<ExternalAccount>> {
|
|
20
|
+
retrieve(externalAccountId: string, options?: Core.RequestOptions): Core.APIPromise<ExternalAccount> {
|
|
27
21
|
return this.get(`/external_accounts/${externalAccountId}`, options);
|
|
28
22
|
}
|
|
29
23
|
|
|
@@ -34,7 +28,7 @@ export class ExternalAccounts extends APIResource {
|
|
|
34
28
|
externalAccountId: string,
|
|
35
29
|
body: ExternalAccountUpdateParams,
|
|
36
30
|
options?: Core.RequestOptions,
|
|
37
|
-
):
|
|
31
|
+
): Core.APIPromise<ExternalAccount> {
|
|
38
32
|
return this.patch(`/external_accounts/${externalAccountId}`, { body, ...options });
|
|
39
33
|
}
|
|
40
34
|
|
|
@@ -44,12 +38,12 @@ export class ExternalAccounts extends APIResource {
|
|
|
44
38
|
list(
|
|
45
39
|
query?: ExternalAccountListParams,
|
|
46
40
|
options?: Core.RequestOptions,
|
|
47
|
-
): Core.PagePromise<ExternalAccountsPage>;
|
|
48
|
-
list(options?: Core.RequestOptions): Core.PagePromise<ExternalAccountsPage>;
|
|
41
|
+
): Core.PagePromise<ExternalAccountsPage, ExternalAccount>;
|
|
42
|
+
list(options?: Core.RequestOptions): Core.PagePromise<ExternalAccountsPage, ExternalAccount>;
|
|
49
43
|
list(
|
|
50
44
|
query: ExternalAccountListParams | Core.RequestOptions = {},
|
|
51
45
|
options?: Core.RequestOptions,
|
|
52
|
-
): Core.PagePromise<ExternalAccountsPage> {
|
|
46
|
+
): Core.PagePromise<ExternalAccountsPage, ExternalAccount> {
|
|
53
47
|
if (isRequestOptions(query)) {
|
|
54
48
|
return this.list({}, query);
|
|
55
49
|
}
|
package/src/resources/files.ts
CHANGED
|
@@ -13,26 +13,26 @@ export class Files extends APIResource {
|
|
|
13
13
|
* `multipart/form-data`. The request should contain the file you would like to
|
|
14
14
|
* upload, as well as the parameters for creating a file.
|
|
15
15
|
*/
|
|
16
|
-
|
|
17
|
-
return this.post('/files',
|
|
16
|
+
create(body: FileCreateParams, options?: Core.RequestOptions): Core.APIPromise<File> {
|
|
17
|
+
return this.post('/files', multipartFormRequestOptions({ body, ...options }));
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* Retrieve a File
|
|
22
22
|
*/
|
|
23
|
-
retrieve(fileId: string, options?: Core.RequestOptions):
|
|
23
|
+
retrieve(fileId: string, options?: Core.RequestOptions): Core.APIPromise<File> {
|
|
24
24
|
return this.get(`/files/${fileId}`, options);
|
|
25
25
|
}
|
|
26
26
|
|
|
27
27
|
/**
|
|
28
28
|
* List Files
|
|
29
29
|
*/
|
|
30
|
-
list(query?: FileListParams, options?: Core.RequestOptions): Core.PagePromise<FilesPage>;
|
|
31
|
-
list(options?: Core.RequestOptions): Core.PagePromise<FilesPage>;
|
|
30
|
+
list(query?: FileListParams, options?: Core.RequestOptions): Core.PagePromise<FilesPage, File>;
|
|
31
|
+
list(options?: Core.RequestOptions): Core.PagePromise<FilesPage, File>;
|
|
32
32
|
list(
|
|
33
33
|
query: FileListParams | Core.RequestOptions = {},
|
|
34
34
|
options?: Core.RequestOptions,
|
|
35
|
-
): Core.PagePromise<FilesPage> {
|
|
35
|
+
): Core.PagePromise<FilesPage, File> {
|
|
36
36
|
if (isRequestOptions(query)) {
|
|
37
37
|
return this.list({}, query);
|
|
38
38
|
}
|
|
@@ -92,6 +92,7 @@ export interface File {
|
|
|
92
92
|
* - `check_image_front` - An image of the front of a check, used for check
|
|
93
93
|
* deposits.
|
|
94
94
|
* - `check_image_back` - An image of the back of a check, used for check deposits.
|
|
95
|
+
* - `mailed_check_image` - An image of a check that was mailed to a recipient.
|
|
95
96
|
* - `form_1099_int` - IRS Form 1099-INT.
|
|
96
97
|
* - `form_ss_4` - IRS Form SS-4.
|
|
97
98
|
* - `identity_document` - An image of a government-issued ID.
|
|
@@ -116,6 +117,7 @@ export interface File {
|
|
|
116
117
|
purpose:
|
|
117
118
|
| 'check_image_front'
|
|
118
119
|
| 'check_image_back'
|
|
120
|
+
| 'mailed_check_image'
|
|
119
121
|
| 'form_1099_int'
|
|
120
122
|
| 'form_ss_4'
|
|
121
123
|
| 'identity_document'
|
|
@@ -152,6 +154,7 @@ export interface FileCreateParams {
|
|
|
152
154
|
* - `check_image_front` - An image of the front of a check, used for check
|
|
153
155
|
* deposits.
|
|
154
156
|
* - `check_image_back` - An image of the back of a check, used for check deposits.
|
|
157
|
+
* - `mailed_check_image` - An image of a check that was mailed to a recipient.
|
|
155
158
|
* - `form_ss_4` - IRS Form SS-4.
|
|
156
159
|
* - `identity_document` - An image of a government-issued ID.
|
|
157
160
|
* - `other` - A file purpose not covered by any of the other cases.
|
|
@@ -172,6 +175,7 @@ export interface FileCreateParams {
|
|
|
172
175
|
purpose:
|
|
173
176
|
| 'check_image_front'
|
|
174
177
|
| 'check_image_back'
|
|
178
|
+
| 'mailed_check_image'
|
|
175
179
|
| 'form_ss_4'
|
|
176
180
|
| 'identity_document'
|
|
177
181
|
| 'other'
|
|
@@ -230,6 +234,7 @@ export namespace FileListParams {
|
|
|
230
234
|
in?: Array<
|
|
231
235
|
| 'check_image_front'
|
|
232
236
|
| 'check_image_back'
|
|
237
|
+
| 'mailed_check_image'
|
|
233
238
|
| 'form_1099_int'
|
|
234
239
|
| 'form_ss_4'
|
|
235
240
|
| 'identity_document'
|
package/src/resources/groups.ts
CHANGED
|
@@ -8,7 +8,7 @@ export class Groups extends APIResource {
|
|
|
8
8
|
/**
|
|
9
9
|
* Returns details for the currently authenticated Group.
|
|
10
10
|
*/
|
|
11
|
-
retrieveDetails(options?: Core.RequestOptions):
|
|
11
|
+
retrieveDetails(options?: Core.RequestOptions): Core.APIPromise<Group> {
|
|
12
12
|
return this.get('/groups/current', options);
|
|
13
13
|
}
|
|
14
14
|
}
|
|
@@ -13,7 +13,7 @@ export class InboundACHTransferReturns extends APIResource {
|
|
|
13
13
|
create(
|
|
14
14
|
body: InboundACHTransferReturnCreateParams,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<InboundACHTransferReturn> {
|
|
17
17
|
return this.post('/inbound_ach_transfer_returns', { body, ...options });
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -23,7 +23,7 @@ export class InboundACHTransferReturns extends APIResource {
|
|
|
23
23
|
retrieve(
|
|
24
24
|
inboundACHTransferReturnId: string,
|
|
25
25
|
options?: Core.RequestOptions,
|
|
26
|
-
):
|
|
26
|
+
): Core.APIPromise<InboundACHTransferReturn> {
|
|
27
27
|
return this.get(`/inbound_ach_transfer_returns/${inboundACHTransferReturnId}`, options);
|
|
28
28
|
}
|
|
29
29
|
|
|
@@ -33,12 +33,14 @@ export class InboundACHTransferReturns extends APIResource {
|
|
|
33
33
|
list(
|
|
34
34
|
query?: InboundACHTransferReturnListParams,
|
|
35
35
|
options?: Core.RequestOptions,
|
|
36
|
-
): Core.PagePromise<InboundACHTransferReturnsPage>;
|
|
37
|
-
list(
|
|
36
|
+
): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn>;
|
|
37
|
+
list(
|
|
38
|
+
options?: Core.RequestOptions,
|
|
39
|
+
): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn>;
|
|
38
40
|
list(
|
|
39
41
|
query: InboundACHTransferReturnListParams | Core.RequestOptions = {},
|
|
40
42
|
options?: Core.RequestOptions,
|
|
41
|
-
): Core.PagePromise<InboundACHTransferReturnsPage> {
|
|
43
|
+
): Core.PagePromise<InboundACHTransferReturnsPage, InboundACHTransferReturn> {
|
|
42
44
|
if (isRequestOptions(query)) {
|
|
43
45
|
return this.list({}, query);
|
|
44
46
|
}
|
|
@@ -13,7 +13,7 @@ export class InboundWireDrawdownRequests extends APIResource {
|
|
|
13
13
|
retrieve(
|
|
14
14
|
inboundWireDrawdownRequestId: string,
|
|
15
15
|
options?: Core.RequestOptions,
|
|
16
|
-
):
|
|
16
|
+
): Core.APIPromise<InboundWireDrawdownRequest> {
|
|
17
17
|
return this.get(`/inbound_wire_drawdown_requests/${inboundWireDrawdownRequestId}`, options);
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -23,12 +23,14 @@ export class InboundWireDrawdownRequests extends APIResource {
|
|
|
23
23
|
list(
|
|
24
24
|
query?: InboundWireDrawdownRequestListParams,
|
|
25
25
|
options?: Core.RequestOptions,
|
|
26
|
-
): Core.PagePromise<InboundWireDrawdownRequestsPage>;
|
|
27
|
-
list(
|
|
26
|
+
): Core.PagePromise<InboundWireDrawdownRequestsPage, InboundWireDrawdownRequest>;
|
|
27
|
+
list(
|
|
28
|
+
options?: Core.RequestOptions,
|
|
29
|
+
): Core.PagePromise<InboundWireDrawdownRequestsPage, InboundWireDrawdownRequest>;
|
|
28
30
|
list(
|
|
29
31
|
query: InboundWireDrawdownRequestListParams | Core.RequestOptions = {},
|
|
30
32
|
options?: Core.RequestOptions,
|
|
31
|
-
): Core.PagePromise<InboundWireDrawdownRequestsPage> {
|
|
33
|
+
): Core.PagePromise<InboundWireDrawdownRequestsPage, InboundWireDrawdownRequest> {
|
|
32
34
|
if (isRequestOptions(query)) {
|
|
33
35
|
return this.list({}, query);
|
|
34
36
|
}
|
package/src/resources/limits.ts
CHANGED
|
@@ -10,37 +10,33 @@ export class Limits extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Create a Limit
|
|
12
12
|
*/
|
|
13
|
-
create(body: LimitCreateParams, options?: Core.RequestOptions):
|
|
13
|
+
create(body: LimitCreateParams, options?: Core.RequestOptions): Core.APIPromise<Limit> {
|
|
14
14
|
return this.post('/limits', { body, ...options });
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
/**
|
|
18
18
|
* Retrieve a Limit
|
|
19
19
|
*/
|
|
20
|
-
retrieve(limitId: string, options?: Core.RequestOptions):
|
|
20
|
+
retrieve(limitId: string, options?: Core.RequestOptions): Core.APIPromise<Limit> {
|
|
21
21
|
return this.get(`/limits/${limitId}`, options);
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* Update a Limit
|
|
26
26
|
*/
|
|
27
|
-
update(
|
|
28
|
-
limitId: string,
|
|
29
|
-
body: LimitUpdateParams,
|
|
30
|
-
options?: Core.RequestOptions,
|
|
31
|
-
): Promise<Core.APIResponse<Limit>> {
|
|
27
|
+
update(limitId: string, body: LimitUpdateParams, options?: Core.RequestOptions): Core.APIPromise<Limit> {
|
|
32
28
|
return this.patch(`/limits/${limitId}`, { body, ...options });
|
|
33
29
|
}
|
|
34
30
|
|
|
35
31
|
/**
|
|
36
32
|
* List Limits
|
|
37
33
|
*/
|
|
38
|
-
list(query?: LimitListParams, options?: Core.RequestOptions): Core.PagePromise<LimitsPage>;
|
|
39
|
-
list(options?: Core.RequestOptions): Core.PagePromise<LimitsPage>;
|
|
34
|
+
list(query?: LimitListParams, options?: Core.RequestOptions): Core.PagePromise<LimitsPage, Limit>;
|
|
35
|
+
list(options?: Core.RequestOptions): Core.PagePromise<LimitsPage, Limit>;
|
|
40
36
|
list(
|
|
41
37
|
query: LimitListParams | Core.RequestOptions = {},
|
|
42
38
|
options?: Core.RequestOptions,
|
|
43
|
-
): Core.PagePromise<LimitsPage> {
|
|
39
|
+
): Core.PagePromise<LimitsPage, Limit> {
|
|
44
40
|
if (isRequestOptions(query)) {
|
|
45
41
|
return this.list({}, query);
|
|
46
42
|
}
|
|
@@ -10,10 +10,7 @@ export class OauthConnections extends APIResource {
|
|
|
10
10
|
/**
|
|
11
11
|
* Retrieve an OAuth Connection
|
|
12
12
|
*/
|
|
13
|
-
retrieve(
|
|
14
|
-
oauthConnectionId: string,
|
|
15
|
-
options?: Core.RequestOptions,
|
|
16
|
-
): Promise<Core.APIResponse<OauthConnection>> {
|
|
13
|
+
retrieve(oauthConnectionId: string, options?: Core.RequestOptions): Core.APIPromise<OauthConnection> {
|
|
17
14
|
return this.get(`/oauth_connections/${oauthConnectionId}`, options);
|
|
18
15
|
}
|
|
19
16
|
|
|
@@ -23,12 +20,12 @@ export class OauthConnections extends APIResource {
|
|
|
23
20
|
list(
|
|
24
21
|
query?: OauthConnectionListParams,
|
|
25
22
|
options?: Core.RequestOptions,
|
|
26
|
-
): Core.PagePromise<OauthConnectionsPage>;
|
|
27
|
-
list(options?: Core.RequestOptions): Core.PagePromise<OauthConnectionsPage>;
|
|
23
|
+
): Core.PagePromise<OauthConnectionsPage, OauthConnection>;
|
|
24
|
+
list(options?: Core.RequestOptions): Core.PagePromise<OauthConnectionsPage, OauthConnection>;
|
|
28
25
|
list(
|
|
29
26
|
query: OauthConnectionListParams | Core.RequestOptions = {},
|
|
30
27
|
options?: Core.RequestOptions,
|
|
31
|
-
): Core.PagePromise<OauthConnectionsPage> {
|
|
28
|
+
): Core.PagePromise<OauthConnectionsPage, OauthConnection> {
|
|
32
29
|
if (isRequestOptions(query)) {
|
|
33
30
|
return this.list({}, query);
|
|
34
31
|
}
|