@payabli/sdk-node 0.0.143 → 0.0.145
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 +10 -2
- package/dist/cjs/BaseClient.d.ts +3 -0
- package/dist/cjs/BaseClient.js +17 -2
- package/dist/cjs/api/resources/bill/client/Client.js +35 -11
- package/dist/cjs/api/resources/boarding/client/Client.d.ts +38 -0
- package/dist/cjs/api/resources/boarding/client/Client.js +152 -11
- package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointRequest.d.ts +15 -0
- package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointRequest.js +3 -0
- package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointResponse.d.ts +20 -0
- package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointResponse.js +3 -0
- package/dist/cjs/api/resources/boarding/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/boarding/types/index.js +2 -0
- package/dist/cjs/api/resources/chargeBacks/client/Client.js +3 -3
- package/dist/cjs/api/resources/checkCapture/client/Client.js +1 -1
- package/dist/cjs/api/resources/cloud/client/Client.js +8 -4
- package/dist/cjs/api/resources/customer/client/Client.js +10 -6
- package/dist/cjs/api/resources/export/client/Client.js +145 -29
- package/dist/cjs/api/resources/ghostCard/client/Client.js +2 -2
- package/dist/cjs/api/resources/hostedPaymentPages/client/Client.js +3 -3
- package/dist/cjs/api/resources/import/client/Client.js +7 -3
- package/dist/cjs/api/resources/invoice/client/Client.js +35 -11
- package/dist/cjs/api/resources/lineItem/client/Client.js +9 -5
- package/dist/cjs/api/resources/management/client/Client.js +1 -1
- package/dist/cjs/api/resources/moneyIn/client/Client.js +43 -19
- package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +5 -1
- package/dist/cjs/api/resources/moneyOut/client/Client.js +25 -13
- package/dist/cjs/api/resources/notification/client/Client.js +5 -5
- package/dist/cjs/api/resources/notificationlogs/client/Client.js +8 -4
- package/dist/cjs/api/resources/ocr/client/Client.js +2 -2
- package/dist/cjs/api/resources/organization/client/Client.js +7 -7
- package/dist/cjs/api/resources/paymentLink/client/Client.js +31 -11
- package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +11 -7
- package/dist/cjs/api/resources/payoutSubscription/client/Client.js +4 -4
- package/dist/cjs/api/resources/paypoint/client/Client.js +12 -8
- package/dist/cjs/api/resources/query/client/Client.d.ts +58 -0
- package/dist/cjs/api/resources/query/client/Client.js +368 -40
- package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsOrgRequest.d.ts +9 -0
- package/dist/cjs/api/resources/query/client/requests/ListTransactionsRequest.d.ts +9 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +8 -6
- package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +8 -6
- package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.d.ts +72 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsRequest.d.ts +72 -0
- package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsRequest.js +3 -0
- package/dist/cjs/api/resources/query/client/requests/ListVendorsOrgRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/ListVendorsRequest.d.ts +1 -0
- package/dist/cjs/api/resources/query/client/requests/index.d.ts +2 -0
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +2 -0
- package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.d.ts +2 -0
- package/dist/cjs/api/resources/queryTypes/types/VCardTransactionQueryResponse.d.ts +49 -0
- package/dist/cjs/api/resources/queryTypes/types/VCardTransactionQueryResponse.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/VCardTransactionRecord.d.ts +86 -0
- package/dist/cjs/api/resources/queryTypes/types/VCardTransactionRecord.js +3 -0
- package/dist/cjs/api/resources/queryTypes/types/index.d.ts +2 -0
- package/dist/cjs/api/resources/queryTypes/types/index.js +2 -0
- package/dist/cjs/api/resources/statistic/client/Client.js +20 -4
- package/dist/cjs/api/resources/subscription/client/Client.js +8 -4
- package/dist/cjs/api/resources/templates/client/Client.js +8 -4
- package/dist/cjs/api/resources/tokenStorage/client/Client.js +16 -4
- package/dist/cjs/api/resources/user/client/Client.js +16 -12
- package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +1 -1
- package/dist/cjs/api/resources/vendor/client/Client.js +5 -5
- package/dist/cjs/api/resources/wallet/client/Client.js +4 -4
- package/dist/cjs/api/types/AutoCapture.d.ts +5 -1
- package/dist/cjs/api/types/CustomerQueryRecords.d.ts +10 -8
- package/dist/cjs/api/types/CustomerSummaryRecord.d.ts +4 -4
- package/dist/cjs/api/types/QueryResponseTransactions.d.ts +74 -0
- package/dist/cjs/api/types/SplitCount.d.ts +4 -0
- package/dist/cjs/api/types/SplitCount.js +3 -0
- package/dist/cjs/api/types/SubscriptionQueryRecords.d.ts +11 -1
- package/dist/cjs/api/types/TransactionQueryRecords.d.ts +2 -1
- package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +1 -0
- package/dist/cjs/api/types/VCardSummary.d.ts +4 -2
- package/dist/cjs/api/types/VendorResponseStoredMethod.d.ts +2 -1
- package/dist/cjs/api/types/index.d.ts +1 -0
- package/dist/cjs/api/types/index.js +1 -0
- package/dist/cjs/core/auth/AuthProvider.d.ts +1 -0
- package/dist/cjs/core/auth/AuthProvider.js +7 -0
- package/dist/cjs/core/auth/index.d.ts +1 -1
- package/dist/cjs/core/auth/index.js +3 -1
- package/dist/cjs/core/fetcher/Fetcher.d.ts +6 -0
- package/dist/cjs/core/fetcher/Fetcher.js +9 -8
- package/dist/cjs/core/fetcher/requestWithRetries.js +4 -1
- package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
- package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
- package/dist/cjs/core/url/index.d.ts +1 -0
- package/dist/cjs/core/url/index.js +3 -1
- package/dist/cjs/core/url/qs.d.ts +2 -1
- package/dist/cjs/core/url/qs.js +24 -12
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.d.mts +3 -0
- package/dist/esm/BaseClient.mjs +17 -2
- package/dist/esm/api/resources/bill/client/Client.mjs +35 -11
- package/dist/esm/api/resources/boarding/client/Client.d.mts +38 -0
- package/dist/esm/api/resources/boarding/client/Client.mjs +152 -11
- package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointRequest.d.mts +15 -0
- package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointRequest.mjs +2 -0
- package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointResponse.d.mts +20 -0
- package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointResponse.mjs +2 -0
- package/dist/esm/api/resources/boarding/types/index.d.mts +2 -0
- package/dist/esm/api/resources/boarding/types/index.mjs +2 -0
- package/dist/esm/api/resources/chargeBacks/client/Client.mjs +3 -3
- package/dist/esm/api/resources/checkCapture/client/Client.mjs +1 -1
- package/dist/esm/api/resources/cloud/client/Client.mjs +8 -4
- package/dist/esm/api/resources/customer/client/Client.mjs +10 -6
- package/dist/esm/api/resources/export/client/Client.mjs +145 -29
- package/dist/esm/api/resources/ghostCard/client/Client.mjs +2 -2
- package/dist/esm/api/resources/hostedPaymentPages/client/Client.mjs +3 -3
- package/dist/esm/api/resources/import/client/Client.mjs +7 -3
- package/dist/esm/api/resources/invoice/client/Client.mjs +35 -11
- package/dist/esm/api/resources/lineItem/client/Client.mjs +9 -5
- package/dist/esm/api/resources/management/client/Client.mjs +1 -1
- package/dist/esm/api/resources/moneyIn/client/Client.mjs +43 -19
- package/dist/esm/api/resources/moneyOut/client/Client.d.mts +5 -1
- package/dist/esm/api/resources/moneyOut/client/Client.mjs +25 -13
- package/dist/esm/api/resources/notification/client/Client.mjs +5 -5
- package/dist/esm/api/resources/notificationlogs/client/Client.mjs +8 -4
- package/dist/esm/api/resources/ocr/client/Client.mjs +2 -2
- package/dist/esm/api/resources/organization/client/Client.mjs +7 -7
- package/dist/esm/api/resources/paymentLink/client/Client.mjs +31 -11
- package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +11 -7
- package/dist/esm/api/resources/payoutSubscription/client/Client.mjs +4 -4
- package/dist/esm/api/resources/paypoint/client/Client.mjs +12 -8
- package/dist/esm/api/resources/query/client/Client.d.mts +58 -0
- package/dist/esm/api/resources/query/client/Client.mjs +368 -40
- package/dist/esm/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/ListSubscriptionsRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/ListTransactionsOrgRequest.d.mts +9 -0
- package/dist/esm/api/resources/query/client/requests/ListTransactionsRequest.d.mts +9 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +8 -6
- package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +8 -6
- package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.d.mts +72 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsRequest.d.mts +72 -0
- package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsRequest.mjs +2 -0
- package/dist/esm/api/resources/query/client/requests/ListVendorsOrgRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/ListVendorsRequest.d.mts +1 -0
- package/dist/esm/api/resources/query/client/requests/index.d.mts +2 -0
- package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +2 -0
- package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.d.mts +2 -0
- package/dist/esm/api/resources/queryTypes/types/VCardTransactionQueryResponse.d.mts +49 -0
- package/dist/esm/api/resources/queryTypes/types/VCardTransactionQueryResponse.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/VCardTransactionRecord.d.mts +86 -0
- package/dist/esm/api/resources/queryTypes/types/VCardTransactionRecord.mjs +2 -0
- package/dist/esm/api/resources/queryTypes/types/index.d.mts +2 -0
- package/dist/esm/api/resources/queryTypes/types/index.mjs +2 -0
- package/dist/esm/api/resources/statistic/client/Client.mjs +20 -4
- package/dist/esm/api/resources/subscription/client/Client.mjs +8 -4
- package/dist/esm/api/resources/templates/client/Client.mjs +8 -4
- package/dist/esm/api/resources/tokenStorage/client/Client.mjs +16 -4
- package/dist/esm/api/resources/user/client/Client.mjs +16 -12
- package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +1 -1
- package/dist/esm/api/resources/vendor/client/Client.mjs +5 -5
- package/dist/esm/api/resources/wallet/client/Client.mjs +4 -4
- package/dist/esm/api/types/AutoCapture.d.mts +5 -1
- package/dist/esm/api/types/CustomerQueryRecords.d.mts +10 -8
- package/dist/esm/api/types/CustomerSummaryRecord.d.mts +4 -4
- package/dist/esm/api/types/QueryResponseTransactions.d.mts +74 -0
- package/dist/esm/api/types/SplitCount.d.mts +4 -0
- package/dist/esm/api/types/SplitCount.mjs +2 -0
- package/dist/esm/api/types/SubscriptionQueryRecords.d.mts +11 -1
- package/dist/esm/api/types/TransactionQueryRecords.d.mts +2 -1
- package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +1 -0
- package/dist/esm/api/types/VCardSummary.d.mts +4 -2
- package/dist/esm/api/types/VendorResponseStoredMethod.d.mts +2 -1
- package/dist/esm/api/types/index.d.mts +1 -0
- package/dist/esm/api/types/index.mjs +1 -0
- package/dist/esm/core/auth/AuthProvider.d.mts +1 -0
- package/dist/esm/core/auth/AuthProvider.mjs +6 -1
- package/dist/esm/core/auth/index.d.mts +1 -1
- package/dist/esm/core/auth/index.mjs +1 -0
- package/dist/esm/core/fetcher/Fetcher.d.mts +6 -0
- package/dist/esm/core/fetcher/Fetcher.mjs +9 -8
- package/dist/esm/core/fetcher/requestWithRetries.mjs +4 -1
- package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
- package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
- package/dist/esm/core/url/index.d.mts +1 -0
- package/dist/esm/core/url/index.mjs +1 -0
- package/dist/esm/core/url/qs.d.mts +2 -1
- package/dist/esm/core/url/qs.mjs +24 -12
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
- package/reference.md +287 -1
|
@@ -82,7 +82,7 @@ class TemplatesClient {
|
|
|
82
82
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Templates/${core.url.encodePathParam(templateId)}`),
|
|
83
83
|
method: "DELETE",
|
|
84
84
|
headers: _headers,
|
|
85
|
-
|
|
85
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
86
86
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
87
87
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
88
88
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -140,7 +140,7 @@ class TemplatesClient {
|
|
|
140
140
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Templates/getlink/${core.url.encodePathParam(templateId)}/${core.url.encodePathParam(ignoreEmpty)}`),
|
|
141
141
|
method: "GET",
|
|
142
142
|
headers: _headers,
|
|
143
|
-
|
|
143
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
144
144
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
145
145
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
146
146
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -197,7 +197,7 @@ class TemplatesClient {
|
|
|
197
197
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Templates/get/${core.url.encodePathParam(templateId)}`),
|
|
198
198
|
method: "GET",
|
|
199
199
|
headers: _headers,
|
|
200
|
-
|
|
200
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
201
201
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
202
202
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
203
203
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -261,7 +261,11 @@ class TemplatesClient {
|
|
|
261
261
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Query/templates/${core.url.encodePathParam(orgId)}`),
|
|
262
262
|
method: "GET",
|
|
263
263
|
headers: _headers,
|
|
264
|
-
|
|
264
|
+
queryString: core.url
|
|
265
|
+
.queryBuilder()
|
|
266
|
+
.addMany(_queryParams)
|
|
267
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
268
|
+
.build(),
|
|
265
269
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
266
270
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
267
271
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -181,7 +181,11 @@ class TokenStorageClient {
|
|
|
181
181
|
method: "POST",
|
|
182
182
|
headers: _headers,
|
|
183
183
|
contentType: "application/json",
|
|
184
|
-
|
|
184
|
+
queryString: core.url
|
|
185
|
+
.queryBuilder()
|
|
186
|
+
.addMany(_queryParams)
|
|
187
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
188
|
+
.build(),
|
|
185
189
|
requestType: "json",
|
|
186
190
|
body: _body,
|
|
187
191
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -255,7 +259,11 @@ class TokenStorageClient {
|
|
|
255
259
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `TokenStorage/${core.url.encodePathParam(methodId)}`),
|
|
256
260
|
method: "GET",
|
|
257
261
|
headers: _headers,
|
|
258
|
-
|
|
262
|
+
queryString: core.url
|
|
263
|
+
.queryBuilder()
|
|
264
|
+
.addMany(_queryParams)
|
|
265
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
266
|
+
.build(),
|
|
259
267
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
260
268
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
261
269
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -312,7 +320,7 @@ class TokenStorageClient {
|
|
|
312
320
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `TokenStorage/${core.url.encodePathParam(methodId)}`),
|
|
313
321
|
method: "DELETE",
|
|
314
322
|
headers: _headers,
|
|
315
|
-
|
|
323
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
316
324
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
317
325
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
318
326
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -430,7 +438,11 @@ class TokenStorageClient {
|
|
|
430
438
|
method: "PUT",
|
|
431
439
|
headers: _headers,
|
|
432
440
|
contentType: "application/json",
|
|
433
|
-
|
|
441
|
+
queryString: core.url
|
|
442
|
+
.queryBuilder()
|
|
443
|
+
.addMany(_queryParams)
|
|
444
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
445
|
+
.build(),
|
|
434
446
|
requestType: "json",
|
|
435
447
|
body: _body,
|
|
436
448
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -82,7 +82,7 @@ class UserClient {
|
|
|
82
82
|
method: "POST",
|
|
83
83
|
headers: _headers,
|
|
84
84
|
contentType: "application/json",
|
|
85
|
-
|
|
85
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
86
86
|
requestType: "json",
|
|
87
87
|
body: request,
|
|
88
88
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -140,7 +140,7 @@ class UserClient {
|
|
|
140
140
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, "User/authrefresh"),
|
|
141
141
|
method: "POST",
|
|
142
142
|
headers: _headers,
|
|
143
|
-
|
|
143
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
144
144
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
145
145
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
146
146
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -198,7 +198,7 @@ class UserClient {
|
|
|
198
198
|
method: "POST",
|
|
199
199
|
headers: _headers,
|
|
200
200
|
contentType: "application/json",
|
|
201
|
-
|
|
201
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
202
202
|
requestType: "json",
|
|
203
203
|
body: request,
|
|
204
204
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -259,7 +259,7 @@ class UserClient {
|
|
|
259
259
|
method: "POST",
|
|
260
260
|
headers: _headers,
|
|
261
261
|
contentType: "application/json",
|
|
262
|
-
|
|
262
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
263
263
|
requestType: "json",
|
|
264
264
|
body: request,
|
|
265
265
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -319,7 +319,7 @@ class UserClient {
|
|
|
319
319
|
method: "PUT",
|
|
320
320
|
headers: _headers,
|
|
321
321
|
contentType: "application/json",
|
|
322
|
-
|
|
322
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
323
323
|
requestType: "json",
|
|
324
324
|
body: request,
|
|
325
325
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -378,7 +378,7 @@ class UserClient {
|
|
|
378
378
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `User/${core.url.encodePathParam(userId)}`),
|
|
379
379
|
method: "DELETE",
|
|
380
380
|
headers: _headers,
|
|
381
|
-
|
|
381
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
382
382
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
383
383
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
384
384
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -437,7 +437,7 @@ class UserClient {
|
|
|
437
437
|
method: "PUT",
|
|
438
438
|
headers: _headers,
|
|
439
439
|
contentType: "application/json",
|
|
440
|
-
|
|
440
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
441
441
|
requestType: "json",
|
|
442
442
|
body: request,
|
|
443
443
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -498,7 +498,7 @@ class UserClient {
|
|
|
498
498
|
method: "PUT",
|
|
499
499
|
headers: _headers,
|
|
500
500
|
contentType: "application/json",
|
|
501
|
-
|
|
501
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
502
502
|
requestType: "json",
|
|
503
503
|
body: request,
|
|
504
504
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -565,7 +565,11 @@ class UserClient {
|
|
|
565
565
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `User/${core.url.encodePathParam(userId)}`),
|
|
566
566
|
method: "GET",
|
|
567
567
|
headers: _headers,
|
|
568
|
-
|
|
568
|
+
queryString: core.url
|
|
569
|
+
.queryBuilder()
|
|
570
|
+
.addMany(_queryParams)
|
|
571
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
572
|
+
.build(),
|
|
569
573
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
570
574
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
571
575
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -621,7 +625,7 @@ class UserClient {
|
|
|
621
625
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, "User/authlogout"),
|
|
622
626
|
method: "GET",
|
|
623
627
|
headers: _headers,
|
|
624
|
-
|
|
628
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
625
629
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
626
630
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
627
631
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -680,7 +684,7 @@ class UserClient {
|
|
|
680
684
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `User/resendmfa/${core.url.encodePathParam(usrname)}/${core.url.encodePathParam(Entry)}/${core.url.encodePathParam(EntryType)}`),
|
|
681
685
|
method: "POST",
|
|
682
686
|
headers: _headers,
|
|
683
|
-
|
|
687
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
684
688
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
685
689
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
686
690
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -733,7 +737,7 @@ class UserClient {
|
|
|
733
737
|
method: "POST",
|
|
734
738
|
headers: _headers,
|
|
735
739
|
contentType: "application/json",
|
|
736
|
-
|
|
740
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
737
741
|
requestType: "json",
|
|
738
742
|
body: request,
|
|
739
743
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -994,7 +994,7 @@ export interface V2TransactionDetails {
|
|
|
994
994
|
riskActionCode?: Payabli.RiskActionCode | undefined;
|
|
995
995
|
deviceId: Payabli.Device;
|
|
996
996
|
achSecCode: Payabli.AchSecCode;
|
|
997
|
-
achHolderType: Payabli.AchHolderType;
|
|
997
|
+
achHolderType: Payabli.AchHolderType | null;
|
|
998
998
|
ipAddress: Payabli.IpAddress;
|
|
999
999
|
/** Indicates if ACH transaction uses same-day processing. */
|
|
1000
1000
|
isSameDayACH: boolean;
|
|
@@ -126,7 +126,7 @@ class VendorClient {
|
|
|
126
126
|
method: "POST",
|
|
127
127
|
headers: _headers,
|
|
128
128
|
contentType: "application/json",
|
|
129
|
-
|
|
129
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
130
130
|
requestType: "json",
|
|
131
131
|
body: request,
|
|
132
132
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -185,7 +185,7 @@ class VendorClient {
|
|
|
185
185
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Vendor/${core.url.encodePathParam(idVendor)}`),
|
|
186
186
|
method: "DELETE",
|
|
187
187
|
headers: _headers,
|
|
188
|
-
|
|
188
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
189
189
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
190
190
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
191
191
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -246,7 +246,7 @@ class VendorClient {
|
|
|
246
246
|
method: "PUT",
|
|
247
247
|
headers: _headers,
|
|
248
248
|
contentType: "application/json",
|
|
249
|
-
|
|
249
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
250
250
|
requestType: "json",
|
|
251
251
|
body: request,
|
|
252
252
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -300,7 +300,7 @@ class VendorClient {
|
|
|
300
300
|
url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Vendor/${core.url.encodePathParam(idVendor)}`),
|
|
301
301
|
method: "GET",
|
|
302
302
|
headers: _headers,
|
|
303
|
-
|
|
303
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
304
304
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
305
305
|
maxRetries: (_g = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.maxRetries) !== null && _g !== void 0 ? _g : (_h = this._options) === null || _h === void 0 ? void 0 : _h.maxRetries,
|
|
306
306
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -374,7 +374,7 @@ class VendorClient {
|
|
|
374
374
|
method: "POST",
|
|
375
375
|
headers: _headers,
|
|
376
376
|
contentType: "application/json",
|
|
377
|
-
|
|
377
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
378
378
|
requestType: "json",
|
|
379
379
|
body: request,
|
|
380
380
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -86,7 +86,7 @@ class WalletClient {
|
|
|
86
86
|
method: "POST",
|
|
87
87
|
headers: _headers,
|
|
88
88
|
contentType: "application/json",
|
|
89
|
-
|
|
89
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
90
90
|
requestType: "json",
|
|
91
91
|
body: request,
|
|
92
92
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -152,7 +152,7 @@ class WalletClient {
|
|
|
152
152
|
method: "POST",
|
|
153
153
|
headers: _headers,
|
|
154
154
|
contentType: "application/json",
|
|
155
|
-
|
|
155
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
156
156
|
requestType: "json",
|
|
157
157
|
body: request,
|
|
158
158
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -219,7 +219,7 @@ class WalletClient {
|
|
|
219
219
|
method: "POST",
|
|
220
220
|
headers: _headers,
|
|
221
221
|
contentType: "application/json",
|
|
222
|
-
|
|
222
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
223
223
|
requestType: "json",
|
|
224
224
|
body: request,
|
|
225
225
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -280,7 +280,7 @@ class WalletClient {
|
|
|
280
280
|
method: "POST",
|
|
281
281
|
headers: _headers,
|
|
282
282
|
contentType: "application/json",
|
|
283
|
-
|
|
283
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
284
284
|
requestType: "json",
|
|
285
285
|
body: request,
|
|
286
286
|
timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
|
|
@@ -1,4 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* When `true`, the transaction
|
|
2
|
+
* When `true`, Payabli captures the transaction asynchronously after a successful authorization. The authorization request returns once the transaction is authorized; capture happens later, and the response doesn't confirm capture. To confirm capture succeeded, listen for the [`payout_transaction_approvedcaptured`](/developers/webhooks/payout-transaction-approved-captured) webhook event.
|
|
3
|
+
*
|
|
4
|
+
* When `false`, you must manually capture the transaction after a successful authorization. Defaults to `false`.
|
|
5
|
+
*
|
|
6
|
+
* See [Manage payouts with the API](/guides/pay-out-developer-payouts-manage) for more information.
|
|
3
7
|
*/
|
|
4
8
|
export type AutoCapture = boolean;
|
|
@@ -97,18 +97,19 @@ import type * as Payabli from "../index.js";
|
|
|
97
97
|
* method: "card"
|
|
98
98
|
* }],
|
|
99
99
|
* customerSummary: {
|
|
100
|
-
*
|
|
101
|
-
*
|
|
100
|
+
* NumberofTransactions: 30,
|
|
101
|
+
* RecentTransactions: [{
|
|
102
102
|
* EntrypageId: 0,
|
|
103
103
|
* FeeAmount: 1,
|
|
104
104
|
* PayorId: 1551,
|
|
105
105
|
* PaypointId: 226,
|
|
106
106
|
* SettlementStatus: 2,
|
|
107
|
+
* splitCount: 0,
|
|
107
108
|
* TotalAmount: 30.22,
|
|
108
109
|
* TransStatus: 1
|
|
109
110
|
* }],
|
|
110
|
-
*
|
|
111
|
-
*
|
|
111
|
+
* TotalAmountTransactions: 1500,
|
|
112
|
+
* TotalNetAmountTransactions: 1500
|
|
112
113
|
* },
|
|
113
114
|
* PaypointLegalname: "Sunshine Services, LLC",
|
|
114
115
|
* PaypointDbaname: "Sunshine Gutters",
|
|
@@ -153,18 +154,19 @@ import type * as Payabli from "../index.js";
|
|
|
153
154
|
* },
|
|
154
155
|
* IdentifierFields: ["email"],
|
|
155
156
|
* customerSummary: {
|
|
156
|
-
*
|
|
157
|
-
*
|
|
157
|
+
* NumberofTransactions: 30,
|
|
158
|
+
* RecentTransactions: [{
|
|
158
159
|
* EntrypageId: 0,
|
|
159
160
|
* FeeAmount: 1,
|
|
160
161
|
* PayorId: 1551,
|
|
161
162
|
* PaypointId: 226,
|
|
162
163
|
* SettlementStatus: 2,
|
|
164
|
+
* splitCount: 0,
|
|
163
165
|
* TotalAmount: 30.22,
|
|
164
166
|
* TransStatus: 1
|
|
165
167
|
* }],
|
|
166
|
-
*
|
|
167
|
-
*
|
|
168
|
+
* TotalAmountTransactions: 1500,
|
|
169
|
+
* TotalNetAmountTransactions: 1500
|
|
168
170
|
* },
|
|
169
171
|
* PaypointLegalname: "Gruzya Adventure Outfitters, LLC",
|
|
170
172
|
* PaypointDbaname: "Gruzya Adventure Outfitters",
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type * as Payabli from "../index.js";
|
|
2
2
|
export interface CustomerSummaryRecord {
|
|
3
3
|
/** Number total of transactions or payments */
|
|
4
|
-
|
|
4
|
+
NumberofTransactions?: number | undefined;
|
|
5
5
|
/** List of more recent 5 transactions belonging to the customer */
|
|
6
|
-
|
|
6
|
+
RecentTransactions?: Payabli.TransactionQueryRecords[] | undefined;
|
|
7
7
|
/** Total amount in transactions */
|
|
8
|
-
|
|
8
|
+
TotalAmountTransactions?: number | undefined;
|
|
9
9
|
/** Total net amount in transactions */
|
|
10
|
-
|
|
10
|
+
TotalNetAmountTransactions?: number | undefined;
|
|
11
11
|
}
|
|
@@ -1,6 +1,80 @@
|
|
|
1
1
|
import type * as Payabli from "../index.js";
|
|
2
2
|
/**
|
|
3
3
|
* Response payload for queries related to transactions
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* Records: [{
|
|
8
|
+
* ParentOrgName: "RealistRoofing",
|
|
9
|
+
* PaypointDbaname: "Eagle-Pointe",
|
|
10
|
+
* PaypointLegalname: "Eagle-Pointe",
|
|
11
|
+
* PaypointEntryname: "entry399",
|
|
12
|
+
* PaymentTransId: "399-8e7e5fc7-f483-43cc-9e78-d8a36ac857bf",
|
|
13
|
+
* ConnectorName: "GP",
|
|
14
|
+
* Method: "card",
|
|
15
|
+
* PayorId: 155974,
|
|
16
|
+
* PaymentData: {
|
|
17
|
+
* MaskedAccount: "5XXXXXXXXXXX4415",
|
|
18
|
+
* AccountExp: "12/29",
|
|
19
|
+
* HolderName: "RENEE DESCARTES",
|
|
20
|
+
* binData: {
|
|
21
|
+
* binMatchedLength: "9",
|
|
22
|
+
* binCardBrand: "MASTERCARD",
|
|
23
|
+
* binCardType: "CREDIT",
|
|
24
|
+
* binCardCategory: "MIXED PRODUCT",
|
|
25
|
+
* binCardIssuer: "ALLIED IRISH BANKS, PLC",
|
|
26
|
+
* binCardIssuerCountry: "IRELAND",
|
|
27
|
+
* binCardIsRegulated: "False",
|
|
28
|
+
* binCardUseCategory: "PERSONAL"
|
|
29
|
+
* },
|
|
30
|
+
* paymentDetails: {
|
|
31
|
+
* totalAmount: 6.79,
|
|
32
|
+
* serviceFee: 0,
|
|
33
|
+
* currency: "USD"
|
|
34
|
+
* }
|
|
35
|
+
* },
|
|
36
|
+
* TransStatus: -4,
|
|
37
|
+
* PaypointId: 399,
|
|
38
|
+
* splitFundingInstructions: [{}],
|
|
39
|
+
* splitCount: 1,
|
|
40
|
+
* TotalAmount: -6.79,
|
|
41
|
+
* NetAmount: -6.79,
|
|
42
|
+
* FeeAmount: 0,
|
|
43
|
+
* SettlementStatus: 0,
|
|
44
|
+
* Operation: "Reject",
|
|
45
|
+
* Source: "api",
|
|
46
|
+
* OrgId: 39,
|
|
47
|
+
* TransactionTime: "2026-03-02T18:56:23.109188",
|
|
48
|
+
* Customer: {
|
|
49
|
+
* FirstName: "Blaise",
|
|
50
|
+
* LastName: "Pascal",
|
|
51
|
+
* CompanyName: "Pensees LLC",
|
|
52
|
+
* BillingAddress1: "49912 Aufengrupt Pointe",
|
|
53
|
+
* BillingAddress2: "apt 6",
|
|
54
|
+
* BillingCity: "South Litzy",
|
|
55
|
+
* BillingState: "FL",
|
|
56
|
+
* BillingZip: "33000",
|
|
57
|
+
* BillingCountry: "US",
|
|
58
|
+
* BillingPhone: "+18955791994",
|
|
59
|
+
* BillingEmail: "blaise.pascal@gmail.com",
|
|
60
|
+
* CustomerNumber: "o99t",
|
|
61
|
+
* customerId: 155974,
|
|
62
|
+
* customerStatus: 1
|
|
63
|
+
* },
|
|
64
|
+
* TransactionEvents: [{
|
|
65
|
+
* TransEvent: "Created",
|
|
66
|
+
* EventData: "Card Reject - CTDR Id: 1379241",
|
|
67
|
+
* EventTime: "2026-03-02T18:56:23.352035"
|
|
68
|
+
* }]
|
|
69
|
+
* }],
|
|
70
|
+
* Summary: {
|
|
71
|
+
* totalRecords: 14,
|
|
72
|
+
* totalAmount: -79.48,
|
|
73
|
+
* totalNetAmount: -74.41,
|
|
74
|
+
* totalPages: 14,
|
|
75
|
+
* pageSize: 1
|
|
76
|
+
* }
|
|
77
|
+
* }
|
|
4
78
|
*/
|
|
5
79
|
export interface QueryResponseTransactions {
|
|
6
80
|
Records?: Payabli.TransactionQueryRecords[] | undefined;
|
|
@@ -13,7 +13,7 @@ export interface SubscriptionQueryRecords {
|
|
|
13
13
|
Frequency?: string | undefined;
|
|
14
14
|
/** The subscription's ID. */
|
|
15
15
|
IdSub?: number | undefined;
|
|
16
|
-
|
|
16
|
+
invoiceData?: Payabli.BillData | undefined;
|
|
17
17
|
/** The last time the subscription was processed. */
|
|
18
18
|
LastRun: string | null;
|
|
19
19
|
/** The last date and time the subscription was updated. */
|
|
@@ -40,6 +40,16 @@ export interface SubscriptionQueryRecords {
|
|
|
40
40
|
Source?: Payabli.Source | undefined;
|
|
41
41
|
/** The subscription start date. */
|
|
42
42
|
StartDate: string | null;
|
|
43
|
+
/**
|
|
44
|
+
* The full stored payment method record linked to the subscription
|
|
45
|
+
* and charged on each billing cycle. Returned as `null` for legacy
|
|
46
|
+
* subscriptions that don't have a linked stored method.
|
|
47
|
+
*
|
|
48
|
+
* The shape is the same across payment vehicles (card, ACH, check).
|
|
49
|
+
* Only the populated fields differ. For example, `ABA` is populated
|
|
50
|
+
* for ACH, while `ExpDate` and `binData` are populated for card.
|
|
51
|
+
*/
|
|
52
|
+
StoredMethod: Payabli.VendorResponseStoredMethod | null;
|
|
43
53
|
/** Events associated with the subscription. */
|
|
44
54
|
SubEvents?: Payabli.GeneralEvents[] | undefined;
|
|
45
55
|
/**
|
|
@@ -16,7 +16,7 @@ export interface TransactionQueryRecords {
|
|
|
16
16
|
FeeAmount?: Payabli.FeeAmount | undefined;
|
|
17
17
|
/** Internal identifier used for processing. */
|
|
18
18
|
GatewayTransId?: string | undefined;
|
|
19
|
-
|
|
19
|
+
invoiceData?: Payabli.BillData | undefined;
|
|
20
20
|
/** Payment method used: card, ach, or wallet. */
|
|
21
21
|
Method?: string | undefined;
|
|
22
22
|
/** Net amount paid. */
|
|
@@ -48,6 +48,7 @@ export interface TransactionQueryRecords {
|
|
|
48
48
|
SettlementStatus?: number | undefined;
|
|
49
49
|
Source?: Payabli.Source | undefined;
|
|
50
50
|
splitFundingInstructions?: Payabli.SplitFunding | undefined;
|
|
51
|
+
splitCount: Payabli.SplitCount;
|
|
51
52
|
/** Transaction total amount (including service fee or sub-charge) */
|
|
52
53
|
TotalAmount?: number | undefined;
|
|
53
54
|
/** Events associated with this transaction. */
|
|
@@ -48,6 +48,7 @@ export interface TransactionQueryRecordsCustomer {
|
|
|
48
48
|
SettlementStatus?: number | undefined;
|
|
49
49
|
Source?: Payabli.Source | undefined;
|
|
50
50
|
splitFundingInstructions?: Payabli.SplitFunding | undefined;
|
|
51
|
+
splitCount: Payabli.SplitCount;
|
|
51
52
|
/** Transaction total amount (including service fee or sub-charge) */
|
|
52
53
|
TotalAmount?: number | undefined;
|
|
53
54
|
/** Events associated with this transaction. */
|
|
@@ -4,12 +4,14 @@ export interface VCardSummary {
|
|
|
4
4
|
totalRecords: Payabli.Totalrecords;
|
|
5
5
|
/** Total amount for the records. */
|
|
6
6
|
totalAmount: number;
|
|
7
|
+
/** Total net amount for the records. */
|
|
8
|
+
totalNetAmount?: number | undefined;
|
|
7
9
|
/** Total number of active vCards. */
|
|
8
10
|
totalactive: number;
|
|
9
11
|
/** Total amount of active vCards. */
|
|
10
|
-
|
|
12
|
+
totalamountactive: number;
|
|
11
13
|
/** Total balance of active vCards. */
|
|
12
14
|
totalbalanceactive: number;
|
|
13
|
-
|
|
15
|
+
pageidentifier?: Payabli.PageIdentifier | undefined;
|
|
14
16
|
pageSize?: Payabli.Pagesize | undefined;
|
|
15
17
|
}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import type * as Payabli from "../index.js";
|
|
1
2
|
/**
|
|
2
3
|
* Stored payment method information
|
|
3
4
|
*/
|
|
@@ -12,7 +13,7 @@ export interface VendorResponseStoredMethod {
|
|
|
12
13
|
AchHolderType: string | null;
|
|
13
14
|
IsValidatedACH: boolean | null;
|
|
14
15
|
BIN: string | null;
|
|
15
|
-
binData:
|
|
16
|
+
binData: Payabli.BinData | null;
|
|
16
17
|
ABA: string | null;
|
|
17
18
|
PostalCode: string | null;
|
|
18
19
|
MethodType: string | null;
|
|
@@ -503,6 +503,7 @@ export * from "./SignerSsn.js";
|
|
|
503
503
|
export * from "./SignerState.js";
|
|
504
504
|
export * from "./SignerZip.js";
|
|
505
505
|
export * from "./Source.js";
|
|
506
|
+
export * from "./SplitCount.js";
|
|
506
507
|
export * from "./SplitFunding.js";
|
|
507
508
|
export * from "./SplitFundingContent.js";
|
|
508
509
|
export * from "./SplitFundingRefundContent.js";
|
|
@@ -519,6 +519,7 @@ __exportStar(require("./SignerSsn.js"), exports);
|
|
|
519
519
|
__exportStar(require("./SignerState.js"), exports);
|
|
520
520
|
__exportStar(require("./SignerZip.js"), exports);
|
|
521
521
|
__exportStar(require("./Source.js"), exports);
|
|
522
|
+
__exportStar(require("./SplitCount.js"), exports);
|
|
522
523
|
__exportStar(require("./SplitFunding.js"), exports);
|
|
523
524
|
__exportStar(require("./SplitFundingContent.js"), exports);
|
|
524
525
|
__exportStar(require("./SplitFundingRefundContent.js"), exports);
|
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.isAuthProvider = isAuthProvider;
|
|
4
|
+
function isAuthProvider(value) {
|
|
5
|
+
return (typeof value === "object" &&
|
|
6
|
+
value !== null &&
|
|
7
|
+
"getAuthRequest" in value &&
|
|
8
|
+
typeof value.getAuthRequest === "function");
|
|
9
|
+
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type
|
|
1
|
+
export { type AuthProvider, isAuthProvider } from "./AuthProvider.js";
|
|
2
2
|
export type { AuthRequest } from "./AuthRequest.js";
|
|
3
3
|
export { BasicAuth } from "./BasicAuth.js";
|
|
4
4
|
export { BearerToken } from "./BearerToken.js";
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.NoOpAuthProvider = exports.BearerToken = exports.BasicAuth = void 0;
|
|
3
|
+
exports.NoOpAuthProvider = exports.BearerToken = exports.BasicAuth = exports.isAuthProvider = void 0;
|
|
4
|
+
var AuthProvider_js_1 = require("./AuthProvider.js");
|
|
5
|
+
Object.defineProperty(exports, "isAuthProvider", { enumerable: true, get: function () { return AuthProvider_js_1.isAuthProvider; } });
|
|
4
6
|
var BasicAuth_js_1 = require("./BasicAuth.js");
|
|
5
7
|
Object.defineProperty(exports, "BasicAuth", { enumerable: true, get: function () { return BasicAuth_js_1.BasicAuth; } });
|
|
6
8
|
var BearerToken_js_1 = require("./BearerToken.js");
|