@emilgroup/payment-sdk 1.22.1-beta.84 → 1.22.1-beta.86

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 (34) hide show
  1. package/.openapi-generator/FILES +6 -0
  2. package/README.md +2 -2
  3. package/api/bank-order-texts-api.ts +265 -0
  4. package/api/payment-receipts-api.ts +120 -12
  5. package/api.ts +2 -0
  6. package/dist/api/bank-order-texts-api.d.ts +144 -0
  7. package/dist/api/bank-order-texts-api.js +325 -0
  8. package/dist/api/payment-receipts-api.d.ts +68 -12
  9. package/dist/api/payment-receipts-api.js +109 -10
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/bank-order-texts-class.d.ts +42 -0
  13. package/dist/models/bank-order-texts-class.js +15 -0
  14. package/dist/models/cancel-payment-receipt-response-class.d.ts +25 -0
  15. package/dist/models/cancel-payment-receipt-response-class.js +15 -0
  16. package/dist/models/get-bank-order-texts-response-class.d.ts +25 -0
  17. package/dist/models/get-bank-order-texts-response-class.js +15 -0
  18. package/dist/models/index.d.ts +5 -0
  19. package/dist/models/index.js +5 -0
  20. package/dist/models/payment-receipt-class.d.ts +12 -0
  21. package/dist/models/payment-receipt-entity.d.ts +18 -0
  22. package/dist/models/update-bank-order-texts-request-dto.d.ts +32 -0
  23. package/dist/models/update-bank-order-texts-request-dto.js +15 -0
  24. package/dist/models/update-bank-order-texts-response-class.d.ts +25 -0
  25. package/dist/models/update-bank-order-texts-response-class.js +15 -0
  26. package/models/bank-order-texts-class.ts +48 -0
  27. package/models/cancel-payment-receipt-response-class.ts +31 -0
  28. package/models/get-bank-order-texts-response-class.ts +31 -0
  29. package/models/index.ts +5 -0
  30. package/models/payment-receipt-class.ts +12 -0
  31. package/models/payment-receipt-entity.ts +18 -0
  32. package/models/update-bank-order-texts-request-dto.ts +36 -0
  33. package/models/update-bank-order-texts-response-class.ts +31 -0
  34. package/package.json +1 -1
@@ -12,6 +12,7 @@
12
12
  import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
13
13
  import { Configuration } from '../configuration';
14
14
  import { RequestArgs, BaseAPI } from '../base';
15
+ import { CancelPaymentReceiptResponseClass } from '../models';
15
16
  import { CreatePaymentReceiptRequestDto } from '../models';
16
17
  import { CreatePaymentReceiptResponseClass } from '../models';
17
18
  import { GetPaymentReceiptResponseClass } from '../models';
@@ -22,6 +23,15 @@ import { UpdatePaymentReceiptResponseClass } from '../models';
22
23
  * @export
23
24
  */
24
25
  export declare const PaymentReceiptsApiAxiosParamCreator: (configuration?: Configuration) => {
26
+ /**
27
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
28
+ * @summary Cancel the payment receipt
29
+ * @param {string} code Unique identifier for the object.
30
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
31
+ * @param {*} [options] Override http request option.
32
+ * @throws {RequiredError}
33
+ */
34
+ cancelPaymentReceipt: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
25
35
  /**
26
36
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
27
37
  * @summary Create the payment receipt
@@ -32,7 +42,7 @@ export declare const PaymentReceiptsApiAxiosParamCreator: (configuration?: Confi
32
42
  */
33
43
  createPaymentReceipt: (createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
34
44
  /**
35
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
45
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
36
46
  * @summary Delete the payment receipt
37
47
  * @param {string} code Unique identifier for the object.
38
48
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -56,11 +66,11 @@ export declare const PaymentReceiptsApiAxiosParamCreator: (configuration?: Confi
56
66
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
57
67
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
58
68
  * @param {string} [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.
59
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
69
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
60
70
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, amount, paymentRequestCode&lt;/i&gt;
61
71
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount&lt;/i&gt;
62
72
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
63
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
73
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
64
74
  * @param {*} [options] Override http request option.
65
75
  * @throws {RequiredError}
66
76
  */
@@ -80,6 +90,15 @@ export declare const PaymentReceiptsApiAxiosParamCreator: (configuration?: Confi
80
90
  * @export
81
91
  */
82
92
  export declare const PaymentReceiptsApiFp: (configuration?: Configuration) => {
93
+ /**
94
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
95
+ * @summary Cancel the payment receipt
96
+ * @param {string} code Unique identifier for the object.
97
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
98
+ * @param {*} [options] Override http request option.
99
+ * @throws {RequiredError}
100
+ */
101
+ cancelPaymentReceipt(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CancelPaymentReceiptResponseClass>>;
83
102
  /**
84
103
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
85
104
  * @summary Create the payment receipt
@@ -90,7 +109,7 @@ export declare const PaymentReceiptsApiFp: (configuration?: Configuration) => {
90
109
  */
91
110
  createPaymentReceipt(createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreatePaymentReceiptResponseClass>>;
92
111
  /**
93
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
112
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
94
113
  * @summary Delete the payment receipt
95
114
  * @param {string} code Unique identifier for the object.
96
115
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -114,11 +133,11 @@ export declare const PaymentReceiptsApiFp: (configuration?: Configuration) => {
114
133
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
115
134
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
116
135
  * @param {string} [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.
117
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
136
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
118
137
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, amount, paymentRequestCode&lt;/i&gt;
119
138
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount&lt;/i&gt;
120
139
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
121
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
140
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
122
141
  * @param {*} [options] Override http request option.
123
142
  * @throws {RequiredError}
124
143
  */
@@ -138,6 +157,15 @@ export declare const PaymentReceiptsApiFp: (configuration?: Configuration) => {
138
157
  * @export
139
158
  */
140
159
  export declare const PaymentReceiptsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
160
+ /**
161
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
162
+ * @summary Cancel the payment receipt
163
+ * @param {string} code Unique identifier for the object.
164
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
165
+ * @param {*} [options] Override http request option.
166
+ * @throws {RequiredError}
167
+ */
168
+ cancelPaymentReceipt(code: string, authorization?: string, options?: any): AxiosPromise<CancelPaymentReceiptResponseClass>;
141
169
  /**
142
170
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
143
171
  * @summary Create the payment receipt
@@ -148,7 +176,7 @@ export declare const PaymentReceiptsApiFactory: (configuration?: Configuration,
148
176
  */
149
177
  createPaymentReceipt(createPaymentReceiptRequestDto: CreatePaymentReceiptRequestDto, authorization?: string, options?: any): AxiosPromise<CreatePaymentReceiptResponseClass>;
150
178
  /**
151
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
179
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
152
180
  * @summary Delete the payment receipt
153
181
  * @param {string} code Unique identifier for the object.
154
182
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -172,11 +200,11 @@ export declare const PaymentReceiptsApiFactory: (configuration?: Configuration,
172
200
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
173
201
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
174
202
  * @param {string} [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.
175
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
203
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
176
204
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, amount, paymentRequestCode&lt;/i&gt;
177
205
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount&lt;/i&gt;
178
206
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
179
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
207
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
180
208
  * @param {*} [options] Override http request option.
181
209
  * @throws {RequiredError}
182
210
  */
@@ -191,6 +219,25 @@ export declare const PaymentReceiptsApiFactory: (configuration?: Configuration,
191
219
  */
192
220
  updatePaymentReceipt(code: string, authorization?: string, options?: any): AxiosPromise<UpdatePaymentReceiptResponseClass>;
193
221
  };
222
+ /**
223
+ * Request parameters for cancelPaymentReceipt operation in PaymentReceiptsApi.
224
+ * @export
225
+ * @interface PaymentReceiptsApiCancelPaymentReceiptRequest
226
+ */
227
+ export interface PaymentReceiptsApiCancelPaymentReceiptRequest {
228
+ /**
229
+ * Unique identifier for the object.
230
+ * @type {string}
231
+ * @memberof PaymentReceiptsApiCancelPaymentReceipt
232
+ */
233
+ readonly code: string;
234
+ /**
235
+ * Bearer Token: provided by the login endpoint under the name accessToken.
236
+ * @type {string}
237
+ * @memberof PaymentReceiptsApiCancelPaymentReceipt
238
+ */
239
+ readonly authorization?: string;
240
+ }
194
241
  /**
195
242
  * Request parameters for createPaymentReceipt operation in PaymentReceiptsApi.
196
243
  * @export
@@ -279,7 +326,7 @@ export interface PaymentReceiptsApiListPaymentReceiptsRequest {
279
326
  */
280
327
  readonly pageToken?: string;
281
328
  /**
282
- * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
329
+ * Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
283
330
  * @type {string}
284
331
  * @memberof PaymentReceiptsApiListPaymentReceipts
285
332
  */
@@ -303,7 +350,7 @@ export interface PaymentReceiptsApiListPaymentReceiptsRequest {
303
350
  */
304
351
  readonly expand?: string;
305
352
  /**
306
- * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
353
+ * Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
307
354
  * @type {string}
308
355
  * @memberof PaymentReceiptsApiListPaymentReceipts
309
356
  */
@@ -335,6 +382,15 @@ export interface PaymentReceiptsApiUpdatePaymentReceiptRequest {
335
382
  * @extends {BaseAPI}
336
383
  */
337
384
  export declare class PaymentReceiptsApi extends BaseAPI {
385
+ /**
386
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
387
+ * @summary Cancel the payment receipt
388
+ * @param {PaymentReceiptsApiCancelPaymentReceiptRequest} requestParameters Request parameters.
389
+ * @param {*} [options] Override http request option.
390
+ * @throws {RequiredError}
391
+ * @memberof PaymentReceiptsApi
392
+ */
393
+ cancelPaymentReceipt(requestParameters: PaymentReceiptsApiCancelPaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CancelPaymentReceiptResponseClass, any, {}, any>>;
338
394
  /**
339
395
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
340
396
  * @summary Create the payment receipt
@@ -345,7 +401,7 @@ export declare class PaymentReceiptsApi extends BaseAPI {
345
401
  */
346
402
  createPaymentReceipt(requestParameters: PaymentReceiptsApiCreatePaymentReceiptRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreatePaymentReceiptResponseClass, any, {}, any>>;
347
403
  /**
348
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
404
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
349
405
  * @summary Delete the payment receipt
350
406
  * @param {PaymentReceiptsApiDeletePaymentReceiptRequest} requestParameters Request parameters.
351
407
  * @param {*} [options] Override http request option.
@@ -92,6 +92,61 @@ var base_1 = require("../base");
92
92
  var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
93
93
  var _this = this;
94
94
  return {
95
+ /**
96
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
97
+ * @summary Cancel the payment receipt
98
+ * @param {string} code Unique identifier for the object.
99
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
100
+ * @param {*} [options] Override http request option.
101
+ * @throws {RequiredError}
102
+ */
103
+ cancelPaymentReceipt: function (code, authorization, options) {
104
+ if (options === void 0) { options = {}; }
105
+ return __awaiter(_this, void 0, void 0, function () {
106
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, authorizationIsAuth, authorizationValue, authorizationKeepEmpty, headersFromBaseOptions;
107
+ var _a;
108
+ return __generator(this, function (_b) {
109
+ switch (_b.label) {
110
+ case 0:
111
+ // verify required parameter 'code' is not null or undefined
112
+ (0, common_1.assertParamExists)('cancelPaymentReceipt', 'code', code);
113
+ localVarPath = "/paymentservice/v1/payment-receipts/{code}/cancel"
114
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
115
+ localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
116
+ if (configuration) {
117
+ baseOptions = configuration.baseOptions;
118
+ baseAccessToken = configuration.accessToken;
119
+ }
120
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
121
+ localVarHeaderParameter = {};
122
+ localVarQueryParameter = {};
123
+ // authentication bearer required
124
+ // http bearer authentication required
125
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)
126
+ // Only Authorization falls back to the configured token. Without a session it is sent as before, empty when
127
+ // no token is stored, so a refused call still refreshes; a session call (account header) sends none.
128
+ ];
129
+ case 1:
130
+ // authentication bearer required
131
+ // http bearer authentication required
132
+ _b.sent();
133
+ authorizationIsAuth = 'Authorization'.toLowerCase() === 'authorization';
134
+ authorizationValue = authorizationIsAuth ? (authorization || baseAccessToken) : authorization;
135
+ authorizationKeepEmpty = authorizationIsAuth && authorizationValue === '' && !((_a = baseOptions === null || baseOptions === void 0 ? void 0 : baseOptions.headers) === null || _a === void 0 ? void 0 : _a['X-Emil-Account']);
136
+ if (authorizationValue || authorizationKeepEmpty) {
137
+ localVarHeaderParameter['Authorization'] = String(authorizationValue);
138
+ }
139
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
140
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
141
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
142
+ return [2 /*return*/, {
143
+ url: (0, common_1.toPathString)(localVarUrlObj),
144
+ options: localVarRequestOptions,
145
+ }];
146
+ }
147
+ });
148
+ });
149
+ },
95
150
  /**
96
151
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
97
152
  * @summary Create the payment receipt
@@ -149,7 +204,7 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
149
204
  });
150
205
  },
151
206
  /**
152
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
207
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
153
208
  * @summary Delete the payment receipt
154
209
  * @param {string} code Unique identifier for the object.
155
210
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -267,11 +322,11 @@ var PaymentReceiptsApiAxiosParamCreator = function (configuration) {
267
322
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
268
323
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
269
324
  * @param {string} [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.
270
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
325
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
271
326
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, amount, paymentRequestCode&lt;/i&gt;
272
327
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount&lt;/i&gt;
273
328
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
274
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
329
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
275
330
  * @param {*} [options] Override http request option.
276
331
  * @throws {RequiredError}
277
332
  */
@@ -402,6 +457,27 @@ exports.PaymentReceiptsApiAxiosParamCreator = PaymentReceiptsApiAxiosParamCreato
402
457
  var PaymentReceiptsApiFp = function (configuration) {
403
458
  var localVarAxiosParamCreator = (0, exports.PaymentReceiptsApiAxiosParamCreator)(configuration);
404
459
  return {
460
+ /**
461
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
462
+ * @summary Cancel the payment receipt
463
+ * @param {string} code Unique identifier for the object.
464
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
465
+ * @param {*} [options] Override http request option.
466
+ * @throws {RequiredError}
467
+ */
468
+ cancelPaymentReceipt: function (code, authorization, options) {
469
+ return __awaiter(this, void 0, void 0, function () {
470
+ var localVarAxiosArgs;
471
+ return __generator(this, function (_a) {
472
+ switch (_a.label) {
473
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.cancelPaymentReceipt(code, authorization, options)];
474
+ case 1:
475
+ localVarAxiosArgs = _a.sent();
476
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
477
+ }
478
+ });
479
+ });
480
+ },
405
481
  /**
406
482
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
407
483
  * @summary Create the payment receipt
@@ -424,7 +500,7 @@ var PaymentReceiptsApiFp = function (configuration) {
424
500
  });
425
501
  },
426
502
  /**
427
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
503
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
428
504
  * @summary Delete the payment receipt
429
505
  * @param {string} code Unique identifier for the object.
430
506
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -472,11 +548,11 @@ var PaymentReceiptsApiFp = function (configuration) {
472
548
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
473
549
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
474
550
  * @param {string} [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.
475
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
551
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
476
552
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, amount, paymentRequestCode&lt;/i&gt;
477
553
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount&lt;/i&gt;
478
554
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
479
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
555
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
480
556
  * @param {*} [options] Override http request option.
481
557
  * @throws {RequiredError}
482
558
  */
@@ -524,6 +600,17 @@ exports.PaymentReceiptsApiFp = PaymentReceiptsApiFp;
524
600
  var PaymentReceiptsApiFactory = function (configuration, basePath, axios) {
525
601
  var localVarFp = (0, exports.PaymentReceiptsApiFp)(configuration);
526
602
  return {
603
+ /**
604
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
605
+ * @summary Cancel the payment receipt
606
+ * @param {string} code Unique identifier for the object.
607
+ * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
608
+ * @param {*} [options] Override http request option.
609
+ * @throws {RequiredError}
610
+ */
611
+ cancelPaymentReceipt: function (code, authorization, options) {
612
+ return localVarFp.cancelPaymentReceipt(code, authorization, options).then(function (request) { return request(axios, basePath); });
613
+ },
527
614
  /**
528
615
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
529
616
  * @summary Create the payment receipt
@@ -536,7 +623,7 @@ var PaymentReceiptsApiFactory = function (configuration, basePath, axios) {
536
623
  return localVarFp.createPaymentReceipt(createPaymentReceiptRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
537
624
  },
538
625
  /**
539
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
626
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
540
627
  * @summary Delete the payment receipt
541
628
  * @param {string} code Unique identifier for the object.
542
629
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
@@ -564,11 +651,11 @@ var PaymentReceiptsApiFactory = function (configuration, basePath, axios) {
564
651
  * @param {string} [authorization] Bearer Token: provided by the login endpoint under the name accessToken.
565
652
  * @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
566
653
  * @param {string} [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.
567
- * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
654
+ * @param {string} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
568
655
  * @param {string} [search] Search the response for matches in any searchable field. Use filter instead where possible for improved performance.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Searchable fields: code, amount, paymentRequestCode&lt;/i&gt;
569
656
  * @param {string} [order] Order allows you to specify the desired order of entities retrieved from the server by ascending (ASC) or descending (DESC) order.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, createdAt, amount&lt;/i&gt;
570
657
  * @param {string} [expand] Expand to fetch additional information about the list items. Expanding resources can reduce the number of API calls required to accomplish a task. Use with discretion as some expanded fields can drastically increase payload size.&lt;br/&gt; &lt;br/&gt;
571
- * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount&lt;/i&gt;
658
+ * @param {string} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations.&lt;br/&gt; &lt;br/&gt; &lt;i&gt;Allowed values: id, code, createdAt, psp, direction, paymentRequestCode, amount, cancelledAt&lt;/i&gt;
572
659
  * @param {*} [options] Override http request option.
573
660
  * @throws {RequiredError}
574
661
  */
@@ -600,6 +687,18 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
600
687
  function PaymentReceiptsApi() {
601
688
  return _super !== null && _super.apply(this, arguments) || this;
602
689
  }
690
+ /**
691
+ * Cancels a payment receipt recorded by hand: the receipt stays as the trail but no longer counts as paid. Its payment request is recomputed from the receipts left, a closed bank order of that request goes back to processing, and payment.receipt.cancelled is published under the tenant that owns the receipt. A receipt is cancelled once; one recorded by linking a bank transaction is cancelled by undoing that link. **Required Permissions** \"payment-management.payments.delete\"
692
+ * @summary Cancel the payment receipt
693
+ * @param {PaymentReceiptsApiCancelPaymentReceiptRequest} requestParameters Request parameters.
694
+ * @param {*} [options] Override http request option.
695
+ * @throws {RequiredError}
696
+ * @memberof PaymentReceiptsApi
697
+ */
698
+ PaymentReceiptsApi.prototype.cancelPaymentReceipt = function (requestParameters, options) {
699
+ var _this = this;
700
+ return (0, exports.PaymentReceiptsApiFp)(this.configuration).cancelPaymentReceipt(requestParameters.code, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
701
+ };
603
702
  /**
604
703
  * This will create payment receipt. **Required Permissions** \"payment-management.payments.create\"
605
704
  * @summary Create the payment receipt
@@ -613,7 +712,7 @@ var PaymentReceiptsApi = /** @class */ (function (_super) {
613
712
  return (0, exports.PaymentReceiptsApiFp)(this.configuration).createPaymentReceipt(requestParameters.createPaymentReceiptRequestDto, requestParameters.authorization, this.withOwner(options)).then(function (request) { return request(_this.axios, _this.basePath); });
614
713
  };
615
714
  /**
616
- * This will delete payment receipt. **Required Permissions** \"payment-management.payments.delete\"
715
+ * Refused for every payment receipt: a receipt records money that moved, so it is cancelled with a trail and never deleted. Use POST /paymentservice/v1/payment-receipts/{code}/cancel instead. **Required Permissions** \"payment-management.payments.delete\"
617
716
  * @summary Delete the payment receipt
618
717
  * @param {PaymentReceiptsApiDeletePaymentReceiptRequest} requestParameters Request parameters.
619
718
  * @param {*} [options] Override http request option.
package/dist/api.d.ts CHANGED
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/bank-accounts-api';
13
+ export * from './api/bank-order-texts-api';
13
14
  export * from './api/bank-orders-api';
14
15
  export * from './api/bank-transaction-api';
15
16
  export * from './api/billing-addresses-api';
package/dist/api.js CHANGED
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/bank-accounts-api"), exports);
31
+ __exportStar(require("./api/bank-order-texts-api"), exports);
31
32
  __exportStar(require("./api/bank-orders-api"), exports);
32
33
  __exportStar(require("./api/bank-transaction-api"), exports);
33
34
  __exportStar(require("./api/billing-addresses-api"), exports);
@@ -0,0 +1,42 @@
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 BankOrderTextsClass
16
+ */
17
+ export interface BankOrderTextsClass {
18
+ /**
19
+ * Templates per bank order type (`directDebit`): a default template and product templates keyed by product slug.
20
+ * @type {object}
21
+ * @memberof BankOrderTextsClass
22
+ */
23
+ 'templates': object;
24
+ /**
25
+ * Version of the stored texts. Send it back when saving.
26
+ * @type {number}
27
+ * @memberof BankOrderTextsClass
28
+ */
29
+ 'version': number;
30
+ /**
31
+ * When the texts were last saved.
32
+ * @type {string}
33
+ * @memberof BankOrderTextsClass
34
+ */
35
+ 'updatedAt'?: string;
36
+ /**
37
+ * Who saved the texts last.
38
+ * @type {string}
39
+ * @memberof BankOrderTextsClass
40
+ */
41
+ 'updatedBy'?: string;
42
+ }
@@ -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 });
@@ -0,0 +1,25 @@
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
+ import { PaymentReceiptClass } from './payment-receipt-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface CancelPaymentReceiptResponseClass
17
+ */
18
+ export interface CancelPaymentReceiptResponseClass {
19
+ /**
20
+ * The payment receipt after the cancellation.
21
+ * @type {PaymentReceiptClass}
22
+ * @memberof CancelPaymentReceiptResponseClass
23
+ */
24
+ 'paymentReceipt'?: PaymentReceiptClass;
25
+ }
@@ -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 });
@@ -0,0 +1,25 @@
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
+ import { BankOrderTextsClass } from './bank-order-texts-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetBankOrderTextsResponseClass
17
+ */
18
+ export interface GetBankOrderTextsResponseClass {
19
+ /**
20
+ * Bank order texts of the tenant
21
+ * @type {BankOrderTextsClass}
22
+ * @memberof GetBankOrderTextsResponseClass
23
+ */
24
+ 'bankOrderTexts': BankOrderTextsClass;
25
+ }
@@ -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 });
@@ -4,6 +4,7 @@ export * from './bank-account-class-without-expand-properties';
4
4
  export * from './bank-data-class';
5
5
  export * from './bank-order-class';
6
6
  export * from './bank-order-entity';
7
+ export * from './bank-order-texts-class';
7
8
  export * from './bank-order-xml-file-class';
8
9
  export * from './bank-order-xml-file-entity';
9
10
  export * from './bank-transaction-class';
@@ -16,6 +17,7 @@ export * from './billing-address-class';
16
17
  export * from './billing-address-dto';
17
18
  export * from './billing-profile-dto';
18
19
  export * from './billing-profile-limited-response-dto';
20
+ export * from './cancel-payment-receipt-response-class';
19
21
  export * from './card-details-dto';
20
22
  export * from './complete-adyen-payment-setup-request-dto';
21
23
  export * from './complete-braintree-payment-setup-request-dto';
@@ -67,6 +69,7 @@ export * from './exceeding-credit-entity';
67
69
  export * from './generate-invoice-match-suggestions-response-class';
68
70
  export * from './get-bank-account-response-class';
69
71
  export * from './get-bank-order-response-class';
72
+ export * from './get-bank-order-texts-response-class';
70
73
  export * from './get-bank-transactions-response-class';
71
74
  export * from './get-billing-address-response-class';
72
75
  export * from './get-credit-allocation-response-class';
@@ -147,6 +150,8 @@ export * from './update-bank-account-request-dto-rest';
147
150
  export * from './update-bank-account-response-class';
148
151
  export * from './update-bank-order-request-dto';
149
152
  export * from './update-bank-order-response-class';
153
+ export * from './update-bank-order-texts-request-dto';
154
+ export * from './update-bank-order-texts-response-class';
150
155
  export * from './update-billing-address-request-dto';
151
156
  export * from './update-billing-address-response-class';
152
157
  export * from './update-payment-receipt-response-class';