@emilgroup/customer-sdk-node 1.21.0 → 1.23.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/README.md +2 -2
- package/base.ts +1 -0
- package/dist/base.d.ts +2 -1
- package/dist/base.js +1 -0
- package/dist/models/list-leads-response-class.d.ts +12 -0
- package/dist/models/list-policies-response-class.d.ts +12 -0
- package/dist/models/policy-object-dto.d.ts +3 -3
- package/models/list-leads-response-class.ts +12 -0
- package/models/list-policies-response-class.ts +12 -0
- package/models/policy-object-dto.ts +3 -3
- package/package.json +1 -1
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.
|
|
20
|
+
npm install @emilgroup/customer-sdk-node@1.23.0 --save
|
|
21
21
|
```
|
|
22
22
|
or
|
|
23
23
|
```
|
|
24
|
-
yarn add @emilgroup/customer-sdk-node@1.
|
|
24
|
+
yarn add @emilgroup/customer-sdk-node@1.23.0
|
|
25
25
|
```
|
|
26
26
|
|
|
27
27
|
And then you can import `CustomersApi`.
|
package/base.ts
CHANGED
package/dist/base.d.ts
CHANGED
|
@@ -30,7 +30,8 @@ export interface LoginClass {
|
|
|
30
30
|
export declare enum Environment {
|
|
31
31
|
Production = "https://apiv2.emil.de",
|
|
32
32
|
Test = "https://apiv2-test.emil.de",
|
|
33
|
-
Development = "https://apiv2-dev.emil.de"
|
|
33
|
+
Development = "https://apiv2-dev.emil.de",
|
|
34
|
+
ProductionZurich = "https://eu-central-2.apiv2.emil.de"
|
|
34
35
|
}
|
|
35
36
|
export declare function resetRetry(): void;
|
|
36
37
|
/**
|
package/dist/base.js
CHANGED
|
@@ -130,6 +130,7 @@ var Environment;
|
|
|
130
130
|
Environment["Production"] = "https://apiv2.emil.de";
|
|
131
131
|
Environment["Test"] = "https://apiv2-test.emil.de";
|
|
132
132
|
Environment["Development"] = "https://apiv2-dev.emil.de";
|
|
133
|
+
Environment["ProductionZurich"] = "https://eu-central-2.apiv2.emil.de";
|
|
133
134
|
})(Environment = exports.Environment || (exports.Environment = {}));
|
|
134
135
|
var _retry_count = 0;
|
|
135
136
|
var _retry = null;
|
|
@@ -28,4 +28,16 @@ export interface ListLeadsResponseClass {
|
|
|
28
28
|
* @memberof ListLeadsResponseClass
|
|
29
29
|
*/
|
|
30
30
|
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListLeadsResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListLeadsResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
31
43
|
}
|
|
@@ -28,4 +28,16 @@ export interface ListPoliciesResponseClass {
|
|
|
28
28
|
* @memberof ListPoliciesResponseClass
|
|
29
29
|
*/
|
|
30
30
|
'nextPageToken': string;
|
|
31
|
+
/**
|
|
32
|
+
* Items per page.
|
|
33
|
+
* @type {number}
|
|
34
|
+
* @memberof ListPoliciesResponseClass
|
|
35
|
+
*/
|
|
36
|
+
'itemsPerPage': number;
|
|
37
|
+
/**
|
|
38
|
+
* Total amount of items.
|
|
39
|
+
* @type {number}
|
|
40
|
+
* @memberof ListPoliciesResponseClass
|
|
41
|
+
*/
|
|
42
|
+
'totalItems': number;
|
|
31
43
|
}
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
export interface PolicyObjectDto {
|
|
18
18
|
/**
|
|
19
19
|
* Unique identifier referencing the insured object.
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {number}
|
|
21
21
|
* @memberof PolicyObjectDto
|
|
22
22
|
*/
|
|
23
|
-
'insuredObjectId':
|
|
23
|
+
'insuredObjectId': number;
|
|
24
24
|
/**
|
|
25
|
-
* Insured object name. Human readable identifier of insured object.
|
|
25
|
+
* Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
|
|
26
26
|
* @type {object}
|
|
27
27
|
* @memberof PolicyObjectDto
|
|
28
28
|
*/
|
|
@@ -33,5 +33,17 @@ export interface ListLeadsResponseClass {
|
|
|
33
33
|
* @memberof ListLeadsResponseClass
|
|
34
34
|
*/
|
|
35
35
|
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListLeadsResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListLeadsResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
36
48
|
}
|
|
37
49
|
|
|
@@ -33,5 +33,17 @@ export interface ListPoliciesResponseClass {
|
|
|
33
33
|
* @memberof ListPoliciesResponseClass
|
|
34
34
|
*/
|
|
35
35
|
'nextPageToken': string;
|
|
36
|
+
/**
|
|
37
|
+
* Items per page.
|
|
38
|
+
* @type {number}
|
|
39
|
+
* @memberof ListPoliciesResponseClass
|
|
40
|
+
*/
|
|
41
|
+
'itemsPerPage': number;
|
|
42
|
+
/**
|
|
43
|
+
* Total amount of items.
|
|
44
|
+
* @type {number}
|
|
45
|
+
* @memberof ListPoliciesResponseClass
|
|
46
|
+
*/
|
|
47
|
+
'totalItems': number;
|
|
36
48
|
}
|
|
37
49
|
|
|
@@ -22,12 +22,12 @@
|
|
|
22
22
|
export interface PolicyObjectDto {
|
|
23
23
|
/**
|
|
24
24
|
* Unique identifier referencing the insured object.
|
|
25
|
-
* @type {
|
|
25
|
+
* @type {number}
|
|
26
26
|
* @memberof PolicyObjectDto
|
|
27
27
|
*/
|
|
28
|
-
'insuredObjectId':
|
|
28
|
+
'insuredObjectId': number;
|
|
29
29
|
/**
|
|
30
|
-
* Insured object name. Human readable identifier of insured object.
|
|
30
|
+
* Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
|
|
31
31
|
* @type {object}
|
|
32
32
|
* @memberof PolicyObjectDto
|
|
33
33
|
*/
|