@emilgroup/payment-sdk 1.3.1 → 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 (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 +2 -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 +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 +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
@@ -93,7 +93,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- *
96
+ * 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.
97
+ * @summary Retrieve the Bank Transaction
97
98
  * @param {string} code
98
99
  * @param {string} [authorization] Bearer Token
99
100
  * @param {string} [expand] Expand the response with additional entities
@@ -145,7 +146,7 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
145
146
  },
146
147
  /**
147
148
  * Import bank transactions from a swift MT940 file
148
- * @summary Create the Bank Transactions
149
+ * @summary Create the bank transactions
149
150
  * @param {string} [authorization] Bearer Token
150
151
  * @param {any} [file]
151
152
  * @param {*} [options] Override http request option.
@@ -197,13 +198,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
197
198
  /**
198
199
  * Links a bank transaction with an invoice
199
200
  * @summary Link Bank Transaction
200
- * @param {string} code Code of the bank transcation to link
201
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
201
+ * @param {string} code Code of the bank transaction to link
202
202
  * @param {string} [authorization] Bearer Token
203
203
  * @param {*} [options] Override http request option.
204
204
  * @throws {RequiredError}
205
205
  */
206
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
206
+ linkBankTransaction: function (code, authorization, options) {
207
207
  if (options === void 0) { options = {}; }
208
208
  return __awaiter(_this, void 0, void 0, function () {
209
209
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -212,8 +212,6 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
212
212
  case 0:
213
213
  // verify required parameter 'code' is not null or undefined
214
214
  (0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
215
- // verify required parameter 'linkBankTransactionRequestDto' is not null or undefined
216
- (0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDto', linkBankTransactionRequestDto);
217
215
  localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
218
216
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
219
217
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -234,11 +232,9 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
234
232
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
235
233
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
236
234
  }
237
- localVarHeaderParameter['Content-Type'] = 'application/json';
238
235
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
239
236
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
240
237
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
241
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDto, localVarRequestOptions, configuration);
242
238
  return [2 /*return*/, {
243
239
  url: (0, common_1.toPathString)(localVarUrlObj),
244
240
  options: localVarRequestOptions,
@@ -248,7 +244,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
248
244
  });
249
245
  },
250
246
  /**
251
- *
247
+ * 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.
248
+ * @summary List bank transactions
252
249
  * @param {string} [authorization] Bearer Token
253
250
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
254
251
  * @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.
@@ -314,6 +311,54 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
314
311
  });
315
312
  });
316
313
  },
314
+ /**
315
+ * Unlinks an already linked bank transaction
316
+ * @summary Unlink Bank Transaction
317
+ * @param {string} code Code of the bank transaction to unlink
318
+ * @param {string} [authorization] Bearer Token
319
+ * @param {*} [options] Override http request option.
320
+ * @throws {RequiredError}
321
+ */
322
+ unlinkBankTransaction: function (code, authorization, options) {
323
+ if (options === void 0) { options = {}; }
324
+ return __awaiter(_this, void 0, void 0, function () {
325
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
326
+ return __generator(this, function (_a) {
327
+ switch (_a.label) {
328
+ case 0:
329
+ // verify required parameter 'code' is not null or undefined
330
+ (0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
331
+ localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
332
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
333
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
334
+ if (configuration) {
335
+ baseOptions = configuration.baseOptions;
336
+ baseAccessToken = configuration.accessToken;
337
+ }
338
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
339
+ localVarHeaderParameter = {};
340
+ localVarQueryParameter = {};
341
+ // authentication bearer required
342
+ // http bearer authentication required
343
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
344
+ case 1:
345
+ // authentication bearer required
346
+ // http bearer authentication required
347
+ _a.sent();
348
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
349
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
350
+ }
351
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
352
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
353
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
354
+ return [2 /*return*/, {
355
+ url: (0, common_1.toPathString)(localVarUrlObj),
356
+ options: localVarRequestOptions,
357
+ }];
358
+ }
359
+ });
360
+ });
361
+ },
317
362
  };
318
363
  };
319
364
  exports.BankTransactionApiAxiosParamCreator = BankTransactionApiAxiosParamCreator;
@@ -325,7 +370,8 @@ var BankTransactionApiFp = function (configuration) {
325
370
  var localVarAxiosParamCreator = (0, exports.BankTransactionApiAxiosParamCreator)(configuration);
326
371
  return {
327
372
  /**
328
- *
373
+ * 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.
374
+ * @summary Retrieve the Bank Transaction
329
375
  * @param {string} code
330
376
  * @param {string} [authorization] Bearer Token
331
377
  * @param {string} [expand] Expand the response with additional entities
@@ -347,7 +393,7 @@ var BankTransactionApiFp = function (configuration) {
347
393
  },
348
394
  /**
349
395
  * Import bank transactions from a swift MT940 file
350
- * @summary Create the Bank Transactions
396
+ * @summary Create the bank transactions
351
397
  * @param {string} [authorization] Bearer Token
352
398
  * @param {any} [file]
353
399
  * @param {*} [options] Override http request option.
@@ -369,18 +415,17 @@ var BankTransactionApiFp = function (configuration) {
369
415
  /**
370
416
  * Links a bank transaction with an invoice
371
417
  * @summary Link Bank Transaction
372
- * @param {string} code Code of the bank transcation to link
373
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
418
+ * @param {string} code Code of the bank transaction to link
374
419
  * @param {string} [authorization] Bearer Token
375
420
  * @param {*} [options] Override http request option.
376
421
  * @throws {RequiredError}
377
422
  */
378
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
423
+ linkBankTransaction: function (code, authorization, options) {
379
424
  return __awaiter(this, void 0, void 0, function () {
380
425
  var localVarAxiosArgs;
381
426
  return __generator(this, function (_a) {
382
427
  switch (_a.label) {
383
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDto, authorization, options)];
428
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, authorization, options)];
384
429
  case 1:
385
430
  localVarAxiosArgs = _a.sent();
386
431
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -389,7 +434,8 @@ var BankTransactionApiFp = function (configuration) {
389
434
  });
390
435
  },
391
436
  /**
392
- *
437
+ * 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.
438
+ * @summary List bank transactions
393
439
  * @param {string} [authorization] Bearer Token
394
440
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
395
441
  * @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.
@@ -413,6 +459,27 @@ var BankTransactionApiFp = function (configuration) {
413
459
  });
414
460
  });
415
461
  },
462
+ /**
463
+ * Unlinks an already linked bank transaction
464
+ * @summary Unlink Bank Transaction
465
+ * @param {string} code Code of the bank transaction to unlink
466
+ * @param {string} [authorization] Bearer Token
467
+ * @param {*} [options] Override http request option.
468
+ * @throws {RequiredError}
469
+ */
470
+ unlinkBankTransaction: function (code, authorization, options) {
471
+ return __awaiter(this, void 0, void 0, function () {
472
+ var localVarAxiosArgs;
473
+ return __generator(this, function (_a) {
474
+ switch (_a.label) {
475
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
476
+ case 1:
477
+ localVarAxiosArgs = _a.sent();
478
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
479
+ }
480
+ });
481
+ });
482
+ },
416
483
  };
417
484
  };
418
485
  exports.BankTransactionApiFp = BankTransactionApiFp;
@@ -424,7 +491,8 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
424
491
  var localVarFp = (0, exports.BankTransactionApiFp)(configuration);
425
492
  return {
426
493
  /**
427
- *
494
+ * 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.
495
+ * @summary Retrieve the Bank Transaction
428
496
  * @param {string} code
429
497
  * @param {string} [authorization] Bearer Token
430
498
  * @param {string} [expand] Expand the response with additional entities
@@ -436,7 +504,7 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
436
504
  },
437
505
  /**
438
506
  * Import bank transactions from a swift MT940 file
439
- * @summary Create the Bank Transactions
507
+ * @summary Create the bank transactions
440
508
  * @param {string} [authorization] Bearer Token
441
509
  * @param {any} [file]
442
510
  * @param {*} [options] Override http request option.
@@ -448,17 +516,17 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
448
516
  /**
449
517
  * Links a bank transaction with an invoice
450
518
  * @summary Link Bank Transaction
451
- * @param {string} code Code of the bank transcation to link
452
- * @param {LinkBankTransactionRequestDto} linkBankTransactionRequestDto
519
+ * @param {string} code Code of the bank transaction to link
453
520
  * @param {string} [authorization] Bearer Token
454
521
  * @param {*} [options] Override http request option.
455
522
  * @throws {RequiredError}
456
523
  */
457
- linkBankTransaction: function (code, linkBankTransactionRequestDto, authorization, options) {
458
- return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
524
+ linkBankTransaction: function (code, authorization, options) {
525
+ return localVarFp.linkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
459
526
  },
460
527
  /**
461
- *
528
+ * 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.
529
+ * @summary List bank transactions
462
530
  * @param {string} [authorization] Bearer Token
463
531
  * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
464
532
  * @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.
@@ -472,6 +540,17 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
472
540
  listBankTransactions: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
473
541
  return localVarFp.listBankTransactions(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
474
542
  },
543
+ /**
544
+ * Unlinks an already linked bank transaction
545
+ * @summary Unlink Bank Transaction
546
+ * @param {string} code Code of the bank transaction to unlink
547
+ * @param {string} [authorization] Bearer Token
548
+ * @param {*} [options] Override http request option.
549
+ * @throws {RequiredError}
550
+ */
551
+ unlinkBankTransaction: function (code, authorization, options) {
552
+ return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
553
+ },
475
554
  };
476
555
  };
477
556
  exports.BankTransactionApiFactory = BankTransactionApiFactory;
@@ -487,7 +566,8 @@ var BankTransactionApi = /** @class */ (function (_super) {
487
566
  return _super !== null && _super.apply(this, arguments) || this;
488
567
  }
489
568
  /**
490
- *
569
+ * 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.
570
+ * @summary Retrieve the Bank Transaction
491
571
  * @param {BankTransactionApiGetBankTransactionRequest} requestParameters Request parameters.
492
572
  * @param {*} [options] Override http request option.
493
573
  * @throws {RequiredError}
@@ -499,7 +579,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
499
579
  };
500
580
  /**
501
581
  * Import bank transactions from a swift MT940 file
502
- * @summary Create the Bank Transactions
582
+ * @summary Create the bank transactions
503
583
  * @param {BankTransactionApiImportBankTransactionsRequest} requestParameters Request parameters.
504
584
  * @param {*} [options] Override http request option.
505
585
  * @throws {RequiredError}
@@ -520,10 +600,11 @@ var BankTransactionApi = /** @class */ (function (_super) {
520
600
  */
521
601
  BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
522
602
  var _this = this;
523
- return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
603
+ return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
524
604
  };
525
605
  /**
526
- *
606
+ * 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.
607
+ * @summary List bank transactions
527
608
  * @param {BankTransactionApiListBankTransactionsRequest} requestParameters Request parameters.
528
609
  * @param {*} [options] Override http request option.
529
610
  * @throws {RequiredError}
@@ -534,6 +615,18 @@ var BankTransactionApi = /** @class */ (function (_super) {
534
615
  if (requestParameters === void 0) { requestParameters = {}; }
535
616
  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); });
536
617
  };
618
+ /**
619
+ * Unlinks an already linked bank transaction
620
+ * @summary Unlink Bank Transaction
621
+ * @param {BankTransactionApiUnlinkBankTransactionRequest} requestParameters Request parameters.
622
+ * @param {*} [options] Override http request option.
623
+ * @throws {RequiredError}
624
+ * @memberof BankTransactionApi
625
+ */
626
+ BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
627
+ var _this = this;
628
+ return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
629
+ };
537
630
  return BankTransactionApi;
538
631
  }(base_1.BaseAPI));
539
632
  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