@emilgroup/payment-sdk 1.4.1-beta.30 → 1.4.1-beta.32

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 (93) hide show
  1. package/.openapi-generator/FILES +5 -15
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +34 -38
  4. package/api/bank-transaction-api.ts +73 -77
  5. package/api/{default-api.ts → health-check-api.ts} +21 -17
  6. package/api/payment-methods-api.ts +52 -70
  7. package/api/payment-reminders-api.ts +63 -49
  8. package/api/payment-setup-api.ts +16 -8
  9. package/api/payments-api.ts +52 -70
  10. package/api/refunds-api.ts +76 -88
  11. package/api/tenant-bank-account-api.ts +79 -63
  12. package/api/webhooks-api.ts +16 -12
  13. package/api.ts +2 -2
  14. package/base.ts +15 -7
  15. package/dist/api/bank-accounts-api.d.ts +37 -39
  16. package/dist/api/bank-accounts-api.js +18 -18
  17. package/dist/api/bank-transaction-api.d.ts +77 -79
  18. package/dist/api/bank-transaction-api.js +45 -45
  19. package/dist/api/health-check-api.d.ts +70 -0
  20. package/dist/api/{default-api.js → health-check-api.js} +30 -26
  21. package/dist/api/payment-methods-api.d.ts +49 -58
  22. package/dist/api/payment-methods-api.js +32 -42
  23. package/dist/api/payment-reminders-api.d.ts +55 -46
  24. package/dist/api/payment-reminders-api.js +40 -34
  25. package/dist/api/payment-setup-api.d.ts +16 -8
  26. package/dist/api/payment-setup-api.js +16 -8
  27. package/dist/api/payments-api.d.ts +49 -58
  28. package/dist/api/payments-api.js +32 -42
  29. package/dist/api/refunds-api.d.ts +76 -76
  30. package/dist/api/refunds-api.js +51 -49
  31. package/dist/api/tenant-bank-account-api.d.ts +71 -61
  32. package/dist/api/tenant-bank-account-api.js +51 -45
  33. package/dist/api/webhooks-api.d.ts +16 -12
  34. package/dist/api/webhooks-api.js +14 -10
  35. package/dist/api.d.ts +1 -1
  36. package/dist/api.js +1 -1
  37. package/dist/base.d.ts +3 -1
  38. package/dist/base.js +27 -20
  39. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +20 -34
  40. package/dist/models/create-tenant-bank-account-response-class.d.ts +4 -4
  41. package/dist/models/get-tenant-bank-account-response-class.d.ts +4 -4
  42. package/dist/models/index.d.ts +4 -14
  43. package/dist/models/index.js +4 -14
  44. package/dist/models/list-tenant-bank-account-response-class.d.ts +5 -5
  45. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +10 -10
  46. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  47. package/dist/models/{get-bank-account-response-class.d.ts → update-tenant-bank-account-response-class.d.ts} +7 -7
  48. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +20 -34
  49. package/models/create-tenant-bank-account-response-class.ts +4 -4
  50. package/models/get-tenant-bank-account-response-class.ts +4 -4
  51. package/models/index.ts +4 -14
  52. package/models/list-tenant-bank-account-response-class.ts +5 -5
  53. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +10 -10
  54. package/models/tenant-bank-account-class.ts +79 -0
  55. package/models/{create-refund-response-class.ts → update-tenant-bank-account-response-class.ts} +7 -7
  56. package/package.json +1 -1
  57. package/dist/api/default-api.d.ts +0 -66
  58. package/dist/models/bank-account-class.d.ts +0 -73
  59. package/dist/models/create-refund-response-class.d.ts +0 -25
  60. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  61. package/dist/models/get-bank-transactions-response-class.js +0 -15
  62. package/dist/models/get-refund-response-class.d.ts +0 -25
  63. package/dist/models/get-refund-response-class.js +0 -15
  64. package/dist/models/get-request-dto.d.ts +0 -30
  65. package/dist/models/get-request-dto.js +0 -15
  66. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  67. package/dist/models/list-bank-transactions-response-class.js +0 -15
  68. package/dist/models/list-refunds-response-class.d.ts +0 -31
  69. package/dist/models/list-refunds-response-class.js +0 -15
  70. package/dist/models/primary-bank-account-response-class.d.ts +0 -42
  71. package/dist/models/primary-bank-account-response-class.js +0 -15
  72. package/dist/models/refund-class.d.ts +0 -105
  73. package/dist/models/refund-class.js +0 -29
  74. package/dist/models/tenant-bank-account-response-class.js +0 -15
  75. package/dist/models/transaction-class.d.ts +0 -54
  76. package/dist/models/transaction-class.js +0 -15
  77. package/dist/models/update-bank-account-response-class.d.ts +0 -25
  78. package/dist/models/update-bank-account-response-class.js +0 -15
  79. package/models/bank-account-class.ts +0 -79
  80. package/models/get-bank-account-response-class.ts +0 -31
  81. package/models/get-bank-transactions-response-class.ts +0 -31
  82. package/models/get-refund-response-class.ts +0 -31
  83. package/models/get-request-dto.ts +0 -36
  84. package/models/list-bank-transactions-response-class.ts +0 -37
  85. package/models/list-refunds-response-class.ts +0 -37
  86. package/models/primary-bank-account-response-class.ts +0 -48
  87. package/models/refund-class.ts +0 -115
  88. package/models/transaction-class.ts +0 -60
  89. package/models/update-bank-account-response-class.ts +0 -31
  90. /package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +0 -0
  91. /package/dist/models/{bank-transaction-response-class.js → tenant-bank-account-class-without-expand-properties.js} +0 -0
  92. /package/dist/models/{create-refund-response-class.js → tenant-bank-account-class.js} +0 -0
  93. /package/dist/models/{get-bank-account-response-class.js → update-tenant-bank-account-response-class.js} +0 -0
@@ -74,22 +74,17 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
74
74
  };
75
75
  },
76
76
  /**
77
- * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
77
+ * 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.
78
78
  * @summary Retrieve the payment method
79
- * @param {string} code
80
- * @param {string} code2 Unique identifier for the object.
81
- * @param {string} expand Fields to expand response by
79
+ * @param {string} code Unique identifier for the object.
82
80
  * @param {string} [authorization] Bearer Token
81
+ * @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>
83
82
  * @param {*} [options] Override http request option.
84
83
  * @throws {RequiredError}
85
84
  */
86
- getPaymentMethod: async (code: string, code2: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
85
+ getPaymentMethod: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
87
86
  // verify required parameter 'code' is not null or undefined
88
87
  assertParamExists('getPaymentMethod', 'code', code)
89
- // verify required parameter 'code2' is not null or undefined
90
- assertParamExists('getPaymentMethod', 'code2', code2)
91
- // verify required parameter 'expand' is not null or undefined
92
- assertParamExists('getPaymentMethod', 'expand', expand)
93
88
  const localVarPath = `/paymentservice/v1/payment-methods/{code}`
94
89
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
95
90
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -109,10 +104,6 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
109
104
  // http bearer authentication required
110
105
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
111
106
 
112
- if (code2 !== undefined) {
113
- localVarQueryParameter['code'] = code2;
114
- }
115
-
116
107
  if (expand !== undefined) {
117
108
  localVarQueryParameter['expand'] = expand;
118
109
  }
@@ -133,20 +124,20 @@ export const PaymentMethodsApiAxiosParamCreator = function (configuration?: Conf
133
124
  };
134
125
  },
135
126
  /**
136
- * 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.
127
+ * 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.
137
128
  * @summary List payment methods
138
129
  * @param {string} [authorization] Bearer Token
139
130
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
140
131
  * @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.
141
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
132
+ * @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;
142
133
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
143
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
144
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
145
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
134
+ * @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;
135
+ * @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;
136
+ * @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;
146
137
  * @param {*} [options] Override http request option.
147
138
  * @throws {RequiredError}
148
139
  */
149
- listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
+ listPaymentMethods: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
150
141
  const localVarPath = `/paymentservice/v1/payment-methods`;
151
142
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
152
143
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -231,34 +222,33 @@ export const PaymentMethodsApiFp = function(configuration?: Configuration) {
231
222
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
232
223
  },
233
224
  /**
234
- * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
225
+ * 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.
235
226
  * @summary Retrieve the payment method
236
- * @param {string} code
237
- * @param {string} code2 Unique identifier for the object.
238
- * @param {string} expand Fields to expand response by
227
+ * @param {string} code Unique identifier for the object.
239
228
  * @param {string} [authorization] Bearer Token
229
+ * @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;
240
230
  * @param {*} [options] Override http request option.
241
231
  * @throws {RequiredError}
242
232
  */
243
- async getPaymentMethod(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
244
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, code2, expand, authorization, options);
233
+ async getPaymentMethod(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
234
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPaymentMethod(code, authorization, expand, options);
245
235
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
246
236
  },
247
237
  /**
248
- * 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.
238
+ * 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.
249
239
  * @summary List payment methods
250
240
  * @param {string} [authorization] Bearer Token
251
241
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
252
242
  * @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.
253
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
243
+ * @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;
254
244
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
255
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
256
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
257
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
245
+ * @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;
246
+ * @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;
247
+ * @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;
258
248
  * @param {*} [options] Override http request option.
259
249
  * @throws {RequiredError}
260
250
  */
261
- async listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
251
+ 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<void>> {
262
252
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
263
253
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
264
254
  },
@@ -284,33 +274,32 @@ export const PaymentMethodsApiFactory = function (configuration?: Configuration,
284
274
  return localVarFp.createPaymentMethod(body, authorization, options).then((request) => request(axios, basePath));
285
275
  },
286
276
  /**
287
- * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
277
+ * 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.
288
278
  * @summary Retrieve the payment method
289
- * @param {string} code
290
- * @param {string} code2 Unique identifier for the object.
291
- * @param {string} expand Fields to expand response by
279
+ * @param {string} code Unique identifier for the object.
292
280
  * @param {string} [authorization] Bearer Token
281
+ * @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;
293
282
  * @param {*} [options] Override http request option.
294
283
  * @throws {RequiredError}
295
284
  */
296
- getPaymentMethod(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<void> {
297
- return localVarFp.getPaymentMethod(code, code2, expand, authorization, options).then((request) => request(axios, basePath));
285
+ getPaymentMethod(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
286
+ return localVarFp.getPaymentMethod(code, authorization, expand, options).then((request) => request(axios, basePath));
298
287
  },
299
288
  /**
300
- * 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.
289
+ * 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.
301
290
  * @summary List payment methods
302
291
  * @param {string} [authorization] Bearer Token
303
292
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
304
293
  * @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.
305
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
294
+ * @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;
306
295
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
307
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
308
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
309
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
296
+ * @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;
297
+ * @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;
298
+ * @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;
310
299
  * @param {*} [options] Override http request option.
311
300
  * @throws {RequiredError}
312
301
  */
313
- listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
302
+ listPaymentMethods(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
314
303
  return localVarFp.listPaymentMethods(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
315
304
  },
316
305
  };
@@ -343,33 +332,26 @@ export interface PaymentMethodsApiCreatePaymentMethodRequest {
343
332
  * @interface PaymentMethodsApiGetPaymentMethodRequest
344
333
  */
345
334
  export interface PaymentMethodsApiGetPaymentMethodRequest {
346
- /**
347
- *
348
- * @type {string}
349
- * @memberof PaymentMethodsApiGetPaymentMethod
350
- */
351
- readonly code: string
352
-
353
335
  /**
354
336
  * Unique identifier for the object.
355
337
  * @type {string}
356
338
  * @memberof PaymentMethodsApiGetPaymentMethod
357
339
  */
358
- readonly code2: string
340
+ readonly code: string
359
341
 
360
342
  /**
361
- * Fields to expand response by
343
+ * Bearer Token
362
344
  * @type {string}
363
345
  * @memberof PaymentMethodsApiGetPaymentMethod
364
346
  */
365
- readonly expand: string
347
+ readonly authorization?: string
366
348
 
367
349
  /**
368
- * Bearer Token
350
+ * 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;
369
351
  * @type {string}
370
352
  * @memberof PaymentMethodsApiGetPaymentMethod
371
353
  */
372
- readonly authorization?: string
354
+ readonly expand?: string
373
355
  }
374
356
 
375
357
  /**
@@ -400,11 +382,11 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
400
382
  readonly pageToken?: any
401
383
 
402
384
  /**
403
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
404
- * @type {any}
385
+ * 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;
386
+ * @type {string}
405
387
  * @memberof PaymentMethodsApiListPaymentMethods
406
388
  */
407
- readonly filter?: any
389
+ readonly filter?: string
408
390
 
409
391
  /**
410
392
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
@@ -414,25 +396,25 @@ export interface PaymentMethodsApiListPaymentMethodsRequest {
414
396
  readonly search?: any
415
397
 
416
398
  /**
417
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
418
- * @type {any}
399
+ * 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;
400
+ * @type {string}
419
401
  * @memberof PaymentMethodsApiListPaymentMethods
420
402
  */
421
- readonly order?: any
403
+ readonly order?: string
422
404
 
423
405
  /**
424
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
425
- * @type {any}
406
+ * 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;
407
+ * @type {string}
426
408
  * @memberof PaymentMethodsApiListPaymentMethods
427
409
  */
428
- readonly expand?: any
410
+ readonly expand?: string
429
411
 
430
412
  /**
431
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
432
- * @type {any}
413
+ * 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;
414
+ * @type {string}
433
415
  * @memberof PaymentMethodsApiListPaymentMethods
434
416
  */
435
- readonly filters?: any
417
+ readonly filters?: string
436
418
  }
437
419
 
438
420
  /**
@@ -455,7 +437,7 @@ export class PaymentMethodsApi extends BaseAPI {
455
437
  }
456
438
 
457
439
  /**
458
- * Retrieves the details of a payment method that was previously created. Supply the unique payment method code that was returned when you created the payment method and Emil Api will return the corresponding payment method information.
440
+ * 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.
459
441
  * @summary Retrieve the payment method
460
442
  * @param {PaymentMethodsApiGetPaymentMethodRequest} requestParameters Request parameters.
461
443
  * @param {*} [options] Override http request option.
@@ -463,11 +445,11 @@ export class PaymentMethodsApi extends BaseAPI {
463
445
  * @memberof PaymentMethodsApi
464
446
  */
465
447
  public getPaymentMethod(requestParameters: PaymentMethodsApiGetPaymentMethodRequest, options?: AxiosRequestConfig) {
466
- return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
448
+ return PaymentMethodsApiFp(this.configuration).getPaymentMethod(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
467
449
  }
468
450
 
469
451
  /**
470
- * 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.
452
+ * 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.
471
453
  * @summary List payment methods
472
454
  * @param {PaymentMethodsApiListPaymentMethodsRequest} requestParameters Request parameters.
473
455
  * @param {*} [options] Override http request option.
@@ -32,7 +32,7 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
32
32
  return {
33
33
  /**
34
34
  * This will create a payment reminder in the database.
35
- * @summary Create the payment-reminder
35
+ * @summary Create the payment reminder
36
36
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
37
37
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
38
38
  * @param {*} [options] Override http request option.
@@ -78,8 +78,8 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
78
78
  };
79
79
  },
80
80
  /**
81
- * Deactivates the payment reminder
82
- * @summary Update the payment-reminder
81
+ * This will deactivate the payment reminder
82
+ * @summary Deactivate payment reminder
83
83
  * @param {string} code Unique identifier for the object.
84
84
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
85
85
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -133,10 +133,11 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
133
133
  * @summary Retrieve the payment reminder
134
134
  * @param {string} code Unique identifier for the object.
135
135
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
136
+ * @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;
136
137
  * @param {*} [options] Override http request option.
137
138
  * @throws {RequiredError}
138
139
  */
139
- getPolicy: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
+ getPolicy: async (code: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
140
141
  // verify required parameter 'code' is not null or undefined
141
142
  assertParamExists('getPolicy', 'code', code)
142
143
  const localVarPath = `/paymentservice/v1/payment-reminders/{code}`
@@ -158,6 +159,10 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
158
159
  // http bearer authentication required
159
160
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
160
161
 
162
+ if (expand !== undefined) {
163
+ localVarQueryParameter['expand'] = expand;
164
+ }
165
+
161
166
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
162
167
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
163
168
  }
@@ -174,20 +179,20 @@ export const PaymentRemindersApiAxiosParamCreator = function (configuration?: Co
174
179
  };
175
180
  },
176
181
  /**
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.
182
+ * 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.
178
183
  * @summary List payment reminders
179
184
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
180
185
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
181
186
  * @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.
182
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
187
+ * @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;
183
188
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
184
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
185
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
186
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
189
+ * @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;
190
+ * @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;
191
+ * @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;
187
192
  * @param {*} [options] Override http request option.
188
193
  * @throws {RequiredError}
189
194
  */
190
- listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
195
+ listPaymentReminders: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
191
196
  const localVarPath = `/paymentservice/v1/payment-reminders`;
192
197
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
193
198
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -261,7 +266,7 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
261
266
  return {
262
267
  /**
263
268
  * This will create a payment reminder in the database.
264
- * @summary Create the payment-reminder
269
+ * @summary Create the payment reminder
265
270
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
266
271
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
267
272
  * @param {*} [options] Override http request option.
@@ -272,8 +277,8 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
272
277
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
273
278
  },
274
279
  /**
275
- * Deactivates the payment reminder
276
- * @summary Update the payment-reminder
280
+ * This will deactivate the payment reminder
281
+ * @summary Deactivate payment reminder
277
282
  * @param {string} code Unique identifier for the object.
278
283
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
279
284
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -289,28 +294,29 @@ export const PaymentRemindersApiFp = function(configuration?: Configuration) {
289
294
  * @summary Retrieve the payment reminder
290
295
  * @param {string} code Unique identifier for the object.
291
296
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
297
+ * @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;
292
298
  * @param {*} [options] Override http request option.
293
299
  * @throws {RequiredError}
294
300
  */
295
- async getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
296
- const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, options);
301
+ async getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
302
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getPolicy(code, authorization, expand, options);
297
303
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
298
304
  },
299
305
  /**
300
- * 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.
306
+ * 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.
301
307
  * @summary List payment reminders
302
308
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
303
309
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
304
310
  * @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.
305
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
311
+ * @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;
306
312
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
307
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
308
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
309
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
313
+ * @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;
314
+ * @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;
315
+ * @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;
310
316
  * @param {*} [options] Override http request option.
311
317
  * @throws {RequiredError}
312
318
  */
313
- async listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
319
+ 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<void>> {
314
320
  const localVarAxiosArgs = await localVarAxiosParamCreator.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
315
321
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
316
322
  },
@@ -326,7 +332,7 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
326
332
  return {
327
333
  /**
328
334
  * This will create a payment reminder in the database.
329
- * @summary Create the payment-reminder
335
+ * @summary Create the payment reminder
330
336
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
331
337
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
332
338
  * @param {*} [options] Override http request option.
@@ -336,8 +342,8 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
336
342
  return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then((request) => request(axios, basePath));
337
343
  },
338
344
  /**
339
- * Deactivates the payment reminder
340
- * @summary Update the payment-reminder
345
+ * This will deactivate the payment reminder
346
+ * @summary Deactivate payment reminder
341
347
  * @param {string} code Unique identifier for the object.
342
348
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
343
349
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -352,27 +358,28 @@ export const PaymentRemindersApiFactory = function (configuration?: Configuratio
352
358
  * @summary Retrieve the payment reminder
353
359
  * @param {string} code Unique identifier for the object.
354
360
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
361
+ * @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;
355
362
  * @param {*} [options] Override http request option.
356
363
  * @throws {RequiredError}
357
364
  */
358
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<void> {
359
- return localVarFp.getPolicy(code, authorization, options).then((request) => request(axios, basePath));
365
+ getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void> {
366
+ return localVarFp.getPolicy(code, authorization, expand, options).then((request) => request(axios, basePath));
360
367
  },
361
368
  /**
362
- * 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.
369
+ * 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.
363
370
  * @summary List payment reminders
364
371
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
365
372
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
366
373
  * @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.
367
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
374
+ * @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;
368
375
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
369
- * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
370
- * @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
371
- * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
376
+ * @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;
377
+ * @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;
378
+ * @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;
372
379
  * @param {*} [options] Override http request option.
373
380
  * @throws {RequiredError}
374
381
  */
375
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<void> {
382
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void> {
376
383
  return localVarFp.listPaymentReminders(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
377
384
  },
378
385
  };
@@ -446,6 +453,13 @@ export interface PaymentRemindersApiGetPolicyRequest {
446
453
  * @memberof PaymentRemindersApiGetPolicy
447
454
  */
448
455
  readonly authorization?: string
456
+
457
+ /**
458
+ * 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;
459
+ * @type {string}
460
+ * @memberof PaymentRemindersApiGetPolicy
461
+ */
462
+ readonly expand?: string
449
463
  }
450
464
 
451
465
  /**
@@ -476,11 +490,11 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
476
490
  readonly pageToken?: any
477
491
 
478
492
  /**
479
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
480
- * @type {any}
493
+ * 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;
494
+ * @type {string}
481
495
  * @memberof PaymentRemindersApiListPaymentReminders
482
496
  */
483
- readonly filter?: any
497
+ readonly filter?: string
484
498
 
485
499
  /**
486
500
  * To search the list by any field, pass search&#x3D;xxx to fetch the result.
@@ -490,25 +504,25 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
490
504
  readonly search?: any
491
505
 
492
506
  /**
493
- * The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
494
- * @type {any}
507
+ * 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;
508
+ * @type {string}
495
509
  * @memberof PaymentRemindersApiListPaymentReminders
496
510
  */
497
- readonly order?: any
511
+ readonly order?: string
498
512
 
499
513
  /**
500
- * Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
501
- * @type {any}
514
+ * 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;
515
+ * @type {string}
502
516
  * @memberof PaymentRemindersApiListPaymentReminders
503
517
  */
504
- readonly expand?: any
518
+ readonly expand?: string
505
519
 
506
520
  /**
507
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
508
- * @type {any}
521
+ * 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;
522
+ * @type {string}
509
523
  * @memberof PaymentRemindersApiListPaymentReminders
510
524
  */
511
- readonly filters?: any
525
+ readonly filters?: string
512
526
  }
513
527
 
514
528
  /**
@@ -520,7 +534,7 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
520
534
  export class PaymentRemindersApi extends BaseAPI {
521
535
  /**
522
536
  * This will create a payment reminder in the database.
523
- * @summary Create the payment-reminder
537
+ * @summary Create the payment reminder
524
538
  * @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
525
539
  * @param {*} [options] Override http request option.
526
540
  * @throws {RequiredError}
@@ -531,8 +545,8 @@ export class PaymentRemindersApi extends BaseAPI {
531
545
  }
532
546
 
533
547
  /**
534
- * Deactivates the payment reminder
535
- * @summary Update the payment-reminder
548
+ * This will deactivate the payment reminder
549
+ * @summary Deactivate payment reminder
536
550
  * @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
537
551
  * @param {*} [options] Override http request option.
538
552
  * @throws {RequiredError}
@@ -551,11 +565,11 @@ export class PaymentRemindersApi extends BaseAPI {
551
565
  * @memberof PaymentRemindersApi
552
566
  */
553
567
  public getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig) {
554
- return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
568
+ return PaymentRemindersApiFp(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
555
569
  }
556
570
 
557
571
  /**
558
- * 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.
572
+ * 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.
559
573
  * @summary List payment reminders
560
574
  * @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
561
575
  * @param {*} [options] Override http request option.