@emilgroup/customer-sdk-node 1.13.1 → 1.15.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 (68) hide show
  1. package/.openapi-generator/FILES +17 -0
  2. package/README.md +2 -2
  3. package/api/leads-api.ts +632 -0
  4. package/api.ts +2 -0
  5. package/base.ts +1 -1
  6. package/dist/api/leads-api.d.ts +365 -0
  7. package/dist/api/leads-api.js +571 -0
  8. package/dist/api.d.ts +1 -0
  9. package/dist/api.js +1 -0
  10. package/dist/base.js +1 -1
  11. package/dist/models/account-class.d.ts +6 -0
  12. package/dist/models/claim-class.d.ts +6 -0
  13. package/dist/models/create-account-request-dto.d.ts +7 -1
  14. package/dist/models/create-bank-account-request-dto.d.ts +30 -0
  15. package/dist/models/create-bank-account-request-dto.js +15 -0
  16. package/dist/models/create-lead-request-dto.d.ts +76 -0
  17. package/dist/models/create-lead-request-dto.js +15 -0
  18. package/dist/models/create-lead-response-class.d.ts +25 -0
  19. package/dist/models/create-lead-response-class.js +15 -0
  20. package/dist/models/create-policy-request-dto.d.ts +56 -0
  21. package/dist/models/create-policy-request-dto.js +15 -0
  22. package/dist/models/get-lead-response-class.d.ts +25 -0
  23. package/dist/models/get-lead-response-class.js +15 -0
  24. package/dist/models/grpc-update-lead-request-dto.d.ts +43 -0
  25. package/dist/models/grpc-update-lead-request-dto.js +15 -0
  26. package/dist/models/index.d.ts +16 -0
  27. package/dist/models/index.js +16 -0
  28. package/dist/models/lead-bank-account-class.d.ts +30 -0
  29. package/dist/models/lead-bank-account-class.js +15 -0
  30. package/dist/models/lead-class.d.ts +107 -0
  31. package/dist/models/lead-class.js +15 -0
  32. package/dist/models/list-leads-response-class.d.ts +31 -0
  33. package/dist/models/list-leads-response-class.js +15 -0
  34. package/dist/models/policy-object-dto.d.ts +30 -0
  35. package/dist/models/policy-object-dto.js +15 -0
  36. package/dist/models/premium-override-dto.d.ts +54 -0
  37. package/dist/models/premium-override-dto.js +26 -0
  38. package/dist/models/premium-override-request-class.d.ts +25 -0
  39. package/dist/models/premium-override-request-class.js +15 -0
  40. package/dist/models/premium-override-request-dto.d.ts +25 -0
  41. package/dist/models/premium-override-request-dto.js +15 -0
  42. package/dist/models/update-lead-request-dto.d.ts +37 -0
  43. package/dist/models/update-lead-request-dto.js +15 -0
  44. package/dist/models/update-lead-response-class.d.ts +25 -0
  45. package/dist/models/update-lead-response-class.js +15 -0
  46. package/dist/models/uploaded-document-dto.d.ts +24 -0
  47. package/dist/models/uploaded-document-dto.js +15 -0
  48. package/models/account-class.ts +6 -0
  49. package/models/claim-class.ts +6 -0
  50. package/models/create-account-request-dto.ts +7 -1
  51. package/models/create-bank-account-request-dto.ts +36 -0
  52. package/models/create-lead-request-dto.ts +82 -0
  53. package/models/create-lead-response-class.ts +31 -0
  54. package/models/create-policy-request-dto.ts +62 -0
  55. package/models/get-lead-response-class.ts +31 -0
  56. package/models/grpc-update-lead-request-dto.ts +49 -0
  57. package/models/index.ts +16 -0
  58. package/models/lead-bank-account-class.ts +36 -0
  59. package/models/lead-class.ts +113 -0
  60. package/models/list-leads-response-class.ts +37 -0
  61. package/models/policy-object-dto.ts +36 -0
  62. package/models/premium-override-dto.ts +64 -0
  63. package/models/premium-override-request-class.ts +31 -0
  64. package/models/premium-override-request-dto.ts +31 -0
  65. package/models/update-lead-request-dto.ts +43 -0
  66. package/models/update-lead-response-class.ts +31 -0
  67. package/models/uploaded-document-dto.ts +30 -0
  68. package/package.json +1 -1
@@ -0,0 +1,31 @@
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 { LeadClass } from './lead-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface ListLeadsResponseClass
17
+ */
18
+ export interface ListLeadsResponseClass {
19
+ /**
20
+ * Leads
21
+ * @type {Array<LeadClass>}
22
+ * @memberof ListLeadsResponseClass
23
+ */
24
+ 'items': Array<LeadClass>;
25
+ /**
26
+ * Next page token.
27
+ * @type {string}
28
+ * @memberof ListLeadsResponseClass
29
+ */
30
+ 'nextPageToken': string;
31
+ }
@@ -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
+ * 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,30 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PolicyObjectDto
16
+ */
17
+ export interface PolicyObjectDto {
18
+ /**
19
+ * Unique identifier referencing the insured object.
20
+ * @type {number}
21
+ * @memberof PolicyObjectDto
22
+ */
23
+ 'insuredObjectId': number;
24
+ /**
25
+ * Insured object data.
26
+ * @type {object}
27
+ * @memberof PolicyObjectDto
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
+ * 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,54 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface PremiumOverrideDto
16
+ */
17
+ export interface PremiumOverrideDto {
18
+ /**
19
+ * Name of Premium.
20
+ * @type {string}
21
+ * @memberof PremiumOverrideDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ * Type of Premium that is based on time.
26
+ * @type {string}
27
+ * @memberof PremiumOverrideDto
28
+ */
29
+ 'type': PremiumOverrideDtoTypeEnum;
30
+ /**
31
+ * This is unit of Premium. Premium units are determined based on oneTimePayment, day, week, month and year.
32
+ * @type {string}
33
+ * @memberof PremiumOverrideDto
34
+ */
35
+ 'unit': PremiumOverrideDtoUnitEnum;
36
+ /**
37
+ *
38
+ * @type {number}
39
+ * @memberof PremiumOverrideDto
40
+ */
41
+ 'netPremium': number;
42
+ }
43
+ export declare const PremiumOverrideDtoTypeEnum: {
44
+ readonly Time: "time";
45
+ };
46
+ export type PremiumOverrideDtoTypeEnum = typeof PremiumOverrideDtoTypeEnum[keyof typeof PremiumOverrideDtoTypeEnum];
47
+ export declare const PremiumOverrideDtoUnitEnum: {
48
+ readonly Day: "day";
49
+ readonly Week: "week";
50
+ readonly Month: "month";
51
+ readonly Year: "year";
52
+ readonly OneTimePayment: "oneTimePayment";
53
+ };
54
+ export type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
@@ -0,0 +1,26 @@
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
+ * 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.PremiumOverrideDtoUnitEnum = exports.PremiumOverrideDtoTypeEnum = void 0;
17
+ exports.PremiumOverrideDtoTypeEnum = {
18
+ Time: 'time'
19
+ };
20
+ exports.PremiumOverrideDtoUnitEnum = {
21
+ Day: 'day',
22
+ Week: 'week',
23
+ Month: 'month',
24
+ Year: 'year',
25
+ OneTimePayment: 'oneTimePayment'
26
+ };
@@ -0,0 +1,25 @@
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 { PremiumOverrideDto } from './premium-override-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PremiumOverrideRequestClass
17
+ */
18
+ export interface PremiumOverrideRequestClass {
19
+ /**
20
+ * Various premium overrides used for calculation.
21
+ * @type {Array<PremiumOverrideDto>}
22
+ * @memberof PremiumOverrideRequestClass
23
+ */
24
+ 'premiumOverrides': Array<PremiumOverrideDto>;
25
+ }
@@ -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
+ * 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 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 { PremiumOverrideDto } from './premium-override-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface PremiumOverrideRequestDto
17
+ */
18
+ export interface PremiumOverrideRequestDto {
19
+ /**
20
+ * Premium Override.
21
+ * @type {Array<PremiumOverrideDto>}
22
+ * @memberof PremiumOverrideRequestDto
23
+ */
24
+ 'premiumOverrides': Array<PremiumOverrideDto>;
25
+ }
@@ -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
+ * 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,37 @@
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 { PolicyObjectDto } from './policy-object-dto';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateLeadRequestDto
17
+ */
18
+ export interface UpdateLeadRequestDto {
19
+ /**
20
+ * Policy objects.
21
+ * @type {Array<PolicyObjectDto>}
22
+ * @memberof UpdateLeadRequestDto
23
+ */
24
+ 'policyObjects': Array<PolicyObjectDto>;
25
+ /**
26
+ * Unique identifier of the product that this object belongs to.
27
+ * @type {string}
28
+ * @memberof UpdateLeadRequestDto
29
+ */
30
+ 'productCode': string;
31
+ /**
32
+ * Status of the lead.
33
+ * @type {string}
34
+ * @memberof UpdateLeadRequestDto
35
+ */
36
+ 'status'?: string;
37
+ }
@@ -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
+ * 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 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 { LeadClass } from './lead-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface UpdateLeadResponseClass
17
+ */
18
+ export interface UpdateLeadResponseClass {
19
+ /**
20
+ * The list of leads.
21
+ * @type {LeadClass}
22
+ * @memberof UpdateLeadResponseClass
23
+ */
24
+ 'lead': LeadClass;
25
+ }
@@ -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
+ * 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,24 @@
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
+ /**
13
+ *
14
+ * @export
15
+ * @interface UploadedDocumentDto
16
+ */
17
+ export interface UploadedDocumentDto {
18
+ /**
19
+ * Uploaded document codes.
20
+ * @type {Array<string>}
21
+ * @memberof UploadedDocumentDto
22
+ */
23
+ 'codes': Array<string>;
24
+ }
@@ -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
+ * 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 });
@@ -123,6 +123,12 @@ export interface AccountClass {
123
123
  * @memberof AccountClass
124
124
  */
125
125
  'version': number;
126
+ /**
127
+ * ERN of the organization that created the account.
128
+ * @type {string}
129
+ * @memberof AccountClass
130
+ */
131
+ 'ern': string;
126
132
  /**
127
133
  * Time at which the object was created.
128
134
  * @type {string}
@@ -122,6 +122,12 @@ export interface ClaimClass {
122
122
  * @memberof ClaimClass
123
123
  */
124
124
  'notificationDate': string;
125
+ /**
126
+ * ERN of the organization that created the claim.
127
+ * @type {string}
128
+ * @memberof ClaimClass
129
+ */
130
+ 'ern': string;
125
131
  /**
126
132
  * Time at which the object was created.
127
133
  * @type {string}
@@ -75,7 +75,7 @@ export interface CreateAccountRequestDto {
75
75
  */
76
76
  'type'?: CreateAccountRequestDtoTypeEnum;
77
77
  /**
78
- * Account\'s birth date.
78
+ * The account\'s holder date of birth (Required for account of type person).
79
79
  * @type {string}
80
80
  * @memberof CreateAccountRequestDto
81
81
  */
@@ -110,6 +110,12 @@ export interface CreateAccountRequestDto {
110
110
  * @memberof CreateAccountRequestDto
111
111
  */
112
112
  'customFields'?: object;
113
+ /**
114
+ * Customer email.
115
+ * @type {string}
116
+ * @memberof CreateAccountRequestDto
117
+ */
118
+ 'email': string;
113
119
  }
114
120
 
115
121
  export const CreateAccountRequestDtoTitleEnum = {
@@ -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
+ * 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 CreateBankAccountRequestDto
21
+ */
22
+ export interface CreateBankAccountRequestDto {
23
+ /**
24
+ * Unique identifier of the account that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CreateBankAccountRequestDto
27
+ */
28
+ 'accountCode'?: string;
29
+ /**
30
+ * Bank account IBAN.
31
+ * @type {string}
32
+ * @memberof CreateBankAccountRequestDto
33
+ */
34
+ 'iban': string;
35
+ }
36
+
@@ -0,0 +1,82 @@
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 { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
17
+ import { PolicyObjectDto } from './policy-object-dto';
18
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
19
+ import { UploadedDocumentDto } from './uploaded-document-dto';
20
+
21
+ /**
22
+ *
23
+ * @export
24
+ * @interface CreateLeadRequestDto
25
+ */
26
+ export interface CreateLeadRequestDto {
27
+ /**
28
+ * Unique identifier for the object.
29
+ * @type {string}
30
+ * @memberof CreateLeadRequestDto
31
+ */
32
+ 'code'?: string;
33
+ /**
34
+ * Unique identifier referencing the product version.
35
+ * @type {number}
36
+ * @memberof CreateLeadRequestDto
37
+ */
38
+ 'productVersionId': number;
39
+ /**
40
+ * Policy objects.
41
+ * @type {Array<PolicyObjectDto>}
42
+ * @memberof CreateLeadRequestDto
43
+ */
44
+ 'policyObjects': Array<PolicyObjectDto>;
45
+ /**
46
+ * Unique identifier of the product that this object belongs to.
47
+ * @type {string}
48
+ * @memberof CreateLeadRequestDto
49
+ */
50
+ 'productCode': string;
51
+ /**
52
+ * Bank account details.
53
+ * @type {CreateBankAccountRequestDto}
54
+ * @memberof CreateLeadRequestDto
55
+ */
56
+ 'bankAccount'?: CreateBankAccountRequestDto;
57
+ /**
58
+ * Custom data.
59
+ * @type {object}
60
+ * @memberof CreateLeadRequestDto
61
+ */
62
+ 'customData'?: object;
63
+ /**
64
+ * Codes for documents to be uploaded.
65
+ * @type {UploadedDocumentDto}
66
+ * @memberof CreateLeadRequestDto
67
+ */
68
+ 'uploadedDocument'?: UploadedDocumentDto;
69
+ /**
70
+ * Lead status
71
+ * @type {string}
72
+ * @memberof CreateLeadRequestDto
73
+ */
74
+ 'status'?: string;
75
+ /**
76
+ * Premium Override
77
+ * @type {PremiumOverrideRequestDto}
78
+ * @memberof CreateLeadRequestDto
79
+ */
80
+ 'premiumOverride'?: PremiumOverrideRequestDto;
81
+ }
82
+
@@ -0,0 +1,31 @@
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 { LeadClass } from './lead-class';
17
+
18
+ /**
19
+ *
20
+ * @export
21
+ * @interface CreateLeadResponseClass
22
+ */
23
+ export interface CreateLeadResponseClass {
24
+ /**
25
+ * Lead
26
+ * @type {LeadClass}
27
+ * @memberof CreateLeadResponseClass
28
+ */
29
+ 'lead': LeadClass;
30
+ }
31
+
@@ -0,0 +1,62 @@
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 { PolicyObjectDto } from './policy-object-dto';
17
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
18
+
19
+ /**
20
+ *
21
+ * @export
22
+ * @interface CreatePolicyRequestDto
23
+ */
24
+ export interface CreatePolicyRequestDto {
25
+ /**
26
+ * Unique identifier referencing the Product version.
27
+ * @type {number}
28
+ * @memberof CreatePolicyRequestDto
29
+ */
30
+ 'productVersionId': number;
31
+ /**
32
+ * Unique identifier of the account code that this object belongs to.
33
+ * @type {string}
34
+ * @memberof CreatePolicyRequestDto
35
+ */
36
+ 'accountCode': string;
37
+ /**
38
+ * Policy holder name.
39
+ * @type {string}
40
+ * @memberof CreatePolicyRequestDto
41
+ */
42
+ 'holder'?: string;
43
+ /**
44
+ * Policy Objects.
45
+ * @type {Array<PolicyObjectDto>}
46
+ * @memberof CreatePolicyRequestDto
47
+ */
48
+ 'policyObjects': Array<PolicyObjectDto>;
49
+ /**
50
+ * Premium Override.
51
+ * @type {PremiumOverrideRequestDto}
52
+ * @memberof CreatePolicyRequestDto
53
+ */
54
+ 'premiumOverride'?: PremiumOverrideRequestDto;
55
+ /**
56
+ * Unique identifier of the lead that this object belongs to.
57
+ * @type {string}
58
+ * @memberof CreatePolicyRequestDto
59
+ */
60
+ 'leadCode'?: string;
61
+ }
62
+