@emilgroup/public-api-sdk-node 1.27.1 → 1.29.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 (79) hide show
  1. package/.openapi-generator/FILES +9 -0
  2. package/README.md +18 -2
  3. package/api/booking-funnels-api.ts +165 -0
  4. package/api/documents-api.ts +56 -28
  5. package/api/leads-api.ts +4 -4
  6. package/api/named-ranges-api.ts +254 -0
  7. package/api/products-api.ts +65 -38
  8. package/api.ts +4 -0
  9. package/dist/api/booking-funnels-api.d.ts +96 -0
  10. package/dist/api/booking-funnels-api.js +227 -0
  11. package/dist/api/documents-api.d.ts +40 -22
  12. package/dist/api/documents-api.js +38 -26
  13. package/dist/api/leads-api.d.ts +4 -4
  14. package/dist/api/leads-api.js +4 -4
  15. package/dist/api/named-ranges-api.d.ts +150 -0
  16. package/dist/api/named-ranges-api.js +267 -0
  17. package/dist/api/products-api.d.ts +49 -31
  18. package/dist/api/products-api.js +47 -36
  19. package/dist/api.d.ts +2 -0
  20. package/dist/api.js +2 -0
  21. package/dist/models/address-field-score-class.d.ts +10 -10
  22. package/dist/models/booking-funnel-class.d.ts +90 -0
  23. package/dist/models/booking-funnel-class.js +15 -0
  24. package/dist/models/create-account-request-dto.d.ts +1 -1
  25. package/dist/models/create-account-request-dto.js +1 -1
  26. package/dist/models/create-document-request-dto.d.ts +2 -2
  27. package/dist/models/create-lead-request-dto.d.ts +13 -1
  28. package/dist/models/create-presigned-post-request-dto.d.ts +2 -2
  29. package/dist/models/document-class.d.ts +1 -1
  30. package/dist/models/filter-named-range-response-class.d.ts +42 -0
  31. package/dist/models/filter-named-range-response-class.js +15 -0
  32. package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
  33. package/dist/models/get-booking-funnel-response-class.js +15 -0
  34. package/dist/models/index.d.ts +7 -0
  35. package/dist/models/index.js +7 -0
  36. package/dist/models/initiate-email-verification-dto.d.ts +1 -1
  37. package/dist/models/insured-object-type-class.d.ts +1 -1
  38. package/dist/models/lead-account-class.d.ts +1 -1
  39. package/dist/models/lead-account-class.js +1 -1
  40. package/dist/models/lead-class.d.ts +7 -0
  41. package/dist/models/lead-policy-object-class.d.ts +2 -2
  42. package/dist/models/partner-class.d.ts +60 -0
  43. package/dist/models/partner-class.js +15 -0
  44. package/dist/models/partner-link-class.d.ts +86 -0
  45. package/dist/models/partner-link-class.js +15 -0
  46. package/dist/models/partner-role-class.d.ts +54 -0
  47. package/dist/models/partner-role-class.js +15 -0
  48. package/dist/models/product-class.d.ts +1 -1
  49. package/dist/models/product-document-class.d.ts +14 -2
  50. package/dist/models/product-factor-for-version-class.d.ts +4 -3
  51. package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
  52. package/dist/models/product-factor-value-for-version-class.js +15 -0
  53. package/dist/models/send-notification-request-dto.d.ts +1 -1
  54. package/dist/models/update-lead-request-dto.d.ts +1 -1
  55. package/models/address-field-score-class.ts +10 -10
  56. package/models/booking-funnel-class.ts +96 -0
  57. package/models/create-account-request-dto.ts +1 -1
  58. package/models/create-document-request-dto.ts +2 -2
  59. package/models/create-lead-request-dto.ts +13 -1
  60. package/models/create-presigned-post-request-dto.ts +2 -2
  61. package/models/document-class.ts +1 -1
  62. package/models/filter-named-range-response-class.ts +48 -0
  63. package/models/get-booking-funnel-response-class.ts +31 -0
  64. package/models/index.ts +7 -0
  65. package/models/initiate-email-verification-dto.ts +1 -1
  66. package/models/insured-object-type-class.ts +1 -1
  67. package/models/lead-account-class.ts +1 -1
  68. package/models/lead-class.ts +7 -0
  69. package/models/lead-policy-object-class.ts +2 -2
  70. package/models/partner-class.ts +66 -0
  71. package/models/partner-link-class.ts +92 -0
  72. package/models/partner-role-class.ts +60 -0
  73. package/models/product-class.ts +1 -1
  74. package/models/product-document-class.ts +14 -2
  75. package/models/product-factor-for-version-class.ts +4 -3
  76. package/models/product-factor-value-for-version-class.ts +48 -0
  77. package/models/send-notification-request-dto.ts +1 -1
  78. package/models/update-lead-request-dto.ts +1 -1
  79. package/package.json +1 -1
@@ -256,20 +256,24 @@ var ProductsApiAxiosParamCreator = function (configuration) {
256
256
  });
257
257
  },
258
258
  /**
259
- * 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.
259
+ * 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.
260
260
  * @summary List insured object types
261
+ * @param {string} productCode
261
262
  * @param {string} [authorization] Bearer Token
262
263
  * @param {*} [options] Override http request option.
263
264
  * @throws {RequiredError}
264
265
  */
265
- getInsuredObjectTypes: function (authorization, options) {
266
+ getInsuredObjectTypes: function (productCode, authorization, options) {
266
267
  if (options === void 0) { options = {}; }
267
268
  return __awaiter(_this, void 0, void 0, function () {
268
269
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
269
270
  return __generator(this, function (_a) {
270
271
  switch (_a.label) {
271
272
  case 0:
272
- localVarPath = "/publicapi/v1/products/{product_code}/insured-object-types";
273
+ // verify required parameter 'productCode' is not null or undefined
274
+ (0, common_1.assertParamExists)('getInsuredObjectTypes', 'productCode', productCode);
275
+ localVarPath = "/publicapi/v1/products/{product_code}/insured-object-types"
276
+ .replace("{".concat("product_code", "}"), encodeURIComponent(String(productCode)));
273
277
  localVarUrlObj = new url_1.URL(localVarPath, common_1.DUMMY_BASE_URL);
274
278
  if (configuration) {
275
279
  baseOptions = configuration.baseOptions;
@@ -300,7 +304,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
300
304
  });
301
305
  },
302
306
  /**
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.
307
+ * 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.
304
308
  * @summary List insured objects
305
309
  * @param {string} productCode
306
310
  * @param {string} [authorization] Bearer Token
@@ -396,7 +400,7 @@ var ProductsApiAxiosParamCreator = function (configuration) {
396
400
  });
397
401
  },
398
402
  /**
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.
403
+ * 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.
400
404
  * @summary List product factors
401
405
  * @param {string} productCode
402
406
  * @param {string} allValues
@@ -450,19 +454,20 @@ var ProductsApiAxiosParamCreator = function (configuration) {
450
454
  });
451
455
  },
452
456
  /**
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.
457
+ * 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.
454
458
  * @summary List products
455
459
  * @param {string} [authorization] Bearer Token
456
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
460
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
457
461
  * @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.
458
462
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
459
- * @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.
463
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
460
464
  * @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.
461
465
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
466
+ * @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.
462
467
  * @param {*} [options] Override http request option.
463
468
  * @throws {RequiredError}
464
469
  */
465
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
470
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
466
471
  if (options === void 0) { options = {}; }
467
472
  return __awaiter(_this, void 0, void 0, function () {
468
473
  var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
@@ -503,6 +508,9 @@ var ProductsApiAxiosParamCreator = function (configuration) {
503
508
  if (expand !== undefined) {
504
509
  localVarQueryParameter['expand'] = expand;
505
510
  }
511
+ if (filters !== undefined) {
512
+ localVarQueryParameter['filters'] = filters;
513
+ }
506
514
  if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
507
515
  localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
508
516
  }
@@ -594,18 +602,19 @@ var ProductsApiFp = function (configuration) {
594
602
  });
595
603
  },
596
604
  /**
597
- * 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.
605
+ * 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.
598
606
  * @summary List insured object types
607
+ * @param {string} productCode
599
608
  * @param {string} [authorization] Bearer Token
600
609
  * @param {*} [options] Override http request option.
601
610
  * @throws {RequiredError}
602
611
  */
603
- getInsuredObjectTypes: function (authorization, options) {
612
+ getInsuredObjectTypes: function (productCode, authorization, options) {
604
613
  return __awaiter(this, void 0, void 0, function () {
605
614
  var localVarAxiosArgs;
606
615
  return __generator(this, function (_a) {
607
616
  switch (_a.label) {
608
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjectTypes(authorization, options)];
617
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.getInsuredObjectTypes(productCode, authorization, options)];
609
618
  case 1:
610
619
  localVarAxiosArgs = _a.sent();
611
620
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -614,7 +623,7 @@ var ProductsApiFp = function (configuration) {
614
623
  });
615
624
  },
616
625
  /**
617
- * 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.
626
+ * 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.
618
627
  * @summary List insured objects
619
628
  * @param {string} productCode
620
629
  * @param {string} [authorization] Bearer Token
@@ -656,7 +665,7 @@ var ProductsApiFp = function (configuration) {
656
665
  });
657
666
  },
658
667
  /**
659
- * 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.
668
+ * 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.
660
669
  * @summary List product factors
661
670
  * @param {string} productCode
662
671
  * @param {string} allValues
@@ -678,24 +687,25 @@ var ProductsApiFp = function (configuration) {
678
687
  });
679
688
  },
680
689
  /**
681
- * 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.
690
+ * 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.
682
691
  * @summary List products
683
692
  * @param {string} [authorization] Bearer Token
684
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
693
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
685
694
  * @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.
686
695
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
687
- * @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.
696
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
688
697
  * @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.
689
698
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
699
+ * @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.
690
700
  * @param {*} [options] Override http request option.
691
701
  * @throws {RequiredError}
692
702
  */
693
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
703
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
694
704
  return __awaiter(this, void 0, void 0, function () {
695
705
  var localVarAxiosArgs;
696
706
  return __generator(this, function (_a) {
697
707
  switch (_a.label) {
698
- case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options)];
708
+ case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
699
709
  case 1:
700
710
  localVarAxiosArgs = _a.sent();
701
711
  return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
@@ -750,17 +760,18 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
750
760
  return localVarFp.customApplication(productCode, createCustomApplicationRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
751
761
  },
752
762
  /**
753
- * 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.
763
+ * 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.
754
764
  * @summary List insured object types
765
+ * @param {string} productCode
755
766
  * @param {string} [authorization] Bearer Token
756
767
  * @param {*} [options] Override http request option.
757
768
  * @throws {RequiredError}
758
769
  */
759
- getInsuredObjectTypes: function (authorization, options) {
760
- return localVarFp.getInsuredObjectTypes(authorization, options).then(function (request) { return request(axios, basePath); });
770
+ getInsuredObjectTypes: function (productCode, authorization, options) {
771
+ return localVarFp.getInsuredObjectTypes(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
761
772
  },
762
773
  /**
763
- * 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.
774
+ * 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.
764
775
  * @summary List insured objects
765
776
  * @param {string} productCode
766
777
  * @param {string} [authorization] Bearer Token
@@ -782,7 +793,7 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
782
793
  return localVarFp.getProductCustomCss(productCode, authorization, options).then(function (request) { return request(axios, basePath); });
783
794
  },
784
795
  /**
785
- * 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.
796
+ * 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.
786
797
  * @summary List product factors
787
798
  * @param {string} productCode
788
799
  * @param {string} allValues
@@ -794,20 +805,21 @@ var ProductsApiFactory = function (configuration, basePath, axios) {
794
805
  return localVarFp.getProductFactors(productCode, allValues, authorization, options).then(function (request) { return request(axios, basePath); });
795
806
  },
796
807
  /**
797
- * 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.
808
+ * 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.
798
809
  * @summary List products
799
810
  * @param {string} [authorization] Bearer Token
800
- * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 100. Default: 10.
811
+ * @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
801
812
  * @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.
802
813
  * @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
803
- * @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.
814
+ * @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
804
815
  * @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.
805
816
  * @param {any} [expand] You can expand product versions and insured object types list in this endpoint.
817
+ * @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.
806
818
  * @param {*} [options] Override http request option.
807
819
  * @throws {RequiredError}
808
820
  */
809
- listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, options) {
810
- return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
821
+ listProducts: function (authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
822
+ return localVarFp.listProducts(authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
811
823
  },
812
824
  };
813
825
  };
@@ -860,7 +872,7 @@ var ProductsApi = /** @class */ (function (_super) {
860
872
  return (0, exports.ProductsApiFp)(this.configuration).customApplication(requestParameters.productCode, requestParameters.createCustomApplicationRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
861
873
  };
862
874
  /**
863
- * 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.
875
+ * 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.
864
876
  * @summary List insured object types
865
877
  * @param {ProductsApiGetInsuredObjectTypesRequest} requestParameters Request parameters.
866
878
  * @param {*} [options] Override http request option.
@@ -869,11 +881,10 @@ var ProductsApi = /** @class */ (function (_super) {
869
881
  */
870
882
  ProductsApi.prototype.getInsuredObjectTypes = function (requestParameters, options) {
871
883
  var _this = this;
872
- if (requestParameters === void 0) { requestParameters = {}; }
873
- return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
884
+ return (0, exports.ProductsApiFp)(this.configuration).getInsuredObjectTypes(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
874
885
  };
875
886
  /**
876
- * 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.
887
+ * 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.
877
888
  * @summary List insured objects
878
889
  * @param {ProductsApiGetInsuredObjectsRequest} requestParameters Request parameters.
879
890
  * @param {*} [options] Override http request option.
@@ -897,7 +908,7 @@ var ProductsApi = /** @class */ (function (_super) {
897
908
  return (0, exports.ProductsApiFp)(this.configuration).getProductCustomCss(requestParameters.productCode, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
898
909
  };
899
910
  /**
900
- * 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.
911
+ * 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.
901
912
  * @summary List product factors
902
913
  * @param {ProductsApiGetProductFactorsRequest} requestParameters Request parameters.
903
914
  * @param {*} [options] Override http request option.
@@ -909,7 +920,7 @@ var ProductsApi = /** @class */ (function (_super) {
909
920
  return (0, exports.ProductsApiFp)(this.configuration).getProductFactors(requestParameters.productCode, requestParameters.allValues, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
910
921
  };
911
922
  /**
912
- * 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.
923
+ * 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.
913
924
  * @summary List products
914
925
  * @param {ProductsApiListProductsRequest} requestParameters Request parameters.
915
926
  * @param {*} [options] Override http request option.
@@ -919,7 +930,7 @@ var ProductsApi = /** @class */ (function (_super) {
919
930
  ProductsApi.prototype.listProducts = function (requestParameters, options) {
920
931
  var _this = this;
921
932
  if (requestParameters === void 0) { requestParameters = {}; }
922
- 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); });
933
+ 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); });
923
934
  };
924
935
  return ProductsApi;
925
936
  }(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);
@@ -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
+ }
@@ -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 });