@emilgroup/payment-sdk 1.4.1-beta.3 → 1.4.1-beta.31

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 (224) hide show
  1. package/.openapi-generator/FILES +12 -39
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +497 -47
  4. package/api/bank-transaction-api.ts +128 -96
  5. package/api/{default-api.ts → health-check-api.ts} +22 -18
  6. package/api/payment-methods-api.ts +74 -203
  7. package/api/payment-reminders-api.ts +76 -66
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +66 -89
  10. package/api/refunds-api.ts +74 -84
  11. package/api/tenant-bank-account-api.ts +88 -62
  12. package/api/webhooks-api.ts +17 -13
  13. package/api.ts +3 -3
  14. package/base.ts +6 -2
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +297 -49
  18. package/dist/api/bank-accounts-api.js +416 -28
  19. package/dist/api/bank-transaction-api.d.ts +109 -91
  20. package/dist/api/bank-transaction-api.js +83 -68
  21. package/dist/api/health-check-api.d.ts +70 -0
  22. package/dist/api/{default-api.js → health-check-api.js} +31 -27
  23. package/dist/api/payment-methods-api.d.ts +66 -134
  24. package/dist/api/payment-methods-api.js +55 -157
  25. package/dist/api/payment-reminders-api.d.ts +72 -65
  26. package/dist/api/payment-reminders-api.js +48 -42
  27. package/dist/api/payment-setup-api.d.ts +19 -23
  28. package/dist/api/payment-setup-api.js +25 -25
  29. package/dist/api/payments-api.d.ts +64 -76
  30. package/dist/api/payments-api.js +47 -55
  31. package/dist/api/refunds-api.d.ts +74 -74
  32. package/dist/api/refunds-api.js +52 -48
  33. package/dist/api/tenant-bank-account-api.d.ts +89 -66
  34. package/dist/api/tenant-bank-account-api.js +59 -39
  35. package/dist/api/webhooks-api.d.ts +17 -13
  36. package/dist/api/webhooks-api.js +15 -11
  37. package/dist/api.d.ts +2 -2
  38. package/dist/api.js +2 -2
  39. package/dist/base.d.ts +2 -1
  40. package/dist/base.js +5 -2
  41. package/dist/common.d.ts +2 -2
  42. package/dist/common.js +1 -1
  43. package/dist/configuration.d.ts +1 -1
  44. package/dist/configuration.js +1 -1
  45. package/dist/index.d.ts +1 -1
  46. package/dist/index.js +1 -1
  47. package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +26 -34
  48. package/dist/models/{bank-account-class.js → bank-transaction-class-without-expand-properties.js} +1 -1
  49. package/dist/models/create-bank-account-request-dto.d.ts +15 -3
  50. package/dist/models/create-bank-account-request-dto.js +1 -1
  51. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  52. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  53. package/dist/models/create-payment-request-dto.d.ts +4 -4
  54. package/dist/models/create-payment-request-dto.js +1 -1
  55. package/dist/models/create-refund-request-dto.d.ts +1 -1
  56. package/dist/models/create-refund-request-dto.js +1 -1
  57. package/dist/models/create-tenant-bank-account-request-dto.d.ts +1 -1
  58. package/dist/models/create-tenant-bank-account-request-dto.js +1 -1
  59. package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
  60. package/dist/models/{bank-transaction-response-class.js → create-tenant-bank-account-response-class.js} +1 -1
  61. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  62. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  63. package/dist/models/get-tenant-bank-account-response-class.d.ts +5 -5
  64. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  65. package/dist/models/index.d.ts +11 -38
  66. package/dist/models/index.js +11 -38
  67. package/dist/models/inline-response200.d.ts +1 -1
  68. package/dist/models/inline-response200.js +1 -1
  69. package/dist/models/inline-response503.d.ts +1 -1
  70. package/dist/models/inline-response503.js +1 -1
  71. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
  72. package/dist/models/{billing-profile-limited-response-dto.js → link-bank-transaction-request-dto-rest.js} +1 -1
  73. package/dist/models/list-tenant-bank-account-response-class.d.ts +31 -0
  74. package/dist/models/{billing-profile-dto.js → list-tenant-bank-account-response-class.js} +1 -1
  75. package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
  76. package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
  77. package/dist/models/{tenant-bank-account-response-class.d.ts → tenant-bank-account-class-without-expand-properties.d.ts} +11 -11
  78. package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
  79. package/dist/models/tenant-bank-account-class.d.ts +73 -0
  80. package/dist/models/tenant-bank-account-class.js +15 -0
  81. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
  82. package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
  83. package/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
  84. package/dist/models/update-bank-account-request-dto-rest.js +15 -0
  85. package/dist/models/update-bank-account-request-dto.d.ts +36 -0
  86. package/dist/models/update-bank-account-request-dto.js +15 -0
  87. package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
  88. package/dist/models/update-tenant-bank-account-response-class.js +15 -0
  89. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  90. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  91. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  92. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  93. package/index.ts +1 -1
  94. package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +26 -34
  95. package/models/create-bank-account-request-dto.ts +15 -3
  96. package/models/create-payment-reminder-request-dto.ts +1 -1
  97. package/models/create-payment-request-dto.ts +4 -4
  98. package/models/create-refund-request-dto.ts +1 -1
  99. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  100. package/models/create-tenant-bank-account-response-class.ts +31 -0
  101. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  102. package/models/get-tenant-bank-account-response-class.ts +5 -5
  103. package/models/index.ts +11 -38
  104. package/models/inline-response200.ts +1 -1
  105. package/models/inline-response503.ts +1 -1
  106. package/models/link-bank-transaction-request-dto-rest.ts +30 -0
  107. package/models/list-tenant-bank-account-response-class.ts +37 -0
  108. package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
  109. package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +11 -11
  110. package/models/tenant-bank-account-class.ts +79 -0
  111. package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
  112. package/models/update-bank-account-request-dto-rest.ts +36 -0
  113. package/models/update-bank-account-request-dto.ts +42 -0
  114. package/models/update-tenant-bank-account-response-class.ts +31 -0
  115. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  116. package/models/validate-pspconfig-request-dto.ts +2 -12
  117. package/package.json +1 -1
  118. package/dist/api/default-api.d.ts +0 -66
  119. package/dist/models/bank-account-class.d.ts +0 -54
  120. package/dist/models/billing-profile-dto.d.ts +0 -38
  121. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  122. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  123. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  124. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  125. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  126. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  127. package/dist/models/complete-payment-setup-response-class.js +0 -15
  128. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  129. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  130. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  131. package/dist/models/create-payment-method-response-class.js +0 -15
  132. package/dist/models/create-payment-response-class.d.ts +0 -25
  133. package/dist/models/create-payment-response-class.js +0 -15
  134. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  135. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  136. package/dist/models/create-refund-response-class.d.ts +0 -25
  137. package/dist/models/create-refund-response-class.js +0 -15
  138. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  139. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  140. package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
  141. package/dist/models/get-bank-transactions-response-class.js +0 -15
  142. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  143. package/dist/models/get-payment-method-response-class.js +0 -15
  144. package/dist/models/get-payment-response-class.d.ts +0 -25
  145. package/dist/models/get-payment-response-class.js +0 -15
  146. package/dist/models/get-refund-response-class.d.ts +0 -25
  147. package/dist/models/get-refund-response-class.js +0 -15
  148. package/dist/models/get-request-dto.d.ts +0 -30
  149. package/dist/models/get-request-dto.js +0 -15
  150. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  151. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  152. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  153. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  154. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  155. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  156. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  157. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  158. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  159. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  160. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  161. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  162. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  163. package/dist/models/list-bank-accounts-response-class.js +0 -15
  164. package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
  165. package/dist/models/list-bank-transactions-response-class.js +0 -15
  166. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  167. package/dist/models/list-payment-methods-response-class.js +0 -15
  168. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  169. package/dist/models/list-payment-reminders-response-class.js +0 -15
  170. package/dist/models/list-payments-response-class.d.ts +0 -31
  171. package/dist/models/list-payments-response-class.js +0 -15
  172. package/dist/models/list-refunds-response-class.d.ts +0 -31
  173. package/dist/models/list-refunds-response-class.js +0 -15
  174. package/dist/models/payment-class.d.ts +0 -103
  175. package/dist/models/payment-class.js +0 -15
  176. package/dist/models/payment-method-class.d.ts +0 -66
  177. package/dist/models/payment-method-class.js +0 -15
  178. package/dist/models/payment-reminder-class.d.ts +0 -112
  179. package/dist/models/payment-reminder-class.js +0 -36
  180. package/dist/models/refund-class.d.ts +0 -104
  181. package/dist/models/refund-class.js +0 -28
  182. package/dist/models/sepa-direct-dto.d.ts +0 -24
  183. package/dist/models/sepa-direct-dto.js +0 -15
  184. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  185. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  186. package/dist/models/tenant-bank-account-response-class.js +0 -15
  187. package/dist/models/transaction-class.d.ts +0 -54
  188. package/dist/models/transaction-class.js +0 -15
  189. package/models/bank-account-class.ts +0 -60
  190. package/models/billing-profile-dto.ts +0 -44
  191. package/models/billing-profile-limited-response-dto.ts +0 -60
  192. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  193. package/models/complete-payment-setup-request-dto.ts +0 -38
  194. package/models/complete-payment-setup-response-class.ts +0 -31
  195. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  196. package/models/create-payment-method-response-class.ts +0 -31
  197. package/models/create-payment-response-class.ts +0 -31
  198. package/models/create-psp-payment-method-request-dto.ts +0 -70
  199. package/models/create-refund-response-class.ts +0 -31
  200. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  201. package/models/get-bank-transactions-response-class.ts +0 -31
  202. package/models/get-payment-method-response-class.ts +0 -31
  203. package/models/get-payment-response-class.ts +0 -31
  204. package/models/get-refund-response-class.ts +0 -31
  205. package/models/get-request-dto.ts +0 -36
  206. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  207. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  208. package/models/initiate-payment-setup-request-dto.ts +0 -50
  209. package/models/initiate-payment-setup-response-class.ts +0 -38
  210. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  211. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  212. package/models/list-bank-accounts-response-class.ts +0 -37
  213. package/models/list-bank-transactions-response-class.ts +0 -37
  214. package/models/list-payment-methods-response-class.ts +0 -37
  215. package/models/list-payment-reminders-response-class.ts +0 -37
  216. package/models/list-payments-response-class.ts +0 -37
  217. package/models/list-refunds-response-class.ts +0 -37
  218. package/models/payment-class.ts +0 -109
  219. package/models/payment-method-class.ts +0 -72
  220. package/models/payment-reminder-class.ts +0 -122
  221. package/models/refund-class.ts +0 -114
  222. package/models/sepa-direct-dto.ts +0 -30
  223. package/models/symphony-profile-limited-response-dto.ts +0 -48
  224. package/models/transaction-class.ts +0 -60
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Emil Payment Service
3
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
4
  *
5
5
  * The version of the OpenAPI document: 1.0
6
6
  * Contact: kontakt@emil.de
@@ -14,8 +14,6 @@ import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentReminderRequestDto } from '../models';
16
16
  import { DeactivatePaymentReminderRequestDto } from '../models';
17
- import { DeactivatePaymentReminderResponseClass } from '../models';
18
- import { ListPaymentRemindersResponseClass } from '../models';
19
17
  /**
20
18
  * PaymentRemindersApi - axios parameter creator
21
19
  * @export
@@ -23,7 +21,7 @@ import { ListPaymentRemindersResponseClass } from '../models';
23
21
  export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Configuration) => {
24
22
  /**
25
23
  * This will create a payment reminder in the database.
26
- * @summary Create the payment-reminder
24
+ * @summary Create the payment reminder
27
25
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
28
26
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
29
27
  * @param {*} [options] Override http request option.
@@ -31,8 +29,8 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
31
29
  */
32
30
  createPaymentReminder: (createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
33
31
  /**
34
- * Deactivates the payment reminder
35
- * @summary Update the payment-reminder
32
+ * This will deactivate the payment reminder
33
+ * @summary Deactivate payment reminder
36
34
  * @param {string} code Unique identifier for the object.
37
35
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
38
36
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -41,29 +39,30 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
41
39
  */
42
40
  deactivatePaymentReminder: (code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
43
41
  /**
44
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
42
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
45
43
  * @summary Retrieve the payment reminder
46
44
  * @param {string} code Unique identifier for the object.
47
45
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
46
+ * @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;
48
47
  * @param {*} [options] Override http request option.
49
48
  * @throws {RequiredError}
50
49
  */
51
- getPolicy: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
50
+ getPolicy: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
52
51
  /**
53
- * 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.
52
+ * 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.
54
53
  * @summary List payment reminders
55
54
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
56
55
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
57
56
  * @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.
58
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
59
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
60
- * @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.
61
- * @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.
62
- * @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.
57
+ * @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;
58
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
59
+ * @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;
60
+ * @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;
61
+ * @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;
63
62
  * @param {*} [options] Override http request option.
64
63
  * @throws {RequiredError}
65
64
  */
66
- listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
65
+ listPaymentReminders: (authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
67
66
  };
68
67
  /**
69
68
  * PaymentRemindersApi - functional programming interface
@@ -72,47 +71,48 @@ export declare const PaymentRemindersApiAxiosParamCreator: (configuration?: Conf
72
71
  export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
73
72
  /**
74
73
  * This will create a payment reminder in the database.
75
- * @summary Create the payment-reminder
74
+ * @summary Create the payment reminder
76
75
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
77
76
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
78
77
  * @param {*} [options] Override http request option.
79
78
  * @throws {RequiredError}
80
79
  */
81
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
80
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
81
  /**
83
- * Deactivates the payment reminder
84
- * @summary Update the payment-reminder
82
+ * This will deactivate the payment reminder
83
+ * @summary Deactivate payment reminder
85
84
  * @param {string} code Unique identifier for the object.
86
85
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
87
86
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
88
87
  * @param {*} [options] Override http request option.
89
88
  * @throws {RequiredError}
90
89
  */
91
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<DeactivatePaymentReminderResponseClass>>;
90
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
92
91
  /**
93
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
92
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
94
93
  * @summary Retrieve the payment reminder
95
94
  * @param {string} code Unique identifier for the object.
96
95
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
96
+ * @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;
97
97
  * @param {*} [options] Override http request option.
98
98
  * @throws {RequiredError}
99
99
  */
100
- getPolicy(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
100
+ getPolicy(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
101
101
  /**
102
- * 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.
102
+ * 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.
103
103
  * @summary List payment reminders
104
104
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
105
105
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
106
106
  * @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.
107
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
108
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
109
- * @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.
110
- * @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.
111
- * @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.
107
+ * @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;
108
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
109
+ * @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;
110
+ * @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;
111
+ * @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;
112
112
  * @param {*} [options] Override http request option.
113
113
  * @throws {RequiredError}
114
114
  */
115
- 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<ListPaymentRemindersResponseClass>>;
115
+ 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>>;
116
116
  };
117
117
  /**
118
118
  * PaymentRemindersApi - factory interface
@@ -121,47 +121,48 @@ export declare const PaymentRemindersApiFp: (configuration?: Configuration) => {
121
121
  export declare const PaymentRemindersApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
122
122
  /**
123
123
  * This will create a payment reminder in the database.
124
- * @summary Create the payment-reminder
124
+ * @summary Create the payment reminder
125
125
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
126
126
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
127
127
  * @param {*} [options] Override http request option.
128
128
  * @throws {RequiredError}
129
129
  */
130
- createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
130
+ createPaymentReminder(createPaymentReminderRequestDto: CreatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
131
131
  /**
132
- * Deactivates the payment reminder
133
- * @summary Update the payment-reminder
132
+ * This will deactivate the payment reminder
133
+ * @summary Deactivate payment reminder
134
134
  * @param {string} code Unique identifier for the object.
135
135
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
136
136
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
137
137
  * @param {*} [options] Override http request option.
138
138
  * @throws {RequiredError}
139
139
  */
140
- deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<DeactivatePaymentReminderResponseClass>;
140
+ deactivatePaymentReminder(code: string, deactivatePaymentReminderRequestDto: DeactivatePaymentReminderRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
141
141
  /**
142
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
142
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
143
143
  * @summary Retrieve the payment reminder
144
144
  * @param {string} code Unique identifier for the object.
145
145
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
146
+ * @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;
146
147
  * @param {*} [options] Override http request option.
147
148
  * @throws {RequiredError}
148
149
  */
149
- getPolicy(code: string, authorization?: string, options?: any): AxiosPromise<object>;
150
+ getPolicy(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
150
151
  /**
151
- * 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.
152
+ * 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.
152
153
  * @summary List payment reminders
153
154
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
154
155
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
155
156
  * @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.
156
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
157
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
158
- * @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.
159
- * @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.
160
- * @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.
157
+ * @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;
158
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
159
+ * @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;
160
+ * @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;
161
+ * @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;
161
162
  * @param {*} [options] Override http request option.
162
163
  * @throws {RequiredError}
163
164
  */
164
- listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, filters?: any, options?: any): AxiosPromise<ListPaymentRemindersResponseClass>;
165
+ listPaymentReminders(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
165
166
  };
166
167
  /**
167
168
  * Request parameters for createPaymentReminder operation in PaymentRemindersApi.
@@ -225,6 +226,12 @@ export interface PaymentRemindersApiGetPolicyRequest {
225
226
  * @memberof PaymentRemindersApiGetPolicy
226
227
  */
227
228
  readonly authorization?: string;
229
+ /**
230
+ * 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;
231
+ * @type {string}
232
+ * @memberof PaymentRemindersApiGetPolicy
233
+ */
234
+ readonly expand?: string;
228
235
  }
229
236
  /**
230
237
  * Request parameters for listPaymentReminders operation in PaymentRemindersApi.
@@ -251,35 +258,35 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
251
258
  */
252
259
  readonly pageToken?: any;
253
260
  /**
254
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
255
- * @type {any}
261
+ * 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;
262
+ * @type {string}
256
263
  * @memberof PaymentRemindersApiListPaymentReminders
257
264
  */
258
- readonly filter?: any;
265
+ readonly filter?: string;
259
266
  /**
260
- * Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
267
+ * To search the list by any field, pass search&#x3D;xxx to fetch the result.
261
268
  * @type {any}
262
269
  * @memberof PaymentRemindersApiListPaymentReminders
263
270
  */
264
271
  readonly search?: any;
265
272
  /**
266
- * 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.
267
- * @type {any}
273
+ * 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;
274
+ * @type {string}
268
275
  * @memberof PaymentRemindersApiListPaymentReminders
269
276
  */
270
- readonly order?: any;
277
+ readonly order?: string;
271
278
  /**
272
- * 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.
273
- * @type {any}
279
+ * 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;
280
+ * @type {string}
274
281
  * @memberof PaymentRemindersApiListPaymentReminders
275
282
  */
276
- readonly expand?: any;
283
+ readonly expand?: string;
277
284
  /**
278
- * 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.
279
- * @type {any}
285
+ * 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;
286
+ * @type {string}
280
287
  * @memberof PaymentRemindersApiListPaymentReminders
281
288
  */
282
- readonly filters?: any;
289
+ readonly filters?: string;
283
290
  }
284
291
  /**
285
292
  * PaymentRemindersApi - object-oriented interface
@@ -290,38 +297,38 @@ export interface PaymentRemindersApiListPaymentRemindersRequest {
290
297
  export declare class PaymentRemindersApi extends BaseAPI {
291
298
  /**
292
299
  * This will create a payment reminder in the database.
293
- * @summary Create the payment-reminder
300
+ * @summary Create the payment reminder
294
301
  * @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
295
302
  * @param {*} [options] Override http request option.
296
303
  * @throws {RequiredError}
297
304
  * @memberof PaymentRemindersApi
298
305
  */
299
- createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
306
+ createPaymentReminder(requestParameters: PaymentRemindersApiCreatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
300
307
  /**
301
- * Deactivates the payment reminder
302
- * @summary Update the payment-reminder
308
+ * This will deactivate the payment reminder
309
+ * @summary Deactivate payment reminder
303
310
  * @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
304
311
  * @param {*} [options] Override http request option.
305
312
  * @throws {RequiredError}
306
313
  * @memberof PaymentRemindersApi
307
314
  */
308
- deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DeactivatePaymentReminderResponseClass, any>>;
315
+ deactivatePaymentReminder(requestParameters: PaymentRemindersApiDeactivatePaymentReminderRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
309
316
  /**
310
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
317
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
311
318
  * @summary Retrieve the payment reminder
312
319
  * @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
313
320
  * @param {*} [options] Override http request option.
314
321
  * @throws {RequiredError}
315
322
  * @memberof PaymentRemindersApi
316
323
  */
317
- getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
324
+ getPolicy(requestParameters: PaymentRemindersApiGetPolicyRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
318
325
  /**
319
- * 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.
326
+ * 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.
320
327
  * @summary List payment reminders
321
328
  * @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
322
329
  * @param {*} [options] Override http request option.
323
330
  * @throws {RequiredError}
324
331
  * @memberof PaymentRemindersApi
325
332
  */
326
- listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentRemindersResponseClass, any>>;
333
+ listPaymentReminders(requestParameters?: PaymentRemindersApiListPaymentRemindersRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
327
334
  }
@@ -3,7 +3,7 @@
3
3
  /* eslint-disable */
4
4
  /**
5
5
  * Emil Payment Service
6
- * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
7
  *
8
8
  * The version of the OpenAPI document: 1.0
9
9
  * Contact: kontakt@emil.de
@@ -94,7 +94,7 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
94
94
  return {
95
95
  /**
96
96
  * This will create a payment reminder in the database.
97
- * @summary Create the payment-reminder
97
+ * @summary Create the payment reminder
98
98
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
99
99
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
100
  * @param {*} [options] Override http request option.
@@ -142,8 +142,8 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
142
142
  });
143
143
  },
144
144
  /**
145
- * Deactivates the payment reminder
146
- * @summary Update the payment-reminder
145
+ * This will deactivate the payment reminder
146
+ * @summary Deactivate payment reminder
147
147
  * @param {string} code Unique identifier for the object.
148
148
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
149
149
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -195,14 +195,15 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
195
195
  });
196
196
  },
197
197
  /**
198
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
198
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
199
199
  * @summary Retrieve the payment reminder
200
200
  * @param {string} code Unique identifier for the object.
201
201
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
202
+ * @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;
202
203
  * @param {*} [options] Override http request option.
203
204
  * @throws {RequiredError}
204
205
  */
205
- getPolicy: function (code, authorization, options) {
206
+ getPolicy: function (code, authorization, expand, options) {
206
207
  if (options === void 0) { options = {}; }
207
208
  return __awaiter(_this, void 0, void 0, function () {
208
209
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -228,6 +229,9 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
228
229
  // authentication bearer required
229
230
  // http bearer authentication required
230
231
  _a.sent();
232
+ if (expand !== undefined) {
233
+ localVarQueryParameter['expand'] = expand;
234
+ }
231
235
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
232
236
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
233
237
  }
@@ -243,16 +247,16 @@ var PaymentRemindersApiAxiosParamCreator = function (configuration) {
243
247
  });
244
248
  },
245
249
  /**
246
- * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
250
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
247
251
  * @summary List payment reminders
248
252
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
249
253
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
250
254
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
251
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
252
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
253
- * @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.
254
- * @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.
255
- * @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.
255
+ * @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;
256
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
257
+ * @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;
258
+ * @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;
259
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
256
260
  * @param {*} [options] Override http request option.
257
261
  * @throws {RequiredError}
258
262
  */
@@ -326,7 +330,7 @@ var PaymentRemindersApiFp = function (configuration) {
326
330
  return {
327
331
  /**
328
332
  * This will create a payment reminder in the database.
329
- * @summary Create the payment-reminder
333
+ * @summary Create the payment reminder
330
334
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
331
335
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
332
336
  * @param {*} [options] Override http request option.
@@ -346,8 +350,8 @@ var PaymentRemindersApiFp = function (configuration) {
346
350
  });
347
351
  },
348
352
  /**
349
- * Deactivates the payment reminder
350
- * @summary Update the payment-reminder
353
+ * This will deactivate the payment reminder
354
+ * @summary Deactivate payment reminder
351
355
  * @param {string} code Unique identifier for the object.
352
356
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
353
357
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -368,19 +372,20 @@ var PaymentRemindersApiFp = function (configuration) {
368
372
  });
369
373
  },
370
374
  /**
371
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
375
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
372
376
  * @summary Retrieve the payment reminder
373
377
  * @param {string} code Unique identifier for the object.
374
378
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
379
+ * @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;
375
380
  * @param {*} [options] Override http request option.
376
381
  * @throws {RequiredError}
377
382
  */
378
- getPolicy: function (code, authorization, options) {
383
+ getPolicy: function (code, authorization, expand, options) {
379
384
  return __awaiter(this, void 0, void 0, function () {
380
385
  var localVarAxiosArgs;
381
386
  return __generator(this, function (_a) {
382
387
  switch (_a.label) {
383
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, options)];
388
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getPolicy(code, authorization, expand, options)];
384
389
  case 1:
385
390
  localVarAxiosArgs = _a.sent();
386
391
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -389,16 +394,16 @@ var PaymentRemindersApiFp = function (configuration) {
389
394
  });
390
395
  },
391
396
  /**
392
- * 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.
397
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
393
398
  * @summary List payment reminders
394
399
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
395
400
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
396
401
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
397
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
398
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
399
- * @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.
400
- * @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.
401
- * @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.
402
+ * @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;
403
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
404
+ * @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;
405
+ * @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;
406
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
402
407
  * @param {*} [options] Override http request option.
403
408
  * @throws {RequiredError}
404
409
  */
@@ -427,7 +432,7 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
427
432
  return {
428
433
  /**
429
434
  * This will create a payment reminder in the database.
430
- * @summary Create the payment-reminder
435
+ * @summary Create the payment reminder
431
436
  * @param {CreatePaymentReminderRequestDto} createPaymentReminderRequestDto
432
437
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
433
438
  * @param {*} [options] Override http request option.
@@ -437,8 +442,8 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
437
442
  return localVarFp.createPaymentReminder(createPaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
438
443
  },
439
444
  /**
440
- * Deactivates the payment reminder
441
- * @summary Update the payment-reminder
445
+ * This will deactivate the payment reminder
446
+ * @summary Deactivate payment reminder
442
447
  * @param {string} code Unique identifier for the object.
443
448
  * @param {DeactivatePaymentReminderRequestDto} deactivatePaymentReminderRequestDto
444
449
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -449,27 +454,28 @@ var PaymentRemindersApiFactory = function (configuration, basePath, axios) {
449
454
  return localVarFp.deactivatePaymentReminder(code, deactivatePaymentReminderRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
450
455
  },
451
456
  /**
452
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
457
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
453
458
  * @summary Retrieve the payment reminder
454
459
  * @param {string} code Unique identifier for the object.
455
460
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
461
+ * @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;
456
462
  * @param {*} [options] Override http request option.
457
463
  * @throws {RequiredError}
458
464
  */
459
- getPolicy: function (code, authorization, options) {
460
- return localVarFp.getPolicy(code, authorization, options).then(function (request) { return request(axios, basePath); });
465
+ getPolicy: function (code, authorization, expand, options) {
466
+ return localVarFp.getPolicy(code, authorization, expand, options).then(function (request) { return request(axios, basePath); });
461
467
  },
462
468
  /**
463
- * 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.
469
+ * Returns a list of payment reminders you have previously created. The payment reminders are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
464
470
  * @summary List payment reminders
465
471
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
466
472
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
467
473
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken&#x3D;1, your subsequent call can include pageToken&#x3D;2 in order to fetch the next page of the list.
468
- * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
469
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code&#x3D;xxx in order to fetch the result.
470
- * @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.
471
- * @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.
472
- * @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.
474
+ * @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;
475
+ * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
476
+ * @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;
477
+ * @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;
478
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: code, id, policyCode, nextReminderDate&lt;/i&gt;
473
479
  * @param {*} [options] Override http request option.
474
480
  * @throws {RequiredError}
475
481
  */
@@ -492,7 +498,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
492
498
  }
493
499
  /**
494
500
  * This will create a payment reminder in the database.
495
- * @summary Create the payment-reminder
501
+ * @summary Create the payment reminder
496
502
  * @param {PaymentRemindersApiCreatePaymentReminderRequest} requestParameters Request parameters.
497
503
  * @param {*} [options] Override http request option.
498
504
  * @throws {RequiredError}
@@ -503,8 +509,8 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
503
509
  return (0, exports.PaymentRemindersApiFp)(this.configuration).createPaymentReminder(requestParameters.createPaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
504
510
  };
505
511
  /**
506
- * Deactivates the payment reminder
507
- * @summary Update the payment-reminder
512
+ * This will deactivate the payment reminder
513
+ * @summary Deactivate payment reminder
508
514
  * @param {PaymentRemindersApiDeactivatePaymentReminderRequest} requestParameters Request parameters.
509
515
  * @param {*} [options] Override http request option.
510
516
  * @throws {RequiredError}
@@ -515,7 +521,7 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
515
521
  return (0, exports.PaymentRemindersApiFp)(this.configuration).deactivatePaymentReminder(requestParameters.code, requestParameters.deactivatePaymentReminderRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
516
522
  };
517
523
  /**
518
- * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
524
+ * Retrieves the details of the payment reminder that was previously created. Supply the unique payment reminder code that was returned when you created it and Emil Api will return the corresponding payment reminder information.
519
525
  * @summary Retrieve the payment reminder
520
526
  * @param {PaymentRemindersApiGetPolicyRequest} requestParameters Request parameters.
521
527
  * @param {*} [options] Override http request option.
@@ -524,10 +530,10 @@ var PaymentRemindersApi = /** @class */ (function (_super) {
524
530
  */
525
531
  PaymentRemindersApi.prototype.getPolicy = function (requestParameters, options) {
526
532
  var _this = this;
527
- return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
533
+ return (0, exports.PaymentRemindersApiFp)(this.configuration).getPolicy(requestParameters.code, requestParameters.authorization, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
528
534
  };
529
535
  /**
530
- * 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.
536
+ * 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.
531
537
  * @summary List payment reminders
532
538
  * @param {PaymentRemindersApiListPaymentRemindersRequest} requestParameters Request parameters.
533
539
  * @param {*} [options] Override http request option.