@emilgroup/customer-sdk-node 1.17.0 → 1.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.openapi-generator/FILES +3 -1
- package/README.md +2 -2
- package/api/customers-api.ts +168 -0
- package/dist/api/customers-api.d.ts +100 -0
- package/dist/api/customers-api.js +113 -0
- package/dist/models/create-lead-request-dto.d.ts +7 -0
- package/dist/models/create-payment-method-request-dto.d.ts +31 -0
- package/dist/models/grpc-update-lead-request-dto.d.ts +7 -0
- package/dist/models/index.d.ts +3 -1
- package/dist/models/index.js +3 -1
- package/dist/models/invoice-class.d.ts +32 -26
- package/dist/models/lead-class.d.ts +14 -0
- package/dist/models/premium-override-dto.d.ts +1 -0
- package/dist/models/premium-override-dto.js +1 -0
- package/dist/models/sepa-dto.d.ts +30 -0
- package/dist/models/sepa-dto.js +15 -0
- package/dist/models/shared-invoice-item-class.d.ts +46 -19
- package/dist/models/shared-invoice-item-class.js +9 -0
- package/dist/models/shared-invoice-status-class.d.ts +47 -0
- package/dist/models/shared-invoice-status-class.js +20 -0
- package/dist/models/update-lead-request-dto.d.ts +7 -0
- package/models/create-lead-request-dto.ts +7 -0
- package/models/create-payment-method-request-dto.ts +37 -0
- package/models/grpc-update-lead-request-dto.ts +7 -0
- package/models/index.ts +3 -1
- package/models/invoice-class.ts +32 -26
- package/models/lead-class.ts +14 -0
- package/models/premium-override-dto.ts +1 -0
- package/models/sepa-dto.ts +36 -0
- package/models/shared-invoice-item-class.ts +49 -19
- package/models/shared-invoice-status-class.ts +56 -0
- package/models/update-lead-request-dto.ts +7 -0
- package/package.json +1 -1
- package/dist/models/currency-class.d.ts +0 -48
- package/models/currency-class.ts +0 -54
- /package/dist/models/{currency-class.js → create-payment-method-request-dto.js} +0 -0
|
@@ -9,8 +9,8 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CurrencyClass } from './currency-class';
|
|
13
12
|
import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
13
|
+
import { SharedInvoiceStatusClass } from './shared-invoice-status-class';
|
|
14
14
|
/**
|
|
15
15
|
*
|
|
16
16
|
* @export
|
|
@@ -18,113 +18,119 @@ import { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
|
18
18
|
*/
|
|
19
19
|
export interface InvoiceClass {
|
|
20
20
|
/**
|
|
21
|
-
*
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof InvoiceClass
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Unique identifier of the policy that this object belongs to.
|
|
22
28
|
* @type {string}
|
|
23
29
|
* @memberof InvoiceClass
|
|
24
30
|
*/
|
|
25
31
|
'policyCode': string;
|
|
26
32
|
/**
|
|
27
|
-
* Account number
|
|
33
|
+
* Account number.
|
|
28
34
|
* @type {string}
|
|
29
35
|
* @memberof InvoiceClass
|
|
30
36
|
*/
|
|
31
37
|
'accountNumber': string;
|
|
32
38
|
/**
|
|
33
|
-
*
|
|
39
|
+
* Unique identifier for the object.
|
|
34
40
|
* @type {string}
|
|
35
41
|
* @memberof InvoiceClass
|
|
36
42
|
*/
|
|
37
43
|
'code': string;
|
|
38
44
|
/**
|
|
39
|
-
* Invoice type
|
|
45
|
+
* Invoice type.
|
|
40
46
|
* @type {string}
|
|
41
47
|
* @memberof InvoiceClass
|
|
42
48
|
*/
|
|
43
49
|
'type': InvoiceClassTypeEnum;
|
|
44
50
|
/**
|
|
45
|
-
* Invoice number
|
|
51
|
+
* Invoice number.
|
|
46
52
|
* @type {string}
|
|
47
53
|
* @memberof InvoiceClass
|
|
48
54
|
*/
|
|
49
55
|
'invoiceNumber': string;
|
|
50
56
|
/**
|
|
51
|
-
* Net amount
|
|
57
|
+
* Net amount is in cents.
|
|
52
58
|
* @type {number}
|
|
53
59
|
* @memberof InvoiceClass
|
|
54
60
|
*/
|
|
55
61
|
'netAmount': number;
|
|
56
62
|
/**
|
|
57
|
-
* Tax amount
|
|
63
|
+
* Tax amount is in cents.
|
|
58
64
|
* @type {number}
|
|
59
65
|
* @memberof InvoiceClass
|
|
60
66
|
*/
|
|
61
67
|
'taxAmount': number;
|
|
62
68
|
/**
|
|
63
|
-
* Credit amount
|
|
69
|
+
* Credit amount.
|
|
64
70
|
* @type {number}
|
|
65
71
|
* @memberof InvoiceClass
|
|
66
72
|
*/
|
|
67
73
|
'creditAmount': number;
|
|
68
74
|
/**
|
|
69
|
-
*
|
|
70
|
-
* @type {number}
|
|
71
|
-
* @memberof InvoiceClass
|
|
72
|
-
*/
|
|
73
|
-
'surcharge': number;
|
|
74
|
-
/**
|
|
75
|
-
* Gross amount
|
|
75
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
76
76
|
* @type {number}
|
|
77
77
|
* @memberof InvoiceClass
|
|
78
78
|
*/
|
|
79
79
|
'grossAmount': number;
|
|
80
80
|
/**
|
|
81
|
-
* Invoice status
|
|
81
|
+
* Invoice status.
|
|
82
82
|
* @type {string}
|
|
83
83
|
* @memberof InvoiceClass
|
|
84
84
|
*/
|
|
85
85
|
'status': InvoiceClassStatusEnum;
|
|
86
86
|
/**
|
|
87
|
-
* Invoice due date
|
|
87
|
+
* Invoice due date.
|
|
88
88
|
* @type {string}
|
|
89
89
|
* @memberof InvoiceClass
|
|
90
90
|
*/
|
|
91
91
|
'dueDate': string;
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
94
94
|
* @type {object}
|
|
95
95
|
* @memberof InvoiceClass
|
|
96
96
|
*/
|
|
97
97
|
'metadata': object;
|
|
98
98
|
/**
|
|
99
|
-
*
|
|
99
|
+
* Start date of billing interval.
|
|
100
100
|
* @type {string}
|
|
101
101
|
* @memberof InvoiceClass
|
|
102
102
|
*/
|
|
103
103
|
'billingIntervalFrom': string;
|
|
104
104
|
/**
|
|
105
|
-
*
|
|
105
|
+
* End date of billing interval.
|
|
106
106
|
* @type {string}
|
|
107
107
|
* @memberof InvoiceClass
|
|
108
108
|
*/
|
|
109
109
|
'billingIntervalTo': string;
|
|
110
110
|
/**
|
|
111
|
-
*
|
|
111
|
+
* Time at which the object was created.
|
|
112
112
|
* @type {string}
|
|
113
113
|
* @memberof InvoiceClass
|
|
114
114
|
*/
|
|
115
115
|
'createdAt': string;
|
|
116
116
|
/**
|
|
117
|
-
* Invoice items
|
|
117
|
+
* Invoice items.
|
|
118
118
|
* @type {Array<SharedInvoiceItemClass>}
|
|
119
119
|
* @memberof InvoiceClass
|
|
120
120
|
*/
|
|
121
121
|
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
122
122
|
/**
|
|
123
|
-
*
|
|
124
|
-
* @type {
|
|
123
|
+
* Invoice statuses.
|
|
124
|
+
* @type {Array<SharedInvoiceStatusClass>}
|
|
125
|
+
* @memberof InvoiceClass
|
|
126
|
+
*/
|
|
127
|
+
'statuses': Array<SharedInvoiceStatusClass>;
|
|
128
|
+
/**
|
|
129
|
+
* Invoice currency. EUR is used by default.
|
|
130
|
+
* @type {string}
|
|
125
131
|
* @memberof InvoiceClass
|
|
126
132
|
*/
|
|
127
|
-
'currency':
|
|
133
|
+
'currency': string;
|
|
128
134
|
}
|
|
129
135
|
export declare const InvoiceClassTypeEnum: {
|
|
130
136
|
readonly Initial: "initial";
|
|
@@ -10,7 +10,9 @@
|
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
12
|
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
14
|
import { CreatePolicyRequestDto } from './create-policy-request-dto';
|
|
15
|
+
import { InvoiceClass } from './invoice-class';
|
|
14
16
|
import { LeadBankAccountClass } from './lead-bank-account-class';
|
|
15
17
|
import { PremiumOverrideRequestClass } from './premium-override-request-class';
|
|
16
18
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -92,6 +94,18 @@ export interface LeadClass {
|
|
|
92
94
|
* @memberof LeadClass
|
|
93
95
|
*/
|
|
94
96
|
'ern': string;
|
|
97
|
+
/**
|
|
98
|
+
* Quote or price details.
|
|
99
|
+
* @type {InvoiceClass}
|
|
100
|
+
* @memberof LeadClass
|
|
101
|
+
*/
|
|
102
|
+
'quote': InvoiceClass;
|
|
103
|
+
/**
|
|
104
|
+
* Payment method. When a payment method is provided, it needs to be handled in the workflow based on its type.
|
|
105
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
106
|
+
* @memberof LeadClass
|
|
107
|
+
*/
|
|
108
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
95
109
|
/**
|
|
96
110
|
* Time at which the object was created.
|
|
97
111
|
* @type {string}
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
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 SepaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SepaDto {
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SepaDto
|
|
22
|
+
*/
|
|
23
|
+
'iban': string;
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SepaDto
|
|
28
|
+
*/
|
|
29
|
+
'holderName'?: string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService API description
|
|
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 });
|
|
@@ -16,87 +16,114 @@
|
|
|
16
16
|
*/
|
|
17
17
|
export interface SharedInvoiceItemClass {
|
|
18
18
|
/**
|
|
19
|
-
*
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SharedInvoiceItemClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the premium formula.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SharedInvoiceItemClass
|
|
28
|
+
*/
|
|
29
|
+
'premiumFormulaId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Product name.
|
|
20
32
|
* @type {string}
|
|
21
33
|
* @memberof SharedInvoiceItemClass
|
|
22
34
|
*/
|
|
23
35
|
'name': string;
|
|
24
36
|
/**
|
|
25
|
-
* tax
|
|
37
|
+
* Unique identifier of the tax that this object belongs to.
|
|
26
38
|
* @type {string}
|
|
27
39
|
* @memberof SharedInvoiceItemClass
|
|
28
40
|
*/
|
|
29
41
|
'taxCode': string;
|
|
30
42
|
/**
|
|
31
|
-
*
|
|
43
|
+
* The Premium unit determined based on time or distance.
|
|
32
44
|
* @type {string}
|
|
33
45
|
* @memberof SharedInvoiceItemClass
|
|
34
46
|
*/
|
|
35
|
-
'unit':
|
|
47
|
+
'unit': SharedInvoiceItemClassUnitEnum;
|
|
36
48
|
/**
|
|
37
|
-
* group
|
|
49
|
+
* Invoice group.
|
|
38
50
|
* @type {string}
|
|
39
51
|
* @memberof SharedInvoiceItemClass
|
|
40
52
|
*/
|
|
41
53
|
'group': string;
|
|
42
54
|
/**
|
|
43
|
-
* Item quantity
|
|
55
|
+
* Item quantity property determines number of days during the billing interval.
|
|
44
56
|
* @type {number}
|
|
45
57
|
* @memberof SharedInvoiceItemClass
|
|
46
58
|
*/
|
|
47
59
|
'quantity': number;
|
|
48
60
|
/**
|
|
49
|
-
* Item price per unit
|
|
61
|
+
* Item price per unit.
|
|
50
62
|
* @type {number}
|
|
51
63
|
* @memberof SharedInvoiceItemClass
|
|
52
64
|
*/
|
|
53
65
|
'pricePerUnit': number;
|
|
54
66
|
/**
|
|
55
|
-
* Item tax rate
|
|
67
|
+
* Item tax rate.
|
|
56
68
|
* @type {number}
|
|
57
69
|
* @memberof SharedInvoiceItemClass
|
|
58
70
|
*/
|
|
59
71
|
'taxRate': number;
|
|
60
72
|
/**
|
|
61
|
-
* Net amount
|
|
73
|
+
* Net amount is in cents. It is calculated by multiplying the quantity and the price Per unit.
|
|
62
74
|
* @type {number}
|
|
63
75
|
* @memberof SharedInvoiceItemClass
|
|
64
76
|
*/
|
|
65
77
|
'netAmount': number;
|
|
66
78
|
/**
|
|
67
|
-
*
|
|
79
|
+
* Tax amount is in cents.
|
|
68
80
|
* @type {number}
|
|
69
81
|
* @memberof SharedInvoiceItemClass
|
|
70
82
|
*/
|
|
71
83
|
'taxAmount': number;
|
|
72
84
|
/**
|
|
73
|
-
* Gross amount
|
|
85
|
+
* Gross amount. This property is sum of taxAmount and netAmount.
|
|
74
86
|
* @type {number}
|
|
75
87
|
* @memberof SharedInvoiceItemClass
|
|
76
88
|
*/
|
|
77
89
|
'grossAmount': number;
|
|
78
90
|
/**
|
|
79
|
-
* Credit amount
|
|
91
|
+
* Credit amount.
|
|
80
92
|
* @type {number}
|
|
81
93
|
* @memberof SharedInvoiceItemClass
|
|
82
94
|
*/
|
|
83
95
|
'creditAmount': number;
|
|
84
96
|
/**
|
|
85
|
-
*
|
|
86
|
-
* @type {
|
|
97
|
+
* This is the date from which the invoice item interval starts.
|
|
98
|
+
* @type {string}
|
|
87
99
|
* @memberof SharedInvoiceItemClass
|
|
88
100
|
*/
|
|
89
|
-
'
|
|
101
|
+
'billingIntervalFrom': string;
|
|
90
102
|
/**
|
|
91
|
-
*
|
|
103
|
+
* This is the date that the invoice item interval ends.
|
|
92
104
|
* @type {string}
|
|
93
105
|
* @memberof SharedInvoiceItemClass
|
|
94
106
|
*/
|
|
95
|
-
'
|
|
107
|
+
'billingIntervalTo': string;
|
|
96
108
|
/**
|
|
97
|
-
*
|
|
109
|
+
* Type of Premium item.
|
|
98
110
|
* @type {string}
|
|
99
111
|
* @memberof SharedInvoiceItemClass
|
|
100
112
|
*/
|
|
101
|
-
'
|
|
113
|
+
'itemType'?: string;
|
|
114
|
+
/**
|
|
115
|
+
* Visibility of Premium item.
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof SharedInvoiceItemClass
|
|
118
|
+
*/
|
|
119
|
+
'visibility'?: string;
|
|
102
120
|
}
|
|
121
|
+
export declare const SharedInvoiceItemClassUnitEnum: {
|
|
122
|
+
readonly Day: "day";
|
|
123
|
+
readonly Week: "week";
|
|
124
|
+
readonly Month: "month";
|
|
125
|
+
readonly Quarter: "quarter";
|
|
126
|
+
readonly Year: "year";
|
|
127
|
+
readonly OneTimePayment: "oneTimePayment";
|
|
128
|
+
};
|
|
129
|
+
export type SharedInvoiceItemClassUnitEnum = typeof SharedInvoiceItemClassUnitEnum[keyof typeof SharedInvoiceItemClassUnitEnum];
|
|
@@ -13,3 +13,12 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.SharedInvoiceItemClassUnitEnum = void 0;
|
|
17
|
+
exports.SharedInvoiceItemClassUnitEnum = {
|
|
18
|
+
Day: 'day',
|
|
19
|
+
Week: 'week',
|
|
20
|
+
Month: 'month',
|
|
21
|
+
Quarter: 'quarter',
|
|
22
|
+
Year: 'year',
|
|
23
|
+
OneTimePayment: 'oneTimePayment'
|
|
24
|
+
};
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
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 SharedInvoiceStatusClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SharedInvoiceStatusClass {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof SharedInvoiceStatusClass
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the invoice.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof SharedInvoiceStatusClass
|
|
28
|
+
*/
|
|
29
|
+
'invoiceId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Invoice type.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SharedInvoiceStatusClass
|
|
34
|
+
*/
|
|
35
|
+
'status': SharedInvoiceStatusClassStatusEnum;
|
|
36
|
+
/**
|
|
37
|
+
* Time at which the object was created.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SharedInvoiceStatusClass
|
|
40
|
+
*/
|
|
41
|
+
'createdAt': string;
|
|
42
|
+
}
|
|
43
|
+
export declare const SharedInvoiceStatusClassStatusEnum: {
|
|
44
|
+
readonly Open: "open";
|
|
45
|
+
readonly Paid: "paid";
|
|
46
|
+
};
|
|
47
|
+
export type SharedInvoiceStatusClassStatusEnum = typeof SharedInvoiceStatusClassStatusEnum[keyof typeof SharedInvoiceStatusClassStatusEnum];
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService API description
|
|
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 });
|
|
16
|
+
exports.SharedInvoiceStatusClassStatusEnum = void 0;
|
|
17
|
+
exports.SharedInvoiceStatusClassStatusEnum = {
|
|
18
|
+
Open: 'open',
|
|
19
|
+
Paid: 'paid'
|
|
20
|
+
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
12
13
|
import { PolicyObjectDto } from './policy-object-dto';
|
|
13
14
|
/**
|
|
14
15
|
*
|
|
@@ -34,4 +35,10 @@ export interface UpdateLeadRequestDto {
|
|
|
34
35
|
* @memberof UpdateLeadRequestDto
|
|
35
36
|
*/
|
|
36
37
|
'status'?: string;
|
|
38
|
+
/**
|
|
39
|
+
* Payment method
|
|
40
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
41
|
+
* @memberof UpdateLeadRequestDto
|
|
42
|
+
*/
|
|
43
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
37
44
|
}
|
|
@@ -14,6 +14,7 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
17
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
17
18
|
import { PolicyObjectDto } from './policy-object-dto';
|
|
18
19
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
19
20
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -78,5 +79,11 @@ export interface CreateLeadRequestDto {
|
|
|
78
79
|
* @memberof CreateLeadRequestDto
|
|
79
80
|
*/
|
|
80
81
|
'premiumOverride'?: PremiumOverrideRequestDto;
|
|
82
|
+
/**
|
|
83
|
+
* Payment method
|
|
84
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
85
|
+
* @memberof CreateLeadRequestDto
|
|
86
|
+
*/
|
|
87
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
81
88
|
}
|
|
82
89
|
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService API description
|
|
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 { SepaDto } from './sepa-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreatePaymentMethodRequestDto
|
|
22
|
+
*/
|
|
23
|
+
export interface CreatePaymentMethodRequestDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'type': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {SepaDto}
|
|
33
|
+
* @memberof CreatePaymentMethodRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'sepa'?: SepaDto;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
16
17
|
import { PolicyObjectDto } from './policy-object-dto';
|
|
17
18
|
|
|
18
19
|
/**
|
|
@@ -39,6 +40,12 @@ export interface GrpcUpdateLeadRequestDto {
|
|
|
39
40
|
* @memberof GrpcUpdateLeadRequestDto
|
|
40
41
|
*/
|
|
41
42
|
'status'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Payment method
|
|
45
|
+
* @type {CreatePaymentMethodRequestDto}
|
|
46
|
+
* @memberof GrpcUpdateLeadRequestDto
|
|
47
|
+
*/
|
|
48
|
+
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
42
49
|
/**
|
|
43
50
|
*
|
|
44
51
|
* @type {string}
|
package/models/index.ts
CHANGED
|
@@ -14,9 +14,9 @@ export * from './create-customer-request-dto';
|
|
|
14
14
|
export * from './create-customer-response-class';
|
|
15
15
|
export * from './create-lead-request-dto';
|
|
16
16
|
export * from './create-lead-response-class';
|
|
17
|
+
export * from './create-payment-method-request-dto';
|
|
17
18
|
export * from './create-policy-request-dto';
|
|
18
19
|
export * from './create-presigned-post-response-class';
|
|
19
|
-
export * from './currency-class';
|
|
20
20
|
export * from './customer-class';
|
|
21
21
|
export * from './customer-document-class';
|
|
22
22
|
export * from './customer-product-class';
|
|
@@ -62,8 +62,10 @@ export * from './request-policy-update-response-class';
|
|
|
62
62
|
export * from './reset-password-by-customer-request-dto';
|
|
63
63
|
export * from './respond-to-auth-challenge-class';
|
|
64
64
|
export * from './respond-to-auth-challenge-request-dto';
|
|
65
|
+
export * from './sepa-dto';
|
|
65
66
|
export * from './shared-customer-policy-object-request-dto';
|
|
66
67
|
export * from './shared-invoice-item-class';
|
|
68
|
+
export * from './shared-invoice-status-class';
|
|
67
69
|
export * from './terminate-customer-policy-request-dto';
|
|
68
70
|
export * from './terminate-customer-policy-response-class';
|
|
69
71
|
export * from './timeslice-class';
|