@emilgroup/billing-sdk 1.0.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 +37 -0
- package/.openapi-generator/VERSION +1 -0
- package/.openapi-generator-ignore +23 -0
- package/README.md +51 -0
- package/api/correction-invoices-api.ts +161 -0
- package/api/estimated-invoices-api.ts +264 -0
- package/api/initial-invoices-api.ts +161 -0
- package/api/invoices-api.ts +398 -0
- package/api/recurring-invoices-api.ts +161 -0
- package/api.ts +40 -0
- package/base.ts +247 -0
- package/common.ts +198 -0
- package/configuration.ts +101 -0
- package/dist/api/correction-invoices-api.d.ts +93 -0
- package/dist/api/correction-invoices-api.js +220 -0
- package/dist/api/estimated-invoices-api.d.ts +146 -0
- package/dist/api/estimated-invoices-api.js +309 -0
- package/dist/api/initial-invoices-api.d.ts +93 -0
- package/dist/api/initial-invoices-api.js +220 -0
- package/dist/api/invoices-api.d.ts +234 -0
- package/dist/api/invoices-api.js +369 -0
- package/dist/api/recurring-invoices-api.d.ts +93 -0
- package/dist/api/recurring-invoices-api.js +220 -0
- package/dist/api.d.ts +20 -0
- package/dist/api.js +40 -0
- package/dist/base.d.ts +72 -0
- package/dist/base.js +293 -0
- package/dist/common.d.ts +91 -0
- package/dist/common.js +276 -0
- package/dist/configuration.d.ts +83 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +35 -0
- package/dist/models/create-correction-invoices-response-class.d.ts +25 -0
- package/dist/models/create-correction-invoices-response-class.js +15 -0
- package/dist/models/create-custom-estimated-invoice-request-dto.d.ts +35 -0
- package/dist/models/create-custom-estimated-invoice-request-dto.js +20 -0
- package/dist/models/create-custom-estimated-invoice-response-class.d.ts +24 -0
- package/dist/models/create-custom-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-estimated-invoice-request-dto.d.ts +31 -0
- package/dist/models/create-estimated-invoice-request-dto.js +15 -0
- package/dist/models/create-estimated-invoice-response-class.d.ts +31 -0
- package/dist/models/create-estimated-invoice-response-class.js +15 -0
- package/dist/models/create-invoice-request-dto.d.ts +75 -0
- package/dist/models/create-invoice-request-dto.js +24 -0
- package/dist/models/create-invoice-response-class.d.ts +25 -0
- package/dist/models/create-invoice-response-class.js +15 -0
- package/dist/models/index.d.ts +19 -0
- package/dist/models/index.js +35 -0
- package/dist/models/invoice-class.d.ts +121 -0
- package/dist/models/invoice-class.js +15 -0
- package/dist/models/invoice-item-class.d.ts +108 -0
- package/dist/models/invoice-item-class.js +15 -0
- package/dist/models/list-invoices-response-class.d.ts +31 -0
- package/dist/models/list-invoices-response-class.js +15 -0
- package/dist/models/list-policies-billing-dates-response-class.d.ts +30 -0
- package/dist/models/list-policies-billing-dates-response-class.js +15 -0
- package/dist/models/list-request-dto.d.ts +54 -0
- package/dist/models/list-request-dto.js +15 -0
- package/dist/models/policy-dto.d.ts +85 -0
- package/dist/models/policy-dto.js +15 -0
- package/dist/models/policy-object-dto.d.ts +42 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-dto.d.ts +43 -0
- package/dist/models/policy-premium-dto.js +15 -0
- package/dist/models/policy-premium-item-dto.d.ts +49 -0
- package/dist/models/policy-premium-item-dto.js +15 -0
- package/dist/models/policy-version-dto.d.ts +55 -0
- package/dist/models/policy-version-dto.js +15 -0
- package/dist/models/premium-formula-dto.d.ts +72 -0
- package/dist/models/premium-formula-dto.js +15 -0
- package/dist/models/timeslice-dto.d.ts +62 -0
- package/dist/models/timeslice-dto.js +15 -0
- package/git_push.sh +57 -0
- package/index.ts +19 -0
- package/models/create-correction-invoices-response-class.ts +31 -0
- package/models/create-custom-estimated-invoice-request-dto.ts +44 -0
- package/models/create-custom-estimated-invoice-response-class.ts +30 -0
- package/models/create-estimated-invoice-request-dto.ts +37 -0
- package/models/create-estimated-invoice-response-class.ts +37 -0
- package/models/create-invoice-request-dto.ts +84 -0
- package/models/create-invoice-response-class.ts +31 -0
- package/models/index.ts +19 -0
- package/models/invoice-class.ts +127 -0
- package/models/invoice-item-class.ts +114 -0
- package/models/list-invoices-response-class.ts +37 -0
- package/models/list-policies-billing-dates-response-class.ts +36 -0
- package/models/list-request-dto.ts +60 -0
- package/models/policy-dto.ts +91 -0
- package/models/policy-object-dto.ts +48 -0
- package/models/policy-premium-dto.ts +49 -0
- package/models/policy-premium-item-dto.ts +55 -0
- package/models/policy-version-dto.ts +61 -0
- package/models/premium-formula-dto.ts +78 -0
- package/models/timeslice-dto.ts +68 -0
- package/package.json +27 -0
- package/tsconfig.json +22 -0
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 { InvoiceItemClass } from './invoice-item-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface InvoiceClass
|
|
22
|
+
*/
|
|
23
|
+
export interface InvoiceClass {
|
|
24
|
+
/**
|
|
25
|
+
* Invoice id
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof InvoiceClass
|
|
28
|
+
*/
|
|
29
|
+
'id': number;
|
|
30
|
+
/**
|
|
31
|
+
* policy code
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof InvoiceClass
|
|
34
|
+
*/
|
|
35
|
+
'policyCode': string;
|
|
36
|
+
/**
|
|
37
|
+
* Account number
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof InvoiceClass
|
|
40
|
+
*/
|
|
41
|
+
'accountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Invoice code
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof InvoiceClass
|
|
46
|
+
*/
|
|
47
|
+
'code': string;
|
|
48
|
+
/**
|
|
49
|
+
* Invoice type
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof InvoiceClass
|
|
52
|
+
*/
|
|
53
|
+
'type': string;
|
|
54
|
+
/**
|
|
55
|
+
* Invoice number
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof InvoiceClass
|
|
58
|
+
*/
|
|
59
|
+
'invoiceNumber': string;
|
|
60
|
+
/**
|
|
61
|
+
* Net amount
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof InvoiceClass
|
|
64
|
+
*/
|
|
65
|
+
'netAmount': number;
|
|
66
|
+
/**
|
|
67
|
+
* Tax amount
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof InvoiceClass
|
|
70
|
+
*/
|
|
71
|
+
'taxAmount': number;
|
|
72
|
+
/**
|
|
73
|
+
* Credit amount
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof InvoiceClass
|
|
76
|
+
*/
|
|
77
|
+
'creditAmount': number;
|
|
78
|
+
/**
|
|
79
|
+
* Gross amount
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof InvoiceClass
|
|
82
|
+
*/
|
|
83
|
+
'grossAmount': number;
|
|
84
|
+
/**
|
|
85
|
+
* Invoice status
|
|
86
|
+
* @type {string}
|
|
87
|
+
* @memberof InvoiceClass
|
|
88
|
+
*/
|
|
89
|
+
'status': string;
|
|
90
|
+
/**
|
|
91
|
+
* Invoice due date
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof InvoiceClass
|
|
94
|
+
*/
|
|
95
|
+
'dueDate': string;
|
|
96
|
+
/**
|
|
97
|
+
* Invoice metadata
|
|
98
|
+
* @type {object}
|
|
99
|
+
* @memberof InvoiceClass
|
|
100
|
+
*/
|
|
101
|
+
'metadata': object;
|
|
102
|
+
/**
|
|
103
|
+
* Invoice billing interval from
|
|
104
|
+
* @type {string}
|
|
105
|
+
* @memberof InvoiceClass
|
|
106
|
+
*/
|
|
107
|
+
'billingIntervalFrom': string;
|
|
108
|
+
/**
|
|
109
|
+
* Invoice billing interval to
|
|
110
|
+
* @type {string}
|
|
111
|
+
* @memberof InvoiceClass
|
|
112
|
+
*/
|
|
113
|
+
'billingIntervalTo': string;
|
|
114
|
+
/**
|
|
115
|
+
* Invoice created at
|
|
116
|
+
* @type {string}
|
|
117
|
+
* @memberof InvoiceClass
|
|
118
|
+
*/
|
|
119
|
+
'createdAt': string;
|
|
120
|
+
/**
|
|
121
|
+
* Invoice items
|
|
122
|
+
* @type {Array<InvoiceItemClass>}
|
|
123
|
+
* @memberof InvoiceClass
|
|
124
|
+
*/
|
|
125
|
+
'invoiceItems': Array<InvoiceItemClass>;
|
|
126
|
+
}
|
|
127
|
+
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 InvoiceItemClass
|
|
21
|
+
*/
|
|
22
|
+
export interface InvoiceItemClass {
|
|
23
|
+
/**
|
|
24
|
+
* Invoice item id
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof InvoiceItemClass
|
|
27
|
+
*/
|
|
28
|
+
'id': number;
|
|
29
|
+
/**
|
|
30
|
+
* Premium formula id
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof InvoiceItemClass
|
|
33
|
+
*/
|
|
34
|
+
'premiumFormulaId': number;
|
|
35
|
+
/**
|
|
36
|
+
* product name
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InvoiceItemClass
|
|
39
|
+
*/
|
|
40
|
+
'name': string;
|
|
41
|
+
/**
|
|
42
|
+
* tax code
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof InvoiceItemClass
|
|
45
|
+
*/
|
|
46
|
+
'taxCode': string;
|
|
47
|
+
/**
|
|
48
|
+
* Invoice type
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof InvoiceItemClass
|
|
51
|
+
*/
|
|
52
|
+
'unit': string;
|
|
53
|
+
/**
|
|
54
|
+
* group
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof InvoiceItemClass
|
|
57
|
+
*/
|
|
58
|
+
'group': string;
|
|
59
|
+
/**
|
|
60
|
+
* Item quantity
|
|
61
|
+
* @type {number}
|
|
62
|
+
* @memberof InvoiceItemClass
|
|
63
|
+
*/
|
|
64
|
+
'quantity': number;
|
|
65
|
+
/**
|
|
66
|
+
* Item price per unit
|
|
67
|
+
* @type {number}
|
|
68
|
+
* @memberof InvoiceItemClass
|
|
69
|
+
*/
|
|
70
|
+
'pricePerUnit': number;
|
|
71
|
+
/**
|
|
72
|
+
* Item tax rate
|
|
73
|
+
* @type {number}
|
|
74
|
+
* @memberof InvoiceItemClass
|
|
75
|
+
*/
|
|
76
|
+
'taxRate': number;
|
|
77
|
+
/**
|
|
78
|
+
* Net amount
|
|
79
|
+
* @type {number}
|
|
80
|
+
* @memberof InvoiceItemClass
|
|
81
|
+
*/
|
|
82
|
+
'netAmount': number;
|
|
83
|
+
/**
|
|
84
|
+
* Net tax amount
|
|
85
|
+
* @type {number}
|
|
86
|
+
* @memberof InvoiceItemClass
|
|
87
|
+
*/
|
|
88
|
+
'taxAmount': number;
|
|
89
|
+
/**
|
|
90
|
+
* Gross amount
|
|
91
|
+
* @type {number}
|
|
92
|
+
* @memberof InvoiceItemClass
|
|
93
|
+
*/
|
|
94
|
+
'grossAmount': number;
|
|
95
|
+
/**
|
|
96
|
+
* Credit amount
|
|
97
|
+
* @type {number}
|
|
98
|
+
* @memberof InvoiceItemClass
|
|
99
|
+
*/
|
|
100
|
+
'creditAmount': number;
|
|
101
|
+
/**
|
|
102
|
+
* Invoice item interval from
|
|
103
|
+
* @type {string}
|
|
104
|
+
* @memberof InvoiceItemClass
|
|
105
|
+
*/
|
|
106
|
+
'billingIntervalFrom': string;
|
|
107
|
+
/**
|
|
108
|
+
* Invoice item interval to
|
|
109
|
+
* @type {string}
|
|
110
|
+
* @memberof InvoiceItemClass
|
|
111
|
+
*/
|
|
112
|
+
'billingIntervalTo': string;
|
|
113
|
+
}
|
|
114
|
+
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 { InvoiceClass } from './invoice-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface ListInvoicesResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface ListInvoicesResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Invoices list items
|
|
26
|
+
* @type {Array<InvoiceClass>}
|
|
27
|
+
* @memberof ListInvoicesResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'items': Array<InvoiceClass>;
|
|
30
|
+
/**
|
|
31
|
+
* Next page token
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof ListInvoicesResponseClass
|
|
34
|
+
*/
|
|
35
|
+
'nextPageToken': string;
|
|
36
|
+
}
|
|
37
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 ListPoliciesBillingDatesResponseClass
|
|
21
|
+
*/
|
|
22
|
+
export interface ListPoliciesBillingDatesResponseClass {
|
|
23
|
+
/**
|
|
24
|
+
* Invoices list items
|
|
25
|
+
* @type {Array<string>}
|
|
26
|
+
* @memberof ListPoliciesBillingDatesResponseClass
|
|
27
|
+
*/
|
|
28
|
+
'items': Array<string>;
|
|
29
|
+
/**
|
|
30
|
+
* Next page token
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ListPoliciesBillingDatesResponseClass
|
|
33
|
+
*/
|
|
34
|
+
'nextPageToken': string;
|
|
35
|
+
}
|
|
36
|
+
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 ListRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface ListRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Page size
|
|
25
|
+
* @type {number}
|
|
26
|
+
* @memberof ListRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'pageSize'?: number;
|
|
29
|
+
/**
|
|
30
|
+
* Page token
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof ListRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'pageToken'?: string;
|
|
35
|
+
/**
|
|
36
|
+
* List filter
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ListRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'filter'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Search query
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ListRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'search'?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Ordering criteria
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof ListRequestDto
|
|
51
|
+
*/
|
|
52
|
+
'order'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Extra fields to fetch
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof ListRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'expand'?: string;
|
|
59
|
+
}
|
|
60
|
+
|
|
@@ -0,0 +1,91 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 { PolicyVersionDto } from './policy-version-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyDto
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PolicyDto
|
|
28
|
+
*/
|
|
29
|
+
'policyStartDate': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PolicyDto
|
|
34
|
+
*/
|
|
35
|
+
'createdAt': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyDto
|
|
40
|
+
*/
|
|
41
|
+
'updatedAt': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<PolicyVersionDto>}
|
|
45
|
+
* @memberof PolicyDto
|
|
46
|
+
*/
|
|
47
|
+
'versions': Array<PolicyVersionDto>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PolicyDto
|
|
52
|
+
*/
|
|
53
|
+
'id': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PolicyDto
|
|
58
|
+
*/
|
|
59
|
+
'code': string;
|
|
60
|
+
/**
|
|
61
|
+
*
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PolicyDto
|
|
64
|
+
*/
|
|
65
|
+
'policyNumber': string;
|
|
66
|
+
/**
|
|
67
|
+
*
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof PolicyDto
|
|
70
|
+
*/
|
|
71
|
+
'productVersionId': number;
|
|
72
|
+
/**
|
|
73
|
+
*
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof PolicyDto
|
|
76
|
+
*/
|
|
77
|
+
'productId': number;
|
|
78
|
+
/**
|
|
79
|
+
*
|
|
80
|
+
* @type {string}
|
|
81
|
+
* @memberof PolicyDto
|
|
82
|
+
*/
|
|
83
|
+
'accountCode': string;
|
|
84
|
+
/**
|
|
85
|
+
*
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof PolicyDto
|
|
88
|
+
*/
|
|
89
|
+
'statusId': number;
|
|
90
|
+
}
|
|
91
|
+
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 PolicyObjectDto
|
|
21
|
+
*/
|
|
22
|
+
export interface PolicyObjectDto {
|
|
23
|
+
/**
|
|
24
|
+
*
|
|
25
|
+
* @type {object}
|
|
26
|
+
* @memberof PolicyObjectDto
|
|
27
|
+
*/
|
|
28
|
+
'data': object;
|
|
29
|
+
/**
|
|
30
|
+
*
|
|
31
|
+
* @type {number}
|
|
32
|
+
* @memberof PolicyObjectDto
|
|
33
|
+
*/
|
|
34
|
+
'insuredObjectId': number;
|
|
35
|
+
/**
|
|
36
|
+
*
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof PolicyObjectDto
|
|
39
|
+
*/
|
|
40
|
+
'insuredObjectName': string;
|
|
41
|
+
/**
|
|
42
|
+
*
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof PolicyObjectDto
|
|
45
|
+
*/
|
|
46
|
+
'summary': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 { PolicyPremiumItemDto } from './policy-premium-item-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyPremiumDto
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyPremiumDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PolicyPremiumDto
|
|
28
|
+
*/
|
|
29
|
+
'createdAt': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PolicyPremiumDto
|
|
34
|
+
*/
|
|
35
|
+
'updatedAt': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {Array<PolicyPremiumItemDto>}
|
|
39
|
+
* @memberof PolicyPremiumDto
|
|
40
|
+
*/
|
|
41
|
+
'premiumItems': Array<PolicyPremiumItemDto>;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PolicyPremiumDto
|
|
46
|
+
*/
|
|
47
|
+
'grandTotal': number;
|
|
48
|
+
}
|
|
49
|
+
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 { PremiumFormulaDto } from './premium-formula-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyPremiumItemDto
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyPremiumItemDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof PolicyPremiumItemDto
|
|
28
|
+
*/
|
|
29
|
+
'createdAt': string;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PolicyPremiumItemDto
|
|
34
|
+
*/
|
|
35
|
+
'updatedAt': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {PremiumFormulaDto}
|
|
39
|
+
* @memberof PolicyPremiumItemDto
|
|
40
|
+
*/
|
|
41
|
+
'premiumFormula': PremiumFormulaDto;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof PolicyPremiumItemDto
|
|
46
|
+
*/
|
|
47
|
+
'premiumFormulaId': number;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PolicyPremiumItemDto
|
|
52
|
+
*/
|
|
53
|
+
'total': number;
|
|
54
|
+
}
|
|
55
|
+
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL BillingService
|
|
5
|
+
* The EMIL BillingService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 { TimesliceDto } from './timeslice-dto';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface PolicyVersionDto
|
|
22
|
+
*/
|
|
23
|
+
export interface PolicyVersionDto {
|
|
24
|
+
/**
|
|
25
|
+
*
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof PolicyVersionDto
|
|
28
|
+
*/
|
|
29
|
+
'metadata': object;
|
|
30
|
+
/**
|
|
31
|
+
*
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PolicyVersionDto
|
|
34
|
+
*/
|
|
35
|
+
'createdAt': string;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PolicyVersionDto
|
|
40
|
+
*/
|
|
41
|
+
'updatedAt': string;
|
|
42
|
+
/**
|
|
43
|
+
*
|
|
44
|
+
* @type {Array<TimesliceDto>}
|
|
45
|
+
* @memberof PolicyVersionDto
|
|
46
|
+
*/
|
|
47
|
+
'timeline': Array<TimesliceDto>;
|
|
48
|
+
/**
|
|
49
|
+
*
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof PolicyVersionDto
|
|
52
|
+
*/
|
|
53
|
+
'id': number;
|
|
54
|
+
/**
|
|
55
|
+
*
|
|
56
|
+
* @type {boolean}
|
|
57
|
+
* @memberof PolicyVersionDto
|
|
58
|
+
*/
|
|
59
|
+
'isCurrent': boolean;
|
|
60
|
+
}
|
|
61
|
+
|