@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
@@ -20,14 +20,6 @@ import { Configuration } from '../configuration';
20
20
  import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObject, setBearerAuthToObject, setOAuthToObject, setSearchParams, serializeDataIfNeeded, toPathString, createRequestFunction } from '../common';
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from '../base';
23
- // @ts-ignore
24
- import { CreatePaymentMethodResponseClass } from '../models';
25
- // @ts-ignore
26
- import { CreatePspPaymentMethodRequestDto } from '../models';
27
- // @ts-ignore
28
- import { GetPaymentMethodResponseClass } from '../models';
29
- // @ts-ignore
30
- import { ListPaymentMethodsResponseClass } from '../models';
31
23
  /**
32
24
  * PaymentMethodsApi - axios parameter creator
33
25
  * @export
@@ -37,14 +29,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
37
29
  /**
38
30
  * 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.
39
31
  * @summary Create the payment method
40
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
32
+ * @param {object} body
41
33
  * @param {string} [authorization] Bearer Token
42
34
  * @param {*} [options] Override http request option.
43
35
  * @throws {RequiredError}
44
36
  */
45
- createPaymentMethod: async (createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
46
- // verify required parameter 'createPspPaymentMethodRequestDto' is not null or undefined
47
- assertParamExists('createPaymentMethod', 'createPspPaymentMethodRequestDto', createPspPaymentMethodRequestDto)
37
+ createPaymentMethod: async (body: object, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
38
+ // verify required parameter 'body' is not null or undefined
39
+ assertParamExists('createPaymentMethod', 'body', body)
48
40
  const localVarPath = `/paymentservice/v1/payment-methods`;
49
41
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
50
42
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -74,7 +66,7 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
74
66
  setSearchParams(localVarUrlObj, localVarQueryParameter);
75
67
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
76
68
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
77
- localVarRequestOptions.data = serializeDataIfNeeded(createPspPaymentMethodRequestDto, localVarRequestOptions, configuration)
69
+ localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
78
70
 
79
71
  return {
80
72
  url: toPathString(localVarUrlObj),
@@ -130,17 +122,14 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
130
122
  * 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.
131
123
  * @summary List payment methods
132
124
  * @param {string} [authorization] Bearer Token
133
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
134
- * @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.
135
125
  * @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&lt;/i&gt;
136
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
126
+ * @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&lt;/i&gt;
137
127
  * @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;
138
128
  * @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;
139
- * @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&lt;/i&gt;
140
129
  * @param {*} [options] Override http request option.
141
130
  * @throws {RequiredError}
142
131
  */
143
- listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
132
+ listPaymentMethods: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
144
133
  const localVarPath = `/paymentservice/v1/payment-methods`;
145
134
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
146
135
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -159,20 +148,12 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
159
148
  // http bearer authentication required
160
149
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
161
150
 
162
- if (pageSize !== undefined) {
163
- localVarQueryParameter['pageSize'] = pageSize;
164
- }
165
-
166
- if (pageToken !== undefined) {
167
- localVarQueryParameter['pageToken'] = pageToken;
168
- }
169
-
170
151
  if (filter !== undefined) {
171
152
  localVarQueryParameter['filter'] = filter;
172
153
  }
173
154
 
174
- if (search !== undefined) {
175
- localVarQueryParameter['search'] = search;
155
+ if (filters !== undefined) {
156
+ localVarQueryParameter['filters'] = filters;
176
157
  }
177
158
 
178
159
  if (order !== undefined) {
@@ -183,10 +164,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
183
164
  localVarQueryParameter['expand'] = expand;
184
165
  }
185
166
 
186
- if (filters !== undefined) {
187
- localVarQueryParameter['filters'] = filters;
188
- }
189
-
190
167
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
191
168
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
192
169
  }
@@ -215,13 +192,13 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
215
192
  /**
216
193
  * 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.
217
194
  * @summary Create the payment method
218
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
195
+ * @param {object} body
219
196
  * @param {string} [authorization] Bearer Token
220
197
  * @param {*} [options] Override http request option.
221
198
  * @throws {RequiredError}
222
199
  */
223
- async createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentMethodResponseClass>> {
224
- const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options);
200
+ async createPaymentMethod(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
201
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentMethod(body, authorization, options);
225
202
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
226
203
  },
227
204
  /**
@@ -232,7 +209,7 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
232
209
  * @param {*} [options] Override http request option.
233
210
  * @throws {RequiredError}
234
211
  */
235
- async getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentMethodResponseClass>> {
212
+ async getPaymentMethod(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
236
213
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, options);
237
214
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
238
215
  },
@@ -240,18 +217,15 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
240
217
  * 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.
241
218
  * @summary List payment methods
242
219
  * @param {string} [authorization] Bearer Token
243
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
244
- * @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.
245
220
  * @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&lt;/i&gt;
246
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
221
+ * @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&lt;/i&gt;
247
222
  * @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;
248
223
  * @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;
249
- * @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&lt;/i&gt;
250
224
  * @param {*} [options] Override http request option.
251
225
  * @throws {RequiredError}
252
226
  */
253
- async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentMethodsResponseClass>> {
254
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
227
+ async listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, filter, filters, order, expand, options);
255
229
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
256
230
  },
257
231
  }
@@ -267,13 +241,13 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
267
241
  /**
268
242
  * 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.
269
243
  * @summary Create the payment method
270
- * @param {CreatePspPaymentMethodRequestDto} createPspPaymentMethodRequestDto
244
+ * @param {object} body
271
245
  * @param {string} [authorization] Bearer Token
272
246
  * @param {*} [options] Override http request option.
273
247
  * @throws {RequiredError}
274
248
  */
275
- createPaymentMethod(createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentMethodResponseClass> {
276
- return localVarFp.createPaymentMethod(createPspPaymentMethodRequestDto, authorization, options).then((request) => request(axios, basePath));
249
+ createPaymentMethod(body: object, authorization?: string, options?: any): AxiosPromise<void> {
250
+ return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
277
251
  },
278
252
  /**
279
253
  * 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.
@@ -283,25 +257,22 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
283
257
  * @param {*} [options] Override http request option.
284
258
  * @throws {RequiredError}
285
259
  */
286
- getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentMethodResponseClass> {
260
+ getPaymentMethod(code: string, authorization?: string, options?: any): AxiosPromise<void> {
287
261
  return localVarFp.getPaymentMethod(code, authorization, options).then((request) => request(axios, basePath));
288
262
  },
289
263
  /**
290
264
  * 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.
291
265
  * @summary List payment methods
292
266
  * @param {string} [authorization] Bearer Token
293
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
294
- * @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.
295
267
  * @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&lt;/i&gt;
296
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
268
+ * @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&lt;/i&gt;
297
269
  * @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;
298
270
  * @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;
299
- * @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&lt;/i&gt;
300
271
  * @param {*} [options] Override http request option.
301
272
  * @throws {RequiredError}
302
273
  */
303
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentMethodsResponseClass> {
304
- return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
274
+ listPaymentMethods(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
275
+ return localVarFp.listPaymentMethods(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
305
276
  },
306
277
  };
307
278
  };
@@ -314,10 +285,10 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
314
285
  export interface PaymentMethodsApiCreatePaymentMethodRequest {
315
286
  /**
316
287
  *
317
- * @type {CreatePspPaymentMethodRequestDto}
288
+ * @type {object}
318
289
  * @memberof PaymentMethodsApiCreatePaymentMethod
319
290
  */
320
- readonly createPspPaymentMethodRequestDto: CreatePspPaymentMethodRequestDto
291
+ readonly body: object
321
292
 
322
293
  /**
323
294
  * Bearer Token
@@ -361,20 +332,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
361
332
  */
362
333
  readonly authorization?: string
363
334
 
364
- /**
365
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
- * @type {any}
367
- * @memberof PaymentMethodsApiListPaymentMethods
368
- */
369
- readonly pageSize?: any
370
-
371
- /**
372
- * 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.
373
- * @type {any}
374
- * @memberof PaymentMethodsApiListPaymentMethods
375
- */
376
- readonly pageToken?: any
377
-
378
335
  /**
379
336
  * 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&lt;/i&gt;
380
337
  * @type {string}
@@ -383,11 +340,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
383
340
  readonly filter?: string
384
341
 
385
342
  /**
386
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
387
- * @type {any}
343
+ * 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&lt;/i&gt;
344
+ * @type {string}
388
345
  * @memberof PaymentMethodsApiListPaymentMethods
389
346
  */
390
- readonly search?: any
347
+ readonly filters?: string
391
348
 
392
349
  /**
393
350
  * 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;
@@ -402,13 +359,6 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
402
359
  * @memberof PaymentMethodsApiListPaymentMethods
403
360
  */
404
361
  readonly expand?: string
405
-
406
- /**
407
- * 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&lt;/i&gt;
408
- * @type {string}
409
- * @memberof PaymentMethodsApiListPaymentMethods
410
- */
411
- readonly filters?: string
412
362
  }
413
363
 
414
364
  /**
@@ -427,7 +377,7 @@ export class PaymentMethodsApi extends BaseAPI {
427
377
  * @memberof PaymentMethodsApi
428
378
  */
429
379
  public createPaymentMethod(requestParameters: PaymentMethodsApiCreatePaymentMethodRequest, options?: AxiosRequestConfig) {
430
- return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.createPspPaymentMethodRequestDto, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
380
+ return PaymentMethodsApiFp(this.configuration).createPaymentMethod(requestParameters.body, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
431
381
  }
432
382
 
433
383
  /**
@@ -451,6 +401,6 @@ export class PaymentMethodsApi extends BaseAPI {
451
401
  * @memberof PaymentMethodsApi
452
402
  */
453
403
  public listPaymentMethods(requestParameters: PaymentMethodsApiListPaymentMethodsRequest = {}, options?: AxiosRequestConfig) {
454
- 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));
404
+ return PaymentMethodsApiFp(this.configuration).listPaymentMethods(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
455
405
  }
456
406
  }
@@ -23,15 +23,7 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
23
23
  // @ts-ignore
24
24
  import { CreatePaymentReminderRequestDto } from '../models';
25
25
  // @ts-ignore
26
- import { CreatePaymentReminderResponseClass } from '../models';
27
- // @ts-ignore
28
26
  import { DeactivatePaymentReminderRequestDto } from '../models';
29
- // @ts-ignore
30
- import { DeactivatePaymentReminderResponseClass } from '../models';
31
- // @ts-ignore
32
- import { GetPaymentReminderResponseClass } from '../models';
33
- // @ts-ignore
34
- import { ListPaymentRemindersResponseClass } from '../models';
35
27
  /**
36
28
  * PaymentRemindersApi - axios parameter creator
37
29
  * @export
@@ -185,17 +177,14 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
185
177
  * 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.
186
178
  * @summary List payment reminders
187
179
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
188
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
189
- * @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.
190
180
  * @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;
191
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
181
+ * @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;
192
182
  * @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;
193
183
  * @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;
194
- * @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
184
  * @param {*} [options] Override http request option.
196
185
  * @throws {RequiredError}
197
186
  */
198
- listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
187
+ listPaymentReminders: async (authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
199
188
  const localVarPath = `/paymentservice/v1/payment-reminders`;
200
189
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
201
190
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -214,20 +203,12 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
214
203
  // http bearer authentication required
215
204
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
216
205
 
217
- if (pageSize !== undefined) {
218
- localVarQueryParameter['pageSize'] = pageSize;
219
- }
220
-
221
- if (pageToken !== undefined) {
222
- localVarQueryParameter['pageToken'] = pageToken;
223
- }
224
-
225
206
  if (filter !== undefined) {
226
207
  localVarQueryParameter['filter'] = filter;
227
208
  }
228
209
 
229
- if (search !== undefined) {
230
- localVarQueryParameter['search'] = search;
210
+ if (filters !== undefined) {
211
+ localVarQueryParameter['filters'] = filters;
231
212
  }
232
213
 
233
214
  if (order !== undefined) {
@@ -238,10 +219,6 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
238
219
  localVarQueryParameter['expand'] = expand;
239
220
  }
240
221
 
241
- if (filters !== undefined) {
242
- localVarQueryParameter['filters'] = filters;
243
- }
244
-
245
222
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
246
223
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
247
224
  }
@@ -275,7 +252,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
275
252
  * @param {*} [options] Override http request option.
276
253
  * @throws {RequiredError}
277
254
  */
278
- async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReminderResponseClass>> {
255
+ async createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
279
256
  const localVarAxiosArgs = await localVarAxiosParamCreator.createPaymentReminder(createPaymentReminderRequestDto, authorization, options);
280
257
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
281
258
  },
@@ -288,7 +265,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
288
265
  * @param {*} [options] Override http request option.
289
266
  * @throws {RequiredError}
290
267
  */
291
- async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>> {
268
+ async deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
292
269
  const localVarAxiosArgs = await localVarAxiosParamCreator.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options);
293
270
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
294
271
  },
@@ -300,7 +277,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
300
277
  * @param {*} [options] Override http request option.
301
278
  * @throws {RequiredError}
302
279
  */
303
- async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentReminderResponseClass>> {
280
+ async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
304
281
  const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, options);
305
282
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
306
283
  },
@@ -308,18 +285,15 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
308
285
  * 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.
309
286
  * @summary List payment reminders
310
287
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
311
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
312
- * @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.
313
288
  * @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;
314
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
289
+ * @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;
315
290
  * @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;
316
291
  * @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;
317
- * @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
292
  * @param {*} [options] Override http request option.
319
293
  * @throws {RequiredError}
320
294
  */
321
- async 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>> {
322
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
295
+ async listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
296
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, filter, filters, order, expand, options);
323
297
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
324
298
  },
325
299
  }
@@ -340,7 +314,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
340
314
  * @param {*} [options] Override http request option.
341
315
  * @throws {RequiredError}
342
316
  */
343
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReminderResponseClass> {
317
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
344
318
  return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
345
319
  },
346
320
  /**
@@ -352,7 +326,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
352
326
  * @param {*} [options] Override http request option.
353
327
  * @throws {RequiredError}
354
328
  */
355
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass> {
329
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void> {
356
330
  return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
357
331
  },
358
332
  /**
@@ -363,25 +337,22 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
363
337
  * @param {*} [options] Override http request option.
364
338
  * @throws {RequiredError}
365
339
  */
366
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<GetPaymentReminderResponseClass> {
340
+ getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void> {
367
341
  return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
368
342
  },
369
343
  /**
370
344
  * 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.
371
345
  * @summary List payment reminders
372
346
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
373
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
374
- * @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.
375
347
  * @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;
376
- * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
348
+ * @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;
377
349
  * @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;
378
350
  * @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;
379
- * @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
351
  * @param {*} [options] Override http request option.
381
352
  * @throws {RequiredError}
382
353
  */
383
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentRemindersResponseClass> {
384
- return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
354
+ listPaymentReminders(authorization?: string, filter?: string, filters?: string, order?: string, expand?: string, options?: any): AxiosPromise<void> {
355
+ return localVarFp.listPaymentReminders(authorization, filter, filters, order, expand, options).then((request) => request(axios, basePath));
385
356
  },
386
357
  };
387
358
  };
@@ -469,20 +440,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
469
440
  */
470
441
  readonly authorization?: string
471
442
 
472
- /**
473
- * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
474
- * @type {any}
475
- * @memberof PaymentRemindersApiListPaymentReminders
476
- */
477
- readonly pageSize?: any
478
-
479
- /**
480
- * 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.
481
- * @type {any}
482
- * @memberof PaymentRemindersApiListPaymentReminders
483
- */
484
- readonly pageToken?: any
485
-
486
443
  /**
487
444
  * 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;
488
445
  * @type {string}
@@ -491,11 +448,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
491
448
  readonly filter?: string
492
449
 
493
450
  /**
494
- * To search the list by any field, pass search&#x3D;xxx to fetch the result.
495
- * @type {any}
451
+ * 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;
452
+ * @type {string}
496
453
  * @memberof PaymentRemindersApiListPaymentReminders
497
454
  */
498
- readonly search?: any
455
+ readonly filters?: string
499
456
 
500
457
  /**
501
458
  * 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;
@@ -510,13 +467,6 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
510
467
  * @memberof PaymentRemindersApiListPaymentReminders
511
468
  */
512
469
  readonly expand?: string
513
-
514
- /**
515
- * 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;
516
- * @type {string}
517
- * @memberof PaymentRemindersApiListPaymentReminders
518
- */
519
- readonly filters?: string
520
470
  }
521
471
 
522
472
  /**
@@ -571,6 +521,6 @@ export class PaymentRemindersApi extends BaseAPI {
571
521
  * @memberof PaymentRemindersApi
572
522
  */
573
523
  public listPaymentReminders(requestParameters: PaymentRemindersApiListPaymentRemindersRequest = {}, options?: AxiosRequestConfig) {
574
- 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));
524
+ return PaymentRemindersApiFp(this.configuration).listPaymentReminders(requestParameters.authorization, requestParameters.filter, requestParameters.filters, requestParameters.order, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
575
525
  }
576
526
  }