@emilgroup/payment-sdk 1.4.1-beta.19 → 1.4.1-beta.20

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 (225) hide show
  1. package/.openapi-generator/FILES +0 -34
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -465
  4. package/api/bank-transaction-api.ts +11 -11
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +166 -65
  7. package/api/payment-reminders-api.ts +17 -21
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +54 -55
  10. package/api/refunds-api.ts +16 -14
  11. package/api/tenant-bank-account-api.ts +25 -25
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +1 -1
  14. package/base.ts +1 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +17 -260
  18. package/dist/api/bank-accounts-api.js +17 -399
  19. package/dist/api/bank-transaction-api.d.ts +12 -12
  20. package/dist/api/bank-transaction-api.js +9 -9
  21. package/dist/api/default-api.d.ts +1 -1
  22. package/dist/api/default-api.js +1 -1
  23. package/dist/api/payment-methods-api.d.ts +100 -49
  24. package/dist/api/payment-methods-api.js +144 -46
  25. package/dist/api/payment-reminders-api.d.ts +21 -23
  26. package/dist/api/payment-reminders-api.js +9 -9
  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 +43 -46
  30. package/dist/api/payments-api.js +42 -38
  31. package/dist/api/refunds-api.d.ts +11 -11
  32. package/dist/api/refunds-api.js +12 -10
  33. package/dist/api/tenant-bank-account-api.d.ts +25 -25
  34. package/dist/api/tenant-bank-account-api.js +20 -20
  35. package/dist/api/webhooks-api.d.ts +1 -1
  36. package/dist/api/webhooks-api.js +1 -1
  37. package/dist/api.d.ts +1 -1
  38. package/dist/api.js +1 -1
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +1 -1
  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 +1 -1
  48. package/dist/models/bank-transaction-response-class.js +1 -1
  49. package/dist/models/create-payment-reminder-request-dto.d.ts +1 -1
  50. package/dist/models/create-payment-reminder-request-dto.js +1 -1
  51. package/dist/models/create-payment-request-dto.d.ts +4 -4
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/create-refund-request-dto.d.ts +1 -1
  54. package/dist/models/create-refund-request-dto.js +1 -1
  55. package/dist/models/create-refund-response-class.d.ts +1 -1
  56. package/dist/models/create-refund-response-class.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 +1 -1
  60. package/dist/models/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-bank-transactions-response-class.d.ts +1 -1
  64. package/dist/models/get-bank-transactions-response-class.js +1 -1
  65. package/dist/models/get-refund-response-class.d.ts +1 -1
  66. package/dist/models/get-refund-response-class.js +1 -1
  67. package/dist/models/get-request-dto.d.ts +2 -2
  68. package/dist/models/get-request-dto.js +1 -1
  69. package/dist/models/get-tenant-bank-account-response-class.d.ts +1 -1
  70. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  71. package/dist/models/index.d.ts +0 -34
  72. package/dist/models/index.js +0 -34
  73. package/dist/models/inline-response200.d.ts +1 -1
  74. package/dist/models/inline-response200.js +1 -1
  75. package/dist/models/inline-response503.d.ts +1 -1
  76. package/dist/models/inline-response503.js +1 -1
  77. package/dist/models/link-bank-transaction-request-dto-rest.d.ts +1 -1
  78. package/dist/models/link-bank-transaction-request-dto-rest.js +1 -1
  79. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  80. package/dist/models/list-bank-transactions-response-class.js +1 -1
  81. package/dist/models/list-refunds-response-class.d.ts +1 -1
  82. package/dist/models/list-refunds-response-class.js +1 -1
  83. package/dist/models/list-tenant-bank-account-response-class.d.ts +1 -1
  84. package/dist/models/list-tenant-bank-account-response-class.js +1 -1
  85. package/dist/models/refund-class.d.ts +1 -1
  86. package/dist/models/refund-class.js +1 -1
  87. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  88. package/dist/models/tenant-bank-account-response-class.js +1 -1
  89. package/dist/models/transaction-class.d.ts +1 -1
  90. package/dist/models/transaction-class.js +1 -1
  91. package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +2 -2
  92. package/dist/models/unlink-bank-transaction-request-dto-rest.js +1 -1
  93. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  94. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  95. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  96. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  97. package/index.ts +1 -1
  98. package/models/bank-transaction-response-class.ts +1 -1
  99. package/models/create-payment-reminder-request-dto.ts +1 -1
  100. package/models/create-payment-request-dto.ts +4 -4
  101. package/models/create-refund-request-dto.ts +1 -1
  102. package/models/create-refund-response-class.ts +1 -1
  103. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  104. package/models/create-tenant-bank-account-response-class.ts +1 -1
  105. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  106. package/models/get-bank-transactions-response-class.ts +1 -1
  107. package/models/get-refund-response-class.ts +1 -1
  108. package/models/get-request-dto.ts +2 -2
  109. package/models/get-tenant-bank-account-response-class.ts +1 -1
  110. package/models/index.ts +0 -34
  111. package/models/inline-response200.ts +1 -1
  112. package/models/inline-response503.ts +1 -1
  113. package/models/link-bank-transaction-request-dto-rest.ts +1 -1
  114. package/models/list-bank-transactions-response-class.ts +1 -1
  115. package/models/list-refunds-response-class.ts +1 -1
  116. package/models/list-tenant-bank-account-response-class.ts +1 -1
  117. package/models/refund-class.ts +1 -1
  118. package/models/tenant-bank-account-response-class.ts +1 -1
  119. package/models/transaction-class.ts +1 -1
  120. package/models/unlink-bank-transaction-request-dto-rest.ts +2 -2
  121. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  122. package/models/validate-pspconfig-request-dto.ts +2 -12
  123. package/package.json +1 -1
  124. package/dist/models/bank-account-class.d.ts +0 -79
  125. package/dist/models/bank-account-class.js +0 -15
  126. package/dist/models/billing-profile-dto.d.ts +0 -38
  127. package/dist/models/billing-profile-dto.js +0 -15
  128. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  129. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  130. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  131. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  132. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  133. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  134. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  135. package/dist/models/complete-payment-setup-response-class.js +0 -15
  136. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  137. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  138. package/dist/models/create-bank-account-request-dto.d.ts +0 -42
  139. package/dist/models/create-bank-account-request-dto.js +0 -15
  140. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  141. package/dist/models/create-payment-method-response-class.js +0 -15
  142. package/dist/models/create-payment-response-class.d.ts +0 -25
  143. package/dist/models/create-payment-response-class.js +0 -15
  144. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  145. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  146. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  147. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  148. package/dist/models/get-bank-account-response-class.d.ts +0 -25
  149. package/dist/models/get-bank-account-response-class.js +0 -15
  150. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  151. package/dist/models/get-payment-method-response-class.js +0 -15
  152. package/dist/models/get-payment-response-class.d.ts +0 -25
  153. package/dist/models/get-payment-response-class.js +0 -15
  154. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  155. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  156. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  157. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  158. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  159. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  160. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  161. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  162. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  163. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  164. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  165. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  166. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  167. package/dist/models/list-bank-accounts-response-class.js +0 -15
  168. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  169. package/dist/models/list-payment-methods-response-class.js +0 -15
  170. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  171. package/dist/models/list-payment-reminders-response-class.js +0 -15
  172. package/dist/models/list-payments-response-class.d.ts +0 -31
  173. package/dist/models/list-payments-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/primary-bank-account-response-class.d.ts +0 -42
  181. package/dist/models/primary-bank-account-response-class.js +0 -15
  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/set-primary-bank-account-request-dto-rest.d.ts +0 -24
  185. package/dist/models/set-primary-bank-account-request-dto-rest.js +0 -15
  186. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  187. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  188. package/dist/models/update-bank-account-request-dto-rest.d.ts +0 -30
  189. package/dist/models/update-bank-account-request-dto-rest.js +0 -15
  190. package/dist/models/update-bank-account-request-dto.d.ts +0 -36
  191. package/dist/models/update-bank-account-request-dto.js +0 -15
  192. package/models/bank-account-class.ts +0 -85
  193. package/models/billing-profile-dto.ts +0 -44
  194. package/models/billing-profile-limited-response-dto.ts +0 -60
  195. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  196. package/models/complete-payment-setup-request-dto.ts +0 -38
  197. package/models/complete-payment-setup-response-class.ts +0 -31
  198. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  199. package/models/create-bank-account-request-dto.ts +0 -48
  200. package/models/create-payment-method-response-class.ts +0 -31
  201. package/models/create-payment-response-class.ts +0 -31
  202. package/models/create-psp-payment-method-request-dto.ts +0 -70
  203. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  204. package/models/get-bank-account-response-class.ts +0 -31
  205. package/models/get-payment-method-response-class.ts +0 -31
  206. package/models/get-payment-response-class.ts +0 -31
  207. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  208. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  209. package/models/initiate-payment-setup-request-dto.ts +0 -50
  210. package/models/initiate-payment-setup-response-class.ts +0 -38
  211. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  212. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  213. package/models/list-bank-accounts-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/payment-class.ts +0 -109
  218. package/models/payment-method-class.ts +0 -72
  219. package/models/payment-reminder-class.ts +0 -122
  220. package/models/primary-bank-account-response-class.ts +0 -48
  221. package/models/sepa-direct-dto.ts +0 -30
  222. package/models/set-primary-bank-account-request-dto-rest.ts +0 -30
  223. package/models/symphony-profile-limited-response-dto.ts +0 -48
  224. package/models/update-bank-account-request-dto-rest.ts +0 -36
  225. package/models/update-bank-account-request-dto.ts +0 -42
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -84,16 +84,18 @@ export const RefundsApiAxiosParamCreator = function (configuration?: Configurati
84
84
  *
85
85
  * @param {string} code
86
86
  * @param {string} code2 Unique identifier for the object.
87
+ * @param {string} expand Fields to expand response by
87
88
  * @param {string} [authorization] Bearer Token
88
- * @param {string} [expand] Fields to expand response by
89
89
  * @param {*} [options] Override http request option.
90
90
  * @throws {RequiredError}
91
91
  */
92
- getRefund: async (code: string, code2: string, authorization?: string, expand?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
92
+ getRefund: async (code: string, code2: string, expand: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
93
93
  // verify required parameter 'code' is not null or undefined
94
94
  assertParamExists('getRefund', 'code', code)
95
95
  // verify required parameter 'code2' is not null or undefined
96
96
  assertParamExists('getRefund', 'code2', code2)
97
+ // verify required parameter 'expand' is not null or undefined
98
+ assertParamExists('getRefund', 'expand', expand)
97
99
  const localVarPath = `/paymentservice/v1/refunds/{code}`
98
100
  .replace(`{${"code"}}`, encodeURIComponent(String(code)));
99
101
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
@@ -236,13 +238,13 @@ export const RefundsApiFp = function(configuration?: Configuration) {
236
238
  *
237
239
  * @param {string} code
238
240
  * @param {string} code2 Unique identifier for the object.
241
+ * @param {string} expand Fields to expand response by
239
242
  * @param {string} [authorization] Bearer Token
240
- * @param {string} [expand] Fields to expand response by
241
243
  * @param {*} [options] Override http request option.
242
244
  * @throws {RequiredError}
243
245
  */
244
- async getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
245
- const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, authorization, expand, options);
246
+ async getRefund(code: string, code2: string, expand: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>> {
247
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getRefund(code, code2, expand, authorization, options);
246
248
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
247
249
  },
248
250
  /**
@@ -286,13 +288,13 @@ export const RefundsApiFactory = function (configuration?: Configuration, basePa
286
288
  *
287
289
  * @param {string} code
288
290
  * @param {string} code2 Unique identifier for the object.
291
+ * @param {string} expand Fields to expand response by
289
292
  * @param {string} [authorization] Bearer Token
290
- * @param {string} [expand] Fields to expand response by
291
293
  * @param {*} [options] Override http request option.
292
294
  * @throws {RequiredError}
293
295
  */
294
- getRefund(code: string, code2: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
295
- return localVarFp.getRefund(code, code2, authorization, expand, options).then((request) => request(axios, basePath));
296
+ getRefund(code: string, code2: string, expand: string, authorization?: string, options?: any): AxiosPromise<GetRefundResponseClass> {
297
+ return localVarFp.getRefund(code, code2, expand, authorization, options).then((request) => request(axios, basePath));
296
298
  },
297
299
  /**
298
300
  *
@@ -355,18 +357,18 @@ export interface RefundsApiGetRefundRequest {
355
357
  readonly code2: string
356
358
 
357
359
  /**
358
- * Bearer Token
360
+ * Fields to expand response by
359
361
  * @type {string}
360
362
  * @memberof RefundsApiGetRefund
361
363
  */
362
- readonly authorization?: string
364
+ readonly expand: string
363
365
 
364
366
  /**
365
- * Fields to expand response by
367
+ * Bearer Token
366
368
  * @type {string}
367
369
  * @memberof RefundsApiGetRefund
368
370
  */
369
- readonly expand?: string
371
+ readonly authorization?: string
370
372
  }
371
373
 
372
374
  /**
@@ -458,7 +460,7 @@ export class RefundsApi extends BaseAPI {
458
460
  * @memberof RefundsApi
459
461
  */
460
462
  public getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig) {
461
- return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.authorization, requestParameters.expand, options).then((request) => request(this.axios, this.basePath));
463
+ return RefundsApiFp(this.configuration).getRefund(requestParameters.code, requestParameters.code2, requestParameters.expand, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
462
464
  }
463
465
 
464
466
  /**
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -85,7 +85,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
85
85
  },
86
86
  /**
87
87
  * Deletes a tenant bank account by code
88
- * @summary Deletes a tenant bank account
88
+ * @summary Delete the tenant bank account
89
89
  * @param {string} code Unique identifier for the object.
90
90
  * @param {string} [authorization] Bearer Token
91
91
  * @param {*} [options] Override http request option.
@@ -129,7 +129,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
129
129
  };
130
130
  },
131
131
  /**
132
- * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
132
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
133
133
  * @summary Retrieve the Tenant Bank Account
134
134
  * @param {string} code Unique identifier for the object.
135
135
  * @param {string} [authorization] Bearer Token
@@ -174,7 +174,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
174
174
  };
175
175
  },
176
176
  /**
177
- * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
177
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
178
178
  * @summary List Tenant Bank Accounts
179
179
  * @param {string} [authorization] Bearer Token
180
180
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -182,12 +182,12 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
182
182
  * @param {any} [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: id, code, iban, bankName, accountName&lt;/i&gt;
183
183
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
184
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 {string} [expand] No expand is available for this tenant bank accounts
185
+ * @param {number} [expand] No expand is available for this tenant bank accounts
186
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.
187
187
  * @param {*} [options] Override http request option.
188
188
  * @throws {RequiredError}
189
189
  */
190
- listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
190
+ listTenantBankAccounts: async (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
191
191
  const localVarPath = `/paymentservice/v1/tenant/bank-accounts`;
192
192
  // use dummy base URL string because the URL constructor only accepts absolute URLs.
193
193
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -251,7 +251,7 @@ export const TenantBankAccountApiAxiosParamCreator = function (configuration?: C
251
251
  },
252
252
  /**
253
253
  * Update a tenant bank account by code
254
- * @summary Update a tenant bank account
254
+ * @summary Update the tenant bank account
255
255
  * @param {string} code Unique identifier for the object.
256
256
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
257
257
  * @param {string} [authorization] Bearer Token
@@ -324,7 +324,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
324
324
  },
325
325
  /**
326
326
  * Deletes a tenant bank account by code
327
- * @summary Deletes a tenant bank account
327
+ * @summary Delete the tenant bank account
328
328
  * @param {string} code Unique identifier for the object.
329
329
  * @param {string} [authorization] Bearer Token
330
330
  * @param {*} [options] Override http request option.
@@ -335,7 +335,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
335
335
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
336
336
  },
337
337
  /**
338
- * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
338
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
339
339
  * @summary Retrieve the Tenant Bank Account
340
340
  * @param {string} code Unique identifier for the object.
341
341
  * @param {string} [authorization] Bearer Token
@@ -347,7 +347,7 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
347
347
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
348
348
  },
349
349
  /**
350
- * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
350
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
351
351
  * @summary List Tenant Bank Accounts
352
352
  * @param {string} [authorization] Bearer Token
353
353
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -355,18 +355,18 @@ export const TenantBankAccountApiFp = function(configuration?: Configuration) {
355
355
  * @param {any} [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: id, code, iban, bankName, accountName&lt;/i&gt;
356
356
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
357
357
  * @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.
358
- * @param {string} [expand] No expand is available for this tenant bank accounts
358
+ * @param {number} [expand] No expand is available for this tenant bank accounts
359
359
  * @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.
360
360
  * @param {*} [options] Override http request option.
361
361
  * @throws {RequiredError}
362
362
  */
363
- async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
363
+ async listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListTenantBankAccountResponseClass>> {
364
364
  const localVarAxiosArgs = await localVarAxiosParamCreator.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options);
365
365
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
366
366
  },
367
367
  /**
368
368
  * Update a tenant bank account by code
369
- * @summary Update a tenant bank account
369
+ * @summary Update the tenant bank account
370
370
  * @param {string} code Unique identifier for the object.
371
371
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
372
372
  * @param {string} [authorization] Bearer Token
@@ -400,7 +400,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
400
400
  },
401
401
  /**
402
402
  * Deletes a tenant bank account by code
403
- * @summary Deletes a tenant bank account
403
+ * @summary Delete the tenant bank account
404
404
  * @param {string} code Unique identifier for the object.
405
405
  * @param {string} [authorization] Bearer Token
406
406
  * @param {*} [options] Override http request option.
@@ -410,7 +410,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
410
410
  return localVarFp.deleteTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
411
411
  },
412
412
  /**
413
- * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
413
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
414
414
  * @summary Retrieve the Tenant Bank Account
415
415
  * @param {string} code Unique identifier for the object.
416
416
  * @param {string} [authorization] Bearer Token
@@ -421,7 +421,7 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
421
421
  return localVarFp.getTenantBankAccount(code, authorization, options).then((request) => request(axios, basePath));
422
422
  },
423
423
  /**
424
- * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
424
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
425
425
  * @summary List Tenant Bank Accounts
426
426
  * @param {string} [authorization] Bearer Token
427
427
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
@@ -429,17 +429,17 @@ export const TenantBankAccountApiFactory = function (configuration?: Configurati
429
429
  * @param {any} [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: id, code, iban, bankName, accountName&lt;/i&gt;
430
430
  * @param {any} [search] To search the list by any field, pass search&#x3D;xxx to fetch the result.
431
431
  * @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.
432
- * @param {string} [expand] No expand is available for this tenant bank accounts
432
+ * @param {number} [expand] No expand is available for this tenant bank accounts
433
433
  * @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.
434
434
  * @param {*} [options] Override http request option.
435
435
  * @throws {RequiredError}
436
436
  */
437
- listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
437
+ listTenantBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: number, filters?: any, options?: any): AxiosPromise<ListTenantBankAccountResponseClass> {
438
438
  return localVarFp.listTenantBankAccounts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then((request) => request(axios, basePath));
439
439
  },
440
440
  /**
441
441
  * Update a tenant bank account by code
442
- * @summary Update a tenant bank account
442
+ * @summary Update the tenant bank account
443
443
  * @param {string} code Unique identifier for the object.
444
444
  * @param {UpdateTenantBankAccountRestRequestDto} updateTenantBankAccountRestRequestDto
445
445
  * @param {string} [authorization] Bearer Token
@@ -565,10 +565,10 @@ export interface TenantBankAccountApiListTenantBankAccountsRequest {
565
565
 
566
566
  /**
567
567
  * No expand is available for this tenant bank accounts
568
- * @type {string}
568
+ * @type {number}
569
569
  * @memberof TenantBankAccountApiListTenantBankAccounts
570
570
  */
571
- readonly expand?: string
571
+ readonly expand?: number
572
572
 
573
573
  /**
574
574
  * 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.
@@ -627,7 +627,7 @@ export class TenantBankAccountApi extends BaseAPI {
627
627
 
628
628
  /**
629
629
  * Deletes a tenant bank account by code
630
- * @summary Deletes a tenant bank account
630
+ * @summary Delete the tenant bank account
631
631
  * @param {TenantBankAccountApiDeleteTenantBankAccountRequest} requestParameters Request parameters.
632
632
  * @param {*} [options] Override http request option.
633
633
  * @throws {RequiredError}
@@ -638,7 +638,7 @@ export class TenantBankAccountApi extends BaseAPI {
638
638
  }
639
639
 
640
640
  /**
641
- * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
641
+ * Retrieves the details of the Tenant Bank Account that was previously created. Supply the unique Tenant Bank Account code that was returned when you created it and Emil Api will return the corresponding Tenant Bank Account information.
642
642
  * @summary Retrieve the Tenant Bank Account
643
643
  * @param {TenantBankAccountApiGetTenantBankAccountRequest} requestParameters Request parameters.
644
644
  * @param {*} [options] Override http request option.
@@ -650,7 +650,7 @@ export class TenantBankAccountApi extends BaseAPI {
650
650
  }
651
651
 
652
652
  /**
653
- * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
653
+ * Returns a list of Tenant Bank Accounts you have previously created. The Tenant Bank Accounts are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
654
654
  * @summary List Tenant Bank Accounts
655
655
  * @param {TenantBankAccountApiListTenantBankAccountsRequest} requestParameters Request parameters.
656
656
  * @param {*} [options] Override http request option.
@@ -663,7 +663,7 @@ export class TenantBankAccountApi extends BaseAPI {
663
663
 
664
664
  /**
665
665
  * Update a tenant bank account by code
666
- * @summary Update a tenant bank account
666
+ * @summary Update the tenant bank account
667
667
  * @param {TenantBankAccountApiUpdateTenantBankAccountRequest} requestParameters Request parameters.
668
668
  * @param {*} [options] Override http request option.
669
669
  * @throws {RequiredError}
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
package/api.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
package/base.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
package/common.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de
@@ -140,7 +140,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
140
140
  /* eslint-disable */
141
141
  /**
142
142
  * Emil Payment Service
143
- * 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.
143
+ * 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.
144
144
  *
145
145
  * The version of the OpenAPI document: 1.0
146
146
  * Contact: kontakt@emil.de
package/configuration.ts CHANGED
@@ -2,7 +2,7 @@
2
2
  /* eslint-disable */
3
3
  /**
4
4
  * Emil Payment Service
5
- * 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.
5
+ * 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
6
  *
7
7
  * The version of the OpenAPI document: 1.0
8
8
  * Contact: kontakt@emil.de