@emilgroup/customer-sdk-node 1.35.0 → 1.36.1-beta.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 +1 -1
- package/README.md +2 -2
- package/api/leads-api.ts +38 -38
- package/base.ts +23 -13
- package/dist/api/leads-api.d.ts +24 -24
- package/dist/api/leads-api.js +34 -34
- package/dist/base.d.ts +4 -2
- package/dist/base.js +38 -28
- package/dist/models/create-customer-request-dto.d.ts +6 -0
- package/dist/models/create-lead-request-dto.d.ts +4 -9
- package/dist/models/forgot-password-request-dto.d.ts +6 -0
- package/dist/models/index.d.ts +1 -1
- package/dist/models/index.js +1 -1
- package/dist/models/invite-by-customer-request-dto.d.ts +6 -0
- package/dist/models/invite-by-tenant-request-dto.d.ts +6 -0
- package/dist/models/lead-class.d.ts +13 -1
- package/dist/models/link-lead-partner-request-dto.d.ts +36 -0
- package/dist/models/partner-link-class.d.ts +12 -0
- package/dist/models/reset-password-by-customer-request-dto.d.ts +6 -0
- package/dist/models/update-lead-request-dto.d.ts +6 -0
- package/models/create-customer-request-dto.ts +6 -0
- package/models/create-lead-request-dto.ts +4 -9
- package/models/forgot-password-request-dto.ts +6 -0
- package/models/index.ts +1 -1
- package/models/invite-by-customer-request-dto.ts +6 -0
- package/models/invite-by-tenant-request-dto.ts +6 -0
- package/models/lead-class.ts +13 -1
- package/models/link-lead-partner-request-dto.ts +42 -0
- package/models/partner-link-class.ts +12 -0
- package/models/reset-password-by-customer-request-dto.ts +6 -0
- package/models/update-lead-request-dto.ts +6 -0
- package/package.json +1 -1
- package/dist/models/grpc-update-lead-request-dto.d.ts +0 -50
- package/models/grpc-update-lead-request-dto.ts +0 -56
- /package/dist/models/{grpc-update-lead-request-dto.js → link-lead-partner-request-dto.js} +0 -0
|
@@ -39,6 +39,12 @@ export interface CreateCustomerRequestDto {
|
|
|
39
39
|
* @memberof CreateCustomerRequestDto
|
|
40
40
|
*/
|
|
41
41
|
'isEulaAccepted': boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Another variant used for the template from the customer settings.
|
|
44
|
+
* @type {string}
|
|
45
|
+
* @memberof CreateCustomerRequestDto
|
|
46
|
+
*/
|
|
47
|
+
'configVariant'?: string;
|
|
42
48
|
/**
|
|
43
49
|
* If the account does not exist yet, it will be created in the database.
|
|
44
50
|
* @type {CreateAccountRequestDto}
|
|
@@ -15,6 +15,7 @@
|
|
|
15
15
|
|
|
16
16
|
import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
|
|
17
17
|
import { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
18
|
+
import { LinkLeadPartnerRequestDto } from './link-lead-partner-request-dto';
|
|
18
19
|
import { PolicyObjectDto } from './policy-object-dto';
|
|
19
20
|
import { PremiumOverrideRequestDto } from './premium-override-request-dto';
|
|
20
21
|
import { UploadedDocumentDto } from './uploaded-document-dto';
|
|
@@ -86,16 +87,10 @@ export interface CreateLeadRequestDto {
|
|
|
86
87
|
*/
|
|
87
88
|
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
88
89
|
/**
|
|
89
|
-
*
|
|
90
|
-
* @type {
|
|
91
|
-
* @memberof CreateLeadRequestDto
|
|
92
|
-
*/
|
|
93
|
-
'partnerCode'?: string;
|
|
94
|
-
/**
|
|
95
|
-
* Unique identifier of the partner role that this object belongs to.
|
|
96
|
-
* @type {string}
|
|
90
|
+
* Optional partner object contains necessary information to link a partner to the policy.
|
|
91
|
+
* @type {LinkLeadPartnerRequestDto}
|
|
97
92
|
* @memberof CreateLeadRequestDto
|
|
98
93
|
*/
|
|
99
|
-
'
|
|
94
|
+
'partner'?: LinkLeadPartnerRequestDto;
|
|
100
95
|
}
|
|
101
96
|
|
|
@@ -32,5 +32,11 @@ export interface ForgotPasswordRequestDto {
|
|
|
32
32
|
* @memberof ForgotPasswordRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'tenantSlug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Another variant used for the template from the customer settings.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof ForgotPasswordRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'configVariant'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
package/models/index.ts
CHANGED
|
@@ -27,7 +27,6 @@ export * from './get-customer-response-class';
|
|
|
27
27
|
export * from './get-lead-response-class';
|
|
28
28
|
export * from './get-policy-response-class';
|
|
29
29
|
export * from './get-product-response-class';
|
|
30
|
-
export * from './grpc-update-lead-request-dto';
|
|
31
30
|
export * from './initiate-auth-request-dto';
|
|
32
31
|
export * from './initiate-auth-response-class';
|
|
33
32
|
export * from './initiate-braintree-payment-setup-response-class';
|
|
@@ -43,6 +42,7 @@ export * from './invite-class';
|
|
|
43
42
|
export * from './invoice-class';
|
|
44
43
|
export * from './lead-bank-account-class';
|
|
45
44
|
export * from './lead-class';
|
|
45
|
+
export * from './link-lead-partner-request-dto';
|
|
46
46
|
export * from './list-customer-claims-response-class';
|
|
47
47
|
export * from './list-documents-response-class';
|
|
48
48
|
export * from './list-invoices-response-class';
|
|
@@ -32,5 +32,11 @@ export interface InviteByCustomerRequestDto {
|
|
|
32
32
|
* @memberof InviteByCustomerRequestDto
|
|
33
33
|
*/
|
|
34
34
|
'tenantSlug': string;
|
|
35
|
+
/**
|
|
36
|
+
* Another variant used for the template from the customer settings.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof InviteByCustomerRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'configVariant'?: string;
|
|
35
41
|
}
|
|
36
42
|
|
|
@@ -26,5 +26,11 @@ export interface InviteByTenantRequestDto {
|
|
|
26
26
|
* @memberof InviteByTenantRequestDto
|
|
27
27
|
*/
|
|
28
28
|
'email': string;
|
|
29
|
+
/**
|
|
30
|
+
* Another variant used for the template from the customer settings.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof InviteByTenantRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'configVariant'?: string;
|
|
29
35
|
}
|
|
30
36
|
|
package/models/lead-class.ts
CHANGED
|
@@ -89,7 +89,7 @@ export interface LeadClass {
|
|
|
89
89
|
*/
|
|
90
90
|
'premiumOverride'?: PremiumOverrideRequestClass;
|
|
91
91
|
/**
|
|
92
|
-
* A slug is a human-readable, unique identifier, used to identify a resource
|
|
92
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
93
93
|
* @type {string}
|
|
94
94
|
* @memberof LeadClass
|
|
95
95
|
*/
|
|
@@ -130,6 +130,18 @@ export interface LeadClass {
|
|
|
130
130
|
* @memberof LeadClass
|
|
131
131
|
*/
|
|
132
132
|
'partnerLinks': Array<PartnerLinkClass>;
|
|
133
|
+
/**
|
|
134
|
+
* Identifier of the user who created the record.
|
|
135
|
+
* @type {string}
|
|
136
|
+
* @memberof LeadClass
|
|
137
|
+
*/
|
|
138
|
+
'createdBy': string;
|
|
139
|
+
/**
|
|
140
|
+
* Identifier of the user who last updated the record.
|
|
141
|
+
* @type {string}
|
|
142
|
+
* @memberof LeadClass
|
|
143
|
+
*/
|
|
144
|
+
'updatedBy': string;
|
|
133
145
|
/**
|
|
134
146
|
* Organization name.
|
|
135
147
|
* @type {string}
|
|
@@ -0,0 +1,42 @@
|
|
|
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
|
+
* 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 LinkLeadPartnerRequestDto
|
|
21
|
+
*/
|
|
22
|
+
export interface LinkLeadPartnerRequestDto {
|
|
23
|
+
/**
|
|
24
|
+
* The code of the partner with which the lead will be linked.
|
|
25
|
+
* @type {string}
|
|
26
|
+
* @memberof LinkLeadPartnerRequestDto
|
|
27
|
+
*/
|
|
28
|
+
'partnerCode': string;
|
|
29
|
+
/**
|
|
30
|
+
* The code of role that the partner will have in the established link between the lead and the partner.
|
|
31
|
+
* @type {string}
|
|
32
|
+
* @memberof LinkLeadPartnerRequestDto
|
|
33
|
+
*/
|
|
34
|
+
'partnerRoleCode': string;
|
|
35
|
+
/**
|
|
36
|
+
* The date of the start of linking with a partner.
|
|
37
|
+
* @type {string}
|
|
38
|
+
* @memberof LinkLeadPartnerRequestDto
|
|
39
|
+
*/
|
|
40
|
+
'startDate': string;
|
|
41
|
+
}
|
|
42
|
+
|
|
@@ -74,5 +74,17 @@ export interface PartnerLinkClass {
|
|
|
74
74
|
* @memberof PartnerLinkClass
|
|
75
75
|
*/
|
|
76
76
|
'updatedAt': string;
|
|
77
|
+
/**
|
|
78
|
+
* Identifier of the user who created the record.
|
|
79
|
+
* @type {string}
|
|
80
|
+
* @memberof PartnerLinkClass
|
|
81
|
+
*/
|
|
82
|
+
'createdBy': string;
|
|
83
|
+
/**
|
|
84
|
+
* Identifier of the user who last updated the record.
|
|
85
|
+
* @type {string}
|
|
86
|
+
* @memberof PartnerLinkClass
|
|
87
|
+
*/
|
|
88
|
+
'updatedBy': string;
|
|
77
89
|
}
|
|
78
90
|
|
|
@@ -38,5 +38,11 @@ export interface ResetPasswordByCustomerRequestDto {
|
|
|
38
38
|
* @memberof ResetPasswordByCustomerRequestDto
|
|
39
39
|
*/
|
|
40
40
|
'newPassword': string;
|
|
41
|
+
/**
|
|
42
|
+
* Another variant used for the template from the customer settings.
|
|
43
|
+
* @type {string}
|
|
44
|
+
* @memberof ResetPasswordByCustomerRequestDto
|
|
45
|
+
*/
|
|
46
|
+
'configVariant'?: string;
|
|
41
47
|
}
|
|
42
48
|
|
package/package.json
CHANGED
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* EMIL CustomerService
|
|
3
|
-
* The EMIL CustomerService API description
|
|
4
|
-
*
|
|
5
|
-
* The version of the OpenAPI document: 1.0
|
|
6
|
-
* Contact: kontakt@emil.de
|
|
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 { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
13
|
-
import { PolicyObjectDto } from './policy-object-dto';
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @export
|
|
17
|
-
* @interface GrpcUpdateLeadRequestDto
|
|
18
|
-
*/
|
|
19
|
-
export interface GrpcUpdateLeadRequestDto {
|
|
20
|
-
/**
|
|
21
|
-
* Policy objects.
|
|
22
|
-
* @type {Array<PolicyObjectDto>}
|
|
23
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
24
|
-
*/
|
|
25
|
-
'policyObjects': Array<PolicyObjectDto>;
|
|
26
|
-
/**
|
|
27
|
-
* Unique identifier of the product that this object belongs to.
|
|
28
|
-
* @type {string}
|
|
29
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
30
|
-
*/
|
|
31
|
-
'productCode': string;
|
|
32
|
-
/**
|
|
33
|
-
* Status of the lead.
|
|
34
|
-
* @type {string}
|
|
35
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
36
|
-
*/
|
|
37
|
-
'status'?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Payment method
|
|
40
|
-
* @type {CreatePaymentMethodRequestDto}
|
|
41
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
42
|
-
*/
|
|
43
|
-
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
44
|
-
/**
|
|
45
|
-
*
|
|
46
|
-
* @type {string}
|
|
47
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
48
|
-
*/
|
|
49
|
-
'code': string;
|
|
50
|
-
}
|
|
@@ -1,56 +0,0 @@
|
|
|
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
|
-
* 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 { CreatePaymentMethodRequestDto } from './create-payment-method-request-dto';
|
|
17
|
-
import { PolicyObjectDto } from './policy-object-dto';
|
|
18
|
-
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @export
|
|
22
|
-
* @interface GrpcUpdateLeadRequestDto
|
|
23
|
-
*/
|
|
24
|
-
export interface GrpcUpdateLeadRequestDto {
|
|
25
|
-
/**
|
|
26
|
-
* Policy objects.
|
|
27
|
-
* @type {Array<PolicyObjectDto>}
|
|
28
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
29
|
-
*/
|
|
30
|
-
'policyObjects': Array<PolicyObjectDto>;
|
|
31
|
-
/**
|
|
32
|
-
* Unique identifier of the product that this object belongs to.
|
|
33
|
-
* @type {string}
|
|
34
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
35
|
-
*/
|
|
36
|
-
'productCode': string;
|
|
37
|
-
/**
|
|
38
|
-
* Status of the lead.
|
|
39
|
-
* @type {string}
|
|
40
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
41
|
-
*/
|
|
42
|
-
'status'?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Payment method
|
|
45
|
-
* @type {CreatePaymentMethodRequestDto}
|
|
46
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
47
|
-
*/
|
|
48
|
-
'paymentMethod': CreatePaymentMethodRequestDto;
|
|
49
|
-
/**
|
|
50
|
-
*
|
|
51
|
-
* @type {string}
|
|
52
|
-
* @memberof GrpcUpdateLeadRequestDto
|
|
53
|
-
*/
|
|
54
|
-
'code': string;
|
|
55
|
-
}
|
|
56
|
-
|
|
File without changes
|