@emilgroup/customer-sdk-node 1.6.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 +2 -0
- package/README.md +2 -2
- package/dist/models/account-class.d.ts +3 -2
- package/dist/models/account-policy-class.d.ts +30 -0
- package/dist/models/account-policy-class.js +15 -0
- package/dist/models/index.d.ts +2 -0
- package/dist/models/index.js +2 -0
- package/dist/models/request-policy-update-request-dto.d.ts +3 -2
- 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/models/account-class.ts +3 -2
- package/models/account-policy-class.ts +36 -0
- package/models/index.ts +2 -0
- package/models/request-policy-update-request-dto.ts +3 -2
- package/models/shared-customer-policy-object-request-dto.ts +36 -0
- package/package.json +1 -1
package/.openapi-generator/FILES
CHANGED
|
@@ -10,6 +10,7 @@ configuration.ts
|
|
|
10
10
|
git_push.sh
|
|
11
11
|
index.ts
|
|
12
12
|
models/account-class.ts
|
|
13
|
+
models/account-policy-class.ts
|
|
13
14
|
models/authentication-result-class.ts
|
|
14
15
|
models/create-customer-request-dto.ts
|
|
15
16
|
models/create-customer-response-class.ts
|
|
@@ -41,6 +42,7 @@ models/request-policy-update-response-class.ts
|
|
|
41
42
|
models/reset-password-by-customer-request-dto.ts
|
|
42
43
|
models/respond-to-auth-challenge-class.ts
|
|
43
44
|
models/respond-to-auth-challenge-request-dto.ts
|
|
45
|
+
models/shared-customer-policy-object-request-dto.ts
|
|
44
46
|
models/shared-invoice-item-class.ts
|
|
45
47
|
models/terminate-customer-policy-request-dto.ts
|
|
46
48
|
models/terminate-customer-policy-response-class.ts
|
package/README.md
CHANGED
|
@@ -17,11 +17,11 @@ Although this package can be used in both TypeScript and JavaScript, it is inten
|
|
|
17
17
|
Navigate to the folder of your consuming project and run one of the following commands:
|
|
18
18
|
|
|
19
19
|
```
|
|
20
|
-
npm install @emilgroup/customer-sdk-node@1.6.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.6.1 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.6.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.6.1
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
* https://openapi-generator.tech
|
|
10
10
|
* Do not edit the class manually.
|
|
11
11
|
*/
|
|
12
|
+
import { AccountPolicyClass } from './account-policy-class';
|
|
12
13
|
/**
|
|
13
14
|
*
|
|
14
15
|
* @export
|
|
@@ -113,10 +114,10 @@ export interface AccountClass {
|
|
|
113
114
|
'updatedAt': string;
|
|
114
115
|
/**
|
|
115
116
|
* Policies linked to the account.
|
|
116
|
-
* @type {Array<
|
|
117
|
+
* @type {Array<AccountPolicyClass>}
|
|
117
118
|
* @memberof AccountClass
|
|
118
119
|
*/
|
|
119
|
-
'policies': Array<
|
|
120
|
+
'policies': Array<AccountPolicyClass>;
|
|
120
121
|
/**
|
|
121
122
|
* Optional field contain extra information
|
|
122
123
|
* @type {object}
|
|
@@ -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 AccountPolicyClass
|
|
16
|
+
*/
|
|
17
|
+
export interface AccountPolicyClass {
|
|
18
|
+
/**
|
|
19
|
+
* Unique identifier for a policy.
|
|
20
|
+
* @type {string}
|
|
21
|
+
* @memberof AccountPolicyClass
|
|
22
|
+
*/
|
|
23
|
+
'policyCode': string;
|
|
24
|
+
/**
|
|
25
|
+
* Number used on official documents.
|
|
26
|
+
* @type {string}
|
|
27
|
+
* @memberof AccountPolicyClass
|
|
28
|
+
*/
|
|
29
|
+
'policyNumber': string;
|
|
30
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
/**
|
|
5
|
+
* EMIL CustomerService
|
|
6
|
+
* The EMIL CustomerService API description
|
|
7
|
+
*
|
|
8
|
+
* The version of the OpenAPI document: 1.0
|
|
9
|
+
*
|
|
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 });
|
package/dist/models/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './account-class';
|
|
2
|
+
export * from './account-policy-class';
|
|
2
3
|
export * from './authentication-result-class';
|
|
3
4
|
export * from './create-customer-request-dto';
|
|
4
5
|
export * from './create-customer-response-class';
|
|
@@ -29,6 +30,7 @@ export * from './request-policy-update-response-class';
|
|
|
29
30
|
export * from './reset-password-by-customer-request-dto';
|
|
30
31
|
export * from './respond-to-auth-challenge-class';
|
|
31
32
|
export * from './respond-to-auth-challenge-request-dto';
|
|
33
|
+
export * from './shared-customer-policy-object-request-dto';
|
|
32
34
|
export * from './shared-invoice-item-class';
|
|
33
35
|
export * from './terminate-customer-policy-request-dto';
|
|
34
36
|
export * from './terminate-customer-policy-response-class';
|
package/dist/models/index.js
CHANGED
|
@@ -15,6 +15,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
15
15
|
};
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./account-class"), exports);
|
|
18
|
+
__exportStar(require("./account-policy-class"), exports);
|
|
18
19
|
__exportStar(require("./authentication-result-class"), exports);
|
|
19
20
|
__exportStar(require("./create-customer-request-dto"), exports);
|
|
20
21
|
__exportStar(require("./create-customer-response-class"), exports);
|
|
@@ -45,6 +46,7 @@ __exportStar(require("./request-policy-update-response-class"), exports);
|
|
|
45
46
|
__exportStar(require("./reset-password-by-customer-request-dto"), exports);
|
|
46
47
|
__exportStar(require("./respond-to-auth-challenge-class"), exports);
|
|
47
48
|
__exportStar(require("./respond-to-auth-challenge-request-dto"), exports);
|
|
49
|
+
__exportStar(require("./shared-customer-policy-object-request-dto"), exports);
|
|
48
50
|
__exportStar(require("./shared-invoice-item-class"), exports);
|
|
49
51
|
__exportStar(require("./terminate-customer-policy-request-dto"), exports);
|
|
50
52
|
__exportStar(require("./terminate-customer-policy-response-class"), exports);
|
|
@@ -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 });
|
package/models/account-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { AccountPolicyClass } from './account-policy-class';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -118,10 +119,10 @@ export interface AccountClass {
|
|
|
118
119
|
'updatedAt': string;
|
|
119
120
|
/**
|
|
120
121
|
* Policies linked to the account.
|
|
121
|
-
* @type {Array<
|
|
122
|
+
* @type {Array<AccountPolicyClass>}
|
|
122
123
|
* @memberof AccountClass
|
|
123
124
|
*/
|
|
124
|
-
'policies': Array<
|
|
125
|
+
'policies': Array<AccountPolicyClass>;
|
|
125
126
|
/**
|
|
126
127
|
* Optional field contain extra information
|
|
127
128
|
* @type {object}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 AccountPolicyClass
|
|
21
|
+
*/
|
|
22
|
+
export interface AccountPolicyClass {
|
|
23
|
+
/**
|
|
24
|
+
* Unique identifier for a policy.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof AccountPolicyClass
|
|
27
|
+
*/
|
|
28
|
+
'policyCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* Number used on official documents.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof AccountPolicyClass
|
|
33
|
+
*/
|
|
34
|
+
'policyNumber': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/index.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export * from './account-class';
|
|
2
|
+
export * from './account-policy-class';
|
|
2
3
|
export * from './authentication-result-class';
|
|
3
4
|
export * from './create-customer-request-dto';
|
|
4
5
|
export * from './create-customer-response-class';
|
|
@@ -29,6 +30,7 @@ export * from './request-policy-update-response-class';
|
|
|
29
30
|
export * from './reset-password-by-customer-request-dto';
|
|
30
31
|
export * from './respond-to-auth-challenge-class';
|
|
31
32
|
export * from './respond-to-auth-challenge-request-dto';
|
|
33
|
+
export * from './shared-customer-policy-object-request-dto';
|
|
32
34
|
export * from './shared-invoice-item-class';
|
|
33
35
|
export * from './terminate-customer-policy-request-dto';
|
|
34
36
|
export * from './terminate-customer-policy-response-class';
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { SharedCustomerPolicyObjectRequestDto } from './shared-customer-policy-object-request-dto';
|
|
16
17
|
|
|
17
18
|
/**
|
|
18
19
|
*
|
|
@@ -28,10 +29,10 @@ export interface RequestPolicyUpdateRequestDto {
|
|
|
28
29
|
'code': string;
|
|
29
30
|
/**
|
|
30
31
|
* Policy objects
|
|
31
|
-
* @type {Array<
|
|
32
|
+
* @type {Array<SharedCustomerPolicyObjectRequestDto>}
|
|
32
33
|
* @memberof RequestPolicyUpdateRequestDto
|
|
33
34
|
*/
|
|
34
|
-
'policyObjects': Array<
|
|
35
|
+
'policyObjects': Array<SharedCustomerPolicyObjectRequestDto>;
|
|
35
36
|
/**
|
|
36
37
|
* Update from
|
|
37
38
|
* @type {string}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL CustomerService
|
|
5
|
+
* The EMIL CustomerService API description
|
|
6
|
+
*
|
|
7
|
+
* The version of the OpenAPI document: 1.0
|
|
8
|
+
*
|
|
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 SharedCustomerPolicyObjectRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface SharedCustomerPolicyObjectRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Insured object name
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'insuredObjectName': string;
|
|
29
|
+
/**
|
|
30
|
+
* Insured object data
|
|
31
|
+
* @type {object}
|
|
32
|
+
* @memberof SharedCustomerPolicyObjectRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'data': object;
|
|
35
|
+
}
|
|
36
|
+
|