@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.
Files changed (187) hide show
  1. package/README.md +10 -2
  2. package/dist/cjs/BaseClient.d.ts +3 -0
  3. package/dist/cjs/BaseClient.js +17 -2
  4. package/dist/cjs/api/resources/bill/client/Client.js +35 -11
  5. package/dist/cjs/api/resources/boarding/client/Client.d.ts +38 -0
  6. package/dist/cjs/api/resources/boarding/client/Client.js +152 -11
  7. package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointRequest.d.ts +15 -0
  8. package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointRequest.js +3 -0
  9. package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointResponse.d.ts +20 -0
  10. package/dist/cjs/api/resources/boarding/types/CreateApplicationFromPaypointResponse.js +3 -0
  11. package/dist/cjs/api/resources/boarding/types/index.d.ts +2 -0
  12. package/dist/cjs/api/resources/boarding/types/index.js +2 -0
  13. package/dist/cjs/api/resources/chargeBacks/client/Client.js +3 -3
  14. package/dist/cjs/api/resources/checkCapture/client/Client.js +1 -1
  15. package/dist/cjs/api/resources/cloud/client/Client.js +8 -4
  16. package/dist/cjs/api/resources/customer/client/Client.js +10 -6
  17. package/dist/cjs/api/resources/export/client/Client.js +145 -29
  18. package/dist/cjs/api/resources/ghostCard/client/Client.js +2 -2
  19. package/dist/cjs/api/resources/hostedPaymentPages/client/Client.js +3 -3
  20. package/dist/cjs/api/resources/import/client/Client.js +7 -3
  21. package/dist/cjs/api/resources/invoice/client/Client.js +35 -11
  22. package/dist/cjs/api/resources/lineItem/client/Client.js +9 -5
  23. package/dist/cjs/api/resources/management/client/Client.js +1 -1
  24. package/dist/cjs/api/resources/moneyIn/client/Client.js +43 -19
  25. package/dist/cjs/api/resources/moneyOut/client/Client.d.ts +5 -1
  26. package/dist/cjs/api/resources/moneyOut/client/Client.js +25 -13
  27. package/dist/cjs/api/resources/notification/client/Client.js +5 -5
  28. package/dist/cjs/api/resources/notificationlogs/client/Client.js +8 -4
  29. package/dist/cjs/api/resources/ocr/client/Client.js +2 -2
  30. package/dist/cjs/api/resources/organization/client/Client.js +7 -7
  31. package/dist/cjs/api/resources/paymentLink/client/Client.js +31 -11
  32. package/dist/cjs/api/resources/paymentMethodDomain/client/Client.js +11 -7
  33. package/dist/cjs/api/resources/payoutSubscription/client/Client.js +4 -4
  34. package/dist/cjs/api/resources/paypoint/client/Client.js +12 -8
  35. package/dist/cjs/api/resources/query/client/Client.d.ts +58 -0
  36. package/dist/cjs/api/resources/query/client/Client.js +368 -40
  37. package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.ts +1 -0
  38. package/dist/cjs/api/resources/query/client/requests/ListSubscriptionsRequest.d.ts +1 -0
  39. package/dist/cjs/api/resources/query/client/requests/ListTransactionsOrgRequest.d.ts +9 -0
  40. package/dist/cjs/api/resources/query/client/requests/ListTransactionsRequest.d.ts +9 -0
  41. package/dist/cjs/api/resources/query/client/requests/ListVcardsOrgRequest.d.ts +8 -6
  42. package/dist/cjs/api/resources/query/client/requests/ListVcardsRequest.d.ts +8 -6
  43. package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.d.ts +72 -0
  44. package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.js +3 -0
  45. package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsRequest.d.ts +72 -0
  46. package/dist/cjs/api/resources/query/client/requests/ListVcardsTransactionsRequest.js +3 -0
  47. package/dist/cjs/api/resources/query/client/requests/ListVendorsOrgRequest.d.ts +1 -0
  48. package/dist/cjs/api/resources/query/client/requests/ListVendorsRequest.d.ts +1 -0
  49. package/dist/cjs/api/resources/query/client/requests/index.d.ts +2 -0
  50. package/dist/cjs/api/resources/queryTypes/types/QueryTransferDetailResponse.d.ts +2 -0
  51. package/dist/cjs/api/resources/queryTypes/types/QueryTransferSummary.d.ts +2 -0
  52. package/dist/cjs/api/resources/queryTypes/types/VCardTransactionQueryResponse.d.ts +49 -0
  53. package/dist/cjs/api/resources/queryTypes/types/VCardTransactionQueryResponse.js +3 -0
  54. package/dist/cjs/api/resources/queryTypes/types/VCardTransactionRecord.d.ts +86 -0
  55. package/dist/cjs/api/resources/queryTypes/types/VCardTransactionRecord.js +3 -0
  56. package/dist/cjs/api/resources/queryTypes/types/index.d.ts +2 -0
  57. package/dist/cjs/api/resources/queryTypes/types/index.js +2 -0
  58. package/dist/cjs/api/resources/statistic/client/Client.js +20 -4
  59. package/dist/cjs/api/resources/subscription/client/Client.js +8 -4
  60. package/dist/cjs/api/resources/templates/client/Client.js +8 -4
  61. package/dist/cjs/api/resources/tokenStorage/client/Client.js +16 -4
  62. package/dist/cjs/api/resources/user/client/Client.js +16 -12
  63. package/dist/cjs/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.ts +1 -1
  64. package/dist/cjs/api/resources/vendor/client/Client.js +5 -5
  65. package/dist/cjs/api/resources/wallet/client/Client.js +4 -4
  66. package/dist/cjs/api/types/AutoCapture.d.ts +5 -1
  67. package/dist/cjs/api/types/CustomerQueryRecords.d.ts +10 -8
  68. package/dist/cjs/api/types/CustomerSummaryRecord.d.ts +4 -4
  69. package/dist/cjs/api/types/QueryResponseTransactions.d.ts +74 -0
  70. package/dist/cjs/api/types/SplitCount.d.ts +4 -0
  71. package/dist/cjs/api/types/SplitCount.js +3 -0
  72. package/dist/cjs/api/types/SubscriptionQueryRecords.d.ts +11 -1
  73. package/dist/cjs/api/types/TransactionQueryRecords.d.ts +2 -1
  74. package/dist/cjs/api/types/TransactionQueryRecordsCustomer.d.ts +1 -0
  75. package/dist/cjs/api/types/VCardSummary.d.ts +4 -2
  76. package/dist/cjs/api/types/VendorResponseStoredMethod.d.ts +2 -1
  77. package/dist/cjs/api/types/index.d.ts +1 -0
  78. package/dist/cjs/api/types/index.js +1 -0
  79. package/dist/cjs/core/auth/AuthProvider.d.ts +1 -0
  80. package/dist/cjs/core/auth/AuthProvider.js +7 -0
  81. package/dist/cjs/core/auth/index.d.ts +1 -1
  82. package/dist/cjs/core/auth/index.js +3 -1
  83. package/dist/cjs/core/fetcher/Fetcher.d.ts +6 -0
  84. package/dist/cjs/core/fetcher/Fetcher.js +9 -8
  85. package/dist/cjs/core/fetcher/requestWithRetries.js +4 -1
  86. package/dist/cjs/core/url/QueryStringBuilder.d.ts +47 -0
  87. package/dist/cjs/core/url/QueryStringBuilder.js +83 -0
  88. package/dist/cjs/core/url/index.d.ts +1 -0
  89. package/dist/cjs/core/url/index.js +3 -1
  90. package/dist/cjs/core/url/qs.d.ts +2 -1
  91. package/dist/cjs/core/url/qs.js +24 -12
  92. package/dist/cjs/version.d.ts +1 -1
  93. package/dist/cjs/version.js +1 -1
  94. package/dist/esm/BaseClient.d.mts +3 -0
  95. package/dist/esm/BaseClient.mjs +17 -2
  96. package/dist/esm/api/resources/bill/client/Client.mjs +35 -11
  97. package/dist/esm/api/resources/boarding/client/Client.d.mts +38 -0
  98. package/dist/esm/api/resources/boarding/client/Client.mjs +152 -11
  99. package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointRequest.d.mts +15 -0
  100. package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointRequest.mjs +2 -0
  101. package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointResponse.d.mts +20 -0
  102. package/dist/esm/api/resources/boarding/types/CreateApplicationFromPaypointResponse.mjs +2 -0
  103. package/dist/esm/api/resources/boarding/types/index.d.mts +2 -0
  104. package/dist/esm/api/resources/boarding/types/index.mjs +2 -0
  105. package/dist/esm/api/resources/chargeBacks/client/Client.mjs +3 -3
  106. package/dist/esm/api/resources/checkCapture/client/Client.mjs +1 -1
  107. package/dist/esm/api/resources/cloud/client/Client.mjs +8 -4
  108. package/dist/esm/api/resources/customer/client/Client.mjs +10 -6
  109. package/dist/esm/api/resources/export/client/Client.mjs +145 -29
  110. package/dist/esm/api/resources/ghostCard/client/Client.mjs +2 -2
  111. package/dist/esm/api/resources/hostedPaymentPages/client/Client.mjs +3 -3
  112. package/dist/esm/api/resources/import/client/Client.mjs +7 -3
  113. package/dist/esm/api/resources/invoice/client/Client.mjs +35 -11
  114. package/dist/esm/api/resources/lineItem/client/Client.mjs +9 -5
  115. package/dist/esm/api/resources/management/client/Client.mjs +1 -1
  116. package/dist/esm/api/resources/moneyIn/client/Client.mjs +43 -19
  117. package/dist/esm/api/resources/moneyOut/client/Client.d.mts +5 -1
  118. package/dist/esm/api/resources/moneyOut/client/Client.mjs +25 -13
  119. package/dist/esm/api/resources/notification/client/Client.mjs +5 -5
  120. package/dist/esm/api/resources/notificationlogs/client/Client.mjs +8 -4
  121. package/dist/esm/api/resources/ocr/client/Client.mjs +2 -2
  122. package/dist/esm/api/resources/organization/client/Client.mjs +7 -7
  123. package/dist/esm/api/resources/paymentLink/client/Client.mjs +31 -11
  124. package/dist/esm/api/resources/paymentMethodDomain/client/Client.mjs +11 -7
  125. package/dist/esm/api/resources/payoutSubscription/client/Client.mjs +4 -4
  126. package/dist/esm/api/resources/paypoint/client/Client.mjs +12 -8
  127. package/dist/esm/api/resources/query/client/Client.d.mts +58 -0
  128. package/dist/esm/api/resources/query/client/Client.mjs +368 -40
  129. package/dist/esm/api/resources/query/client/requests/ListSubscriptionsOrgRequest.d.mts +1 -0
  130. package/dist/esm/api/resources/query/client/requests/ListSubscriptionsRequest.d.mts +1 -0
  131. package/dist/esm/api/resources/query/client/requests/ListTransactionsOrgRequest.d.mts +9 -0
  132. package/dist/esm/api/resources/query/client/requests/ListTransactionsRequest.d.mts +9 -0
  133. package/dist/esm/api/resources/query/client/requests/ListVcardsOrgRequest.d.mts +8 -6
  134. package/dist/esm/api/resources/query/client/requests/ListVcardsRequest.d.mts +8 -6
  135. package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.d.mts +72 -0
  136. package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsOrgRequest.mjs +2 -0
  137. package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsRequest.d.mts +72 -0
  138. package/dist/esm/api/resources/query/client/requests/ListVcardsTransactionsRequest.mjs +2 -0
  139. package/dist/esm/api/resources/query/client/requests/ListVendorsOrgRequest.d.mts +1 -0
  140. package/dist/esm/api/resources/query/client/requests/ListVendorsRequest.d.mts +1 -0
  141. package/dist/esm/api/resources/query/client/requests/index.d.mts +2 -0
  142. package/dist/esm/api/resources/queryTypes/types/QueryTransferDetailResponse.d.mts +2 -0
  143. package/dist/esm/api/resources/queryTypes/types/QueryTransferSummary.d.mts +2 -0
  144. package/dist/esm/api/resources/queryTypes/types/VCardTransactionQueryResponse.d.mts +49 -0
  145. package/dist/esm/api/resources/queryTypes/types/VCardTransactionQueryResponse.mjs +2 -0
  146. package/dist/esm/api/resources/queryTypes/types/VCardTransactionRecord.d.mts +86 -0
  147. package/dist/esm/api/resources/queryTypes/types/VCardTransactionRecord.mjs +2 -0
  148. package/dist/esm/api/resources/queryTypes/types/index.d.mts +2 -0
  149. package/dist/esm/api/resources/queryTypes/types/index.mjs +2 -0
  150. package/dist/esm/api/resources/statistic/client/Client.mjs +20 -4
  151. package/dist/esm/api/resources/subscription/client/Client.mjs +8 -4
  152. package/dist/esm/api/resources/templates/client/Client.mjs +8 -4
  153. package/dist/esm/api/resources/tokenStorage/client/Client.mjs +16 -4
  154. package/dist/esm/api/resources/user/client/Client.mjs +16 -12
  155. package/dist/esm/api/resources/v2MoneyInTypes/types/V2TransactionDetails.d.mts +1 -1
  156. package/dist/esm/api/resources/vendor/client/Client.mjs +5 -5
  157. package/dist/esm/api/resources/wallet/client/Client.mjs +4 -4
  158. package/dist/esm/api/types/AutoCapture.d.mts +5 -1
  159. package/dist/esm/api/types/CustomerQueryRecords.d.mts +10 -8
  160. package/dist/esm/api/types/CustomerSummaryRecord.d.mts +4 -4
  161. package/dist/esm/api/types/QueryResponseTransactions.d.mts +74 -0
  162. package/dist/esm/api/types/SplitCount.d.mts +4 -0
  163. package/dist/esm/api/types/SplitCount.mjs +2 -0
  164. package/dist/esm/api/types/SubscriptionQueryRecords.d.mts +11 -1
  165. package/dist/esm/api/types/TransactionQueryRecords.d.mts +2 -1
  166. package/dist/esm/api/types/TransactionQueryRecordsCustomer.d.mts +1 -0
  167. package/dist/esm/api/types/VCardSummary.d.mts +4 -2
  168. package/dist/esm/api/types/VendorResponseStoredMethod.d.mts +2 -1
  169. package/dist/esm/api/types/index.d.mts +1 -0
  170. package/dist/esm/api/types/index.mjs +1 -0
  171. package/dist/esm/core/auth/AuthProvider.d.mts +1 -0
  172. package/dist/esm/core/auth/AuthProvider.mjs +6 -1
  173. package/dist/esm/core/auth/index.d.mts +1 -1
  174. package/dist/esm/core/auth/index.mjs +1 -0
  175. package/dist/esm/core/fetcher/Fetcher.d.mts +6 -0
  176. package/dist/esm/core/fetcher/Fetcher.mjs +9 -8
  177. package/dist/esm/core/fetcher/requestWithRetries.mjs +4 -1
  178. package/dist/esm/core/url/QueryStringBuilder.d.mts +47 -0
  179. package/dist/esm/core/url/QueryStringBuilder.mjs +80 -0
  180. package/dist/esm/core/url/index.d.mts +1 -0
  181. package/dist/esm/core/url/index.mjs +1 -0
  182. package/dist/esm/core/url/qs.d.mts +2 -1
  183. package/dist/esm/core/url/qs.mjs +24 -12
  184. package/dist/esm/version.d.mts +1 -1
  185. package/dist/esm/version.mjs +1 -1
  186. package/package.json +1 -1
  187. 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.mjs";
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.mjs";
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` (in, nin, eq, ne)
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` (ct, nct, eq, ne, in, nin)
39
- * - `vendorId` (ct, nct, eq, ne, in, nin)
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` (ne, eq, ct, nct)
47
+ * - `orgName` (eq, ne, ct, nct, sw, ew)
48
48
  * - `externalPaypointId` (ct, nct, eq, ne)
49
- * - `paypointId` (in, nin, eq, ne)
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` (in, nin, eq, ne)
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` (ct, nct, eq, ne, in, nin)
39
- * - `vendorId` (ct, nct, eq, ne, in, nin)
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` (ne, eq, ct, nct)
47
+ * - `orgName` (eq, ne, ct, nct, sw, ew)
48
48
  * - `externalPaypointId` (ct, nct, eq, ne)
49
- * - `paypointId` (in, nin, eq, ne)
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -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.mjs";
36
36
  export type { ListUsersPaypointRequest } from "./ListUsersPaypointRequest.mjs";
37
37
  export type { ListVcardsOrgRequest } from "./ListVcardsOrgRequest.mjs";
38
38
  export type { ListVcardsRequest } from "./ListVcardsRequest.mjs";
39
+ export type { ListVcardsTransactionsOrgRequest } from "./ListVcardsTransactionsOrgRequest.mjs";
40
+ export type { ListVcardsTransactionsRequest } from "./ListVcardsTransactionsRequest.mjs";
39
41
  export type { ListVendorsOrgRequest } from "./ListVendorsOrgRequest.mjs";
40
42
  export type { ListVendorsRequest } from "./ListVendorsRequest.mjs";
@@ -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.mjs";
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,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -0,0 +1,86 @@
1
+ import type * as Payabli from "../../../index.mjs";
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
+ }
@@ -0,0 +1,2 @@
1
+ // This file was auto-generated by Fern from our API Definition.
2
+ export {};
@@ -24,3 +24,5 @@ export * from "./TransferOutMessageProperties.mjs";
24
24
  export * from "./TransferOutQueryResponse.mjs";
25
25
  export * from "./TransferOutRecord.mjs";
26
26
  export * from "./TransferOutSummary.mjs";
27
+ export * from "./VCardTransactionQueryResponse.mjs";
28
+ export * from "./VCardTransactionRecord.mjs";
@@ -24,3 +24,5 @@ export * from "./TransferOutMessageProperties.mjs";
24
24
  export * from "./TransferOutQueryResponse.mjs";
25
25
  export * from "./TransferOutRecord.mjs";
26
26
  export * from "./TransferOutSummary.mjs";
27
+ export * from "./VCardTransactionQueryResponse.mjs";
28
+ export * from "./VCardTransactionRecord.mjs";
@@ -82,7 +82,11 @@ export class StatisticClient {
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, `Statistic/basic/${core.url.encodePathParam(mode)}/${core.url.encodePathParam(freq)}/${core.url.encodePathParam(level)}/${core.url.encodePathParam(entryId)}`),
83
83
  method: "GET",
84
84
  headers: _headers,
85
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
85
+ queryString: core.url
86
+ .queryBuilder()
87
+ .addMany(_queryParams)
88
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
89
+ .build(),
86
90
  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
91
  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
92
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -168,7 +172,11 @@ export class StatisticClient {
168
172
  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)}`),
169
173
  method: "GET",
170
174
  headers: _headers,
171
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
175
+ queryString: core.url
176
+ .queryBuilder()
177
+ .addMany(_queryParams)
178
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
179
+ .build(),
172
180
  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,
173
181
  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,
174
182
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -243,7 +251,11 @@ export class StatisticClient {
243
251
  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)}`),
244
252
  method: "GET",
245
253
  headers: _headers,
246
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
254
+ queryString: core.url
255
+ .queryBuilder()
256
+ .addMany(_queryParams)
257
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
258
+ .build(),
247
259
  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,
248
260
  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,
249
261
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -321,7 +333,11 @@ export class StatisticClient {
321
333
  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)}`),
322
334
  method: "GET",
323
335
  headers: _headers,
324
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
336
+ queryString: core.url
337
+ .queryBuilder()
338
+ .addMany(_queryParams)
339
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
340
+ .build(),
325
341
  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,
326
342
  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,
327
343
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -45,7 +45,7 @@ export class SubscriptionClient {
45
45
  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)}`),
46
46
  method: "GET",
47
47
  headers: _headers,
48
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
48
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
49
49
  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,
50
50
  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,
51
51
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -187,7 +187,11 @@ export class SubscriptionClient {
187
187
  method: "POST",
188
188
  headers: _headers,
189
189
  contentType: "application/json",
190
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
190
+ queryString: core.url
191
+ .queryBuilder()
192
+ .addMany(_queryParams)
193
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
194
+ .build(),
191
195
  requestType: "json",
192
196
  body: _body,
193
197
  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,
@@ -246,7 +250,7 @@ export class SubscriptionClient {
246
250
  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)}`),
247
251
  method: "DELETE",
248
252
  headers: _headers,
249
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
253
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
250
254
  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,
251
255
  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,
252
256
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -321,7 +325,7 @@ export class SubscriptionClient {
321
325
  method: "PUT",
322
326
  headers: _headers,
323
327
  contentType: "application/json",
324
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
328
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
325
329
  requestType: "json",
326
330
  body: request,
327
331
  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,