@emilgroup/public-api-sdk-node 1.0.1 → 1.0.2

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 (36) hide show
  1. package/.openapi-generator/FILES +5 -1
  2. package/api/notifications-api.ts +163 -0
  3. package/api/products-api.ts +135 -20
  4. package/api.ts +2 -0
  5. package/dist/api/notifications-api.d.ts +92 -0
  6. package/dist/api/notifications-api.js +224 -0
  7. package/dist/api/products-api.d.ts +72 -11
  8. package/dist/api/products-api.js +114 -18
  9. package/dist/api.d.ts +1 -0
  10. package/dist/api.js +1 -0
  11. package/dist/models/create-account-request-dto.d.ts +12 -0
  12. package/dist/models/create-custom-application-request-dto.d.ts +1 -0
  13. package/dist/models/create-custom-application-request-dto.js +2 -1
  14. package/dist/models/create-estimated-invoice-request-dto.d.ts +14 -6
  15. package/dist/models/create-estimated-invoice-request-dto.js +2 -1
  16. package/dist/models/create-lead-request-dto.d.ts +7 -0
  17. package/dist/models/index.d.ts +4 -0
  18. package/dist/models/index.js +4 -0
  19. package/dist/models/premium-override-dto.d.ts +53 -0
  20. package/dist/models/premium-override-dto.js +25 -0
  21. package/dist/models/premium-override-request-dto.d.ts +25 -0
  22. package/dist/models/premium-override-request-dto.js +15 -0
  23. package/dist/models/send-notification-request-dto.d.ts +36 -0
  24. package/dist/models/send-notification-request-dto.js +15 -0
  25. package/dist/models/update-lead-request-dto.d.ts +84 -0
  26. package/dist/models/update-lead-request-dto.js +22 -0
  27. package/models/create-account-request-dto.ts +12 -0
  28. package/models/create-custom-application-request-dto.ts +2 -1
  29. package/models/create-estimated-invoice-request-dto.ts +15 -7
  30. package/models/create-lead-request-dto.ts +7 -0
  31. package/models/index.ts +4 -0
  32. package/models/premium-override-dto.ts +63 -0
  33. package/models/premium-override-request-dto.ts +31 -0
  34. package/models/send-notification-request-dto.ts +42 -0
  35. package/models/update-lead-request-dto.ts +93 -0
  36. package/package.json +1 -1
@@ -338,6 +338,53 @@ var ProductsApiAxiosParamCreator = function (configuration) {
338
338
  });
339
339
  });
340
340
  },
341
+ /**
342
+ *
343
+ * @param {string} code
344
+ * @param {string} [authorization] Bearer Token
345
+ * @param {*} [options] Override http request option.
346
+ * @throws {RequiredError}
347
+ */
348
+ getLead: function (code, authorization, options) {
349
+ if (options === void 0) { options = {}; }
350
+ return __awaiter(_this, void 0, void 0, function () {
351
+ var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
352
+ return __generator(this, function (_a) {
353
+ switch (_a.label) {
354
+ case 0:
355
+ // verify required parameter 'code' is not null or undefined
356
+ (0, common_1.assertParamExists)('getLead', 'code', code);
357
+ localVarPath = "/publicapi/v1/leads/{code}"
358
+ .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
359
+ localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
360
+ if (configuration) {
361
+ baseOptions = configuration.baseOptions;
362
+ baseAccessToken = configuration.accessToken;
363
+ }
364
+ localVarRequestOptions = __assign(__assign({ method: 'GET' }, baseOptions), options);
365
+ localVarHeaderParameter = {};
366
+ localVarQueryParameter = {};
367
+ // authentication bearer required
368
+ // http bearer authentication required
369
+ return [4 /*yield*/, (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration)];
370
+ case 1:
371
+ // authentication bearer required
372
+ // http bearer authentication required
373
+ _a.sent();
374
+ if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
375
+ localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
376
+ }
377
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
378
+ headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
379
+ localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
380
+ return [2 /*return*/, {
381
+ url: (0, common_1.toPathString)(localVarUrlObj),
382
+ options: localVarRequestOptions,
383
+ }];
384
+ }
385
+ });
386
+ });
387
+ },
341
388
  /**
342
389
  *
343
390
  * @param {string} productCode
@@ -388,11 +435,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
388
435
  /**
389
436
  *
390
437
  * @param {string} productCode
438
+ * @param {string} allValues
391
439
  * @param {string} [authorization] Bearer Token
392
440
  * @param {*} [options] Override http request option.
393
441
  * @throws {RequiredError}
394
442
  */
395
- getProductFactors: function (productCode, authorization, options) {
443
+ getProductFactors: function (productCode, allValues, authorization, options) {
396
444
  if (options === void 0) { options = {}; }
397
445
  return __awaiter(_this, void 0, void 0, function () {
398
446
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -401,6 +449,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
401
449
  case 0:
402
450
  // verify required parameter 'productCode' is not null or undefined
403
451
  (0, common_1.assertParamExists)('getProductFactors', 'productCode', productCode);
452
+ // verify required parameter 'allValues' is not null or undefined
453
+ (0, common_1.assertParamExists)('getProductFactors', 'allValues', allValues);
404
454
  localVarPath = "/publicapi/v1/products/{product_code}/product-factors"
405
455
  .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
406
456
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -418,6 +468,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
418
468
  // authentication bearer required
419
469
  // http bearer authentication required
420
470
  _a.sent();
471
+ if (allValues !== undefined) {
472
+ localVarQueryParameter['all_values'] = allValues;
473
+ }
421
474
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
422
475
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
423
476
  }
@@ -478,12 +531,12 @@ var ProductsApiAxiosParamCreator = function (configuration) {
478
531
  /**
479
532
  *
480
533
  * @param {string} code
481
- * @param {CreateLeadRequestDto} createLeadRequestDto
534
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
482
535
  * @param {string} [authorization] Bearer Token
483
536
  * @param {*} [options] Override http request option.
484
537
  * @throws {RequiredError}
485
538
  */
486
- updateLead: function (code, createLeadRequestDto, authorization, options) {
539
+ updateLead: function (code, updateLeadRequestDto, authorization, options) {
487
540
  if (options === void 0) { options = {}; }
488
541
  return __awaiter(_this, void 0, void 0, function () {
489
542
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -492,8 +545,8 @@ var ProductsApiAxiosParamCreator = function (configuration) {
492
545
  case 0:
493
546
  // verify required parameter 'code' is not null or undefined
494
547
  (0, common_1.assertParamExists)('updateLead', 'code', code);
495
- // verify required parameter 'createLeadRequestDto' is not null or undefined
496
- (0, common_1.assertParamExists)('updateLead', 'createLeadRequestDto', createLeadRequestDto);
548
+ // verify required parameter 'updateLeadRequestDto' is not null or undefined
549
+ (0, common_1.assertParamExists)('updateLead', 'updateLeadRequestDto', updateLeadRequestDto);
497
550
  localVarPath = "/publicapi/v1/leads/{code}"
498
551
  .replace("{".concat("code", "}"), encodeURIComponent(String(code)));
499
552
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
@@ -518,7 +571,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
518
571
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
519
572
  headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
520
573
  localVarRequestOptions.headers = __assign(__assign(__assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
521
- localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createLeadRequestDto, localVarRequestOptions, configuration);
574
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateLeadRequestDto, localVarRequestOptions, configuration);
522
575
  return [2 /*return*/, {
523
576
  url: (0, common_1.toPathString)(localVarUrlObj),
524
577
  options: localVarRequestOptions,
@@ -638,6 +691,26 @@ var ProductsApiFp = function (configuration) {
638
691
  });
639
692
  });
640
693
  },
694
+ /**
695
+ *
696
+ * @param {string} code
697
+ * @param {string} [authorization] Bearer Token
698
+ * @param {*} [options] Override http request option.
699
+ * @throws {RequiredError}
700
+ */
701
+ getLead: function (code, authorization, options) {
702
+ return __awaiter(this, void 0, void 0, function () {
703
+ var localVarAxiosArgs;
704
+ return __generator(this, function (_a) {
705
+ switch (_a.label) {
706
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getLead(code, authorization, options)];
707
+ case 1:
708
+ localVarAxiosArgs = _a.sent();
709
+ return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
710
+ }
711
+ });
712
+ });
713
+ },
641
714
  /**
642
715
  *
643
716
  * @param {string} productCode
@@ -661,16 +734,17 @@ var ProductsApiFp = function (configuration) {
661
734
  /**
662
735
  *
663
736
  * @param {string} productCode
737
+ * @param {string} allValues
664
738
  * @param {string} [authorization] Bearer Token
665
739
  * @param {*} [options] Override http request option.
666
740
  * @throws {RequiredError}
667
741
  */
668
- getProductFactors: function (productCode, authorization, options) {
742
+ getProductFactors: function (productCode, allValues, authorization, options) {
669
743
  return __awaiter(this, void 0, void 0, function () {
670
744
  var localVarAxiosArgs;
671
745
  return __generator(this, function (_a) {
672
746
  switch (_a.label) {
673
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, authorization, options)];
747
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getProductFactors(productCode, allValues, authorization, options)];
674
748
  case 1:
675
749
  localVarAxiosArgs = _a.sent();
676
750
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -700,17 +774,17 @@ var ProductsApiFp = function (configuration) {
700
774
  /**
701
775
  *
702
776
  * @param {string} code
703
- * @param {CreateLeadRequestDto} createLeadRequestDto
777
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
704
778
  * @param {string} [authorization] Bearer Token
705
779
  * @param {*} [options] Override http request option.
706
780
  * @throws {RequiredError}
707
781
  */
708
- updateLead: function (code, createLeadRequestDto, authorization, options) {
782
+ updateLead: function (code, updateLeadRequestDto, authorization, options) {
709
783
  return __awaiter(this, void 0, void 0, function () {
710
784
  var localVarAxiosArgs;
711
785
  return __generator(this, function (_a) {
712
786
  switch (_a.label) {
713
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLead(code, createLeadRequestDto, authorization, options)];
787
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.updateLead(code, updateLeadRequestDto, authorization, options)];
714
788
  case 1:
715
789
  localVarAxiosArgs = _a.sent();
716
790
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -779,6 +853,16 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
779
853
  getInsuredObjects: function (productCode, authorization, options) {
780
854
  return localVarFp.getInsuredObjects(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
781
855
  },
856
+ /**
857
+ *
858
+ * @param {string} code
859
+ * @param {string} [authorization] Bearer Token
860
+ * @param {*} [options] Override http request option.
861
+ * @throws {RequiredError}
862
+ */
863
+ getLead: function (code, authorization, options) {
864
+ return localVarFp.getLead(code, authorization, options).then(function (request) { return request(axios, basePath); });
865
+ },
782
866
  /**
783
867
  *
784
868
  * @param {string} productCode
@@ -792,12 +876,13 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
792
876
  /**
793
877
  *
794
878
  * @param {string} productCode
879
+ * @param {string} allValues
795
880
  * @param {string} [authorization] Bearer Token
796
881
  * @param {*} [options] Override http request option.
797
882
  * @throws {RequiredError}
798
883
  */
799
- getProductFactors: function (productCode, authorization, options) {
800
- return localVarFp.getProductFactors(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
884
+ getProductFactors: function (productCode, allValues, authorization, options) {
885
+ return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
801
886
  },
802
887
  /**
803
888
  *
@@ -811,13 +896,13 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
811
896
  /**
812
897
  *
813
898
  * @param {string} code
814
- * @param {CreateLeadRequestDto} createLeadRequestDto
899
+ * @param {UpdateLeadRequestDto} updateLeadRequestDto
815
900
  * @param {string} [authorization] Bearer Token
816
901
  * @param {*} [options] Override http request option.
817
902
  * @throws {RequiredError}
818
903
  */
819
- updateLead: function (code, createLeadRequestDto, authorization, options) {
820
- return localVarFp.updateLead(code, createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
904
+ updateLead: function (code, updateLeadRequestDto, authorization, options) {
905
+ return localVarFp.updateLead(code, updateLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
821
906
  },
822
907
  };
823
908
  };
@@ -889,6 +974,17 @@ var ProductsApi = /** @class */ (function (_super) {
889
974
  var _this = this;
890
975
  return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjects(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
891
976
  };
977
+ /**
978
+ *
979
+ * @param {ProductsApiGetLeadRequest} requestParameters Request parameters.
980
+ * @param {*} [options] Override http request option.
981
+ * @throws {RequiredError}
982
+ * @memberof ProductsApi
983
+ */
984
+ ProductsApi.prototype.getLead = function (requestParameters, options) {
985
+ var _this = this;
986
+ return (0, exports.ProductsApiFp)(this.configuration).getLead(requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
987
+ };
892
988
  /**
893
989
  *
894
990
  * @param {ProductsApiGetProductCustomCssRequest} requestParameters Request parameters.
@@ -909,7 +1005,7 @@ var ProductsApi = /** @class */ (function (_super) {
909
1005
  */
910
1006
  ProductsApi.prototype.getProductFactors = function (requestParameters, options) {
911
1007
  var _this = this;
912
- return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1008
+ return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
913
1009
  };
914
1010
  /**
915
1011
  *
@@ -932,7 +1028,7 @@ var ProductsApi = /** @class */ (function (_super) {
932
1028
  */
933
1029
  ProductsApi.prototype.updateLead = function (requestParameters, options) {
934
1030
  var _this = this;
935
- return (0, exports.ProductsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
1031
+ return (0, exports.ProductsApiFp)(this.configuration).updateLead(requestParameters.code, requestParameters.updateLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
936
1032
  };
937
1033
  return ProductsApi;
938
1034
  }(base_1.BaseAPI));
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/documents-api';
13
+ export * from './api/notifications-api';
13
14
  export * from './api/payment-setup-api';
14
15
  export * from './api/products-api';
15
16
  export declare enum Environment {
package/dist/api.js CHANGED
@@ -29,6 +29,7 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
29
29
  Object.defineProperty(exports, "__esModule", { value: true });
30
30
  exports.Environment = void 0;
31
31
  __exportStar(require("./api/documents-api"), exports);
32
+ __exportStar(require("./api/notifications-api"), exports);
32
33
  __exportStar(require("./api/payment-setup-api"), exports);
33
34
  __exportStar(require("./api/products-api"), exports);
34
35
  var Environment;
@@ -81,6 +81,18 @@ export interface CreateAccountRequestDto {
81
81
  * @memberof CreateAccountRequestDto
82
82
  */
83
83
  'accountNumber': string;
84
+ /**
85
+ *
86
+ * @type {object}
87
+ * @memberof CreateAccountRequestDto
88
+ */
89
+ 'customFields'?: object;
90
+ /**
91
+ *
92
+ * @type {object}
93
+ * @memberof CreateAccountRequestDto
94
+ */
95
+ 'metadata'?: object;
84
96
  }
85
97
  export declare const CreateAccountRequestDtoGenderEnum: {
86
98
  readonly Male: "male";
@@ -30,5 +30,6 @@ export interface CreateCustomApplicationRequestDto {
30
30
  }
31
31
  export declare const CreateCustomApplicationRequestDtoProviderEnum: {
32
32
  readonly Squarelife: "squarelife";
33
+ readonly Janitos: "janitos";
33
34
  };
34
35
  export declare type CreateCustomApplicationRequestDtoProviderEnum = typeof CreateCustomApplicationRequestDtoProviderEnum[keyof typeof CreateCustomApplicationRequestDtoProviderEnum];
@@ -15,5 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateCustomApplicationRequestDtoProviderEnum = void 0;
17
17
  exports.CreateCustomApplicationRequestDtoProviderEnum = {
18
- Squarelife: 'squarelife'
18
+ Squarelife: 'squarelife',
19
+ Janitos: 'janitos'
19
20
  };
@@ -10,6 +10,7 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
13
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
13
14
  /**
14
15
  *
15
16
  * @export
@@ -17,25 +18,32 @@ import { PolicyObjectRequestDto } from './policy-object-request-dto';
17
18
  */
18
19
  export interface CreateEstimatedInvoiceRequestDto {
19
20
  /**
20
- *
21
+ * Policy objects describe all parts of the policy via insured objects and according data.
21
22
  * @type {Array<PolicyObjectRequestDto>}
22
23
  * @memberof CreateEstimatedInvoiceRequestDto
23
24
  */
24
- 'policyObjects': Array<PolicyObjectRequestDto>;
25
+ 'policyObjects'?: Array<PolicyObjectRequestDto>;
25
26
  /**
26
- * Customer data
27
+ * Customer data. Has to be present if policyObjects is defined.
27
28
  * @type {object}
28
29
  * @memberof CreateEstimatedInvoiceRequestDto
29
30
  */
30
- 'data': object;
31
+ 'data'?: object;
31
32
  /**
32
- * Custom provider name
33
+ * Insurance provider name. Has to be set if data is defined.
33
34
  * @type {string}
34
35
  * @memberof CreateEstimatedInvoiceRequestDto
35
36
  */
36
- 'provider': CreateEstimatedInvoiceRequestDtoProviderEnum;
37
+ 'provider'?: CreateEstimatedInvoiceRequestDtoProviderEnum;
38
+ /**
39
+ * Premium Override
40
+ * @type {Array<PremiumOverrideRequestDto>}
41
+ * @memberof CreateEstimatedInvoiceRequestDto
42
+ */
43
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
37
44
  }
38
45
  export declare const CreateEstimatedInvoiceRequestDtoProviderEnum: {
39
46
  readonly Squarelife: "squarelife";
47
+ readonly Janitos: "janitos";
40
48
  };
41
49
  export declare type CreateEstimatedInvoiceRequestDtoProviderEnum = typeof CreateEstimatedInvoiceRequestDtoProviderEnum[keyof typeof CreateEstimatedInvoiceRequestDtoProviderEnum];
@@ -15,5 +15,6 @@
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
16
  exports.CreateEstimatedInvoiceRequestDtoProviderEnum = void 0;
17
17
  exports.CreateEstimatedInvoiceRequestDtoProviderEnum = {
18
- Squarelife: 'squarelife'
18
+ Squarelife: 'squarelife',
19
+ Janitos: 'janitos'
19
20
  };
@@ -12,6 +12,7 @@
12
12
  import { CreateAccountRequestDto } from './create-account-request-dto';
13
13
  import { CreateBankAccountRequestDto } from './create-bank-account-request-dto';
14
14
  import { PolicyObjectRequestDto } from './policy-object-request-dto';
15
+ import { PremiumOverrideRequestDto } from './premium-override-request-dto';
15
16
  import { UploadedDocumentDto } from './uploaded-document-dto';
16
17
  /**
17
18
  *
@@ -43,6 +44,12 @@ export interface CreateLeadRequestDto {
43
44
  * @memberof CreateLeadRequestDto
44
45
  */
45
46
  'bankAccount'?: CreateBankAccountRequestDto;
47
+ /**
48
+ * Premium Override
49
+ * @type {Array<PremiumOverrideRequestDto>}
50
+ * @memberof CreateLeadRequestDto
51
+ */
52
+ 'premiumOverride'?: Array<PremiumOverrideRequestDto>;
46
53
  /**
47
54
  *
48
55
  * @type {CreateAccountRequestDto}
@@ -11,4 +11,8 @@ export * from './initiate-braintree-payment-setup-request-dto';
11
11
  export * from './initiate-payment-setup-request-dto';
12
12
  export * from './initiate-stripe-payment-setup-request-dto';
13
13
  export * from './policy-object-request-dto';
14
+ export * from './premium-override-dto';
15
+ export * from './premium-override-request-dto';
16
+ export * from './send-notification-request-dto';
17
+ export * from './update-lead-request-dto';
14
18
  export * from './uploaded-document-dto';
@@ -27,4 +27,8 @@ __exportStar(require("./initiate-braintree-payment-setup-request-dto"), exports)
27
27
  __exportStar(require("./initiate-payment-setup-request-dto"), exports);
28
28
  __exportStar(require("./initiate-stripe-payment-setup-request-dto"), exports);
29
29
  __exportStar(require("./policy-object-request-dto"), exports);
30
+ __exportStar(require("./premium-override-dto"), exports);
31
+ __exportStar(require("./premium-override-request-dto"), exports);
32
+ __exportStar(require("./send-notification-request-dto"), exports);
33
+ __exportStar(require("./update-lead-request-dto"), exports);
30
34
  __exportStar(require("./uploaded-document-dto"), exports);
@@ -0,0 +1,53 @@
1
+ /**
2
+ * EMIL PublicAPI
3
+ * The EMIL Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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
+ *
20
+ * @type {string}
21
+ * @memberof PremiumOverrideDto
22
+ */
23
+ 'name': string;
24
+ /**
25
+ *
26
+ * @type {string}
27
+ * @memberof PremiumOverrideDto
28
+ */
29
+ 'type': PremiumOverrideDtoTypeEnum;
30
+ /**
31
+ *
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 declare 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
+ };
53
+ export declare type PremiumOverrideDtoUnitEnum = typeof PremiumOverrideDtoUnitEnum[keyof typeof PremiumOverrideDtoUnitEnum];
@@ -0,0 +1,25 @@
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
+ *
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
+ };
@@ -0,0 +1,25 @@
1
+ /**
2
+ * EMIL PublicAPI
3
+ * The EMIL Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 PublicAPI
6
+ * The EMIL Public API description
7
+ *
8
+ * The version of the OpenAPI document: 1.0
9
+ *
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,36 @@
1
+ /**
2
+ * EMIL PublicAPI
3
+ * The EMIL Public API description
4
+ *
5
+ * The version of the OpenAPI document: 1.0
6
+ *
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 SendNotificationRequestDto
16
+ */
17
+ export interface SendNotificationRequestDto {
18
+ /**
19
+ * Unique identifying slug from template to be used for the email
20
+ * @type {string}
21
+ * @memberof SendNotificationRequestDto
22
+ */
23
+ 'templateSlug': string;
24
+ /**
25
+ * Subject of the email
26
+ * @type {string}
27
+ * @memberof SendNotificationRequestDto
28
+ */
29
+ 'emailSubject'?: string;
30
+ /**
31
+ * Payload is used by the template engine to replace all template variables with proper data. For more information, please go to https://github.com/flosch/pongo2.
32
+ * @type {object}
33
+ * @memberof SendNotificationRequestDto
34
+ */
35
+ 'payload'?: object;
36
+ }
@@ -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
+ *
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 });