@emilgroup/public-api-sdk 1.25.1 → 1.26.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 (81) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +2 -2
  3. package/api/booking-funnels-api.ts +161 -0
  4. package/api/documents-api.ts +36 -22
  5. package/api/leads-api.ts +4 -4
  6. package/api/named-ranges-api.ts +250 -0
  7. package/api/products-api.ts +65 -38
  8. package/api.ts +4 -0
  9. package/base.ts +1 -0
  10. package/dist/api/booking-funnels-api.d.ts +96 -0
  11. package/dist/api/booking-funnels-api.js +223 -0
  12. package/dist/api/documents-api.d.ts +28 -19
  13. package/dist/api/documents-api.js +26 -20
  14. package/dist/api/leads-api.d.ts +4 -4
  15. package/dist/api/leads-api.js +4 -4
  16. package/dist/api/named-ranges-api.d.ts +150 -0
  17. package/dist/api/named-ranges-api.js +263 -0
  18. package/dist/api/products-api.d.ts +49 -31
  19. package/dist/api/products-api.js +47 -36
  20. package/dist/api.d.ts +2 -0
  21. package/dist/api.js +2 -0
  22. package/dist/base.js +1 -0
  23. package/dist/models/address-field-score-class.d.ts +10 -10
  24. package/dist/models/booking-funnel-class.d.ts +90 -0
  25. package/dist/models/booking-funnel-class.js +15 -0
  26. package/dist/models/create-account-request-dto.d.ts +1 -1
  27. package/dist/models/create-account-request-dto.js +1 -1
  28. package/dist/models/create-document-request-dto.d.ts +2 -2
  29. package/dist/models/create-lead-request-dto.d.ts +13 -1
  30. package/dist/models/create-presigned-post-request-dto.d.ts +2 -2
  31. package/dist/models/document-class.d.ts +1 -1
  32. package/dist/models/filter-named-range-response-class.d.ts +42 -0
  33. package/dist/models/filter-named-range-response-class.js +15 -0
  34. package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
  35. package/dist/models/get-booking-funnel-response-class.js +15 -0
  36. package/dist/models/index.d.ts +7 -0
  37. package/dist/models/index.js +7 -0
  38. package/dist/models/initiate-email-verification-dto.d.ts +1 -1
  39. package/dist/models/insured-object-type-class.d.ts +1 -1
  40. package/dist/models/lead-account-class.d.ts +1 -1
  41. package/dist/models/lead-account-class.js +1 -1
  42. package/dist/models/lead-class.d.ts +7 -0
  43. package/dist/models/lead-policy-object-class.d.ts +2 -2
  44. package/dist/models/partner-class.d.ts +60 -0
  45. package/dist/models/partner-class.js +15 -0
  46. package/dist/models/partner-link-class.d.ts +86 -0
  47. package/dist/models/partner-link-class.js +15 -0
  48. package/dist/models/partner-role-class.d.ts +54 -0
  49. package/dist/models/partner-role-class.js +15 -0
  50. package/dist/models/product-class.d.ts +1 -1
  51. package/dist/models/product-document-class.d.ts +14 -2
  52. package/dist/models/product-factor-for-version-class.d.ts +4 -3
  53. package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
  54. package/dist/models/product-factor-value-for-version-class.js +15 -0
  55. package/dist/models/send-notification-request-dto.d.ts +1 -1
  56. package/dist/models/update-lead-request-dto.d.ts +1 -1
  57. package/models/address-field-score-class.ts +10 -10
  58. package/models/booking-funnel-class.ts +96 -0
  59. package/models/create-account-request-dto.ts +1 -1
  60. package/models/create-document-request-dto.ts +2 -2
  61. package/models/create-lead-request-dto.ts +13 -1
  62. package/models/create-presigned-post-request-dto.ts +2 -2
  63. package/models/document-class.ts +1 -1
  64. package/models/filter-named-range-response-class.ts +48 -0
  65. package/models/get-booking-funnel-response-class.ts +31 -0
  66. package/models/index.ts +7 -0
  67. package/models/initiate-email-verification-dto.ts +1 -1
  68. package/models/insured-object-type-class.ts +1 -1
  69. package/models/lead-account-class.ts +1 -1
  70. package/models/lead-class.ts +7 -0
  71. package/models/lead-policy-object-class.ts +2 -2
  72. package/models/partner-class.ts +66 -0
  73. package/models/partner-link-class.ts +92 -0
  74. package/models/partner-role-class.ts +60 -0
  75. package/models/product-class.ts +1 -1
  76. package/models/product-document-class.ts +14 -2
  77. package/models/product-factor-for-version-class.ts +4 -3
  78. package/models/product-factor-value-for-version-class.ts +48 -0
  79. package/models/send-notification-request-dto.ts +1 -1
  80. package/models/update-lead-request-dto.ts +1 -1
  81. package/package.json +1 -1
@@ -252,20 +252,24 @@ var ProductsApiAxiosParamCreator = function (configuration) {
252
252
  });
253
253
  },
254
254
  /**
255
- * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
255
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
256
256
  * @summary List insured object types
257
+ * @param {string} productCode
257
258
  * @param {string} [authorization] Bearer Token
258
259
  * @param {*} [options] Override http request option.
259
260
  * @throws {RequiredError}
260
261
  */
261
- getInsuredObjectTypes: function (authorization, options) {
262
+ getInsuredObjectTypes: function (productCode, authorization, options) {
262
263
  if (options === void 0) { options = {}; }
263
264
  return __awaiter(_this, void 0, void 0, function () {
264
265
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
265
266
  return __generator(this, function (_a) {
266
267
  switch (_a.label) {
267
268
  case 0:
268
- localVarPath = "/publicapi/v1/products/{product_code}/insured-object-types";
269
+ // verify required parameter 'productCode' is not null or undefined
270
+ (0, common_1.assertParamExists)('getInsuredObjectTypes', 'productCode', productCode);
271
+ localVarPath = "/publicapi/v1/products/{product_code}/insured-object-types"
272
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
269
273
  localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
270
274
  if (configuration) {
271
275
  baseOptions = configuration.baseOptions;
@@ -296,7 +300,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
296
300
  });
297
301
  },
298
302
  /**
299
- * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
303
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
300
304
  * @summary List insured objects
301
305
  * @param {string} productCode
302
306
  * @param {string} [authorization] Bearer Token
@@ -392,7 +396,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
392
396
  });
393
397
  },
394
398
  /**
395
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
399
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
396
400
  * @summary List product factors
397
401
  * @param {string} productCode
398
402
  * @param {string} allValues
@@ -446,19 +450,20 @@ var ProductsApiAxiosParamCreator = function (configuration) {
446
450
  });
447
451
  },
448
452
  /**
449
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
453
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
450
454
  * @summary List products
451
455
  * @param {string} [authorization] Bearer Token
452
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
456
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
453
457
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
454
458
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
455
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
459
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
456
460
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
457
461
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
462
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
458
463
  * @param {*} [options] Override http request option.
459
464
  * @throws {RequiredError}
460
465
  */
461
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
466
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
462
467
  if (options === void 0) { options = {}; }
463
468
  return __awaiter(_this, void 0, void 0, function () {
464
469
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -499,6 +504,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
499
504
  if (expand !== undefined) {
500
505
  localVarQueryParameter['expand'] = expand;
501
506
  }
507
+ if (filters !== undefined) {
508
+ localVarQueryParameter['filters'] = filters;
509
+ }
502
510
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
503
511
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
504
512
  }
@@ -590,18 +598,19 @@ var ProductsApiFp = function (configuration) {
590
598
  });
591
599
  },
592
600
  /**
593
- * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
601
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
594
602
  * @summary List insured object types
603
+ * @param {string} productCode
595
604
  * @param {string} [authorization] Bearer Token
596
605
  * @param {*} [options] Override http request option.
597
606
  * @throws {RequiredError}
598
607
  */
599
- getInsuredObjectTypes: function (authorization, options) {
608
+ getInsuredObjectTypes: function (productCode, authorization, options) {
600
609
  return __awaiter(this, void 0, void 0, function () {
601
610
  var localVarAxiosArgs;
602
611
  return __generator(this, function (_a) {
603
612
  switch (_a.label) {
604
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjectTypes(authorization, options)];
613
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjectTypes(productCode, authorization, options)];
605
614
  case 1:
606
615
  localVarAxiosArgs = _a.sent();
607
616
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -610,7 +619,7 @@ var ProductsApiFp = function (configuration) {
610
619
  });
611
620
  },
612
621
  /**
613
- * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
622
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
614
623
  * @summary List insured objects
615
624
  * @param {string} productCode
616
625
  * @param {string} [authorization] Bearer Token
@@ -652,7 +661,7 @@ var ProductsApiFp = function (configuration) {
652
661
  });
653
662
  },
654
663
  /**
655
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
664
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
656
665
  * @summary List product factors
657
666
  * @param {string} productCode
658
667
  * @param {string} allValues
@@ -674,24 +683,25 @@ var ProductsApiFp = function (configuration) {
674
683
  });
675
684
  },
676
685
  /**
677
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
686
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
678
687
  * @summary List products
679
688
  * @param {string} [authorization] Bearer Token
680
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
689
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
681
690
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
682
691
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
683
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
692
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
684
693
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
685
694
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
695
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
686
696
  * @param {*} [options] Override http request option.
687
697
  * @throws {RequiredError}
688
698
  */
689
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
699
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
690
700
  return __awaiter(this, void 0, void 0, function () {
691
701
  var localVarAxiosArgs;
692
702
  return __generator(this, function (_a) {
693
703
  switch (_a.label) {
694
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
704
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
695
705
  case 1:
696
706
  localVarAxiosArgs = _a.sent();
697
707
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -746,17 +756,18 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
746
756
  return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
747
757
  },
748
758
  /**
749
- * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
759
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
750
760
  * @summary List insured object types
761
+ * @param {string} productCode
751
762
  * @param {string} [authorization] Bearer Token
752
763
  * @param {*} [options] Override http request option.
753
764
  * @throws {RequiredError}
754
765
  */
755
- getInsuredObjectTypes: function (authorization, options) {
756
- return localVarFp.getInsuredObjectTypes(authorization, options).then(function (request) { return request(axios, basePath); });
766
+ getInsuredObjectTypes: function (productCode, authorization, options) {
767
+ return localVarFp.getInsuredObjectTypes(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
757
768
  },
758
769
  /**
759
- * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
770
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
760
771
  * @summary List insured objects
761
772
  * @param {string} productCode
762
773
  * @param {string} [authorization] Bearer Token
@@ -778,7 +789,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
778
789
  return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
779
790
  },
780
791
  /**
781
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
792
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
782
793
  * @summary List product factors
783
794
  * @param {string} productCode
784
795
  * @param {string} allValues
@@ -790,20 +801,21 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
790
801
  return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
791
802
  },
792
803
  /**
793
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
804
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
794
805
  * @summary List products
795
806
  * @param {string} [authorization] Bearer Token
796
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
807
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
797
808
  * @param {any} [pageToken] A cursor for use in pagination. pageToken is an ID that defines your place in the list. For instance, if you make a list request and receive 100 objects and pageToken=1, your subsequent call can include pageToken=2 in order to fetch the next page of the list.
798
809
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
799
- * @param {any} [search] Search the list by any field. For instance, if you want to search by code add code=xxx in order to fetch the result.
810
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
800
811
  * @param {any} [order] The order parameter determines how the results should be sorted according to a specified field. It functions similarly to an SQL ORDER BY. Sorting can be performed in either ascending (ASC) or descending (DESC) order. Default: ASC.
801
812
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
813
+ * @param {any} [filters] Filters the response by one or multiple fields. Advanced filter functionality allows you to perform more complex filtering operations. In general, fetching filtered responses conserves bandwidth and reduces response time.
802
814
  * @param {*} [options] Override http request option.
803
815
  * @throws {RequiredError}
804
816
  */
805
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
806
- return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
817
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
818
+ return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
807
819
  },
808
820
  };
809
821
  };
@@ -856,7 +868,7 @@ var ProductsApi = /** @class */ (function (_super) {
856
868
  return (0, exports.ProductsApiFp)(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
857
869
  };
858
870
  /**
859
- * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
871
+ * Returns a list of insured object types you have previously created. The insured object types are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
860
872
  * @summary List insured object types
861
873
  * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
862
874
  * @param {*} [options] Override http request option.
@@ -865,11 +877,10 @@ var ProductsApi = /** @class */ (function (_super) {
865
877
  */
866
878
  ProductsApi.prototype.getInsuredObjectTypes = function (requestParameters, options) {
867
879
  var _this = this;
868
- if (requestParameters === void 0) { requestParameters = {}; }
869
- return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
880
+ return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
870
881
  };
871
882
  /**
872
- * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
883
+ * Returns a list of insured objects you have previously created. The insured objects are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
873
884
  * @summary List insured objects
874
885
  * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
875
886
  * @param {*} [options] Override http request option.
@@ -893,7 +904,7 @@ var ProductsApi = /** @class */ (function (_super) {
893
904
  return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
894
905
  };
895
906
  /**
896
- * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
907
+ * Returns a list of product factors you have previously created. The product factors are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
897
908
  * @summary List product factors
898
909
  * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
899
910
  * @param {*} [options] Override http request option.
@@ -905,7 +916,7 @@ var ProductsApi = /** @class */ (function (_super) {
905
916
  return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
906
917
  };
907
918
  /**
908
- * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
919
+ * Returns a list of products you have previously created. The products are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
909
920
  * @summary List products
910
921
  * @param {ProductsApiListProductsRequest} requestParameters Request parameters.
911
922
  * @param {*} [options] Override http request option.
@@ -915,7 +926,7 @@ var ProductsApi = /** @class */ (function (_super) {
915
926
  ProductsApi.prototype.listProducts = function (requestParameters, options) {
916
927
  var _this = this;
917
928
  if (requestParameters === void 0) { requestParameters = {}; }
918
- return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
929
+ return (0, exports.ProductsApiFp)(this.configuration).listProducts(requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, requestParameters.filters, options).then(function (request) { return request(_this.axios, _this.basePath); });
919
930
  };
920
931
  return ProductsApi;
921
932
  }(base_1.BaseAPI));
package/dist/api.d.ts CHANGED
@@ -10,9 +10,11 @@
10
10
  * Do not edit the class manually.
11
11
  */
12
12
  export * from './api/address-completions-validations-api';
13
+ export * from './api/booking-funnels-api';
13
14
  export * from './api/default-api';
14
15
  export * from './api/documents-api';
15
16
  export * from './api/leads-api';
17
+ export * from './api/named-ranges-api';
16
18
  export * from './api/notifications-api';
17
19
  export * from './api/payments-setup-api';
18
20
  export * from './api/products-api';
package/dist/api.js CHANGED
@@ -28,9 +28,11 @@ 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/booking-funnels-api"), exports);
31
32
  __exportStar(require("./api/default-api"), exports);
32
33
  __exportStar(require("./api/documents-api"), exports);
33
34
  __exportStar(require("./api/leads-api"), exports);
35
+ __exportStar(require("./api/named-ranges-api"), exports);
34
36
  __exportStar(require("./api/notifications-api"), exports);
35
37
  __exportStar(require("./api/payments-setup-api"), exports);
36
38
  __exportStar(require("./api/products-api"), exports);
package/dist/base.js CHANGED
@@ -125,6 +125,7 @@ var BaseAPI = /** @class */ (function () {
125
125
  if (configuration) {
126
126
  this.configuration = configuration;
127
127
  this.basePath = configuration.basePath || this.basePath;
128
+ this.configuration.accessToken = this.tokenData.accessToken ? "Bearer ".concat(this.tokenData.accessToken) : '';
128
129
  }
129
130
  else {
130
131
  var _a = this.tokenData, accessToken = _a.accessToken, username = _a.username;
@@ -17,32 +17,32 @@
17
17
  export interface AddressFieldScoreClass {
18
18
  /**
19
19
  * Score for the city field
20
- * @type {object}
20
+ * @type {number}
21
21
  * @memberof AddressFieldScoreClass
22
22
  */
23
- 'city'?: object;
23
+ 'city'?: number;
24
24
  /**
25
25
  * Score for the city field
26
- * @type {object}
26
+ * @type {number}
27
27
  * @memberof AddressFieldScoreClass
28
28
  */
29
- 'country'?: object;
29
+ 'country'?: number;
30
30
  /**
31
31
  * Score for the city field
32
- * @type {object}
32
+ * @type {number}
33
33
  * @memberof AddressFieldScoreClass
34
34
  */
35
- 'houseNumber'?: object;
35
+ 'houseNumber'?: number;
36
36
  /**
37
37
  * Score for the city field
38
- * @type {object}
38
+ * @type {number}
39
39
  * @memberof AddressFieldScoreClass
40
40
  */
41
- 'postalCode'?: object;
41
+ 'postalCode'?: number;
42
42
  /**
43
43
  * Score for the city field
44
- * @type {object}
44
+ * @type {number}
45
45
  * @memberof AddressFieldScoreClass
46
46
  */
47
- 'street'?: object;
47
+ 'street'?: number;
48
48
  }
@@ -0,0 +1,90 @@
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 BookingFunnelClass
16
+ */
17
+ export interface BookingFunnelClass {
18
+ /**
19
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
20
+ * @type {number}
21
+ * @memberof BookingFunnelClass
22
+ */
23
+ 'id': number;
24
+ /**
25
+ * Unique identifier for the object.
26
+ * @type {string}
27
+ * @memberof BookingFunnelClass
28
+ */
29
+ 'code': string;
30
+ /**
31
+ * Internal unique identifier for the object. You should not have to use this, use code instead.
32
+ * @type {number}
33
+ * @memberof BookingFunnelClass
34
+ */
35
+ 'parentId': number;
36
+ /**
37
+ * Booking Funnel name.
38
+ * @type {string}
39
+ * @memberof BookingFunnelClass
40
+ */
41
+ 'name': string;
42
+ /**
43
+ * Booking Funnel snippet.
44
+ * @type {string}
45
+ * @memberof BookingFunnelClass
46
+ */
47
+ 'jsCode': string;
48
+ /**
49
+ * Booking Funnel JSON steps configuration.
50
+ * @type {object}
51
+ * @memberof BookingFunnelClass
52
+ */
53
+ 'stepsConfig': object;
54
+ /**
55
+ * Booking Funnel custom CSS.
56
+ * @type {string}
57
+ * @memberof BookingFunnelClass
58
+ */
59
+ 'css': string;
60
+ /**
61
+ * Booking Funnel logo url.
62
+ * @type {string}
63
+ * @memberof BookingFunnelClass
64
+ */
65
+ 'logoPath': string;
66
+ /**
67
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
68
+ * @type {string}
69
+ * @memberof BookingFunnelClass
70
+ */
71
+ 'productSlug': string;
72
+ /**
73
+ * Booking Funnel version.
74
+ * @type {number}
75
+ * @memberof BookingFunnelClass
76
+ */
77
+ 'version': number;
78
+ /**
79
+ * Time at which the object was created.
80
+ * @type {string}
81
+ * @memberof BookingFunnelClass
82
+ */
83
+ 'createdAt': string;
84
+ /**
85
+ * Time at which the object was updated.
86
+ * @type {string}
87
+ * @memberof BookingFunnelClass
88
+ */
89
+ 'updatedAt': string;
90
+ }
@@ -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 });
@@ -116,7 +116,7 @@ export declare const CreateAccountRequestDtoTitleEnum: {
116
116
  readonly Empty: "";
117
117
  readonly Dr: "Dr.";
118
118
  readonly DrMed: "Dr. med.";
119
- readonly ProfDrMed: "Prof. Dr. med.";
119
+ readonly Prof: "Prof.";
120
120
  };
121
121
  export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
122
122
  export declare const CreateAccountRequestDtoGenderEnum: {
@@ -18,7 +18,7 @@ exports.CreateAccountRequestDtoTitleEnum = {
18
18
  Empty: '',
19
19
  Dr: 'Dr.',
20
20
  DrMed: 'Dr. med.',
21
- ProfDrMed: 'Prof. Dr. med.'
21
+ Prof: 'Prof.'
22
22
  };
23
23
  exports.CreateAccountRequestDtoGenderEnum = {
24
24
  Male: 'male',
@@ -16,13 +16,13 @@
16
16
  */
17
17
  export interface CreateDocumentRequestDto {
18
18
  /**
19
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
19
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
20
20
  * @type {string}
21
21
  * @memberof CreateDocumentRequestDto
22
22
  */
23
23
  'templateSlug': string;
24
24
  /**
25
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
25
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
26
26
  * @type {string}
27
27
  * @memberof CreateDocumentRequestDto
28
28
  */
@@ -40,7 +40,7 @@ export interface CreateLeadRequestDto {
40
40
  */
41
41
  'productCode'?: string;
42
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.
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
44
  * @type {string}
45
45
  * @memberof CreateLeadRequestDto
46
46
  */
@@ -105,4 +105,16 @@ export interface CreateLeadRequestDto {
105
105
  * @memberof CreateLeadRequestDto
106
106
  */
107
107
  'validate'?: boolean;
108
+ /**
109
+ * An optional partner code to establish a link between a lead and a partner. It must be sent together with the partner role code. It will be validated regardless of the value of the \'validate\' flag.
110
+ * @type {string}
111
+ * @memberof CreateLeadRequestDto
112
+ */
113
+ 'partnerCode'?: string;
114
+ /**
115
+ * An optional partner role code to establish a link between a lead and a partner. It must be sent together with the partner code. It will be validated regardless of the value of the \'validate\' flag.
116
+ * @type {string}
117
+ * @memberof CreateLeadRequestDto
118
+ */
119
+ 'partnerRoleCode'?: string;
108
120
  }
@@ -16,7 +16,7 @@
16
16
  */
17
17
  export interface CreatePresignedPostRequestDto {
18
18
  /**
19
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
19
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
20
20
  * @type {string}
21
21
  * @memberof CreatePresignedPostRequestDto
22
22
  */
@@ -82,7 +82,7 @@ export interface CreatePresignedPostRequestDto {
82
82
  */
83
83
  'filename': string;
84
84
  /**
85
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
85
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
86
86
  * @type {string}
87
87
  * @memberof CreatePresignedPostRequestDto
88
88
  */
@@ -28,7 +28,7 @@ export interface DocumentClass {
28
28
  */
29
29
  'code': string;
30
30
  /**
31
- * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
31
+ * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
32
32
  * @type {string}
33
33
  * @memberof DocumentClass
34
34
  */
@@ -0,0 +1,42 @@
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 FilterNamedRangeResponseClass
16
+ */
17
+ export interface FilterNamedRangeResponseClass {
18
+ /**
19
+ * Named range rows as an array of JSON objects.
20
+ * @type {Array<string>}
21
+ * @memberof FilterNamedRangeResponseClass
22
+ */
23
+ 'items': Array<string>;
24
+ /**
25
+ * Next page token.
26
+ * @type {string}
27
+ * @memberof FilterNamedRangeResponseClass
28
+ */
29
+ 'nextPageToken': string;
30
+ /**
31
+ * Items per page.
32
+ * @type {number}
33
+ * @memberof FilterNamedRangeResponseClass
34
+ */
35
+ 'itemsPerPage': number;
36
+ /**
37
+ * Total amount of items.
38
+ * @type {number}
39
+ * @memberof FilterNamedRangeResponseClass
40
+ */
41
+ 'totalItems': number;
42
+ }
@@ -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,25 @@
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
+ import { BookingFunnelClass } from './booking-funnel-class';
13
+ /**
14
+ *
15
+ * @export
16
+ * @interface GetBookingFunnelResponseClass
17
+ */
18
+ export interface GetBookingFunnelResponseClass {
19
+ /**
20
+ * The list of booking funnels.
21
+ * @type {BookingFunnelClass}
22
+ * @memberof GetBookingFunnelResponseClass
23
+ */
24
+ 'bookingFunnel': BookingFunnelClass;
25
+ }