@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
|
@@ -247,10 +247,11 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
247
247
|
* @param {string} productCode
|
|
248
248
|
* @param {string} code
|
|
249
249
|
* @param {string} [authorization] Bearer Token
|
|
250
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
250
251
|
* @param {*} [options] Override http request option.
|
|
251
252
|
* @throws {RequiredError}
|
|
252
253
|
*/
|
|
253
|
-
downloadProductDocumentUrl: function (productCode, code, authorization, options) {
|
|
254
|
+
downloadProductDocumentUrl: function (productCode, code, authorization, contentDisposition, options) {
|
|
254
255
|
if (options === void 0) { options = {}; }
|
|
255
256
|
return __awaiter(_this, void 0, void 0, function () {
|
|
256
257
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -279,6 +280,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
279
280
|
// authentication bearer required
|
|
280
281
|
// http bearer authentication required
|
|
281
282
|
_a.sent();
|
|
283
|
+
if (contentDisposition !== undefined) {
|
|
284
|
+
localVarQueryParameter['contentDisposition'] = contentDisposition;
|
|
285
|
+
}
|
|
282
286
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
283
287
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
284
288
|
}
|
|
@@ -294,7 +298,7 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
294
298
|
});
|
|
295
299
|
},
|
|
296
300
|
/**
|
|
297
|
-
* Returns a list of documents you have previously created.
|
|
301
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
298
302
|
* @summary List documents
|
|
299
303
|
* @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
300
304
|
* @param {string} [authorization] Bearer Token
|
|
@@ -360,20 +364,21 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
360
364
|
});
|
|
361
365
|
},
|
|
362
366
|
/**
|
|
363
|
-
* Returns a list of product documents you have previously created.
|
|
367
|
+
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
364
368
|
* @summary List product documents
|
|
365
369
|
* @param {string} productCode
|
|
366
370
|
* @param {string} [authorization] Bearer Token
|
|
367
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
371
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
368
372
|
* @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.
|
|
369
373
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
370
|
-
* @param {any} [search]
|
|
374
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
371
375
|
* @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.
|
|
372
376
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
377
|
+
* @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.
|
|
373
378
|
* @param {*} [options] Override http request option.
|
|
374
379
|
* @throws {RequiredError}
|
|
375
380
|
*/
|
|
376
|
-
listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
381
|
+
listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
377
382
|
if (options === void 0) { options = {}; }
|
|
378
383
|
return __awaiter(_this, void 0, void 0, function () {
|
|
379
384
|
var localVarPath, localVarUrlObj, baseOptions, baseAccessToken, localVarRequestOptions, localVarHeaderParameter, localVarQueryParameter, headersFromBaseOptions;
|
|
@@ -417,6 +422,9 @@ var DocumentsApiAxiosParamCreator = function (configuration) {
|
|
|
417
422
|
if (expand !== undefined) {
|
|
418
423
|
localVarQueryParameter['expand'] = expand;
|
|
419
424
|
}
|
|
425
|
+
if (filters !== undefined) {
|
|
426
|
+
localVarQueryParameter['filters'] = filters;
|
|
427
|
+
}
|
|
420
428
|
if (authorization !== undefined && authorization !== null || baseAccessToken !== undefined && baseAccessToken !== null) {
|
|
421
429
|
localVarHeaderParameter['Authorization'] = String(authorization ? authorization : baseAccessToken);
|
|
422
430
|
}
|
|
@@ -560,15 +568,16 @@ var DocumentsApiFp = function (configuration) {
|
|
|
560
568
|
* @param {string} productCode
|
|
561
569
|
* @param {string} code
|
|
562
570
|
* @param {string} [authorization] Bearer Token
|
|
571
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
563
572
|
* @param {*} [options] Override http request option.
|
|
564
573
|
* @throws {RequiredError}
|
|
565
574
|
*/
|
|
566
|
-
downloadProductDocumentUrl: function (productCode, code, authorization, options) {
|
|
575
|
+
downloadProductDocumentUrl: function (productCode, code, authorization, contentDisposition, options) {
|
|
567
576
|
return __awaiter(this, void 0, void 0, function () {
|
|
568
577
|
var localVarAxiosArgs;
|
|
569
578
|
return __generator(this, function (_a) {
|
|
570
579
|
switch (_a.label) {
|
|
571
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadProductDocumentUrl(productCode, code, authorization, options)];
|
|
580
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.downloadProductDocumentUrl(productCode, code, authorization, contentDisposition, options)];
|
|
572
581
|
case 1:
|
|
573
582
|
localVarAxiosArgs = _a.sent();
|
|
574
583
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -577,7 +586,7 @@ var DocumentsApiFp = function (configuration) {
|
|
|
577
586
|
});
|
|
578
587
|
},
|
|
579
588
|
/**
|
|
580
|
-
* Returns a list of documents you have previously created.
|
|
589
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
581
590
|
* @summary List documents
|
|
582
591
|
* @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
583
592
|
* @param {string} [authorization] Bearer Token
|
|
@@ -602,25 +611,26 @@ var DocumentsApiFp = function (configuration) {
|
|
|
602
611
|
});
|
|
603
612
|
},
|
|
604
613
|
/**
|
|
605
|
-
* Returns a list of product documents you have previously created.
|
|
614
|
+
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
606
615
|
* @summary List product documents
|
|
607
616
|
* @param {string} productCode
|
|
608
617
|
* @param {string} [authorization] Bearer Token
|
|
609
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
618
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
610
619
|
* @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.
|
|
611
620
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
612
|
-
* @param {any} [search]
|
|
621
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
613
622
|
* @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.
|
|
614
623
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
624
|
+
* @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.
|
|
615
625
|
* @param {*} [options] Override http request option.
|
|
616
626
|
* @throws {RequiredError}
|
|
617
627
|
*/
|
|
618
|
-
listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
628
|
+
listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
619
629
|
return __awaiter(this, void 0, void 0, function () {
|
|
620
630
|
var localVarAxiosArgs;
|
|
621
631
|
return __generator(this, function (_a) {
|
|
622
632
|
switch (_a.label) {
|
|
623
|
-
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productCode, authorization, pageSize, pageToken, filter, search, order, expand, options)];
|
|
633
|
+
case 0: return [4 /*yield*/, localVarAxiosParamCreator.listProductDocuments(productCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options)];
|
|
624
634
|
case 1:
|
|
625
635
|
localVarAxiosArgs = _a.sent();
|
|
626
636
|
return [2 /*return*/, (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)];
|
|
@@ -699,14 +709,15 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
699
709
|
* @param {string} productCode
|
|
700
710
|
* @param {string} code
|
|
701
711
|
* @param {string} [authorization] Bearer Token
|
|
712
|
+
* @param {'attachment' | 'inline'} [contentDisposition] Content disposition override. Default will be depending on the document type.
|
|
702
713
|
* @param {*} [options] Override http request option.
|
|
703
714
|
* @throws {RequiredError}
|
|
704
715
|
*/
|
|
705
|
-
downloadProductDocumentUrl: function (productCode, code, authorization, options) {
|
|
706
|
-
return localVarFp.downloadProductDocumentUrl(productCode, code, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
716
|
+
downloadProductDocumentUrl: function (productCode, code, authorization, contentDisposition, options) {
|
|
717
|
+
return localVarFp.downloadProductDocumentUrl(productCode, code, authorization, contentDisposition, options).then(function (request) { return request(axios, basePath); });
|
|
707
718
|
},
|
|
708
719
|
/**
|
|
709
|
-
* Returns a list of documents you have previously created.
|
|
720
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
710
721
|
* @summary List documents
|
|
711
722
|
* @param {string} filter Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
712
723
|
* @param {string} [authorization] Bearer Token
|
|
@@ -721,21 +732,22 @@ var DocumentsApiFactory = function (configuration, basePath, axios) {
|
|
|
721
732
|
return localVarFp.listDocuments(filter, authorization, pageSize, pageToken, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
722
733
|
},
|
|
723
734
|
/**
|
|
724
|
-
* Returns a list of product documents you have previously created.
|
|
735
|
+
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
725
736
|
* @summary List product documents
|
|
726
737
|
* @param {string} productCode
|
|
727
738
|
* @param {string} [authorization] Bearer Token
|
|
728
|
-
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and
|
|
739
|
+
* @param {any} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
729
740
|
* @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.
|
|
730
741
|
* @param {any} [filter] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
731
|
-
* @param {any} [search]
|
|
742
|
+
* @param {any} [search] To search the list by any field, pass search=xxx to fetch the result.
|
|
732
743
|
* @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.
|
|
733
744
|
* @param {any} [expand] Use this parameter to fetch additional information about the list items. The expand query parameter increases the set of fields that appear in the response in addition to the default ones. Expanding resources can reduce the number of API calls required to accomplish a task. However, use this with parsimony as some expanded fields can drastically increase payload size.
|
|
745
|
+
* @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.
|
|
734
746
|
* @param {*} [options] Override http request option.
|
|
735
747
|
* @throws {RequiredError}
|
|
736
748
|
*/
|
|
737
|
-
listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, options) {
|
|
738
|
-
return localVarFp.listProductDocuments(productCode, authorization, pageSize, pageToken, filter, search, order, expand, options).then(function (request) { return request(axios, basePath); });
|
|
749
|
+
listProductDocuments: function (productCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options) {
|
|
750
|
+
return localVarFp.listProductDocuments(productCode, authorization, pageSize, pageToken, filter, search, order, expand, filters, options).then(function (request) { return request(axios, basePath); });
|
|
739
751
|
},
|
|
740
752
|
/**
|
|
741
753
|
* This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days.
|
|
@@ -808,10 +820,10 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
808
820
|
*/
|
|
809
821
|
DocumentsApi.prototype.downloadProductDocumentUrl = function (requestParameters, options) {
|
|
810
822
|
var _this = this;
|
|
811
|
-
return (0, exports.DocumentsApiFp)(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
823
|
+
return (0, exports.DocumentsApiFp)(this.configuration).downloadProductDocumentUrl(requestParameters.productCode, requestParameters.code, requestParameters.authorization, requestParameters.contentDisposition, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
812
824
|
};
|
|
813
825
|
/**
|
|
814
|
-
* Returns a list of documents you have previously created.
|
|
826
|
+
* Returns a list of documents you have previously created. The documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
815
827
|
* @summary List documents
|
|
816
828
|
* @param {DocumentsApiListDocumentsRequest} requestParameters Request parameters.
|
|
817
829
|
* @param {*} [options] Override http request option.
|
|
@@ -823,7 +835,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
823
835
|
return (0, exports.DocumentsApiFp)(this.configuration).listDocuments(requestParameters.filter, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
824
836
|
};
|
|
825
837
|
/**
|
|
826
|
-
* Returns a list of product documents you have previously created.
|
|
838
|
+
* Returns a list of product documents you have previously created. The product documents are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
827
839
|
* @summary List product documents
|
|
828
840
|
* @param {DocumentsApiListProductDocumentsRequest} requestParameters Request parameters.
|
|
829
841
|
* @param {*} [options] Override http request option.
|
|
@@ -832,7 +844,7 @@ var DocumentsApi = /** @class */ (function (_super) {
|
|
|
832
844
|
*/
|
|
833
845
|
DocumentsApi.prototype.listProductDocuments = function (requestParameters, options) {
|
|
834
846
|
var _this = this;
|
|
835
|
-
return (0, exports.DocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productCode, requestParameters.authorization, requestParameters.pageSize, requestParameters.pageToken, requestParameters.filter, requestParameters.search, requestParameters.order, requestParameters.expand, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
847
|
+
return (0, exports.DocumentsApiFp)(this.configuration).listProductDocuments(requestParameters.productCode, 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); });
|
|
836
848
|
};
|
|
837
849
|
/**
|
|
838
850
|
* This will create a URL that allows user upload its documents in Database.The URL can expire between 5 minutes and 7 days.
|
package/dist/api/leads-api.d.ts
CHANGED
|
@@ -52,7 +52,7 @@ export declare const LeadsApiAxiosParamCreator: (configuration?: Configuration)
|
|
|
52
52
|
*/
|
|
53
53
|
createLeadSync: (createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
54
54
|
/**
|
|
55
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
55
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
56
56
|
* @summary Retrieve the lead
|
|
57
57
|
* @param {string} code Unique identifier for the object.
|
|
58
58
|
* @param {string} [authorization] Bearer Token
|
|
@@ -122,7 +122,7 @@ export declare const LeadsApiFp: (configuration?: Configuration) => {
|
|
|
122
122
|
*/
|
|
123
123
|
createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CreateLeadResponseClass>>;
|
|
124
124
|
/**
|
|
125
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
125
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
126
126
|
* @summary Retrieve the lead
|
|
127
127
|
* @param {string} code Unique identifier for the object.
|
|
128
128
|
* @param {string} [authorization] Bearer Token
|
|
@@ -192,7 +192,7 @@ export declare const LeadsApiFactory: (configuration?: Configuration, basePath?:
|
|
|
192
192
|
*/
|
|
193
193
|
createLeadSync(createLeadRequestDto: CreateLeadRequestDto, authorization?: string, options?: any): AxiosPromise<CreateLeadResponseClass>;
|
|
194
194
|
/**
|
|
195
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
195
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
196
196
|
* @summary Retrieve the lead
|
|
197
197
|
* @param {string} code Unique identifier for the object.
|
|
198
198
|
* @param {string} [authorization] Bearer Token
|
|
@@ -403,7 +403,7 @@ export declare class LeadsApi extends BaseAPI {
|
|
|
403
403
|
*/
|
|
404
404
|
createLeadSync(requestParameters: LeadsApiCreateLeadSyncRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<CreateLeadResponseClass, any>>;
|
|
405
405
|
/**
|
|
406
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
406
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
407
407
|
* @summary Retrieve the lead
|
|
408
408
|
* @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
|
|
409
409
|
* @param {*} [options] Override http request option.
|
package/dist/api/leads-api.js
CHANGED
|
@@ -240,7 +240,7 @@ var LeadsApiAxiosParamCreator = function (configuration) {
|
|
|
240
240
|
});
|
|
241
241
|
},
|
|
242
242
|
/**
|
|
243
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
243
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
244
244
|
* @summary Retrieve the lead
|
|
245
245
|
* @param {string} code Unique identifier for the object.
|
|
246
246
|
* @param {string} [authorization] Bearer Token
|
|
@@ -511,7 +511,7 @@ var LeadsApiFp = function (configuration) {
|
|
|
511
511
|
});
|
|
512
512
|
},
|
|
513
513
|
/**
|
|
514
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
514
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
515
515
|
* @summary Retrieve the lead
|
|
516
516
|
* @param {string} code Unique identifier for the object.
|
|
517
517
|
* @param {string} [authorization] Bearer Token
|
|
@@ -639,7 +639,7 @@ var LeadsApiFactory = function (configuration, basePath, axios) {
|
|
|
639
639
|
return localVarFp.createLeadSync(createLeadRequestDto, authorization, options).then(function (request) { return request(axios, basePath); });
|
|
640
640
|
},
|
|
641
641
|
/**
|
|
642
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
642
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
643
643
|
* @summary Retrieve the lead
|
|
644
644
|
* @param {string} code Unique identifier for the object.
|
|
645
645
|
* @param {string} [authorization] Bearer Token
|
|
@@ -734,7 +734,7 @@ var LeadsApi = /** @class */ (function (_super) {
|
|
|
734
734
|
return (0, exports.LeadsApiFp)(this.configuration).createLeadSync(requestParameters.createLeadRequestDto, requestParameters.authorization, options).then(function (request) { return request(_this.axios, _this.basePath); });
|
|
735
735
|
};
|
|
736
736
|
/**
|
|
737
|
-
* Retrieves the details of the lead that was previously created. Supply the unique lead code
|
|
737
|
+
* Retrieves the details of the lead that was previously created. Supply the unique lead code that was returned when you created it and Emil Api will return the corresponding lead information.
|
|
738
738
|
* @summary Retrieve the lead
|
|
739
739
|
* @param {LeadsApiGetLeadRequest} requestParameters Request parameters.
|
|
740
740
|
* @param {*} [options] Override http request option.
|
|
@@ -0,0 +1,150 @@
|
|
|
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 { AxiosPromise, AxiosInstance, AxiosRequestConfig } from 'axios';
|
|
13
|
+
import { Configuration } from '../configuration';
|
|
14
|
+
import { RequestArgs, BaseAPI } from '../base';
|
|
15
|
+
import { FilterNamedRangeResponseClass } from '../models';
|
|
16
|
+
/**
|
|
17
|
+
* NamedRangesApi - axios parameter creator
|
|
18
|
+
* @export
|
|
19
|
+
*/
|
|
20
|
+
export declare const NamedRangesApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
21
|
+
/**
|
|
22
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
23
|
+
* @summary List named range file records
|
|
24
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
25
|
+
* @param {string} name Name of Named Range.
|
|
26
|
+
* @param {string} [authorization] Bearer Token
|
|
27
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
28
|
+
* @param {string} [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.
|
|
29
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
30
|
+
* @param {string} [search] Search the list by any field.
|
|
31
|
+
* @param {string} [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.
|
|
32
|
+
* @param {*} [options] Override http request option.
|
|
33
|
+
* @throws {RequiredError}
|
|
34
|
+
*/
|
|
35
|
+
filterNamedRange: (productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
36
|
+
};
|
|
37
|
+
/**
|
|
38
|
+
* NamedRangesApi - functional programming interface
|
|
39
|
+
* @export
|
|
40
|
+
*/
|
|
41
|
+
export declare const NamedRangesApiFp: (configuration?: Configuration) => {
|
|
42
|
+
/**
|
|
43
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
44
|
+
* @summary List named range file records
|
|
45
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
46
|
+
* @param {string} name Name of Named Range.
|
|
47
|
+
* @param {string} [authorization] Bearer Token
|
|
48
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
49
|
+
* @param {string} [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.
|
|
50
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
51
|
+
* @param {string} [search] Search the list by any field.
|
|
52
|
+
* @param {string} [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.
|
|
53
|
+
* @param {*} [options] Override http request option.
|
|
54
|
+
* @throws {RequiredError}
|
|
55
|
+
*/
|
|
56
|
+
filterNamedRange(productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<FilterNamedRangeResponseClass>>;
|
|
57
|
+
};
|
|
58
|
+
/**
|
|
59
|
+
* NamedRangesApi - factory interface
|
|
60
|
+
* @export
|
|
61
|
+
*/
|
|
62
|
+
export declare const NamedRangesApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
63
|
+
/**
|
|
64
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
65
|
+
* @summary List named range file records
|
|
66
|
+
* @param {string} productSlug A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
67
|
+
* @param {string} name Name of Named Range.
|
|
68
|
+
* @param {string} [authorization] Bearer Token
|
|
69
|
+
* @param {number} [pageSize] A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
70
|
+
* @param {string} [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.
|
|
71
|
+
* @param {string} [filters] Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
72
|
+
* @param {string} [search] Search the list by any field.
|
|
73
|
+
* @param {string} [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.
|
|
74
|
+
* @param {*} [options] Override http request option.
|
|
75
|
+
* @throws {RequiredError}
|
|
76
|
+
*/
|
|
77
|
+
filterNamedRange(productSlug: string, name: string, authorization?: string, pageSize?: number, pageToken?: string, filters?: string, search?: string, order?: string, options?: any): AxiosPromise<FilterNamedRangeResponseClass>;
|
|
78
|
+
};
|
|
79
|
+
/**
|
|
80
|
+
* Request parameters for filterNamedRange operation in NamedRangesApi.
|
|
81
|
+
* @export
|
|
82
|
+
* @interface NamedRangesApiFilterNamedRangeRequest
|
|
83
|
+
*/
|
|
84
|
+
export interface NamedRangesApiFilterNamedRangeRequest {
|
|
85
|
+
/**
|
|
86
|
+
* A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id.
|
|
87
|
+
* @type {string}
|
|
88
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
89
|
+
*/
|
|
90
|
+
readonly productSlug: string;
|
|
91
|
+
/**
|
|
92
|
+
* Name of Named Range.
|
|
93
|
+
* @type {string}
|
|
94
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
95
|
+
*/
|
|
96
|
+
readonly name: string;
|
|
97
|
+
/**
|
|
98
|
+
* Bearer Token
|
|
99
|
+
* @type {string}
|
|
100
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
101
|
+
*/
|
|
102
|
+
readonly authorization?: string;
|
|
103
|
+
/**
|
|
104
|
+
* A limit on the number of objects to be returned. Limit ranges between 1 and 50. Default: 10.
|
|
105
|
+
* @type {number}
|
|
106
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
107
|
+
*/
|
|
108
|
+
readonly pageSize?: number;
|
|
109
|
+
/**
|
|
110
|
+
* 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.
|
|
111
|
+
* @type {string}
|
|
112
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
113
|
+
*/
|
|
114
|
+
readonly pageToken?: string;
|
|
115
|
+
/**
|
|
116
|
+
* Filter the response by one or multiple fields. In general, fetching filtered responses will conserve bandwidth and reduce response time.
|
|
117
|
+
* @type {string}
|
|
118
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
119
|
+
*/
|
|
120
|
+
readonly filters?: string;
|
|
121
|
+
/**
|
|
122
|
+
* Search the list by any field.
|
|
123
|
+
* @type {string}
|
|
124
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
125
|
+
*/
|
|
126
|
+
readonly search?: string;
|
|
127
|
+
/**
|
|
128
|
+
* 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.
|
|
129
|
+
* @type {string}
|
|
130
|
+
* @memberof NamedRangesApiFilterNamedRange
|
|
131
|
+
*/
|
|
132
|
+
readonly order?: string;
|
|
133
|
+
}
|
|
134
|
+
/**
|
|
135
|
+
* NamedRangesApi - object-oriented interface
|
|
136
|
+
* @export
|
|
137
|
+
* @class NamedRangesApi
|
|
138
|
+
* @extends {BaseAPI}
|
|
139
|
+
*/
|
|
140
|
+
export declare class NamedRangesApi extends BaseAPI {
|
|
141
|
+
/**
|
|
142
|
+
* Returns a list of named range file records you have previously created. The named range file records are returned in sorted order, with the oldest one appearing first. For more information about pagination, read the Pagination documentation.
|
|
143
|
+
* @summary List named range file records
|
|
144
|
+
* @param {NamedRangesApiFilterNamedRangeRequest} requestParameters Request parameters.
|
|
145
|
+
* @param {*} [options] Override http request option.
|
|
146
|
+
* @throws {RequiredError}
|
|
147
|
+
* @memberof NamedRangesApi
|
|
148
|
+
*/
|
|
149
|
+
filterNamedRange(requestParameters: NamedRangesApiFilterNamedRangeRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<FilterNamedRangeResponseClass, any>>;
|
|
150
|
+
}
|