@emilgroup/billing-sdk-node 1.10.0 → 1.17.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 +1 -0
- package/README.md +2 -2
- package/api/invoices-api.ts +134 -0
- package/dist/api/correction-invoices-api.d.ts +106 -0
- package/dist/api/correction-invoices-api.js +234 -0
- package/dist/api/default-api.d.ts +66 -0
- package/dist/api/default-api.js +200 -0
- package/dist/api/estimated-invoices-api.d.ts +154 -0
- package/dist/api/estimated-invoices-api.js +321 -0
- package/dist/api/initial-invoices-api.d.ts +106 -0
- package/dist/api/initial-invoices-api.js +234 -0
- package/dist/api/invoices-api.d.ts +382 -0
- package/dist/api/invoices-api.js +586 -0
- package/dist/api/recurring-invoices-api.d.ts +106 -0
- package/dist/api/recurring-invoices-api.js +234 -0
- package/dist/api.d.ts +17 -0
- package/dist/api.js +35 -0
- package/dist/base.d.ts +78 -0
- package/dist/base.js +394 -0
- package/dist/common.d.ts +92 -0
- package/dist/common.js +277 -0
- package/dist/configuration.d.ts +90 -0
- package/dist/configuration.js +44 -0
- package/dist/index.d.ts +15 -0
- package/dist/index.js +36 -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 +37 -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-payment-request-dto.d.ts +48 -0
- package/dist/models/create-invoice-payment-request-dto.js +15 -0
- package/dist/models/create-invoice-payment-response-class.d.ts +25 -0
- package/dist/models/create-invoice-payment-response-class.js +15 -0
- package/dist/models/create-invoice-request-dto.d.ts +83 -0
- package/dist/models/create-invoice-request-dto.js +26 -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/create-invoice-status-request-dto.d.ts +36 -0
- package/dist/models/create-invoice-status-request-dto.js +21 -0
- package/dist/models/create-termination-invoice-request-dto.d.ts +54 -0
- package/dist/models/create-termination-invoice-request-dto.js +15 -0
- package/dist/models/get-invoice-response-class.d.ts +25 -0
- package/dist/models/get-invoice-response-class.js +15 -0
- package/dist/models/index.d.ts +32 -0
- package/dist/models/index.js +48 -0
- package/dist/models/inline-response200.d.ts +54 -0
- package/dist/models/inline-response200.js +15 -0
- package/dist/models/inline-response503.d.ts +54 -0
- package/dist/models/inline-response503.js +15 -0
- package/dist/models/invoice-class.d.ts +170 -0
- package/dist/models/invoice-class.js +31 -0
- package/dist/models/invoice-item-class.d.ts +129 -0
- package/dist/models/invoice-item-class.js +24 -0
- package/dist/models/invoice-payment-class.d.ts +102 -0
- package/dist/models/invoice-payment-class.js +15 -0
- package/dist/models/invoice-payments-class.d.ts +25 -0
- package/dist/models/invoice-payments-class.js +15 -0
- package/dist/models/invoice-status-class.d.ts +48 -0
- package/dist/models/invoice-status-class.js +21 -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 +31 -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/omit-type-class.d.ts +156 -0
- package/dist/models/omit-type-class.js +31 -0
- package/dist/models/policy-billing-date-class.d.ts +42 -0
- package/dist/models/policy-billing-date-class.js +15 -0
- package/dist/models/policy-dto.d.ts +123 -0
- package/dist/models/policy-dto.js +23 -0
- package/dist/models/policy-object-dto.d.ts +72 -0
- package/dist/models/policy-object-dto.js +15 -0
- package/dist/models/policy-premium-dto.d.ts +49 -0
- package/dist/models/policy-premium-dto.js +15 -0
- package/dist/models/policy-premium-item-dto.d.ts +55 -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/revert-invoice-request-dto.d.ts +24 -0
- package/dist/models/revert-invoice-request-dto.js +15 -0
- package/dist/models/timeslice-dto.d.ts +62 -0
- package/dist/models/timeslice-dto.js +15 -0
- package/models/create-estimated-invoice-request-dto.ts +7 -1
- package/models/create-invoice-payment-request-dto.ts +0 -6
- package/models/create-invoice-payment-response-class.ts +31 -0
- package/models/create-invoice-request-dto.ts +6 -0
- package/models/create-termination-invoice-request-dto.ts +6 -0
- package/models/index.ts +1 -0
- package/models/invoice-class.ts +6 -0
- package/models/invoice-payment-class.ts +7 -1
- package/models/omit-type-class.ts +6 -7
- package/models/policy-dto.ts +3 -2
- package/models/policy-object-dto.ts +24 -0
- package/models/policy-version-dto.ts +3 -3
- package/models/timeslice-dto.ts +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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
|
+
import { PremiumFormulaDto } from './premium-formula-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PolicyPremiumItemDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PolicyPremiumItemDto {
|
|
19
|
+
/**
|
|
20
|
+
* Unique identifier referencing the item premium formula.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PolicyPremiumItemDto
|
|
23
|
+
*/
|
|
24
|
+
'premiumFormulaId': number;
|
|
25
|
+
/**
|
|
26
|
+
* Item total.
|
|
27
|
+
* @type {number}
|
|
28
|
+
* @memberof PolicyPremiumItemDto
|
|
29
|
+
*/
|
|
30
|
+
'total': number;
|
|
31
|
+
/**
|
|
32
|
+
* Time at which the object was created.
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof PolicyPremiumItemDto
|
|
35
|
+
*/
|
|
36
|
+
'createdAt': string;
|
|
37
|
+
/**
|
|
38
|
+
* Time at which the object was updated.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PolicyPremiumItemDto
|
|
41
|
+
*/
|
|
42
|
+
'updatedAt'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Item premium formula entity.
|
|
45
|
+
* @type {PremiumFormulaDto}
|
|
46
|
+
* @memberof PolicyPremiumItemDto
|
|
47
|
+
*/
|
|
48
|
+
'premiumFormula': PremiumFormulaDto;
|
|
49
|
+
/**
|
|
50
|
+
* It indicates if the premium override exist.
|
|
51
|
+
* @type {boolean}
|
|
52
|
+
* @memberof PolicyPremiumItemDto
|
|
53
|
+
*/
|
|
54
|
+
'isOverride'?: boolean;
|
|
55
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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 });
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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
|
+
import { TimesliceDto } from './timeslice-dto';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface PolicyVersionDto
|
|
17
|
+
*/
|
|
18
|
+
export interface PolicyVersionDto {
|
|
19
|
+
/**
|
|
20
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
21
|
+
* @type {number}
|
|
22
|
+
* @memberof PolicyVersionDto
|
|
23
|
+
*/
|
|
24
|
+
'id': number;
|
|
25
|
+
/**
|
|
26
|
+
* It indicates if the policy version is current.
|
|
27
|
+
* @type {boolean}
|
|
28
|
+
* @memberof PolicyVersionDto
|
|
29
|
+
*/
|
|
30
|
+
'isCurrent': boolean;
|
|
31
|
+
/**
|
|
32
|
+
* Metadata contains extra information that the object would need for specific cases.
|
|
33
|
+
* @type {object}
|
|
34
|
+
* @memberof PolicyVersionDto
|
|
35
|
+
*/
|
|
36
|
+
'metadata'?: object;
|
|
37
|
+
/**
|
|
38
|
+
* Time at which the object was created.
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof PolicyVersionDto
|
|
41
|
+
*/
|
|
42
|
+
'createdAt'?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Time at which the object was updated.
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof PolicyVersionDto
|
|
47
|
+
*/
|
|
48
|
+
'updatedAt'?: string;
|
|
49
|
+
/**
|
|
50
|
+
* Policy timeline.
|
|
51
|
+
* @type {Array<TimesliceDto>}
|
|
52
|
+
* @memberof PolicyVersionDto
|
|
53
|
+
*/
|
|
54
|
+
'timeline': Array<TimesliceDto>;
|
|
55
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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 });
|
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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 PremiumFormulaDto
|
|
16
|
+
*/
|
|
17
|
+
export interface PremiumFormulaDto {
|
|
18
|
+
/**
|
|
19
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
20
|
+
* @type {number}
|
|
21
|
+
* @memberof PremiumFormulaDto
|
|
22
|
+
*/
|
|
23
|
+
'id': number;
|
|
24
|
+
/**
|
|
25
|
+
* Unique identifier referencing the product version.
|
|
26
|
+
* @type {number}
|
|
27
|
+
* @memberof PremiumFormulaDto
|
|
28
|
+
*/
|
|
29
|
+
'productVersionId': number;
|
|
30
|
+
/**
|
|
31
|
+
* Premium group name.
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof PremiumFormulaDto
|
|
34
|
+
*/
|
|
35
|
+
'group': string;
|
|
36
|
+
/**
|
|
37
|
+
* Premium name.
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof PremiumFormulaDto
|
|
40
|
+
*/
|
|
41
|
+
'name': string;
|
|
42
|
+
/**
|
|
43
|
+
* Premium expression.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof PremiumFormulaDto
|
|
46
|
+
*/
|
|
47
|
+
'expression': string;
|
|
48
|
+
/**
|
|
49
|
+
* Type of Premium that is based on time.
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof PremiumFormulaDto
|
|
52
|
+
*/
|
|
53
|
+
'type': string;
|
|
54
|
+
/**
|
|
55
|
+
* This is unit of Premium. Premium units are determined based on day, week, month and year.
|
|
56
|
+
* @type {string}
|
|
57
|
+
* @memberof PremiumFormulaDto
|
|
58
|
+
*/
|
|
59
|
+
'unit': string;
|
|
60
|
+
/**
|
|
61
|
+
* Time at which the object was created.
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof PremiumFormulaDto
|
|
64
|
+
*/
|
|
65
|
+
'createdAt'?: string;
|
|
66
|
+
/**
|
|
67
|
+
* Time at which the object was updated.
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof PremiumFormulaDto
|
|
70
|
+
*/
|
|
71
|
+
'updatedAt'?: string;
|
|
72
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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 });
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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 RevertInvoiceRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RevertInvoiceRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for the object.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RevertInvoiceRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'invoiceCode': string;
|
|
24
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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 });
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL BillingService
|
|
3
|
+
* The EMIL BillingService 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
|
+
import { PolicyObjectDto } from './policy-object-dto';
|
|
13
|
+
import { PolicyPremiumDto } from './policy-premium-dto';
|
|
14
|
+
/**
|
|
15
|
+
*
|
|
16
|
+
* @export
|
|
17
|
+
* @interface TimesliceDto
|
|
18
|
+
*/
|
|
19
|
+
export interface TimesliceDto {
|
|
20
|
+
/**
|
|
21
|
+
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
22
|
+
* @type {number}
|
|
23
|
+
* @memberof TimesliceDto
|
|
24
|
+
*/
|
|
25
|
+
'id': number;
|
|
26
|
+
/**
|
|
27
|
+
* Timeslice policy data.
|
|
28
|
+
* @type {Array<PolicyObjectDto>}
|
|
29
|
+
* @memberof TimesliceDto
|
|
30
|
+
*/
|
|
31
|
+
'policyObjects': Array<PolicyObjectDto>;
|
|
32
|
+
/**
|
|
33
|
+
* Timeslice validity start.
|
|
34
|
+
* @type {string}
|
|
35
|
+
* @memberof TimesliceDto
|
|
36
|
+
*/
|
|
37
|
+
'from': string;
|
|
38
|
+
/**
|
|
39
|
+
* Timeslice validity end.
|
|
40
|
+
* @type {string}
|
|
41
|
+
* @memberof TimesliceDto
|
|
42
|
+
*/
|
|
43
|
+
'to'?: string;
|
|
44
|
+
/**
|
|
45
|
+
* Time at which the object was created.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof TimesliceDto
|
|
48
|
+
*/
|
|
49
|
+
'createdAt': string;
|
|
50
|
+
/**
|
|
51
|
+
* Time at which the object was updated.
|
|
52
|
+
* @type {string}
|
|
53
|
+
* @memberof TimesliceDto
|
|
54
|
+
*/
|
|
55
|
+
'updatedAt': string;
|
|
56
|
+
/**
|
|
57
|
+
* Timeslice premium.
|
|
58
|
+
* @type {PolicyPremiumDto}
|
|
59
|
+
* @memberof TimesliceDto
|
|
60
|
+
*/
|
|
61
|
+
'premium': PolicyPremiumDto;
|
|
62
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL BillingService
|
|
6
|
+
* The EMIL BillingService 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 });
|
|
@@ -32,6 +32,12 @@ export interface CreateEstimatedInvoiceRequestDto {
|
|
|
32
32
|
* @type {object}
|
|
33
33
|
* @memberof CreateEstimatedInvoiceRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'metadata'
|
|
35
|
+
'metadata'?: object;
|
|
36
|
+
/**
|
|
37
|
+
*
|
|
38
|
+
* @type {boolean}
|
|
39
|
+
* @memberof CreateEstimatedInvoiceRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'calculateProRata'?: boolean;
|
|
36
42
|
}
|
|
37
43
|
|
|
@@ -0,0 +1,31 @@
|
|
|
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
|
+
* 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 { OmitTypeClass } from './omit-type-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface CreateInvoicePaymentResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface CreateInvoicePaymentResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Invoice updated after payment.
|
|
26
|
+
* @type {OmitTypeClass}
|
|
27
|
+
* @memberof CreateInvoicePaymentResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'invoice': OmitTypeClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -38,6 +38,12 @@ export interface CreateInvoiceRequestDto {
|
|
|
38
38
|
* @memberof CreateInvoiceRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'policyCode': string;
|
|
41
|
+
/**
|
|
42
|
+
* Policy number.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof CreateInvoiceRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'policyNumber': string;
|
|
41
47
|
/**
|
|
42
48
|
* Type of the invoice.
|
|
43
49
|
* @type {string}
|
|
@@ -50,5 +50,11 @@ export interface CreateTerminationInvoiceRequestDto {
|
|
|
50
50
|
* @memberof CreateTerminationInvoiceRequestDto
|
|
51
51
|
*/
|
|
52
52
|
'billingIntervalTo': string;
|
|
53
|
+
/**
|
|
54
|
+
*
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof CreateTerminationInvoiceRequestDto
|
|
57
|
+
*/
|
|
58
|
+
'policyNumber': string;
|
|
53
59
|
}
|
|
54
60
|
|
package/models/index.ts
CHANGED
|
@@ -4,6 +4,7 @@ export * from './create-custom-estimated-invoice-response-class';
|
|
|
4
4
|
export * from './create-estimated-invoice-request-dto';
|
|
5
5
|
export * from './create-estimated-invoice-response-class';
|
|
6
6
|
export * from './create-invoice-payment-request-dto';
|
|
7
|
+
export * from './create-invoice-payment-response-class';
|
|
7
8
|
export * from './create-invoice-request-dto';
|
|
8
9
|
export * from './create-invoice-response-class';
|
|
9
10
|
export * from './create-invoice-status-request-dto';
|
package/models/invoice-class.ts
CHANGED
|
@@ -41,6 +41,12 @@ export interface InvoiceClass {
|
|
|
41
41
|
* @memberof InvoiceClass
|
|
42
42
|
*/
|
|
43
43
|
'accountNumber': string;
|
|
44
|
+
/**
|
|
45
|
+
* Policy number.
|
|
46
|
+
* @type {string}
|
|
47
|
+
* @memberof InvoiceClass
|
|
48
|
+
*/
|
|
49
|
+
'policyNumber': string;
|
|
44
50
|
/**
|
|
45
51
|
* Unique identifier for the object.
|
|
46
52
|
* @type {string}
|
|
@@ -55,7 +55,7 @@ export interface InvoicePaymentClass {
|
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof InvoicePaymentClass
|
|
57
57
|
*/
|
|
58
|
-
'
|
|
58
|
+
'comment': string;
|
|
59
59
|
/**
|
|
60
60
|
* User who added payment.
|
|
61
61
|
* @type {string}
|
|
@@ -98,5 +98,11 @@ export interface InvoicePaymentClass {
|
|
|
98
98
|
* @memberof InvoicePaymentClass
|
|
99
99
|
*/
|
|
100
100
|
'createdAt': string;
|
|
101
|
+
/**
|
|
102
|
+
* Invoice payment id.
|
|
103
|
+
* @type {number}
|
|
104
|
+
* @memberof InvoicePaymentClass
|
|
105
|
+
*/
|
|
106
|
+
'paymentId': number;
|
|
101
107
|
}
|
|
102
108
|
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
import { InvoiceItemClass } from './invoice-item-class';
|
|
17
|
-
import { InvoicePaymentsClass } from './invoice-payments-class';
|
|
18
17
|
|
|
19
18
|
/**
|
|
20
19
|
*
|
|
@@ -40,6 +39,12 @@ export interface OmitTypeClass {
|
|
|
40
39
|
* @memberof OmitTypeClass
|
|
41
40
|
*/
|
|
42
41
|
'accountNumber': string;
|
|
42
|
+
/**
|
|
43
|
+
* Policy number.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof OmitTypeClass
|
|
46
|
+
*/
|
|
47
|
+
'policyNumber': string;
|
|
43
48
|
/**
|
|
44
49
|
* Unique identifier for the object.
|
|
45
50
|
* @type {string}
|
|
@@ -136,12 +141,6 @@ export interface OmitTypeClass {
|
|
|
136
141
|
* @memberof OmitTypeClass
|
|
137
142
|
*/
|
|
138
143
|
'currency': string;
|
|
139
|
-
/**
|
|
140
|
-
* Invoice payments.
|
|
141
|
-
* @type {InvoicePaymentsClass}
|
|
142
|
-
* @memberof OmitTypeClass
|
|
143
|
-
*/
|
|
144
|
-
'payments': InvoicePaymentsClass;
|
|
145
144
|
}
|
|
146
145
|
|
|
147
146
|
export const OmitTypeClassTypeEnum = {
|
package/models/policy-dto.ts
CHANGED
|
@@ -121,9 +121,10 @@ export interface PolicyDto {
|
|
|
121
121
|
|
|
122
122
|
export const PolicyDtoStatusEnum = {
|
|
123
123
|
Active: 'ACTIVE',
|
|
124
|
-
|
|
124
|
+
Withdrawn: 'WITHDRAWN',
|
|
125
125
|
Terminated: 'TERMINATED',
|
|
126
|
-
Suspended: 'SUSPENDED'
|
|
126
|
+
Suspended: 'SUSPENDED',
|
|
127
|
+
Pending: 'PENDING'
|
|
127
128
|
} as const;
|
|
128
129
|
|
|
129
130
|
export type PolicyDtoStatusEnum = typeof PolicyDtoStatusEnum[keyof typeof PolicyDtoStatusEnum];
|
|
@@ -44,11 +44,35 @@ export interface PolicyObjectDto {
|
|
|
44
44
|
* @memberof PolicyObjectDto
|
|
45
45
|
*/
|
|
46
46
|
'data': object;
|
|
47
|
+
/**
|
|
48
|
+
* Time at which the object was created.
|
|
49
|
+
* @type {string}
|
|
50
|
+
* @memberof PolicyObjectDto
|
|
51
|
+
*/
|
|
52
|
+
'createdAt'?: string;
|
|
53
|
+
/**
|
|
54
|
+
* Time at which the object was updated.
|
|
55
|
+
* @type {string}
|
|
56
|
+
* @memberof PolicyObjectDto
|
|
57
|
+
*/
|
|
58
|
+
'updatedAt'?: string;
|
|
47
59
|
/**
|
|
48
60
|
*
|
|
49
61
|
* @type {string}
|
|
50
62
|
* @memberof PolicyObjectDto
|
|
51
63
|
*/
|
|
52
64
|
'code': string;
|
|
65
|
+
/**
|
|
66
|
+
*
|
|
67
|
+
* @type {string}
|
|
68
|
+
* @memberof PolicyObjectDto
|
|
69
|
+
*/
|
|
70
|
+
'insuredObjectLabel': string;
|
|
71
|
+
/**
|
|
72
|
+
*
|
|
73
|
+
* @type {boolean}
|
|
74
|
+
* @memberof PolicyObjectDto
|
|
75
|
+
*/
|
|
76
|
+
'isMultiInsuredObject': boolean;
|
|
53
77
|
}
|
|
54
78
|
|
|
@@ -38,19 +38,19 @@ export interface PolicyVersionDto {
|
|
|
38
38
|
* @type {object}
|
|
39
39
|
* @memberof PolicyVersionDto
|
|
40
40
|
*/
|
|
41
|
-
'metadata'
|
|
41
|
+
'metadata'?: object;
|
|
42
42
|
/**
|
|
43
43
|
* Time at which the object was created.
|
|
44
44
|
* @type {string}
|
|
45
45
|
* @memberof PolicyVersionDto
|
|
46
46
|
*/
|
|
47
|
-
'createdAt'
|
|
47
|
+
'createdAt'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* Time at which the object was updated.
|
|
50
50
|
* @type {string}
|
|
51
51
|
* @memberof PolicyVersionDto
|
|
52
52
|
*/
|
|
53
|
-
'updatedAt'
|
|
53
|
+
'updatedAt'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* Policy timeline.
|
|
56
56
|
* @type {Array<TimesliceDto>}
|
package/models/timeslice-dto.ts
CHANGED