@emilgroup/payment-sdk 1.4.1-beta.38 → 1.4.1-beta.39

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 (196) hide show
  1. package/.openapi-generator/FILES +0 -51
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +24 -74
  4. package/api/bank-transaction-api.ts +26 -64
  5. package/api/payment-methods-api.ts +30 -80
  6. package/api/payment-reminders-api.ts +20 -70
  7. package/api/payment-setup-api.ts +28 -36
  8. package/api/payments-api.ts +18 -66
  9. package/api/refunds-api.ts +22 -56
  10. package/api/tenant-bank-account-api.ts +18 -46
  11. package/dist/api/bank-accounts-api.d.ts +25 -56
  12. package/dist/api/bank-accounts-api.js +11 -29
  13. package/dist/api/bank-transaction-api.d.ts +24 -47
  14. package/dist/api/bank-transaction-api.js +12 -24
  15. package/dist/api/payment-methods-api.d.ts +22 -53
  16. package/dist/api/payment-methods-api.js +23 -41
  17. package/dist/api/payment-reminders-api.d.ts +19 -50
  18. package/dist/api/payment-reminders-api.js +11 -29
  19. package/dist/api/payment-setup-api.d.ts +18 -22
  20. package/dist/api/payment-setup-api.js +24 -24
  21. package/dist/api/payments-api.d.ts +16 -46
  22. package/dist/api/payments-api.js +11 -29
  23. package/dist/api/refunds-api.d.ts +18 -39
  24. package/dist/api/refunds-api.js +12 -24
  25. package/dist/api/tenant-bank-account-api.d.ts +11 -29
  26. package/dist/api/tenant-bank-account-api.js +12 -24
  27. package/dist/models/bank-transaction-class-without-expand-properties.d.ts +12 -0
  28. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  29. package/dist/models/create-payment-request-dto.d.ts +3 -3
  30. package/dist/models/index.d.ts +0 -51
  31. package/dist/models/index.js +0 -51
  32. package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +12 -0
  33. package/dist/models/tenant-bank-account-class.d.ts +12 -0
  34. package/dist/models/validate-pspconfig-request-dto.d.ts +1 -8
  35. package/dist/models/validate-pspconfig-request-dto.js +0 -7
  36. package/models/bank-transaction-class-without-expand-properties.ts +12 -0
  37. package/models/create-bank-account-request-dto.ts +2 -2
  38. package/models/create-payment-request-dto.ts +3 -3
  39. package/models/index.ts +0 -51
  40. package/models/tenant-bank-account-class-without-expand-properties.ts +12 -0
  41. package/models/tenant-bank-account-class.ts +12 -0
  42. package/models/validate-pspconfig-request-dto.ts +1 -11
  43. package/package.json +1 -1
  44. package/dist/models/bank-account-class-without-expand-properties.d.ts +0 -72
  45. package/dist/models/bank-account-class-without-expand-properties.js +0 -15
  46. package/dist/models/bank-account-class.d.ts +0 -79
  47. package/dist/models/bank-account-class.js +0 -15
  48. package/dist/models/bank-transaction-class.d.ts +0 -128
  49. package/dist/models/bank-transaction-class.js +0 -15
  50. package/dist/models/billing-profile-dto.d.ts +0 -38
  51. package/dist/models/billing-profile-dto.js +0 -15
  52. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  53. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  54. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  55. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  56. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  57. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  58. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  59. package/dist/models/complete-payment-setup-response-class.js +0 -15
  60. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  61. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  62. package/dist/models/create-bank-account-response-class.d.ts +0 -25
  63. package/dist/models/create-bank-account-response-class.js +0 -15
  64. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  65. package/dist/models/create-payment-method-response-class.js +0 -15
  66. package/dist/models/create-payment-reminder-response-class.d.ts +0 -25
  67. package/dist/models/create-payment-reminder-response-class.js +0 -15
  68. package/dist/models/create-payment-response-class.d.ts +0 -25
  69. package/dist/models/create-payment-response-class.js +0 -15
  70. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  71. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  72. package/dist/models/create-refund-response-class.d.ts +0 -25
  73. package/dist/models/create-refund-response-class.js +0 -15
  74. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  75. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  76. package/dist/models/deactivated-payment-reminder-class.d.ts +0 -90
  77. package/dist/models/deactivated-payment-reminder-class.js +0 -15
  78. package/dist/models/get-bank-account-response-class.d.ts +0 -25
  79. package/dist/models/get-bank-account-response-class.js +0 -15
  80. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  81. package/dist/models/get-bank-transactions-response-class.js +0 -15
  82. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  83. package/dist/models/get-payment-method-response-class.js +0 -15
  84. package/dist/models/get-payment-reminder-response-class.d.ts +0 -25
  85. package/dist/models/get-payment-reminder-response-class.js +0 -15
  86. package/dist/models/get-payment-response-class.d.ts +0 -25
  87. package/dist/models/get-payment-response-class.js +0 -15
  88. package/dist/models/get-refund-response-class.d.ts +0 -25
  89. package/dist/models/get-refund-response-class.js +0 -15
  90. package/dist/models/import-bank-transactions-response-class.d.ts +0 -25
  91. package/dist/models/import-bank-transactions-response-class.js +0 -15
  92. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  93. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  94. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  95. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  96. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -50
  97. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  98. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  99. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  100. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  101. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  102. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  103. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  104. package/dist/models/link-bank-transactions-response-class.d.ts +0 -25
  105. package/dist/models/link-bank-transactions-response-class.js +0 -15
  106. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  107. package/dist/models/list-bank-accounts-response-class.js +0 -15
  108. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  109. package/dist/models/list-bank-transactions-response-class.js +0 -15
  110. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  111. package/dist/models/list-payment-methods-response-class.js +0 -15
  112. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  113. package/dist/models/list-payment-reminders-response-class.js +0 -15
  114. package/dist/models/list-payments-response-class.d.ts +0 -31
  115. package/dist/models/list-payments-response-class.js +0 -15
  116. package/dist/models/list-refunds-response-class.d.ts +0 -31
  117. package/dist/models/list-refunds-response-class.js +0 -15
  118. package/dist/models/payment-class-without-expand-properties.d.ts +0 -102
  119. package/dist/models/payment-class-without-expand-properties.js +0 -15
  120. package/dist/models/payment-class.d.ts +0 -109
  121. package/dist/models/payment-class.js +0 -15
  122. package/dist/models/payment-method-class.d.ts +0 -66
  123. package/dist/models/payment-method-class.js +0 -15
  124. package/dist/models/payment-reminder-class.d.ts +0 -90
  125. package/dist/models/payment-reminder-class.js +0 -15
  126. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  127. package/dist/models/primary-bank-account-response-class.js +0 -15
  128. package/dist/models/refund-class-without-expand-properties.d.ts +0 -99
  129. package/dist/models/refund-class-without-expand-properties.js +0 -29
  130. package/dist/models/refund-class.d.ts +0 -106
  131. package/dist/models/refund-class.js +0 -29
  132. package/dist/models/refund-item-class.d.ts +0 -102
  133. package/dist/models/refund-item-class.js +0 -15
  134. package/dist/models/sepa-direct-dto.d.ts +0 -24
  135. package/dist/models/sepa-direct-dto.js +0 -15
  136. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  137. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  138. package/dist/models/transaction-class.d.ts +0 -54
  139. package/dist/models/transaction-class.js +0 -15
  140. package/dist/models/unlink-bank-transactions-response-class.d.ts +0 -25
  141. package/dist/models/unlink-bank-transactions-response-class.js +0 -15
  142. package/dist/models/unlinked-bank-transaction-response-class.d.ts +0 -96
  143. package/dist/models/unlinked-bank-transaction-response-class.js +0 -15
  144. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  145. package/dist/models/update-bank-account-response-class.js +0 -15
  146. package/models/bank-account-class-without-expand-properties.ts +0 -78
  147. package/models/bank-account-class.ts +0 -85
  148. package/models/bank-transaction-class.ts +0 -134
  149. package/models/billing-profile-dto.ts +0 -44
  150. package/models/billing-profile-limited-response-dto.ts +0 -60
  151. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  152. package/models/complete-payment-setup-request-dto.ts +0 -38
  153. package/models/complete-payment-setup-response-class.ts +0 -31
  154. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  155. package/models/create-bank-account-response-class.ts +0 -31
  156. package/models/create-payment-method-response-class.ts +0 -31
  157. package/models/create-payment-reminder-response-class.ts +0 -31
  158. package/models/create-payment-response-class.ts +0 -31
  159. package/models/create-psp-payment-method-request-dto.ts +0 -70
  160. package/models/create-refund-response-class.ts +0 -31
  161. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  162. package/models/deactivated-payment-reminder-class.ts +0 -96
  163. package/models/get-bank-account-response-class.ts +0 -31
  164. package/models/get-bank-transactions-response-class.ts +0 -31
  165. package/models/get-payment-method-response-class.ts +0 -31
  166. package/models/get-payment-reminder-response-class.ts +0 -31
  167. package/models/get-payment-response-class.ts +0 -31
  168. package/models/get-refund-response-class.ts +0 -31
  169. package/models/import-bank-transactions-response-class.ts +0 -31
  170. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  171. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  172. package/models/initiate-payment-setup-request-dto.ts +0 -56
  173. package/models/initiate-payment-setup-response-class.ts +0 -38
  174. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  175. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  176. package/models/link-bank-transactions-response-class.ts +0 -31
  177. package/models/list-bank-accounts-response-class.ts +0 -37
  178. package/models/list-bank-transactions-response-class.ts +0 -37
  179. package/models/list-payment-methods-response-class.ts +0 -37
  180. package/models/list-payment-reminders-response-class.ts +0 -37
  181. package/models/list-payments-response-class.ts +0 -37
  182. package/models/list-refunds-response-class.ts +0 -37
  183. package/models/payment-class-without-expand-properties.ts +0 -108
  184. package/models/payment-class.ts +0 -115
  185. package/models/payment-method-class.ts +0 -72
  186. package/models/payment-reminder-class.ts +0 -96
  187. package/models/primary-bank-account-response-class.ts +0 -48
  188. package/models/refund-class-without-expand-properties.ts +0 -109
  189. package/models/refund-class.ts +0 -116
  190. package/models/refund-item-class.ts +0 -108
  191. package/models/sepa-direct-dto.ts +0 -30
  192. package/models/symphony-profile-limited-response-dto.ts +0 -48
  193. package/models/transaction-class.ts +0 -60
  194. package/models/unlink-bank-transactions-response-class.ts +0 -31
  195. package/models/unlinked-bank-transaction-response-class.ts +0 -102
  196. package/models/update-bank-account-response-class.ts +0 -31
@@ -95,20 +95,20 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
97
97
  * @summary Create the payment method
98
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
98
+ * @param {object} body
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
103
+ createPaymentMethod: function (body, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createPaymentMethod', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/payment-methods";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -193,17 +193,14 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
193
193
  * 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.
194
194
  * @summary List payment methods
195
195
  * @param {string} [authorization] Bearer Token
196
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
197
- * @param {any} [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.
198
196
  * @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</i>
199
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
197
+ * @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</i>
200
198
  * @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>
201
199
  * @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/> <i>Allowed values: <i>
202
- * @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</i>
203
200
  * @param {*} [options] Override http request option.
204
201
  * @throws {RequiredError}
205
202
  */
206
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
203
+ listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
207
204
  if (options === void 0) { options = {}; }
208
205
  return __awaiter(_this, void 0, void 0, function () {
209
206
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -226,17 +223,11 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
226
223
  // authentication bearer required
227
224
  // http bearer authentication required
228
225
  _a.sent();
229
- if (pageSize !== undefined) {
230
- localVarQueryParameter['pageSize'] = pageSize;
231
- }
232
- if (pageToken !== undefined) {
233
- localVarQueryParameter['pageToken'] = pageToken;
234
- }
235
226
  if (filter !== undefined) {
236
227
  localVarQueryParameter['filter'] = filter;
237
228
  }
238
- if (search !== undefined) {
239
- localVarQueryParameter['search'] = search;
229
+ if (filters !== undefined) {
230
+ localVarQueryParameter['filters'] = filters;
240
231
  }
241
232
  if (order !== undefined) {
242
233
  localVarQueryParameter['order'] = order;
@@ -244,9 +235,6 @@ var PaymentMethodsApiAxiosParamCreator = function (configuration) {
244
235
  if (expand !== undefined) {
245
236
  localVarQueryParameter['expand'] = expand;
246
237
  }
247
- if (filters !== undefined) {
248
- localVarQueryParameter['filters'] = filters;
249
- }
250
238
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
251
239
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
252
240
  }
@@ -274,17 +262,17 @@ var PaymentMethodsApiFp = function (configuration) {
274
262
  /**
275
263
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
276
264
  * @summary Create the payment method
277
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
265
+ * @param {object} body
278
266
  * @param {string} [authorization] Bearer Token
279
267
  * @param {*} [options] Override http request option.
280
268
  * @throws {RequiredError}
281
269
  */
282
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
270
+ createPaymentMethod: function (body, authorization, options) {
283
271
  return __awaiter(this, void 0, void 0, function () {
284
272
  var localVarAxiosArgs;
285
273
  return __generator(this, function (_a) {
286
274
  switch (_a.label) {
287
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options)];
275
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createPaymentMethod(body, authorization, options)];
288
276
  case 1:
289
277
  localVarAxiosArgs = _a.sent();
290
278
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -317,22 +305,19 @@ var PaymentMethodsApiFp = function (configuration) {
317
305
  * 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.
318
306
  * @summary List payment methods
319
307
  * @param {string} [authorization] Bearer Token
320
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
321
- * @param {any} [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.
322
308
  * @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</i>
323
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
309
+ * @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</i>
324
310
  * @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>
325
311
  * @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/> <i>Allowed values: <i>
326
- * @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</i>
327
312
  * @param {*} [options] Override http request option.
328
313
  * @throws {RequiredError}
329
314
  */
330
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
315
+ listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
331
316
  return __awaiter(this, void 0, void 0, function () {
332
317
  var localVarAxiosArgs;
333
318
  return __generator(this, function (_a) {
334
319
  switch (_a.label) {
335
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
320
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options)];
336
321
  case 1:
337
322
  localVarAxiosArgs = _a.sent();
338
323
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -353,13 +338,13 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
353
338
  /**
354
339
  * This will create payment method in the database as well as in the PSP. The newly created payment method will be set as default payment method will be used by the customer to pay or receive a refund.
355
340
  * @summary Create the payment method
356
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
341
+ * @param {object} body
357
342
  * @param {string} [authorization] Bearer Token
358
343
  * @param {*} [options] Override http request option.
359
344
  * @throws {RequiredError}
360
345
  */
361
- createPaymentMethod: function (createPspPaymentMethodRequestDto, authorization, options) {
362
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
346
+ createPaymentMethod: function (body, authorization, options) {
347
+ return localVarFp.createPaymentMethod(body, authorization, options).then(function (request) { return request(axios, basePath); });
363
348
  },
364
349
  /**
365
350
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
@@ -376,18 +361,15 @@ var PaymentMethodsApiFactory = function (configuration, basePath, axios) {
376
361
  * 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.
377
362
  * @summary List payment methods
378
363
  * @param {string} [authorization] Bearer Token
379
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
380
- * @param {any} [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.
381
364
  * @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</i>
382
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
365
+ * @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</i>
383
366
  * @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>
384
367
  * @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/> <i>Allowed values: <i>
385
- * @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</i>
386
368
  * @param {*} [options] Override http request option.
387
369
  * @throws {RequiredError}
388
370
  */
389
- listPaymentMethods: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
390
- return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
371
+ listPaymentMethods: function (authorization, filter, filters, order, expand, options) {
372
+ return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
391
373
  },
392
374
  };
393
375
  };
@@ -413,7 +395,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
413
395
  */
414
396
  PaymentMethodsApi.prototype.createPaymentMethod = function (requestParameters, options) {
415
397
  var _this = this;
416
- return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
398
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
417
399
  };
418
400
  /**
419
401
  * Retrieves the details of the payment method that was previously created. Supply the unique payment method code that was returned when you created it and Emil Api will return the corresponding payment method information.
@@ -438,7 +420,7 @@ var PaymentMethodsApi = /** @class */ (function (_super) {
438
420
  PaymentMethodsApi.prototype.listPaymentMethods = function (requestParameters, options) {
439
421
  var _this = this;
440
422
  if (requestParameters === void 0) { requestParameters = {}; }
441
- return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
423
+ return (0, exports.PaymentMethodsApiFp)(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
442
424
  };
443
425
  return PaymentMethodsApi;
444
426
  }(base_1.BaseAPI));
@@ -13,11 +13,7 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
- import { CreatePaymentReminderResponseClass } from '../models';
17
16
  import { DeactivatePaymentReminderRequestDto } from '../models';
18
- import { DeactivatePaymentReminderResponseClass } from '../models';
19
- import { GetPaymentReminderResponseClass } from '../models';
20
- import { ListPaymentRemindersResponseClass } from '../models';
21
17
  /**
22
18
  * PaymentRemindersApi - axios parameter creator
23
19
  * @export
@@ -55,17 +51,14 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
55
51
  * 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.
56
52
  * @summary List payment reminders
57
53
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
58
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
59
- * @param {any} [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.
60
54
  * @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, policyCode, nextReminderDate</i>
61
- * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
55
+ * @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, policyCode, nextReminderDate</i>
62
56
  * @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, updatedAt</i>
63
57
  * @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/> <i>Allowed values: <i>
64
- * @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, policyCode, nextReminderDate</i>
65
58
  * @param {*} [options] Override http request option.
66
59
  * @throws {RequiredError}
67
60
  */
68
- listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
61
+ listPaymentReminders: (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
69
62
  };
70
63
  /**
71
64
  * PaymentRemindersApi - functional programming interface
@@ -80,7 +73,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
80
73
  * @param {*} [options] Override http request option.
81
74
  * @throws {RequiredError}
82
75
  */
83
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReminderResponseClass>>;
76
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
84
77
  /**
85
78
  * This will deactivate the payment reminder
86
79
  * @summary Deactivate payment reminder
@@ -90,7 +83,7 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
90
83
  * @param {*} [options] Override http request option.
91
84
  * @throws {RequiredError}
92
85
  */
93
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
86
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
94
87
  /**
95
88
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
96
89
  * @summary Retrieve the payment reminder
@@ -99,22 +92,19 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
99
92
  * @param {*} [options] Override http request option.
100
93
  * @throws {RequiredError}
101
94
  */
102
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReminderResponseClass>>;
95
+ getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
103
96
  /**
104
97
  * 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.
105
98
  * @summary List payment reminders
106
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
107
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
108
- * @param {any} [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.
109
100
  * @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;
110
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
101
+ * @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;
111
102
  * @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;
112
103
  * @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; &lt;i&gt;Allowed values: &lt;i&gt;
113
- * @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;
114
104
  * @param {*} [options] Override http request option.
115
105
  * @throws {RequiredError}
116
106
  */
117
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentRemindersResponseClass>>;
107
+ listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
118
108
  };
119
109
  /**
120
110
  * PaymentRemindersApi - factory interface
@@ -129,7 +119,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
129
119
  * @param {*} [options] Override http request option.
130
120
  * @throws {RequiredError}
131
121
  */
132
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReminderResponseClass>;
122
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
133
123
  /**
134
124
  * This will deactivate the payment reminder
135
125
  * @summary Deactivate payment reminder
@@ -139,7 +129,7 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
139
129
  * @param {*} [options] Override http request option.
140
130
  * @throws {RequiredError}
141
131
  */
142
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
132
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
143
133
  /**
144
134
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
145
135
  * @summary Retrieve the payment reminder
@@ -148,22 +138,19 @@ export declare const PaymentRemindersApiFactory: (configuration?: Configuration,
148
138
  * @param {*} [options] Override http request option.
149
139
  * @throws {RequiredError}
150
140
  */
151
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentReminderResponseClass>;
141
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void>;
152
142
  /**
153
143
  * 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.
154
144
  * @summary List payment reminders
155
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
156
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
157
- * @param {any} [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.
158
146
  * @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;
159
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
147
+ * @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;
160
148
  * @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;
161
149
  * @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; &lt;i&gt;Allowed values: &lt;i&gt;
162
- * @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;
163
150
  * @param {*} [options] Override http request option.
164
151
  * @throws {RequiredError}
165
152
  */
166
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
153
+ listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void>;
167
154
  };
168
155
  /**
169
156
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -240,18 +227,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
240
227
  * @memberof PaymentRemindersApiListPaymentReminders
241
228
  */
242
229
  readonly authorization?: string;
243
- /**
244
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
245
- * @type {any}
246
- * @memberof PaymentRemindersApiListPaymentReminders
247
- */
248
- readonly pageSize?: any;
249
- /**
250
- * 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.
251
- * @type {any}
252
- * @memberof PaymentRemindersApiListPaymentReminders
253
- */
254
- readonly pageToken?: any;
255
230
  /**
256
231
  * 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;
257
232
  * @type {string}
@@ -259,11 +234,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
259
234
  */
260
235
  readonly filter?: string;
261
236
  /**
262
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
263
- * @type {any}
237
+ * 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;
238
+ * @type {string}
264
239
  * @memberof PaymentRemindersApiListPaymentReminders
265
240
  */
266
- readonly search?: any;
241
+ readonly filters?: string;
267
242
  /**
268
243
  * 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;
269
244
  * @type {string}
@@ -276,12 +251,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
276
251
  * @memberof PaymentRemindersApiListPaymentReminders
277
252
  */
278
253
  readonly expand?: string;
279
- /**
280
- * 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;
281
- * @type {string}
282
- * @memberof PaymentRemindersApiListPaymentReminders
283
- */
284
- readonly filters?: string;
285
254
  }
286
255
  /**
287
256
  * PaymentRemindersApi - object-oriented interface
@@ -298,7 +267,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
298
267
  * @throws {RequiredError}
299
268
  * @memberof PaymentRemindersApi
300
269
  */
301
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReminderResponseClass, any>>;
270
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
302
271
  /**
303
272
  * This will deactivate the payment reminder
304
273
  * @summary Deactivate payment reminder
@@ -307,7 +276,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
307
276
  * @throws {RequiredError}
308
277
  * @memberof PaymentRemindersApi
309
278
  */
310
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
279
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
311
280
  /**
312
281
  * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
313
282
  * @summary Retrieve the payment reminder
@@ -316,7 +285,7 @@ export declare class PaymentRemindersApi extends BaseAPI {
316
285
  * @throws {RequiredError}
317
286
  * @memberof PaymentRemindersApi
318
287
  */
319
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentReminderResponseClass, any>>;
288
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
320
289
  /**
321
290
  * 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.
322
291
  * @summary List payment reminders
@@ -325,5 +294,5 @@ export declare class PaymentRemindersApi extends BaseAPI {
325
294
  * @throws {RequiredError}
326
295
  * @memberof PaymentRemindersApi
327
296
  */
328
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
297
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
329
298
  }
@@ -246,17 +246,14 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
246
246
  * 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.
247
247
  * @summary List payment reminders
248
248
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
249
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
250
- * @param {any} [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.
251
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, policyCode, nextReminderDate&lt;/i&gt;
252
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
250
+ * @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;
253
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, updatedAt&lt;/i&gt;
254
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; &lt;i&gt;Allowed values: &lt;i&gt;
255
- * @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;
256
253
  * @param {*} [options] Override http request option.
257
254
  * @throws {RequiredError}
258
255
  */
259
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
256
+ listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
260
257
  if (options === void 0) { options = {}; }
261
258
  return __awaiter(_this, void 0, void 0, function () {
262
259
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -279,17 +276,11 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
279
276
  // authentication bearer required
280
277
  // http bearer authentication required
281
278
  _a.sent();
282
- if (pageSize !== undefined) {
283
- localVarQueryParameter['pageSize'] = pageSize;
284
- }
285
- if (pageToken !== undefined) {
286
- localVarQueryParameter['pageToken'] = pageToken;
287
- }
288
279
  if (filter !== undefined) {
289
280
  localVarQueryParameter['filter'] = filter;
290
281
  }
291
- if (search !== undefined) {
292
- localVarQueryParameter['search'] = search;
282
+ if (filters !== undefined) {
283
+ localVarQueryParameter['filters'] = filters;
293
284
  }
294
285
  if (order !== undefined) {
295
286
  localVarQueryParameter['order'] = order;
@@ -297,9 +288,6 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
297
288
  if (expand !== undefined) {
298
289
  localVarQueryParameter['expand'] = expand;
299
290
  }
300
- if (filters !== undefined) {
301
- localVarQueryParameter['filters'] = filters;
302
- }
303
291
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
304
292
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
305
293
  }
@@ -392,22 +380,19 @@ var PaymentRemindersApiFp = function (configuration) {
392
380
  * 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.
393
381
  * @summary List payment reminders
394
382
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
395
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
396
- * @param {any} [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.
397
383
  * @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;
398
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
384
+ * @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;
399
385
  * @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;
400
386
  * @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; &lt;i&gt;Allowed values: &lt;i&gt;
401
- * @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;
402
387
  * @param {*} [options] Override http request option.
403
388
  * @throws {RequiredError}
404
389
  */
405
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
390
+ listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
406
391
  return __awaiter(this, void 0, void 0, function () {
407
392
  var localVarAxiosArgs;
408
393
  return __generator(this, function (_a) {
409
394
  switch (_a.label) {
410
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
395
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options)];
411
396
  case 1:
412
397
  localVarAxiosArgs = _a.sent();
413
398
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -463,18 +448,15 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
463
448
  * 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.
464
449
  * @summary List payment reminders
465
450
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
466
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
467
- * @param {any} [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.
468
451
  * @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;
469
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
452
+ * @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;
470
453
  * @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;
471
454
  * @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; &lt;i&gt;Allowed values: &lt;i&gt;
472
- * @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;
473
455
  * @param {*} [options] Override http request option.
474
456
  * @throws {RequiredError}
475
457
  */
476
- listPaymentReminders: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
477
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
458
+ listPaymentReminders: function (authorization, filter, filters, order, expand, options) {
459
+ return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then(function (request) { return request(axios, basePath); });
478
460
  },
479
461
  };
480
462
  };
@@ -537,7 +519,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
537
519
  PaymentRemindersApi.prototype.listPaymentReminders = function (requestParameters, options) {
538
520
  var _this = this;
539
521
  if (requestParameters === void 0) { requestParameters = {}; }
540
- return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
522
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
541
523
  };
542
524
  return PaymentRemindersApi;
543
525
  }(base_1.BaseAPI));