@emilgroup/customer-sdk-node 1.3.0 → 1.6.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 +15 -1
- package/README.md +2 -2
- package/api/customers-api.ts +798 -82
- package/base.ts +56 -13
- package/dist/api/customers-api.d.ts +456 -36
- package/dist/api/customers-api.js +579 -40
- package/dist/base.d.ts +1 -0
- package/dist/base.js +46 -8
- package/dist/models/account-class.d.ts +132 -0
- package/dist/models/account-class.js +15 -0
- package/dist/models/create-customer-request-dto.d.ts +0 -7
- package/dist/models/create-customer-response-class.d.ts +3 -2
- package/dist/models/customer-class.d.ts +67 -0
- package/dist/models/customer-class.js +15 -0
- package/dist/models/customer-document-class.d.ts +99 -0
- package/dist/models/customer-document-class.js +36 -0
- package/dist/models/get-customer-document-download-url-response-class.d.ts +24 -0
- package/dist/models/get-customer-document-download-url-response-class.js +15 -0
- package/dist/models/get-customer-response-class.d.ts +25 -0
- package/dist/models/get-customer-response-class.js +15 -0
- package/dist/models/index.d.ts +15 -1
- package/dist/models/index.js +15 -1
- package/dist/models/invoice-class.d.ts +135 -0
- package/dist/models/invoice-class.js +28 -0
- package/dist/models/list-documents-response-class.d.ts +31 -0
- package/dist/models/list-documents-response-class.js +15 -0
- package/dist/models/list-invoices-response-class.d.ts +3 -2
- package/dist/models/request-policy-update-request-dto.d.ts +42 -0
- package/dist/models/request-policy-update-request-dto.js +15 -0
- package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
- package/dist/models/shared-invoice-item-class.d.ts +102 -0
- package/dist/models/shared-invoice-item-class.js +15 -0
- package/dist/models/terminate-customer-policy-request-dto.d.ts +24 -0
- package/dist/models/terminate-customer-policy-request-dto.js +15 -0
- package/dist/models/terminate-customer-policy-response-class.d.ts +25 -0
- package/dist/models/terminate-customer-policy-response-class.js +15 -0
- package/dist/models/{create-account-request-dto.d.ts → update-account-request-dto.d.ts} +26 -32
- package/dist/models/{create-account-request-dto.js → update-account-request-dto.js} +2 -2
- package/dist/models/update-customer-request-dto.d.ts +31 -0
- package/dist/models/update-customer-request-dto.js +15 -0
- package/dist/models/update-customer-response-class.d.ts +25 -0
- package/dist/models/update-customer-response-class.js +15 -0
- package/dist/models/withdraw-customer-policy-response-class.d.ts +25 -0
- package/dist/models/withdraw-customer-policy-response-class.js +15 -0
- package/models/account-class.ts +138 -0
- package/models/create-customer-request-dto.ts +0 -7
- package/models/create-customer-response-class.ts +3 -2
- package/models/customer-class.ts +73 -0
- package/models/customer-document-class.ts +108 -0
- package/models/get-customer-document-download-url-response-class.ts +30 -0
- package/models/get-customer-response-class.ts +31 -0
- package/models/index.ts +15 -1
- package/models/invoice-class.ts +145 -0
- package/models/list-documents-response-class.ts +37 -0
- package/models/list-invoices-response-class.ts +3 -2
- package/models/request-policy-update-request-dto.ts +48 -0
- package/models/reset-password-by-customer-request-dto.ts +1 -1
- package/models/shared-invoice-item-class.ts +108 -0
- package/models/terminate-customer-policy-request-dto.ts +30 -0
- package/models/terminate-customer-policy-response-class.ts +31 -0
- package/models/{create-account-request-dto.ts → update-account-request-dto.ts} +26 -32
- package/models/update-customer-request-dto.ts +37 -0
- package/models/update-customer-response-class.ts +31 -0
- package/models/withdraw-customer-policy-response-class.ts +31 -0
- package/package.json +1 -1
package/dist/models/index.js
CHANGED
|
@@ -14,11 +14,15 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
14
14
|
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./account-class"), exports);
|
|
17
18
|
__exportStar(require("./authentication-result-class"), exports);
|
|
18
|
-
__exportStar(require("./create-account-request-dto"), exports);
|
|
19
19
|
__exportStar(require("./create-customer-request-dto"), exports);
|
|
20
20
|
__exportStar(require("./create-customer-response-class"), exports);
|
|
21
|
+
__exportStar(require("./customer-class"), exports);
|
|
22
|
+
__exportStar(require("./customer-document-class"), exports);
|
|
21
23
|
__exportStar(require("./forgot-password-request-dto"), exports);
|
|
24
|
+
__exportStar(require("./get-customer-document-download-url-response-class"), exports);
|
|
25
|
+
__exportStar(require("./get-customer-response-class"), exports);
|
|
22
26
|
__exportStar(require("./get-policy-response-class"), exports);
|
|
23
27
|
__exportStar(require("./initiate-auth-request-dto"), exports);
|
|
24
28
|
__exportStar(require("./initiate-auth-response-class"), exports);
|
|
@@ -26,6 +30,8 @@ __exportStar(require("./invite-by-customer-request-dto"), exports);
|
|
|
26
30
|
__exportStar(require("./invite-by-customer-response-class"), exports);
|
|
27
31
|
__exportStar(require("./invite-by-tenant-response-class"), exports);
|
|
28
32
|
__exportStar(require("./invite-class"), exports);
|
|
33
|
+
__exportStar(require("./invoice-class"), exports);
|
|
34
|
+
__exportStar(require("./list-documents-response-class"), exports);
|
|
29
35
|
__exportStar(require("./list-invoices-response-class"), exports);
|
|
30
36
|
__exportStar(require("./list-policies-response-class"), exports);
|
|
31
37
|
__exportStar(require("./policy-class"), exports);
|
|
@@ -34,9 +40,17 @@ __exportStar(require("./policy-premium-class"), exports);
|
|
|
34
40
|
__exportStar(require("./policy-premium-item-class"), exports);
|
|
35
41
|
__exportStar(require("./policy-version-class"), exports);
|
|
36
42
|
__exportStar(require("./refresh-token-dto"), exports);
|
|
43
|
+
__exportStar(require("./request-policy-update-request-dto"), exports);
|
|
37
44
|
__exportStar(require("./request-policy-update-response-class"), exports);
|
|
38
45
|
__exportStar(require("./reset-password-by-customer-request-dto"), exports);
|
|
39
46
|
__exportStar(require("./respond-to-auth-challenge-class"), exports);
|
|
40
47
|
__exportStar(require("./respond-to-auth-challenge-request-dto"), exports);
|
|
48
|
+
__exportStar(require("./shared-invoice-item-class"), exports);
|
|
49
|
+
__exportStar(require("./terminate-customer-policy-request-dto"), exports);
|
|
50
|
+
__exportStar(require("./terminate-customer-policy-response-class"), exports);
|
|
41
51
|
__exportStar(require("./timeslice-class"), exports);
|
|
52
|
+
__exportStar(require("./update-account-request-dto"), exports);
|
|
53
|
+
__exportStar(require("./update-customer-request-dto"), exports);
|
|
54
|
+
__exportStar(require("./update-customer-response-class"), exports);
|
|
42
55
|
__exportStar(require("./verify-customer-invite-response-class"), exports);
|
|
56
|
+
__exportStar(require("./withdraw-customer-policy-response-class"), exports);
|
|
@@ -0,0 +1,135 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 { SharedInvoiceItemClass } from './shared-invoice-item-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface InvoiceClass
|
|
17
|
+
*/
|
|
18
|
+
export interface InvoiceClass {
|
|
19
|
+
/**
|
|
20
|
+
* policy code
|
|
21
|
+
* @type {string}
|
|
22
|
+
* @memberof InvoiceClass
|
|
23
|
+
*/
|
|
24
|
+
'policyCode': string;
|
|
25
|
+
/**
|
|
26
|
+
* Account number
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof InvoiceClass
|
|
29
|
+
*/
|
|
30
|
+
'accountNumber': string;
|
|
31
|
+
/**
|
|
32
|
+
* Invoice code
|
|
33
|
+
* @type {string}
|
|
34
|
+
* @memberof InvoiceClass
|
|
35
|
+
*/
|
|
36
|
+
'code': string;
|
|
37
|
+
/**
|
|
38
|
+
* Invoice type
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof InvoiceClass
|
|
41
|
+
*/
|
|
42
|
+
'type': InvoiceClassTypeEnum;
|
|
43
|
+
/**
|
|
44
|
+
* Invoice number
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof InvoiceClass
|
|
47
|
+
*/
|
|
48
|
+
'invoiceNumber': string;
|
|
49
|
+
/**
|
|
50
|
+
* Net amount
|
|
51
|
+
* @type {number}
|
|
52
|
+
* @memberof InvoiceClass
|
|
53
|
+
*/
|
|
54
|
+
'netAmount': number;
|
|
55
|
+
/**
|
|
56
|
+
* Tax amount
|
|
57
|
+
* @type {number}
|
|
58
|
+
* @memberof InvoiceClass
|
|
59
|
+
*/
|
|
60
|
+
'taxAmount': number;
|
|
61
|
+
/**
|
|
62
|
+
* Credit amount
|
|
63
|
+
* @type {number}
|
|
64
|
+
* @memberof InvoiceClass
|
|
65
|
+
*/
|
|
66
|
+
'creditAmount': number;
|
|
67
|
+
/**
|
|
68
|
+
* Surcharge amount
|
|
69
|
+
* @type {number}
|
|
70
|
+
* @memberof InvoiceClass
|
|
71
|
+
*/
|
|
72
|
+
'surcharge': number;
|
|
73
|
+
/**
|
|
74
|
+
* Gross amount
|
|
75
|
+
* @type {number}
|
|
76
|
+
* @memberof InvoiceClass
|
|
77
|
+
*/
|
|
78
|
+
'grossAmount': number;
|
|
79
|
+
/**
|
|
80
|
+
* Invoice status
|
|
81
|
+
* @type {string}
|
|
82
|
+
* @memberof InvoiceClass
|
|
83
|
+
*/
|
|
84
|
+
'status': InvoiceClassStatusEnum;
|
|
85
|
+
/**
|
|
86
|
+
* Invoice due date
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof InvoiceClass
|
|
89
|
+
*/
|
|
90
|
+
'dueDate': string;
|
|
91
|
+
/**
|
|
92
|
+
* Invoice metadata
|
|
93
|
+
* @type {object}
|
|
94
|
+
* @memberof InvoiceClass
|
|
95
|
+
*/
|
|
96
|
+
'metadata': object;
|
|
97
|
+
/**
|
|
98
|
+
* Invoice billing interval from
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof InvoiceClass
|
|
101
|
+
*/
|
|
102
|
+
'billingIntervalFrom': string;
|
|
103
|
+
/**
|
|
104
|
+
* Invoice billing interval to
|
|
105
|
+
* @type {string}
|
|
106
|
+
* @memberof InvoiceClass
|
|
107
|
+
*/
|
|
108
|
+
'billingIntervalTo': string;
|
|
109
|
+
/**
|
|
110
|
+
* Invoice created at
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof InvoiceClass
|
|
113
|
+
*/
|
|
114
|
+
'createdAt': string;
|
|
115
|
+
/**
|
|
116
|
+
* Invoice items
|
|
117
|
+
* @type {Array<SharedInvoiceItemClass>}
|
|
118
|
+
* @memberof InvoiceClass
|
|
119
|
+
*/
|
|
120
|
+
'invoiceItems': Array<SharedInvoiceItemClass>;
|
|
121
|
+
}
|
|
122
|
+
export declare const InvoiceClassTypeEnum: {
|
|
123
|
+
readonly Initial: "initial";
|
|
124
|
+
readonly Recurring: "recurring";
|
|
125
|
+
readonly Correction: "correction";
|
|
126
|
+
readonly Estimated: "estimated";
|
|
127
|
+
readonly Penalty: "penalty";
|
|
128
|
+
readonly Other: "other";
|
|
129
|
+
};
|
|
130
|
+
export declare type InvoiceClassTypeEnum = typeof InvoiceClassTypeEnum[keyof typeof InvoiceClassTypeEnum];
|
|
131
|
+
export declare const InvoiceClassStatusEnum: {
|
|
132
|
+
readonly Open: "open";
|
|
133
|
+
readonly Paid: "paid";
|
|
134
|
+
};
|
|
135
|
+
export declare type InvoiceClassStatusEnum = typeof InvoiceClassStatusEnum[keyof typeof InvoiceClassStatusEnum];
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
*
|
|
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.InvoiceClassStatusEnum = exports.InvoiceClassTypeEnum = void 0;
|
|
17
|
+
exports.InvoiceClassTypeEnum = {
|
|
18
|
+
Initial: 'initial',
|
|
19
|
+
Recurring: 'recurring',
|
|
20
|
+
Correction: 'correction',
|
|
21
|
+
Estimated: 'estimated',
|
|
22
|
+
Penalty: 'penalty',
|
|
23
|
+
Other: 'other'
|
|
24
|
+
};
|
|
25
|
+
exports.InvoiceClassStatusEnum = {
|
|
26
|
+
Open: 'open',
|
|
27
|
+
Paid: 'paid'
|
|
28
|
+
};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 { CustomerDocumentClass } from './customer-document-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface ListDocumentsResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface ListDocumentsResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* documents list items
|
|
21
|
+
* @type {Array<CustomerDocumentClass>}
|
|
22
|
+
* @memberof ListDocumentsResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'items': Array<CustomerDocumentClass>;
|
|
25
|
+
/**
|
|
26
|
+
* Next page token
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof ListDocumentsResponseClass
|
|
29
|
+
*/
|
|
30
|
+
'nextPageToken': string;
|
|
31
|
+
}
|
|
@@ -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
|
+
*
|
|
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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { InvoiceClass } from './invoice-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
export interface ListInvoicesResponseClass {
|
|
18
19
|
/**
|
|
19
20
|
* Invoices list items
|
|
20
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<InvoiceClass>}
|
|
21
22
|
* @memberof ListInvoicesResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'items': Array<
|
|
24
|
+
'items': Array<InvoiceClass>;
|
|
24
25
|
/**
|
|
25
26
|
* Next page token
|
|
26
27
|
* @type {string}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 RequestPolicyUpdateRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface RequestPolicyUpdateRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Policy code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Policy objects
|
|
26
|
+
* @type {Array<string>}
|
|
27
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'policyObjects': Array<string>;
|
|
30
|
+
/**
|
|
31
|
+
* Update from
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
34
|
+
*/
|
|
35
|
+
'from': string;
|
|
36
|
+
/**
|
|
37
|
+
* Update to
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof RequestPolicyUpdateRequestDto
|
|
40
|
+
*/
|
|
41
|
+
'to'?: string;
|
|
42
|
+
}
|
|
@@ -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
|
+
*
|
|
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,102 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EMIL CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 SharedInvoiceItemClass
|
|
16
|
+
*/
|
|
17
|
+
export interface SharedInvoiceItemClass {
|
|
18
|
+
/**
|
|
19
|
+
* product name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SharedInvoiceItemClass
|
|
22
|
+
*/
|
|
23
|
+
'name': string;
|
|
24
|
+
/**
|
|
25
|
+
* tax code
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof SharedInvoiceItemClass
|
|
28
|
+
*/
|
|
29
|
+
'taxCode': string;
|
|
30
|
+
/**
|
|
31
|
+
* Invoice type
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof SharedInvoiceItemClass
|
|
34
|
+
*/
|
|
35
|
+
'unit': string;
|
|
36
|
+
/**
|
|
37
|
+
* group
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof SharedInvoiceItemClass
|
|
40
|
+
*/
|
|
41
|
+
'group': string;
|
|
42
|
+
/**
|
|
43
|
+
* Item quantity
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof SharedInvoiceItemClass
|
|
46
|
+
*/
|
|
47
|
+
'quantity': number;
|
|
48
|
+
/**
|
|
49
|
+
* Item price per unit
|
|
50
|
+
* @type {number}
|
|
51
|
+
* @memberof SharedInvoiceItemClass
|
|
52
|
+
*/
|
|
53
|
+
'pricePerUnit': number;
|
|
54
|
+
/**
|
|
55
|
+
* Item tax rate
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof SharedInvoiceItemClass
|
|
58
|
+
*/
|
|
59
|
+
'taxRate': number;
|
|
60
|
+
/**
|
|
61
|
+
* Net amount
|
|
62
|
+
* @type {number}
|
|
63
|
+
* @memberof SharedInvoiceItemClass
|
|
64
|
+
*/
|
|
65
|
+
'netAmount': number;
|
|
66
|
+
/**
|
|
67
|
+
* Net tax amount
|
|
68
|
+
* @type {number}
|
|
69
|
+
* @memberof SharedInvoiceItemClass
|
|
70
|
+
*/
|
|
71
|
+
'taxAmount': number;
|
|
72
|
+
/**
|
|
73
|
+
* Gross amount
|
|
74
|
+
* @type {number}
|
|
75
|
+
* @memberof SharedInvoiceItemClass
|
|
76
|
+
*/
|
|
77
|
+
'grossAmount': number;
|
|
78
|
+
/**
|
|
79
|
+
* Credit amount
|
|
80
|
+
* @type {number}
|
|
81
|
+
* @memberof SharedInvoiceItemClass
|
|
82
|
+
*/
|
|
83
|
+
'creditAmount': number;
|
|
84
|
+
/**
|
|
85
|
+
* Surcharge amount
|
|
86
|
+
* @type {number}
|
|
87
|
+
* @memberof SharedInvoiceItemClass
|
|
88
|
+
*/
|
|
89
|
+
'surcharge': number;
|
|
90
|
+
/**
|
|
91
|
+
* Invoice item interval from
|
|
92
|
+
* @type {string}
|
|
93
|
+
* @memberof SharedInvoiceItemClass
|
|
94
|
+
*/
|
|
95
|
+
'billingIntervalFrom': string;
|
|
96
|
+
/**
|
|
97
|
+
* Invoice item interval to
|
|
98
|
+
* @type {string}
|
|
99
|
+
* @memberof SharedInvoiceItemClass
|
|
100
|
+
*/
|
|
101
|
+
'billingIntervalTo': string;
|
|
102
|
+
}
|
|
@@ -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
|
+
*
|
|
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 CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 TerminateCustomerPolicyRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface TerminateCustomerPolicyRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Terminate from
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof TerminateCustomerPolicyRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'from': string;
|
|
24
|
+
}
|
|
@@ -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
|
+
*
|
|
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 CustomerService
|
|
3
|
+
* The EMIL CustomerService API description
|
|
4
|
+
*
|
|
5
|
+
* The version of the OpenAPI document: 1.0
|
|
6
|
+
*
|
|
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 { PolicyClass } from './policy-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface TerminateCustomerPolicyResponseClass
|
|
17
|
+
*/
|
|
18
|
+
export interface TerminateCustomerPolicyResponseClass {
|
|
19
|
+
/**
|
|
20
|
+
* Policy
|
|
21
|
+
* @type {PolicyClass}
|
|
22
|
+
* @memberof TerminateCustomerPolicyResponseClass
|
|
23
|
+
*/
|
|
24
|
+
'policy': PolicyClass;
|
|
25
|
+
}
|
|
@@ -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
|
+
*
|
|
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 });
|
|
@@ -12,91 +12,85 @@
|
|
|
12
12
|
/**
|
|
13
13
|
*
|
|
14
14
|
* @export
|
|
15
|
-
* @interface
|
|
15
|
+
* @interface UpdateAccountRequestDto
|
|
16
16
|
*/
|
|
17
|
-
export interface
|
|
17
|
+
export interface UpdateAccountRequestDto {
|
|
18
18
|
/**
|
|
19
19
|
* The account\'s first name.
|
|
20
20
|
* @type {string}
|
|
21
|
-
* @memberof
|
|
21
|
+
* @memberof UpdateAccountRequestDto
|
|
22
22
|
*/
|
|
23
|
-
'firstName'
|
|
23
|
+
'firstName'?: string;
|
|
24
24
|
/**
|
|
25
25
|
* The account\'s last name.
|
|
26
26
|
* @type {string}
|
|
27
|
-
* @memberof
|
|
27
|
+
* @memberof UpdateAccountRequestDto
|
|
28
28
|
*/
|
|
29
|
-
'lastName'
|
|
29
|
+
'lastName'?: string;
|
|
30
30
|
/**
|
|
31
31
|
* The account\'s email address. It is displayed alongside the account in the admin dashboard and can be useful for searching and tracking.
|
|
32
32
|
* @type {string}
|
|
33
|
-
* @memberof
|
|
33
|
+
* @memberof UpdateAccountRequestDto
|
|
34
34
|
*/
|
|
35
|
-
'email'
|
|
35
|
+
'email'?: string;
|
|
36
36
|
/**
|
|
37
37
|
* The account\'s gender.
|
|
38
38
|
* @type {string}
|
|
39
|
-
* @memberof
|
|
39
|
+
* @memberof UpdateAccountRequestDto
|
|
40
40
|
*/
|
|
41
|
-
'gender'
|
|
41
|
+
'gender'?: UpdateAccountRequestDtoGenderEnum;
|
|
42
42
|
/**
|
|
43
43
|
* The account\'s street name.
|
|
44
44
|
* @type {string}
|
|
45
|
-
* @memberof
|
|
45
|
+
* @memberof UpdateAccountRequestDto
|
|
46
46
|
*/
|
|
47
|
-
'street'
|
|
47
|
+
'street'?: string;
|
|
48
48
|
/**
|
|
49
49
|
* The account\'s ZIP or postal code.
|
|
50
50
|
* @type {string}
|
|
51
|
-
* @memberof
|
|
51
|
+
* @memberof UpdateAccountRequestDto
|
|
52
52
|
*/
|
|
53
|
-
'zipCode'
|
|
53
|
+
'zipCode'?: string;
|
|
54
54
|
/**
|
|
55
55
|
* The account\'s city, district, suburb, town, or village.
|
|
56
56
|
* @type {string}
|
|
57
|
-
* @memberof
|
|
57
|
+
* @memberof UpdateAccountRequestDto
|
|
58
58
|
*/
|
|
59
|
-
'city'
|
|
59
|
+
'city'?: string;
|
|
60
60
|
/**
|
|
61
61
|
* The account\'s house number.
|
|
62
62
|
* @type {string}
|
|
63
|
-
* @memberof
|
|
63
|
+
* @memberof UpdateAccountRequestDto
|
|
64
64
|
*/
|
|
65
|
-
'houseNumber'
|
|
65
|
+
'houseNumber'?: string;
|
|
66
66
|
/**
|
|
67
67
|
* Account\'s birth date.
|
|
68
68
|
* @type {string}
|
|
69
|
-
* @memberof
|
|
69
|
+
* @memberof UpdateAccountRequestDto
|
|
70
70
|
*/
|
|
71
|
-
'birthDate'
|
|
71
|
+
'birthDate'?: string;
|
|
72
72
|
/**
|
|
73
73
|
* The account\'s phone number.
|
|
74
74
|
* @type {string}
|
|
75
|
-
* @memberof
|
|
75
|
+
* @memberof UpdateAccountRequestDto
|
|
76
76
|
*/
|
|
77
|
-
'phone'
|
|
78
|
-
/**
|
|
79
|
-
* Optional field to enter your own account number.
|
|
80
|
-
* @type {string}
|
|
81
|
-
* @memberof CreateAccountRequestDto
|
|
82
|
-
*/
|
|
83
|
-
'accountNumber'?: string;
|
|
77
|
+
'phone'?: string;
|
|
84
78
|
/**
|
|
85
79
|
* Optional field to enter extra information.
|
|
86
80
|
* @type {object}
|
|
87
|
-
* @memberof
|
|
81
|
+
* @memberof UpdateAccountRequestDto
|
|
88
82
|
*/
|
|
89
83
|
'metadata'?: object;
|
|
90
84
|
/**
|
|
91
85
|
* Optional field to add predefined custom fields.
|
|
92
86
|
* @type {object}
|
|
93
|
-
* @memberof
|
|
87
|
+
* @memberof UpdateAccountRequestDto
|
|
94
88
|
*/
|
|
95
89
|
'customFields'?: object;
|
|
96
90
|
}
|
|
97
|
-
export declare const
|
|
91
|
+
export declare const UpdateAccountRequestDtoGenderEnum: {
|
|
98
92
|
readonly Male: "male";
|
|
99
93
|
readonly Female: "female";
|
|
100
94
|
readonly Unspecified: "unspecified";
|
|
101
95
|
};
|
|
102
|
-
export declare type
|
|
96
|
+
export declare type UpdateAccountRequestDtoGenderEnum = typeof UpdateAccountRequestDtoGenderEnum[keyof typeof UpdateAccountRequestDtoGenderEnum];
|
|
@@ -13,8 +13,8 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
-
exports.
|
|
17
|
-
exports.
|
|
16
|
+
exports.UpdateAccountRequestDtoGenderEnum = void 0;
|
|
17
|
+
exports.UpdateAccountRequestDtoGenderEnum = {
|
|
18
18
|
Male: 'male',
|
|
19
19
|
Female: 'female',
|
|
20
20
|
Unspecified: 'unspecified'
|