@emilgroup/payment-sdk 1.0.0 → 1.4.1-beta.0

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 (178) hide show
  1. package/.openapi-generator/FILES +15 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +21 -25
  4. package/api/bank-transaction-api.ts +657 -0
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +42 -46
  7. package/api/payment-reminders-api.ts +17 -19
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +30 -32
  10. package/api/refunds-api.ts +462 -0
  11. package/api/tenant-bank-account-api.ts +651 -0
  12. package/api/webhooks-api.ts +1 -1
  13. package/api.ts +7 -3
  14. package/base.ts +2 -1
  15. package/common.ts +2 -2
  16. package/configuration.ts +1 -1
  17. package/dist/api/bank-accounts-api.d.ts +17 -19
  18. package/dist/api/bank-accounts-api.js +16 -16
  19. package/dist/api/bank-transaction-api.d.ts +371 -0
  20. package/dist/api/bank-transaction-api.js +632 -0
  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 +32 -36
  24. package/dist/api/payment-methods-api.js +32 -28
  25. package/dist/api/payment-reminders-api.d.ts +21 -22
  26. package/dist/api/payment-reminders-api.js +8 -8
  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 +26 -29
  30. package/dist/api/payments-api.js +20 -16
  31. package/dist/api/refunds-api.d.ts +260 -0
  32. package/dist/api/refunds-api.js +443 -0
  33. package/dist/api/tenant-bank-account-api.d.ts +361 -0
  34. package/dist/api/tenant-bank-account-api.js +616 -0
  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 +4 -2
  38. package/dist/api.js +4 -2
  39. package/dist/base.d.ts +1 -1
  40. package/dist/base.js +2 -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 +122 -0
  48. package/dist/models/{bank-account-class.js → 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 +3 -3
  52. package/dist/models/create-payment-request-dto.js +1 -1
  53. package/dist/models/{sepa-direct-dto.d.ts → create-refund-request-dto.d.ts} +6 -6
  54. package/dist/models/{complete-braintree-payment-setup-request-dto.js → create-refund-request-dto.js} +1 -1
  55. package/dist/models/{validate-pspconfig-response-class.d.ts → create-refund-response-class.d.ts} +8 -7
  56. package/dist/models/{billing-profile-dto.js → create-refund-response-class.js} +1 -1
  57. package/dist/models/{billing-profile-limited-response-dto.d.ts → create-tenant-bank-account-request-dto.d.ts} +15 -27
  58. package/dist/models/{billing-profile-limited-response-dto.js → create-tenant-bank-account-request-dto.js} +1 -1
  59. package/dist/models/deactivate-payment-reminder-request-dto.d.ts +1 -1
  60. package/dist/models/deactivate-payment-reminder-request-dto.js +1 -1
  61. package/dist/models/{get-payment-method-response-class.d.ts → get-bank-transactions-response-class.d.ts} +8 -8
  62. package/dist/models/get-bank-transactions-response-class.js +15 -0
  63. package/dist/models/{get-payment-response-class.d.ts → get-refund-response-class.d.ts} +8 -8
  64. package/dist/models/get-refund-response-class.js +15 -0
  65. package/dist/models/get-request-dto.d.ts +2 -2
  66. package/dist/models/get-request-dto.js +1 -1
  67. package/dist/models/{create-bank-account-request-dto.d.ts → get-tenant-bank-account-response-class.d.ts} +8 -13
  68. package/dist/models/get-tenant-bank-account-response-class.js +15 -0
  69. package/dist/models/index.d.ts +12 -29
  70. package/dist/models/index.js +12 -29
  71. package/dist/models/inline-response200.d.ts +7 -7
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +7 -7
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/{list-payment-methods-response-class.d.ts → list-bank-transactions-response-class.d.ts} +9 -9
  76. package/dist/models/list-bank-transactions-response-class.js +15 -0
  77. package/dist/models/{list-payments-response-class.d.ts → list-refunds-response-class.d.ts} +9 -9
  78. package/dist/models/list-refunds-response-class.js +15 -0
  79. package/dist/models/refund-class.d.ts +104 -0
  80. package/dist/models/refund-class.js +28 -0
  81. package/dist/models/{payment-method-class.d.ts → tenant-bank-account-response-class.d.ts} +25 -19
  82. package/dist/models/tenant-bank-account-response-class.js +15 -0
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/{symphony-profile-limited-response-dto.d.ts → update-tenant-bank-account-rest-request-dto.d.ts} +12 -18
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +15 -0
  87. package/dist/models/validate-pspconfig-request-dto.d.ts +2 -9
  88. package/dist/models/validate-pspconfig-request-dto.js +1 -8
  89. package/git_push.sh +1 -1
  90. package/index.ts +1 -1
  91. package/models/bank-transaction-response-class.ts +128 -0
  92. package/models/create-payment-reminder-request-dto.ts +1 -1
  93. package/models/create-payment-request-dto.ts +3 -3
  94. package/models/{sepa-direct-dto.ts → create-refund-request-dto.ts} +6 -6
  95. package/models/{validate-pspconfig-response-class.ts → create-refund-response-class.ts} +8 -7
  96. package/models/{billing-profile-limited-response-dto.ts → create-tenant-bank-account-request-dto.ts} +15 -27
  97. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  98. package/models/{get-payment-method-response-class.ts → get-bank-transactions-response-class.ts} +8 -8
  99. package/models/{get-payment-response-class.ts → get-refund-response-class.ts} +8 -8
  100. package/models/get-request-dto.ts +2 -2
  101. package/models/{create-bank-account-request-dto.ts → get-tenant-bank-account-response-class.ts} +8 -13
  102. package/models/index.ts +12 -29
  103. package/models/inline-response200.ts +7 -7
  104. package/models/inline-response503.ts +7 -7
  105. package/models/{list-payment-methods-response-class.ts → list-bank-transactions-response-class.ts} +9 -9
  106. package/models/{list-payments-response-class.ts → list-refunds-response-class.ts} +9 -9
  107. package/models/refund-class.ts +114 -0
  108. package/models/{payment-method-class.ts → tenant-bank-account-response-class.ts} +25 -19
  109. package/models/transaction-class.ts +1 -1
  110. package/models/{symphony-profile-limited-response-dto.ts → update-tenant-bank-account-rest-request-dto.ts} +12 -18
  111. package/models/validate-pspconfig-request-dto.ts +2 -12
  112. package/package.json +1 -2
  113. package/api/payment-service-providers-api.ts +0 -161
  114. package/dist/api/payment-service-providers-api.d.ts +0 -93
  115. package/dist/api/payment-service-providers-api.js +0 -220
  116. package/dist/models/bank-account-class.d.ts +0 -54
  117. package/dist/models/billing-profile-dto.d.ts +0 -38
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  120. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  121. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  122. package/dist/models/complete-payment-setup-response-class.js +0 -15
  123. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  124. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  125. package/dist/models/create-bank-account-request-dto.js +0 -15
  126. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  127. package/dist/models/create-payment-method-response-class.js +0 -15
  128. package/dist/models/create-payment-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-response-class.js +0 -15
  130. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  131. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  132. package/dist/models/get-payment-method-response-class.js +0 -15
  133. package/dist/models/get-payment-response-class.js +0 -15
  134. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  135. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  136. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  137. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  138. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  139. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  140. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  141. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  142. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  143. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  144. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  145. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  146. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  147. package/dist/models/list-bank-accounts-response-class.js +0 -15
  148. package/dist/models/list-payment-methods-response-class.js +0 -15
  149. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  150. package/dist/models/list-payment-reminders-response-class.js +0 -15
  151. package/dist/models/list-payments-response-class.js +0 -15
  152. package/dist/models/payment-class.d.ts +0 -103
  153. package/dist/models/payment-class.js +0 -15
  154. package/dist/models/payment-method-class.js +0 -15
  155. package/dist/models/payment-reminder-class.d.ts +0 -112
  156. package/dist/models/payment-reminder-class.js +0 -36
  157. package/dist/models/sepa-direct-dto.js +0 -15
  158. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  159. package/dist/models/validate-pspconfig-response-class.js +0 -15
  160. package/models/bank-account-class.ts +0 -60
  161. package/models/billing-profile-dto.ts +0 -44
  162. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  163. package/models/complete-payment-setup-request-dto.ts +0 -38
  164. package/models/complete-payment-setup-response-class.ts +0 -31
  165. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  166. package/models/create-payment-method-response-class.ts +0 -31
  167. package/models/create-payment-response-class.ts +0 -31
  168. package/models/create-psp-payment-method-request-dto.ts +0 -70
  169. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  170. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  171. package/models/initiate-payment-setup-request-dto.ts +0 -50
  172. package/models/initiate-payment-setup-response-class.ts +0 -38
  173. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  174. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  175. package/models/list-bank-accounts-response-class.ts +0 -37
  176. package/models/list-payment-reminders-response-class.ts +0 -37
  177. package/models/payment-class.ts +0 -109
  178. package/models/payment-reminder-class.ts +0 -122
package/api.ts CHANGED
@@ -5,7 +5,7 @@
5
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
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -21,21 +21,25 @@ import { DUMMY_BASE_URL, assertParamExists, setApiKeyToObject, setBasicAuthToObj
21
21
  // @ts-ignore
22
22
  import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } from './base';
23
23
  import { BankAccountsApi } from './api';
24
+ import { BankTransactionApi } from './api';
24
25
  import { DefaultApi } from './api';
25
26
  import { PaymentMethodsApi } from './api';
26
27
  import { PaymentRemindersApi } from './api';
27
- import { PaymentServiceProvidersApi } from './api';
28
28
  import { PaymentSetupApi } from './api';
29
29
  import { PaymentsApi } from './api';
30
+ import { RefundsApi } from './api';
31
+ import { TenantBankAccountApi } from './api';
30
32
  import { WebhooksApi } from './api';
31
33
 
32
34
 
33
35
  export * from './api/bank-accounts-api';
36
+ export * from './api/bank-transaction-api';
34
37
  export * from './api/default-api';
35
38
  export * from './api/payment-methods-api';
36
39
  export * from './api/payment-reminders-api';
37
- export * from './api/payment-service-providers-api';
38
40
  export * from './api/payment-setup-api';
39
41
  export * from './api/payments-api';
42
+ export * from './api/refunds-api';
43
+ export * from './api/tenant-bank-account-api';
40
44
  export * from './api/webhooks-api';
41
45
 
package/base.ts CHANGED
@@ -5,7 +5,7 @@
5
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
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -87,6 +87,7 @@ export class BaseAPI {
87
87
  if (configuration) {
88
88
  this.configuration = configuration;
89
89
  this.basePath = configuration.basePath || this.basePath;
90
+ this.configuration.accessToken = this.tokenData.accessToken ? `Bearer ${this.tokenData.accessToken}` : '';
90
91
  } else {
91
92
  const { accessToken, username } = this.tokenData;
92
93
 
package/common.ts CHANGED
@@ -5,7 +5,7 @@
5
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
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -143,7 +143,7 @@ export const createRequestFunction = function (axiosArgs: RequestArgs, globalAxi
143
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
- * Contact: kontakt@emil.de
146
+ * Contact: z
147
147
  *
148
148
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
149
149
  * https://openapi-generator.tech
package/configuration.ts CHANGED
@@ -5,7 +5,7 @@
5
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
- * Contact: kontakt@emil.de
8
+ * Contact: z
9
9
  *
10
10
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
11
  * https://openapi-generator.tech
@@ -3,7 +3,7 @@
3
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
- * Contact: kontakt@emil.de
6
+ * Contact: z
7
7
  *
8
8
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
9
  * https://openapi-generator.tech
@@ -12,8 +12,6 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
- import { CreateBankAccountRequestDto } from '../models';
16
- import { ListBankAccountsResponseClass } from '../models';
17
15
  /**
18
16
  * BankAccountsApi - axios parameter creator
19
17
  * @export
@@ -22,17 +20,17 @@ export declare const BankAccountsApiAxiosParamCreator: (configuration?: Configur
22
20
  /**
23
21
  * Creates a bank account for a specified account.
24
22
  * @summary Create a bank account
25
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
23
+ * @param {object} body
26
24
  * @param {string} [authorization] Bearer Token
27
25
  * @param {*} [options] Override http request option.
28
26
  * @throws {RequiredError}
29
27
  */
30
- createBankAccount: (createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
28
+ createBankAccount: (body: object, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
31
29
  /**
32
30
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
33
31
  * @summary List bank accounts
34
32
  * @param {string} [authorization] Bearer Token
35
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
33
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
36
34
  * @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.
37
35
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
38
36
  * @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.
@@ -51,17 +49,17 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
51
49
  /**
52
50
  * Creates a bank account for a specified account.
53
51
  * @summary Create a bank account
54
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
52
+ * @param {object} body
55
53
  * @param {string} [authorization] Bearer Token
56
54
  * @param {*} [options] Override http request option.
57
55
  * @throws {RequiredError}
58
56
  */
59
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>>;
57
+ createBankAccount(body: object, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
60
58
  /**
61
59
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
62
60
  * @summary List bank accounts
63
61
  * @param {string} [authorization] Bearer Token
64
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
62
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
65
63
  * @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.
66
64
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
67
65
  * @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.
@@ -70,7 +68,7 @@ export declare const BankAccountsApiFp: (configuration?: Configuration) => {
70
68
  * @param {*} [options] Override http request option.
71
69
  * @throws {RequiredError}
72
70
  */
73
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankAccountsResponseClass>>;
71
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
74
72
  };
75
73
  /**
76
74
  * BankAccountsApi - factory interface
@@ -80,17 +78,17 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
80
78
  /**
81
79
  * Creates a bank account for a specified account.
82
80
  * @summary Create a bank account
83
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
81
+ * @param {object} body
84
82
  * @param {string} [authorization] Bearer Token
85
83
  * @param {*} [options] Override http request option.
86
84
  * @throws {RequiredError}
87
85
  */
88
- createBankAccount(createBankAccountRequestDto: CreateBankAccountRequestDto, authorization?: string, options?: any): AxiosPromise<object>;
86
+ createBankAccount(body: object, authorization?: string, options?: any): AxiosPromise<void>;
89
87
  /**
90
88
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
91
89
  * @summary List bank accounts
92
90
  * @param {string} [authorization] Bearer Token
93
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
91
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
94
92
  * @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.
95
93
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
96
94
  * @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.
@@ -99,7 +97,7 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
99
97
  * @param {*} [options] Override http request option.
100
98
  * @throws {RequiredError}
101
99
  */
102
- listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<ListBankAccountsResponseClass>;
100
+ listBankAccounts(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: any, options?: any): AxiosPromise<void>;
103
101
  };
104
102
  /**
105
103
  * Request parameters for createBankAccount operation in BankAccountsApi.
@@ -109,10 +107,10 @@ export declare const BankAccountsApiFactory: (configuration?: Configuration, bas
109
107
  export interface BankAccountsApiCreateBankAccountRequest {
110
108
  /**
111
109
  *
112
- * @type {CreateBankAccountRequestDto}
110
+ * @type {object}
113
111
  * @memberof BankAccountsApiCreateBankAccount
114
112
  */
115
- readonly createBankAccountRequestDto: CreateBankAccountRequestDto;
113
+ readonly body: object;
116
114
  /**
117
115
  * Bearer Token
118
116
  * @type {string}
@@ -133,7 +131,7 @@ export interface BankAccountsApiListBankAccountsRequest {
133
131
  */
134
132
  readonly authorization?: string;
135
133
  /**
136
- * A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
134
+ * A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
137
135
  * @type {any}
138
136
  * @memberof BankAccountsApiListBankAccounts
139
137
  */
@@ -184,7 +182,7 @@ export declare class BankAccountsApi extends BaseAPI {
184
182
  * @throws {RequiredError}
185
183
  * @memberof BankAccountsApi
186
184
  */
187
- createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<object, any>>;
185
+ createBankAccount(requestParameters: BankAccountsApiCreateBankAccountRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
188
186
  /**
189
187
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
190
188
  * @summary List bank accounts
@@ -193,5 +191,5 @@ export declare class BankAccountsApi extends BaseAPI {
193
191
  * @throws {RequiredError}
194
192
  * @memberof BankAccountsApi
195
193
  */
196
- listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankAccountsResponseClass, any>>;
194
+ listBankAccounts(requestParameters?: BankAccountsApiListBankAccountsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
197
195
  }
@@ -6,7 +6,7 @@
6
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
- * Contact: kontakt@emil.de
9
+ * Contact: z
10
10
  *
11
11
  * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
12
  * https://openapi-generator.tech
@@ -95,20 +95,20 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
95
95
  /**
96
96
  * Creates a bank account for a specified account.
97
97
  * @summary Create a bank account
98
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
98
+ * @param {object} body
99
99
  * @param {string} [authorization] Bearer Token
100
100
  * @param {*} [options] Override http request option.
101
101
  * @throws {RequiredError}
102
102
  */
103
- createBankAccount: function (createBankAccountRequestDto, authorization, options) {
103
+ createBankAccount: function (body, authorization, options) {
104
104
  if (options === void 0) { options = {}; }
105
105
  return __awaiter(_this, void 0, void 0, function () {
106
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
107
107
  return __generator(this, function (_a) {
108
108
  switch (_a.label) {
109
109
  case 0:
110
- // verify required parameter 'createBankAccountRequestDto' is not null or undefined
111
- (0, common_1.assertParamExists)('createBankAccount', 'createBankAccountRequestDto', createBankAccountRequestDto);
110
+ // verify required parameter 'body' is not null or undefined
111
+ (0, common_1.assertParamExists)('createBankAccount', 'body', body);
112
112
  localVarPath = "/paymentservice/v1/bank-accounts";
113
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
114
114
  if (configuration) {
@@ -132,7 +132,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
132
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
133
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
134
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
135
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createBankAccountRequestDto, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
136
136
  return [2 /*return*/, {
137
137
  url: (0, common_1.toPathString)(localVarUrlObj),
138
138
  options: localVarRequestOptions,
@@ -145,7 +145,7 @@ var BankAccountsApiAxiosParamCreator = function (configuration) {
145
145
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
146
146
  * @summary List bank accounts
147
147
  * @param {string} [authorization] Bearer Token
148
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
148
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
149
149
  * @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.
150
150
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
151
151
  * @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.
@@ -222,17 +222,17 @@ var BankAccountsApiFp = function (configuration) {
222
222
  /**
223
223
  * Creates a bank account for a specified account.
224
224
  * @summary Create a bank account
225
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
225
+ * @param {object} body
226
226
  * @param {string} [authorization] Bearer Token
227
227
  * @param {*} [options] Override http request option.
228
228
  * @throws {RequiredError}
229
229
  */
230
- createBankAccount: function (createBankAccountRequestDto, authorization, options) {
230
+ createBankAccount: function (body, authorization, options) {
231
231
  return __awaiter(this, void 0, void 0, function () {
232
232
  var localVarAxiosArgs;
233
233
  return __generator(this, function (_a) {
234
234
  switch (_a.label) {
235
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(createBankAccountRequestDto, authorization, options)];
235
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createBankAccount(body, authorization, options)];
236
236
  case 1:
237
237
  localVarAxiosArgs = _a.sent();
238
238
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -244,7 +244,7 @@ var BankAccountsApiFp = function (configuration) {
244
244
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
245
245
  * @summary List bank accounts
246
246
  * @param {string} [authorization] Bearer Token
247
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
247
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
248
248
  * @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.
249
249
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
250
250
  * @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.
@@ -279,19 +279,19 @@ var BankAccountsApiFactory = function (configuration, basePath, axios) {
279
279
  /**
280
280
  * Creates a bank account for a specified account.
281
281
  * @summary Create a bank account
282
- * @param {CreateBankAccountRequestDto} createBankAccountRequestDto
282
+ * @param {object} body
283
283
  * @param {string} [authorization] Bearer Token
284
284
  * @param {*} [options] Override http request option.
285
285
  * @throws {RequiredError}
286
286
  */
287
- createBankAccount: function (createBankAccountRequestDto, authorization, options) {
288
- return localVarFp.createBankAccount(createBankAccountRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
287
+ createBankAccount: function (body, authorization, options) {
288
+ return localVarFp.createBankAccount(body, authorization, options).then(function (request) { return request(axios, basePath); });
289
289
  },
290
290
  /**
291
291
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.
292
292
  * @summary List bank accounts
293
293
  * @param {string} [authorization] Bearer Token
294
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
294
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
295
295
  * @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.
296
296
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
297
297
  * @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.
@@ -327,7 +327,7 @@ var BankAccountsApi = /** @class */ (function (_super) {
327
327
  */
328
328
  BankAccountsApi.prototype.createBankAccount = function (requestParameters, options) {
329
329
  var _this = this;
330
- return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.createBankAccountRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
330
+ return (0, exports.BankAccountsApiFp)(this.configuration).createBankAccount(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
331
331
  };
332
332
  /**
333
333
  * Returns a list of bank accounts you’ve previously created. The bank accounts are returned in sorted order, with the oldest payment appearing first. For more information about pagination, read the Pagination documentation.