@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
|
@@ -70,6 +70,7 @@ export interface ListSubscriptionsOrgRequest {
|
|
|
70
70
|
* - `orgName` (ne, eq, ct, nct)
|
|
71
71
|
* - `externalPaypointId` (ct, nct, ne, eq)
|
|
72
72
|
* - `subId` (eq, ne)
|
|
73
|
+
* - `idPmethod` (eq, ne, ct, nct, in, nin). Filters by the subscription's linked stored method identifier (the value returned in `StoredMethod.IdPmethod`). Case-insensitive. Subscriptions without a linked stored method are excluded from matches. Example: `idPmethod(eq,6edcbb56-9c0e-4003-b3d1-99abf149ba0e)`.
|
|
73
74
|
* - `orderDescription` (ct, nct)
|
|
74
75
|
* - `cycles` (eq, ne, gt, ge, lt, le)
|
|
75
76
|
* - `leftcycles` (eq, ne, gt, ge, lt, le)
|
|
@@ -70,6 +70,7 @@ export interface ListSubscriptionsRequest {
|
|
|
70
70
|
* - `orgName` (ne, eq, ct, nct)
|
|
71
71
|
* - `externalPaypointId` (ct, nct, ne, eq)
|
|
72
72
|
* - `subId` (eq, ne)
|
|
73
|
+
* - `idPmethod` (eq, ne, ct, nct, in, nin). Filters by the subscription's linked stored method identifier (the value returned in `StoredMethod.IdPmethod`). Case-insensitive. Subscriptions without a linked stored method are excluded from matches. Example: `idPmethod(eq,6edcbb56-9c0e-4003-b3d1-99abf149ba0e)`.
|
|
73
74
|
* - `orderDescription` (ct, nct)
|
|
74
75
|
* - `cycles` (eq, ne, gt, ge, lt, le)
|
|
75
76
|
* - `leftcycles` (eq, ne, gt, ge, lt, le)
|
|
@@ -6,6 +6,14 @@ import type * as Payabli from "../../../../index.js";
|
|
|
6
6
|
* limitRecord: 0,
|
|
7
7
|
* sortBy: "desc(field_name)"
|
|
8
8
|
* }
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* limitRecord: 1,
|
|
13
|
+
* parameters: {
|
|
14
|
+
* "operation(eq)": "Reject"
|
|
15
|
+
* }
|
|
16
|
+
* }
|
|
9
17
|
*/
|
|
10
18
|
export interface ListTransactionsOrgRequest {
|
|
11
19
|
exportFormat?: Payabli.ExportFormat;
|
|
@@ -39,6 +47,7 @@ export interface ListTransactionsOrgRequest {
|
|
|
39
47
|
* - `scheduleId` (ne, eq)
|
|
40
48
|
* - `returnId` (ne, eq)
|
|
41
49
|
* - `refundId` (ne, eq)
|
|
50
|
+
* - `rejectId` (ne, eq)
|
|
42
51
|
* - `idTrans` (ne, eq)
|
|
43
52
|
* - `orgId` (ne, eq)
|
|
44
53
|
* - `paypointId` (ne, eq)
|
|
@@ -6,6 +6,14 @@ import type * as Payabli from "../../../../index.js";
|
|
|
6
6
|
* limitRecord: 0,
|
|
7
7
|
* sortBy: "desc(field_name)"
|
|
8
8
|
* }
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* {
|
|
12
|
+
* limitRecord: 1,
|
|
13
|
+
* parameters: {
|
|
14
|
+
* "operation(eq)": "Reject"
|
|
15
|
+
* }
|
|
16
|
+
* }
|
|
9
17
|
*/
|
|
10
18
|
export interface ListTransactionsRequest {
|
|
11
19
|
exportFormat?: Payabli.ExportFormat;
|
|
@@ -39,6 +47,7 @@ export interface ListTransactionsRequest {
|
|
|
39
47
|
* - `scheduleId` (ne, eq)
|
|
40
48
|
* - `returnId` (ne, eq)
|
|
41
49
|
* - `refundId` (ne, eq)
|
|
50
|
+
* - `rejectId` (ne, eq)
|
|
42
51
|
* - `idTrans` (ne, eq)
|
|
43
52
|
* - `orgId` (ne, eq)
|
|
44
53
|
* - `paypointId` (ne, eq)
|
|
@@ -30,13 +30,13 @@ export interface ListVcardsOrgRequest {
|
|
|
30
30
|
* </Info>
|
|
31
31
|
* List of field names accepted:
|
|
32
32
|
*
|
|
33
|
-
* - `status` (
|
|
33
|
+
* - `status` (eq, ne, ct, nct, sw, ew)
|
|
34
34
|
* - `createdAt` (gt, ge, lt, le, eq, ne)
|
|
35
35
|
* - `cardToken` (ct, nct, eq, ne)
|
|
36
36
|
* - `lastFour` (ct, nct, eq, ne)
|
|
37
37
|
* - `expirationDate` (ct, nct, eq, ne)
|
|
38
|
-
* - `payoutId` (
|
|
39
|
-
* - `vendorId` (
|
|
38
|
+
* - `payoutId` (eq, ne, gt, ge, lt, le)
|
|
39
|
+
* - `vendorId` (eq, ne, gt, ge, lt, le)
|
|
40
40
|
* - `miscData1` (ct, nct, eq, ne)
|
|
41
41
|
* - `miscData2` (ct, nct, eq, ne)
|
|
42
42
|
* - `currentUses` (gt, ge, lt, le, eq, ne)
|
|
@@ -44,10 +44,10 @@ export interface ListVcardsOrgRequest {
|
|
|
44
44
|
* - `balance` (gt, ge, lt, le, eq, ne)
|
|
45
45
|
* - `paypointLegal` (ne, eq, ct, nct)
|
|
46
46
|
* - `paypointDba` (ne, eq, ct, nct)
|
|
47
|
-
* - `orgName` (
|
|
47
|
+
* - `orgName` (eq, ne, ct, nct, sw, ew)
|
|
48
48
|
* - `externalPaypointId` (ct, nct, eq, ne)
|
|
49
|
-
* - `paypointId` (
|
|
50
|
-
* - `cardType` (eq)
|
|
49
|
+
* - `paypointId` (eq, ne, gt, ge, lt, le)
|
|
50
|
+
* - `cardType` (eq, ne, gt, ge, lt, le)
|
|
51
51
|
*
|
|
52
52
|
* List of comparison accepted - enclosed between parentheses:
|
|
53
53
|
*
|
|
@@ -59,6 +59,8 @@ export interface ListVcardsOrgRequest {
|
|
|
59
59
|
* - ne => not equal
|
|
60
60
|
* - ct => contains
|
|
61
61
|
* - nct => not contains
|
|
62
|
+
* - sw => starts with
|
|
63
|
+
* - ew => ends with
|
|
62
64
|
* - in => inside array separated by "|"
|
|
63
65
|
* - nin => not inside array separated by "|"
|
|
64
66
|
*/
|
|
@@ -30,13 +30,13 @@ export interface ListVcardsRequest {
|
|
|
30
30
|
* </Info>
|
|
31
31
|
* List of field names accepted:
|
|
32
32
|
*
|
|
33
|
-
* - `status` (
|
|
33
|
+
* - `status` (eq, ne, ct, nct, sw, ew)
|
|
34
34
|
* - `createdAt` (gt, ge, lt, le, eq, ne)
|
|
35
35
|
* - `cardToken` (ct, nct, eq, ne)
|
|
36
36
|
* - `lastFour` (ct, nct, eq, ne)
|
|
37
37
|
* - `expirationDate` (ct, nct, eq, ne)
|
|
38
|
-
* - `payoutId` (
|
|
39
|
-
* - `vendorId` (
|
|
38
|
+
* - `payoutId` (eq, ne, gt, ge, lt, le)
|
|
39
|
+
* - `vendorId` (eq, ne, gt, ge, lt, le)
|
|
40
40
|
* - `miscData1` (ct, nct, eq, ne)
|
|
41
41
|
* - `miscData2` (ct, nct, eq, ne)
|
|
42
42
|
* - `currentUses` (gt, ge, lt, le, eq, ne)
|
|
@@ -44,10 +44,10 @@ export interface ListVcardsRequest {
|
|
|
44
44
|
* - `balance` (gt, ge, lt, le, eq, ne)
|
|
45
45
|
* - `paypointLegal` (ne, eq, ct, nct)
|
|
46
46
|
* - `paypointDba` (ne, eq, ct, nct)
|
|
47
|
-
* - `orgName` (
|
|
47
|
+
* - `orgName` (eq, ne, ct, nct, sw, ew)
|
|
48
48
|
* - `externalPaypointId` (ct, nct, eq, ne)
|
|
49
|
-
* - `paypointId` (
|
|
50
|
-
* - `cardType` (eq)
|
|
49
|
+
* - `paypointId` (eq, ne, gt, ge, lt, le)
|
|
50
|
+
* - `cardType` (eq, ne, gt, ge, lt, le)
|
|
51
51
|
*
|
|
52
52
|
* List of comparison accepted - enclosed between parentheses:
|
|
53
53
|
*
|
|
@@ -59,6 +59,8 @@ export interface ListVcardsRequest {
|
|
|
59
59
|
* - ne => not equal
|
|
60
60
|
* - ct => contains
|
|
61
61
|
* - nct => not contains
|
|
62
|
+
* - sw => starts with
|
|
63
|
+
* - ew => ends with
|
|
62
64
|
* - in => inside array separated by "|"
|
|
63
65
|
* - nin => not inside array separated by "|"
|
|
64
66
|
*/
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* fromRecord: 0,
|
|
5
|
+
* limitRecord: 20,
|
|
6
|
+
* sortBy: "desc(CreatedOn)"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface ListVcardsTransactionsOrgRequest {
|
|
10
|
+
/** The number of records to skip before starting to collect the result set. */
|
|
11
|
+
fromRecord?: number;
|
|
12
|
+
/** Max number of records to return for the query. Use `0` or negative value to return all records. */
|
|
13
|
+
limitRecord?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Collection of field names, conditions, and values used to filter the query.
|
|
16
|
+
*
|
|
17
|
+
* <Info>
|
|
18
|
+
* **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**
|
|
19
|
+
*
|
|
20
|
+
* Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.
|
|
21
|
+
*
|
|
22
|
+
* For example:
|
|
23
|
+
*
|
|
24
|
+
* --url https://api-sandbox.payabli.com/api/Query/vcardsTransactions/org/236?parameters=transactionAmount(gt)=100&limitRecord=20
|
|
25
|
+
*
|
|
26
|
+
* should become:
|
|
27
|
+
*
|
|
28
|
+
* --url https://api-sandbox.payabli.com/api/Query/vcardsTransactions/org/236?transactionAmount(gt)=100&limitRecord=20
|
|
29
|
+
* </Info>
|
|
30
|
+
*
|
|
31
|
+
* List of field names accepted:
|
|
32
|
+
*
|
|
33
|
+
* - `identifier` (eq, ne, ct, nct)
|
|
34
|
+
* - `transactionType` (eq, ne, ct, nct)
|
|
35
|
+
* - `transactionStatus` (eq, ne, ct, nct, in, nin)
|
|
36
|
+
* - `transactionAmount` (eq, ne, gt, ge, lt, le, ct, nct)
|
|
37
|
+
* - `transactionCreatedOn` (eq, ne, gt, ge, lt, le)
|
|
38
|
+
* - `cardToken` (ct, nct, eq, ne)
|
|
39
|
+
* - `lastFour` (ct, nct, eq, ne)
|
|
40
|
+
* - `expirationDate` (ct, nct, eq, ne)
|
|
41
|
+
* - `mcc` (ct, nct, eq, ne)
|
|
42
|
+
* - `payoutId` (gt, lt, eq, ne)
|
|
43
|
+
* - `customerId` (gt, lt, eq, ne)
|
|
44
|
+
* - `vendorId` (gt, lt, eq, ne)
|
|
45
|
+
* - `miscData1` (ct, nct, eq, ne)
|
|
46
|
+
* - `miscData2` (ct, nct, eq, ne)
|
|
47
|
+
* - `currentUses` (gt, ge, lt, le, eq, ne)
|
|
48
|
+
* - `amount` (gt, ge, lt, le, eq, ne)
|
|
49
|
+
* - `balance` (gt, ge, lt, le, eq, ne)
|
|
50
|
+
* - `paypointLegal` (ne, eq, ct, nct)
|
|
51
|
+
* - `paypointDba` (ne, eq, ct, nct)
|
|
52
|
+
* - `orgName` (ne, eq, ct, nct, in, nin)
|
|
53
|
+
* - `externalPaypointID` (ct, nct, eq, ne)
|
|
54
|
+
* - `paypointId` (gt, lt, eq, ne)
|
|
55
|
+
*
|
|
56
|
+
* List of comparison accepted - enclosed between parentheses:
|
|
57
|
+
*
|
|
58
|
+
* - eq or empty => equal
|
|
59
|
+
* - gt => greater than
|
|
60
|
+
* - ge => greater or equal
|
|
61
|
+
* - lt => less than
|
|
62
|
+
* - le => less or equal
|
|
63
|
+
* - ne => not equal
|
|
64
|
+
* - ct => contains
|
|
65
|
+
* - nct => not contains
|
|
66
|
+
* - in => inside array separated by "|"
|
|
67
|
+
* - nin => not inside array separated by "|"
|
|
68
|
+
*/
|
|
69
|
+
parameters?: Record<string, string>;
|
|
70
|
+
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
71
|
+
sortBy?: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @example
|
|
3
|
+
* {
|
|
4
|
+
* fromRecord: 0,
|
|
5
|
+
* limitRecord: 20,
|
|
6
|
+
* sortBy: "desc(CreatedOn)"
|
|
7
|
+
* }
|
|
8
|
+
*/
|
|
9
|
+
export interface ListVcardsTransactionsRequest {
|
|
10
|
+
/** The number of records to skip before starting to collect the result set. */
|
|
11
|
+
fromRecord?: number;
|
|
12
|
+
/** Max number of records to return for the query. Use `0` or negative value to return all records. */
|
|
13
|
+
limitRecord?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Collection of field names, conditions, and values used to filter the query.
|
|
16
|
+
*
|
|
17
|
+
* <Info>
|
|
18
|
+
* **You must remove `parameters=` from the request before you send it, otherwise Payabli will ignore the filters.**
|
|
19
|
+
*
|
|
20
|
+
* Because of a technical limitation, you can't make a request that includes filters from the API console on this page. The response won't be filtered. Instead, copy the request, remove `parameters=` and run the request in a different client.
|
|
21
|
+
*
|
|
22
|
+
* For example:
|
|
23
|
+
*
|
|
24
|
+
* --url https://api-sandbox.payabli.com/api/Query/vcardsTransactions/8cfec329267?parameters=transactionAmount(gt)=100&limitRecord=20
|
|
25
|
+
*
|
|
26
|
+
* should become:
|
|
27
|
+
*
|
|
28
|
+
* --url https://api-sandbox.payabli.com/api/Query/vcardsTransactions/8cfec329267?transactionAmount(gt)=100&limitRecord=20
|
|
29
|
+
* </Info>
|
|
30
|
+
*
|
|
31
|
+
* List of field names accepted:
|
|
32
|
+
*
|
|
33
|
+
* - `identifier` (eq, ne, ct, nct)
|
|
34
|
+
* - `transactionType` (eq, ne, ct, nct)
|
|
35
|
+
* - `transactionStatus` (eq, ne, ct, nct, in, nin)
|
|
36
|
+
* - `transactionAmount` (eq, ne, gt, ge, lt, le, ct, nct)
|
|
37
|
+
* - `transactionCreatedOn` (eq, ne, gt, ge, lt, le)
|
|
38
|
+
* - `cardToken` (ct, nct, eq, ne)
|
|
39
|
+
* - `lastFour` (ct, nct, eq, ne)
|
|
40
|
+
* - `expirationDate` (ct, nct, eq, ne)
|
|
41
|
+
* - `mcc` (ct, nct, eq, ne)
|
|
42
|
+
* - `payoutId` (gt, lt, eq, ne)
|
|
43
|
+
* - `customerId` (gt, lt, eq, ne)
|
|
44
|
+
* - `vendorId` (gt, lt, eq, ne)
|
|
45
|
+
* - `miscData1` (ct, nct, eq, ne)
|
|
46
|
+
* - `miscData2` (ct, nct, eq, ne)
|
|
47
|
+
* - `currentUses` (gt, ge, lt, le, eq, ne)
|
|
48
|
+
* - `amount` (gt, ge, lt, le, eq, ne)
|
|
49
|
+
* - `balance` (gt, ge, lt, le, eq, ne)
|
|
50
|
+
* - `paypointLegal` (ne, eq, ct, nct)
|
|
51
|
+
* - `paypointDba` (ne, eq, ct, nct)
|
|
52
|
+
* - `orgName` (ne, eq, ct, nct, in, nin)
|
|
53
|
+
* - `externalPaypointID` (ct, nct, eq, ne)
|
|
54
|
+
* - `paypointId` (gt, lt, eq, ne)
|
|
55
|
+
*
|
|
56
|
+
* List of comparison accepted - enclosed between parentheses:
|
|
57
|
+
*
|
|
58
|
+
* - eq or empty => equal
|
|
59
|
+
* - gt => greater than
|
|
60
|
+
* - ge => greater or equal
|
|
61
|
+
* - lt => less than
|
|
62
|
+
* - le => less or equal
|
|
63
|
+
* - ne => not equal
|
|
64
|
+
* - ct => contains
|
|
65
|
+
* - nct => not contains
|
|
66
|
+
* - in => inside array separated by "|"
|
|
67
|
+
* - nin => not inside array separated by "|"
|
|
68
|
+
*/
|
|
69
|
+
parameters?: Record<string, string>;
|
|
70
|
+
/** The field name to use for sorting results. Use `desc(field_name)` to sort descending by `field_name`, and use `asc(field_name)` to sort ascending by `field_name`. */
|
|
71
|
+
sortBy?: string;
|
|
72
|
+
}
|
|
@@ -39,6 +39,7 @@ export interface ListVendorsOrgRequest {
|
|
|
39
39
|
* - `ein` (ct, nct, eq, ne)
|
|
40
40
|
* - `phone` (ct, nct, eq, ne)
|
|
41
41
|
* - `email` (ct, nct, eq, ne)
|
|
42
|
+
* - `remitEmail` (ct, nct, eq, ne)
|
|
42
43
|
* - `address` (ct, nct, eq, ne)
|
|
43
44
|
* - `city` (ct, nct, eq, ne)
|
|
44
45
|
* - `state` (ct, nct, eq, ne)
|
|
@@ -39,6 +39,7 @@ export interface ListVendorsRequest {
|
|
|
39
39
|
* - `ein` (ct, nct, eq, ne)
|
|
40
40
|
* - `phone` (ct, nct, eq, ne)
|
|
41
41
|
* - `email` (ct, nct, eq, ne)
|
|
42
|
+
* - `remitEmail` (ct, nct, eq, ne)
|
|
42
43
|
* - `address` (ct, nct, eq, ne)
|
|
43
44
|
* - `city` (ct, nct, eq, ne)
|
|
44
45
|
* - `state` (ct, nct, eq, ne)
|
|
@@ -36,5 +36,7 @@ export type { ListUsersOrgRequest } from "./ListUsersOrgRequest.js";
|
|
|
36
36
|
export type { ListUsersPaypointRequest } from "./ListUsersPaypointRequest.js";
|
|
37
37
|
export type { ListVcardsOrgRequest } from "./ListVcardsOrgRequest.js";
|
|
38
38
|
export type { ListVcardsRequest } from "./ListVcardsRequest.js";
|
|
39
|
+
export type { ListVcardsTransactionsOrgRequest } from "./ListVcardsTransactionsOrgRequest.js";
|
|
40
|
+
export type { ListVcardsTransactionsRequest } from "./ListVcardsTransactionsRequest.js";
|
|
39
41
|
export type { ListVendorsOrgRequest } from "./ListVendorsOrgRequest.js";
|
|
40
42
|
export type { ListVendorsRequest } from "./ListVendorsRequest.js";
|
|
@@ -43,6 +43,8 @@ export declare namespace QueryTransferDetailResponse {
|
|
|
43
43
|
netTransferAmount: number | null;
|
|
44
44
|
/** Total amount directed to split funding destinations */
|
|
45
45
|
splitFundingAmount: number | null;
|
|
46
|
+
/** Total amount rejected by card networks or issuing banks after authorization or settling in this transaction */
|
|
47
|
+
cardRejectedAmount: number | null;
|
|
46
48
|
billingFeesDetails: Payabli.BillingFeeDetail[] | null;
|
|
47
49
|
ParentOrgName: Payabli.OrgParentName | null;
|
|
48
50
|
PaypointDbaname: Payabli.Dbaname | null;
|
|
@@ -31,6 +31,8 @@ export interface QueryTransferSummary {
|
|
|
31
31
|
refunds: number | null;
|
|
32
32
|
/** Funds being held for fraud or risk concerns. */
|
|
33
33
|
heldAmount: number | null;
|
|
34
|
+
/** Total amount rejected by card networks or issuing banks after authorization or settling. This value is the sum of all rejected amounts for transactions in the transfer. */
|
|
35
|
+
cardRejectedAmount: number | null;
|
|
34
36
|
/** Number of records in the response. */
|
|
35
37
|
totalRecords: Payabli.Totalrecords | null;
|
|
36
38
|
/** The total sum of the transfers in the response. */
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* Response body for queries about virtual card transactions.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* Summary: {
|
|
8
|
+
* totalPages: 20,
|
|
9
|
+
* totalRecords: 393,
|
|
10
|
+
* totalAmount: 231.58,
|
|
11
|
+
* totalactive: 388,
|
|
12
|
+
* totalamountactive: 219.58,
|
|
13
|
+
* totalbalanceactive: -213.83
|
|
14
|
+
* },
|
|
15
|
+
* Records: [{
|
|
16
|
+
* Identifier: "7HQ2P9B4XD",
|
|
17
|
+
* CardToken: "5RJ8MN2KC4",
|
|
18
|
+
* LastFour: "1234",
|
|
19
|
+
* ExpirationDate: "06-30-2029",
|
|
20
|
+
* Mcc: "5943",
|
|
21
|
+
* PayoutId: 84210,
|
|
22
|
+
* CustomerId: 1542,
|
|
23
|
+
* VendorId: 9821,
|
|
24
|
+
* MiscData1: "Invoice #12345",
|
|
25
|
+
* MiscData2: "Project: Office Supplies",
|
|
26
|
+
* CurrentUses: 1,
|
|
27
|
+
* Amount: 500,
|
|
28
|
+
* Balance: 425.5,
|
|
29
|
+
* PaypointId: 236,
|
|
30
|
+
* PaypointLegal: "Global Factory LLC",
|
|
31
|
+
* PaypointDba: "Global Factory",
|
|
32
|
+
* ExternalPaypointID: "pay-10",
|
|
33
|
+
* OrgName: "SupplyPro",
|
|
34
|
+
* Type: "AUTHORIZATION",
|
|
35
|
+
* Status: "AUTHORIZATION",
|
|
36
|
+
* CreatedOn: "2026-05-05 03:28:53.082830",
|
|
37
|
+
* TransactionAmount: "74.500",
|
|
38
|
+
* PostedAmount: "0.000",
|
|
39
|
+
* PostedOn: null,
|
|
40
|
+
* MerchantName: "Office Supply Co.",
|
|
41
|
+
* AuthorizationStatus: "AUTHORIZATION",
|
|
42
|
+
* ReasonToDecline: null
|
|
43
|
+
* }]
|
|
44
|
+
* }
|
|
45
|
+
*/
|
|
46
|
+
export interface VCardTransactionQueryResponse {
|
|
47
|
+
Summary: Payabli.VCardSummary;
|
|
48
|
+
Records: Payabli.VCardTransactionRecord[];
|
|
49
|
+
}
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
import type * as Payabli from "../../../index.js";
|
|
2
|
+
/**
|
|
3
|
+
* A virtual card transaction record returned by the query.
|
|
4
|
+
*
|
|
5
|
+
* @example
|
|
6
|
+
* {
|
|
7
|
+
* Identifier: "7HQ2P9B4XD",
|
|
8
|
+
* CardToken: "5RJ8MN2KC4",
|
|
9
|
+
* LastFour: "1234",
|
|
10
|
+
* ExpirationDate: "06-30-2029",
|
|
11
|
+
* Mcc: "5943",
|
|
12
|
+
* PayoutId: 84210,
|
|
13
|
+
* CustomerId: 1542,
|
|
14
|
+
* VendorId: 9821,
|
|
15
|
+
* MiscData1: "Invoice #12345",
|
|
16
|
+
* MiscData2: "Project: Office Supplies",
|
|
17
|
+
* CurrentUses: 1,
|
|
18
|
+
* Amount: 500,
|
|
19
|
+
* Balance: 425.5,
|
|
20
|
+
* PaypointId: 236,
|
|
21
|
+
* PaypointLegal: "Global Factory LLC",
|
|
22
|
+
* PaypointDba: "Global Factory",
|
|
23
|
+
* ExternalPaypointID: "pay-10",
|
|
24
|
+
* OrgName: "SupplyPro",
|
|
25
|
+
* Type: "AUTHORIZATION",
|
|
26
|
+
* Status: "AUTHORIZATION",
|
|
27
|
+
* CreatedOn: "2026-05-05 03:28:53.082830",
|
|
28
|
+
* TransactionAmount: "74.500",
|
|
29
|
+
* PostedAmount: "0.000",
|
|
30
|
+
* PostedOn: null,
|
|
31
|
+
* MerchantName: "Office Supply Co.",
|
|
32
|
+
* AuthorizationStatus: "AUTHORIZATION",
|
|
33
|
+
* ReasonToDecline: null
|
|
34
|
+
* }
|
|
35
|
+
*/
|
|
36
|
+
export interface VCardTransactionRecord {
|
|
37
|
+
/** Unique identifier for the transaction. */
|
|
38
|
+
Identifier: string | null;
|
|
39
|
+
/** Token of the virtual card associated with the transaction. */
|
|
40
|
+
CardToken: string | null;
|
|
41
|
+
/** Last four digits of the masked virtual card number. */
|
|
42
|
+
LastFour: string | null;
|
|
43
|
+
/** Expiration date of the virtual card used for the transaction. */
|
|
44
|
+
ExpirationDate: string | null;
|
|
45
|
+
Mcc: Payabli.Mcc | null;
|
|
46
|
+
/** Identifier of the payout linked to this transaction. */
|
|
47
|
+
PayoutId: number | null;
|
|
48
|
+
/** Identifier of the customer linked to this transaction. */
|
|
49
|
+
CustomerId: number | null;
|
|
50
|
+
/** Identifier of the vendor linked to this transaction. */
|
|
51
|
+
VendorId: number | null;
|
|
52
|
+
/** Custom field 1 from the virtual card. */
|
|
53
|
+
MiscData1: string | null;
|
|
54
|
+
/** Custom field 2 from the virtual card. */
|
|
55
|
+
MiscData2: string | null;
|
|
56
|
+
/** Number of times the virtual card has been used. */
|
|
57
|
+
CurrentUses: number | null;
|
|
58
|
+
/** Authorized amount on the virtual card. */
|
|
59
|
+
Amount: number | null;
|
|
60
|
+
/** Current balance remaining on the virtual card. */
|
|
61
|
+
Balance: number | null;
|
|
62
|
+
/** Numeric identifier of the paypoint that issued the virtual card. */
|
|
63
|
+
PaypointId: number | null;
|
|
64
|
+
PaypointLegal: Payabli.Legalname | null;
|
|
65
|
+
PaypointDba: Payabli.Dbaname | null;
|
|
66
|
+
ExternalPaypointID: Payabli.ExternalPaypointId | null;
|
|
67
|
+
OrgName: Payabli.OrgParentName | null;
|
|
68
|
+
/** Transaction type, such as `AUTHORIZATION`. */
|
|
69
|
+
Type: string | null;
|
|
70
|
+
/** Transaction status, such as `AUTHORIZATION`. */
|
|
71
|
+
Status: string | null;
|
|
72
|
+
/** Date and time the transaction was created. Format: `YYYY-MM-DD HH:MM:SS.ffffff`. */
|
|
73
|
+
CreatedOn: string | null;
|
|
74
|
+
/** Amount of the transaction, as a string value. */
|
|
75
|
+
TransactionAmount: string | null;
|
|
76
|
+
/** Posted amount of the transaction, as a string value. */
|
|
77
|
+
PostedAmount: string | null;
|
|
78
|
+
/** Date and time the transaction was posted, in format `YYYY-MM-DD HH:MM:SS.ffffff`. Null when the transaction hasn't posted yet. */
|
|
79
|
+
PostedOn: string | null;
|
|
80
|
+
/** Name of the merchant where the virtual card was used. */
|
|
81
|
+
MerchantName: string | null;
|
|
82
|
+
/** Authorization status of the transaction. */
|
|
83
|
+
AuthorizationStatus: string | null;
|
|
84
|
+
/** Reason the transaction was declined, when applicable. */
|
|
85
|
+
ReasonToDecline: string | null;
|
|
86
|
+
}
|
|
@@ -24,3 +24,5 @@ export * from "./TransferOutMessageProperties.js";
|
|
|
24
24
|
export * from "./TransferOutQueryResponse.js";
|
|
25
25
|
export * from "./TransferOutRecord.js";
|
|
26
26
|
export * from "./TransferOutSummary.js";
|
|
27
|
+
export * from "./VCardTransactionQueryResponse.js";
|
|
28
|
+
export * from "./VCardTransactionRecord.js";
|
|
@@ -40,3 +40,5 @@ __exportStar(require("./TransferOutMessageProperties.js"), exports);
|
|
|
40
40
|
__exportStar(require("./TransferOutQueryResponse.js"), exports);
|
|
41
41
|
__exportStar(require("./TransferOutRecord.js"), exports);
|
|
42
42
|
__exportStar(require("./TransferOutSummary.js"), exports);
|
|
43
|
+
__exportStar(require("./VCardTransactionQueryResponse.js"), exports);
|
|
44
|
+
__exportStar(require("./VCardTransactionRecord.js"), exports);
|
|
@@ -118,7 +118,11 @@ class StatisticClient {
|
|
|
118
118
|
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, `Statistic/basic/${core.url.encodePathParam(mode)}/${core.url.encodePathParam(freq)}/${core.url.encodePathParam(level)}/${core.url.encodePathParam(entryId)}`),
|
|
119
119
|
method: "GET",
|
|
120
120
|
headers: _headers,
|
|
121
|
-
|
|
121
|
+
queryString: core.url
|
|
122
|
+
.queryBuilder()
|
|
123
|
+
.addMany(_queryParams)
|
|
124
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
125
|
+
.build(),
|
|
122
126
|
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,
|
|
123
127
|
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,
|
|
124
128
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -204,7 +208,11 @@ class StatisticClient {
|
|
|
204
208
|
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, `Statistic/customerbasic/${core.url.encodePathParam(mode)}/${core.url.encodePathParam(freq)}/${core.url.encodePathParam(customerId)}`),
|
|
205
209
|
method: "GET",
|
|
206
210
|
headers: _headers,
|
|
207
|
-
|
|
211
|
+
queryString: core.url
|
|
212
|
+
.queryBuilder()
|
|
213
|
+
.addMany(_queryParams)
|
|
214
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
215
|
+
.build(),
|
|
208
216
|
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,
|
|
209
217
|
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,
|
|
210
218
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -279,7 +287,11 @@ class StatisticClient {
|
|
|
279
287
|
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, `Statistic/subscriptions/${core.url.encodePathParam(interval)}/${core.url.encodePathParam(level)}/${core.url.encodePathParam(entryId)}`),
|
|
280
288
|
method: "GET",
|
|
281
289
|
headers: _headers,
|
|
282
|
-
|
|
290
|
+
queryString: core.url
|
|
291
|
+
.queryBuilder()
|
|
292
|
+
.addMany(_queryParams)
|
|
293
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
294
|
+
.build(),
|
|
283
295
|
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,
|
|
284
296
|
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,
|
|
285
297
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -357,7 +369,11 @@ class StatisticClient {
|
|
|
357
369
|
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, `Statistic/vendorbasic/${core.url.encodePathParam(mode)}/${core.url.encodePathParam(freq)}/${core.url.encodePathParam(idVendor)}`),
|
|
358
370
|
method: "GET",
|
|
359
371
|
headers: _headers,
|
|
360
|
-
|
|
372
|
+
queryString: core.url
|
|
373
|
+
.queryBuilder()
|
|
374
|
+
.addMany(_queryParams)
|
|
375
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
376
|
+
.build(),
|
|
361
377
|
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,
|
|
362
378
|
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,
|
|
363
379
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -81,7 +81,7 @@ class SubscriptionClient {
|
|
|
81
81
|
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, `Subscription/${core.url.encodePathParam(subId)}`),
|
|
82
82
|
method: "GET",
|
|
83
83
|
headers: _headers,
|
|
84
|
-
|
|
84
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
85
85
|
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
86
|
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,
|
|
87
87
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -223,7 +223,11 @@ class SubscriptionClient {
|
|
|
223
223
|
method: "POST",
|
|
224
224
|
headers: _headers,
|
|
225
225
|
contentType: "application/json",
|
|
226
|
-
|
|
226
|
+
queryString: core.url
|
|
227
|
+
.queryBuilder()
|
|
228
|
+
.addMany(_queryParams)
|
|
229
|
+
.mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
|
|
230
|
+
.build(),
|
|
227
231
|
requestType: "json",
|
|
228
232
|
body: _body,
|
|
229
233
|
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,
|
|
@@ -282,7 +286,7 @@ class SubscriptionClient {
|
|
|
282
286
|
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, `Subscription/${core.url.encodePathParam(subId)}`),
|
|
283
287
|
method: "DELETE",
|
|
284
288
|
headers: _headers,
|
|
285
|
-
|
|
289
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
286
290
|
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,
|
|
287
291
|
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,
|
|
288
292
|
abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
|
|
@@ -357,7 +361,7 @@ class SubscriptionClient {
|
|
|
357
361
|
method: "PUT",
|
|
358
362
|
headers: _headers,
|
|
359
363
|
contentType: "application/json",
|
|
360
|
-
|
|
364
|
+
queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
|
|
361
365
|
requestType: "json",
|
|
362
366
|
body: request,
|
|
363
367
|
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,
|