@emilgroup/payment-sdk 1.4.1-beta.6 → 1.4.1-beta.8
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.
- package/.openapi-generator/FILES +2 -0
- package/README.md +2 -2
- package/api/bank-transaction-api.ts +46 -12
- package/dist/api/bank-transaction-api.d.ts +26 -6
- package/dist/api/bank-transaction-api.js +26 -12
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/link-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/link-bank-transaction-request-dto-rest.js +15 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.d.ts +24 -0
- package/dist/models/unlink-bank-transaction-request-dto-rest.js +15 -0
- package/models/index.ts +2 -0
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -32,11 +32,13 @@ models/get-tenant-bank-account-response-class.ts
|
|
|
32
32
|
models/index.ts
|
|
33
33
|
models/inline-response200.ts
|
|
34
34
|
models/inline-response503.ts
|
|
35
|
+
models/link-bank-transaction-request-dto-rest.ts
|
|
35
36
|
models/list-bank-transactions-response-class.ts
|
|
36
37
|
models/list-refunds-response-class.ts
|
|
37
38
|
models/refund-class.ts
|
|
38
39
|
models/tenant-bank-account-response-class.ts
|
|
39
40
|
models/transaction-class.ts
|
|
41
|
+
models/unlink-bank-transaction-request-dto-rest.ts
|
|
40
42
|
models/update-tenant-bank-account-rest-request-dto.ts
|
|
41
43
|
models/validate-pspconfig-request-dto.ts
|
|
42
44
|
package.json
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/payment-sdk@1.4.1-beta.
|
|
20
|
+
npm install @emilgroup/payment-sdk@1.4.1-beta.8 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/payment-sdk@1.4.1-beta.
|
|
24
|
+
yarn add @emilgroup/payment-sdk@1.4.1-beta.8
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `PaymentsApi`.
|
|
@@ -23,7 +23,11 @@ import { BASE_PATH, COLLECTION_FORMATS, RequestArgs, BaseAPI, RequiredError } fr
|
|
|
23
23
|
// @ts-ignore
|
|
24
24
|
import { GetBankTransactionsResponseClass } from '../models';
|
|
25
25
|
// @ts-ignore
|
|
26
|
+
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
27
|
+
// @ts-ignore
|
|
26
28
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
29
|
+
// @ts-ignore
|
|
30
|
+
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
27
31
|
/**
|
|
28
32
|
* BankTransactionApi - axios parameter creator
|
|
29
33
|
* @export
|
|
@@ -134,13 +138,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
134
138
|
* Links a bank transaction with an invoice
|
|
135
139
|
* @summary Link Bank Transaction
|
|
136
140
|
* @param {string} code Code of the bank transaction to link
|
|
141
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
137
142
|
* @param {string} [authorization] Bearer Token
|
|
138
143
|
* @param {*} [options] Override http request option.
|
|
139
144
|
* @throws {RequiredError}
|
|
140
145
|
*/
|
|
141
|
-
linkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
146
|
+
linkBankTransaction: async (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
142
147
|
// verify required parameter 'code' is not null or undefined
|
|
143
148
|
assertParamExists('linkBankTransaction', 'code', code)
|
|
149
|
+
// verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
|
|
150
|
+
assertParamExists('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest)
|
|
144
151
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/link`
|
|
145
152
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
146
153
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -166,9 +173,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
166
173
|
|
|
167
174
|
|
|
168
175
|
|
|
176
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
177
|
+
|
|
169
178
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
170
179
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
171
180
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
181
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
172
182
|
|
|
173
183
|
return {
|
|
174
184
|
url: toPathString(localVarUrlObj),
|
|
@@ -255,13 +265,16 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
255
265
|
* Unlinks an already linked bank transaction
|
|
256
266
|
* @summary Unlink Bank Transaction
|
|
257
267
|
* @param {string} code Code of the bank transaction to unlink
|
|
268
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
258
269
|
* @param {string} [authorization] Bearer Token
|
|
259
270
|
* @param {*} [options] Override http request option.
|
|
260
271
|
* @throws {RequiredError}
|
|
261
272
|
*/
|
|
262
|
-
unlinkBankTransaction: async (code: string, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
273
|
+
unlinkBankTransaction: async (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
263
274
|
// verify required parameter 'code' is not null or undefined
|
|
264
275
|
assertParamExists('unlinkBankTransaction', 'code', code)
|
|
276
|
+
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
277
|
+
assertParamExists('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest)
|
|
265
278
|
const localVarPath = `/paymentservice/v1/tenant/bank-transactions/{code}/unlink`
|
|
266
279
|
.replace(`{${"code"}}`, encodeURIComponent(String(code)));
|
|
267
280
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -287,9 +300,12 @@ export const BankTransactionApiAxiosParamCreator = function (configuration?: Con
|
|
|
287
300
|
|
|
288
301
|
|
|
289
302
|
|
|
303
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
304
|
+
|
|
290
305
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
291
306
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
292
307
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
308
|
+
localVarRequestOptions.data = serializeDataIfNeeded(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration)
|
|
293
309
|
|
|
294
310
|
return {
|
|
295
311
|
url: toPathString(localVarUrlObj),
|
|
@@ -335,12 +351,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
335
351
|
* Links a bank transaction with an invoice
|
|
336
352
|
* @summary Link Bank Transaction
|
|
337
353
|
* @param {string} code Code of the bank transaction to link
|
|
354
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
338
355
|
* @param {string} [authorization] Bearer Token
|
|
339
356
|
* @param {*} [options] Override http request option.
|
|
340
357
|
* @throws {RequiredError}
|
|
341
358
|
*/
|
|
342
|
-
async linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
343
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, authorization, options);
|
|
359
|
+
async linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
360
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options);
|
|
344
361
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
345
362
|
},
|
|
346
363
|
/**
|
|
@@ -365,12 +382,13 @@ export const BankTransactionApiFp = function(configuration?: Configuration) {
|
|
|
365
382
|
* Unlinks an already linked bank transaction
|
|
366
383
|
* @summary Unlink Bank Transaction
|
|
367
384
|
* @param {string} code Code of the bank transaction to unlink
|
|
385
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
368
386
|
* @param {string} [authorization] Bearer Token
|
|
369
387
|
* @param {*} [options] Override http request option.
|
|
370
388
|
* @throws {RequiredError}
|
|
371
389
|
*/
|
|
372
|
-
async unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
373
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options);
|
|
390
|
+
async unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>> {
|
|
391
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options);
|
|
374
392
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
375
393
|
},
|
|
376
394
|
}
|
|
@@ -410,12 +428,13 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
410
428
|
* Links a bank transaction with an invoice
|
|
411
429
|
* @summary Link Bank Transaction
|
|
412
430
|
* @param {string} code Code of the bank transaction to link
|
|
431
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
413
432
|
* @param {string} [authorization] Bearer Token
|
|
414
433
|
* @param {*} [options] Override http request option.
|
|
415
434
|
* @throws {RequiredError}
|
|
416
435
|
*/
|
|
417
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
418
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
436
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
437
|
+
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
419
438
|
},
|
|
420
439
|
/**
|
|
421
440
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -438,12 +457,13 @@ export const BankTransactionApiFactory = function (configuration?: Configuration
|
|
|
438
457
|
* Unlinks an already linked bank transaction
|
|
439
458
|
* @summary Unlink Bank Transaction
|
|
440
459
|
* @param {string} code Code of the bank transaction to unlink
|
|
460
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
441
461
|
* @param {string} [authorization] Bearer Token
|
|
442
462
|
* @param {*} [options] Override http request option.
|
|
443
463
|
* @throws {RequiredError}
|
|
444
464
|
*/
|
|
445
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
446
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then((request) => request(axios, basePath));
|
|
465
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass> {
|
|
466
|
+
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then((request) => request(axios, basePath));
|
|
447
467
|
},
|
|
448
468
|
};
|
|
449
469
|
};
|
|
@@ -510,6 +530,13 @@ export interface BankTransactionApiLinkBankTransactionRequest {
|
|
|
510
530
|
*/
|
|
511
531
|
readonly code: string
|
|
512
532
|
|
|
533
|
+
/**
|
|
534
|
+
*
|
|
535
|
+
* @type {LinkBankTransactionRequestDtoRest}
|
|
536
|
+
* @memberof BankTransactionApiLinkBankTransaction
|
|
537
|
+
*/
|
|
538
|
+
readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest
|
|
539
|
+
|
|
513
540
|
/**
|
|
514
541
|
* Bearer Token
|
|
515
542
|
* @type {string}
|
|
@@ -594,6 +621,13 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
594
621
|
*/
|
|
595
622
|
readonly code: string
|
|
596
623
|
|
|
624
|
+
/**
|
|
625
|
+
*
|
|
626
|
+
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
627
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
628
|
+
*/
|
|
629
|
+
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest
|
|
630
|
+
|
|
597
631
|
/**
|
|
598
632
|
* Bearer Token
|
|
599
633
|
* @type {string}
|
|
@@ -642,7 +676,7 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
642
676
|
* @memberof BankTransactionApi
|
|
643
677
|
*/
|
|
644
678
|
public linkBankTransaction(requestParameters: BankTransactionApiLinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
645
|
-
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
679
|
+
return BankTransactionApiFp(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
646
680
|
}
|
|
647
681
|
|
|
648
682
|
/**
|
|
@@ -666,6 +700,6 @@ export class BankTransactionApi extends BaseAPI {
|
|
|
666
700
|
* @memberof BankTransactionApi
|
|
667
701
|
*/
|
|
668
702
|
public unlinkBankTransaction(requestParameters: BankTransactionApiUnlinkBankTransactionRequest, options?: AxiosRequestConfig) {
|
|
669
|
-
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
703
|
+
return BankTransactionApiFp(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then((request) => request(this.axios, this.basePath));
|
|
670
704
|
}
|
|
671
705
|
}
|
|
@@ -13,7 +13,9 @@ import { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
|
13
13
|
import { Configuration } from '../configuration';
|
|
14
14
|
import { RequestArgs, BaseAPI } from '../base';
|
|
15
15
|
import { GetBankTransactionsResponseClass } from '../models';
|
|
16
|
+
import { LinkBankTransactionRequestDtoRest } from '../models';
|
|
16
17
|
import { ListBankTransactionsResponseClass } from '../models';
|
|
18
|
+
import { UnlinkBankTransactionRequestDtoRest } from '../models';
|
|
17
19
|
/**
|
|
18
20
|
* BankTransactionApi - axios parameter creator
|
|
19
21
|
* @export
|
|
@@ -42,11 +44,12 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
42
44
|
* Links a bank transaction with an invoice
|
|
43
45
|
* @summary Link Bank Transaction
|
|
44
46
|
* @param {string} code Code of the bank transaction to link
|
|
47
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
45
48
|
* @param {string} [authorization] Bearer Token
|
|
46
49
|
* @param {*} [options] Override http request option.
|
|
47
50
|
* @throws {RequiredError}
|
|
48
51
|
*/
|
|
49
|
-
linkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
52
|
+
linkBankTransaction: (code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
50
53
|
/**
|
|
51
54
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
52
55
|
* @summary List bank transactions
|
|
@@ -66,11 +69,12 @@ export declare const BankTransactionApiAxiosParamCreator: (configuration?: Confi
|
|
|
66
69
|
* Unlinks an already linked bank transaction
|
|
67
70
|
* @summary Unlink Bank Transaction
|
|
68
71
|
* @param {string} code Code of the bank transaction to unlink
|
|
72
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
69
73
|
* @param {string} [authorization] Bearer Token
|
|
70
74
|
* @param {*} [options] Override http request option.
|
|
71
75
|
* @throws {RequiredError}
|
|
72
76
|
*/
|
|
73
|
-
unlinkBankTransaction: (code: string, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
77
|
+
unlinkBankTransaction: (code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
74
78
|
};
|
|
75
79
|
/**
|
|
76
80
|
* BankTransactionApi - functional programming interface
|
|
@@ -100,11 +104,12 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
100
104
|
* Links a bank transaction with an invoice
|
|
101
105
|
* @summary Link Bank Transaction
|
|
102
106
|
* @param {string} code Code of the bank transaction to link
|
|
107
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
103
108
|
* @param {string} [authorization] Bearer Token
|
|
104
109
|
* @param {*} [options] Override http request option.
|
|
105
110
|
* @throws {RequiredError}
|
|
106
111
|
*/
|
|
107
|
-
linkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
112
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
108
113
|
/**
|
|
109
114
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
110
115
|
* @summary List bank transactions
|
|
@@ -124,11 +129,12 @@ export declare const BankTransactionApiFp: (configuration?: Configuration) => {
|
|
|
124
129
|
* Unlinks an already linked bank transaction
|
|
125
130
|
* @summary Unlink Bank Transaction
|
|
126
131
|
* @param {string} code Code of the bank transaction to unlink
|
|
132
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
127
133
|
* @param {string} [authorization] Bearer Token
|
|
128
134
|
* @param {*} [options] Override http request option.
|
|
129
135
|
* @throws {RequiredError}
|
|
130
136
|
*/
|
|
131
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
137
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetBankTransactionsResponseClass>>;
|
|
132
138
|
};
|
|
133
139
|
/**
|
|
134
140
|
* BankTransactionApi - factory interface
|
|
@@ -158,11 +164,12 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
158
164
|
* Links a bank transaction with an invoice
|
|
159
165
|
* @summary Link Bank Transaction
|
|
160
166
|
* @param {string} code Code of the bank transaction to link
|
|
167
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
161
168
|
* @param {string} [authorization] Bearer Token
|
|
162
169
|
* @param {*} [options] Override http request option.
|
|
163
170
|
* @throws {RequiredError}
|
|
164
171
|
*/
|
|
165
|
-
linkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
172
|
+
linkBankTransaction(code: string, linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
166
173
|
/**
|
|
167
174
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
168
175
|
* @summary List bank transactions
|
|
@@ -182,11 +189,12 @@ export declare const BankTransactionApiFactory: (configuration?: Configuration,
|
|
|
182
189
|
* Unlinks an already linked bank transaction
|
|
183
190
|
* @summary Unlink Bank Transaction
|
|
184
191
|
* @param {string} code Code of the bank transaction to unlink
|
|
192
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
185
193
|
* @param {string} [authorization] Bearer Token
|
|
186
194
|
* @param {*} [options] Override http request option.
|
|
187
195
|
* @throws {RequiredError}
|
|
188
196
|
*/
|
|
189
|
-
unlinkBankTransaction(code: string, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
197
|
+
unlinkBankTransaction(code: string, unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest, authorization?: string, options?: any): AxiosPromise<GetBankTransactionsResponseClass>;
|
|
190
198
|
};
|
|
191
199
|
/**
|
|
192
200
|
* Request parameters for getBankTransaction operation in BankTransactionApi.
|
|
@@ -244,6 +252,12 @@ export interface BankTransactionApiLinkBankTransactionRequest {
|
|
|
244
252
|
* @memberof BankTransactionApiLinkBankTransaction
|
|
245
253
|
*/
|
|
246
254
|
readonly code: string;
|
|
255
|
+
/**
|
|
256
|
+
*
|
|
257
|
+
* @type {LinkBankTransactionRequestDtoRest}
|
|
258
|
+
* @memberof BankTransactionApiLinkBankTransaction
|
|
259
|
+
*/
|
|
260
|
+
readonly linkBankTransactionRequestDtoRest: LinkBankTransactionRequestDtoRest;
|
|
247
261
|
/**
|
|
248
262
|
* Bearer Token
|
|
249
263
|
* @type {string}
|
|
@@ -318,6 +332,12 @@ export interface BankTransactionApiUnlinkBankTransactionRequest {
|
|
|
318
332
|
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
319
333
|
*/
|
|
320
334
|
readonly code: string;
|
|
335
|
+
/**
|
|
336
|
+
*
|
|
337
|
+
* @type {UnlinkBankTransactionRequestDtoRest}
|
|
338
|
+
* @memberof BankTransactionApiUnlinkBankTransaction
|
|
339
|
+
*/
|
|
340
|
+
readonly unlinkBankTransactionRequestDtoRest: UnlinkBankTransactionRequestDtoRest;
|
|
321
341
|
/**
|
|
322
342
|
* Bearer Token
|
|
323
343
|
* @type {string}
|
|
@@ -198,11 +198,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
198
198
|
* Links a bank transaction with an invoice
|
|
199
199
|
* @summary Link Bank Transaction
|
|
200
200
|
* @param {string} code Code of the bank transaction to link
|
|
201
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
201
202
|
* @param {string} [authorization] Bearer Token
|
|
202
203
|
* @param {*} [options] Override http request option.
|
|
203
204
|
* @throws {RequiredError}
|
|
204
205
|
*/
|
|
205
|
-
linkBankTransaction: function (code, authorization, options) {
|
|
206
|
+
linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
|
|
206
207
|
if (options === void 0) { options = {}; }
|
|
207
208
|
return __awaiter(_this, void 0, void 0, function () {
|
|
208
209
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -211,6 +212,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
211
212
|
case 0:
|
|
212
213
|
// verify required parameter 'code' is not null or undefined
|
|
213
214
|
(0, common_1.assertParamExists)('linkBankTransaction', 'code', code);
|
|
215
|
+
// verify required parameter 'linkBankTransactionRequestDtoRest' is not null or undefined
|
|
216
|
+
(0, common_1.assertParamExists)('linkBankTransaction', 'linkBankTransactionRequestDtoRest', linkBankTransactionRequestDtoRest);
|
|
214
217
|
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/link"
|
|
215
218
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
216
219
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -231,9 +234,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
231
234
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
232
235
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
233
236
|
}
|
|
237
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
234
238
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
235
239
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
236
240
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
241
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(linkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
|
|
237
242
|
return [2 /*return*/, {
|
|
238
243
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
239
244
|
options: localVarRequestOptions,
|
|
@@ -318,11 +323,12 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
318
323
|
* Unlinks an already linked bank transaction
|
|
319
324
|
* @summary Unlink Bank Transaction
|
|
320
325
|
* @param {string} code Code of the bank transaction to unlink
|
|
326
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
321
327
|
* @param {string} [authorization] Bearer Token
|
|
322
328
|
* @param {*} [options] Override http request option.
|
|
323
329
|
* @throws {RequiredError}
|
|
324
330
|
*/
|
|
325
|
-
unlinkBankTransaction: function (code, authorization, options) {
|
|
331
|
+
unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
|
|
326
332
|
if (options === void 0) { options = {}; }
|
|
327
333
|
return __awaiter(_this, void 0, void 0, function () {
|
|
328
334
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -331,6 +337,8 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
331
337
|
case 0:
|
|
332
338
|
// verify required parameter 'code' is not null or undefined
|
|
333
339
|
(0, common_1.assertParamExists)('unlinkBankTransaction', 'code', code);
|
|
340
|
+
// verify required parameter 'unlinkBankTransactionRequestDtoRest' is not null or undefined
|
|
341
|
+
(0, common_1.assertParamExists)('unlinkBankTransaction', 'unlinkBankTransactionRequestDtoRest', unlinkBankTransactionRequestDtoRest);
|
|
334
342
|
localVarPath = "/paymentservice/v1/tenant/bank-transactions/{code}/unlink"
|
|
335
343
|
.replace("{".concat("code", "}"), encodeURIComponent(String(code)));
|
|
336
344
|
localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
@@ -351,9 +359,11 @@ var BankTransactionApiAxiosParamCreator = function (configuration) {
|
|
|
351
359
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
352
360
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
353
361
|
}
|
|
362
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
354
363
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
355
364
|
headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
356
365
|
localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
366
|
+
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(unlinkBankTransactionRequestDtoRest, localVarRequestOptions, configuration);
|
|
357
367
|
return [2 /*return*/, {
|
|
358
368
|
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
359
369
|
options: localVarRequestOptions,
|
|
@@ -419,16 +429,17 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
419
429
|
* Links a bank transaction with an invoice
|
|
420
430
|
* @summary Link Bank Transaction
|
|
421
431
|
* @param {string} code Code of the bank transaction to link
|
|
432
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
422
433
|
* @param {string} [authorization] Bearer Token
|
|
423
434
|
* @param {*} [options] Override http request option.
|
|
424
435
|
* @throws {RequiredError}
|
|
425
436
|
*/
|
|
426
|
-
linkBankTransaction: function (code, authorization, options) {
|
|
437
|
+
linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
|
|
427
438
|
return __awaiter(this, void 0, void 0, function () {
|
|
428
439
|
var localVarAxiosArgs;
|
|
429
440
|
return __generator(this, function (_a) {
|
|
430
441
|
switch (_a.label) {
|
|
431
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, authorization, options)];
|
|
442
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options)];
|
|
432
443
|
case 1:
|
|
433
444
|
localVarAxiosArgs = _a.sent();
|
|
434
445
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -467,16 +478,17 @@ var BankTransactionApiFp = function (configuration) {
|
|
|
467
478
|
* Unlinks an already linked bank transaction
|
|
468
479
|
* @summary Unlink Bank Transaction
|
|
469
480
|
* @param {string} code Code of the bank transaction to unlink
|
|
481
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
470
482
|
* @param {string} [authorization] Bearer Token
|
|
471
483
|
* @param {*} [options] Override http request option.
|
|
472
484
|
* @throws {RequiredError}
|
|
473
485
|
*/
|
|
474
|
-
unlinkBankTransaction: function (code, authorization, options) {
|
|
486
|
+
unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
|
|
475
487
|
return __awaiter(this, void 0, void 0, function () {
|
|
476
488
|
var localVarAxiosArgs;
|
|
477
489
|
return __generator(this, function (_a) {
|
|
478
490
|
switch (_a.label) {
|
|
479
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, authorization, options)];
|
|
491
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options)];
|
|
480
492
|
case 1:
|
|
481
493
|
localVarAxiosArgs = _a.sent();
|
|
482
494
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -521,12 +533,13 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
521
533
|
* Links a bank transaction with an invoice
|
|
522
534
|
* @summary Link Bank Transaction
|
|
523
535
|
* @param {string} code Code of the bank transaction to link
|
|
536
|
+
* @param {LinkBankTransactionRequestDtoRest} linkBankTransactionRequestDtoRest
|
|
524
537
|
* @param {string} [authorization] Bearer Token
|
|
525
538
|
* @param {*} [options] Override http request option.
|
|
526
539
|
* @throws {RequiredError}
|
|
527
540
|
*/
|
|
528
|
-
linkBankTransaction: function (code, authorization, options) {
|
|
529
|
-
return localVarFp.linkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
541
|
+
linkBankTransaction: function (code, linkBankTransactionRequestDtoRest, authorization, options) {
|
|
542
|
+
return localVarFp.linkBankTransaction(code, linkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
530
543
|
},
|
|
531
544
|
/**
|
|
532
545
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -549,12 +562,13 @@ var BankTransactionApiFactory = function (configuration, basePath, axios) {
|
|
|
549
562
|
* Unlinks an already linked bank transaction
|
|
550
563
|
* @summary Unlink Bank Transaction
|
|
551
564
|
* @param {string} code Code of the bank transaction to unlink
|
|
565
|
+
* @param {UnlinkBankTransactionRequestDtoRest} unlinkBankTransactionRequestDtoRest
|
|
552
566
|
* @param {string} [authorization] Bearer Token
|
|
553
567
|
* @param {*} [options] Override http request option.
|
|
554
568
|
* @throws {RequiredError}
|
|
555
569
|
*/
|
|
556
|
-
unlinkBankTransaction: function (code, authorization, options) {
|
|
557
|
-
return localVarFp.unlinkBankTransaction(code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
570
|
+
unlinkBankTransaction: function (code, unlinkBankTransactionRequestDtoRest, authorization, options) {
|
|
571
|
+
return localVarFp.unlinkBankTransaction(code, unlinkBankTransactionRequestDtoRest, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
558
572
|
},
|
|
559
573
|
};
|
|
560
574
|
};
|
|
@@ -605,7 +619,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
605
619
|
*/
|
|
606
620
|
BankTransactionApi.prototype.linkBankTransaction = function (requestParameters, options) {
|
|
607
621
|
var _this = this;
|
|
608
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
622
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).linkBankTransaction(requestParameters.code, requestParameters.linkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
609
623
|
};
|
|
610
624
|
/**
|
|
611
625
|
* Returns a list of bank transactions you have previously created. The bank transactions are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
@@ -630,7 +644,7 @@ var BankTransactionApi = /** @class */ (function (_super) {
|
|
|
630
644
|
*/
|
|
631
645
|
BankTransactionApi.prototype.unlinkBankTransaction = function (requestParameters, options) {
|
|
632
646
|
var _this = this;
|
|
633
|
-
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
647
|
+
return (0, exports.BankTransactionApiFp)(this.configuration).unlinkBankTransaction(requestParameters.code, requestParameters.unlinkBankTransactionRequestDtoRest, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
634
648
|
};
|
|
635
649
|
return BankTransactionApi;
|
|
636
650
|
}(base_1.BaseAPI));
|
package/dist/models/index.d.ts
CHANGED
|
@@ -11,10 +11,12 @@ export * from './get-request-dto';
|
|
|
11
11
|
export * from './get-tenant-bank-account-response-class';
|
|
12
12
|
export * from './inline-response200';
|
|
13
13
|
export * from './inline-response503';
|
|
14
|
+
export * from './link-bank-transaction-request-dto-rest';
|
|
14
15
|
export * from './list-bank-transactions-response-class';
|
|
15
16
|
export * from './list-refunds-response-class';
|
|
16
17
|
export * from './refund-class';
|
|
17
18
|
export * from './tenant-bank-account-response-class';
|
|
18
19
|
export * from './transaction-class';
|
|
20
|
+
export * from './unlink-bank-transaction-request-dto-rest';
|
|
19
21
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
20
22
|
export * from './validate-pspconfig-request-dto';
|
package/dist/models/index.js
CHANGED
|
@@ -27,10 +27,12 @@ __exportStar(require("./get-request-dto"), exports);
|
|
|
27
27
|
__exportStar(require("./get-tenant-bank-account-response-class"), exports);
|
|
28
28
|
__exportStar(require("./inline-response200"), exports);
|
|
29
29
|
__exportStar(require("./inline-response503"), exports);
|
|
30
|
+
__exportStar(require("./link-bank-transaction-request-dto-rest"), exports);
|
|
30
31
|
__exportStar(require("./list-bank-transactions-response-class"), exports);
|
|
31
32
|
__exportStar(require("./list-refunds-response-class"), exports);
|
|
32
33
|
__exportStar(require("./refund-class"), exports);
|
|
33
34
|
__exportStar(require("./tenant-bank-account-response-class"), exports);
|
|
34
35
|
__exportStar(require("./transaction-class"), exports);
|
|
36
|
+
__exportStar(require("./unlink-bank-transaction-request-dto-rest"), exports);
|
|
35
37
|
__exportStar(require("./update-tenant-bank-account-rest-request-dto"), exports);
|
|
36
38
|
__exportStar(require("./validate-pspconfig-request-dto"), exports);
|
|
@@ -0,0 +1,24 @@
|
|
|
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 LinkBankTransactionRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface LinkBankTransactionRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the invoice that the transaction will be linked to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof LinkBankTransactionRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'invoiceCode': string;
|
|
24
|
+
}
|
|
@@ -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,24 @@
|
|
|
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 UnlinkBankTransactionRequestDtoRest
|
|
16
|
+
*/
|
|
17
|
+
export interface UnlinkBankTransactionRequestDtoRest {
|
|
18
|
+
/**
|
|
19
|
+
* The code of the invoice that the transaction will be linked to.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UnlinkBankTransactionRequestDtoRest
|
|
22
|
+
*/
|
|
23
|
+
'invoiceCode': string;
|
|
24
|
+
}
|
|
@@ -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 });
|
package/models/index.ts
CHANGED
|
@@ -11,10 +11,12 @@ export * from './get-request-dto';
|
|
|
11
11
|
export * from './get-tenant-bank-account-response-class';
|
|
12
12
|
export * from './inline-response200';
|
|
13
13
|
export * from './inline-response503';
|
|
14
|
+
export * from './link-bank-transaction-request-dto-rest';
|
|
14
15
|
export * from './list-bank-transactions-response-class';
|
|
15
16
|
export * from './list-refunds-response-class';
|
|
16
17
|
export * from './refund-class';
|
|
17
18
|
export * from './tenant-bank-account-response-class';
|
|
18
19
|
export * from './transaction-class';
|
|
20
|
+
export * from './unlink-bank-transaction-request-dto-rest';
|
|
19
21
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
20
22
|
export * from './validate-pspconfig-request-dto';
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface LinkBankTransactionRequestDtoRest
|
|
21
|
+
*/
|
|
22
|
+
export interface LinkBankTransactionRequestDtoRest {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the invoice that the transaction will be linked to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LinkBankTransactionRequestDtoRest
|
|
27
|
+
*/
|
|
28
|
+
'invoiceCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* Emil Payment Service
|
|
5
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
|
+
*
|
|
10
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
|
+
* https://openapi-generator.tech
|
|
12
|
+
* Do not edit the class manually.
|
|
13
|
+
*/
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UnlinkBankTransactionRequestDtoRest
|
|
21
|
+
*/
|
|
22
|
+
export interface UnlinkBankTransactionRequestDtoRest {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the invoice that the transaction will be linked to.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UnlinkBankTransactionRequestDtoRest
|
|
27
|
+
*/
|
|
28
|
+
'invoiceCode': string;
|
|
29
|
+
}
|
|
30
|
+
|