@emilgroup/insurance-sdk-node 1.48.0 → 1.48.1-beta.2
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 +21 -8
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +4 -4
- package/api/default-api.ts +8 -4
- package/api/emil-functions-api.ts +1314 -0
- package/api/insured-object-types-api.ts +4 -4
- package/api/insured-objects-api.ts +9 -6
- package/api/lead-statuses-api.ts +96 -12
- package/api/named-ranges-api.ts +4 -4
- package/api/partner-roles-api.ts +683 -0
- package/api/policies-api.ts +167 -180
- package/api/premium-formulas-api.ts +4 -4
- package/api/product-factors-api.ts +4 -4
- package/api/product-fields-api.ts +8 -8
- package/api/products-api.ts +12 -12
- package/api.ts +4 -2
- package/dist/api/booking-funnels-api.d.ts +4 -4
- package/dist/api/booking-funnels-api.js +4 -4
- package/dist/api/default-api.d.ts +8 -4
- package/dist/api/default-api.js +8 -4
- package/dist/api/emil-functions-api.d.ts +727 -0
- package/dist/api/emil-functions-api.js +1202 -0
- package/dist/api/insured-object-types-api.d.ts +4 -4
- package/dist/api/insured-object-types-api.js +3 -3
- package/dist/api/insured-objects-api.d.ts +4 -4
- package/dist/api/insured-objects-api.js +7 -5
- package/dist/api/lead-statuses-api.d.ts +63 -9
- package/dist/api/lead-statuses-api.js +45 -9
- package/dist/api/named-ranges-api.d.ts +4 -4
- package/dist/api/named-ranges-api.js +3 -3
- package/dist/api/partner-roles-api.d.ts +385 -0
- package/dist/api/{policy-partner-roles-api.js → partner-roles-api.js} +139 -139
- package/dist/api/policies-api.d.ts +131 -140
- package/dist/api/policies-api.js +114 -120
- package/dist/api/premium-formulas-api.d.ts +4 -4
- package/dist/api/premium-formulas-api.js +3 -3
- package/dist/api/product-factors-api.d.ts +4 -4
- package/dist/api/product-factors-api.js +3 -3
- package/dist/api/product-fields-api.d.ts +8 -8
- package/dist/api/product-fields-api.js +6 -6
- package/dist/api/products-api.d.ts +12 -12
- package/dist/api/products-api.js +9 -9
- package/dist/api.d.ts +2 -1
- package/dist/api.js +2 -1
- package/dist/models/booking-funnel-class.d.ts +1 -1
- package/dist/models/create-booking-funnel-request-dto.d.ts +1 -1
- package/dist/models/create-emil-function-request-dto.d.ts +42 -0
- package/dist/models/create-emil-function-secret-request-dto.d.ts +36 -0
- package/dist/models/{update-policy-partner-role-request-dto.d.ts → create-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/{get-policy-partner-role-response-class.d.ts → create-partner-role-response-class.d.ts} +7 -7
- package/dist/models/create-product-request-dto.d.ts +1 -1
- package/dist/models/emil-function-class.d.ts +60 -0
- package/dist/models/{create-policy-partner-role-response-class.d.ts → emil-function-secret-class.d.ts} +12 -7
- package/dist/models/execute-emil-function-request-dto.d.ts +24 -0
- package/dist/models/get-emil-function-secret-response-class.d.ts +24 -0
- package/dist/models/get-emil-function-secret-response-class.js +15 -0
- package/dist/models/{update-policy-partner-role-response-class.d.ts → get-partner-role-response-class.d.ts} +7 -7
- package/dist/models/get-partner-role-response-class.js +15 -0
- package/dist/models/get-product-request-dto.d.ts +1 -1
- package/dist/models/index.d.ts +19 -7
- package/dist/models/index.js +19 -7
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/invoice-item-class.d.ts +12 -0
- package/dist/models/lead-class.d.ts +8 -1
- package/dist/models/lead-status-class.d.ts +1 -1
- package/dist/models/list-emil-function-secrets-response-class.d.ts +25 -0
- package/dist/models/list-emil-function-secrets-response-class.js +15 -0
- package/dist/models/{list-policy-partner-roles-response-class.d.ts → list-emil-functions-response-class.d.ts} +8 -8
- package/dist/models/list-emil-functions-response-class.js +15 -0
- package/dist/models/list-partner-roles-response-class.d.ts +31 -0
- package/dist/models/list-partner-roles-response-class.js +15 -0
- package/dist/models/list-policy-versions-request-dto.d.ts +1 -1
- package/dist/models/list-request-dto.d.ts +1 -1
- package/dist/models/partner-class.d.ts +60 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +86 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/{policy-partner-role-class.d.ts → partner-role-class.d.ts} +10 -10
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/patch-draft-policy-request-dto.d.ts +1 -1
- package/dist/models/policy-class.d.ts +7 -0
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/shared-update-named-range-request-dto.d.ts +1 -1
- package/dist/models/status-transition-rule-class.d.ts +1 -1
- package/dist/models/update-emil-function-request-dto.d.ts +42 -0
- package/dist/models/update-emil-function-request-dto.js +15 -0
- package/dist/models/update-emil-function-secret-request-dto.d.ts +30 -0
- package/dist/models/update-emil-function-secret-request-dto.js +15 -0
- package/dist/models/update-named-range-request-dto.d.ts +1 -1
- package/dist/models/{create-policy-partner-role-request-dto.d.ts → update-partner-role-request-dto.d.ts} +6 -6
- package/dist/models/update-partner-role-request-dto.js +15 -0
- package/dist/models/update-partner-role-response-class.d.ts +25 -0
- package/dist/models/update-partner-role-response-class.js +15 -0
- package/dist/models/update-product-request-dto.d.ts +1 -1
- package/models/booking-funnel-class.ts +1 -1
- package/models/create-booking-funnel-request-dto.ts +1 -1
- package/models/create-emil-function-request-dto.ts +48 -0
- package/models/create-emil-function-secret-request-dto.ts +42 -0
- package/models/{update-policy-partner-role-request-dto.ts → create-partner-role-request-dto.ts} +6 -6
- package/models/{get-policy-partner-role-response-class.ts → create-partner-role-response-class.ts} +7 -7
- package/models/create-product-request-dto.ts +1 -1
- package/models/emil-function-class.ts +66 -0
- package/models/{update-policy-partner-role-response-class.ts → emil-function-secret-class.ts} +12 -7
- package/models/execute-emil-function-request-dto.ts +30 -0
- package/models/get-emil-function-secret-response-class.ts +30 -0
- package/models/{create-policy-partner-role-response-class.ts → get-partner-role-response-class.ts} +7 -7
- package/models/get-product-request-dto.ts +1 -1
- package/models/index.ts +19 -7
- package/models/insured-object-type-class.ts +1 -1
- package/models/invoice-item-class.ts +12 -0
- package/models/lead-class.ts +8 -1
- package/models/lead-status-class.ts +1 -1
- package/models/list-emil-function-secrets-response-class.ts +31 -0
- package/models/{list-policy-partner-roles-response-class.ts → list-emil-functions-response-class.ts} +8 -8
- package/models/list-partner-roles-response-class.ts +37 -0
- package/models/list-policy-versions-request-dto.ts +1 -1
- package/models/list-request-dto.ts +1 -1
- package/models/partner-class.ts +66 -0
- package/models/partner-link-class.ts +92 -0
- package/models/{policy-partner-role-class.ts → partner-role-class.ts} +10 -10
- package/models/patch-draft-policy-request-dto.ts +1 -1
- package/models/policy-class.ts +7 -0
- package/models/product-class.ts +1 -1
- package/models/shared-update-named-range-request-dto.ts +1 -1
- package/models/status-transition-rule-class.ts +1 -1
- package/models/update-emil-function-request-dto.ts +48 -0
- package/models/update-emil-function-secret-request-dto.ts +36 -0
- package/models/update-named-range-request-dto.ts +1 -1
- package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts} +6 -6
- package/models/update-partner-role-response-class.ts +31 -0
- package/models/update-product-request-dto.ts +1 -1
- package/package.json +1 -1
- package/api/policy-partner-roles-api.ts +0 -683
- package/dist/api/policy-partner-roles-api.d.ts +0 -385
- /package/dist/models/{create-policy-partner-role-request-dto.js → create-emil-function-request-dto.js} +0 -0
- /package/dist/models/{create-policy-partner-role-response-class.js → create-emil-function-secret-request-dto.js} +0 -0
- /package/dist/models/{get-policy-partner-role-response-class.js → create-partner-role-request-dto.js} +0 -0
- /package/dist/models/{list-policy-partner-roles-response-class.js → create-partner-role-response-class.js} +0 -0
- /package/dist/models/{policy-partner-role-class.js → emil-function-class.js} +0 -0
- /package/dist/models/{update-policy-partner-role-request-dto.js → emil-function-secret-class.js} +0 -0
- /package/dist/models/{update-policy-partner-role-response-class.js → execute-emil-function-request-dto.js} +0 -0
|
@@ -17,43 +17,43 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface PartnerRoleClass
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface PartnerRoleClass {
|
|
23
23
|
/**
|
|
24
24
|
* Internal unique identifier for the object. You should not have to use this, use code instead.
|
|
25
25
|
* @type {number}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof PartnerRoleClass
|
|
27
27
|
*/
|
|
28
28
|
'id': number;
|
|
29
29
|
/**
|
|
30
30
|
* Unique identifier for the object.
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof PartnerRoleClass
|
|
33
33
|
*/
|
|
34
34
|
'code': string;
|
|
35
35
|
/**
|
|
36
|
-
* Name of the
|
|
36
|
+
* Name of the partner role.
|
|
37
37
|
* @type {string}
|
|
38
|
-
* @memberof
|
|
38
|
+
* @memberof PartnerRoleClass
|
|
39
39
|
*/
|
|
40
40
|
'name': string;
|
|
41
41
|
/**
|
|
42
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
42
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
43
43
|
* @type {string}
|
|
44
|
-
* @memberof
|
|
44
|
+
* @memberof PartnerRoleClass
|
|
45
45
|
*/
|
|
46
46
|
'productSlug'?: string;
|
|
47
47
|
/**
|
|
48
48
|
* Time at which the object was created.
|
|
49
49
|
* @type {string}
|
|
50
|
-
* @memberof
|
|
50
|
+
* @memberof PartnerRoleClass
|
|
51
51
|
*/
|
|
52
52
|
'createdAt': string;
|
|
53
53
|
/**
|
|
54
54
|
* Time at which the object was updated.
|
|
55
55
|
* @type {string}
|
|
56
|
-
* @memberof
|
|
56
|
+
* @memberof PartnerRoleClass
|
|
57
57
|
*/
|
|
58
58
|
'updatedAt': string;
|
|
59
59
|
}
|
|
@@ -33,7 +33,7 @@ export interface PatchDraftPolicyRequestDto {
|
|
|
33
33
|
* @type {string}
|
|
34
34
|
* @memberof PatchDraftPolicyRequestDto
|
|
35
35
|
*/
|
|
36
|
-
'from'
|
|
36
|
+
'from'?: string;
|
|
37
37
|
/**
|
|
38
38
|
* Date to which the policy should be updated. This will create a new timeline finishing at this date.
|
|
39
39
|
* @type {string}
|
package/models/policy-class.ts
CHANGED
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
|
|
16
|
+
import { PartnerLinkClass } from './partner-link-class';
|
|
16
17
|
import { PolicyVersionClass } from './policy-version-class';
|
|
17
18
|
import { ProductClass } from './product-class';
|
|
18
19
|
|
|
@@ -130,5 +131,11 @@ export interface PolicyClass {
|
|
|
130
131
|
* @memberof PolicyClass
|
|
131
132
|
*/
|
|
132
133
|
'ern': string;
|
|
134
|
+
/**
|
|
135
|
+
* Partner links.
|
|
136
|
+
* @type {Array<PartnerLinkClass>}
|
|
137
|
+
* @memberof PolicyClass
|
|
138
|
+
*/
|
|
139
|
+
'partnerLinks': Array<PartnerLinkClass>;
|
|
133
140
|
}
|
|
134
141
|
|
package/models/product-class.ts
CHANGED
|
@@ -41,7 +41,7 @@ export interface ProductClass {
|
|
|
41
41
|
*/
|
|
42
42
|
'name': string;
|
|
43
43
|
/**
|
|
44
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
44
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
45
45
|
* @type {string}
|
|
46
46
|
* @memberof ProductClass
|
|
47
47
|
*/
|
|
@@ -51,7 +51,7 @@ export interface StatusTransitionRuleClass {
|
|
|
51
51
|
*/
|
|
52
52
|
'nextStatuses': Array<string>;
|
|
53
53
|
/**
|
|
54
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
54
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
55
55
|
* @type {string}
|
|
56
56
|
* @memberof StatusTransitionRuleClass
|
|
57
57
|
*/
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateEmilFunctionRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEmilFunctionRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Emil function name.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateEmilFunctionRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'name': string;
|
|
29
|
+
/**
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateEmilFunctionRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'slug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Python code of the Emil function (def do(payload, config): ...).
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof UpdateEmilFunctionRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'description'?: string;
|
|
41
|
+
/**
|
|
42
|
+
* Emil function description.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof UpdateEmilFunctionRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'expression': string;
|
|
47
|
+
}
|
|
48
|
+
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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
|
+
|
|
17
|
+
/**
|
|
18
|
+
*
|
|
19
|
+
* @export
|
|
20
|
+
* @interface UpdateEmilFunctionSecretRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface UpdateEmilFunctionSecretRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* Description of the AWS secret.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof UpdateEmilFunctionSecretRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'description'?: string;
|
|
29
|
+
/**
|
|
30
|
+
* String value of the AWS secret
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof UpdateEmilFunctionSecretRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'value': string;
|
|
35
|
+
}
|
|
36
|
+
|
package/models/{create-policy-partner-role-request-dto.ts → update-partner-role-request-dto.ts}
RENAMED
|
@@ -17,19 +17,19 @@
|
|
|
17
17
|
/**
|
|
18
18
|
*
|
|
19
19
|
* @export
|
|
20
|
-
* @interface
|
|
20
|
+
* @interface UpdatePartnerRoleRequestDto
|
|
21
21
|
*/
|
|
22
|
-
export interface
|
|
22
|
+
export interface UpdatePartnerRoleRequestDto {
|
|
23
23
|
/**
|
|
24
|
-
* Name of the
|
|
24
|
+
* Name of the partner role.
|
|
25
25
|
* @type {string}
|
|
26
|
-
* @memberof
|
|
26
|
+
* @memberof UpdatePartnerRoleRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'name': string;
|
|
29
29
|
/**
|
|
30
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
30
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
31
31
|
* @type {string}
|
|
32
|
-
* @memberof
|
|
32
|
+
* @memberof UpdatePartnerRoleRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'productSlug'?: string;
|
|
35
35
|
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
/* tslint:disable */
|
|
2
|
+
/* eslint-disable */
|
|
3
|
+
/**
|
|
4
|
+
* EMIL InsuranceService
|
|
5
|
+
* The EMIL InsuranceService 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 { PartnerRoleClass } from './partner-role-class';
|
|
17
|
+
|
|
18
|
+
/**
|
|
19
|
+
*
|
|
20
|
+
* @export
|
|
21
|
+
* @interface UpdatePartnerRoleResponseClass
|
|
22
|
+
*/
|
|
23
|
+
export interface UpdatePartnerRoleResponseClass {
|
|
24
|
+
/**
|
|
25
|
+
* Partner role
|
|
26
|
+
* @type {PartnerRoleClass}
|
|
27
|
+
* @memberof UpdatePartnerRoleResponseClass
|
|
28
|
+
*/
|
|
29
|
+
'partnerRole': PartnerRoleClass;
|
|
30
|
+
}
|
|
31
|
+
|
|
@@ -33,7 +33,7 @@ export interface UpdateProductRequestDto {
|
|
|
33
33
|
*/
|
|
34
34
|
'contractDurationDays': number;
|
|
35
35
|
/**
|
|
36
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
36
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
37
37
|
* @type {string}
|
|
38
38
|
* @memberof UpdateProductRequestDto
|
|
39
39
|
*/
|