@payabli/sdk-node 0.0.116 → 0.0.123
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/README.md +31 -2
- package/dist/cjs/BaseClient.d.ts +13 -4
- package/dist/cjs/BaseClient.js +59 -0
- package/dist/cjs/Client.d.ts +88 -88
- package/dist/cjs/Client.js +31 -72
- package/dist/cjs/api/errors/BadRequestError.js +5 -1
- package/dist/cjs/api/errors/ConflictError.js +5 -1
- package/dist/cjs/api/errors/ForbiddenError.js +5 -1
- package/dist/cjs/api/errors/InternalServerError.js +5 -1
- package/dist/cjs/api/errors/ServiceUnavailableError.js +5 -1
- package/dist/cjs/api/errors/UnauthorizedError.js +5 -1
- package/dist/cjs/api/resources/bill/client/Client.d.ts +34 -35
- package/dist/cjs/api/resources/bill/client/Client.js +69 -216
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +28 -29
- package/dist/cjs/api/resources/boarding/client/Client.js +51 -198
- package/dist/cjs/api/resources/chargeBacks/client/Client.d.ts +18 -17
- package/dist/cjs/api/resources/chargeBacks/client/Client.js +38 -79
- package/dist/cjs/api/resources/checkCapture/client/Client.d.ts +8 -9
- package/dist/cjs/api/resources/checkCapture/client/Client.js +11 -28
- package/dist/cjs/api/resources/cloud/client/Client.d.ts +18 -19
- package/dist/cjs/api/resources/cloud/client/Client.js +33 -89
- package/dist/cjs/api/resources/customer/client/Client.d.ts +18 -19
- package/dist/cjs/api/resources/customer/client/Client.js +31 -113
- package/dist/cjs/api/resources/export/client/Client.d.ts +94 -91
- package/dist/cjs/api/resources/export/client/Client.js +205 -582
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.d.ts +12 -13
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.js +19 -62
- package/dist/cjs/api/resources/import/client/Client.d.ts +12 -13
- package/dist/cjs/api/resources/import/client/Client.js +19 -62
- package/dist/cjs/api/resources/invoice/client/Client.d.ts +37 -36
- package/dist/cjs/api/resources/invoice/client/Client.js +67 -212
- package/dist/cjs/api/resources/invoice/client/requests/AddInvoiceRequest.d.ts +5 -3
- package/dist/cjs/api/resources/lineItem/client/Client.d.ts +16 -17
- package/dist/cjs/api/resources/lineItem/client/Client.js +27 -96
- package/dist/cjs/api/resources/moneyIn/client/Client.d.ts +40 -41
- package/dist/cjs/api/resources/moneyIn/client/Client.js +79 -249
- package/dist/cjs/api/resources/moneyIn/errors/CaptureError.js +5 -1
- package/dist/cjs/api/resources/moneyIn/errors/InvalidTransStatusError.js +5 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +44 -28
- package/dist/cjs/api/resources/moneyOut/client/Client.js +105 -168
- package/dist/cjs/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.ts +2 -1
- package/dist/cjs/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.ts +3 -1
- package/dist/cjs/api/resources/notification/client/Client.d.ts +30 -18
- package/dist/cjs/api/resources/notification/client/Client.js +45 -101
- package/dist/cjs/api/resources/notificationlogs/client/Client.d.ts +14 -15
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +23 -79
- package/dist/cjs/api/resources/ocr/client/Client.d.ts +14 -11
- package/dist/cjs/api/resources/ocr/client/Client.js +19 -45
- package/dist/cjs/api/resources/organization/client/Client.d.ts +20 -21
- package/dist/cjs/api/resources/organization/client/Client.js +35 -130
- package/dist/cjs/api/resources/paymentLink/client/Client.d.ts +27 -28
- package/dist/cjs/api/resources/paymentLink/client/Client.js +46 -167
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataBill.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/client/requests/PayLinkDataOut.d.ts +1 -1
- package/dist/cjs/api/resources/paymentLink/types/PaymentPageRequestBody.d.ts +2 -2
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.d.ts +20 -21
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +35 -130
- package/dist/cjs/api/resources/paypoint/client/Client.d.ts +23 -24
- package/dist/cjs/api/resources/paypoint/client/Client.js +44 -152
- package/dist/cjs/api/resources/query/client/Client.d.ts +72 -73
- package/dist/cjs/api/resources/query/client/Client.js +137 -572
- package/dist/cjs/api/resources/query/client/requests/ListPayoutOrgRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/ListPayoutRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/statistic/client/Client.d.ts +51 -52
- package/dist/cjs/api/resources/statistic/client/Client.js +80 -133
- package/dist/cjs/api/resources/statistic/client/requests/BasicStatsRequest.d.ts +2 -2
- package/dist/cjs/api/resources/statistic/types/StatBasicExtendedQueryRecord.d.ts +76 -0
- package/dist/cjs/api/resources/statistic/types/StatBasicExtendedQueryRecord.js +3 -0
- package/dist/cjs/api/resources/statistic/types/index.d.ts +1 -0
- package/dist/cjs/api/resources/statistic/types/index.js +1 -0
- package/dist/cjs/api/resources/subscription/client/Client.d.ts +14 -15
- package/dist/cjs/api/resources/subscription/client/Client.js +23 -79
- package/dist/cjs/api/resources/templates/client/Client.d.ts +16 -17
- package/dist/cjs/api/resources/templates/client/Client.js +28 -84
- package/dist/cjs/api/resources/tokenStorage/client/Client.d.ts +14 -15
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +23 -79
- package/dist/cjs/api/resources/tokenStorage/types/GetMethodResponse.d.ts +1 -1
- package/dist/cjs/api/resources/user/client/Client.d.ts +55 -34
- package/dist/cjs/api/resources/user/client/Client.js +84 -222
- package/dist/cjs/api/resources/vendor/client/Client.d.ts +14 -15
- package/dist/cjs/api/resources/vendor/client/Client.js +23 -79
- package/dist/cjs/api/resources/wallet/client/Client.d.ts +14 -15
- package/dist/cjs/api/resources/wallet/client/Client.js +23 -79
- package/dist/cjs/api/types/ApplicationDetailsRecord.d.ts +2 -2
- package/dist/cjs/api/types/Frequency.d.ts +1 -1
- package/dist/cjs/api/types/Frequency.js +1 -1
- package/dist/cjs/api/types/FrequencyList.d.ts +1 -1
- package/dist/cjs/api/types/NotificationContent.d.ts +1 -0
- package/dist/cjs/api/types/NotificationContent.js +1 -0
- package/dist/cjs/api/types/NotificationStandardRequest.d.ts +1 -0
- package/dist/cjs/api/types/NotificationStandardRequest.js +1 -0
- package/dist/cjs/api/types/PayorDataResponse.d.ts +1 -1
- package/dist/cjs/api/types/QueryResponseSettlements.d.ts +1 -1
- package/dist/cjs/auth/HeaderAuthProvider.d.ts +16 -0
- package/dist/cjs/auth/HeaderAuthProvider.js +71 -0
- package/dist/cjs/auth/index.d.ts +1 -0
- package/dist/cjs/auth/index.js +5 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +7 -0
- package/dist/cjs/core/auth/AuthProvider.js +2 -0
- package/dist/cjs/core/auth/AuthRequest.d.ts +9 -0
- package/dist/cjs/core/auth/AuthRequest.js +2 -0
- package/dist/cjs/core/auth/BasicAuth.d.ts +8 -0
- package/dist/cjs/core/auth/BasicAuth.js +27 -0
- package/dist/cjs/core/auth/BearerToken.d.ts +7 -0
- package/dist/cjs/core/auth/BearerToken.js +16 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.d.ts +5 -0
- package/dist/cjs/core/auth/NoOpAuthProvider.js +9 -0
- package/dist/cjs/core/auth/index.d.ts +5 -0
- package/dist/cjs/core/auth/index.js +9 -0
- package/dist/cjs/core/base64.d.ts +2 -0
- package/dist/cjs/core/base64.js +26 -0
- package/dist/cjs/core/fetcher/BinaryResponse.d.ts +6 -7
- package/dist/cjs/core/fetcher/Fetcher.d.ts +5 -1
- package/dist/cjs/core/fetcher/Fetcher.js +42 -24
- package/dist/cjs/core/fetcher/getResponseBody.js +18 -4
- package/dist/cjs/core/fetcher/makeRequest.d.ts +1 -1
- package/dist/cjs/core/fetcher/makeRequest.js +0 -2
- package/dist/cjs/core/fetcher/requestWithRetries.js +0 -9
- package/dist/cjs/core/fetcher/signals.d.ts +1 -7
- package/dist/cjs/core/fetcher/signals.js +0 -12
- package/dist/cjs/core/index.d.ts +2 -0
- package/dist/cjs/core/index.js +2 -0
- package/dist/cjs/core/logging/logger.js +1 -1
- package/dist/cjs/core/runtime/runtime.js +11 -10
- package/dist/cjs/core/url/join.js +0 -1
- package/dist/cjs/errors/PayabliError.js +5 -1
- package/dist/cjs/errors/PayabliTimeoutError.js +5 -1
- package/dist/cjs/errors/handleNonStatusCodeError.d.ts +2 -0
- package/dist/cjs/errors/handleNonStatusCodeError.js +65 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +13 -4
- package/dist/esm/BaseClient.mjs +24 -1
- package/dist/esm/Client.d.mts +88 -88
- package/dist/esm/Client.mjs +59 -67
- package/dist/esm/api/errors/BadRequestError.mjs +5 -1
- package/dist/esm/api/errors/ConflictError.mjs +5 -1
- package/dist/esm/api/errors/ForbiddenError.mjs +5 -1
- package/dist/esm/api/errors/InternalServerError.mjs +5 -1
- package/dist/esm/api/errors/ServiceUnavailableError.mjs +5 -1
- package/dist/esm/api/errors/UnauthorizedError.mjs +5 -1
- package/dist/esm/api/resources/bill/client/Client.d.mts +34 -35
- package/dist/esm/api/resources/bill/client/Client.mjs +67 -214
- package/dist/esm/api/resources/boarding/client/Client.d.mts +28 -29
- package/dist/esm/api/resources/boarding/client/Client.mjs +50 -197
- package/dist/esm/api/resources/chargeBacks/client/Client.d.mts +18 -17
- package/dist/esm/api/resources/chargeBacks/client/Client.mjs +36 -77
- package/dist/esm/api/resources/checkCapture/client/Client.d.mts +8 -9
- package/dist/esm/api/resources/checkCapture/client/Client.mjs +10 -27
- package/dist/esm/api/resources/cloud/client/Client.d.mts +18 -19
- package/dist/esm/api/resources/cloud/client/Client.mjs +31 -87
- package/dist/esm/api/resources/customer/client/Client.d.mts +18 -19
- package/dist/esm/api/resources/customer/client/Client.mjs +29 -111
- package/dist/esm/api/resources/export/client/Client.d.mts +94 -91
- package/dist/esm/api/resources/export/client/Client.mjs +204 -581
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.d.mts +12 -13
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.mjs +17 -60
- package/dist/esm/api/resources/import/client/Client.d.mts +12 -13
- package/dist/esm/api/resources/import/client/Client.mjs +17 -60
- package/dist/esm/api/resources/invoice/client/Client.d.mts +37 -36
- package/dist/esm/api/resources/invoice/client/Client.mjs +65 -210
- package/dist/esm/api/resources/invoice/client/requests/AddInvoiceRequest.d.mts +5 -3
- package/dist/esm/api/resources/lineItem/client/Client.d.mts +16 -17
- package/dist/esm/api/resources/lineItem/client/Client.mjs +25 -94
- package/dist/esm/api/resources/moneyIn/client/Client.d.mts +40 -41
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +77 -247
- package/dist/esm/api/resources/moneyIn/errors/CaptureError.mjs +5 -1
- package/dist/esm/api/resources/moneyIn/errors/InvalidTransStatusError.mjs +5 -1
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +44 -28
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +103 -166
- package/dist/esm/api/resources/moneyOut/client/requests/MoneyOutTypesRequestOutAuthorize.d.mts +2 -1
- package/dist/esm/api/resources/moneyOutTypes/types/AuthorizePayoutBody.d.mts +3 -1
- package/dist/esm/api/resources/notification/client/Client.d.mts +30 -18
- package/dist/esm/api/resources/notification/client/Client.mjs +44 -100
- package/dist/esm/api/resources/notificationlogs/client/Client.d.mts +14 -15
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +22 -78
- package/dist/esm/api/resources/ocr/client/Client.d.mts +14 -11
- package/dist/esm/api/resources/ocr/client/Client.mjs +18 -44
- package/dist/esm/api/resources/organization/client/Client.d.mts +20 -21
- package/dist/esm/api/resources/organization/client/Client.mjs +33 -128
- package/dist/esm/api/resources/paymentLink/client/Client.d.mts +27 -28
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +44 -165
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataBill.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataInvoice.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/client/requests/PayLinkDataOut.d.mts +1 -1
- package/dist/esm/api/resources/paymentLink/types/PaymentPageRequestBody.d.mts +2 -2
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.d.mts +20 -21
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +34 -129
- package/dist/esm/api/resources/paypoint/client/Client.d.mts +23 -24
- package/dist/esm/api/resources/paypoint/client/Client.mjs +43 -151
- package/dist/esm/api/resources/query/client/Client.d.mts +72 -73
- package/dist/esm/api/resources/query/client/Client.mjs +136 -571
- package/dist/esm/api/resources/query/client/requests/ListPayoutOrgRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/ListPayoutRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/ListTransactionsRequest.d.mts +1 -0
- package/dist/esm/api/resources/statistic/client/Client.d.mts +51 -52
- package/dist/esm/api/resources/statistic/client/Client.mjs +79 -132
- package/dist/esm/api/resources/statistic/client/requests/BasicStatsRequest.d.mts +2 -2
- package/dist/esm/api/resources/statistic/types/StatBasicExtendedQueryRecord.d.mts +76 -0
- package/dist/esm/api/resources/statistic/types/StatBasicExtendedQueryRecord.mjs +2 -0
- package/dist/esm/api/resources/statistic/types/index.d.mts +1 -0
- package/dist/esm/api/resources/statistic/types/index.mjs +1 -0
- package/dist/esm/api/resources/subscription/client/Client.d.mts +14 -15
- package/dist/esm/api/resources/subscription/client/Client.mjs +21 -77
- package/dist/esm/api/resources/templates/client/Client.d.mts +16 -17
- package/dist/esm/api/resources/templates/client/Client.mjs +27 -83
- package/dist/esm/api/resources/tokenStorage/client/Client.d.mts +14 -15
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +21 -77
- package/dist/esm/api/resources/tokenStorage/types/GetMethodResponse.d.mts +1 -1
- package/dist/esm/api/resources/user/client/Client.d.mts +55 -34
- package/dist/esm/api/resources/user/client/Client.mjs +83 -221
- package/dist/esm/api/resources/vendor/client/Client.d.mts +14 -15
- package/dist/esm/api/resources/vendor/client/Client.mjs +22 -78
- package/dist/esm/api/resources/wallet/client/Client.d.mts +14 -15
- package/dist/esm/api/resources/wallet/client/Client.mjs +22 -78
- package/dist/esm/api/types/ApplicationDetailsRecord.d.mts +2 -2
- package/dist/esm/api/types/Frequency.d.mts +1 -1
- package/dist/esm/api/types/Frequency.mjs +1 -1
- package/dist/esm/api/types/FrequencyList.d.mts +1 -1
- package/dist/esm/api/types/NotificationContent.d.mts +1 -0
- package/dist/esm/api/types/NotificationContent.mjs +1 -0
- package/dist/esm/api/types/NotificationStandardRequest.d.mts +1 -0
- package/dist/esm/api/types/NotificationStandardRequest.mjs +1 -0
- package/dist/esm/api/types/PayorDataResponse.d.mts +1 -1
- package/dist/esm/api/types/QueryResponseSettlements.d.mts +1 -1
- package/dist/esm/auth/HeaderAuthProvider.d.mts +16 -0
- package/dist/esm/auth/HeaderAuthProvider.mjs +34 -0
- package/dist/esm/auth/index.d.mts +1 -0
- package/dist/esm/auth/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +7 -0
- package/dist/esm/core/auth/AuthProvider.mjs +1 -0
- package/dist/esm/core/auth/AuthRequest.d.mts +9 -0
- package/dist/esm/core/auth/AuthRequest.mjs +1 -0
- package/dist/esm/core/auth/BasicAuth.d.mts +8 -0
- package/dist/esm/core/auth/BasicAuth.mjs +24 -0
- package/dist/esm/core/auth/BearerToken.d.mts +7 -0
- package/dist/esm/core/auth/BearerToken.mjs +13 -0
- package/dist/esm/core/auth/NoOpAuthProvider.d.mts +5 -0
- package/dist/esm/core/auth/NoOpAuthProvider.mjs +5 -0
- package/dist/esm/core/auth/index.d.mts +5 -0
- package/dist/esm/core/auth/index.mjs +3 -0
- package/dist/esm/core/base64.d.mts +2 -0
- package/dist/esm/core/base64.mjs +22 -0
- package/dist/esm/core/fetcher/BinaryResponse.d.mts +6 -7
- package/dist/esm/core/fetcher/Fetcher.d.mts +5 -1
- package/dist/esm/core/fetcher/Fetcher.mjs +42 -24
- package/dist/esm/core/fetcher/getResponseBody.mjs +18 -4
- package/dist/esm/core/fetcher/makeRequest.d.mts +1 -1
- package/dist/esm/core/fetcher/makeRequest.mjs +0 -2
- package/dist/esm/core/fetcher/requestWithRetries.mjs +0 -9
- package/dist/esm/core/fetcher/signals.d.mts +1 -7
- package/dist/esm/core/fetcher/signals.mjs +0 -12
- package/dist/esm/core/index.d.mts +2 -0
- package/dist/esm/core/index.mjs +2 -0
- package/dist/esm/core/logging/logger.mjs +1 -1
- package/dist/esm/core/runtime/runtime.mjs +11 -10
- package/dist/esm/core/url/join.mjs +0 -1
- package/dist/esm/errors/PayabliError.mjs +5 -1
- package/dist/esm/errors/PayabliTimeoutError.mjs +5 -1
- package/dist/esm/errors/handleNonStatusCodeError.d.mts +2 -0
- package/dist/esm/errors/handleNonStatusCodeError.mjs +29 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +5 -2
- package/reference.md +768 -478
- package/dist/cjs/core/fetcher/ResponseWithBody.d.ts +0 -4
- package/dist/cjs/core/fetcher/ResponseWithBody.js +0 -6
- package/dist/esm/core/fetcher/ResponseWithBody.d.mts +0 -4
- package/dist/esm/core/fetcher/ResponseWithBody.mjs +0 -3
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient.js";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient.js";
|
|
2
3
|
import * as core from "../../../../core/index.js";
|
|
3
4
|
import * as Payabli from "../../../index.js";
|
|
4
|
-
export declare namespace
|
|
5
|
-
|
|
6
|
-
}
|
|
5
|
+
export declare namespace QueryClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
7
|
interface RequestOptions extends BaseRequestOptions {
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
export declare class
|
|
11
|
-
protected readonly _options:
|
|
12
|
-
constructor(
|
|
10
|
+
export declare class QueryClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<QueryClient.Options>;
|
|
12
|
+
constructor(options?: QueryClient.Options);
|
|
13
13
|
/**
|
|
14
14
|
* Retrieve a list of batches and their details, including settled and
|
|
15
15
|
* unsettled transactions for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
16
16
|
*
|
|
17
17
|
* @param {Payabli.Entry} entry
|
|
18
18
|
* @param {Payabli.ListBatchDetailsRequest} request
|
|
19
|
-
* @param {
|
|
19
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
20
20
|
*
|
|
21
21
|
* @throws {@link Payabli.BadRequestError}
|
|
22
22
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -30,14 +30,14 @@ export declare class Query {
|
|
|
30
30
|
* sortBy: "desc(field_name)"
|
|
31
31
|
* })
|
|
32
32
|
*/
|
|
33
|
-
listBatchDetails(entry: Payabli.Entry, request?: Payabli.ListBatchDetailsRequest, requestOptions?:
|
|
33
|
+
listBatchDetails(entry: Payabli.Entry, request?: Payabli.ListBatchDetailsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryBatchesDetailResponse>;
|
|
34
34
|
private __listBatchDetails;
|
|
35
35
|
/**
|
|
36
36
|
* Retrieve a list of batches and their details, including settled and unsettled transactions for an organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
37
37
|
*
|
|
38
38
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
39
39
|
* @param {Payabli.ListBatchDetailsOrgRequest} request
|
|
40
|
-
* @param {
|
|
40
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
41
41
|
*
|
|
42
42
|
* @throws {@link Payabli.BadRequestError}
|
|
43
43
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -51,14 +51,14 @@ export declare class Query {
|
|
|
51
51
|
* sortBy: "desc(field_name)"
|
|
52
52
|
* })
|
|
53
53
|
*/
|
|
54
|
-
listBatchDetailsOrg(orgId: number, request?: Payabli.ListBatchDetailsOrgRequest, requestOptions?:
|
|
54
|
+
listBatchDetailsOrg(orgId: number, request?: Payabli.ListBatchDetailsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseSettlements>;
|
|
55
55
|
private __listBatchDetailsOrg;
|
|
56
56
|
/**
|
|
57
57
|
* Retrieve a list of batches for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
58
58
|
*
|
|
59
59
|
* @param {Payabli.Entry} entry
|
|
60
60
|
* @param {Payabli.ListBatchesRequest} request
|
|
61
|
-
* @param {
|
|
61
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link Payabli.BadRequestError}
|
|
64
64
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -72,14 +72,14 @@ export declare class Query {
|
|
|
72
72
|
* sortBy: "desc(field_name)"
|
|
73
73
|
* })
|
|
74
74
|
*/
|
|
75
|
-
listBatches(entry: Payabli.Entry, request?: Payabli.ListBatchesRequest, requestOptions?:
|
|
75
|
+
listBatches(entry: Payabli.Entry, request?: Payabli.ListBatchesRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryBatchesResponse>;
|
|
76
76
|
private __listBatches;
|
|
77
77
|
/**
|
|
78
78
|
* Retrieve a list of batches for an org. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
79
79
|
*
|
|
80
80
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
81
81
|
* @param {Payabli.ListBatchesOrgRequest} request
|
|
82
|
-
* @param {
|
|
82
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
83
83
|
*
|
|
84
84
|
* @throws {@link Payabli.BadRequestError}
|
|
85
85
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -93,14 +93,14 @@ export declare class Query {
|
|
|
93
93
|
* sortBy: "desc(field_name)"
|
|
94
94
|
* })
|
|
95
95
|
*/
|
|
96
|
-
listBatchesOrg(orgId: number, request?: Payabli.ListBatchesOrgRequest, requestOptions?:
|
|
96
|
+
listBatchesOrg(orgId: number, request?: Payabli.ListBatchesOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryBatchesResponse>;
|
|
97
97
|
private __listBatchesOrg;
|
|
98
98
|
/**
|
|
99
99
|
* Retrieve a list of MoneyOut batches for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
100
100
|
*
|
|
101
101
|
* @param {Payabli.Entry} entry
|
|
102
102
|
* @param {Payabli.ListBatchesOutRequest} request
|
|
103
|
-
* @param {
|
|
103
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
104
104
|
*
|
|
105
105
|
* @throws {@link Payabli.BadRequestError}
|
|
106
106
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -114,14 +114,14 @@ export declare class Query {
|
|
|
114
114
|
* sortBy: "desc(field_name)"
|
|
115
115
|
* })
|
|
116
116
|
*/
|
|
117
|
-
listBatchesOut(entry: Payabli.Entry, request?: Payabli.ListBatchesOutRequest, requestOptions?:
|
|
117
|
+
listBatchesOut(entry: Payabli.Entry, request?: Payabli.ListBatchesOutRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryBatchesOutResponse>;
|
|
118
118
|
private __listBatchesOut;
|
|
119
119
|
/**
|
|
120
120
|
* Retrieve a list of MoneyOut batches for an org. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
121
121
|
*
|
|
122
122
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
123
123
|
* @param {Payabli.ListBatchesOutOrgRequest} request
|
|
124
|
-
* @param {
|
|
124
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
125
|
*
|
|
126
126
|
* @throws {@link Payabli.BadRequestError}
|
|
127
127
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -135,14 +135,14 @@ export declare class Query {
|
|
|
135
135
|
* sortBy: "desc(field_name)"
|
|
136
136
|
* })
|
|
137
137
|
*/
|
|
138
|
-
listBatchesOutOrg(orgId: number, request?: Payabli.ListBatchesOutOrgRequest, requestOptions?:
|
|
138
|
+
listBatchesOutOrg(orgId: number, request?: Payabli.ListBatchesOutOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryBatchesOutResponse>;
|
|
139
139
|
private __listBatchesOutOrg;
|
|
140
140
|
/**
|
|
141
141
|
* Retrieves a list of chargebacks and returned transactions for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
142
142
|
*
|
|
143
143
|
* @param {Payabli.Entry} entry
|
|
144
144
|
* @param {Payabli.ListChargebacksRequest} request
|
|
145
|
-
* @param {
|
|
145
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
146
146
|
*
|
|
147
147
|
* @throws {@link Payabli.BadRequestError}
|
|
148
148
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -156,14 +156,14 @@ export declare class Query {
|
|
|
156
156
|
* sortBy: "desc(field_name)"
|
|
157
157
|
* })
|
|
158
158
|
*/
|
|
159
|
-
listChargebacks(entry: Payabli.Entry, request?: Payabli.ListChargebacksRequest, requestOptions?:
|
|
159
|
+
listChargebacks(entry: Payabli.Entry, request?: Payabli.ListChargebacksRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryChargebacksResponse>;
|
|
160
160
|
private __listChargebacks;
|
|
161
161
|
/**
|
|
162
162
|
* Retrieve a list of chargebacks and returned transactions for an org. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
163
163
|
*
|
|
164
164
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
165
165
|
* @param {Payabli.ListChargebacksOrgRequest} request
|
|
166
|
-
* @param {
|
|
166
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
167
167
|
*
|
|
168
168
|
* @throws {@link Payabli.BadRequestError}
|
|
169
169
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -177,14 +177,14 @@ export declare class Query {
|
|
|
177
177
|
* sortBy: "desc(field_name)"
|
|
178
178
|
* })
|
|
179
179
|
*/
|
|
180
|
-
listChargebacksOrg(orgId: number, request?: Payabli.ListChargebacksOrgRequest, requestOptions?:
|
|
180
|
+
listChargebacksOrg(orgId: number, request?: Payabli.ListChargebacksOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryChargebacksResponse>;
|
|
181
181
|
private __listChargebacksOrg;
|
|
182
182
|
/**
|
|
183
183
|
* Retrieves a list of customers for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
184
184
|
*
|
|
185
185
|
* @param {Payabli.Entry} entry
|
|
186
186
|
* @param {Payabli.ListCustomersRequest} request
|
|
187
|
-
* @param {
|
|
187
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
188
188
|
*
|
|
189
189
|
* @throws {@link Payabli.BadRequestError}
|
|
190
190
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -198,14 +198,14 @@ export declare class Query {
|
|
|
198
198
|
* sortBy: "desc(field_name)"
|
|
199
199
|
* })
|
|
200
200
|
*/
|
|
201
|
-
listCustomers(entry: Payabli.Entry, request?: Payabli.ListCustomersRequest, requestOptions?:
|
|
201
|
+
listCustomers(entry: Payabli.Entry, request?: Payabli.ListCustomersRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryCustomerResponse>;
|
|
202
202
|
private __listCustomers;
|
|
203
203
|
/**
|
|
204
204
|
* Retrieves a list of customers for an org. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
205
205
|
*
|
|
206
206
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
207
207
|
* @param {Payabli.ListCustomersOrgRequest} request
|
|
208
|
-
* @param {
|
|
208
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
209
209
|
*
|
|
210
210
|
* @throws {@link Payabli.BadRequestError}
|
|
211
211
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -219,14 +219,14 @@ export declare class Query {
|
|
|
219
219
|
* sortBy: "desc(field_name)"
|
|
220
220
|
* })
|
|
221
221
|
*/
|
|
222
|
-
listCustomersOrg(orgId: number, request?: Payabli.ListCustomersOrgRequest, requestOptions?:
|
|
222
|
+
listCustomersOrg(orgId: number, request?: Payabli.ListCustomersOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryCustomerResponse>;
|
|
223
223
|
private __listCustomersOrg;
|
|
224
224
|
/**
|
|
225
225
|
* Returns a list of all reports generated in the last 60 days for a single entrypoint. Use filters to limit results.
|
|
226
226
|
*
|
|
227
227
|
* @param {Payabli.Entry} entry
|
|
228
228
|
* @param {Payabli.ListNotificationReportsRequest} request
|
|
229
|
-
* @param {
|
|
229
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
230
230
|
*
|
|
231
231
|
* @throws {@link Payabli.BadRequestError}
|
|
232
232
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -240,14 +240,14 @@ export declare class Query {
|
|
|
240
240
|
* sortBy: "desc(field_name)"
|
|
241
241
|
* })
|
|
242
242
|
*/
|
|
243
|
-
listNotificationReports(entry: Payabli.Entry, request?: Payabli.ListNotificationReportsRequest, requestOptions?:
|
|
243
|
+
listNotificationReports(entry: Payabli.Entry, request?: Payabli.ListNotificationReportsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseNotificationReports>;
|
|
244
244
|
private __listNotificationReports;
|
|
245
245
|
/**
|
|
246
246
|
* Returns a list of all reports generated in the last 60 days for an organization. Use filters to limit results.
|
|
247
247
|
*
|
|
248
248
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
249
249
|
* @param {Payabli.ListNotificationReportsOrgRequest} request
|
|
250
|
-
* @param {
|
|
250
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
251
251
|
*
|
|
252
252
|
* @throws {@link Payabli.BadRequestError}
|
|
253
253
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -261,14 +261,14 @@ export declare class Query {
|
|
|
261
261
|
* sortBy: "desc(field_name)"
|
|
262
262
|
* })
|
|
263
263
|
*/
|
|
264
|
-
listNotificationReportsOrg(orgId: number, request?: Payabli.ListNotificationReportsOrgRequest, requestOptions?:
|
|
264
|
+
listNotificationReportsOrg(orgId: number, request?: Payabli.ListNotificationReportsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseNotificationReports>;
|
|
265
265
|
private __listNotificationReportsOrg;
|
|
266
266
|
/**
|
|
267
267
|
* Returns a list of notifications for an entrypoint. Use filters to limit results.
|
|
268
268
|
*
|
|
269
269
|
* @param {Payabli.Entry} entry
|
|
270
270
|
* @param {Payabli.ListNotificationsRequest} request
|
|
271
|
-
* @param {
|
|
271
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
272
272
|
*
|
|
273
273
|
* @throws {@link Payabli.BadRequestError}
|
|
274
274
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -282,14 +282,14 @@ export declare class Query {
|
|
|
282
282
|
* sortBy: "desc(field_name)"
|
|
283
283
|
* })
|
|
284
284
|
*/
|
|
285
|
-
listNotifications(entry: Payabli.Entry, request?: Payabli.ListNotificationsRequest, requestOptions?:
|
|
285
|
+
listNotifications(entry: Payabli.Entry, request?: Payabli.ListNotificationsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseNotifications>;
|
|
286
286
|
private __listNotifications;
|
|
287
287
|
/**
|
|
288
288
|
* Return a list of notifications for an organization. Use filters to limit results.
|
|
289
289
|
*
|
|
290
290
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
291
291
|
* @param {Payabli.ListNotificationsOrgRequest} request
|
|
292
|
-
* @param {
|
|
292
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
293
293
|
*
|
|
294
294
|
* @throws {@link Payabli.BadRequestError}
|
|
295
295
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -303,14 +303,14 @@ export declare class Query {
|
|
|
303
303
|
* sortBy: "desc(field_name)"
|
|
304
304
|
* })
|
|
305
305
|
*/
|
|
306
|
-
listNotificationsOrg(orgId: number, request?: Payabli.ListNotificationsOrgRequest, requestOptions?:
|
|
306
|
+
listNotificationsOrg(orgId: number, request?: Payabli.ListNotificationsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseNotifications>;
|
|
307
307
|
private __listNotificationsOrg;
|
|
308
308
|
/**
|
|
309
309
|
* Retrieves a list of an organization's suborganizations and their full details such as orgId, users, and settings. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
310
310
|
*
|
|
311
311
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
312
312
|
* @param {Payabli.ListOrganizationsRequest} request
|
|
313
|
-
* @param {
|
|
313
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
314
314
|
*
|
|
315
315
|
* @throws {@link Payabli.BadRequestError}
|
|
316
316
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -324,14 +324,14 @@ export declare class Query {
|
|
|
324
324
|
* sortBy: "desc(field_name)"
|
|
325
325
|
* })
|
|
326
326
|
*/
|
|
327
|
-
listOrganizations(orgId: number, request?: Payabli.ListOrganizationsRequest, requestOptions?:
|
|
327
|
+
listOrganizations(orgId: number, request?: Payabli.ListOrganizationsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.ListOrganizationsResponse>;
|
|
328
328
|
private __listOrganizations;
|
|
329
329
|
/**
|
|
330
330
|
* Retrieves a list of money out transactions (payouts) for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
331
331
|
*
|
|
332
332
|
* @param {Payabli.Entry} entry
|
|
333
333
|
* @param {Payabli.ListPayoutRequest} request
|
|
334
|
-
* @param {
|
|
334
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
335
335
|
*
|
|
336
336
|
* @throws {@link Payabli.BadRequestError}
|
|
337
337
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -345,14 +345,14 @@ export declare class Query {
|
|
|
345
345
|
* sortBy: "desc(field_name)"
|
|
346
346
|
* })
|
|
347
347
|
*/
|
|
348
|
-
listPayout(entry: Payabli.Entry, request?: Payabli.ListPayoutRequest, requestOptions?:
|
|
348
|
+
listPayout(entry: Payabli.Entry, request?: Payabli.ListPayoutRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryPayoutTransaction>;
|
|
349
349
|
private __listPayout;
|
|
350
350
|
/**
|
|
351
351
|
* Retrieves a list of money out transactions (payouts) for an organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
352
352
|
*
|
|
353
353
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
354
354
|
* @param {Payabli.ListPayoutOrgRequest} request
|
|
355
|
-
* @param {
|
|
355
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
356
356
|
*
|
|
357
357
|
* @throws {@link Payabli.BadRequestError}
|
|
358
358
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -366,14 +366,14 @@ export declare class Query {
|
|
|
366
366
|
* sortBy: "desc(field_name)"
|
|
367
367
|
* })
|
|
368
368
|
*/
|
|
369
|
-
listPayoutOrg(orgId: number, request?: Payabli.ListPayoutOrgRequest, requestOptions?:
|
|
369
|
+
listPayoutOrg(orgId: number, request?: Payabli.ListPayoutOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryPayoutTransaction>;
|
|
370
370
|
private __listPayoutOrg;
|
|
371
371
|
/**
|
|
372
372
|
* Returns a list of paypoints in an organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
373
373
|
*
|
|
374
374
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
375
375
|
* @param {Payabli.ListPaypointsRequest} request
|
|
376
|
-
* @param {
|
|
376
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
377
377
|
*
|
|
378
378
|
* @throws {@link Payabli.BadRequestError}
|
|
379
379
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -387,14 +387,14 @@ export declare class Query {
|
|
|
387
387
|
* sortBy: "desc(field_name)"
|
|
388
388
|
* })
|
|
389
389
|
*/
|
|
390
|
-
listPaypoints(orgId: number, request?: Payabli.ListPaypointsRequest, requestOptions?:
|
|
390
|
+
listPaypoints(orgId: number, request?: Payabli.ListPaypointsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryEntrypointResponse>;
|
|
391
391
|
private __listPaypoints;
|
|
392
392
|
/**
|
|
393
393
|
* Retrieve a list of settled transactions for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
394
394
|
*
|
|
395
395
|
* @param {Payabli.Entry} entry
|
|
396
396
|
* @param {Payabli.ListSettlementsRequest} request
|
|
397
|
-
* @param {
|
|
397
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
398
398
|
*
|
|
399
399
|
* @throws {@link Payabli.BadRequestError}
|
|
400
400
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -408,14 +408,14 @@ export declare class Query {
|
|
|
408
408
|
* sortBy: "desc(field_name)"
|
|
409
409
|
* })
|
|
410
410
|
*/
|
|
411
|
-
listSettlements(entry: Payabli.Entry, request?: Payabli.ListSettlementsRequest, requestOptions?:
|
|
411
|
+
listSettlements(entry: Payabli.Entry, request?: Payabli.ListSettlementsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseSettlements>;
|
|
412
412
|
private __listSettlements;
|
|
413
413
|
/**
|
|
414
414
|
* Retrieve a list of settled transactions for an organization. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
415
415
|
*
|
|
416
416
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
417
417
|
* @param {Payabli.ListSettlementsOrgRequest} request
|
|
418
|
-
* @param {
|
|
418
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
419
419
|
*
|
|
420
420
|
* @throws {@link Payabli.BadRequestError}
|
|
421
421
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -429,14 +429,14 @@ export declare class Query {
|
|
|
429
429
|
* sortBy: "desc(field_name)"
|
|
430
430
|
* })
|
|
431
431
|
*/
|
|
432
|
-
listSettlementsOrg(orgId: number, request?: Payabli.ListSettlementsOrgRequest, requestOptions?:
|
|
432
|
+
listSettlementsOrg(orgId: number, request?: Payabli.ListSettlementsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseSettlements>;
|
|
433
433
|
private __listSettlementsOrg;
|
|
434
434
|
/**
|
|
435
435
|
* Returns a list of subscriptions for a single paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
436
436
|
*
|
|
437
437
|
* @param {Payabli.Entry} entry
|
|
438
438
|
* @param {Payabli.ListSubscriptionsRequest} request
|
|
439
|
-
* @param {
|
|
439
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
440
440
|
*
|
|
441
441
|
* @throws {@link Payabli.BadRequestError}
|
|
442
442
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -450,14 +450,14 @@ export declare class Query {
|
|
|
450
450
|
* sortBy: "desc(field_name)"
|
|
451
451
|
* })
|
|
452
452
|
*/
|
|
453
|
-
listSubscriptions(entry: Payabli.Entry, request?: Payabli.ListSubscriptionsRequest, requestOptions?:
|
|
453
|
+
listSubscriptions(entry: Payabli.Entry, request?: Payabli.ListSubscriptionsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QuerySubscriptionResponse>;
|
|
454
454
|
private __listSubscriptions;
|
|
455
455
|
/**
|
|
456
456
|
* Returns a list of subscriptions for a single org. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
457
457
|
*
|
|
458
458
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
459
459
|
* @param {Payabli.ListSubscriptionsOrgRequest} request
|
|
460
|
-
* @param {
|
|
460
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
461
461
|
*
|
|
462
462
|
* @throws {@link Payabli.BadRequestError}
|
|
463
463
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -471,7 +471,7 @@ export declare class Query {
|
|
|
471
471
|
* sortBy: "desc(field_name)"
|
|
472
472
|
* })
|
|
473
473
|
*/
|
|
474
|
-
listSubscriptionsOrg(orgId: number, request?: Payabli.ListSubscriptionsOrgRequest, requestOptions?:
|
|
474
|
+
listSubscriptionsOrg(orgId: number, request?: Payabli.ListSubscriptionsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QuerySubscriptionResponse>;
|
|
475
475
|
private __listSubscriptionsOrg;
|
|
476
476
|
/**
|
|
477
477
|
* Retrieve a list of transactions for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
@@ -485,7 +485,7 @@ export declare class Query {
|
|
|
485
485
|
*
|
|
486
486
|
* @param {Payabli.Entry} entry
|
|
487
487
|
* @param {Payabli.ListTransactionsRequest} request
|
|
488
|
-
* @param {
|
|
488
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
489
489
|
*
|
|
490
490
|
* @throws {@link Payabli.BadRequestError}
|
|
491
491
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -499,7 +499,7 @@ export declare class Query {
|
|
|
499
499
|
* sortBy: "desc(field_name)"
|
|
500
500
|
* })
|
|
501
501
|
*/
|
|
502
|
-
listTransactions(entry: Payabli.Entry, request?: Payabli.ListTransactionsRequest, requestOptions?:
|
|
502
|
+
listTransactions(entry: Payabli.Entry, request?: Payabli.ListTransactionsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseTransactions>;
|
|
503
503
|
private __listTransactions;
|
|
504
504
|
/**
|
|
505
505
|
*
|
|
@@ -520,7 +520,7 @@ export declare class Query {
|
|
|
520
520
|
*
|
|
521
521
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
522
522
|
* @param {Payabli.ListTransactionsOrgRequest} request
|
|
523
|
-
* @param {
|
|
523
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
524
524
|
*
|
|
525
525
|
* @throws {@link Payabli.BadRequestError}
|
|
526
526
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -534,7 +534,7 @@ export declare class Query {
|
|
|
534
534
|
* sortBy: "desc(field_name)"
|
|
535
535
|
* })
|
|
536
536
|
*/
|
|
537
|
-
listTransactionsOrg(orgId: number, request?: Payabli.ListTransactionsOrgRequest, requestOptions?:
|
|
537
|
+
listTransactionsOrg(orgId: number, request?: Payabli.ListTransactionsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseTransactions>;
|
|
538
538
|
private __listTransactionsOrg;
|
|
539
539
|
/**
|
|
540
540
|
* Retrieve a list of transfer details records for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
@@ -542,7 +542,7 @@ export declare class Query {
|
|
|
542
542
|
* @param {Payabli.Entry} entry
|
|
543
543
|
* @param {number} transferId - The numeric identifier for the transfer, assigned by Payabli.
|
|
544
544
|
* @param {Payabli.ListTransfersPaypointRequest} request
|
|
545
|
-
* @param {
|
|
545
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
546
546
|
*
|
|
547
547
|
* @throws {@link Payabli.BadRequestError}
|
|
548
548
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -552,14 +552,14 @@ export declare class Query {
|
|
|
552
552
|
* @example
|
|
553
553
|
* await client.query.listTransferDetails("47862acd", 123456)
|
|
554
554
|
*/
|
|
555
|
-
listTransferDetails(entry: Payabli.Entry, transferId: number, request?: Payabli.ListTransfersPaypointRequest, requestOptions?:
|
|
555
|
+
listTransferDetails(entry: Payabli.Entry, transferId: number, request?: Payabli.ListTransfersPaypointRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryTransferDetailResponse>;
|
|
556
556
|
private __listTransferDetails;
|
|
557
557
|
/**
|
|
558
558
|
* Retrieve a list of transfers for a paypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
559
559
|
*
|
|
560
560
|
* @param {Payabli.Entry} entry
|
|
561
561
|
* @param {Payabli.ListTransfersRequest} request
|
|
562
|
-
* @param {
|
|
562
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
563
563
|
*
|
|
564
564
|
* @throws {@link Payabli.BadRequestError}
|
|
565
565
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -572,13 +572,13 @@ export declare class Query {
|
|
|
572
572
|
* limitRecord: 20
|
|
573
573
|
* })
|
|
574
574
|
*/
|
|
575
|
-
listTransfers(entry: Payabli.Entry, request?: Payabli.ListTransfersRequest, requestOptions?:
|
|
575
|
+
listTransfers(entry: Payabli.Entry, request?: Payabli.ListTransfersRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.TransferQueryResponse>;
|
|
576
576
|
private __listTransfers;
|
|
577
577
|
/**
|
|
578
578
|
* Retrieve a list of transfers for an org. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
579
579
|
*
|
|
580
580
|
* @param {Payabli.ListTransfersRequestOrg} request
|
|
581
|
-
* @param {
|
|
581
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
582
582
|
*
|
|
583
583
|
* @throws {@link Payabli.BadRequestError}
|
|
584
584
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -592,14 +592,14 @@ export declare class Query {
|
|
|
592
592
|
* limitRecord: 20
|
|
593
593
|
* })
|
|
594
594
|
*/
|
|
595
|
-
listTransfersOrg(request: Payabli.ListTransfersRequestOrg, requestOptions?:
|
|
595
|
+
listTransfersOrg(request: Payabli.ListTransfersRequestOrg, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.TransferQueryResponse>;
|
|
596
596
|
private __listTransfersOrg;
|
|
597
597
|
/**
|
|
598
598
|
* Get list of users for an org. Use filters to limit results.
|
|
599
599
|
*
|
|
600
600
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
601
601
|
* @param {Payabli.ListUsersOrgRequest} request
|
|
602
|
-
* @param {
|
|
602
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
603
603
|
*
|
|
604
604
|
* @throws {@link Payabli.BadRequestError}
|
|
605
605
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -613,14 +613,14 @@ export declare class Query {
|
|
|
613
613
|
* sortBy: "desc(field_name)"
|
|
614
614
|
* })
|
|
615
615
|
*/
|
|
616
|
-
listUsersOrg(orgId: number, request?: Payabli.ListUsersOrgRequest, requestOptions?:
|
|
616
|
+
listUsersOrg(orgId: number, request?: Payabli.ListUsersOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryUserResponse>;
|
|
617
617
|
private __listUsersOrg;
|
|
618
618
|
/**
|
|
619
619
|
* Get list of users for a paypoint. Use filters to limit results.
|
|
620
620
|
*
|
|
621
621
|
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
622
622
|
* @param {Payabli.ListUsersPaypointRequest} request
|
|
623
|
-
* @param {
|
|
623
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
624
624
|
*
|
|
625
625
|
* @throws {@link Payabli.BadRequestError}
|
|
626
626
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -634,14 +634,14 @@ export declare class Query {
|
|
|
634
634
|
* sortBy: "desc(field_name)"
|
|
635
635
|
* })
|
|
636
636
|
*/
|
|
637
|
-
listUsersPaypoint(entry: string, request?: Payabli.ListUsersPaypointRequest, requestOptions?:
|
|
637
|
+
listUsersPaypoint(entry: string, request?: Payabli.ListUsersPaypointRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryUserResponse>;
|
|
638
638
|
private __listUsersPaypoint;
|
|
639
639
|
/**
|
|
640
640
|
* Retrieve a list of vendors for an entrypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
641
641
|
*
|
|
642
642
|
* @param {string} entry - The paypoint's entrypoint identifier. [Learn more](/api-reference/api-overview#entrypoint-vs-entry)
|
|
643
643
|
* @param {Payabli.ListVendorsRequest} request
|
|
644
|
-
* @param {
|
|
644
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
645
645
|
*
|
|
646
646
|
* @throws {@link Payabli.BadRequestError}
|
|
647
647
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -655,14 +655,14 @@ export declare class Query {
|
|
|
655
655
|
* sortBy: "desc(field_name)"
|
|
656
656
|
* })
|
|
657
657
|
*/
|
|
658
|
-
listVendors(entry: string, request?: Payabli.ListVendorsRequest, requestOptions?:
|
|
658
|
+
listVendors(entry: string, request?: Payabli.ListVendorsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseVendors>;
|
|
659
659
|
private __listVendors;
|
|
660
660
|
/**
|
|
661
661
|
* Retrieve a list of vendors for an organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
662
662
|
*
|
|
663
663
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
664
664
|
* @param {Payabli.ListVendorsOrgRequest} request
|
|
665
|
-
* @param {
|
|
665
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
666
666
|
*
|
|
667
667
|
* @throws {@link Payabli.BadRequestError}
|
|
668
668
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -676,14 +676,14 @@ export declare class Query {
|
|
|
676
676
|
* sortBy: "desc(field_name)"
|
|
677
677
|
* })
|
|
678
678
|
*/
|
|
679
|
-
listVendorsOrg(orgId: number, request?: Payabli.ListVendorsOrgRequest, requestOptions?:
|
|
679
|
+
listVendorsOrg(orgId: number, request?: Payabli.ListVendorsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryResponseVendors>;
|
|
680
680
|
private __listVendorsOrg;
|
|
681
681
|
/**
|
|
682
682
|
* Retrieve a list of vcards (virtual credit cards) issued for an entrypoint. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
683
683
|
*
|
|
684
684
|
* @param {Payabli.Entry} entry
|
|
685
685
|
* @param {Payabli.ListVcardsRequest} request
|
|
686
|
-
* @param {
|
|
686
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
687
687
|
*
|
|
688
688
|
* @throws {@link Payabli.BadRequestError}
|
|
689
689
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -697,14 +697,14 @@ export declare class Query {
|
|
|
697
697
|
* sortBy: "desc(field_name)"
|
|
698
698
|
* })
|
|
699
699
|
*/
|
|
700
|
-
listVcards(entry: Payabli.Entry, request?: Payabli.ListVcardsRequest, requestOptions?:
|
|
700
|
+
listVcards(entry: Payabli.Entry, request?: Payabli.ListVcardsRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.VCardQueryResponse>;
|
|
701
701
|
private __listVcards;
|
|
702
702
|
/**
|
|
703
703
|
* Retrieve a list of vcards (virtual credit cards) issued for an organization. Use filters to limit results. Include the `exportFormat` query parameter to return the results as a file instead of a JSON response.
|
|
704
704
|
*
|
|
705
705
|
* @param {number} orgId - The numeric identifier for organization, assigned by Payabli.
|
|
706
706
|
* @param {Payabli.ListVcardsOrgRequest} request
|
|
707
|
-
* @param {
|
|
707
|
+
* @param {QueryClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
708
708
|
*
|
|
709
709
|
* @throws {@link Payabli.BadRequestError}
|
|
710
710
|
* @throws {@link Payabli.UnauthorizedError}
|
|
@@ -718,7 +718,6 @@ export declare class Query {
|
|
|
718
718
|
* sortBy: "desc(field_name)"
|
|
719
719
|
* })
|
|
720
720
|
*/
|
|
721
|
-
listVcardsOrg(orgId: number, request?: Payabli.ListVcardsOrgRequest, requestOptions?:
|
|
721
|
+
listVcardsOrg(orgId: number, request?: Payabli.ListVcardsOrgRequest, requestOptions?: QueryClient.RequestOptions): core.HttpResponsePromise<Payabli.VCardQueryResponse>;
|
|
722
722
|
private __listVcardsOrg;
|
|
723
|
-
protected _getCustomAuthorizationHeaders(): Promise<Record<string, string | undefined>>;
|
|
724
723
|
}
|