@emilgroup/insurance-sdk-node 1.10.1 → 1.12.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.
Files changed (44) hide show
  1. package/.openapi-generator/FILES +5 -1
  2. package/README.md +2 -2
  3. package/api/leads-api.ts +133 -15
  4. package/base.ts +1 -1
  5. package/dist/api/leads-api.d.ts +76 -10
  6. package/dist/api/leads-api.js +108 -11
  7. package/dist/base.js +1 -1
  8. package/dist/models/create-insured-object-request-dto.d.ts +20 -2
  9. package/dist/models/create-lead-request-dto.d.ts +18 -12
  10. package/dist/models/currency-class.d.ts +1 -1
  11. package/dist/models/grpc-patch-lead-request-dto.d.ts +77 -0
  12. package/dist/models/grpc-update-lead-request-dto.d.ts +89 -0
  13. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  14. package/dist/models/index.d.ts +5 -1
  15. package/dist/models/index.js +5 -1
  16. package/dist/models/insured-object-class.d.ts +18 -0
  17. package/dist/models/invoice-item-class.d.ts +1 -1
  18. package/dist/models/invoice-status-class.d.ts +1 -1
  19. package/dist/models/lead-class.d.ts +9 -3
  20. package/dist/models/patch-lead-request-dto.d.ts +77 -0
  21. package/dist/models/patch-lead-request-dto.js +15 -0
  22. package/dist/models/patch-lead-response-class.d.ts +25 -0
  23. package/dist/models/patch-lead-response-class.js +15 -0
  24. package/dist/models/{invoice-class.d.ts → shared-invoice-class.d.ts} +40 -24
  25. package/dist/models/shared-invoice-class.js +30 -0
  26. package/dist/models/update-insured-object-request-dto.d.ts +18 -0
  27. package/dist/models/update-lead-request-dto.d.ts +7 -1
  28. package/models/create-insured-object-request-dto.ts +20 -2
  29. package/models/create-lead-request-dto.ts +18 -12
  30. package/models/currency-class.ts +1 -1
  31. package/models/grpc-patch-lead-request-dto.ts +83 -0
  32. package/models/grpc-update-lead-request-dto.ts +95 -0
  33. package/models/index.ts +5 -1
  34. package/models/insured-object-class.ts +18 -0
  35. package/models/invoice-item-class.ts +1 -1
  36. package/models/invoice-status-class.ts +1 -1
  37. package/models/lead-class.ts +9 -3
  38. package/models/patch-lead-request-dto.ts +83 -0
  39. package/models/patch-lead-response-class.ts +31 -0
  40. package/models/{invoice-class.ts → shared-invoice-class.ts} +44 -24
  41. package/models/update-insured-object-request-dto.ts +18 -0
  42. package/models/update-lead-request-dto.ts +7 -1
  43. package/package.json +2 -2
  44. /package/dist/models/{invoice-class.js → grpc-patch-lead-request-dto.js} +0 -0
@@ -0,0 +1,77 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService 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 { CreateAccountRequestDto } from './create-account-request-dto';
13
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
15
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
16
+ import { UploadedDocumentDto } from './uploaded-document-dto';
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface PatchLeadRequestDto
21
+ */
22
+ export interface PatchLeadRequestDto {
23
+ /**
24
+ * Unique identifier referencing the product version.
25
+ * @type {number}
26
+ * @memberof PatchLeadRequestDto
27
+ */
28
+ 'productVersionId'?: number;
29
+ /**
30
+ * Account
31
+ * @type {CreateAccountRequestDto}
32
+ * @memberof PatchLeadRequestDto
33
+ */
34
+ 'account'?: CreateAccountRequestDto;
35
+ /**
36
+ * Policy
37
+ * @type {CreatePolicyRequestDto}
38
+ * @memberof PatchLeadRequestDto
39
+ */
40
+ 'policy'?: CreatePolicyRequestDto;
41
+ /**
42
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
43
+ * @type {string}
44
+ * @memberof PatchLeadRequestDto
45
+ */
46
+ 'status'?: string;
47
+ /**
48
+ * Bank account
49
+ * @type {CreateBankAccountRequestDto}
50
+ * @memberof PatchLeadRequestDto
51
+ */
52
+ 'bankAccount'?: CreateBankAccountRequestDto;
53
+ /**
54
+ * Custom data.
55
+ * @type {object}
56
+ * @memberof PatchLeadRequestDto
57
+ */
58
+ 'customData'?: object;
59
+ /**
60
+ * Upload document
61
+ * @type {UploadedDocumentDto}
62
+ * @memberof PatchLeadRequestDto
63
+ */
64
+ 'uploadedDocument'?: UploadedDocumentDto;
65
+ /**
66
+ * Premium Override
67
+ * @type {PremiumOverrideRequestDto}
68
+ * @memberof PatchLeadRequestDto
69
+ */
70
+ 'premiumOverride'?: PremiumOverrideRequestDto;
71
+ /**
72
+ * Unique identifier of the account that this object belongs to.
73
+ * @type {string}
74
+ * @memberof PatchLeadRequestDto
75
+ */
76
+ 'accountCode'?: string;
77
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
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,25 @@
1
+ /**
2
+ * EMIL InsuranceService
3
+ * The EMIL InsuranceService 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 { LeadClass } from './lead-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PatchLeadResponseClass
17
+ */
18
+ export interface PatchLeadResponseClass {
19
+ /**
20
+ * Lead
21
+ * @type {LeadClass}
22
+ * @memberof PatchLeadResponseClass
23
+ */
24
+ 'lead': LeadClass;
25
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
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 });
@@ -15,121 +15,137 @@ import { InvoiceStatusClass } from './invoice-status-class';
15
15
  /**
16
16
  *
17
17
  * @export
18
- * @interface InvoiceClass
18
+ * @interface SharedInvoiceClass
19
19
  */
20
- export interface InvoiceClass {
20
+ export interface SharedInvoiceClass {
21
21
  /**
22
- * Unique identifier referencing the invoice.
22
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
23
23
  * @type {number}
24
- * @memberof InvoiceClass
24
+ * @memberof SharedInvoiceClass
25
25
  */
26
26
  'id': number;
27
27
  /**
28
28
  * Unique identifier of the policy that this object belongs to.
29
29
  * @type {string}
30
- * @memberof InvoiceClass
30
+ * @memberof SharedInvoiceClass
31
31
  */
32
32
  'policyCode': string;
33
33
  /**
34
34
  * Account number.
35
35
  * @type {string}
36
- * @memberof InvoiceClass
36
+ * @memberof SharedInvoiceClass
37
37
  */
38
38
  'accountNumber': string;
39
39
  /**
40
40
  * Unique identifier of the invoice that this object belongs to.
41
41
  * @type {string}
42
- * @memberof InvoiceClass
42
+ * @memberof SharedInvoiceClass
43
43
  */
44
44
  'code': string;
45
45
  /**
46
46
  * Invoice type.
47
47
  * @type {string}
48
- * @memberof InvoiceClass
48
+ * @memberof SharedInvoiceClass
49
49
  */
50
- 'type': string;
50
+ 'type': SharedInvoiceClassTypeEnum;
51
51
  /**
52
52
  * Invoice number.
53
53
  * @type {string}
54
- * @memberof InvoiceClass
54
+ * @memberof SharedInvoiceClass
55
55
  */
56
56
  'invoiceNumber': string;
57
57
  /**
58
58
  * Net amount is in cents.
59
59
  * @type {number}
60
- * @memberof InvoiceClass
60
+ * @memberof SharedInvoiceClass
61
61
  */
62
62
  'netAmount': number;
63
63
  /**
64
64
  * Tax amount is in cents.
65
65
  * @type {number}
66
- * @memberof InvoiceClass
66
+ * @memberof SharedInvoiceClass
67
67
  */
68
68
  'taxAmount': number;
69
69
  /**
70
70
  * Credit amount.
71
71
  * @type {number}
72
- * @memberof InvoiceClass
72
+ * @memberof SharedInvoiceClass
73
73
  */
74
74
  'creditAmount': number;
75
75
  /**
76
76
  * Gross amount. This property is sum of taxAmount and netAmount.
77
77
  * @type {number}
78
- * @memberof InvoiceClass
78
+ * @memberof SharedInvoiceClass
79
79
  */
80
80
  'grossAmount': number;
81
81
  /**
82
82
  * Invoice status.
83
83
  * @type {string}
84
- * @memberof InvoiceClass
84
+ * @memberof SharedInvoiceClass
85
85
  */
86
- 'status': string;
86
+ 'status': SharedInvoiceClassStatusEnum;
87
87
  /**
88
88
  * Invoice due date.
89
89
  * @type {string}
90
- * @memberof InvoiceClass
90
+ * @memberof SharedInvoiceClass
91
91
  */
92
92
  'dueDate': string;
93
93
  /**
94
94
  * Metadata contains extra information that the object would need for specific cases.
95
95
  * @type {object}
96
- * @memberof InvoiceClass
96
+ * @memberof SharedInvoiceClass
97
97
  */
98
98
  'metadata': object;
99
99
  /**
100
100
  * Start date of billing interval.
101
101
  * @type {string}
102
- * @memberof InvoiceClass
102
+ * @memberof SharedInvoiceClass
103
103
  */
104
104
  'billingIntervalFrom': string;
105
105
  /**
106
106
  * End date of billing interval.
107
107
  * @type {string}
108
- * @memberof InvoiceClass
108
+ * @memberof SharedInvoiceClass
109
109
  */
110
110
  'billingIntervalTo': string;
111
111
  /**
112
112
  * Time at which the object was created.
113
113
  * @type {string}
114
- * @memberof InvoiceClass
114
+ * @memberof SharedInvoiceClass
115
115
  */
116
116
  'createdAt': string;
117
117
  /**
118
118
  * Invoice items.
119
119
  * @type {Array<InvoiceItemClass>}
120
- * @memberof InvoiceClass
120
+ * @memberof SharedInvoiceClass
121
121
  */
122
122
  'invoiceItems': Array<InvoiceItemClass>;
123
123
  /**
124
124
  * Invoice statuses.
125
125
  * @type {Array<InvoiceStatusClass>}
126
- * @memberof InvoiceClass
126
+ * @memberof SharedInvoiceClass
127
127
  */
128
128
  'statuses': Array<InvoiceStatusClass>;
129
129
  /**
130
130
  * Invoice currency. EUR is used by default.
131
131
  * @type {CurrencyClass}
132
- * @memberof InvoiceClass
132
+ * @memberof SharedInvoiceClass
133
133
  */
134
134
  'currency': CurrencyClass;
135
135
  }
136
+ export declare const SharedInvoiceClassTypeEnum: {
137
+ readonly Initial: "initial";
138
+ readonly Recurring: "recurring";
139
+ readonly Correction: "correction";
140
+ readonly Estimated: "estimated";
141
+ readonly Penalty: "penalty";
142
+ readonly Other: "other";
143
+ readonly Withdraw: "withdraw";
144
+ readonly Final: "final";
145
+ };
146
+ export type SharedInvoiceClassTypeEnum = typeof SharedInvoiceClassTypeEnum[keyof typeof SharedInvoiceClassTypeEnum];
147
+ export declare const SharedInvoiceClassStatusEnum: {
148
+ readonly Open: "open";
149
+ readonly Paid: "paid";
150
+ };
151
+ export type SharedInvoiceClassStatusEnum = typeof SharedInvoiceClassStatusEnum[keyof typeof SharedInvoiceClassStatusEnum];
@@ -0,0 +1,30 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * EMIL InsuranceService
6
+ * The EMIL InsuranceService API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ * Contact: kontakt@emil.de
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.SharedInvoiceClassStatusEnum = exports.SharedInvoiceClassTypeEnum = void 0;
17
+ exports.SharedInvoiceClassTypeEnum = {
18
+ Initial: 'initial',
19
+ Recurring: 'recurring',
20
+ Correction: 'correction',
21
+ Estimated: 'estimated',
22
+ Penalty: 'penalty',
23
+ Other: 'other',
24
+ Withdraw: 'withdraw',
25
+ Final: 'final'
26
+ };
27
+ exports.SharedInvoiceClassStatusEnum = {
28
+ Open: 'open',
29
+ Paid: 'paid'
30
+ };
@@ -45,4 +45,22 @@ export interface UpdateInsuredObjectRequestDto {
45
45
  * @memberof UpdateInsuredObjectRequestDto
46
46
  */
47
47
  'insuredObjectTypeId': number;
48
+ /**
49
+ * Insured object count.
50
+ * @type {number}
51
+ * @memberof UpdateInsuredObjectRequestDto
52
+ */
53
+ 'count'?: number;
54
+ /**
55
+ * Minimum insured object count.
56
+ * @type {number}
57
+ * @memberof UpdateInsuredObjectRequestDto
58
+ */
59
+ 'min'?: number;
60
+ /**
61
+ * Maximum insured object count.
62
+ * @type {number}
63
+ * @memberof UpdateInsuredObjectRequestDto
64
+ */
65
+ 'max'?: number;
48
66
  }
@@ -37,7 +37,7 @@ export interface UpdateLeadRequestDto {
37
37
  * @type {object}
38
38
  * @memberof UpdateLeadRequestDto
39
39
  */
40
- 'customData'?: object;
40
+ 'customData': object;
41
41
  /**
42
42
  * Premium Override
43
43
  * @type {Array<PremiumOverrideRequestDto>}
@@ -68,4 +68,10 @@ export interface UpdateLeadRequestDto {
68
68
  * @memberof UpdateLeadRequestDto
69
69
  */
70
70
  'uploadedDocument'?: UploadedDocumentDto;
71
+ /**
72
+ *
73
+ * @type {string}
74
+ * @memberof UpdateLeadRequestDto
75
+ */
76
+ 'accountCode'?: string;
71
77
  }
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CreateInsuredObjectRequestDto {
23
23
  /**
24
- * Unique identifier referencing the product version.
24
+ * Unique identifier referencing the Product version.
25
25
  * @type {number}
26
26
  * @memberof CreateInsuredObjectRequestDto
27
27
  */
@@ -39,10 +39,28 @@ export interface CreateInsuredObjectRequestDto {
39
39
  */
40
40
  'label': string;
41
41
  /**
42
- * Unique identifier referencing the insured object type.
42
+ * Unique identifier referencing the Insured object type.
43
43
  * @type {number}
44
44
  * @memberof CreateInsuredObjectRequestDto
45
45
  */
46
46
  'insuredObjectTypeId': number;
47
+ /**
48
+ * Insured object count.
49
+ * @type {number}
50
+ * @memberof CreateInsuredObjectRequestDto
51
+ */
52
+ 'count'?: number;
53
+ /**
54
+ * Minimum insured object count.
55
+ * @type {number}
56
+ * @memberof CreateInsuredObjectRequestDto
57
+ */
58
+ 'min'?: number;
59
+ /**
60
+ * Maximum insured object count.
61
+ * @type {number}
62
+ * @memberof CreateInsuredObjectRequestDto
63
+ */
64
+ 'max'?: number;
47
65
  }
48
66
 
@@ -37,6 +37,24 @@ export interface CreateLeadRequestDto {
37
37
  * @memberof CreateLeadRequestDto
38
38
  */
39
39
  'productVersionId'?: number;
40
+ /**
41
+ * Account code. The create lead request should either contain accountCode or account.
42
+ * @type {string}
43
+ * @memberof CreateLeadRequestDto
44
+ */
45
+ 'accountCode'?: string;
46
+ /**
47
+ * Account. The create lead request should either contain accountCode or account.
48
+ * @type {CreateAccountRequestDto}
49
+ * @memberof CreateLeadRequestDto
50
+ */
51
+ 'account'?: CreateAccountRequestDto;
52
+ /**
53
+ * Policy
54
+ * @type {CreatePolicyRequestDto}
55
+ * @memberof CreateLeadRequestDto
56
+ */
57
+ 'policy': CreatePolicyRequestDto;
40
58
  /**
41
59
  * Bank account details.
42
60
  * @type {CreateBankAccountRequestDto}
@@ -67,17 +85,5 @@ export interface CreateLeadRequestDto {
67
85
  * @memberof CreateLeadRequestDto
68
86
  */
69
87
  'premiumOverride'?: PremiumOverrideRequestDto;
70
- /**
71
- *
72
- * @type {CreateAccountRequestDto}
73
- * @memberof CreateLeadRequestDto
74
- */
75
- 'account': CreateAccountRequestDto;
76
- /**
77
- *
78
- * @type {CreatePolicyRequestDto}
79
- * @memberof CreateLeadRequestDto
80
- */
81
- 'policy': CreatePolicyRequestDto;
82
88
  }
83
89
 
@@ -21,7 +21,7 @@
21
21
  */
22
22
  export interface CurrencyClass {
23
23
  /**
24
- * Unique identifier referencing the currency.
24
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
25
25
  * @type {number}
26
26
  * @memberof CurrencyClass
27
27
  */
@@ -0,0 +1,83 @@
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 { CreateAccountRequestDto } from './create-account-request-dto';
17
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
+ import { UploadedDocumentDto } from './uploaded-document-dto';
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface GrpcPatchLeadRequestDto
26
+ */
27
+ export interface GrpcPatchLeadRequestDto {
28
+ /**
29
+ * Unique identifier referencing the product version.
30
+ * @type {number}
31
+ * @memberof GrpcPatchLeadRequestDto
32
+ */
33
+ 'productVersionId'?: number;
34
+ /**
35
+ * Account
36
+ * @type {CreateAccountRequestDto}
37
+ * @memberof GrpcPatchLeadRequestDto
38
+ */
39
+ 'account'?: CreateAccountRequestDto;
40
+ /**
41
+ * Policy
42
+ * @type {CreatePolicyRequestDto}
43
+ * @memberof GrpcPatchLeadRequestDto
44
+ */
45
+ 'policy'?: CreatePolicyRequestDto;
46
+ /**
47
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
48
+ * @type {string}
49
+ * @memberof GrpcPatchLeadRequestDto
50
+ */
51
+ 'status'?: string;
52
+ /**
53
+ * Bank account
54
+ * @type {CreateBankAccountRequestDto}
55
+ * @memberof GrpcPatchLeadRequestDto
56
+ */
57
+ 'bankAccount'?: CreateBankAccountRequestDto;
58
+ /**
59
+ * Custom data.
60
+ * @type {object}
61
+ * @memberof GrpcPatchLeadRequestDto
62
+ */
63
+ 'customData'?: object;
64
+ /**
65
+ * Upload document
66
+ * @type {UploadedDocumentDto}
67
+ * @memberof GrpcPatchLeadRequestDto
68
+ */
69
+ 'uploadedDocument'?: UploadedDocumentDto;
70
+ /**
71
+ * Premium Override
72
+ * @type {PremiumOverrideRequestDto}
73
+ * @memberof GrpcPatchLeadRequestDto
74
+ */
75
+ 'premiumOverride'?: PremiumOverrideRequestDto;
76
+ /**
77
+ * Unique identifier of the account that this object belongs to.
78
+ * @type {string}
79
+ * @memberof GrpcPatchLeadRequestDto
80
+ */
81
+ 'accountCode'?: string;
82
+ }
83
+
@@ -0,0 +1,95 @@
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 { CreateAccountRequestDto } from './create-account-request-dto';
17
+ import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
18
+ import { CreatePolicyRequestDto } from './create-policy-request-dto';
19
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
20
+ import { UploadedDocumentDto } from './uploaded-document-dto';
21
+
22
+ /**
23
+ *
24
+ * @export
25
+ * @interface GrpcUpdateLeadRequestDto
26
+ */
27
+ export interface GrpcUpdateLeadRequestDto {
28
+ /**
29
+ * Unique identifier referencing the product version.
30
+ * @type {number}
31
+ * @memberof GrpcUpdateLeadRequestDto
32
+ */
33
+ 'productVersionId'?: number;
34
+ /**
35
+ * Lead status. Default values are \"created\", \"approved\" and \"declined\". However, those can be extended using /lead-statuses endpoint from insuranceservice.
36
+ * @type {string}
37
+ * @memberof GrpcUpdateLeadRequestDto
38
+ */
39
+ 'status': string;
40
+ /**
41
+ * Custom data.
42
+ * @type {object}
43
+ * @memberof GrpcUpdateLeadRequestDto
44
+ */
45
+ 'customData'?: object;
46
+ /**
47
+ * Premium Override
48
+ * @type {Array<PremiumOverrideRequestDto>}
49
+ * @memberof GrpcUpdateLeadRequestDto
50
+ */
51
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
52
+ /**
53
+ *
54
+ * @type {string}
55
+ * @memberof GrpcUpdateLeadRequestDto
56
+ */
57
+ 'code': string;
58
+ /**
59
+ *
60
+ * @type {CreateAccountRequestDto}
61
+ * @memberof GrpcUpdateLeadRequestDto
62
+ */
63
+ 'account': CreateAccountRequestDto;
64
+ /**
65
+ *
66
+ * @type {CreatePolicyRequestDto}
67
+ * @memberof GrpcUpdateLeadRequestDto
68
+ */
69
+ 'policy': CreatePolicyRequestDto;
70
+ /**
71
+ *
72
+ * @type {boolean}
73
+ * @memberof GrpcUpdateLeadRequestDto
74
+ */
75
+ 'shouldTriggerWorkflow'?: boolean;
76
+ /**
77
+ *
78
+ * @type {CreateBankAccountRequestDto}
79
+ * @memberof GrpcUpdateLeadRequestDto
80
+ */
81
+ 'bankAccount'?: CreateBankAccountRequestDto;
82
+ /**
83
+ *
84
+ * @type {UploadedDocumentDto}
85
+ * @memberof GrpcUpdateLeadRequestDto
86
+ */
87
+ 'uploadedDocument'?: UploadedDocumentDto;
88
+ /**
89
+ *
90
+ * @type {string}
91
+ * @memberof GrpcUpdateLeadRequestDto
92
+ */
93
+ 'accountCode'?: string;
94
+ }
95
+
package/models/index.ts CHANGED
@@ -45,9 +45,10 @@ export * from './get-product-version-response-class';
45
45
  export * from './grouped-product-factor-class';
46
46
  export * from './grouped-product-factor-value-class';
47
47
  export * from './grouped-product-factors-response-class';
48
+ export * from './grpc-patch-lead-request-dto';
49
+ export * from './grpc-update-lead-request-dto';
48
50
  export * from './insured-object-class';
49
51
  export * from './insured-object-type-class';
50
- export * from './invoice-class';
51
52
  export * from './invoice-item-class';
52
53
  export * from './invoice-status-class';
53
54
  export * from './lead-bank-account-class';
@@ -64,6 +65,8 @@ export * from './list-product-field-types-response-class';
64
65
  export * from './list-product-fields-response-class';
65
66
  export * from './list-products-response-class';
66
67
  export * from './list-request-dto';
68
+ export * from './patch-lead-request-dto';
69
+ export * from './patch-lead-response-class';
67
70
  export * from './policy-class';
68
71
  export * from './policy-object-class';
69
72
  export * from './policy-object-dto';
@@ -80,6 +83,7 @@ export * from './product-factor-value-class';
80
83
  export * from './product-field-class';
81
84
  export * from './product-field-type-class';
82
85
  export * from './product-version-class';
86
+ export * from './shared-invoice-class';
83
87
  export * from './shared-product-field-class';
84
88
  export * from './shared-update-premium-formula-request-dto';
85
89
  export * from './store-product-factors-request-dto';