@emilgroup/payment-sdk-node 1.21.1-beta.8 → 1.21.1-beta.80

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 (140) hide show
  1. package/.openapi-generator/FILES +20 -1
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +55 -13
  4. package/api/bank-orders-api.ts +695 -0
  5. package/api/bank-transaction-api.ts +177 -63
  6. package/api/payment-methods-api.ts +59 -17
  7. package/api/payment-reminders-api.ts +55 -13
  8. package/api/payments-api.ts +188 -21
  9. package/api/refunds-api.ts +45 -17
  10. package/api/tenant-bank-account-api.ts +45 -17
  11. package/api.ts +2 -0
  12. package/base.ts +46 -4
  13. package/dist/api/bank-accounts-api.d.ts +35 -8
  14. package/dist/api/bank-accounts-api.js +29 -11
  15. package/dist/api/bank-orders-api.d.ts +393 -0
  16. package/dist/api/bank-orders-api.js +646 -0
  17. package/dist/api/bank-transaction-api.d.ts +110 -46
  18. package/dist/api/bank-transaction-api.js +141 -44
  19. package/dist/api/payment-methods-api.d.ts +39 -12
  20. package/dist/api/payment-methods-api.js +32 -14
  21. package/dist/api/payment-reminders-api.d.ts +35 -8
  22. package/dist/api/payment-reminders-api.js +29 -11
  23. package/dist/api/payments-api.d.ts +112 -16
  24. package/dist/api/payments-api.js +141 -18
  25. package/dist/api/refunds-api.d.ts +28 -10
  26. package/dist/api/refunds-api.js +24 -12
  27. package/dist/api/tenant-bank-account-api.d.ts +28 -10
  28. package/dist/api/tenant-bank-account-api.js +24 -12
  29. package/dist/api.d.ts +1 -0
  30. package/dist/api.js +1 -0
  31. package/dist/base.d.ts +11 -2
  32. package/dist/base.js +42 -3
  33. package/dist/models/bank-order-class.d.ts +115 -0
  34. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +30 -11
  35. package/dist/models/bank-transaction-class-without-expand-properties.js +5 -0
  36. package/dist/models/bank-transaction-class.d.ts +47 -14
  37. package/dist/models/bank-transaction-class.js +5 -0
  38. package/dist/models/bank-transaction-invoice-class.d.ts +54 -0
  39. package/dist/models/bank-transaction-invoice-class.js +15 -0
  40. package/dist/models/bank-transfer-dto.d.ts +25 -0
  41. package/dist/models/bank-transfer-dto.js +15 -0
  42. package/dist/models/billing-address-dto.d.ts +48 -0
  43. package/dist/models/billing-address-dto.js +15 -0
  44. package/dist/models/complete-adyen-payment-setup-request-dto.d.ts +2 -0
  45. package/dist/models/complete-adyen-payment-setup-request-dto.js +3 -1
  46. package/dist/models/complete-eis-payment-setup-request-dto.d.ts +36 -0
  47. package/dist/models/complete-eis-payment-setup-request-dto.js +15 -0
  48. package/dist/models/complete-payment-setup-request-dto.d.ts +7 -0
  49. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +2 -0
  50. package/dist/models/complete-stripe-payment-setup-request-dto.js +3 -1
  51. package/dist/models/create-bank-order-request-dto.d.ts +74 -0
  52. package/dist/models/create-bank-order-request-dto.js +28 -0
  53. package/dist/models/create-bank-order-response-class.d.ts +25 -0
  54. package/dist/models/create-bank-order-response-class.js +15 -0
  55. package/dist/models/create-payment-order-dto.d.ts +48 -0
  56. package/dist/models/create-payment-order-dto.js +15 -0
  57. package/dist/models/create-payment-order-request-dto.d.ts +48 -0
  58. package/dist/models/create-payment-order-request-dto.js +15 -0
  59. package/dist/models/create-payment-reminder-request-dto.d.ts +7 -1
  60. package/dist/models/create-payment-request-dto.d.ts +7 -1
  61. package/dist/models/create-psp-payment-method-request-dto.d.ts +22 -1
  62. package/dist/models/create-psp-payment-method-request-dto.js +3 -1
  63. package/dist/models/deactivated-payment-reminder-class.d.ts +7 -1
  64. package/dist/models/financial-account-class.d.ts +111 -0
  65. package/dist/models/financial-account-class.js +24 -0
  66. package/dist/models/generate-invoice-match-suggestions-response-class.d.ts +25 -0
  67. package/dist/models/generate-invoice-match-suggestions-response-class.js +15 -0
  68. package/dist/models/get-bank-order-response-class.d.ts +25 -0
  69. package/dist/models/get-bank-order-response-class.js +15 -0
  70. package/dist/models/index.d.ts +19 -1
  71. package/dist/models/index.js +19 -1
  72. package/dist/models/initiate-adyen-payment-setup-request-dto.d.ts +6 -0
  73. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +6 -0
  74. package/dist/models/initiate-eis-payment-setup-request-dto.d.ts +36 -0
  75. package/dist/models/initiate-eis-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-payment-setup-request-dto.d.ts +3 -2
  77. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +6 -0
  78. package/dist/models/{unlink-bank-transaction-request-dto-rest.d.ts → invoice-allocation-dto.d.ts} +10 -4
  79. package/dist/models/invoice-allocation-dto.js +15 -0
  80. package/dist/models/invoice-match-suggestion-class.d.ts +60 -0
  81. package/dist/models/invoice-match-suggestion-class.js +15 -0
  82. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +4 -3
  83. package/dist/models/list-bank-orders-response-class.d.ts +31 -0
  84. package/dist/models/list-bank-orders-response-class.js +15 -0
  85. package/dist/models/payment-class-without-expand-properties.d.ts +7 -1
  86. package/dist/models/payment-class.d.ts +7 -1
  87. package/dist/models/payment-method-class.d.ts +6 -0
  88. package/dist/models/payment-reminder-class.d.ts +7 -1
  89. package/dist/models/refund-class.d.ts +7 -1
  90. package/dist/models/suggestion-generation-progress-class.d.ts +43 -0
  91. package/dist/models/suggestion-generation-progress-class.js +22 -0
  92. package/dist/models/unlinked-bank-transaction-response-class.d.ts +33 -2
  93. package/dist/models/unlinked-bank-transaction-response-class.js +5 -0
  94. package/dist/models/update-bank-order-request-dto.d.ts +62 -0
  95. package/dist/models/update-bank-order-request-dto.js +23 -0
  96. package/dist/models/update-bank-order-response-class.d.ts +25 -0
  97. package/dist/models/update-bank-order-response-class.js +15 -0
  98. package/models/bank-order-class.ts +121 -0
  99. package/models/bank-transaction-class-without-expand-properties.ts +33 -11
  100. package/models/bank-transaction-class.ts +50 -14
  101. package/models/bank-transaction-invoice-class.ts +60 -0
  102. package/models/bank-transfer-dto.ts +31 -0
  103. package/models/billing-address-dto.ts +54 -0
  104. package/models/complete-adyen-payment-setup-request-dto.ts +3 -1
  105. package/models/complete-eis-payment-setup-request-dto.ts +42 -0
  106. package/models/complete-payment-setup-request-dto.ts +7 -0
  107. package/models/complete-stripe-payment-setup-request-dto.ts +3 -1
  108. package/models/create-bank-order-request-dto.ts +84 -0
  109. package/models/create-bank-order-response-class.ts +31 -0
  110. package/models/create-payment-order-dto.ts +54 -0
  111. package/models/create-payment-order-request-dto.ts +54 -0
  112. package/models/create-payment-reminder-request-dto.ts +7 -1
  113. package/models/create-payment-request-dto.ts +7 -1
  114. package/models/create-psp-payment-method-request-dto.ts +23 -2
  115. package/models/deactivated-payment-reminder-class.ts +7 -1
  116. package/models/financial-account-class.ts +120 -0
  117. package/models/generate-invoice-match-suggestions-response-class.ts +31 -0
  118. package/models/get-bank-order-response-class.ts +31 -0
  119. package/models/index.ts +19 -1
  120. package/models/initiate-adyen-payment-setup-request-dto.ts +6 -0
  121. package/models/initiate-braintree-payment-setup-request-dto.ts +6 -0
  122. package/models/initiate-eis-payment-setup-request-dto.ts +42 -0
  123. package/models/initiate-payment-setup-request-dto.ts +3 -2
  124. package/models/initiate-stripe-payment-setup-request-dto.ts +6 -0
  125. package/models/{unlink-bank-transaction-request-dto-rest.ts → invoice-allocation-dto.ts} +10 -4
  126. package/models/invoice-match-suggestion-class.ts +66 -0
  127. package/models/link-bank-transaction-request-dto-rest.ts +4 -3
  128. package/models/list-bank-orders-response-class.ts +37 -0
  129. package/models/payment-class-without-expand-properties.ts +7 -1
  130. package/models/payment-class.ts +7 -1
  131. package/models/payment-method-class.ts +6 -0
  132. package/models/payment-reminder-class.ts +7 -1
  133. package/models/refund-class.ts +7 -1
  134. package/models/suggestion-generation-progress-class.ts +52 -0
  135. package/models/unlinked-bank-transaction-response-class.ts +36 -2
  136. package/models/update-bank-order-request-dto.ts +71 -0
  137. package/models/update-bank-order-response-class.ts +31 -0
  138. package/package.json +1 -1
  139. package/tsconfig.json +1 -0
  140. /package/dist/models/{unlink-bank-transaction-request-dto-rest.js → bank-order-class.js} +0 -0
@@ -134,14 +134,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
134
134
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
135
135
  * @summary List payment methods
136
136
  * @param {string} [authorization] Bearer Token
137
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
138
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug</i>
137
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
138
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
139
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
140
+ * @param {string} [search] To search the list by any field, pass search=xxx to fetch the result.
139
141
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.<br/> <br/> <i>Allowed values: id, createdAt</i>
140
142
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.<br/> <br/>
143
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.<br/> <br/> <i>Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode</i>
141
144
  * @param {*} [options] Override http request option.
142
145
  * @throws {RequiredError}
143
146
  */
144
- listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
147
+ listPaymentMethods: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
145
148
  const localVarPath = `/paymentservice/v1/payment-methods`;
146
149
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
147
150
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -160,12 +163,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
160
163
  // http bearer authentication required
161
164
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
162
165
 
166
+ if (pageSize !== undefined) {
167
+ localVarQueryParameter['pageSize'] = pageSize;
168
+ }
169
+
170
+ if (pageToken !== undefined) {
171
+ localVarQueryParameter['pageToken'] = pageToken;
172
+ }
173
+
163
174
  if (filter !== undefined) {
164
175
  localVarQueryParameter['filter'] = filter;
165
176
  }
166
177
 
167
- if (filters !== undefined) {
168
- localVarQueryParameter['filters'] = filters;
178
+ if (search !== undefined) {
179
+ localVarQueryParameter['search'] = search;
169
180
  }
170
181
 
171
182
  if (order !== undefined) {
@@ -176,6 +187,10 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
176
187
  localVarQueryParameter['expand'] = expand;
177
188
  }
178
189
 
190
+ if (filters !== undefined) {
191
+ localVarQueryParameter['filters'] = filters;
192
+ }
193
+
179
194
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
180
195
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
181
196
  }
@@ -229,15 +244,18 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
229
244
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
230
245
  * @summary List payment methods
231
246
  * @param {string} [authorization] Bearer Token
232
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
233
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
247
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
248
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
249
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
250
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
234
251
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
235
252
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
253
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
236
254
  * @param {*} [options] Override http request option.
237
255
  * @throws {RequiredError}
238
256
  */
239
- async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
240
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
257
+ async listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
258
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
241
259
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
242
260
  },
243
261
  }
@@ -276,15 +294,18 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
276
294
  * Returns a list of payment methods you have previously created. The payment methods are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.payments.view\"
277
295
  * @summary List payment methods
278
296
  * @param {string} [authorization] Bearer Token
279
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
280
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
297
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
298
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
299
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
300
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
281
301
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
282
302
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
303
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
283
304
  * @param {*} [options] Override http request option.
284
305
  * @throws {RequiredError}
285
306
  */
286
- listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
287
- return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
307
+ listPaymentMethods(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
308
+ return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
288
309
  },
289
310
  };
290
311
  };
@@ -345,18 +366,32 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
345
366
  readonly authorization?: string
346
367
 
347
368
  /**
348
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
369
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
370
+ * @type {number}
371
+ * @memberof PaymentMethodsApiListPaymentMethods
372
+ */
373
+ readonly pageSize?: number
374
+
375
+ /**
376
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
377
+ * @type {string}
378
+ * @memberof PaymentMethodsApiListPaymentMethods
379
+ */
380
+ readonly pageToken?: string
381
+
382
+ /**
383
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
349
384
  * @type {string}
350
385
  * @memberof PaymentMethodsApiListPaymentMethods
351
386
  */
352
387
  readonly filter?: string
353
388
 
354
389
  /**
355
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug&lt;/i&gt;
390
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
356
391
  * @type {string}
357
392
  * @memberof PaymentMethodsApiListPaymentMethods
358
393
  */
359
- readonly filters?: string
394
+ readonly search?: string
360
395
 
361
396
  /**
362
397
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt&lt;/i&gt;
@@ -371,6 +406,13 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
371
406
  * @memberof PaymentMethodsApiListPaymentMethods
372
407
  */
373
408
  readonly expand?: string
409
+
410
+ /**
411
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, pspCustomerId, psp, type, productSlug, accountCode, partnerCode&lt;/i&gt;
412
+ * @type {string}
413
+ * @memberof PaymentMethodsApiListPaymentMethods
414
+ */
415
+ readonly filters?: string
374
416
  }
375
417
 
376
418
  /**
@@ -413,6 +455,6 @@ export class PaymentMethodsApi extends BaseAPI {
413
455
  * @memberof PaymentMethodsApi
414
456
  */
415
457
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
416
- return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
458
+ return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
417
459
  }
418
460
  }
@@ -189,14 +189,17 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
189
189
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
190
190
  * @summary List payment reminders
191
191
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
192
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
193
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
192
194
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
193
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
195
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
194
196
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
195
197
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
198
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
196
199
  * @param {*} [options] Override http request option.
197
200
  * @throws {RequiredError}
198
201
  */
199
- listPaymentReminders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
202
+ listPaymentReminders: async (authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
200
203
  const localVarPath = `/paymentservice/v1/payment-reminders`;
201
204
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
202
205
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -215,12 +218,20 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
215
218
  // http bearer authentication required
216
219
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
217
220
 
221
+ if (pageSize !== undefined) {
222
+ localVarQueryParameter['pageSize'] = pageSize;
223
+ }
224
+
225
+ if (pageToken !== undefined) {
226
+ localVarQueryParameter['pageToken'] = pageToken;
227
+ }
228
+
218
229
  if (filter !== undefined) {
219
230
  localVarQueryParameter['filter'] = filter;
220
231
  }
221
232
 
222
- if (filters !== undefined) {
223
- localVarQueryParameter['filters'] = filters;
233
+ if (search !== undefined) {
234
+ localVarQueryParameter['search'] = search;
224
235
  }
225
236
 
226
237
  if (order !== undefined) {
@@ -231,6 +242,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
231
242
  localVarQueryParameter['expand'] = expand;
232
243
  }
233
244
 
245
+ if (filters !== undefined) {
246
+ localVarQueryParameter['filters'] = filters;
247
+ }
248
+
234
249
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
250
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
251
  }
@@ -297,15 +312,18 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
297
312
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
298
313
  * @summary List payment reminders
299
314
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
315
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
316
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
300
317
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
301
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
318
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
302
319
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
303
320
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
321
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
304
322
  * @param {*} [options] Override http request option.
305
323
  * @throws {RequiredError}
306
324
  */
307
- async listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
308
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options);
325
+ async listPaymentReminders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>> {
326
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
309
327
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
310
328
  },
311
329
  }
@@ -356,15 +374,18 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
356
374
  * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation. **Required Permissions** \"payment-management.reminders.view\"
357
375
  * @summary List payment reminders
358
376
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
377
+ * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
378
+ * @param {string} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
359
379
  * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
360
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
380
+ * @param {string} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
361
381
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
362
382
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
383
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
363
384
  * @param {*} [options] Override http request option.
364
385
  * @throws {RequiredError}
365
386
  */
366
- listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
367
- return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
387
+ listPaymentReminders(authorization?: string, pageSize?: number, pageToken?: string, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
388
+ return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
368
389
  },
369
390
  };
370
391
  };
@@ -452,6 +473,20 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
452
473
  */
453
474
  readonly authorization?: string
454
475
 
476
+ /**
477
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
478
+ * @type {number}
479
+ * @memberof PaymentRemindersApiListPaymentReminders
480
+ */
481
+ readonly pageSize?: number
482
+
483
+ /**
484
+ * A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
485
+ * @type {string}
486
+ * @memberof PaymentRemindersApiListPaymentReminders
487
+ */
488
+ readonly pageToken?: string
489
+
455
490
  /**
456
491
  * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
457
492
  * @type {string}
@@ -460,11 +495,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
460
495
  readonly filter?: string
461
496
 
462
497
  /**
463
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
498
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
464
499
  * @type {string}
465
500
  * @memberof PaymentRemindersApiListPaymentReminders
466
501
  */
467
- readonly filters?: string
502
+ readonly search?: string
468
503
 
469
504
  /**
470
505
  * Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, updatedAt&lt;/i&gt;
@@ -479,6 +514,13 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
479
514
  * @memberof PaymentRemindersApiListPaymentReminders
480
515
  */
481
516
  readonly expand?: string
517
+
518
+ /**
519
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
520
+ * @type {string}
521
+ * @memberof PaymentRemindersApiListPaymentReminders
522
+ */
523
+ readonly filters?: string
482
524
  }
483
525
 
484
526
  /**
@@ -533,6 +575,6 @@ export class PaymentRemindersApi extends BaseAPI {
533
575
  * @memberof PaymentRemindersApi
534
576
  */
535
577
  public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
536
- return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
578
+ return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then((request) => request(this.axios, this.basePath));
537
579
  }
538
580
  }