@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
@@ -61,7 +61,11 @@ export class ExportClient {
61
61
  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, `Export/boarding/${core.url.encodePathParam(format)}/${core.url.encodePathParam(orgId)}`),
62
62
  method: "GET",
63
63
  headers: _headers,
64
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
64
+ queryString: core.url
65
+ .queryBuilder()
66
+ .addMany(_queryParams)
67
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
68
+ .build(),
65
69
  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,
66
70
  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,
67
71
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -133,7 +137,11 @@ export class ExportClient {
133
137
  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, `Export/batchDetails/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
134
138
  method: "GET",
135
139
  headers: _headers,
136
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
140
+ queryString: core.url
141
+ .queryBuilder()
142
+ .addMany(_queryParams)
143
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
144
+ .build(),
137
145
  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,
138
146
  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,
139
147
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -205,7 +213,11 @@ export class ExportClient {
205
213
  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, `Export/batchDetails/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
206
214
  method: "GET",
207
215
  headers: _headers,
208
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
216
+ queryString: core.url
217
+ .queryBuilder()
218
+ .addMany(_queryParams)
219
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
220
+ .build(),
209
221
  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,
210
222
  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,
211
223
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -277,7 +289,11 @@ export class ExportClient {
277
289
  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, `Export/batches/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
278
290
  method: "GET",
279
291
  headers: _headers,
280
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
292
+ queryString: core.url
293
+ .queryBuilder()
294
+ .addMany(_queryParams)
295
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
296
+ .build(),
281
297
  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
298
  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,
283
299
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -349,7 +365,11 @@ export class ExportClient {
349
365
  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, `Export/batches/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
350
366
  method: "GET",
351
367
  headers: _headers,
352
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
368
+ queryString: core.url
369
+ .queryBuilder()
370
+ .addMany(_queryParams)
371
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
372
+ .build(),
353
373
  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,
354
374
  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,
355
375
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -421,7 +441,11 @@ export class ExportClient {
421
441
  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, `Export/batchesOut/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
422
442
  method: "GET",
423
443
  headers: _headers,
424
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
444
+ queryString: core.url
445
+ .queryBuilder()
446
+ .addMany(_queryParams)
447
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
448
+ .build(),
425
449
  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,
426
450
  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,
427
451
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -493,7 +517,11 @@ export class ExportClient {
493
517
  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, `Export/batchesOut/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
494
518
  method: "GET",
495
519
  headers: _headers,
496
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
520
+ queryString: core.url
521
+ .queryBuilder()
522
+ .addMany(_queryParams)
523
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
524
+ .build(),
497
525
  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
526
  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,
499
527
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -565,7 +593,11 @@ export class ExportClient {
565
593
  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, `Export/bills/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
566
594
  method: "GET",
567
595
  headers: _headers,
568
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
596
+ queryString: core.url
597
+ .queryBuilder()
598
+ .addMany(_queryParams)
599
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
600
+ .build(),
569
601
  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
602
  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
603
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -637,7 +669,11 @@ export class ExportClient {
637
669
  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, `Export/bills/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
638
670
  method: "GET",
639
671
  headers: _headers,
640
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
672
+ queryString: core.url
673
+ .queryBuilder()
674
+ .addMany(_queryParams)
675
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
676
+ .build(),
641
677
  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,
642
678
  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,
643
679
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -709,7 +745,11 @@ export class ExportClient {
709
745
  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, `Export/chargebacks/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
710
746
  method: "GET",
711
747
  headers: _headers,
712
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
748
+ queryString: core.url
749
+ .queryBuilder()
750
+ .addMany(_queryParams)
751
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
752
+ .build(),
713
753
  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,
714
754
  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,
715
755
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -781,7 +821,11 @@ export class ExportClient {
781
821
  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, `Export/chargebacks/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
782
822
  method: "GET",
783
823
  headers: _headers,
784
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
824
+ queryString: core.url
825
+ .queryBuilder()
826
+ .addMany(_queryParams)
827
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
828
+ .build(),
785
829
  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,
786
830
  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,
787
831
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -853,7 +897,11 @@ export class ExportClient {
853
897
  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, `Export/customers/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
854
898
  method: "GET",
855
899
  headers: _headers,
856
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
900
+ queryString: core.url
901
+ .queryBuilder()
902
+ .addMany(_queryParams)
903
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
904
+ .build(),
857
905
  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,
858
906
  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,
859
907
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -925,7 +973,11 @@ export class ExportClient {
925
973
  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, `Export/customers/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
926
974
  method: "GET",
927
975
  headers: _headers,
928
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
976
+ queryString: core.url
977
+ .queryBuilder()
978
+ .addMany(_queryParams)
979
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
980
+ .build(),
929
981
  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,
930
982
  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,
931
983
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -997,7 +1049,11 @@ export class ExportClient {
997
1049
  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, `Export/invoices/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
998
1050
  method: "GET",
999
1051
  headers: _headers,
1000
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1052
+ queryString: core.url
1053
+ .queryBuilder()
1054
+ .addMany(_queryParams)
1055
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1056
+ .build(),
1001
1057
  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,
1002
1058
  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,
1003
1059
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1069,7 +1125,11 @@ export class ExportClient {
1069
1125
  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, `Export/invoices/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
1070
1126
  method: "GET",
1071
1127
  headers: _headers,
1072
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1128
+ queryString: core.url
1129
+ .queryBuilder()
1130
+ .addMany(_queryParams)
1131
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1132
+ .build(),
1073
1133
  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,
1074
1134
  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,
1075
1135
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1141,7 +1201,11 @@ export class ExportClient {
1141
1201
  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, `Export/organizations/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
1142
1202
  method: "GET",
1143
1203
  headers: _headers,
1144
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1204
+ queryString: core.url
1205
+ .queryBuilder()
1206
+ .addMany(_queryParams)
1207
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1208
+ .build(),
1145
1209
  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,
1146
1210
  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,
1147
1211
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1213,7 +1277,11 @@ export class ExportClient {
1213
1277
  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, `Export/payouts/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
1214
1278
  method: "GET",
1215
1279
  headers: _headers,
1216
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1280
+ queryString: core.url
1281
+ .queryBuilder()
1282
+ .addMany(_queryParams)
1283
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1284
+ .build(),
1217
1285
  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,
1218
1286
  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,
1219
1287
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1285,7 +1353,11 @@ export class ExportClient {
1285
1353
  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, `Export/payouts/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
1286
1354
  method: "GET",
1287
1355
  headers: _headers,
1288
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1356
+ queryString: core.url
1357
+ .queryBuilder()
1358
+ .addMany(_queryParams)
1359
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1360
+ .build(),
1289
1361
  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,
1290
1362
  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,
1291
1363
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1357,7 +1429,11 @@ export class ExportClient {
1357
1429
  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, `Export/paypoints/${core.url.encodePathParam(format)}/${core.url.encodePathParam(orgId)}`),
1358
1430
  method: "GET",
1359
1431
  headers: _headers,
1360
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1432
+ queryString: core.url
1433
+ .queryBuilder()
1434
+ .addMany(_queryParams)
1435
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1436
+ .build(),
1361
1437
  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,
1362
1438
  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,
1363
1439
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1429,7 +1505,11 @@ export class ExportClient {
1429
1505
  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, `Export/settlements/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
1430
1506
  method: "GET",
1431
1507
  headers: _headers,
1432
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1508
+ queryString: core.url
1509
+ .queryBuilder()
1510
+ .addMany(_queryParams)
1511
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1512
+ .build(),
1433
1513
  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,
1434
1514
  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,
1435
1515
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1501,7 +1581,11 @@ export class ExportClient {
1501
1581
  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, `Export/settlements/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
1502
1582
  method: "GET",
1503
1583
  headers: _headers,
1504
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1584
+ queryString: core.url
1585
+ .queryBuilder()
1586
+ .addMany(_queryParams)
1587
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1588
+ .build(),
1505
1589
  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,
1506
1590
  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,
1507
1591
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1573,7 +1657,11 @@ export class ExportClient {
1573
1657
  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, `Export/subscriptions/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
1574
1658
  method: "GET",
1575
1659
  headers: _headers,
1576
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1660
+ queryString: core.url
1661
+ .queryBuilder()
1662
+ .addMany(_queryParams)
1663
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1664
+ .build(),
1577
1665
  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,
1578
1666
  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,
1579
1667
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1645,7 +1733,11 @@ export class ExportClient {
1645
1733
  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, `Export/subscriptions/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
1646
1734
  method: "GET",
1647
1735
  headers: _headers,
1648
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1736
+ queryString: core.url
1737
+ .queryBuilder()
1738
+ .addMany(_queryParams)
1739
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1740
+ .build(),
1649
1741
  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,
1650
1742
  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,
1651
1743
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1717,7 +1809,11 @@ export class ExportClient {
1717
1809
  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, `Export/transactions/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
1718
1810
  method: "GET",
1719
1811
  headers: _headers,
1720
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1812
+ queryString: core.url
1813
+ .queryBuilder()
1814
+ .addMany(_queryParams)
1815
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1816
+ .build(),
1721
1817
  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,
1722
1818
  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,
1723
1819
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1789,7 +1885,11 @@ export class ExportClient {
1789
1885
  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, `Export/transactions/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
1790
1886
  method: "GET",
1791
1887
  headers: _headers,
1792
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1888
+ queryString: core.url
1889
+ .queryBuilder()
1890
+ .addMany(_queryParams)
1891
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1892
+ .build(),
1793
1893
  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,
1794
1894
  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,
1795
1895
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1864,7 +1964,11 @@ export class ExportClient {
1864
1964
  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, `Export/transferDetails/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}/${core.url.encodePathParam(transferId)}`),
1865
1965
  method: "GET",
1866
1966
  headers: _headers,
1867
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
1967
+ queryString: core.url
1968
+ .queryBuilder()
1969
+ .addMany(_queryParams)
1970
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
1971
+ .build(),
1868
1972
  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,
1869
1973
  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,
1870
1974
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -1937,7 +2041,11 @@ export class ExportClient {
1937
2041
  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, `Export/transfers/${core.url.encodePathParam(entry)}`),
1938
2042
  method: "GET",
1939
2043
  headers: _headers,
1940
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
2044
+ queryString: core.url
2045
+ .queryBuilder()
2046
+ .addMany(_queryParams)
2047
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
2048
+ .build(),
1941
2049
  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,
1942
2050
  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,
1943
2051
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -2009,7 +2117,11 @@ export class ExportClient {
2009
2117
  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, `Export/vendors/${core.url.encodePathParam(format)}/${core.url.encodePathParam(entry)}`),
2010
2118
  method: "GET",
2011
2119
  headers: _headers,
2012
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
2120
+ queryString: core.url
2121
+ .queryBuilder()
2122
+ .addMany(_queryParams)
2123
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
2124
+ .build(),
2013
2125
  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,
2014
2126
  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,
2015
2127
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -2076,7 +2188,11 @@ export class ExportClient {
2076
2188
  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, `Export/vendors/${core.url.encodePathParam(format)}/org/${core.url.encodePathParam(orgId)}`),
2077
2189
  method: "GET",
2078
2190
  headers: _headers,
2079
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
2191
+ queryString: core.url
2192
+ .queryBuilder()
2193
+ .addMany(_queryParams)
2194
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
2195
+ .build(),
2080
2196
  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,
2081
2197
  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,
2082
2198
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -67,7 +67,7 @@ export class GhostCardClient {
67
67
  method: "POST",
68
68
  headers: _headers,
69
69
  contentType: "application/json",
70
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
70
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
71
71
  requestType: "json",
72
72
  body: request,
73
73
  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,
@@ -131,7 +131,7 @@ export class GhostCardClient {
131
131
  method: "PATCH",
132
132
  headers: _headers,
133
133
  contentType: "application/json",
134
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
134
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
135
135
  requestType: "json",
136
136
  body: request,
137
137
  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,
@@ -46,7 +46,7 @@ export class HostedPaymentPagesClient {
46
46
  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, `Paypoint/load/${core.url.encodePathParam(entry)}/${core.url.encodePathParam(subdomain)}`),
47
47
  method: "GET",
48
48
  headers: _headers,
49
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
49
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
50
50
  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,
51
51
  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,
52
52
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -111,7 +111,7 @@ export class HostedPaymentPagesClient {
111
111
  method: "POST",
112
112
  headers: _headers,
113
113
  contentType: "application/json",
114
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
114
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
115
115
  requestType: "json",
116
116
  body: _body,
117
117
  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,
@@ -176,7 +176,7 @@ export class HostedPaymentPagesClient {
176
176
  method: "PUT",
177
177
  headers: _headers,
178
178
  contentType: "application/json",
179
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
179
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
180
180
  requestType: "json",
181
181
  body: request,
182
182
  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,
@@ -52,7 +52,7 @@ export class ImportClient {
52
52
  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, `Import/billsForm/${core.url.encodePathParam(entry)}`),
53
53
  method: "POST",
54
54
  headers: _headers,
55
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
55
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
56
56
  requestType: "file",
57
57
  duplex: _maybeEncodedRequest.duplex,
58
58
  body: _maybeEncodedRequest.body,
@@ -122,7 +122,11 @@ export class ImportClient {
122
122
  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, `Import/customersForm/${core.url.encodePathParam(entry)}`),
123
123
  method: "POST",
124
124
  headers: _headers,
125
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
125
+ queryString: core.url
126
+ .queryBuilder()
127
+ .addMany(_queryParams)
128
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
129
+ .build(),
126
130
  requestType: "file",
127
131
  duplex: _maybeEncodedRequest.duplex,
128
132
  body: _maybeEncodedRequest.body,
@@ -184,7 +188,7 @@ export class ImportClient {
184
188
  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, `Import/vendorsForm/${core.url.encodePathParam(entry)}`),
185
189
  method: "POST",
186
190
  headers: _headers,
187
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
191
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
188
192
  requestType: "file",
189
193
  duplex: _maybeEncodedRequest.duplex,
190
194
  body: _maybeEncodedRequest.body,