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

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 (182) hide show
  1. package/.openapi-generator/FILES +50 -0
  2. package/README.md +2 -2
  3. package/api/bank-accounts-api.ts +20 -12
  4. package/api/bank-transaction-api.ts +20 -10
  5. package/api/payment-methods-api.ts +26 -18
  6. package/api/payment-reminders-api.ts +16 -8
  7. package/api/payment-setup-api.ts +52 -36
  8. package/api/payments-api.ts +12 -6
  9. package/api/refunds-api.ts +12 -6
  10. package/base.ts +15 -7
  11. package/dist/api/bank-accounts-api.d.ts +22 -18
  12. package/dist/api/bank-transaction-api.d.ts +20 -15
  13. package/dist/api/payment-methods-api.d.ts +19 -15
  14. package/dist/api/payment-methods-api.js +12 -12
  15. package/dist/api/payment-reminders-api.d.ts +16 -12
  16. package/dist/api/payment-setup-api.d.ts +38 -26
  17. package/dist/api/payment-setup-api.js +40 -32
  18. package/dist/api/payments-api.d.ts +12 -9
  19. package/dist/api/refunds-api.d.ts +12 -9
  20. package/dist/base.d.ts +3 -1
  21. package/dist/base.js +27 -20
  22. package/dist/models/bank-account-class-without-expand-properties.d.ts +72 -0
  23. package/dist/models/bank-account-class-without-expand-properties.js +15 -0
  24. package/dist/models/bank-account-class.d.ts +79 -0
  25. package/dist/models/bank-account-class.js +15 -0
  26. package/dist/models/bank-transaction-class.d.ts +128 -0
  27. package/dist/models/bank-transaction-class.js +15 -0
  28. package/dist/models/billing-profile-dto.d.ts +38 -0
  29. package/dist/models/billing-profile-dto.js +15 -0
  30. package/dist/models/billing-profile-limited-response-dto.d.ts +54 -0
  31. package/dist/models/billing-profile-limited-response-dto.js +15 -0
  32. package/dist/models/complete-braintree-payment-setup-request-dto.d.ts +48 -0
  33. package/dist/models/complete-braintree-payment-setup-request-dto.js +15 -0
  34. package/dist/models/complete-payment-setup-request-dto.d.ts +32 -0
  35. package/dist/models/complete-payment-setup-request-dto.js +15 -0
  36. package/dist/models/complete-payment-setup-response-class.d.ts +25 -0
  37. package/dist/models/complete-payment-setup-response-class.js +15 -0
  38. package/dist/models/complete-stripe-payment-setup-request-dto.d.ts +60 -0
  39. package/dist/models/complete-stripe-payment-setup-request-dto.js +15 -0
  40. package/dist/models/create-bank-account-request-dto.d.ts +2 -2
  41. package/dist/models/create-bank-account-response-class.d.ts +25 -0
  42. package/dist/models/create-bank-account-response-class.js +15 -0
  43. package/dist/models/create-payment-method-response-class.d.ts +25 -0
  44. package/dist/models/create-payment-method-response-class.js +15 -0
  45. package/dist/models/create-payment-reminder-response-class.d.ts +25 -0
  46. package/dist/models/create-payment-reminder-response-class.js +15 -0
  47. package/dist/models/create-payment-request-dto.d.ts +3 -3
  48. package/dist/models/create-payment-response-class.d.ts +25 -0
  49. package/dist/models/create-payment-response-class.js +15 -0
  50. package/dist/models/create-psp-payment-method-request-dto.d.ts +61 -0
  51. package/dist/models/create-psp-payment-method-request-dto.js +32 -0
  52. package/dist/models/create-refund-response-class.d.ts +25 -0
  53. package/dist/models/create-refund-response-class.js +15 -0
  54. package/dist/models/deactivate-payment-reminder-response-class.d.ts +25 -0
  55. package/dist/models/deactivate-payment-reminder-response-class.js +15 -0
  56. package/dist/models/deactivated-payment-reminder-class.d.ts +90 -0
  57. package/dist/models/deactivated-payment-reminder-class.js +15 -0
  58. package/dist/models/get-bank-account-response-class.d.ts +25 -0
  59. package/dist/models/get-bank-account-response-class.js +15 -0
  60. package/dist/models/get-bank-transactions-response-class.d.ts +25 -0
  61. package/dist/models/get-bank-transactions-response-class.js +15 -0
  62. package/dist/models/get-payment-method-response-class.d.ts +25 -0
  63. package/dist/models/get-payment-method-response-class.js +15 -0
  64. package/dist/models/get-payment-reminder-response-class.d.ts +25 -0
  65. package/dist/models/get-payment-reminder-response-class.js +15 -0
  66. package/dist/models/get-payment-response-class.d.ts +25 -0
  67. package/dist/models/get-payment-response-class.js +15 -0
  68. package/dist/models/get-refund-response-class.d.ts +25 -0
  69. package/dist/models/get-refund-response-class.js +15 -0
  70. package/dist/models/import-bank-transactions-response-class.d.ts +25 -0
  71. package/dist/models/import-bank-transactions-response-class.js +15 -0
  72. package/dist/models/index.d.ts +50 -0
  73. package/dist/models/index.js +50 -0
  74. package/dist/models/initiate-braintree-payment-setup-request-dto.d.ts +30 -0
  75. package/dist/models/initiate-braintree-payment-setup-request-dto.js +15 -0
  76. package/dist/models/initiate-braintree-payment-setup-response-class.d.ts +24 -0
  77. package/dist/models/initiate-braintree-payment-setup-response-class.js +15 -0
  78. package/dist/models/initiate-payment-setup-request-dto.d.ts +50 -0
  79. package/dist/models/initiate-payment-setup-request-dto.js +15 -0
  80. package/dist/models/initiate-payment-setup-response-class.d.ts +32 -0
  81. package/dist/models/initiate-payment-setup-response-class.js +15 -0
  82. package/dist/models/initiate-stripe-payment-setup-request-dto.d.ts +30 -0
  83. package/dist/models/initiate-stripe-payment-setup-request-dto.js +15 -0
  84. package/dist/models/initiate-stripe-payment-setup-response-class.d.ts +30 -0
  85. package/dist/models/initiate-stripe-payment-setup-response-class.js +15 -0
  86. package/dist/models/link-bank-transactions-response-class.d.ts +25 -0
  87. package/dist/models/link-bank-transactions-response-class.js +15 -0
  88. package/dist/models/list-bank-accounts-response-class.d.ts +31 -0
  89. package/dist/models/list-bank-accounts-response-class.js +15 -0
  90. package/dist/models/list-bank-transactions-response-class.d.ts +31 -0
  91. package/dist/models/list-bank-transactions-response-class.js +15 -0
  92. package/dist/models/list-payment-methods-response-class.d.ts +31 -0
  93. package/dist/models/list-payment-methods-response-class.js +15 -0
  94. package/dist/models/list-payment-reminders-response-class.d.ts +31 -0
  95. package/dist/models/list-payment-reminders-response-class.js +15 -0
  96. package/dist/models/list-payments-response-class.d.ts +31 -0
  97. package/dist/models/list-payments-response-class.js +15 -0
  98. package/dist/models/list-refunds-response-class.d.ts +31 -0
  99. package/dist/models/list-refunds-response-class.js +15 -0
  100. package/dist/models/payment-class-without-expand-properties.d.ts +102 -0
  101. package/dist/models/payment-class-without-expand-properties.js +15 -0
  102. package/dist/models/payment-class.d.ts +109 -0
  103. package/dist/models/payment-class.js +15 -0
  104. package/dist/models/payment-method-class.d.ts +66 -0
  105. package/dist/models/payment-method-class.js +15 -0
  106. package/dist/models/payment-reminder-class.d.ts +90 -0
  107. package/dist/models/payment-reminder-class.js +15 -0
  108. package/dist/models/primary-bank-account-response-class.d.ts +42 -0
  109. package/dist/models/primary-bank-account-response-class.js +15 -0
  110. package/dist/models/refund-class-without-expand-properties.d.ts +99 -0
  111. package/dist/models/refund-class-without-expand-properties.js +29 -0
  112. package/dist/models/refund-class.d.ts +99 -0
  113. package/dist/models/refund-class.js +29 -0
  114. package/dist/models/sepa-direct-dto.d.ts +24 -0
  115. package/dist/models/sepa-direct-dto.js +15 -0
  116. package/dist/models/symphony-profile-limited-response-dto.d.ts +42 -0
  117. package/dist/models/symphony-profile-limited-response-dto.js +15 -0
  118. package/dist/models/transaction-class.d.ts +54 -0
  119. package/dist/models/transaction-class.js +15 -0
  120. package/dist/models/unlink-bank-transactions-response-class.d.ts +25 -0
  121. package/dist/models/unlink-bank-transactions-response-class.js +15 -0
  122. package/dist/models/unlinked-bank-transaction-response-class.d.ts +96 -0
  123. package/dist/models/unlinked-bank-transaction-response-class.js +15 -0
  124. package/dist/models/update-bank-account-response-class.d.ts +25 -0
  125. package/dist/models/update-bank-account-response-class.js +15 -0
  126. package/dist/models/validate-pspconfig-request-dto.d.ts +8 -1
  127. package/dist/models/validate-pspconfig-request-dto.js +7 -0
  128. package/models/bank-account-class-without-expand-properties.ts +78 -0
  129. package/models/bank-account-class.ts +85 -0
  130. package/models/bank-transaction-class.ts +134 -0
  131. package/models/billing-profile-dto.ts +44 -0
  132. package/models/billing-profile-limited-response-dto.ts +60 -0
  133. package/models/complete-braintree-payment-setup-request-dto.ts +54 -0
  134. package/models/complete-payment-setup-request-dto.ts +38 -0
  135. package/models/complete-payment-setup-response-class.ts +31 -0
  136. package/models/complete-stripe-payment-setup-request-dto.ts +66 -0
  137. package/models/create-bank-account-request-dto.ts +2 -2
  138. package/models/create-bank-account-response-class.ts +31 -0
  139. package/models/create-payment-method-response-class.ts +31 -0
  140. package/models/create-payment-reminder-response-class.ts +31 -0
  141. package/models/create-payment-request-dto.ts +3 -3
  142. package/models/create-payment-response-class.ts +31 -0
  143. package/models/create-psp-payment-method-request-dto.ts +70 -0
  144. package/models/create-refund-response-class.ts +31 -0
  145. package/models/deactivate-payment-reminder-response-class.ts +31 -0
  146. package/models/deactivated-payment-reminder-class.ts +96 -0
  147. package/models/get-bank-account-response-class.ts +31 -0
  148. package/models/get-bank-transactions-response-class.ts +31 -0
  149. package/models/get-payment-method-response-class.ts +31 -0
  150. package/models/get-payment-reminder-response-class.ts +31 -0
  151. package/models/get-payment-response-class.ts +31 -0
  152. package/models/get-refund-response-class.ts +31 -0
  153. package/models/import-bank-transactions-response-class.ts +31 -0
  154. package/models/index.ts +50 -0
  155. package/models/initiate-braintree-payment-setup-request-dto.ts +36 -0
  156. package/models/initiate-braintree-payment-setup-response-class.ts +30 -0
  157. package/models/initiate-payment-setup-request-dto.ts +56 -0
  158. package/models/initiate-payment-setup-response-class.ts +38 -0
  159. package/models/initiate-stripe-payment-setup-request-dto.ts +36 -0
  160. package/models/initiate-stripe-payment-setup-response-class.ts +36 -0
  161. package/models/link-bank-transactions-response-class.ts +31 -0
  162. package/models/list-bank-accounts-response-class.ts +37 -0
  163. package/models/list-bank-transactions-response-class.ts +37 -0
  164. package/models/list-payment-methods-response-class.ts +37 -0
  165. package/models/list-payment-reminders-response-class.ts +37 -0
  166. package/models/list-payments-response-class.ts +37 -0
  167. package/models/list-refunds-response-class.ts +37 -0
  168. package/models/payment-class-without-expand-properties.ts +108 -0
  169. package/models/payment-class.ts +115 -0
  170. package/models/payment-method-class.ts +72 -0
  171. package/models/payment-reminder-class.ts +96 -0
  172. package/models/primary-bank-account-response-class.ts +48 -0
  173. package/models/refund-class-without-expand-properties.ts +109 -0
  174. package/models/refund-class.ts +109 -0
  175. package/models/sepa-direct-dto.ts +30 -0
  176. package/models/symphony-profile-limited-response-dto.ts +48 -0
  177. package/models/transaction-class.ts +60 -0
  178. package/models/unlink-bank-transactions-response-class.ts +31 -0
  179. package/models/unlinked-bank-transaction-response-class.ts +102 -0
  180. package/models/update-bank-account-response-class.ts +31 -0
  181. package/models/validate-pspconfig-request-dto.ts +11 -1
  182. package/package.json +1 -1
@@ -93,21 +93,22 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
95
  /**
96
- *
97
- * @param {object} body
96
+ * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
97
+ * @summary Complete a payment setup
98
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
98
99
  * @param {string} [authorization] Bearer Token
99
100
  * @param {*} [options] Override http request option.
100
101
  * @throws {RequiredError}
101
102
  */
102
- completePaymentSetup: function (body, authorization, options) {
103
+ completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
103
104
  if (options === void 0) { options = {}; }
104
105
  return __awaiter(_this, void 0, void 0, function () {
105
106
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
106
107
  return __generator(this, function (_a) {
107
108
  switch (_a.label) {
108
109
  case 0:
109
- // verify required parameter 'body' is not null or undefined
110
- (0, common_1.assertParamExists)('completePaymentSetup', 'body', body);
110
+ // verify required parameter 'completePaymentSetupRequestDto' is not null or undefined
111
+ (0, common_1.assertParamExists)('completePaymentSetup', 'completePaymentSetupRequestDto', completePaymentSetupRequestDto);
111
112
  localVarPath = "/paymentservice/v1/payment-setup/complete";
112
113
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
113
114
  if (configuration) {
@@ -131,7 +132,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
131
132
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
132
133
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
133
134
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
134
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
135
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(completePaymentSetupRequestDto, localVarRequestOptions, configuration);
135
136
  return [2 /*return*/, {
136
137
  url: (0, common_1.toPathString)(localVarUrlObj),
137
138
  options: localVarRequestOptions,
@@ -141,21 +142,22 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
141
142
  });
142
143
  },
143
144
  /**
144
- *
145
- * @param {object} body
145
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
146
+ * @summary Initiate a payment setup
147
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
146
148
  * @param {string} [authorization] Bearer Token
147
149
  * @param {*} [options] Override http request option.
148
150
  * @throws {RequiredError}
149
151
  */
150
- initiatePaymentSetup: function (body, authorization, options) {
152
+ initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
151
153
  if (options === void 0) { options = {}; }
152
154
  return __awaiter(_this, void 0, void 0, function () {
153
155
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
154
156
  return __generator(this, function (_a) {
155
157
  switch (_a.label) {
156
158
  case 0:
157
- // verify required parameter 'body' is not null or undefined
158
- (0, common_1.assertParamExists)('initiatePaymentSetup', 'body', body);
159
+ // verify required parameter 'initiatePaymentSetupRequestDto' is not null or undefined
160
+ (0, common_1.assertParamExists)('initiatePaymentSetup', 'initiatePaymentSetupRequestDto', initiatePaymentSetupRequestDto);
159
161
  localVarPath = "/paymentservice/v1/payment-setup/initiate";
160
162
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
161
163
  if (configuration) {
@@ -179,7 +181,7 @@ var PaymentSetupApiAxiosParamCreator = function (configuration) {
179
181
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
180
182
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
181
183
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
182
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(body, localVarRequestOptions, configuration);
184
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(initiatePaymentSetupRequestDto, localVarRequestOptions, configuration);
183
185
  return [2 /*return*/, {
184
186
  url: (0, common_1.toPathString)(localVarUrlObj),
185
187
  options: localVarRequestOptions,
@@ -199,18 +201,19 @@ var PaymentSetupApiFp = function (configuration) {
199
201
  var localVarAxiosParamCreator = (0, exports.PaymentSetupApiAxiosParamCreator)(configuration);
200
202
  return {
201
203
  /**
202
- *
203
- * @param {object} body
204
+ * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
205
+ * @summary Complete a payment setup
206
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
204
207
  * @param {string} [authorization] Bearer Token
205
208
  * @param {*} [options] Override http request option.
206
209
  * @throws {RequiredError}
207
210
  */
208
- completePaymentSetup: function (body, authorization, options) {
211
+ completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
209
212
  return __awaiter(this, void 0, void 0, function () {
210
213
  var localVarAxiosArgs;
211
214
  return __generator(this, function (_a) {
212
215
  switch (_a.label) {
213
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(body, authorization, options)];
216
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.completePaymentSetup(completePaymentSetupRequestDto, authorization, options)];
214
217
  case 1:
215
218
  localVarAxiosArgs = _a.sent();
216
219
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -219,18 +222,19 @@ var PaymentSetupApiFp = function (configuration) {
219
222
  });
220
223
  },
221
224
  /**
222
- *
223
- * @param {object} body
225
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
226
+ * @summary Initiate a payment setup
227
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
224
228
  * @param {string} [authorization] Bearer Token
225
229
  * @param {*} [options] Override http request option.
226
230
  * @throws {RequiredError}
227
231
  */
228
- initiatePaymentSetup: function (body, authorization, options) {
232
+ initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
229
233
  return __awaiter(this, void 0, void 0, function () {
230
234
  var localVarAxiosArgs;
231
235
  return __generator(this, function (_a) {
232
236
  switch (_a.label) {
233
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(body, authorization, options)];
237
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options)];
234
238
  case 1:
235
239
  localVarAxiosArgs = _a.sent();
236
240
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -249,24 +253,26 @@ var PaymentSetupApiFactory = function (configuration, basePath, axios) {
249
253
  var localVarFp = (0, exports.PaymentSetupApiFp)(configuration);
250
254
  return {
251
255
  /**
252
- *
253
- * @param {object} body
256
+ * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
257
+ * @summary Complete a payment setup
258
+ * @param {CompletePaymentSetupRequestDto} completePaymentSetupRequestDto
254
259
  * @param {string} [authorization] Bearer Token
255
260
  * @param {*} [options] Override http request option.
256
261
  * @throws {RequiredError}
257
262
  */
258
- completePaymentSetup: function (body, authorization, options) {
259
- return localVarFp.completePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
263
+ completePaymentSetup: function (completePaymentSetupRequestDto, authorization, options) {
264
+ return localVarFp.completePaymentSetup(completePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
260
265
  },
261
266
  /**
262
- *
263
- * @param {object} body
267
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
268
+ * @summary Initiate a payment setup
269
+ * @param {InitiatePaymentSetupRequestDto} initiatePaymentSetupRequestDto
264
270
  * @param {string} [authorization] Bearer Token
265
271
  * @param {*} [options] Override http request option.
266
272
  * @throws {RequiredError}
267
273
  */
268
- initiatePaymentSetup: function (body, authorization, options) {
269
- return localVarFp.initiatePaymentSetup(body, authorization, options).then(function (request) { return request(axios, basePath); });
274
+ initiatePaymentSetup: function (initiatePaymentSetupRequestDto, authorization, options) {
275
+ return localVarFp.initiatePaymentSetup(initiatePaymentSetupRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
270
276
  },
271
277
  };
272
278
  };
@@ -283,7 +289,8 @@ var PaymentSetupApi = /** @class */ (function (_super) {
283
289
  return _super !== null && _super.apply(this, arguments) || this;
284
290
  }
285
291
  /**
286
- *
292
+ * This endpoint is used to save user-provided payment information. The service will send a request to the configured PSP to securely store the payment data.
293
+ * @summary Complete a payment setup
287
294
  * @param {PaymentSetupApiCompletePaymentSetupRequest} requestParameters Request parameters.
288
295
  * @param {*} [options] Override http request option.
289
296
  * @throws {RequiredError}
@@ -291,10 +298,11 @@ var PaymentSetupApi = /** @class */ (function (_super) {
291
298
  */
292
299
  PaymentSetupApi.prototype.completePaymentSetup = function (requestParameters, options) {
293
300
  var _this = this;
294
- return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
301
+ return (0, exports.PaymentSetupApiFp)(this.configuration).completePaymentSetup(requestParameters.completePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
295
302
  };
296
303
  /**
297
- *
304
+ * This initiates an account within the configured payment service provider, whichgenerates a secret token, allowing the user to add their payment information.
305
+ * @summary Initiate a payment setup
298
306
  * @param {PaymentSetupApiInitiatePaymentSetupRequest} requestParameters Request parameters.
299
307
  * @param {*} [options] Override http request option.
300
308
  * @throws {RequiredError}
@@ -302,7 +310,7 @@ var PaymentSetupApi = /** @class */ (function (_super) {
302
310
  */
303
311
  PaymentSetupApi.prototype.initiatePaymentSetup = function (requestParameters, options) {
304
312
  var _this = this;
305
- return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.body, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
313
+ return (0, exports.PaymentSetupApiFp)(this.configuration).initiatePaymentSetup(requestParameters.initiatePaymentSetupRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
306
314
  };
307
315
  return PaymentSetupApi;
308
316
  }(base_1.BaseAPI));
@@ -13,6 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreatePaymentRequestDto } from '../models';
16
+ import { CreatePaymentResponseClass } from '../models';
17
+ import { GetPaymentResponseClass } from '../models';
18
+ import { ListPaymentsResponseClass } from '../models';
16
19
  /**
17
20
  * PaymentsApi - axios parameter creator
18
21
  * @export
@@ -68,7 +71,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
68
71
  * @param {*} [options] Override http request option.
69
72
  * @throws {RequiredError}
70
73
  */
71
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
74
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentResponseClass>>;
72
75
  /**
73
76
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
74
77
  * @summary Retrieve the payment
@@ -78,7 +81,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
78
81
  * @param {*} [options] Override http request option.
79
82
  * @throws {RequiredError}
80
83
  */
81
- getPayment(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
84
+ getPayment(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetPaymentResponseClass>>;
82
85
  /**
83
86
  * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
84
87
  * @summary List payments
@@ -93,7 +96,7 @@ export declare const PaymentsApiFp: (configuration?: Configuration) => {
93
96
  * @param {*} [options] Override http request option.
94
97
  * @throws {RequiredError}
95
98
  */
96
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
99
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListPaymentsResponseClass>>;
97
100
  };
98
101
  /**
99
102
  * PaymentsApi - factory interface
@@ -109,7 +112,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
109
112
  * @param {*} [options] Override http request option.
110
113
  * @throws {RequiredError}
111
114
  */
112
- createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
115
+ createPayment(idempotencyKey: string, createPaymentRequestDto: CreatePaymentRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentResponseClass>;
113
116
  /**
114
117
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
115
118
  * @summary Retrieve the payment
@@ -119,7 +122,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
119
122
  * @param {*} [options] Override http request option.
120
123
  * @throws {RequiredError}
121
124
  */
122
- getPayment(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
125
+ getPayment(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetPaymentResponseClass>;
123
126
  /**
124
127
  * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
125
128
  * @summary List payments
@@ -134,7 +137,7 @@ export declare const PaymentsApiFactory: (configuration?: Configuration, basePat
134
137
  * @param {*} [options] Override http request option.
135
138
  * @throws {RequiredError}
136
139
  */
137
- listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
140
+ listPayments(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: any, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListPaymentsResponseClass>;
138
141
  };
139
142
  /**
140
143
  * Request parameters for createPayment operation in PaymentsApi.
@@ -256,7 +259,7 @@ export declare class PaymentsApi extends BaseAPI {
256
259
  * @throws {RequiredError}
257
260
  * @memberof PaymentsApi
258
261
  */
259
- createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
262
+ createPayment(requestParameters: PaymentsApiCreatePaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentResponseClass, any>>;
260
263
  /**
261
264
  * Retrieves the details of the payment that was previously created. Supply the unique payment code that was returned when you created it and Emil Api will return the corresponding payment information.
262
265
  * @summary Retrieve the payment
@@ -265,7 +268,7 @@ export declare class PaymentsApi extends BaseAPI {
265
268
  * @throws {RequiredError}
266
269
  * @memberof PaymentsApi
267
270
  */
268
- getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
271
+ getPayment(requestParameters: PaymentsApiGetPaymentRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetPaymentResponseClass, any>>;
269
272
  /**
270
273
  * Returns a list of payments you have previously created. The payments are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
271
274
  * @summary List payments
@@ -274,5 +277,5 @@ export declare class PaymentsApi extends BaseAPI {
274
277
  * @throws {RequiredError}
275
278
  * @memberof PaymentsApi
276
279
  */
277
- listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
280
+ listPayments(requestParameters?: PaymentsApiListPaymentsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListPaymentsResponseClass, any>>;
278
281
  }
@@ -13,6 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
15
  import { CreateRefundRequestDto } from '../models';
16
+ import { CreateRefundResponseClass } from '../models';
17
+ import { GetRefundResponseClass } from '../models';
18
+ import { ListRefundsResponseClass } from '../models';
16
19
  /**
17
20
  * RefundsApi - axios parameter creator
18
21
  * @export
@@ -66,7 +69,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
66
69
  * @param {*} [options] Override http request option.
67
70
  * @throws {RequiredError}
68
71
  */
69
- createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
72
+ createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateRefundResponseClass>>;
70
73
  /**
71
74
  * Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
72
75
  * @summary Retrieve the refund
@@ -76,7 +79,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
76
79
  * @param {*} [options] Override http request option.
77
80
  * @throws {RequiredError}
78
81
  */
79
- getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
82
+ getRefund(code: string, authorization?: string, expand?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetRefundResponseClass>>;
80
83
  /**
81
84
  * Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
82
85
  * @summary List refunds
@@ -91,7 +94,7 @@ export declare const RefundsApiFp: (configuration?: Configuration) => {
91
94
  * @param {*} [options] Override http request option.
92
95
  * @throws {RequiredError}
93
96
  */
94
- listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
97
+ listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListRefundsResponseClass>>;
95
98
  };
96
99
  /**
97
100
  * RefundsApi - factory interface
@@ -106,7 +109,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
106
109
  * @param {*} [options] Override http request option.
107
110
  * @throws {RequiredError}
108
111
  */
109
- createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<void>;
112
+ createRefund(createRefundRequestDto: CreateRefundRequestDto, authorization?: string, options?: any): AxiosPromise<CreateRefundResponseClass>;
110
113
  /**
111
114
  * Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
112
115
  * @summary Retrieve the refund
@@ -116,7 +119,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
116
119
  * @param {*} [options] Override http request option.
117
120
  * @throws {RequiredError}
118
121
  */
119
- getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<void>;
122
+ getRefund(code: string, authorization?: string, expand?: string, options?: any): AxiosPromise<GetRefundResponseClass>;
120
123
  /**
121
124
  * Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
122
125
  * @summary List refunds
@@ -131,7 +134,7 @@ export declare const RefundsApiFactory: (configuration?: Configuration, basePath
131
134
  * @param {*} [options] Override http request option.
132
135
  * @throws {RequiredError}
133
136
  */
134
- listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<void>;
137
+ listRefunds(authorization?: string, pageSize?: any, pageToken?: any, filter?: string, search?: string, order?: string, expand?: string, filters?: string, options?: any): AxiosPromise<ListRefundsResponseClass>;
135
138
  };
136
139
  /**
137
140
  * Request parameters for createRefund operation in RefundsApi.
@@ -247,7 +250,7 @@ export declare class RefundsApi extends BaseAPI {
247
250
  * @throws {RequiredError}
248
251
  * @memberof RefundsApi
249
252
  */
250
- createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
253
+ createRefund(requestParameters: RefundsApiCreateRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateRefundResponseClass, any>>;
251
254
  /**
252
255
  * Retrieves the details of the refund that was previously created. Supply the unique refund code that was returned when you created it and Emil Api will return the corresponding refund information.
253
256
  * @summary Retrieve the refund
@@ -256,7 +259,7 @@ export declare class RefundsApi extends BaseAPI {
256
259
  * @throws {RequiredError}
257
260
  * @memberof RefundsApi
258
261
  */
259
- getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
262
+ getRefund(requestParameters: RefundsApiGetRefundRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetRefundResponseClass, any>>;
260
263
  /**
261
264
  * Returns a list of refunds you have previously created. The refunds are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
262
265
  * @summary List refunds
@@ -265,5 +268,5 @@ export declare class RefundsApi extends BaseAPI {
265
268
  * @throws {RequiredError}
266
269
  * @memberof RefundsApi
267
270
  */
268
- listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any>>;
271
+ listRefunds(requestParameters?: RefundsApiListRefundsRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ListRefundsResponseClass, any>>;
269
272
  }
package/dist/base.d.ts CHANGED
@@ -52,11 +52,13 @@ export declare class BaseAPI {
52
52
  protected axios: AxiosInstance;
53
53
  protected configuration: Configuration | undefined;
54
54
  private tokenData?;
55
+ private permissions;
55
56
  constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
56
57
  selectEnvironment(env: Environment): void;
57
58
  selectBasePath(path: string): void;
59
+ getPermissions(): Array<string>;
58
60
  authorize(username: string, password: string): Promise<void>;
59
- refreshTokenInternal(): Promise<string>;
61
+ refreshTokenInternal(): Promise<LoginClass>;
60
62
  private storeTokenData;
61
63
  loadTokenData(): void;
62
64
  cleanTokenData(): void;
package/dist/base.js CHANGED
@@ -121,6 +121,7 @@ var BaseAPI = /** @class */ (function () {
121
121
  if (axios === void 0) { axios = axios_1.default; }
122
122
  this.basePath = basePath;
123
123
  this.axios = axios;
124
+ this.permissions = [];
124
125
  this.loadTokenData();
125
126
  if (configuration) {
126
127
  this.configuration = configuration;
@@ -143,11 +144,14 @@ var BaseAPI = /** @class */ (function () {
143
144
  BaseAPI.prototype.selectBasePath = function (path) {
144
145
  this.configuration.basePath = path;
145
146
  };
147
+ BaseAPI.prototype.getPermissions = function () {
148
+ return this.permissions;
149
+ };
146
150
  BaseAPI.prototype.authorize = function (username, password) {
147
151
  return __awaiter(this, void 0, void 0, function () {
148
- var options, response, accessToken;
149
- return __generator(this, function (_a) {
150
- switch (_a.label) {
152
+ var options, response, _a, accessToken, permissions;
153
+ return __generator(this, function (_b) {
154
+ switch (_b.label) {
151
155
  case 0:
152
156
  options = {
153
157
  method: 'POST',
@@ -161,12 +165,13 @@ var BaseAPI = /** @class */ (function () {
161
165
  };
162
166
  return [4 /*yield*/, axios_1.default.request(options)];
163
167
  case 1:
164
- response = _a.sent();
165
- accessToken = response.data.accessToken;
168
+ response = _b.sent();
169
+ _a = response.data, accessToken = _a.accessToken, permissions = _a.permissions;
166
170
  this.configuration.username = username;
167
171
  this.configuration.accessToken = "Bearer ".concat(accessToken);
168
172
  this.tokenData.username = username;
169
173
  this.tokenData.accessToken = accessToken;
174
+ this.permissions = permissions;
170
175
  this.storeTokenData(__assign({}, this.tokenData));
171
176
  return [2 /*return*/];
172
177
  }
@@ -175,13 +180,13 @@ var BaseAPI = /** @class */ (function () {
175
180
  };
176
181
  BaseAPI.prototype.refreshTokenInternal = function () {
177
182
  return __awaiter(this, void 0, void 0, function () {
178
- var username, options, accessToken;
183
+ var username, options, response;
179
184
  return __generator(this, function (_a) {
180
185
  switch (_a.label) {
181
186
  case 0:
182
187
  username = this.configuration.username;
183
188
  if (!username) {
184
- return [2 /*return*/, ''];
189
+ throw new Error('Failed to refresh token.');
185
190
  }
186
191
  options = {
187
192
  method: 'POST',
@@ -194,8 +199,8 @@ var BaseAPI = /** @class */ (function () {
194
199
  };
195
200
  return [4 /*yield*/, axios_1.default.request(options)];
196
201
  case 1:
197
- accessToken = (_a.sent()).data.accessToken;
198
- return [2 /*return*/, accessToken];
202
+ response = _a.sent();
203
+ return [2 /*return*/, response.data];
199
204
  }
200
205
  });
201
206
  });
@@ -221,22 +226,23 @@ var BaseAPI = /** @class */ (function () {
221
226
  axios.interceptors.response.use(function (res) {
222
227
  return res;
223
228
  }, function (err) { return __awaiter(_this, void 0, void 0, function () {
224
- var originalConfig, tokenString, accessToken, _error_1, tokenString, accessToken, _error_2;
225
- return __generator(this, function (_a) {
226
- switch (_a.label) {
229
+ var originalConfig, _a, tokenString, permissions, accessToken, _error_1, _b, tokenString, permissions, accessToken, _error_2;
230
+ return __generator(this, function (_c) {
231
+ switch (_c.label) {
227
232
  case 0:
228
233
  originalConfig = err.config;
229
234
  if (!(err.response && !(err.response instanceof XMLHttpRequest))) return [3 /*break*/, 5];
230
235
  if (!((err.response.status === 401 || err.response.status === 403)
231
236
  && !originalConfig._retry)) return [3 /*break*/, 4];
232
237
  originalConfig._retry = true;
233
- _a.label = 1;
238
+ _c.label = 1;
234
239
  case 1:
235
- _a.trys.push([1, 3, , 4]);
240
+ _c.trys.push([1, 3, , 4]);
236
241
  return [4 /*yield*/, this.refreshTokenInternal()];
237
242
  case 2:
238
- tokenString = _a.sent();
243
+ _a = _c.sent(), tokenString = _a.accessToken, permissions = _a.permissions;
239
244
  accessToken = "Bearer ".concat(tokenString);
245
+ this.permissions = permissions;
240
246
  delete originalConfig.headers['Authorization'];
241
247
  originalConfig.headers['Authorization'] = accessToken;
242
248
  this.configuration.accessToken = accessToken;
@@ -244,7 +250,7 @@ var BaseAPI = /** @class */ (function () {
244
250
  this.storeTokenData(this.tokenData);
245
251
  return [2 /*return*/, axios(originalConfig)];
246
252
  case 3:
247
- _error_1 = _a.sent();
253
+ _error_1 = _c.sent();
248
254
  if (_error_1.response && _error_1.response.data) {
249
255
  return [2 /*return*/, Promise.reject(_error_1.response.data)];
250
256
  }
@@ -255,13 +261,14 @@ var BaseAPI = /** @class */ (function () {
255
261
  && originalConfig.headers.hasOwnProperty('Authorization')
256
262
  && _retry_count < 4)) return [3 /*break*/, 9];
257
263
  _retry_count++;
258
- _a.label = 6;
264
+ _c.label = 6;
259
265
  case 6:
260
- _a.trys.push([6, 8, , 9]);
266
+ _c.trys.push([6, 8, , 9]);
261
267
  return [4 /*yield*/, this.refreshTokenInternal()];
262
268
  case 7:
263
- tokenString = _a.sent();
269
+ _b = _c.sent(), tokenString = _b.accessToken, permissions = _b.permissions;
264
270
  accessToken = "Bearer ".concat(tokenString);
271
+ this.permissions = permissions;
265
272
  _retry = true;
266
273
  originalConfig.headers['Authorization'] = accessToken;
267
274
  this.configuration.accessToken = accessToken;
@@ -269,7 +276,7 @@ var BaseAPI = /** @class */ (function () {
269
276
  this.storeTokenData(this.tokenData);
270
277
  return [2 /*return*/, axios.request(__assign({}, originalConfig))];
271
278
  case 8:
272
- _error_2 = _a.sent();
279
+ _error_2 = _c.sent();
273
280
  if (_error_2.response && _error_2.response.data) {
274
281
  return [2 /*return*/, Promise.reject(_error_2.response.data)];
275
282
  }
@@ -0,0 +1,72 @@
1
+ /**
2
+ * Emil Payment Service
3
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ * Contact: kontakt@emil.de
7
+ *
8
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
9
+ * https://openapi-generator.tech
10
+ * Do not edit the class manually.
11
+ */
12
+ /**
13
+ *
14
+ * @export
15
+ * @interface BankAccountClassWithoutExpandProperties
16
+ */
17
+ export interface BankAccountClassWithoutExpandProperties {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof BankAccountClassWithoutExpandProperties
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof BankAccountClassWithoutExpandProperties
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * User account code associated with bank account.
32
+ * @type {string}
33
+ * @memberof BankAccountClassWithoutExpandProperties
34
+ */
35
+ 'accountCode'?: string;
36
+ /**
37
+ * International bank account number with witch the bank account is created.
38
+ * @type {string}
39
+ * @memberof BankAccountClassWithoutExpandProperties
40
+ */
41
+ 'iban': string;
42
+ /**
43
+ * Business Identifier Codes.
44
+ * @type {string}
45
+ * @memberof BankAccountClassWithoutExpandProperties
46
+ */
47
+ 'bic': string;
48
+ /**
49
+ * Bank account holder.
50
+ * @type {string}
51
+ * @memberof BankAccountClassWithoutExpandProperties
52
+ */
53
+ 'accountHolder': string;
54
+ /**
55
+ * Time at which the object was created.
56
+ * @type {string}
57
+ * @memberof BankAccountClassWithoutExpandProperties
58
+ */
59
+ 'createdAt': string;
60
+ /**
61
+ * Time at which the object was updated.
62
+ * @type {string}
63
+ * @memberof BankAccountClassWithoutExpandProperties
64
+ */
65
+ 'updatedAt': string;
66
+ /**
67
+ * Partner code associated with bank account.
68
+ * @type {string}
69
+ * @memberof BankAccountClassWithoutExpandProperties
70
+ */
71
+ 'partnerCode'?: string;
72
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil Payment Service
6
+ * This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
10
+ *
11
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
12
+ * https://openapi-generator.tech
13
+ * Do not edit the class manually.
14
+ */
15
+ Object.defineProperty(exports, "__esModule", { value: true });