@emilgroup/public-api-sdk-node 1.16.1 → 1.17.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 (34) hide show
  1. package/.openapi-generator/FILES +5 -0
  2. package/README.md +2 -2
  3. package/api/default-api.ts +124 -0
  4. package/api/leads-api.ts +326 -0
  5. package/api.ts +2 -0
  6. package/dist/api/default-api.d.ts +66 -0
  7. package/dist/api/default-api.js +200 -0
  8. package/dist/api/leads-api.d.ts +176 -0
  9. package/dist/api/leads-api.js +285 -0
  10. package/dist/api.d.ts +1 -0
  11. package/dist/api.js +1 -0
  12. package/dist/models/create-document-request-dto.d.ts +17 -0
  13. package/dist/models/create-document-request-dto.js +5 -1
  14. package/dist/models/create-lead-async-response-class.d.ts +24 -0
  15. package/dist/models/create-lead-async-response-class.js +15 -0
  16. package/dist/models/create-lead-request-dto.d.ts +8 -2
  17. package/dist/models/index.d.ts +4 -0
  18. package/dist/models/index.js +4 -0
  19. package/dist/models/inline-response200.d.ts +54 -0
  20. package/dist/models/inline-response200.js +15 -0
  21. package/dist/models/inline-response503.d.ts +54 -0
  22. package/dist/models/inline-response503.js +15 -0
  23. package/dist/models/lead-sync-response-class.d.ts +24 -0
  24. package/dist/models/lead-sync-response-class.js +15 -0
  25. package/dist/models/update-lead-request-dto.d.ts +10 -4
  26. package/models/create-document-request-dto.ts +18 -0
  27. package/models/create-lead-async-response-class.ts +30 -0
  28. package/models/create-lead-request-dto.ts +8 -2
  29. package/models/index.ts +4 -0
  30. package/models/inline-response200.ts +48 -0
  31. package/models/inline-response503.ts +48 -0
  32. package/models/lead-sync-response-class.ts +30 -0
  33. package/models/update-lead-request-dto.ts +10 -4
  34. package/package.json +1 -1
@@ -145,6 +145,104 @@ var LeadsApiAxiosParamCreator = function (configuration) {
145
145
  });
146
146
  });
147
147
  },
148
+ /**
149
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
150
+ * @summary Create the lead asynchronously
151
+ * @param {CreateLeadRequestDto} createLeadRequestDto
152
+ * @param {string} [authorization] Bearer Token
153
+ * @param {*} [options] Override http request option.
154
+ * @throws {RequiredError}
155
+ */
156
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
157
+ if (options === void 0) { options = {}; }
158
+ return __awaiter(_this, void 0, void 0, function () {
159
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
160
+ return __generator(this, function (_a) {
161
+ switch (_a.label) {
162
+ case 0:
163
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
164
+ (0, common_1.assertParamExists)('createLeadAsync', 'createLeadRequestDto', createLeadRequestDto);
165
+ localVarPath = "/publicapi/v1/leads-async";
166
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
167
+ if (configuration) {
168
+ baseOptions = configuration.baseOptions;
169
+ baseAccessToken = configuration.accessToken;
170
+ }
171
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
172
+ localVarHeaderParameter = {};
173
+ localVarQueryParameter = {};
174
+ // authentication bearer required
175
+ // http bearer authentication required
176
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
177
+ case 1:
178
+ // authentication bearer required
179
+ // http bearer authentication required
180
+ _a.sent();
181
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
182
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
183
+ }
184
+ localVarHeaderParameter['Content-Type'] = 'application/json';
185
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
186
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
187
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
188
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
189
+ return [2 /*return*/, {
190
+ url: (0, common_1.toPathString)(localVarUrlObj),
191
+ options: localVarRequestOptions,
192
+ }];
193
+ }
194
+ });
195
+ });
196
+ },
197
+ /**
198
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
199
+ * @summary Create the lead
200
+ * @param {CreateLeadRequestDto} createLeadRequestDto
201
+ * @param {string} [authorization] Bearer Token
202
+ * @param {*} [options] Override http request option.
203
+ * @throws {RequiredError}
204
+ */
205
+ createLeadSync: function (createLeadRequestDto, authorization, options) {
206
+ if (options === void 0) { options = {}; }
207
+ return __awaiter(_this, void 0, void 0, function () {
208
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
209
+ return __generator(this, function (_a) {
210
+ switch (_a.label) {
211
+ case 0:
212
+ // verify required parameter 'createLeadRequestDto' is not null or undefined
213
+ (0, common_1.assertParamExists)('createLeadSync', 'createLeadRequestDto', createLeadRequestDto);
214
+ localVarPath = "/publicapi/v1/leads-sync";
215
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
216
+ if (configuration) {
217
+ baseOptions = configuration.baseOptions;
218
+ baseAccessToken = configuration.accessToken;
219
+ }
220
+ localVarRequestOptions = __assign(__assign({ method: 'POST' }, baseOptions), options);
221
+ localVarHeaderParameter = {};
222
+ localVarQueryParameter = {};
223
+ // authentication bearer required
224
+ // http bearer authentication required
225
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
226
+ case 1:
227
+ // authentication bearer required
228
+ // http bearer authentication required
229
+ _a.sent();
230
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
231
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
232
+ }
233
+ localVarHeaderParameter['Content-Type'] = 'application/json';
234
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
235
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
236
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
237
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
238
+ return [2 /*return*/, {
239
+ url: (0, common_1.toPathString)(localVarUrlObj),
240
+ options: localVarRequestOptions,
241
+ }];
242
+ }
243
+ });
244
+ });
245
+ },
148
246
  /**
149
247
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
150
248
  * @summary Retrieve the lead
@@ -290,6 +388,59 @@ var LeadsApiAxiosParamCreator = function (configuration) {
290
388
  });
291
389
  });
292
390
  },
391
+ /**
392
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
393
+ * @summary Update the lead
394
+ * @param {string} code Unique identifier for the object.
395
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
396
+ * @param {string} [authorization] Bearer Token
397
+ * @param {*} [options] Override http request option.
398
+ * @throws {RequiredError}
399
+ */
400
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
401
+ if (options === void 0) { options = {}; }
402
+ return __awaiter(_this, void 0, void 0, function () {
403
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
404
+ return __generator(this, function (_a) {
405
+ switch (_a.label) {
406
+ case 0:
407
+ // verify required parameter 'code' is not null or undefined
408
+ (0, common_1.assertParamExists)('updateLeadSync', 'code', code);
409
+ // verify required parameter 'updateLeadRequestDto' is not null or undefined
410
+ (0, common_1.assertParamExists)('updateLeadSync', 'updateLeadRequestDto', updateLeadRequestDto);
411
+ localVarPath = "/publicapi/v1/leads-sync/{code}"
412
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
413
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
414
+ if (configuration) {
415
+ baseOptions = configuration.baseOptions;
416
+ baseAccessToken = configuration.accessToken;
417
+ }
418
+ localVarRequestOptions = __assign(__assign({ method: 'PUT' }, baseOptions), options);
419
+ localVarHeaderParameter = {};
420
+ localVarQueryParameter = {};
421
+ // authentication bearer required
422
+ // http bearer authentication required
423
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
424
+ case 1:
425
+ // authentication bearer required
426
+ // http bearer authentication required
427
+ _a.sent();
428
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
429
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
430
+ }
431
+ localVarHeaderParameter['Content-Type'] = 'application/json';
432
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
433
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
434
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
435
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLeadRequestDto, localVarRequestOptions, configuration);
436
+ return [2 /*return*/, {
437
+ url: (0, common_1.toPathString)(localVarUrlObj),
438
+ options: localVarRequestOptions,
439
+ }];
440
+ }
441
+ });
442
+ });
443
+ },
293
444
  };
294
445
  };
295
446
  exports.LeadsApiAxiosParamCreator = LeadsApiAxiosParamCreator;
@@ -321,6 +472,48 @@ var LeadsApiFp = function (configuration) {
321
472
  });
322
473
  });
323
474
  },
475
+ /**
476
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
477
+ * @summary Create the lead asynchronously
478
+ * @param {CreateLeadRequestDto} createLeadRequestDto
479
+ * @param {string} [authorization] Bearer Token
480
+ * @param {*} [options] Override http request option.
481
+ * @throws {RequiredError}
482
+ */
483
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
484
+ return __awaiter(this, void 0, void 0, function () {
485
+ var localVarAxiosArgs;
486
+ return __generator(this, function (_a) {
487
+ switch (_a.label) {
488
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadAsync(createLeadRequestDto, authorization, options)];
489
+ case 1:
490
+ localVarAxiosArgs = _a.sent();
491
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
492
+ }
493
+ });
494
+ });
495
+ },
496
+ /**
497
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
498
+ * @summary Create the lead
499
+ * @param {CreateLeadRequestDto} createLeadRequestDto
500
+ * @param {string} [authorization] Bearer Token
501
+ * @param {*} [options] Override http request option.
502
+ * @throws {RequiredError}
503
+ */
504
+ createLeadSync: function (createLeadRequestDto, authorization, options) {
505
+ return __awaiter(this, void 0, void 0, function () {
506
+ var localVarAxiosArgs;
507
+ return __generator(this, function (_a) {
508
+ switch (_a.label) {
509
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.createLeadSync(createLeadRequestDto, authorization, options)];
510
+ case 1:
511
+ localVarAxiosArgs = _a.sent();
512
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
513
+ }
514
+ });
515
+ });
516
+ },
324
517
  /**
325
518
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
326
519
  * @summary Retrieve the lead
@@ -384,6 +577,28 @@ var LeadsApiFp = function (configuration) {
384
577
  });
385
578
  });
386
579
  },
580
+ /**
581
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
582
+ * @summary Update the lead
583
+ * @param {string} code Unique identifier for the object.
584
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
585
+ * @param {string} [authorization] Bearer Token
586
+ * @param {*} [options] Override http request option.
587
+ * @throws {RequiredError}
588
+ */
589
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
590
+ return __awaiter(this, void 0, void 0, function () {
591
+ var localVarAxiosArgs;
592
+ return __generator(this, function (_a) {
593
+ switch (_a.label) {
594
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLeadSync(code, updateLeadRequestDto, authorization, options)];
595
+ case 1:
596
+ localVarAxiosArgs = _a.sent();
597
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
598
+ }
599
+ });
600
+ });
601
+ },
387
602
  };
388
603
  };
389
604
  exports.LeadsApiFp = LeadsApiFp;
@@ -405,6 +620,28 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
405
620
  createLead: function (createLeadRequestDto, authorization, options) {
406
621
  return localVarFp.createLead(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
407
622
  },
623
+ /**
624
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
625
+ * @summary Create the lead asynchronously
626
+ * @param {CreateLeadRequestDto} createLeadRequestDto
627
+ * @param {string} [authorization] Bearer Token
628
+ * @param {*} [options] Override http request option.
629
+ * @throws {RequiredError}
630
+ */
631
+ createLeadAsync: function (createLeadRequestDto, authorization, options) {
632
+ return localVarFp.createLeadAsync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
633
+ },
634
+ /**
635
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
636
+ * @summary Create the lead
637
+ * @param {CreateLeadRequestDto} createLeadRequestDto
638
+ * @param {string} [authorization] Bearer Token
639
+ * @param {*} [options] Override http request option.
640
+ * @throws {RequiredError}
641
+ */
642
+ createLeadSync: function (createLeadRequestDto, authorization, options) {
643
+ return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
644
+ },
408
645
  /**
409
646
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
410
647
  * @summary Retrieve the lead
@@ -438,6 +675,18 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
438
675
  updateLead: function (code, updateLeadRequestDto, authorization, options) {
439
676
  return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
440
677
  },
678
+ /**
679
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
680
+ * @summary Update the lead
681
+ * @param {string} code Unique identifier for the object.
682
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
683
+ * @param {string} [authorization] Bearer Token
684
+ * @param {*} [options] Override http request option.
685
+ * @throws {RequiredError}
686
+ */
687
+ updateLeadSync: function (code, updateLeadRequestDto, authorization, options) {
688
+ return localVarFp.updateLeadSync(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
689
+ },
441
690
  };
442
691
  };
443
692
  exports.LeadsApiFactory = LeadsApiFactory;
@@ -464,6 +713,30 @@ var LeadsApi = /** @class */ (function (_super) {
464
713
  var _this = this;
465
714
  return (0, exports.LeadsApiFp)(this.configuration).createLead(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
466
715
  };
716
+ /**
717
+ * This will send the lead to the queue for creation. Should be used when creating multiple leads at the same time - also called \'batch processing\'.
718
+ * @summary Create the lead asynchronously
719
+ * @param {LeadsApiCreateLeadAsyncRequest} requestParameters Request parameters.
720
+ * @param {*} [options] Override http request option.
721
+ * @throws {RequiredError}
722
+ * @memberof LeadsApi
723
+ */
724
+ LeadsApi.prototype.createLeadAsync = function (requestParameters, options) {
725
+ var _this = this;
726
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadAsync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
727
+ };
728
+ /**
729
+ * This endpoint initiates the creation of a lead, which is the initial step in a comprehensive workflow responsible for the creation of an account, policy, and banking information. Unlike the standard lead creation endpoint, this variant ensures that the process waits until the entire workflow is successfully completed before providing a response.
730
+ * @summary Create the lead
731
+ * @param {LeadsApiCreateLeadSyncRequest} requestParameters Request parameters.
732
+ * @param {*} [options] Override http request option.
733
+ * @throws {RequiredError}
734
+ * @memberof LeadsApi
735
+ */
736
+ LeadsApi.prototype.createLeadSync = function (requestParameters, options) {
737
+ var _this = this;
738
+ return (0, exports.LeadsApiFp)(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
739
+ };
467
740
  /**
468
741
  * Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
469
742
  * @summary Retrieve the lead
@@ -501,6 +774,18 @@ var LeadsApi = /** @class */ (function (_super) {
501
774
  var _this = this;
502
775
  return (0, exports.LeadsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
503
776
  };
777
+ /**
778
+ * Updates the specified lead by setting the values of the parameters passed. Any parameters not provided will be left unchanged.
779
+ * @summary Update the lead
780
+ * @param {LeadsApiUpdateLeadSyncRequest} requestParameters Request parameters.
781
+ * @param {*} [options] Override http request option.
782
+ * @throws {RequiredError}
783
+ * @memberof LeadsApi
784
+ */
785
+ LeadsApi.prototype.updateLeadSync = function (requestParameters, options) {
786
+ var _this = this;
787
+ return (0, exports.LeadsApiFp)(this.configuration).updateLeadSync(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
788
+ };
504
789
  return LeadsApi;
505
790
  }(base_1.BaseAPI));
506
791
  exports.LeadsApi = LeadsApi;
package/dist/api.d.ts CHANGED
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/address-completions-validations-api';
13
+ export * from './api/default-api';
13
14
  export * from './api/documents-api';
14
15
  export * from './api/leads-api';
15
16
  export * from './api/notifications-api';
package/dist/api.js CHANGED
@@ -28,6 +28,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
28
28
  };
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  __exportStar(require("./api/address-completions-validations-api"), exports);
31
+ __exportStar(require("./api/default-api"), exports);
31
32
  __exportStar(require("./api/documents-api"), exports);
32
33
  __exportStar(require("./api/leads-api"), exports);
33
34
  __exportStar(require("./api/notifications-api"), exports);
@@ -87,6 +87,18 @@ export interface CreateDocumentRequestDto {
87
87
  * @memberof CreateDocumentRequestDto
88
88
  */
89
89
  'filename'?: string;
90
+ /**
91
+ * If true, the default margins will be skipped when generating the document.
92
+ * @type {boolean}
93
+ * @memberof CreateDocumentRequestDto
94
+ */
95
+ 'shouldSkipDefaultMargins'?: boolean;
96
+ /**
97
+ * Type of the document engine to use to generate the document. Defaults to HTML.
98
+ * @type {string}
99
+ * @memberof CreateDocumentRequestDto
100
+ */
101
+ 'engine'?: CreateDocumentRequestDtoEngineEnum;
90
102
  }
91
103
  export declare const CreateDocumentRequestDtoRequesterEnum: {
92
104
  readonly Publicapi: "publicapi";
@@ -113,3 +125,8 @@ export declare const CreateDocumentRequestDtoContentTypeEnum: {
113
125
  readonly Avi: "AVI";
114
126
  };
115
127
  export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum];
128
+ export declare const CreateDocumentRequestDtoEngineEnum: {
129
+ readonly Docx: "docx";
130
+ readonly Html: "html";
131
+ };
132
+ export type CreateDocumentRequestDtoEngineEnum = typeof CreateDocumentRequestDtoEngineEnum[keyof typeof CreateDocumentRequestDtoEngineEnum];
@@ -13,7 +13,7 @@
13
13
  * Do not edit the class manually.
14
14
  */
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = void 0;
16
+ exports.CreateDocumentRequestDtoEngineEnum = exports.CreateDocumentRequestDtoContentTypeEnum = exports.CreateDocumentRequestDtoRequesterEnum = void 0;
17
17
  exports.CreateDocumentRequestDtoRequesterEnum = {
18
18
  Publicapi: 'publicapi'
19
19
  };
@@ -37,3 +37,7 @@ exports.CreateDocumentRequestDtoContentTypeEnum = {
37
37
  Wmv: 'WMV',
38
38
  Avi: 'AVI'
39
39
  };
40
+ exports.CreateDocumentRequestDtoEngineEnum = {
41
+ Docx: 'docx',
42
+ Html: 'html'
43
+ };
@@ -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 CreateLeadAsyncResponseClass
16
+ */
17
+ export interface CreateLeadAsyncResponseClass {
18
+ /**
19
+ * Unique identifier of the lead that this object belongs to.
20
+ * @type {string}
21
+ * @memberof CreateLeadAsyncResponseClass
22
+ */
23
+ 'code': string;
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 });
@@ -35,10 +35,16 @@ export interface CreateLeadRequestDto {
35
35
  'productVersionId'?: number;
36
36
  /**
37
37
  * Unique identifier of the product that this object belongs to.
38
- * @type {string}
38
+ * @type {object}
39
+ * @memberof CreateLeadRequestDto
40
+ */
41
+ 'productCode': object;
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 {object}
39
45
  * @memberof CreateLeadRequestDto
40
46
  */
41
- 'productCode': string;
47
+ 'productSlug': object;
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';
@@ -33,6 +34,8 @@ export * from './initiate-payment-setup-request-dto';
33
34
  export * from './initiate-payment-setup-response-class';
34
35
  export * from './initiate-stripe-payment-setup-request-dto';
35
36
  export * from './initiate-stripe-payment-setup-response-class';
37
+ export * from './inline-response200';
38
+ export * from './inline-response503';
36
39
  export * from './insured-object-class';
37
40
  export * from './insured-object-type-class';
38
41
  export * from './invoice-class';
@@ -43,6 +46,7 @@ export * from './lead-bank-account-class';
43
46
  export * from './lead-class';
44
47
  export * from './lead-policy-class';
45
48
  export * from './lead-policy-object-class';
49
+ export * from './lead-sync-response-class';
46
50
  export * from './list-documents-response-class';
47
51
  export * from './list-product-documents-response-class';
48
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);
@@ -49,6 +50,8 @@ __exportStar(require("./initiate-payment-setup-request-dto"), exports);
49
50
  __exportStar(require("./initiate-payment-setup-response-class"), exports);
50
51
  __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
51
52
  __exportStar(require("./initiate-stripe-payment-setup-response-class"), exports);
53
+ __exportStar(require("./inline-response200"), exports);
54
+ __exportStar(require("./inline-response503"), exports);
52
55
  __exportStar(require("./insured-object-class"), exports);
53
56
  __exportStar(require("./insured-object-type-class"), exports);
54
57
  __exportStar(require("./invoice-class"), exports);
@@ -59,6 +62,7 @@ __exportStar(require("./lead-bank-account-class"), exports);
59
62
  __exportStar(require("./lead-class"), exports);
60
63
  __exportStar(require("./lead-policy-class"), exports);
61
64
  __exportStar(require("./lead-policy-object-class"), exports);
65
+ __exportStar(require("./lead-sync-response-class"), exports);
62
66
  __exportStar(require("./list-documents-response-class"), exports);
63
67
  __exportStar(require("./list-product-documents-response-class"), exports);
64
68
  __exportStar(require("./list-products-response-class"), exports);
@@ -0,0 +1,54 @@
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 InlineResponse200
16
+ */
17
+ export interface InlineResponse200 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InlineResponse200
22
+ */
23
+ 'status'?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: { [key: string]: string; }; }}
27
+ * @memberof InlineResponse200
28
+ */
29
+ 'info'?: {
30
+ [key: string]: {
31
+ [key: string]: string;
32
+ };
33
+ } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @memberof InlineResponse200
38
+ */
39
+ 'error'?: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ } | null;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: { [key: string]: string; }; }}
47
+ * @memberof InlineResponse200
48
+ */
49
+ 'details'?: {
50
+ [key: string]: {
51
+ [key: string]: string;
52
+ };
53
+ };
54
+ }
@@ -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 });
@@ -0,0 +1,54 @@
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 InlineResponse503
16
+ */
17
+ export interface InlineResponse503 {
18
+ /**
19
+ *
20
+ * @type {string}
21
+ * @memberof InlineResponse503
22
+ */
23
+ 'status'?: string;
24
+ /**
25
+ *
26
+ * @type {{ [key: string]: { [key: string]: string; }; }}
27
+ * @memberof InlineResponse503
28
+ */
29
+ 'info'?: {
30
+ [key: string]: {
31
+ [key: string]: string;
32
+ };
33
+ } | null;
34
+ /**
35
+ *
36
+ * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @memberof InlineResponse503
38
+ */
39
+ 'error'?: {
40
+ [key: string]: {
41
+ [key: string]: string;
42
+ };
43
+ } | null;
44
+ /**
45
+ *
46
+ * @type {{ [key: string]: { [key: string]: string; }; }}
47
+ * @memberof InlineResponse503
48
+ */
49
+ 'details'?: {
50
+ [key: string]: {
51
+ [key: string]: string;
52
+ };
53
+ };
54
+ }
@@ -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 });