@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
@@ -8,7 +8,13 @@ export declare namespace Fetcher {
8
8
  method: string;
9
9
  contentType?: string;
10
10
  headers?: Record<string, unknown>;
11
+ /**
12
+ * @deprecated Prefer `queryString` (produced by `core.url.queryBuilder()`).
13
+ * Retained for backwards compatibility with custom fetchers and callers that
14
+ * still construct request args with a query-parameter object.
15
+ */
11
16
  queryParameters?: Record<string, unknown>;
17
+ queryString?: string;
12
18
  body?: unknown;
13
19
  timeoutMs?: number;
14
20
  maxRetries?: number;
@@ -75,16 +75,11 @@ const SENSITIVE_QUERY_PARAMS = new Set([
75
75
  ]);
76
76
  function redactQueryParameters(queryParameters) {
77
77
  if (queryParameters == null) {
78
- return queryParameters;
78
+ return undefined;
79
79
  }
80
80
  const redacted = {};
81
81
  for (const [key, value] of Object.entries(queryParameters)) {
82
- if (SENSITIVE_QUERY_PARAMS.has(key.toLowerCase())) {
83
- redacted[key] = "[REDACTED]";
84
- }
85
- else {
86
- redacted[key] = value;
87
- }
82
+ redacted[key] = SENSITIVE_QUERY_PARAMS.has(key.toLowerCase()) ? "[REDACTED]" : value;
88
83
  }
89
84
  return redacted;
90
85
  }
@@ -186,7 +181,13 @@ function getHeaders(args) {
186
181
  function fetcherImpl(args) {
187
182
  return __awaiter(this, void 0, void 0, function* () {
188
183
  var _a, _b, _c;
189
- const url = (0, createRequestUrl_js_1.createRequestUrl)(args.url, args.queryParameters);
184
+ let url = args.url;
185
+ if (args.queryString != null && args.queryString.length > 0) {
186
+ url = `${url}?${args.queryString}`;
187
+ }
188
+ else {
189
+ url = (0, createRequestUrl_js_1.createRequestUrl)(args.url, args.queryParameters);
190
+ }
190
191
  const requestBody = yield (0, getRequestBody_js_1.getRequestBody)({
191
192
  body: args.body,
192
193
  type: (_a = args.requestType) !== null && _a !== void 0 ? _a : "other",
@@ -14,6 +14,9 @@ const INITIAL_RETRY_DELAY = 1000; // in milliseconds
14
14
  const MAX_RETRY_DELAY = 60000; // in milliseconds
15
15
  const DEFAULT_MAX_RETRIES = 2;
16
16
  const JITTER_FACTOR = 0.2; // 20% random jitter
17
+ function isRetryableStatusCode(statusCode) {
18
+ return [408, 429].includes(statusCode) || statusCode >= 500;
19
+ }
17
20
  function addPositiveJitter(delay) {
18
21
  const jitterMultiplier = 1 + Math.random() * JITTER_FACTOR;
19
22
  return delay * jitterMultiplier;
@@ -53,7 +56,7 @@ function requestWithRetries(requestFn_1) {
53
56
  return __awaiter(this, arguments, void 0, function* (requestFn, maxRetries = DEFAULT_MAX_RETRIES) {
54
57
  let response = yield requestFn();
55
58
  for (let i = 0; i < maxRetries; ++i) {
56
- if ([408, 429].includes(response.status) || response.status >= 500) {
59
+ if (isRetryableStatusCode(response.status)) {
57
60
  const delay = getRetryDelayFromHeaders(response, i);
58
61
  yield new Promise((resolve) => setTimeout(resolve, delay));
59
62
  response = yield requestFn();
@@ -0,0 +1,47 @@
1
+ /**
2
+ * Creates a fluent builder for constructing URL query strings.
3
+ *
4
+ * Each `.add()` call serializes its value immediately (like C#'s builder),
5
+ * so no format tracking is needed — the style is applied at add-time.
6
+ *
7
+ * Usage (generated code):
8
+ *
9
+ * const qs = core.url.queryBuilder()
10
+ * .add("limit", limit)
11
+ * .add("tags", tags, { style: "comma" }) // explode: false
12
+ * .mergeAdditional(requestOptions?.queryParams)
13
+ * .build();
14
+ */
15
+ export declare function queryBuilder(): QueryStringBuilder;
16
+ declare class QueryStringBuilder {
17
+ private parts;
18
+ /**
19
+ * Adds a query parameter, serializing it immediately.
20
+ *
21
+ * By default arrays use "repeat" format (`key=a&key=b`).
22
+ * Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
23
+ * to get comma-separated values (`key=a,b,c`).
24
+ *
25
+ * Null / undefined values are silently skipped.
26
+ */
27
+ add(key: string, value: unknown, options?: {
28
+ style?: "comma";
29
+ }): this;
30
+ /**
31
+ * Adds multiple query parameters at once from a record.
32
+ * All parameters use the default "repeat" array format.
33
+ * Null / undefined values are silently skipped.
34
+ */
35
+ addMany(params: Record<string, unknown>): this;
36
+ /**
37
+ * Merges additional query parameters supplied at call-time via
38
+ * `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
39
+ */
40
+ mergeAdditional(additionalParams?: Record<string, unknown>): this;
41
+ /**
42
+ * Returns the assembled query string (without the leading `?`).
43
+ * Returns an empty string when no parameters were added.
44
+ */
45
+ build(): string;
46
+ }
47
+ export {};
@@ -0,0 +1,83 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.queryBuilder = queryBuilder;
4
+ const qs_js_1 = require("./qs.js");
5
+ /**
6
+ * Creates a fluent builder for constructing URL query strings.
7
+ *
8
+ * Each `.add()` call serializes its value immediately (like C#'s builder),
9
+ * so no format tracking is needed — the style is applied at add-time.
10
+ *
11
+ * Usage (generated code):
12
+ *
13
+ * const qs = core.url.queryBuilder()
14
+ * .add("limit", limit)
15
+ * .add("tags", tags, { style: "comma" }) // explode: false
16
+ * .mergeAdditional(requestOptions?.queryParams)
17
+ * .build();
18
+ */
19
+ function queryBuilder() {
20
+ return new QueryStringBuilder();
21
+ }
22
+ class QueryStringBuilder {
23
+ constructor() {
24
+ this.parts = new Map();
25
+ }
26
+ /**
27
+ * Adds a query parameter, serializing it immediately.
28
+ *
29
+ * By default arrays use "repeat" format (`key=a&key=b`).
30
+ * Pass `{ style: "comma" }` for OpenAPI `explode: false` parameters
31
+ * to get comma-separated values (`key=a,b,c`).
32
+ *
33
+ * Null / undefined values are silently skipped.
34
+ */
35
+ add(key, value, options) {
36
+ if (value === undefined || value === null) {
37
+ return this;
38
+ }
39
+ const serialized = (0, qs_js_1.toQueryString)({ [key]: value }, { arrayFormat: (options === null || options === void 0 ? void 0 : options.style) === "comma" ? "comma" : "repeat" });
40
+ if (serialized.length > 0) {
41
+ this.parts.set(key, serialized);
42
+ }
43
+ return this;
44
+ }
45
+ /**
46
+ * Adds multiple query parameters at once from a record.
47
+ * All parameters use the default "repeat" array format.
48
+ * Null / undefined values are silently skipped.
49
+ */
50
+ addMany(params) {
51
+ if (params != null) {
52
+ for (const [key, value] of Object.entries(params)) {
53
+ this.add(key, value);
54
+ }
55
+ }
56
+ return this;
57
+ }
58
+ /**
59
+ * Merges additional query parameters supplied at call-time via
60
+ * `requestOptions.queryParams`. Overrides existing keys (last-write-wins).
61
+ */
62
+ mergeAdditional(additionalParams) {
63
+ if (additionalParams != null) {
64
+ for (const [key, value] of Object.entries(additionalParams)) {
65
+ if (value === undefined || value === null) {
66
+ continue;
67
+ }
68
+ const serialized = (0, qs_js_1.toQueryString)({ [key]: value }, { arrayFormat: "repeat" });
69
+ if (serialized.length > 0) {
70
+ this.parts.set(key, serialized);
71
+ }
72
+ }
73
+ }
74
+ return this;
75
+ }
76
+ /**
77
+ * Returns the assembled query string (without the leading `?`).
78
+ * Returns an empty string when no parameters were added.
79
+ */
80
+ build() {
81
+ return [...this.parts.values()].join("&");
82
+ }
83
+ }
@@ -1,3 +1,4 @@
1
1
  export { encodePathParam } from "./encodePathParam.js";
2
2
  export { join } from "./join.js";
3
+ export { queryBuilder } from "./QueryStringBuilder.js";
3
4
  export { toQueryString } from "./qs.js";
@@ -1,9 +1,11 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.toQueryString = exports.join = exports.encodePathParam = void 0;
3
+ exports.toQueryString = exports.queryBuilder = exports.join = exports.encodePathParam = void 0;
4
4
  var encodePathParam_js_1 = require("./encodePathParam.js");
5
5
  Object.defineProperty(exports, "encodePathParam", { enumerable: true, get: function () { return encodePathParam_js_1.encodePathParam; } });
6
6
  var join_js_1 = require("./join.js");
7
7
  Object.defineProperty(exports, "join", { enumerable: true, get: function () { return join_js_1.join; } });
8
+ var QueryStringBuilder_js_1 = require("./QueryStringBuilder.js");
9
+ Object.defineProperty(exports, "queryBuilder", { enumerable: true, get: function () { return QueryStringBuilder_js_1.queryBuilder; } });
8
10
  var qs_js_1 = require("./qs.js");
9
11
  Object.defineProperty(exports, "toQueryString", { enumerable: true, get: function () { return qs_js_1.toQueryString; } });
@@ -1,5 +1,6 @@
1
+ type ArrayFormat = "indices" | "repeat" | "comma";
1
2
  interface QueryStringOptions {
2
- arrayFormat?: "indices" | "repeat";
3
+ arrayFormat?: ArrayFormat;
3
4
  encode?: boolean;
4
5
  }
5
6
  export declare function toQueryString(obj: unknown, options?: QueryStringOptions): string;
@@ -26,19 +26,31 @@ function stringifyObject(obj, prefix = "", options) {
26
26
  if (value.length === 0) {
27
27
  continue;
28
28
  }
29
- for (let i = 0; i < value.length; i++) {
30
- const item = value[i];
31
- if (item === undefined) {
32
- continue;
29
+ const effectiveFormat = options.arrayFormat;
30
+ if (effectiveFormat === "comma") {
31
+ const encodedKey = options.encode ? encodeURIComponent(fullKey) : fullKey;
32
+ const encodedValues = value
33
+ .filter((item) => item !== undefined && item !== null)
34
+ .map((item) => encodeValue(item, options.encode));
35
+ if (encodedValues.length > 0) {
36
+ parts.push(`${encodedKey}=${encodedValues.join(",")}`);
33
37
  }
34
- if (typeof item === "object" && !Array.isArray(item) && item !== null) {
35
- const arrayKey = options.arrayFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
36
- parts.push(...stringifyObject(item, arrayKey, options));
37
- }
38
- else {
39
- const arrayKey = options.arrayFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
40
- const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
41
- parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
38
+ }
39
+ else {
40
+ for (let i = 0; i < value.length; i++) {
41
+ const item = value[i];
42
+ if (item === undefined) {
43
+ continue;
44
+ }
45
+ if (typeof item === "object" && !Array.isArray(item) && item !== null) {
46
+ const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
47
+ parts.push(...stringifyObject(item, arrayKey, options));
48
+ }
49
+ else {
50
+ const arrayKey = effectiveFormat === "indices" ? `${fullKey}[${i}]` : fullKey;
51
+ const encodedKey = options.encode ? encodeURIComponent(arrayKey) : arrayKey;
52
+ parts.push(`${encodedKey}=${encodeValue(item, options.encode)}`);
53
+ }
42
54
  }
43
55
  }
44
56
  }
@@ -1 +1 @@
1
- export declare const SDK_VERSION = "0.0.143";
1
+ export declare const SDK_VERSION = "0.0.145";
@@ -1,4 +1,4 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.SDK_VERSION = void 0;
4
- exports.SDK_VERSION = "0.0.143";
4
+ exports.SDK_VERSION = "0.0.145";
@@ -1,6 +1,7 @@
1
1
  import { HeaderAuthProvider } from "./auth/HeaderAuthProvider.mjs";
2
2
  import * as core from "./core/index.mjs";
3
3
  import type * as environments from "./environments.mjs";
4
+ export type AuthOption = false | core.AuthProvider["getAuthRequest"] | core.AuthProvider | HeaderAuthProvider.AuthOptions;
4
5
  export type BaseClientOptions = {
5
6
  environment?: core.Supplier<environments.PayabliEnvironment | string>;
6
7
  /** Specify a custom URL to connect the client to. */
@@ -15,6 +16,8 @@ export type BaseClientOptions = {
15
16
  fetch?: typeof fetch;
16
17
  /** Configure logging for the client. */
17
18
  logging?: core.logging.LogConfig | core.logging.Logger;
19
+ /** Override auth. Pass false to disable, a function returning auth headers, an AuthProvider, or auth options. */
20
+ auth?: AuthOption;
18
21
  } & HeaderAuthProvider.AuthOptions;
19
22
  export interface BaseRequestOptions {
20
23
  /** The maximum time to wait for a response in seconds. */
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
6
6
  const headers = mergeHeaders({
7
7
  "X-Fern-Language": "JavaScript",
8
8
  "X-Fern-SDK-Name": "@payabli/sdk-node",
9
- "X-Fern-SDK-Version": "0.0.143",
10
- "User-Agent": "@payabli/sdk-node/0.0.143",
9
+ "X-Fern-SDK-Version": "0.0.145",
10
+ "User-Agent": "@payabli/sdk-node/0.0.145",
11
11
  "X-Fern-Runtime": core.RUNTIME.type,
12
12
  "X-Fern-Runtime-Version": core.RUNTIME.version,
13
13
  }, options === null || options === void 0 ? void 0 : options.headers);
@@ -16,6 +16,21 @@ export function normalizeClientOptions(options) {
16
16
  export function normalizeClientOptionsWithAuth(options) {
17
17
  var _a;
18
18
  const normalized = normalizeClientOptions(options);
19
+ if (options.auth === false) {
20
+ normalized.authProvider = new core.NoOpAuthProvider();
21
+ return normalized;
22
+ }
23
+ if (options.auth != null) {
24
+ if (typeof options.auth === "function") {
25
+ normalized.authProvider = { getAuthRequest: options.auth };
26
+ return normalized;
27
+ }
28
+ if (core.isAuthProvider(options.auth)) {
29
+ normalized.authProvider = options.auth;
30
+ return normalized;
31
+ }
32
+ Object.assign(normalized, options.auth);
33
+ }
19
34
  const normalizedWithNoOpAuthProvider = withNoOpAuthProvider(normalized);
20
35
  (_a = normalized.authProvider) !== null && _a !== void 0 ? _a : (normalized.authProvider = new HeaderAuthProvider(normalizedWithNoOpAuthProvider));
21
36
  return normalized;
@@ -85,7 +85,7 @@ export class BillClient {
85
85
  method: "POST",
86
86
  headers: _headers,
87
87
  contentType: "application/json",
88
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
88
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
89
89
  requestType: "json",
90
90
  body: _body,
91
91
  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,
@@ -165,7 +165,11 @@ export class BillClient {
165
165
  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, `Bill/attachedFileFromBill/${core.url.encodePathParam(idBill)}/${core.url.encodePathParam(filename)}`),
166
166
  method: "DELETE",
167
167
  headers: _headers,
168
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
168
+ queryString: core.url
169
+ .queryBuilder()
170
+ .addMany(_queryParams)
171
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
172
+ .build(),
169
173
  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,
170
174
  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,
171
175
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -222,7 +226,7 @@ export class BillClient {
222
226
  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, `Bill/${core.url.encodePathParam(idBill)}`),
223
227
  method: "DELETE",
224
228
  headers: _headers,
225
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
229
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
226
230
  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,
227
231
  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,
228
232
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -284,7 +288,7 @@ export class BillClient {
284
288
  method: "PUT",
285
289
  headers: _headers,
286
290
  contentType: "application/json",
287
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
291
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
288
292
  requestType: "json",
289
293
  body: request,
290
294
  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,
@@ -361,7 +365,11 @@ export class BillClient {
361
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, `Bill/attachedFileFromBill/${core.url.encodePathParam(idBill)}/${core.url.encodePathParam(filename)}`),
362
366
  method: "GET",
363
367
  headers: _headers,
364
- 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(),
365
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,
366
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,
367
375
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -418,7 +426,7 @@ export class BillClient {
418
426
  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, `Bill/${core.url.encodePathParam(idBill)}`),
419
427
  method: "GET",
420
428
  headers: _headers,
421
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
429
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
422
430
  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,
423
431
  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,
424
432
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -488,7 +496,11 @@ export class BillClient {
488
496
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Query/bills/${core.url.encodePathParam(entry)}`),
489
497
  method: "GET",
490
498
  headers: _headers,
491
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
499
+ queryString: core.url
500
+ .queryBuilder()
501
+ .addMany(_queryParams)
502
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
503
+ .build(),
492
504
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
493
505
  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,
494
506
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -558,7 +570,11 @@ export class BillClient {
558
570
  url: core.url.join((_c = (_b = (yield core.Supplier.get(this._options.baseUrl))) !== null && _b !== void 0 ? _b : (yield core.Supplier.get(this._options.environment))) !== null && _c !== void 0 ? _c : environments.PayabliEnvironment.Sandbox, `Query/bills/org/${core.url.encodePathParam(orgId)}`),
559
571
  method: "GET",
560
572
  headers: _headers,
561
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
573
+ queryString: core.url
574
+ .queryBuilder()
575
+ .addMany(_queryParams)
576
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
577
+ .build(),
562
578
  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,
563
579
  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,
564
580
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -617,7 +633,7 @@ export class BillClient {
617
633
  method: "PUT",
618
634
  headers: _headers,
619
635
  contentType: "application/json",
620
- queryParameters: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams,
636
+ queryString: core.url.queryBuilder().mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams).build(),
621
637
  requestType: "json",
622
638
  body: request,
623
639
  timeoutMs: ((_f = (_d = requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.timeoutInSeconds) !== null && _d !== void 0 ? _d : (_e = this._options) === null || _e === void 0 ? void 0 : _e.timeoutInSeconds) !== null && _f !== void 0 ? _f : 60) * 1000,
@@ -685,7 +701,11 @@ export class BillClient {
685
701
  method: "POST",
686
702
  headers: _headers,
687
703
  contentType: "application/json",
688
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
704
+ queryString: core.url
705
+ .queryBuilder()
706
+ .addMany(_queryParams)
707
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
708
+ .build(),
689
709
  requestType: "json",
690
710
  body: _body,
691
711
  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,
@@ -750,7 +770,11 @@ export class BillClient {
750
770
  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, `Bill/approval/${core.url.encodePathParam(idBill)}/${core.url.encodePathParam(approved)}`),
751
771
  method: "GET",
752
772
  headers: _headers,
753
- queryParameters: Object.assign(Object.assign({}, _queryParams), requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams),
773
+ queryString: core.url
774
+ .queryBuilder()
775
+ .addMany(_queryParams)
776
+ .mergeAdditional(requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.queryParams)
777
+ .build(),
754
778
  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,
755
779
  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,
756
780
  abortSignal: requestOptions === null || requestOptions === void 0 ? void 0 : requestOptions.abortSignal,
@@ -711,4 +711,42 @@ export declare class BoardingClient {
711
711
  */
712
712
  updateApplication(appId: number, request: Payabli.ApplicationData, requestOptions?: BoardingClient.RequestOptions): core.HttpResponsePromise<Payabli.PayabliApiResponse00Responsedatanonobject>;
713
713
  private __updateApplication;
714
+ /**
715
+ * Creates a new boarding application linked to an existing paypoint as part of the multi-product boarding flow. Use this endpoint to add new services to a paypoint without creating a duplicate record. The system copies eligible business, contact, banking, and address data from the paypoint to the new application based on 1:1 field matching. The merchant only needs to provide fields that are specific to the new service. See the [Multi-product boarding](/guides/pay-ops-developer-boarding-multi-product) guide for the full flow.
716
+ *
717
+ * @param {Payabli.CreateApplicationFromPaypointRequest} request
718
+ * @param {BoardingClient.RequestOptions} requestOptions - Request-specific configuration.
719
+ *
720
+ * @throws {@link Payabli.BadRequestError}
721
+ * @throws {@link Payabli.UnauthorizedError}
722
+ * @throws {@link Payabli.InternalServerError}
723
+ * @throws {@link Payabli.ServiceUnavailableError}
724
+ *
725
+ * @example
726
+ * await client.boarding.addServiceToPaypointFromApp({
727
+ * paypointId: 123,
728
+ * templateId: 456,
729
+ * recipientEmail: "merchant@example.com",
730
+ * returnBoardingAccessInfoInLine: true,
731
+ * onCreate: ["submitApplication"]
732
+ * })
733
+ */
734
+ addServiceToPaypointFromApp(request: Payabli.CreateApplicationFromPaypointRequest, requestOptions?: BoardingClient.RequestOptions): core.HttpResponsePromise<Payabli.CreateApplicationFromPaypointResponse>;
735
+ private __addServiceToPaypointFromApp;
736
+ /**
737
+ * Returns all boarding applications associated with a specific paypoint, including those created through the multi-product boarding flow. Use this endpoint to track underwriting progress across multiple service additions or to build reporting views. See the [Multi-product boarding](/guides/pay-ops-developer-boarding-multi-product) guide for the full flow.
738
+ *
739
+ * @param {number} paypointId - ID of the paypoint to retrieve applications for.
740
+ * @param {BoardingClient.RequestOptions} requestOptions - Request-specific configuration.
741
+ *
742
+ * @throws {@link Payabli.BadRequestError}
743
+ * @throws {@link Payabli.UnauthorizedError}
744
+ * @throws {@link Payabli.InternalServerError}
745
+ * @throws {@link Payabli.ServiceUnavailableError}
746
+ *
747
+ * @example
748
+ * await client.boarding.getApplicationsByPaypointId(12345)
749
+ */
750
+ getApplicationsByPaypointId(paypointId: number, requestOptions?: BoardingClient.RequestOptions): core.HttpResponsePromise<Payabli.QueryBoardingAppsListResponse>;
751
+ private __getApplicationsByPaypointId;
714
752
  }