@emilgroup/public-api-sdk 1.14.0 → 1.14.3

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.
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
@@ -38,7 +38,13 @@ export interface CreateLeadRequestDto {
38
38
  * @type {string}
39
39
  * @memberof CreateLeadRequestDto
40
40
  */
41
- 'productCode': string;
41
+ 'productCode'?: string;
42
+ /**
43
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
44
+ * @type {string}
45
+ * @memberof CreateLeadRequestDto
46
+ */
47
+ 'productSlug'?: string;
42
48
  /**
43
49
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
44
50
  * @type {CreateAccountRequestDto}
@@ -14,6 +14,7 @@ export * from './create-custom-application-response-class';
14
14
  export * from './create-document-request-dto';
15
15
  export * from './create-estimated-invoice-request-dto';
16
16
  export * from './create-estimated-invoice-response-class';
17
+ export * from './create-lead-async-response-class';
17
18
  export * from './create-lead-request-dto';
18
19
  export * from './create-lead-response-class';
19
20
  export * from './create-payment-method-request-dto';
@@ -45,6 +46,7 @@ export * from './lead-bank-account-class';
45
46
  export * from './lead-class';
46
47
  export * from './lead-policy-class';
47
48
  export * from './lead-policy-object-class';
49
+ export * from './lead-sync-response-class';
48
50
  export * from './list-documents-response-class';
49
51
  export * from './list-product-documents-response-class';
50
52
  export * from './list-products-response-class';
@@ -30,6 +30,7 @@ __exportStar(require("./create-custom-application-response-class"), exports);
30
30
  __exportStar(require("./create-document-request-dto"), exports);
31
31
  __exportStar(require("./create-estimated-invoice-request-dto"), exports);
32
32
  __exportStar(require("./create-estimated-invoice-response-class"), exports);
33
+ __exportStar(require("./create-lead-async-response-class"), exports);
33
34
  __exportStar(require("./create-lead-request-dto"), exports);
34
35
  __exportStar(require("./create-lead-response-class"), exports);
35
36
  __exportStar(require("./create-payment-method-request-dto"), exports);
@@ -61,6 +62,7 @@ __exportStar(require("./lead-bank-account-class"), exports);
61
62
  __exportStar(require("./lead-class"), exports);
62
63
  __exportStar(require("./lead-policy-class"), exports);
63
64
  __exportStar(require("./lead-policy-object-class"), exports);
65
+ __exportStar(require("./lead-sync-response-class"), exports);
64
66
  __exportStar(require("./list-documents-response-class"), exports);
65
67
  __exportStar(require("./list-product-documents-response-class"), exports);
66
68
  __exportStar(require("./list-products-response-class"), exports);
@@ -17,10 +17,10 @@
17
17
  export interface LeadPolicyObjectClass {
18
18
  /**
19
19
  * Unique identifier referencing the insured object.
20
- * @type {object}
20
+ * @type {number}
21
21
  * @memberof LeadPolicyObjectClass
22
22
  */
23
- 'insuredObjectId': object;
23
+ 'insuredObjectId': number;
24
24
  /**
25
25
  * Insured object name.
26
26
  * @type {object}
@@ -0,0 +1,24 @@
1
+ /**
2
+ * Emil PublicAPI
3
+ * The Emil Public 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 LeadSyncResponseClass
16
+ */
17
+ export interface LeadSyncResponseClass {
18
+ /**
19
+ *
20
+ * @type {object}
21
+ * @memberof LeadSyncResponseClass
22
+ */
23
+ 'variables': object;
24
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ /**
5
+ * Emil PublicAPI
6
+ * The Emil Public 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 });
@@ -17,10 +17,10 @@
17
17
  export interface PolicyObjectRequestDto {
18
18
  /**
19
19
  * The id of the insured object to be used in the policy. The insured object id will be validated if the \'validate\' flag is set to true.
20
- * @type {object}
20
+ * @type {number}
21
21
  * @memberof PolicyObjectRequestDto
22
22
  */
23
- 'insuredObjectId'?: object;
23
+ 'insuredObjectId'?: number;
24
24
  /**
25
25
  * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
26
26
  * @type {string}
@@ -37,7 +37,13 @@ export interface UpdateLeadRequestDto {
37
37
  * @type {string}
38
38
  * @memberof UpdateLeadRequestDto
39
39
  */
40
- 'productCode': string;
40
+ 'productCode'?: string;
41
+ /**
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
+ * @type {string}
44
+ * @memberof UpdateLeadRequestDto
45
+ */
46
+ 'productSlug'?: string;
41
47
  /**
42
48
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
43
49
  * @type {CreateAccountRequestDto}
@@ -52,10 +58,10 @@ export interface UpdateLeadRequestDto {
52
58
  'policyObjects'?: Array<PolicyObjectRequestDto>;
53
59
  /**
54
60
  * Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
55
- * @type {Array<CreateBankAccountRequestDto>}
61
+ * @type {CreateBankAccountRequestDto}
56
62
  * @memberof UpdateLeadRequestDto
57
63
  */
58
- 'bankAccount'?: Array<CreateBankAccountRequestDto>;
64
+ 'bankAccount'?: CreateBankAccountRequestDto;
59
65
  /**
60
66
  * Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
61
67
  * @type {object}
@@ -92,6 +92,18 @@ export interface CreateDocumentRequestDto {
92
92
  * @memberof CreateDocumentRequestDto
93
93
  */
94
94
  'filename'?: string;
95
+ /**
96
+ * If true, the default margins will be skipped when generating the document.
97
+ * @type {boolean}
98
+ * @memberof CreateDocumentRequestDto
99
+ */
100
+ 'shouldSkipDefaultMargins'?: boolean;
101
+ /**
102
+ * Type of the document engine to use to generate the document. Defaults to HTML.
103
+ * @type {string}
104
+ * @memberof CreateDocumentRequestDto
105
+ */
106
+ 'engine'?: CreateDocumentRequestDtoEngineEnum;
95
107
  }
96
108
 
97
109
  export const CreateDocumentRequestDtoRequesterEnum = {
@@ -121,5 +133,11 @@ export const CreateDocumentRequestDtoContentTypeEnum = {
121
133
  } as const;
122
134
 
123
135
  export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
136
+ export const CreateDocumentRequestDtoEngineEnum = {
137
+ Docx: 'docx',
138
+ Html: 'html'
139
+ } as const;
140
+
141
+ export type CreateDocumentRequestDtoEngineEnum = typeof CreateDocumentRequestDtoEngineEnum[keyof typeof CreateDocumentRequestDtoEngineEnum];
124
142
 
125
143
 
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 CreateLeadAsyncResponseClass
21
+ */
22
+ export interface CreateLeadAsyncResponseClass {
23
+ /**
24
+ * Unique identifier of the lead that this object belongs to.
25
+ * @type {string}
26
+ * @memberof CreateLeadAsyncResponseClass
27
+ */
28
+ 'code': string;
29
+ }
30
+
@@ -43,7 +43,13 @@ export interface CreateLeadRequestDto {
43
43
  * @type {string}
44
44
  * @memberof CreateLeadRequestDto
45
45
  */
46
- 'productCode': string;
46
+ 'productCode'?: string;
47
+ /**
48
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
49
+ * @type {string}
50
+ * @memberof CreateLeadRequestDto
51
+ */
52
+ 'productSlug'?: string;
47
53
  /**
48
54
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
49
55
  * @type {CreateAccountRequestDto}
package/models/index.ts CHANGED
@@ -14,6 +14,7 @@ export * from './create-custom-application-response-class';
14
14
  export * from './create-document-request-dto';
15
15
  export * from './create-estimated-invoice-request-dto';
16
16
  export * from './create-estimated-invoice-response-class';
17
+ export * from './create-lead-async-response-class';
17
18
  export * from './create-lead-request-dto';
18
19
  export * from './create-lead-response-class';
19
20
  export * from './create-payment-method-request-dto';
@@ -45,6 +46,7 @@ export * from './lead-bank-account-class';
45
46
  export * from './lead-class';
46
47
  export * from './lead-policy-class';
47
48
  export * from './lead-policy-object-class';
49
+ export * from './lead-sync-response-class';
48
50
  export * from './list-documents-response-class';
49
51
  export * from './list-product-documents-response-class';
50
52
  export * from './list-products-response-class';
@@ -22,10 +22,10 @@
22
22
  export interface LeadPolicyObjectClass {
23
23
  /**
24
24
  * Unique identifier referencing the insured object.
25
- * @type {object}
25
+ * @type {number}
26
26
  * @memberof LeadPolicyObjectClass
27
27
  */
28
- 'insuredObjectId': object;
28
+ 'insuredObjectId': number;
29
29
  /**
30
30
  * Insured object name.
31
31
  * @type {object}
@@ -0,0 +1,30 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * Emil PublicAPI
5
+ * The Emil Public 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 LeadSyncResponseClass
21
+ */
22
+ export interface LeadSyncResponseClass {
23
+ /**
24
+ *
25
+ * @type {object}
26
+ * @memberof LeadSyncResponseClass
27
+ */
28
+ 'variables': object;
29
+ }
30
+
@@ -22,10 +22,10 @@
22
22
  export interface PolicyObjectRequestDto {
23
23
  /**
24
24
  * The id of the insured object to be used in the policy. The insured object id will be validated if the \'validate\' flag is set to true.
25
- * @type {object}
25
+ * @type {number}
26
26
  * @memberof PolicyObjectRequestDto
27
27
  */
28
- 'insuredObjectId'?: object;
28
+ 'insuredObjectId'?: number;
29
29
  /**
30
30
  * Insured object name. Human readable identifier of insured object. Can be used instead of insuredObjectId
31
31
  * @type {string}
@@ -42,7 +42,13 @@ export interface UpdateLeadRequestDto {
42
42
  * @type {string}
43
43
  * @memberof UpdateLeadRequestDto
44
44
  */
45
- 'productCode': string;
45
+ 'productCode'?: string;
46
+ /**
47
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
48
+ * @type {string}
49
+ * @memberof UpdateLeadRequestDto
50
+ */
51
+ 'productSlug'?: string;
46
52
  /**
47
53
  * Account object. The create lead request should either contain accountCode or account. The account content will be validated if the \'validate\' flag is set to true. an empty object is required if \'validate flag is set to false.
48
54
  * @type {CreateAccountRequestDto}
@@ -57,10 +63,10 @@ export interface UpdateLeadRequestDto {
57
63
  'policyObjects'?: Array<PolicyObjectRequestDto>;
58
64
  /**
59
65
  * Bank account details, to be used for direct debit payments, the created bank account will be attached to the lead for later use, such as paying claims. The bank account content will be validated if the \'validate\' flag is set to true.
60
- * @type {Array<CreateBankAccountRequestDto>}
66
+ * @type {CreateBankAccountRequestDto}
61
67
  * @memberof UpdateLeadRequestDto
62
68
  */
63
- 'bankAccount'?: Array<CreateBankAccountRequestDto>;
69
+ 'bankAccount'?: CreateBankAccountRequestDto;
64
70
  /**
65
71
  * Optional custom data for the lead. This field is useful for edge cases where the lead requires additional data for the risk carrier, such as creating an application in the risk carrier platform or performing a premium calculation. The custom data should include three main entities: \'data\', \'provider\', and \'productCode\'. The \'data\' entity contains information used in the risk carrier platform, the \'provider\' field contains the name of the provider (usually the risk carrier\'s name), the provider must be supported in EMIL, The \'productCode\' field contains the product code in EMIL
66
72
  * @type {object}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/public-api-sdk",
3
- "version": "1.14.0",
3
+ "version": "1.14.3",
4
4
  "description": "OpenAPI client for @emilgroup/public-api-sdk",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [