@emilgroup/payment-sdk 1.4.1-beta.4 → 1.4.1-beta.40
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 +15 -7
- package/README.md +2 -2
- package/api/bank-accounts-api.ts +501 -89
- package/api/bank-transaction-api.ts +303 -97
- package/api/{default-api.ts → health-check-api.ts} +23 -19
- package/api/payment-methods-api.ts +62 -243
- package/api/payment-reminders-api.ts +58 -100
- package/api/payment-setup-api.ts +18 -10
- package/api/payments-api.ts +73 -136
- package/api/refunds-api.ts +436 -0
- package/api/tenant-bank-account-api.ts +100 -102
- package/api/webhooks-api.ts +18 -14
- package/api.ts +6 -4
- package/base.ts +23 -11
- package/common.ts +4 -4
- package/configuration.ts +2 -2
- package/dist/api/bank-accounts-api.d.ts +293 -70
- package/dist/api/bank-accounts-api.js +433 -63
- package/dist/api/bank-transaction-api.d.ts +193 -83
- package/dist/api/bank-transaction-api.js +253 -66
- package/dist/api/health-check-api.d.ts +70 -0
- package/dist/api/{default-api.js → health-check-api.js} +32 -28
- package/dist/api/payment-methods-api.d.ts +52 -152
- package/dist/api/payment-methods-api.js +49 -179
- package/dist/api/payment-reminders-api.d.ts +53 -80
- package/dist/api/payment-reminders-api.js +45 -63
- package/dist/api/payment-setup-api.d.ts +18 -10
- package/dist/api/payment-setup-api.js +18 -10
- package/dist/api/payments-api.d.ts +63 -99
- package/dist/api/payments-api.js +56 -86
- package/dist/api/refunds-api.d.ts +251 -0
- package/dist/api/refunds-api.js +439 -0
- package/dist/api/tenant-bank-account-api.d.ts +94 -89
- package/dist/api/tenant-bank-account-api.js +72 -64
- package/dist/api/webhooks-api.d.ts +18 -14
- package/dist/api/webhooks-api.js +16 -12
- package/dist/api.d.ts +4 -3
- package/dist/api.js +4 -3
- package/dist/base.d.ts +7 -4
- package/dist/base.js +32 -23
- package/dist/common.d.ts +4 -4
- package/dist/common.js +2 -2
- package/dist/configuration.d.ts +2 -2
- package/dist/configuration.js +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/models/{bank-transaction-response-class.d.ts → bank-transaction-class-without-expand-properties.d.ts} +32 -34
- package/dist/models/{bank-transaction-response-class.js → bank-transaction-class-without-expand-properties.js} +2 -2
- package/dist/models/create-bank-account-request-dto.d.ts +42 -0
- package/dist/models/{get-request-dto.js → create-bank-account-request-dto.js} +2 -2
- package/dist/models/create-payment-reminder-request-dto.d.ts +2 -2
- package/dist/models/create-payment-reminder-request-dto.js +2 -2
- package/dist/models/create-payment-request-dto.d.ts +4 -4
- package/dist/models/create-payment-request-dto.js +2 -2
- package/dist/models/create-refund-request-dto.d.ts +24 -0
- package/dist/models/{get-bank-transactions-response-class.js → create-refund-request-dto.js} +2 -2
- package/dist/models/create-tenant-bank-account-request-dto.d.ts +2 -2
- package/dist/models/create-tenant-bank-account-request-dto.js +2 -2
- package/dist/models/create-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/{list-bank-transactions-response-class.js → create-tenant-bank-account-response-class.js} +2 -2
- package/dist/models/deactivate-payment-reminder-request-dto.d.ts +2 -2
- package/dist/models/deactivate-payment-reminder-request-dto.js +2 -2
- package/dist/models/get-tenant-bank-account-response-class.d.ts +6 -6
- package/dist/models/get-tenant-bank-account-response-class.js +2 -2
- package/dist/models/index.d.ts +13 -6
- package/dist/models/index.js +13 -6
- package/dist/models/inline-response200.d.ts +2 -2
- package/dist/models/inline-response200.js +2 -2
- package/dist/models/inline-response503.d.ts +2 -2
- package/dist/models/inline-response503.js +2 -2
- 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/list-tenant-bank-account-response-class.d.ts +31 -0
- package/dist/models/list-tenant-bank-account-response-class.js +15 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.d.ts +24 -0
- package/dist/models/set-primary-bank-account-request-dto-rest.js +15 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.d.ts +78 -0
- package/dist/models/tenant-bank-account-class-without-expand-properties.js +15 -0
- package/dist/models/tenant-bank-account-class.d.ts +85 -0
- package/dist/models/tenant-bank-account-class.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/dist/models/update-bank-account-request-dto-rest.d.ts +30 -0
- package/dist/models/update-bank-account-request-dto-rest.js +15 -0
- package/dist/models/update-bank-account-request-dto.d.ts +36 -0
- package/dist/models/update-bank-account-request-dto.js +15 -0
- package/dist/models/update-tenant-bank-account-response-class.d.ts +25 -0
- package/dist/models/update-tenant-bank-account-response-class.js +15 -0
- package/dist/models/update-tenant-bank-account-rest-request-dto.d.ts +2 -2
- package/dist/models/update-tenant-bank-account-rest-request-dto.js +2 -2
- package/dist/models/validate-pspconfig-request-dto.d.ts +2 -2
- package/dist/models/validate-pspconfig-request-dto.js +2 -2
- package/index.ts +2 -2
- package/models/{bank-transaction-response-class.ts → bank-transaction-class-without-expand-properties.ts} +32 -34
- package/models/create-bank-account-request-dto.ts +48 -0
- package/models/create-payment-reminder-request-dto.ts +2 -2
- package/models/create-payment-request-dto.ts +4 -4
- package/models/create-refund-request-dto.ts +30 -0
- package/models/create-tenant-bank-account-request-dto.ts +2 -2
- package/models/create-tenant-bank-account-response-class.ts +31 -0
- package/models/deactivate-payment-reminder-request-dto.ts +2 -2
- package/models/get-tenant-bank-account-response-class.ts +6 -6
- package/models/index.ts +13 -6
- package/models/inline-response200.ts +2 -2
- package/models/inline-response503.ts +2 -2
- package/models/link-bank-transaction-request-dto-rest.ts +30 -0
- package/models/list-tenant-bank-account-response-class.ts +37 -0
- package/models/set-primary-bank-account-request-dto-rest.ts +30 -0
- package/models/{tenant-bank-account-response-class.ts → tenant-bank-account-class-without-expand-properties.ts} +24 -12
- package/models/tenant-bank-account-class.ts +91 -0
- package/models/unlink-bank-transaction-request-dto-rest.ts +30 -0
- package/models/update-bank-account-request-dto-rest.ts +36 -0
- package/models/update-bank-account-request-dto.ts +42 -0
- package/models/update-tenant-bank-account-response-class.ts +31 -0
- package/models/update-tenant-bank-account-rest-request-dto.ts +2 -2
- package/models/validate-pspconfig-request-dto.ts +2 -2
- package/package.json +1 -1
- package/dist/api/default-api.d.ts +0 -66
- package/dist/models/get-bank-transactions-response-class.d.ts +0 -25
- package/dist/models/get-request-dto.d.ts +0 -30
- package/dist/models/list-bank-transactions-response-class.d.ts +0 -31
- package/dist/models/tenant-bank-account-response-class.d.ts +0 -66
- package/dist/models/tenant-bank-account-response-class.js +0 -15
- package/dist/models/transaction-class.d.ts +0 -54
- package/dist/models/transaction-class.js +0 -15
- package/models/get-bank-transactions-response-class.ts +0 -31
- package/models/get-request-dto.ts +0 -36
- package/models/list-bank-transactions-response-class.ts +0 -37
- package/models/transaction-class.ts +0 -60
|
@@ -0,0 +1,36 @@
|
|
|
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 UpdateBankAccountRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface UpdateBankAccountRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof UpdateBankAccountRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* IBAN number for the bank account
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof UpdateBankAccountRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'iban': string;
|
|
30
|
+
/**
|
|
31
|
+
* Bank account holder
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof UpdateBankAccountRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'accountHolder': string;
|
|
36
|
+
}
|
|
@@ -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 { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface UpdateTenantBankAccountResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface UpdateTenantBankAccountResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Tenant bank account
|
|
21
|
+
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
22
|
+
* @memberof UpdateTenantBankAccountResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'bankAccount': TenantBankAccountClassWithoutExpandProperties;
|
|
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 });
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Emil Payment Service
|
|
3
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
3
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
4
4
|
*
|
|
5
5
|
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact:
|
|
6
|
+
* Contact: kontakt@emil.de
|
|
7
7
|
*
|
|
8
8
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
9
9
|
* https://openapi-generator.tech
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
/**
|
|
5
5
|
* Emil Payment Service
|
|
6
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
6
|
+
* This service directly communicates with the various Payment Service Providers (PSPs) in order to charge or refund customers. This service will automatically connect to the PSP linked in your admin configuration; meaning if you configured Stripe, it will automatically create a payment on Stripe when you create it in Emil.
|
|
7
7
|
*
|
|
8
8
|
* The version of the OpenAPI document: 1.0
|
|
9
|
-
* Contact:
|
|
9
|
+
* Contact: kontakt@emil.de
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
12
12
|
* https://openapi-generator.tech
|
package/index.ts
CHANGED
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,122 +13,120 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import { TenantBankAccountResponseClass } from './tenant-bank-account-response-class';
|
|
17
|
-
import { TransactionClass } from './transaction-class';
|
|
18
16
|
|
|
19
17
|
/**
|
|
20
18
|
*
|
|
21
19
|
* @export
|
|
22
|
-
* @interface
|
|
20
|
+
* @interface BankTransactionClassWithoutExpandProperties
|
|
23
21
|
*/
|
|
24
|
-
export interface
|
|
22
|
+
export interface BankTransactionClassWithoutExpandProperties {
|
|
25
23
|
/**
|
|
26
24
|
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
27
25
|
* @type {number}
|
|
28
|
-
* @memberof
|
|
26
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
29
27
|
*/
|
|
30
28
|
'id': number;
|
|
31
29
|
/**
|
|
32
30
|
* Unique identifier for the object.
|
|
33
31
|
* @type {string}
|
|
34
|
-
* @memberof
|
|
32
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
35
33
|
*/
|
|
36
34
|
'code': string;
|
|
37
35
|
/**
|
|
38
|
-
*
|
|
36
|
+
* bank account
|
|
39
37
|
* @type {number}
|
|
40
|
-
* @memberof
|
|
38
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
41
39
|
*/
|
|
42
40
|
'bankAccountId': number;
|
|
43
41
|
/**
|
|
44
42
|
* Account number of the bank account
|
|
45
43
|
* @type {string}
|
|
46
|
-
* @memberof
|
|
44
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
47
45
|
*/
|
|
48
46
|
'bankAccountNumber': string;
|
|
49
47
|
/**
|
|
50
48
|
* Reference number derived from the MT940 swift Insturctions
|
|
51
49
|
* @type {string}
|
|
52
|
-
* @memberof
|
|
50
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
53
51
|
*/
|
|
54
52
|
'swiftMessageReference'?: string;
|
|
55
53
|
/**
|
|
56
54
|
* Currency of the transaction.
|
|
57
55
|
* @type {string}
|
|
58
|
-
* @memberof
|
|
56
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
59
57
|
*/
|
|
60
58
|
'currency': string;
|
|
61
59
|
/**
|
|
62
60
|
* Amount of the transaction - can be negative or positive
|
|
63
61
|
* @type {string}
|
|
64
|
-
* @memberof
|
|
62
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
65
63
|
*/
|
|
66
64
|
'amount': string;
|
|
67
65
|
/**
|
|
68
66
|
* Date on which the transaction was executed. Also known as Value Date
|
|
69
67
|
* @type {string}
|
|
70
|
-
* @memberof
|
|
68
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
71
69
|
*/
|
|
72
70
|
'transactionDate': string;
|
|
73
71
|
/**
|
|
74
72
|
* Date on which the transaction entry was made in the system. Also known as Booking Date
|
|
75
73
|
* @type {string}
|
|
76
|
-
* @memberof
|
|
74
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
77
75
|
*/
|
|
78
76
|
'entryDate': string;
|
|
79
77
|
/**
|
|
80
78
|
* Optional reference number that can be given by the customer or bank to uniquely identify a transaction. If no transaction reference is provided the value is set to \'NONREF\'
|
|
81
79
|
* @type {string}
|
|
82
|
-
* @memberof
|
|
80
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
83
81
|
*/
|
|
84
82
|
'transactionReference': string;
|
|
85
83
|
/**
|
|
86
84
|
* Optional metadata that can be provided by the customer or bank to give more context to the transaction
|
|
87
85
|
* @type {object}
|
|
88
|
-
* @memberof
|
|
86
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
89
87
|
*/
|
|
90
88
|
'metadata'?: object;
|
|
91
89
|
/**
|
|
92
90
|
* The id of the PSP transaction that this bank transaction is linked to
|
|
93
91
|
* @type {number}
|
|
94
|
-
* @memberof
|
|
92
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
95
93
|
*/
|
|
96
|
-
'linkedTransactionId'
|
|
94
|
+
'linkedTransactionId'?: number;
|
|
97
95
|
/**
|
|
98
96
|
* The code of the invoice that this bank transaction is linked to
|
|
99
97
|
* @type {string}
|
|
100
|
-
* @memberof
|
|
98
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
101
99
|
*/
|
|
102
100
|
'linkedInvoiceCode'?: string;
|
|
103
101
|
/**
|
|
104
102
|
* The identifying invoice number that this bank transaction is linked to
|
|
105
103
|
* @type {string}
|
|
106
|
-
* @memberof
|
|
104
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
107
105
|
*/
|
|
108
106
|
'linkedInvoiceNumber'?: string;
|
|
109
107
|
/**
|
|
110
108
|
* Boolean flag to indicate if the bank transaction is linked to an invoice - defaults to false
|
|
111
109
|
* @type {boolean}
|
|
112
|
-
* @memberof
|
|
110
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
113
111
|
*/
|
|
114
112
|
'isLinked': boolean;
|
|
115
113
|
/**
|
|
116
|
-
*
|
|
117
|
-
* @type {
|
|
118
|
-
* @memberof
|
|
114
|
+
* Time at which the object was created.
|
|
115
|
+
* @type {string}
|
|
116
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
119
117
|
*/
|
|
120
|
-
'
|
|
118
|
+
'createdAt': string;
|
|
121
119
|
/**
|
|
122
|
-
*
|
|
123
|
-
* @type {
|
|
124
|
-
* @memberof
|
|
120
|
+
* Identifier of the user who created the record.
|
|
121
|
+
* @type {string}
|
|
122
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
125
123
|
*/
|
|
126
|
-
'
|
|
124
|
+
'createdBy': string;
|
|
127
125
|
/**
|
|
128
|
-
*
|
|
126
|
+
* Identifier of the user who last updated the record.
|
|
129
127
|
* @type {string}
|
|
130
|
-
* @memberof
|
|
128
|
+
* @memberof BankTransactionClassWithoutExpandProperties
|
|
131
129
|
*/
|
|
132
|
-
'
|
|
130
|
+
'updatedBy': string;
|
|
133
131
|
}
|
|
134
132
|
|
|
@@ -0,0 +1,48 @@
|
|
|
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 CreateBankAccountRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateBankAccountRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* User account code associated with bank account.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateBankAccountRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'accountCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Partner code associated with bank account.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof CreateBankAccountRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* IBAN number for the bank account
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof CreateBankAccountRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'iban': string;
|
|
41
|
+
/**
|
|
42
|
+
* Bank account holder
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateBankAccountRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'accountHolder': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -40,10 +40,10 @@ export interface CreatePaymentRequestDto {
|
|
|
40
40
|
'currency'?: string;
|
|
41
41
|
/**
|
|
42
42
|
* Invoices referenced in this payment. Usually, one payment has one invoice id but it is possible to pay multiple invoices at once with a single payment.
|
|
43
|
-
* @type {Array<
|
|
43
|
+
* @type {Array<number>}
|
|
44
44
|
* @memberof CreatePaymentRequestDto
|
|
45
45
|
*/
|
|
46
|
-
'invoiceIds': Array<
|
|
46
|
+
'invoiceIds': Array<number>;
|
|
47
47
|
/**
|
|
48
48
|
* Optional field contain extra information.
|
|
49
49
|
* @type {object}
|
|
@@ -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 CreateRefundRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface CreateRefundRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the invoice to refund, must be of type Withdraw or Final or Correction
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof CreateRefundRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'invoiceCode': string;
|
|
29
|
+
}
|
|
30
|
+
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
import { TenantBankAccountClassWithoutExpandProperties } from './tenant-bank-account-class-without-expand-properties';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateTenantBankAccountResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateTenantBankAccountResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Tenant bank account
|
|
26
|
+
* @type {TenantBankAccountClassWithoutExpandProperties}
|
|
27
|
+
* @memberof CreateTenantBankAccountResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'bankAccount': TenantBankAccountClassWithoutExpandProperties;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
import {
|
|
16
|
+
import { TenantBankAccountClass } from './tenant-bank-account-class';
|
|
17
17
|
|
|
18
18
|
/**
|
|
19
19
|
*
|
|
@@ -22,10 +22,10 @@ import { TenantBankAccountResponseClass } from './tenant-bank-account-response-c
|
|
|
22
22
|
*/
|
|
23
23
|
export interface GetTenantBankAccountResponseClass {
|
|
24
24
|
/**
|
|
25
|
-
* Tenant
|
|
26
|
-
* @type {
|
|
25
|
+
* Tenant bank account
|
|
26
|
+
* @type {TenantBankAccountClass}
|
|
27
27
|
* @memberof GetTenantBankAccountResponseClass
|
|
28
28
|
*/
|
|
29
|
-
'bankAccount':
|
|
29
|
+
'bankAccount': TenantBankAccountClass;
|
|
30
30
|
}
|
|
31
31
|
|
package/models/index.ts
CHANGED
|
@@ -1,15 +1,22 @@
|
|
|
1
|
-
export * from './bank-transaction-
|
|
1
|
+
export * from './bank-transaction-class-without-expand-properties';
|
|
2
|
+
export * from './create-bank-account-request-dto';
|
|
2
3
|
export * from './create-payment-reminder-request-dto';
|
|
3
4
|
export * from './create-payment-request-dto';
|
|
5
|
+
export * from './create-refund-request-dto';
|
|
4
6
|
export * from './create-tenant-bank-account-request-dto';
|
|
7
|
+
export * from './create-tenant-bank-account-response-class';
|
|
5
8
|
export * from './deactivate-payment-reminder-request-dto';
|
|
6
|
-
export * from './get-bank-transactions-response-class';
|
|
7
|
-
export * from './get-request-dto';
|
|
8
9
|
export * from './get-tenant-bank-account-response-class';
|
|
9
10
|
export * from './inline-response200';
|
|
10
11
|
export * from './inline-response503';
|
|
11
|
-
export * from './
|
|
12
|
-
export * from './tenant-bank-account-response-class';
|
|
13
|
-
export * from './
|
|
12
|
+
export * from './link-bank-transaction-request-dto-rest';
|
|
13
|
+
export * from './list-tenant-bank-account-response-class';
|
|
14
|
+
export * from './set-primary-bank-account-request-dto-rest';
|
|
15
|
+
export * from './tenant-bank-account-class';
|
|
16
|
+
export * from './tenant-bank-account-class-without-expand-properties';
|
|
17
|
+
export * from './unlink-bank-transaction-request-dto-rest';
|
|
18
|
+
export * from './update-bank-account-request-dto';
|
|
19
|
+
export * from './update-bank-account-request-dto-rest';
|
|
20
|
+
export * from './update-tenant-bank-account-response-class';
|
|
14
21
|
export * from './update-tenant-bank-account-rest-request-dto';
|
|
15
22
|
export * from './validate-pspconfig-request-dto';
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
/* eslint-disable */
|
|
3
3
|
/**
|
|
4
4
|
* Emil Payment Service
|
|
5
|
-
* This service directly communicates with the various Payment Service Providers (PSPs)
|
|
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
6
|
*
|
|
7
7
|
* The version of the OpenAPI document: 1.0
|
|
8
|
-
* Contact:
|
|
8
|
+
* Contact: kontakt@emil.de
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
11
11
|
* https://openapi-generator.tech
|
|
@@ -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
|
+
|