@emilgroup/customer-sdk-node 1.4.0 → 1.6.1
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 +11 -1
- package/README.md +2 -2
- package/api/customers-api.ts +353 -0
- package/base.ts +56 -13
- package/dist/api/customers-api.d.ts +205 -0
- package/dist/api/customers-api.js +271 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +46 -8
- package/dist/models/account-class.d.ts +133 -0
- package/dist/models/{create-account-request-dto.js → account-class.js} +0 -6
- package/dist/models/account-policy-class.d.ts +30 -0
- package/dist/models/account-policy-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 +3 -2
- package/dist/models/index.d.ts +11 -1
- package/dist/models/index.js +11 -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 +3 -2
- package/dist/models/list-invoices-response-class.d.ts +3 -2
- package/dist/models/request-policy-update-request-dto.d.ts +3 -2
- package/dist/models/reset-password-by-customer-request-dto.d.ts +1 -1
- package/dist/models/shared-customer-policy-object-request-dto.d.ts +30 -0
- package/dist/models/shared-customer-policy-object-request-dto.js +15 -0
- 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/update-account-request-dto.d.ts +10 -10
- package/dist/models/update-customer-response-class.d.ts +3 -2
- 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 +139 -0
- package/models/account-policy-class.ts +36 -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 +3 -2
- package/models/index.ts +11 -1
- package/models/invoice-class.ts +145 -0
- package/models/list-documents-response-class.ts +3 -2
- package/models/list-invoices-response-class.ts +3 -2
- package/models/request-policy-update-request-dto.ts +3 -2
- package/models/reset-password-by-customer-request-dto.ts +1 -1
- package/models/shared-customer-policy-object-request-dto.ts +36 -0
- 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/update-account-request-dto.ts +10 -10
- package/models/update-customer-response-class.ts +3 -2
- package/models/withdraw-customer-policy-response-class.ts +31 -0
- package/package.json +1 -1
- package/dist/models/create-account-request-dto.d.ts +0 -102
- package/models/create-account-request-dto.ts +0 -111
|
@@ -9,7 +9,6 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
-
import { CreateAccountRequestDto } from './create-account-request-dto';
|
|
13
12
|
/**
|
|
14
13
|
*
|
|
15
14
|
* @export
|
|
@@ -34,10 +33,4 @@ export interface CreateCustomerRequestDto {
|
|
|
34
33
|
* @memberof CreateCustomerRequestDto
|
|
35
34
|
*/
|
|
36
35
|
'isEulaAccepted': boolean;
|
|
37
|
-
/**
|
|
38
|
-
* Optional account data
|
|
39
|
-
* @type {CreateAccountRequestDto}
|
|
40
|
-
* @memberof CreateCustomerRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'account'?: CreateAccountRequestDto;
|
|
43
36
|
}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CustomerClass } from './customer-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,8 +18,8 @@
|
|
|
17
18
|
export interface CreateCustomerResponseClass {
|
|
18
19
|
/**
|
|
19
20
|
* Customer object
|
|
20
|
-
* @type {
|
|
21
|
+
* @type {CustomerClass}
|
|
21
22
|
* @memberof CreateCustomerResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'customer':
|
|
24
|
+
'customer': CustomerClass;
|
|
24
25
|
}
|
|
@@ -0,0 +1,67 @@
|
|
|
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 { AccountClass } from './account-class';
|
|
13
|
+
/**
|
|
14
|
+
*
|
|
15
|
+
* @export
|
|
16
|
+
* @interface CustomerClass
|
|
17
|
+
*/
|
|
18
|
+
export interface CustomerClass {
|
|
19
|
+
/**
|
|
20
|
+
* Customer account information
|
|
21
|
+
* @type {AccountClass}
|
|
22
|
+
* @memberof CustomerClass
|
|
23
|
+
*/
|
|
24
|
+
'account': AccountClass;
|
|
25
|
+
/**
|
|
26
|
+
* Unique identifier for the object.
|
|
27
|
+
* @type {string}
|
|
28
|
+
* @memberof CustomerClass
|
|
29
|
+
*/
|
|
30
|
+
'code': string;
|
|
31
|
+
/**
|
|
32
|
+
* Internal unique identifier for the object. Use code instead.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof CustomerClass
|
|
35
|
+
*/
|
|
36
|
+
'id': number;
|
|
37
|
+
/**
|
|
38
|
+
* Customer status
|
|
39
|
+
* @type {string}
|
|
40
|
+
* @memberof CustomerClass
|
|
41
|
+
*/
|
|
42
|
+
'status': string;
|
|
43
|
+
/**
|
|
44
|
+
* Customer unique identifier
|
|
45
|
+
* @type {string}
|
|
46
|
+
* @memberof CustomerClass
|
|
47
|
+
*/
|
|
48
|
+
'sub': string;
|
|
49
|
+
/**
|
|
50
|
+
* Tenants short name in EIS
|
|
51
|
+
* @type {string}
|
|
52
|
+
* @memberof CustomerClass
|
|
53
|
+
*/
|
|
54
|
+
'tenantSlug': string;
|
|
55
|
+
/**
|
|
56
|
+
* Time at which the object was created.
|
|
57
|
+
* @type {string}
|
|
58
|
+
* @memberof CustomerClass
|
|
59
|
+
*/
|
|
60
|
+
'createdAt': string;
|
|
61
|
+
/**
|
|
62
|
+
* Time at which the object was updated.
|
|
63
|
+
* @type {string}
|
|
64
|
+
* @memberof CustomerClass
|
|
65
|
+
*/
|
|
66
|
+
'updatedAt': string;
|
|
67
|
+
}
|
|
@@ -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,99 @@
|
|
|
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 CustomerDocumentClass
|
|
16
|
+
*/
|
|
17
|
+
export interface CustomerDocumentClass {
|
|
18
|
+
/**
|
|
19
|
+
* Document code
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof CustomerDocumentClass
|
|
22
|
+
*/
|
|
23
|
+
'code': string;
|
|
24
|
+
/**
|
|
25
|
+
* Template slug
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof CustomerDocumentClass
|
|
28
|
+
*/
|
|
29
|
+
'templateSlug': string;
|
|
30
|
+
/**
|
|
31
|
+
* Document entity type
|
|
32
|
+
* @type {string}
|
|
33
|
+
* @memberof CustomerDocumentClass
|
|
34
|
+
*/
|
|
35
|
+
'entityType': string;
|
|
36
|
+
/**
|
|
37
|
+
* Policy code
|
|
38
|
+
* @type {string}
|
|
39
|
+
* @memberof CustomerDocumentClass
|
|
40
|
+
*/
|
|
41
|
+
'policyCode': string;
|
|
42
|
+
/**
|
|
43
|
+
* Account code
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CustomerDocumentClass
|
|
46
|
+
*/
|
|
47
|
+
'accountCode': string;
|
|
48
|
+
/**
|
|
49
|
+
* Document content type
|
|
50
|
+
* @type {string}
|
|
51
|
+
* @memberof CustomerDocumentClass
|
|
52
|
+
*/
|
|
53
|
+
'contentType': CustomerDocumentClassContentTypeEnum;
|
|
54
|
+
/**
|
|
55
|
+
* Entity id
|
|
56
|
+
* @type {number}
|
|
57
|
+
* @memberof CustomerDocumentClass
|
|
58
|
+
*/
|
|
59
|
+
'entityId': number;
|
|
60
|
+
/**
|
|
61
|
+
* Optional file name
|
|
62
|
+
* @type {string}
|
|
63
|
+
* @memberof CustomerDocumentClass
|
|
64
|
+
*/
|
|
65
|
+
'filename': string;
|
|
66
|
+
/**
|
|
67
|
+
* Document description
|
|
68
|
+
* @type {string}
|
|
69
|
+
* @memberof CustomerDocumentClass
|
|
70
|
+
*/
|
|
71
|
+
'description': string;
|
|
72
|
+
/**
|
|
73
|
+
* Document created at
|
|
74
|
+
* @type {string}
|
|
75
|
+
* @memberof CustomerDocumentClass
|
|
76
|
+
*/
|
|
77
|
+
'createdAt': string;
|
|
78
|
+
}
|
|
79
|
+
export declare const CustomerDocumentClassContentTypeEnum: {
|
|
80
|
+
readonly Pdf: "pdf";
|
|
81
|
+
readonly Jpg: "jpg";
|
|
82
|
+
readonly Png: "png";
|
|
83
|
+
readonly Gz: "gz";
|
|
84
|
+
readonly Csv: "csv";
|
|
85
|
+
readonly Doc: "doc";
|
|
86
|
+
readonly Docx: "docx";
|
|
87
|
+
readonly Html: "html";
|
|
88
|
+
readonly Json: "json";
|
|
89
|
+
readonly Xml: "xml";
|
|
90
|
+
readonly Txt: "txt";
|
|
91
|
+
readonly Zip: "zip";
|
|
92
|
+
readonly Tar: "tar";
|
|
93
|
+
readonly Rar: "rar";
|
|
94
|
+
readonly Mp4: "MP4";
|
|
95
|
+
readonly Mov: "MOV";
|
|
96
|
+
readonly Wmv: "WMV";
|
|
97
|
+
readonly Avi: "AVI";
|
|
98
|
+
};
|
|
99
|
+
export declare type CustomerDocumentClassContentTypeEnum = typeof CustomerDocumentClassContentTypeEnum[keyof typeof CustomerDocumentClassContentTypeEnum];
|
|
@@ -0,0 +1,36 @@
|
|
|
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.CustomerDocumentClassContentTypeEnum = void 0;
|
|
17
|
+
exports.CustomerDocumentClassContentTypeEnum = {
|
|
18
|
+
Pdf: 'pdf',
|
|
19
|
+
Jpg: 'jpg',
|
|
20
|
+
Png: 'png',
|
|
21
|
+
Gz: 'gz',
|
|
22
|
+
Csv: 'csv',
|
|
23
|
+
Doc: 'doc',
|
|
24
|
+
Docx: 'docx',
|
|
25
|
+
Html: 'html',
|
|
26
|
+
Json: 'json',
|
|
27
|
+
Xml: 'xml',
|
|
28
|
+
Txt: 'txt',
|
|
29
|
+
Zip: 'zip',
|
|
30
|
+
Tar: 'tar',
|
|
31
|
+
Rar: 'rar',
|
|
32
|
+
Mp4: 'MP4',
|
|
33
|
+
Mov: 'MOV',
|
|
34
|
+
Wmv: 'WMV',
|
|
35
|
+
Avi: 'AVI'
|
|
36
|
+
};
|
|
@@ -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 GetCustomerDocumentDownloadUrlResponseClass
|
|
16
|
+
*/
|
|
17
|
+
export interface GetCustomerDocumentDownloadUrlResponseClass {
|
|
18
|
+
/**
|
|
19
|
+
* Pre-signed Url
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof GetCustomerDocumentDownloadUrlResponseClass
|
|
22
|
+
*/
|
|
23
|
+
'url': 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 });
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CustomerClass } from './customer-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,8 +18,8 @@
|
|
|
17
18
|
export interface GetCustomerResponseClass {
|
|
18
19
|
/**
|
|
19
20
|
* Customer object
|
|
20
|
-
* @type {
|
|
21
|
+
* @type {CustomerClass}
|
|
21
22
|
* @memberof GetCustomerResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'customer':
|
|
24
|
+
'customer': CustomerClass;
|
|
24
25
|
}
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,8 +1,12 @@
|
|
|
1
|
+
export * from './account-class';
|
|
2
|
+
export * from './account-policy-class';
|
|
1
3
|
export * from './authentication-result-class';
|
|
2
|
-
export * from './create-account-request-dto';
|
|
3
4
|
export * from './create-customer-request-dto';
|
|
4
5
|
export * from './create-customer-response-class';
|
|
6
|
+
export * from './customer-class';
|
|
7
|
+
export * from './customer-document-class';
|
|
5
8
|
export * from './forgot-password-request-dto';
|
|
9
|
+
export * from './get-customer-document-download-url-response-class';
|
|
6
10
|
export * from './get-customer-response-class';
|
|
7
11
|
export * from './get-policy-response-class';
|
|
8
12
|
export * from './initiate-auth-request-dto';
|
|
@@ -11,6 +15,7 @@ export * from './invite-by-customer-request-dto';
|
|
|
11
15
|
export * from './invite-by-customer-response-class';
|
|
12
16
|
export * from './invite-by-tenant-response-class';
|
|
13
17
|
export * from './invite-class';
|
|
18
|
+
export * from './invoice-class';
|
|
14
19
|
export * from './list-documents-response-class';
|
|
15
20
|
export * from './list-invoices-response-class';
|
|
16
21
|
export * from './list-policies-response-class';
|
|
@@ -25,8 +30,13 @@ export * from './request-policy-update-response-class';
|
|
|
25
30
|
export * from './reset-password-by-customer-request-dto';
|
|
26
31
|
export * from './respond-to-auth-challenge-class';
|
|
27
32
|
export * from './respond-to-auth-challenge-request-dto';
|
|
33
|
+
export * from './shared-customer-policy-object-request-dto';
|
|
34
|
+
export * from './shared-invoice-item-class';
|
|
35
|
+
export * from './terminate-customer-policy-request-dto';
|
|
36
|
+
export * from './terminate-customer-policy-response-class';
|
|
28
37
|
export * from './timeslice-class';
|
|
29
38
|
export * from './update-account-request-dto';
|
|
30
39
|
export * from './update-customer-request-dto';
|
|
31
40
|
export * from './update-customer-response-class';
|
|
32
41
|
export * from './verify-customer-invite-response-class';
|
|
42
|
+
export * from './withdraw-customer-policy-response-class';
|
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);
|
|
18
|
+
__exportStar(require("./account-policy-class"), exports);
|
|
17
19
|
__exportStar(require("./authentication-result-class"), exports);
|
|
18
|
-
__exportStar(require("./create-account-request-dto"), exports);
|
|
19
20
|
__exportStar(require("./create-customer-request-dto"), exports);
|
|
20
21
|
__exportStar(require("./create-customer-response-class"), exports);
|
|
22
|
+
__exportStar(require("./customer-class"), exports);
|
|
23
|
+
__exportStar(require("./customer-document-class"), exports);
|
|
21
24
|
__exportStar(require("./forgot-password-request-dto"), exports);
|
|
25
|
+
__exportStar(require("./get-customer-document-download-url-response-class"), exports);
|
|
22
26
|
__exportStar(require("./get-customer-response-class"), exports);
|
|
23
27
|
__exportStar(require("./get-policy-response-class"), exports);
|
|
24
28
|
__exportStar(require("./initiate-auth-request-dto"), exports);
|
|
@@ -27,6 +31,7 @@ __exportStar(require("./invite-by-customer-request-dto"), exports);
|
|
|
27
31
|
__exportStar(require("./invite-by-customer-response-class"), exports);
|
|
28
32
|
__exportStar(require("./invite-by-tenant-response-class"), exports);
|
|
29
33
|
__exportStar(require("./invite-class"), exports);
|
|
34
|
+
__exportStar(require("./invoice-class"), exports);
|
|
30
35
|
__exportStar(require("./list-documents-response-class"), exports);
|
|
31
36
|
__exportStar(require("./list-invoices-response-class"), exports);
|
|
32
37
|
__exportStar(require("./list-policies-response-class"), exports);
|
|
@@ -41,8 +46,13 @@ __exportStar(require("./request-policy-update-response-class"), exports);
|
|
|
41
46
|
__exportStar(require("./reset-password-by-customer-request-dto"), exports);
|
|
42
47
|
__exportStar(require("./respond-to-auth-challenge-class"), exports);
|
|
43
48
|
__exportStar(require("./respond-to-auth-challenge-request-dto"), exports);
|
|
49
|
+
__exportStar(require("./shared-customer-policy-object-request-dto"), exports);
|
|
50
|
+
__exportStar(require("./shared-invoice-item-class"), exports);
|
|
51
|
+
__exportStar(require("./terminate-customer-policy-request-dto"), exports);
|
|
52
|
+
__exportStar(require("./terminate-customer-policy-response-class"), exports);
|
|
44
53
|
__exportStar(require("./timeslice-class"), exports);
|
|
45
54
|
__exportStar(require("./update-account-request-dto"), exports);
|
|
46
55
|
__exportStar(require("./update-customer-request-dto"), exports);
|
|
47
56
|
__exportStar(require("./update-customer-response-class"), exports);
|
|
48
57
|
__exportStar(require("./verify-customer-invite-response-class"), exports);
|
|
58
|
+
__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
|
+
};
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { CustomerDocumentClass } from './customer-document-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -17,10 +18,10 @@
|
|
|
17
18
|
export interface ListDocumentsResponseClass {
|
|
18
19
|
/**
|
|
19
20
|
* documents list items
|
|
20
|
-
* @type {Array<
|
|
21
|
+
* @type {Array<CustomerDocumentClass>}
|
|
21
22
|
* @memberof ListDocumentsResponseClass
|
|
22
23
|
*/
|
|
23
|
-
'items': Array<
|
|
24
|
+
'items': Array<CustomerDocumentClass>;
|
|
24
25
|
/**
|
|
25
26
|
* Next page token
|
|
26
27
|
* @type {string}
|
|
@@ -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}
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { SharedCustomerPolicyObjectRequestDto } from './shared-customer-policy-object-request-dto';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -23,10 +24,10 @@ export interface RequestPolicyUpdateRequestDto {
|
|
|
23
24
|
'code': string;
|
|
24
25
|
/**
|
|
25
26
|
* Policy objects
|
|
26
|
-
* @type {Array<
|
|
27
|
+
* @type {Array<SharedCustomerPolicyObjectRequestDto>}
|
|
27
28
|
* @memberof RequestPolicyUpdateRequestDto
|
|
28
29
|
*/
|
|
29
|
-
'policyObjects': Array<
|
|
30
|
+
'policyObjects': Array<SharedCustomerPolicyObjectRequestDto>;
|
|
30
31
|
/**
|
|
31
32
|
* Update from
|
|
32
33
|
* @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
|
+
*
|
|
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 SharedCustomerPolicyObjectRequestDto
|
|
16
|
+
*/
|
|
17
|
+
export interface SharedCustomerPolicyObjectRequestDto {
|
|
18
|
+
/**
|
|
19
|
+
* Insured object name
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
22
|
+
*/
|
|
23
|
+
'insuredObjectName': string;
|
|
24
|
+
/**
|
|
25
|
+
* Insured object data
|
|
26
|
+
* @type {object}
|
|
27
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
28
|
+
*/
|
|
29
|
+
'data': object;
|
|
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
|
+
*
|
|
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 });
|