@emilgroup/payment-sdk-node 1.12.1 → 1.13.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 (201) hide show
  1. package/.openapi-generator/FILES +0 -30
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +17 -21
  4. package/api/bank-transaction-api.ts +134 -42
  5. package/api/default-api.ts +1 -1
  6. package/api/payment-methods-api.ts +38 -42
  7. package/api/payment-reminders-api.ts +9 -13
  8. package/api/payment-setup-api.ts +29 -37
  9. package/api/payments-api.ts +26 -28
  10. package/api/refunds-api.ts +16 -14
  11. package/api/tenant-bank-account-api.ts +1 -1
  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 +13 -15
  18. package/dist/api/bank-accounts-api.js +13 -13
  19. package/dist/api/bank-transaction-api.d.ts +86 -33
  20. package/dist/api/bank-transaction-api.js +122 -29
  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 +28 -32
  24. package/dist/api/payment-methods-api.js +29 -25
  25. package/dist/api/payment-reminders-api.d.ts +13 -15
  26. package/dist/api/payment-reminders-api.js +1 -1
  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 +22 -25
  30. package/dist/api/payments-api.js +17 -13
  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 +1 -1
  34. package/dist/api/tenant-bank-account-api.js +1 -1
  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/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-bank-transactions-response-class.d.ts +1 -1
  62. package/dist/models/get-bank-transactions-response-class.js +1 -1
  63. package/dist/models/get-refund-response-class.d.ts +1 -1
  64. package/dist/models/get-refund-response-class.js +1 -1
  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/get-tenant-bank-account-response-class.d.ts +1 -1
  68. package/dist/models/get-tenant-bank-account-response-class.js +1 -1
  69. package/dist/models/index.d.ts +0 -30
  70. package/dist/models/index.js +0 -30
  71. package/dist/models/inline-response200.d.ts +1 -1
  72. package/dist/models/inline-response200.js +1 -1
  73. package/dist/models/inline-response503.d.ts +1 -1
  74. package/dist/models/inline-response503.js +1 -1
  75. package/dist/models/list-bank-transactions-response-class.d.ts +1 -1
  76. package/dist/models/list-bank-transactions-response-class.js +1 -1
  77. package/dist/models/list-refunds-response-class.d.ts +1 -1
  78. package/dist/models/list-refunds-response-class.js +1 -1
  79. package/dist/models/refund-class.d.ts +1 -1
  80. package/dist/models/refund-class.js +1 -1
  81. package/dist/models/tenant-bank-account-response-class.d.ts +1 -1
  82. package/dist/models/tenant-bank-account-response-class.js +1 -1
  83. package/dist/models/transaction-class.d.ts +1 -1
  84. package/dist/models/transaction-class.js +1 -1
  85. package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +1 -1
  86. package/dist/models/update-tenant-bank-account-rest-request-dto.js +1 -1
  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/index.ts +1 -1
  90. package/models/bank-transaction-response-class.ts +1 -1
  91. package/models/create-payment-reminder-request-dto.ts +1 -1
  92. package/models/create-payment-request-dto.ts +4 -4
  93. package/models/create-refund-request-dto.ts +1 -1
  94. package/models/create-refund-response-class.ts +1 -1
  95. package/models/create-tenant-bank-account-request-dto.ts +1 -1
  96. package/models/deactivate-payment-reminder-request-dto.ts +1 -1
  97. package/models/get-bank-transactions-response-class.ts +1 -1
  98. package/models/get-refund-response-class.ts +1 -1
  99. package/models/get-request-dto.ts +2 -2
  100. package/models/get-tenant-bank-account-response-class.ts +1 -1
  101. package/models/index.ts +0 -30
  102. package/models/inline-response200.ts +1 -1
  103. package/models/inline-response503.ts +1 -1
  104. package/models/list-bank-transactions-response-class.ts +1 -1
  105. package/models/list-refunds-response-class.ts +1 -1
  106. package/models/refund-class.ts +1 -1
  107. package/models/tenant-bank-account-response-class.ts +1 -1
  108. package/models/transaction-class.ts +1 -1
  109. package/models/update-tenant-bank-account-rest-request-dto.ts +1 -1
  110. package/models/validate-pspconfig-request-dto.ts +2 -12
  111. package/package.json +1 -1
  112. package/dist/models/bank-account-class.d.ts +0 -54
  113. package/dist/models/bank-account-class.js +0 -15
  114. package/dist/models/billing-profile-dto.d.ts +0 -38
  115. package/dist/models/billing-profile-dto.js +0 -15
  116. package/dist/models/billing-profile-limited-response-dto.d.ts +0 -54
  117. package/dist/models/billing-profile-limited-response-dto.js +0 -15
  118. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +0 -48
  119. package/dist/models/complete-braintree-payment-setup-request-dto.js +0 -15
  120. package/dist/models/complete-payment-setup-request-dto.d.ts +0 -32
  121. package/dist/models/complete-payment-setup-request-dto.js +0 -15
  122. package/dist/models/complete-payment-setup-response-class.d.ts +0 -25
  123. package/dist/models/complete-payment-setup-response-class.js +0 -15
  124. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +0 -60
  125. package/dist/models/complete-stripe-payment-setup-request-dto.js +0 -15
  126. package/dist/models/create-bank-account-request-dto.d.ts +0 -30
  127. package/dist/models/create-bank-account-request-dto.js +0 -15
  128. package/dist/models/create-payment-method-response-class.d.ts +0 -25
  129. package/dist/models/create-payment-method-response-class.js +0 -15
  130. package/dist/models/create-payment-response-class.d.ts +0 -25
  131. package/dist/models/create-payment-response-class.js +0 -15
  132. package/dist/models/create-psp-payment-method-request-dto.d.ts +0 -61
  133. package/dist/models/create-psp-payment-method-request-dto.js +0 -32
  134. package/dist/models/deactivate-payment-reminder-response-class.d.ts +0 -25
  135. package/dist/models/deactivate-payment-reminder-response-class.js +0 -15
  136. package/dist/models/get-payment-method-response-class.d.ts +0 -25
  137. package/dist/models/get-payment-method-response-class.js +0 -15
  138. package/dist/models/get-payment-response-class.d.ts +0 -25
  139. package/dist/models/get-payment-response-class.js +0 -15
  140. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +0 -30
  141. package/dist/models/initiate-braintree-payment-setup-request-dto.js +0 -15
  142. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +0 -24
  143. package/dist/models/initiate-braintree-payment-setup-response-class.js +0 -15
  144. package/dist/models/initiate-payment-setup-request-dto.d.ts +0 -44
  145. package/dist/models/initiate-payment-setup-request-dto.js +0 -15
  146. package/dist/models/initiate-payment-setup-response-class.d.ts +0 -32
  147. package/dist/models/initiate-payment-setup-response-class.js +0 -15
  148. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +0 -30
  149. package/dist/models/initiate-stripe-payment-setup-request-dto.js +0 -15
  150. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +0 -30
  151. package/dist/models/initiate-stripe-payment-setup-response-class.js +0 -15
  152. package/dist/models/link-bank-transaction-request-dto.d.ts +0 -30
  153. package/dist/models/link-bank-transaction-request-dto.js +0 -15
  154. package/dist/models/list-bank-accounts-response-class.d.ts +0 -31
  155. package/dist/models/list-bank-accounts-response-class.js +0 -15
  156. package/dist/models/list-payment-methods-response-class.d.ts +0 -31
  157. package/dist/models/list-payment-methods-response-class.js +0 -15
  158. package/dist/models/list-payment-reminders-response-class.d.ts +0 -31
  159. package/dist/models/list-payment-reminders-response-class.js +0 -15
  160. package/dist/models/list-payments-response-class.d.ts +0 -31
  161. package/dist/models/list-payments-response-class.js +0 -15
  162. package/dist/models/payment-class.d.ts +0 -103
  163. package/dist/models/payment-class.js +0 -15
  164. package/dist/models/payment-method-class.d.ts +0 -66
  165. package/dist/models/payment-method-class.js +0 -15
  166. package/dist/models/payment-reminder-class.d.ts +0 -112
  167. package/dist/models/payment-reminder-class.js +0 -36
  168. package/dist/models/sepa-direct-dto.d.ts +0 -24
  169. package/dist/models/sepa-direct-dto.js +0 -15
  170. package/dist/models/symphony-profile-limited-response-dto.d.ts +0 -42
  171. package/dist/models/symphony-profile-limited-response-dto.js +0 -15
  172. package/models/bank-account-class.ts +0 -60
  173. package/models/billing-profile-dto.ts +0 -44
  174. package/models/billing-profile-limited-response-dto.ts +0 -60
  175. package/models/complete-braintree-payment-setup-request-dto.ts +0 -54
  176. package/models/complete-payment-setup-request-dto.ts +0 -38
  177. package/models/complete-payment-setup-response-class.ts +0 -31
  178. package/models/complete-stripe-payment-setup-request-dto.ts +0 -66
  179. package/models/create-bank-account-request-dto.ts +0 -36
  180. package/models/create-payment-method-response-class.ts +0 -31
  181. package/models/create-payment-response-class.ts +0 -31
  182. package/models/create-psp-payment-method-request-dto.ts +0 -70
  183. package/models/deactivate-payment-reminder-response-class.ts +0 -31
  184. package/models/get-payment-method-response-class.ts +0 -31
  185. package/models/get-payment-response-class.ts +0 -31
  186. package/models/initiate-braintree-payment-setup-request-dto.ts +0 -36
  187. package/models/initiate-braintree-payment-setup-response-class.ts +0 -30
  188. package/models/initiate-payment-setup-request-dto.ts +0 -50
  189. package/models/initiate-payment-setup-response-class.ts +0 -38
  190. package/models/initiate-stripe-payment-setup-request-dto.ts +0 -36
  191. package/models/initiate-stripe-payment-setup-response-class.ts +0 -36
  192. package/models/link-bank-transaction-request-dto.ts +0 -36
  193. package/models/list-bank-accounts-response-class.ts +0 -37
  194. package/models/list-payment-methods-response-class.ts +0 -37
  195. package/models/list-payment-reminders-response-class.ts +0 -37
  196. package/models/list-payments-response-class.ts +0 -37
  197. package/models/payment-class.ts +0 -109
  198. package/models/payment-method-class.ts +0 -72
  199. package/models/payment-reminder-class.ts +0 -122
  200. package/models/sepa-direct-dto.ts +0 -30
  201. package/models/symphony-profile-limited-response-dto.ts +0 -48
@@ -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
@@ -13,7 +13,6 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { GetBankTransactionsResponseClass } from '../models';
16
- import { LinkBankTransactionRequestDto } from '../models';
17
16
  import { ListBankTransactionsResponseClass } from '../models';
18
17
  /**
19
18
  * BankTransactionApi - axios parameter creator
@@ -21,7 +20,8 @@ import { ListBankTransactionsResponseClass } from '../models';
21
20
  */
22
21
  export declare const BankTransactionApiAxiosParamCreator: (configuration?: Configuration) => {
23
22
  /**
24
- *
23
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
24
+ * @summary Retrieve the Bank Transaction
25
25
  * @param {string} code
26
26
  * @param {string} [authorization] Bearer Token
27
27
  * @param {string} [expand] Expand the response with additional entities
@@ -31,7 +31,7 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
31
31
  getBankTransaction: (code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
32
32
  /**
33
33
  * Import bank transactions from a swift MT940 file
34
- * @summary Create the Bank Transactions
34
+ * @summary Create the bank transactions
35
35
  * @param {string} [authorization] Bearer Token
36
36
  * @param {any} [file]
37
37
  * @param {*} [options] Override http request option.
@@ -41,15 +41,15 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
41
41
  /**
42
42
  * Links a bank transaction with an invoice
43
43
  * @summary Link Bank Transaction
44
- * @param {string} code Code of the bank transcation to link
45
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
44
+ * @param {string} code Code of the bank transaction to link
46
45
  * @param {string} [authorization] Bearer Token
47
46
  * @param {*} [options] Override http request option.
48
47
  * @throws {RequiredError}
49
48
  */
50
- linkBankTransaction: (code: string, linkBankTransactionRequestDto: LinkBankTransactionRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
49
+ linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
51
50
  /**
52
- *
51
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
52
+ * @summary List bank transactions
53
53
  * @param {string} [authorization] Bearer Token
54
54
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
55
55
  * @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.
@@ -61,6 +61,15 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
61
61
  * @throws {RequiredError}
62
62
  */
63
63
  listBankTransactions: (authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
+ /**
65
+ * Unlinks an already linked bank transaction
66
+ * @summary Unlink Bank Transaction
67
+ * @param {string} code Code of the bank transaction to unlink
68
+ * @param {string} [authorization] Bearer Token
69
+ * @param {*} [options] Override http request option.
70
+ * @throws {RequiredError}
71
+ */
72
+ unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
64
73
  };
65
74
  /**
66
75
  * BankTransactionApi - functional programming interface
@@ -68,7 +77,8 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
68
77
  */
69
78
  export declare const BankTransactionApiFp: (configuration?: Configuration) => {
70
79
  /**
71
- *
80
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
81
+ * @summary Retrieve the Bank Transaction
72
82
  * @param {string} code
73
83
  * @param {string} [authorization] Bearer Token
74
84
  * @param {string} [expand] Expand the response with additional entities
@@ -78,7 +88,7 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
78
88
  getBankTransaction(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
79
89
  /**
80
90
  * Import bank transactions from a swift MT940 file
81
- * @summary Create the Bank Transactions
91
+ * @summary Create the bank transactions
82
92
  * @param {string} [authorization] Bearer Token
83
93
  * @param {any} [file]
84
94
  * @param {*} [options] Override http request option.
@@ -88,15 +98,15 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
88
98
  /**
89
99
  * Links a bank transaction with an invoice
90
100
  * @summary Link Bank Transaction
91
- * @param {string} code Code of the bank transcation to link
92
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
101
+ * @param {string} code Code of the bank transaction to link
93
102
  * @param {string} [authorization] Bearer Token
94
103
  * @param {*} [options] Override http request option.
95
104
  * @throws {RequiredError}
96
105
  */
97
- linkBankTransaction(code: string, linkBankTransactionRequestDto: LinkBankTransactionRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
106
+ linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
98
107
  /**
99
- *
108
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
109
+ * @summary List bank transactions
100
110
  * @param {string} [authorization] Bearer Token
101
111
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
102
112
  * @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,7 +117,16 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
107
117
  * @param {*} [options] Override http request option.
108
118
  * @throws {RequiredError}
109
119
  */
110
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListBankTransactionsResponseClass>>;
120
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
121
+ /**
122
+ * Unlinks an already linked bank transaction
123
+ * @summary Unlink Bank Transaction
124
+ * @param {string} code Code of the bank transaction to unlink
125
+ * @param {string} [authorization] Bearer Token
126
+ * @param {*} [options] Override http request option.
127
+ * @throws {RequiredError}
128
+ */
129
+ unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
111
130
  };
112
131
  /**
113
132
  * BankTransactionApi - factory interface
@@ -115,7 +134,8 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
115
134
  */
116
135
  export declare const BankTransactionApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
117
136
  /**
118
- *
137
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
138
+ * @summary Retrieve the Bank Transaction
119
139
  * @param {string} code
120
140
  * @param {string} [authorization] Bearer Token
121
141
  * @param {string} [expand] Expand the response with additional entities
@@ -125,7 +145,7 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
125
145
  getBankTransaction(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
126
146
  /**
127
147
  * Import bank transactions from a swift MT940 file
128
- * @summary Create the Bank Transactions
148
+ * @summary Create the bank transactions
129
149
  * @param {string} [authorization] Bearer Token
130
150
  * @param {any} [file]
131
151
  * @param {*} [options] Override http request option.
@@ -135,15 +155,15 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
135
155
  /**
136
156
  * Links a bank transaction with an invoice
137
157
  * @summary Link Bank Transaction
138
- * @param {string} code Code of the bank transcation to link
139
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
158
+ * @param {string} code Code of the bank transaction to link
140
159
  * @param {string} [authorization] Bearer Token
141
160
  * @param {*} [options] Override http request option.
142
161
  * @throws {RequiredError}
143
162
  */
144
- linkBankTransaction(code: string, linkBankTransactionRequestDto: LinkBankTransactionRequestDto, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
163
+ linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
145
164
  /**
146
- *
165
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
166
+ * @summary List bank transactions
147
167
  * @param {string} [authorization] Bearer Token
148
168
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
149
169
  * @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.
@@ -154,7 +174,16 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
154
174
  * @param {*} [options] Override http request option.
155
175
  * @throws {RequiredError}
156
176
  */
157
- listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<ListBankTransactionsResponseClass>;
177
+ listBankTransactions(authorization?: string, pageSize?: any, pageToken?: any, filter?: any, search?: any, order?: any, expand?: string, options?: any): AxiosPromise<void>;
178
+ /**
179
+ * Unlinks an already linked bank transaction
180
+ * @summary Unlink Bank Transaction
181
+ * @param {string} code Code of the bank transaction to unlink
182
+ * @param {string} [authorization] Bearer Token
183
+ * @param {*} [options] Override http request option.
184
+ * @throws {RequiredError}
185
+ */
186
+ unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
158
187
  };
159
188
  /**
160
189
  * Request parameters for getBankTransaction operation in BankTransactionApi.
@@ -207,17 +236,11 @@ export interface BankTransactionApiImportBankTransactionsRequest {
207
236
  */
208
237
  export interface BankTransactionApiLinkBankTransactionRequest {
209
238
  /**
210
- * Code of the bank transcation to link
239
+ * Code of the bank transaction to link
211
240
  * @type {string}
212
241
  * @memberof BankTransactionApiLinkBankTransaction
213
242
  */
214
243
  readonly code: string;
215
- /**
216
- *
217
- * @type {LinkBankTransactionRequestDto}
218
- * @memberof BankTransactionApiLinkBankTransaction
219
- */
220
- readonly linkBankTransactionRequestDto: LinkBankTransactionRequestDto;
221
244
  /**
222
245
  * Bearer Token
223
246
  * @type {string}
@@ -274,6 +297,25 @@ export interface BankTransactionApiListBankTransactionsRequest {
274
297
  */
275
298
  readonly expand?: string;
276
299
  }
300
+ /**
301
+ * Request parameters for unlinkBankTransaction operation in BankTransactionApi.
302
+ * @export
303
+ * @interface BankTransactionApiUnlinkBankTransactionRequest
304
+ */
305
+ export interface BankTransactionApiUnlinkBankTransactionRequest {
306
+ /**
307
+ * Code of the bank transaction to unlink
308
+ * @type {string}
309
+ * @memberof BankTransactionApiUnlinkBankTransaction
310
+ */
311
+ readonly code: string;
312
+ /**
313
+ * Bearer Token
314
+ * @type {string}
315
+ * @memberof BankTransactionApiUnlinkBankTransaction
316
+ */
317
+ readonly authorization?: string;
318
+ }
277
319
  /**
278
320
  * BankTransactionApi - object-oriented interface
279
321
  * @export
@@ -282,7 +324,8 @@ export interface BankTransactionApiListBankTransactionsRequest {
282
324
  */
283
325
  export declare class BankTransactionApi extends BaseAPI {
284
326
  /**
285
- *
327
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
328
+ * @summary Retrieve the Bank Transaction
286
329
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
287
330
  * @param {*} [options] Override http request option.
288
331
  * @throws {RequiredError}
@@ -291,7 +334,7 @@ export declare class BankTransactionApi extends BaseAPI {
291
334
  getBankTransaction(requestParameters: BankTransactionApiGetBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
292
335
  /**
293
336
  * Import bank transactions from a swift MT940 file
294
- * @summary Create the Bank Transactions
337
+ * @summary Create the bank transactions
295
338
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
296
339
  * @param {*} [options] Override http request option.
297
340
  * @throws {RequiredError}
@@ -308,11 +351,21 @@ export declare class BankTransactionApi extends BaseAPI {
308
351
  */
309
352
  linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
310
353
  /**
311
- *
354
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
355
+ * @summary List bank transactions
312
356
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
313
357
  * @param {*} [options] Override http request option.
314
358
  * @throws {RequiredError}
315
359
  * @memberof BankTransactionApi
316
360
  */
317
- listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListBankTransactionsResponseClass, any>>;
361
+ listBankTransactions(requestParameters?: BankTransactionApiListBankTransactionsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
362
+ /**
363
+ * Unlinks an already linked bank transaction
364
+ * @summary Unlink Bank Transaction
365
+ * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
366
+ * @param {*} [options] Override http request option.
367
+ * @throws {RequiredError}
368
+ * @memberof BankTransactionApi
369
+ */
370
+ unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetBankTransactionsResponseClass, any>>;
318
371
  }
@@ -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
@@ -97,7 +97,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
97
97
  var _this = this;
98
98
  return {
99
99
  /**
100
- *
100
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
101
+ * @summary Retrieve the Bank Transaction
101
102
  * @param {string} code
102
103
  * @param {string} [authorization] Bearer Token
103
104
  * @param {string} [expand] Expand the response with additional entities
@@ -149,7 +150,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
149
150
  },
150
151
  /**
151
152
  * Import bank transactions from a swift MT940 file
152
- * @summary Create the Bank Transactions
153
+ * @summary Create the bank transactions
153
154
  * @param {string} [authorization] Bearer Token
154
155
  * @param {any} [file]
155
156
  * @param {*} [options] Override http request option.
@@ -201,13 +202,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
201
202
  /**
202
203
  * Links a bank transaction with an invoice
203
204
  * @summary Link Bank Transaction
204
- * @param {string} code Code of the bank transcation to link
205
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
205
+ * @param {string} code Code of the bank transaction to link
206
206
  * @param {string} [authorization] Bearer Token
207
207
  * @param {*} [options] Override http request option.
208
208
  * @throws {RequiredError}
209
209
  */
210
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
210
+ linkBankTransaction: function (code, authorization, options) {
211
211
  if (options === void 0) { options = {}; }
212
212
  return __awaiter(_this, void 0, void 0, function () {
213
213
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -216,8 +216,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
216
216
  case 0:
217
217
  // verify required parameter 'code' is not null or undefined
218
218
  (0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
219
- // verify required parameter 'linkBankTransactionRequestDto' is not null or undefined
220
- (0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDto', linkBankTransactionRequestDto);
221
219
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
222
220
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
223
221
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -238,11 +236,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
238
236
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
239
237
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
240
238
  }
241
- localVarHeaderParameter['Content-Type'] = 'application/json';
242
239
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
243
240
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
244
241
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
245
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDto, localVarRequestOptions, configuration);
246
242
  return [2 /*return*/, {
247
243
  url: (0, common_1.toPathString)(localVarUrlObj),
248
244
  options: localVarRequestOptions,
@@ -252,7 +248,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
252
248
  });
253
249
  },
254
250
  /**
255
- *
251
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
252
+ * @summary List bank transactions
256
253
  * @param {string} [authorization] Bearer Token
257
254
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
258
255
  * @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.
@@ -318,6 +315,54 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
318
315
  });
319
316
  });
320
317
  },
318
+ /**
319
+ * Unlinks an already linked bank transaction
320
+ * @summary Unlink Bank Transaction
321
+ * @param {string} code Code of the bank transaction to unlink
322
+ * @param {string} [authorization] Bearer Token
323
+ * @param {*} [options] Override http request option.
324
+ * @throws {RequiredError}
325
+ */
326
+ unlinkBankTransaction: function (code, authorization, options) {
327
+ if (options === void 0) { options = {}; }
328
+ return __awaiter(_this, void 0, void 0, function () {
329
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
330
+ return __generator(this, function (_a) {
331
+ switch (_a.label) {
332
+ case 0:
333
+ // verify required parameter 'code' is not null or undefined
334
+ (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
335
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
336
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
337
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
338
+ if (configuration) {
339
+ baseOptions = configuration.baseOptions;
340
+ baseAccessToken = configuration.accessToken;
341
+ }
342
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
343
+ localVarHeaderParameter = {};
344
+ localVarQueryParameter = {};
345
+ // authentication bearer required
346
+ // http bearer authentication required
347
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
348
+ case 1:
349
+ // authentication bearer required
350
+ // http bearer authentication required
351
+ _a.sent();
352
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
353
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
354
+ }
355
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
356
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
357
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
358
+ return [2 /*return*/, {
359
+ url: (0, common_1.toPathString)(localVarUrlObj),
360
+ options: localVarRequestOptions,
361
+ }];
362
+ }
363
+ });
364
+ });
365
+ },
321
366
  };
322
367
  };
323
368
  exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreator;
@@ -329,7 +374,8 @@ var BankTransactionApiFp = function (configuration) {
329
374
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
330
375
  return {
331
376
  /**
332
- *
377
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
378
+ * @summary Retrieve the Bank Transaction
333
379
  * @param {string} code
334
380
  * @param {string} [authorization] Bearer Token
335
381
  * @param {string} [expand] Expand the response with additional entities
@@ -351,7 +397,7 @@ var BankTransactionApiFp = function (configuration) {
351
397
  },
352
398
  /**
353
399
  * Import bank transactions from a swift MT940 file
354
- * @summary Create the Bank Transactions
400
+ * @summary Create the bank transactions
355
401
  * @param {string} [authorization] Bearer Token
356
402
  * @param {any} [file]
357
403
  * @param {*} [options] Override http request option.
@@ -373,18 +419,17 @@ var BankTransactionApiFp = function (configuration) {
373
419
  /**
374
420
  * Links a bank transaction with an invoice
375
421
  * @summary Link Bank Transaction
376
- * @param {string} code Code of the bank transcation to link
377
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
422
+ * @param {string} code Code of the bank transaction to link
378
423
  * @param {string} [authorization] Bearer Token
379
424
  * @param {*} [options] Override http request option.
380
425
  * @throws {RequiredError}
381
426
  */
382
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
427
+ linkBankTransaction: function (code, authorization, options) {
383
428
  return __awaiter(this, void 0, void 0, function () {
384
429
  var localVarAxiosArgs;
385
430
  return __generator(this, function (_a) {
386
431
  switch (_a.label) {
387
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDto, authorization, options)];
432
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, authorization, options)];
388
433
  case 1:
389
434
  localVarAxiosArgs = _a.sent();
390
435
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -393,7 +438,8 @@ var BankTransactionApiFp = function (configuration) {
393
438
  });
394
439
  },
395
440
  /**
396
- *
441
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
442
+ * @summary List bank transactions
397
443
  * @param {string} [authorization] Bearer Token
398
444
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
399
445
  * @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.
@@ -417,6 +463,27 @@ var BankTransactionApiFp = function (configuration) {
417
463
  });
418
464
  });
419
465
  },
466
+ /**
467
+ * Unlinks an already linked bank transaction
468
+ * @summary Unlink Bank Transaction
469
+ * @param {string} code Code of the bank transaction to unlink
470
+ * @param {string} [authorization] Bearer Token
471
+ * @param {*} [options] Override http request option.
472
+ * @throws {RequiredError}
473
+ */
474
+ unlinkBankTransaction: function (code, authorization, options) {
475
+ return __awaiter(this, void 0, void 0, function () {
476
+ var localVarAxiosArgs;
477
+ return __generator(this, function (_a) {
478
+ switch (_a.label) {
479
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
480
+ case 1:
481
+ localVarAxiosArgs = _a.sent();
482
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
483
+ }
484
+ });
485
+ });
486
+ },
420
487
  };
421
488
  };
422
489
  exports.BankTransactionApiFp = BankTransactionApiFp;
@@ -428,7 +495,8 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
428
495
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
429
496
  return {
430
497
  /**
431
- *
498
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
499
+ * @summary Retrieve the Bank Transaction
432
500
  * @param {string} code
433
501
  * @param {string} [authorization] Bearer Token
434
502
  * @param {string} [expand] Expand the response with additional entities
@@ -440,7 +508,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
440
508
  },
441
509
  /**
442
510
  * Import bank transactions from a swift MT940 file
443
- * @summary Create the Bank Transactions
511
+ * @summary Create the bank transactions
444
512
  * @param {string} [authorization] Bearer Token
445
513
  * @param {any} [file]
446
514
  * @param {*} [options] Override http request option.
@@ -452,17 +520,17 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
452
520
  /**
453
521
  * Links a bank transaction with an invoice
454
522
  * @summary Link Bank Transaction
455
- * @param {string} code Code of the bank transcation to link
456
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
523
+ * @param {string} code Code of the bank transaction to link
457
524
  * @param {string} [authorization] Bearer Token
458
525
  * @param {*} [options] Override http request option.
459
526
  * @throws {RequiredError}
460
527
  */
461
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
462
- return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
528
+ linkBankTransaction: function (code, authorization, options) {
529
+ return localVarFp.linkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
463
530
  },
464
531
  /**
465
- *
532
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
533
+ * @summary List bank transactions
466
534
  * @param {string} [authorization] Bearer Token
467
535
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
468
536
  * @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.
@@ -476,6 +544,17 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
476
544
  listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
477
545
  return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
478
546
  },
547
+ /**
548
+ * Unlinks an already linked bank transaction
549
+ * @summary Unlink Bank Transaction
550
+ * @param {string} code Code of the bank transaction to unlink
551
+ * @param {string} [authorization] Bearer Token
552
+ * @param {*} [options] Override http request option.
553
+ * @throws {RequiredError}
554
+ */
555
+ unlinkBankTransaction: function (code, authorization, options) {
556
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
557
+ },
479
558
  };
480
559
  };
481
560
  exports.BankTransactionApiFactory = BankTransactionApiFactory;
@@ -491,7 +570,8 @@ var BankTransactionApi = /** @class */ (function (_super) {
491
570
  return _super !== null && _super.apply(this, arguments) || this;
492
571
  }
493
572
  /**
494
- *
573
+ * Retrieves the details of the Bank Transaction that was previously created. Supply the unique Bank Transaction code that was returned when you created it and Emil Api will return the corresponding Bank Transaction information.
574
+ * @summary Retrieve the Bank Transaction
495
575
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
496
576
  * @param {*} [options] Override http request option.
497
577
  * @throws {RequiredError}
@@ -503,7 +583,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
503
583
  };
504
584
  /**
505
585
  * Import bank transactions from a swift MT940 file
506
- * @summary Create the Bank Transactions
586
+ * @summary Create the bank transactions
507
587
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
508
588
  * @param {*} [options] Override http request option.
509
589
  * @throws {RequiredError}
@@ -524,10 +604,11 @@ var BankTransactionApi = /** @class */ (function (_super) {
524
604
  */
525
605
  BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
526
606
  var _this = this;
527
- return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
607
+ return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
528
608
  };
529
609
  /**
530
- *
610
+ * Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
611
+ * @summary List bank transactions
531
612
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
532
613
  * @param {*} [options] Override http request option.
533
614
  * @throws {RequiredError}
@@ -538,6 +619,18 @@ var BankTransactionApi = /** @class */ (function (_super) {
538
619
  if (requestParameters === void 0) { requestParameters = {}; }
539
620
  return (0, exports.BankTransactionApiFp)(this.configuration).listBankTransactions(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
540
621
  };
622
+ /**
623
+ * Unlinks an already linked bank transaction
624
+ * @summary Unlink Bank Transaction
625
+ * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
626
+ * @param {*} [options] Override http request option.
627
+ * @throws {RequiredError}
628
+ * @memberof BankTransactionApi
629
+ */
630
+ BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
631
+ var _this = this;
632
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
633
+ };
541
634
  return BankTransactionApi;
542
635
  }(base_1.BaseAPI));
543
636
  exports.BankTransactionApi = BankTransactionApi;
@@ -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
@@ -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