@emilgroup/public-api-sdk 1.25.1 → 1.27.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.
- package/.openapi-generator/FILES +9 -0
- package/README.md +2 -2
- package/api/booking-funnels-api.ts +161 -0
- package/api/documents-api.ts +56 -28
- package/api/leads-api.ts +4 -4
- package/api/named-ranges-api.ts +250 -0
- package/api/products-api.ts +65 -38
- package/api.ts +4 -0
- package/base.ts +6 -1
- package/dist/api/booking-funnels-api.d.ts +96 -0
- package/dist/api/booking-funnels-api.js +223 -0
- package/dist/api/documents-api.d.ts +40 -22
- package/dist/api/documents-api.js +38 -26
- package/dist/api/leads-api.d.ts +4 -4
- package/dist/api/leads-api.js +4 -4
- package/dist/api/named-ranges-api.d.ts +150 -0
- package/dist/api/named-ranges-api.js +263 -0
- package/dist/api/products-api.d.ts +49 -31
- package/dist/api/products-api.js +47 -36
- package/dist/api.d.ts +2 -0
- package/dist/api.js +2 -0
- package/dist/base.d.ts +1 -0
- package/dist/base.js +5 -1
- package/dist/models/address-field-score-class.d.ts +10 -10
- package/dist/models/booking-funnel-class.d.ts +90 -0
- package/dist/models/booking-funnel-class.js +15 -0
- package/dist/models/create-account-request-dto.d.ts +1 -1
- package/dist/models/create-account-request-dto.js +1 -1
- package/dist/models/create-document-request-dto.d.ts +2 -2
- package/dist/models/create-lead-request-dto.d.ts +13 -1
- package/dist/models/create-presigned-post-request-dto.d.ts +2 -2
- package/dist/models/document-class.d.ts +1 -1
- package/dist/models/filter-named-range-response-class.d.ts +42 -0
- package/dist/models/filter-named-range-response-class.js +15 -0
- package/dist/models/get-booking-funnel-response-class.d.ts +25 -0
- package/dist/models/get-booking-funnel-response-class.js +15 -0
- package/dist/models/index.d.ts +7 -0
- package/dist/models/index.js +7 -0
- package/dist/models/initiate-email-verification-dto.d.ts +1 -1
- package/dist/models/insured-object-type-class.d.ts +1 -1
- package/dist/models/lead-account-class.d.ts +1 -1
- package/dist/models/lead-account-class.js +1 -1
- package/dist/models/lead-class.d.ts +7 -0
- package/dist/models/lead-policy-object-class.d.ts +2 -2
- package/dist/models/partner-class.d.ts +60 -0
- package/dist/models/partner-class.js +15 -0
- package/dist/models/partner-link-class.d.ts +86 -0
- package/dist/models/partner-link-class.js +15 -0
- package/dist/models/partner-role-class.d.ts +54 -0
- package/dist/models/partner-role-class.js +15 -0
- package/dist/models/product-class.d.ts +1 -1
- package/dist/models/product-document-class.d.ts +14 -2
- package/dist/models/product-factor-for-version-class.d.ts +4 -3
- package/dist/models/product-factor-value-for-version-class.d.ts +42 -0
- package/dist/models/product-factor-value-for-version-class.js +15 -0
- package/dist/models/send-notification-request-dto.d.ts +1 -1
- package/dist/models/update-lead-request-dto.d.ts +1 -1
- package/models/address-field-score-class.ts +10 -10
- package/models/booking-funnel-class.ts +96 -0
- package/models/create-account-request-dto.ts +1 -1
- package/models/create-document-request-dto.ts +2 -2
- package/models/create-lead-request-dto.ts +13 -1
- package/models/create-presigned-post-request-dto.ts +2 -2
- package/models/document-class.ts +1 -1
- package/models/filter-named-range-response-class.ts +48 -0
- package/models/get-booking-funnel-response-class.ts +31 -0
- package/models/index.ts +7 -0
- package/models/initiate-email-verification-dto.ts +1 -1
- package/models/insured-object-type-class.ts +1 -1
- package/models/lead-account-class.ts +1 -1
- package/models/lead-class.ts +7 -0
- package/models/lead-policy-object-class.ts +2 -2
- package/models/partner-class.ts +66 -0
- package/models/partner-link-class.ts +92 -0
- package/models/partner-role-class.ts +60 -0
- package/models/product-class.ts +1 -1
- package/models/product-document-class.ts +14 -2
- package/models/product-factor-for-version-class.ts +4 -3
- package/models/product-factor-value-for-version-class.ts +48 -0
- package/models/send-notification-request-dto.ts +1 -1
- package/models/update-lead-request-dto.ts +1 -1
- package/package.json +1 -1
package/dist/api/products-api.js
CHANGED
|
@@ -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.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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]
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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]
|
|
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.
|
|
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.
|
|
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.
|
|
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.
|
|
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
|
|
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]
|
|
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.
|
|
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
|
-
|
|
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.
|
|
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.
|
|
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.
|
|
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.d.ts
CHANGED
|
@@ -54,6 +54,7 @@ export declare class BaseAPI {
|
|
|
54
54
|
private tokenData?;
|
|
55
55
|
constructor(configuration?: Configuration, basePath?: string, axios?: AxiosInstance);
|
|
56
56
|
selectEnvironment(env: Environment): void;
|
|
57
|
+
selectBasePath(path: string): void;
|
|
57
58
|
authorize(username: string, password: string): Promise<void>;
|
|
58
59
|
refreshTokenInternal(): Promise<string>;
|
|
59
60
|
private storeTokenData;
|
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;
|
|
@@ -137,7 +138,10 @@ var BaseAPI = /** @class */ (function () {
|
|
|
137
138
|
this.attachInterceptor(axios);
|
|
138
139
|
}
|
|
139
140
|
BaseAPI.prototype.selectEnvironment = function (env) {
|
|
140
|
-
this.
|
|
141
|
+
this.selectBasePath(env);
|
|
142
|
+
};
|
|
143
|
+
BaseAPI.prototype.selectBasePath = function (path) {
|
|
144
|
+
this.configuration.basePath = path;
|
|
141
145
|
};
|
|
142
146
|
BaseAPI.prototype.authorize = function (username, password) {
|
|
143
147
|
return __awaiter(this, void 0, void 0, function () {
|
|
@@ -17,32 +17,32 @@
|
|
|
17
17
|
export interface AddressFieldScoreClass {
|
|
18
18
|
/**
|
|
19
19
|
* Score for the city field
|
|
20
|
-
* @type {
|
|
20
|
+
* @type {number}
|
|
21
21
|
* @memberof AddressFieldScoreClass
|
|
22
22
|
*/
|
|
23
|
-
'city'?:
|
|
23
|
+
'city'?: number;
|
|
24
24
|
/**
|
|
25
25
|
* Score for the city field
|
|
26
|
-
* @type {
|
|
26
|
+
* @type {number}
|
|
27
27
|
* @memberof AddressFieldScoreClass
|
|
28
28
|
*/
|
|
29
|
-
'country'?:
|
|
29
|
+
'country'?: number;
|
|
30
30
|
/**
|
|
31
31
|
* Score for the city field
|
|
32
|
-
* @type {
|
|
32
|
+
* @type {number}
|
|
33
33
|
* @memberof AddressFieldScoreClass
|
|
34
34
|
*/
|
|
35
|
-
'houseNumber'?:
|
|
35
|
+
'houseNumber'?: number;
|
|
36
36
|
/**
|
|
37
37
|
* Score for the city field
|
|
38
|
-
* @type {
|
|
38
|
+
* @type {number}
|
|
39
39
|
* @memberof AddressFieldScoreClass
|
|
40
40
|
*/
|
|
41
|
-
'postalCode'?:
|
|
41
|
+
'postalCode'?: number;
|
|
42
42
|
/**
|
|
43
43
|
* Score for the city field
|
|
44
|
-
* @type {
|
|
44
|
+
* @type {number}
|
|
45
45
|
* @memberof AddressFieldScoreClass
|
|
46
46
|
*/
|
|
47
|
-
'street'?:
|
|
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
|
|
119
|
+
readonly Prof: "Prof.";
|
|
120
120
|
};
|
|
121
121
|
export type CreateAccountRequestDtoTitleEnum = typeof CreateAccountRequestDtoTitleEnum[keyof typeof CreateAccountRequestDtoTitleEnum];
|
|
122
122
|
export declare const CreateAccountRequestDtoGenderEnum: {
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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 });
|