@teemill/website 0.26.2 → 0.27.1
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/README.md +4 -39
- package/api.ts +724 -4376
- package/base.ts +1 -25
- package/common.ts +1 -2
- package/configuration.ts +1 -18
- package/dist/api.d.ts +680 -3870
- package/dist/api.js +3 -806
- package/dist/base.d.ts +1 -25
- package/dist/base.js +1 -20
- package/dist/common.d.ts +1 -1
- package/dist/common.js +1 -1
- package/dist/configuration.d.ts +1 -18
- package/dist/configuration.js +1 -1
- package/dist/esm/api.d.ts +680 -3870
- package/dist/esm/api.js +1 -800
- package/dist/esm/base.d.ts +1 -25
- package/dist/esm/base.js +1 -20
- package/dist/esm/common.d.ts +1 -1
- package/dist/esm/common.js +1 -1
- package/dist/esm/configuration.d.ts +1 -18
- package/dist/esm/configuration.js +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/docs/ListDomains200Response.md +22 -0
- package/docs/PaymentApi.md +4 -4
- package/docs/WebsiteApi.md +2 -2
- package/index.ts +1 -1
- package/package.json +1 -1
package/dist/api.js
CHANGED
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
* Website API
|
|
6
6
|
* Manage your PodOS Website
|
|
7
7
|
*
|
|
8
|
-
* The version of the OpenAPI document: 0.
|
|
8
|
+
* The version of the OpenAPI document: 0.27.1
|
|
9
9
|
*
|
|
10
10
|
*
|
|
11
11
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -22,8 +22,8 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
|
|
|
22
22
|
});
|
|
23
23
|
};
|
|
24
24
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
25
|
-
exports.ReviewsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PagesApi = exports.PagesApiFactory = exports.PagesApiFp = exports.PagesApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.FooterApi = exports.FooterApiFactory = exports.FooterApiFp = exports.FooterApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.
|
|
26
|
-
exports.WebsiteApi = exports.WebsiteApiFactory = exports.WebsiteApiFp = exports.WebsiteApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp =
|
|
25
|
+
exports.RoutesApiAxiosParamCreator = exports.ReviewsApi = exports.ReviewsApiFactory = exports.ReviewsApiFp = exports.ReviewsApiAxiosParamCreator = exports.PaymentApi = exports.PaymentApiFactory = exports.PaymentApiFp = exports.PaymentApiAxiosParamCreator = exports.PagesApi = exports.PagesApiFactory = exports.PagesApiFp = exports.PagesApiAxiosParamCreator = exports.MenuApi = exports.MenuApiFactory = exports.MenuApiFp = exports.MenuApiAxiosParamCreator = exports.FooterApi = exports.FooterApiFactory = exports.FooterApiFp = exports.FooterApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.CrossSellApi = exports.CrossSellApiFactory = exports.CrossSellApiFp = exports.CrossSellApiAxiosParamCreator = exports.BlogsApi = exports.BlogsApiFactory = exports.BlogsApiFp = exports.BlogsApiAxiosParamCreator = exports.UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = exports.UpdateMenuRequestItemSubmenuInnerImageTextAlignmentEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonWidthEnum = exports.UpdateMenuRequestItemSubmenuInnerImageButtonBorderRadiusEnum = exports.UpdateMenuRequestItemSubmenuInnerModeEnum = exports.SubmenuInnerImageTextShadowEnum = exports.SubmenuInnerImageTextAlignmentEnum = exports.SubmenuInnerImageButtonWidthEnum = exports.SubmenuInnerImageButtonBorderRadiusEnum = exports.SubmenuInnerImageBorderRadiusEnum = exports.SubmenuInnerModeEnum = exports.SalePriceCurrencyCodeEnum = exports.PriceCurrencyCodeEnum = exports.PaymentAccountMethodEnum = exports.AttributeThumbnailTypeEnum = exports.ApplicationPlacementEnum = exports.ApplicationTechnologyEnum = void 0;
|
|
26
|
+
exports.WebsiteApi = exports.WebsiteApiFactory = exports.WebsiteApiFp = exports.WebsiteApiAxiosParamCreator = exports.SearchApi = exports.SearchApiFactory = exports.SearchApiFp = exports.SearchApiAxiosParamCreator = exports.RoutesApi = exports.RoutesApiFactory = exports.RoutesApiFp = void 0;
|
|
27
27
|
const axios_1 = require("axios");
|
|
28
28
|
// Some imports not used depending on template conditions
|
|
29
29
|
// @ts-ignore
|
|
@@ -121,7 +121,6 @@ exports.UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = {
|
|
|
121
121
|
};
|
|
122
122
|
/**
|
|
123
123
|
* BlogsApi - axios parameter creator
|
|
124
|
-
* @export
|
|
125
124
|
*/
|
|
126
125
|
const BlogsApiAxiosParamCreator = function (configuration) {
|
|
127
126
|
return {
|
|
@@ -348,7 +347,6 @@ const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
348
347
|
exports.BlogsApiAxiosParamCreator = BlogsApiAxiosParamCreator;
|
|
349
348
|
/**
|
|
350
349
|
* BlogsApi - functional programming interface
|
|
351
|
-
* @export
|
|
352
350
|
*/
|
|
353
351
|
const BlogsApiFp = function (configuration) {
|
|
354
352
|
const localVarAxiosParamCreator = (0, exports.BlogsApiAxiosParamCreator)(configuration);
|
|
@@ -448,7 +446,6 @@ const BlogsApiFp = function (configuration) {
|
|
|
448
446
|
exports.BlogsApiFp = BlogsApiFp;
|
|
449
447
|
/**
|
|
450
448
|
* BlogsApi - factory interface
|
|
451
|
-
* @export
|
|
452
449
|
*/
|
|
453
450
|
const BlogsApiFactory = function (configuration, basePath, axios) {
|
|
454
451
|
const localVarFp = (0, exports.BlogsApiFp)(configuration);
|
|
@@ -508,9 +505,6 @@ const BlogsApiFactory = function (configuration, basePath, axios) {
|
|
|
508
505
|
exports.BlogsApiFactory = BlogsApiFactory;
|
|
509
506
|
/**
|
|
510
507
|
* BlogsApi - object-oriented interface
|
|
511
|
-
* @export
|
|
512
|
-
* @class BlogsApi
|
|
513
|
-
* @extends {BaseAPI}
|
|
514
508
|
*/
|
|
515
509
|
class BlogsApi extends base_1.BaseAPI {
|
|
516
510
|
/**
|
|
@@ -519,7 +513,6 @@ class BlogsApi extends base_1.BaseAPI {
|
|
|
519
513
|
* @param {BlogsApiExportBlogsRequest} requestParameters Request parameters.
|
|
520
514
|
* @param {*} [options] Override http request option.
|
|
521
515
|
* @throws {RequiredError}
|
|
522
|
-
* @memberof BlogsApi
|
|
523
516
|
*/
|
|
524
517
|
exportBlogs(requestParameters, options) {
|
|
525
518
|
return (0, exports.BlogsApiFp)(this.configuration).exportBlogs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -530,7 +523,6 @@ class BlogsApi extends base_1.BaseAPI {
|
|
|
530
523
|
* @param {BlogsApiGetBlogRequest} requestParameters Request parameters.
|
|
531
524
|
* @param {*} [options] Override http request option.
|
|
532
525
|
* @throws {RequiredError}
|
|
533
|
-
* @memberof BlogsApi
|
|
534
526
|
*/
|
|
535
527
|
getBlog(requestParameters, options) {
|
|
536
528
|
return (0, exports.BlogsApiFp)(this.configuration).getBlog(requestParameters.project, requestParameters.blogId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -541,7 +533,6 @@ class BlogsApi extends base_1.BaseAPI {
|
|
|
541
533
|
* @param {BlogsApiListBlogsRequest} requestParameters Request parameters.
|
|
542
534
|
* @param {*} [options] Override http request option.
|
|
543
535
|
* @throws {RequiredError}
|
|
544
|
-
* @memberof BlogsApi
|
|
545
536
|
*/
|
|
546
537
|
listBlogs(requestParameters, options) {
|
|
547
538
|
return (0, exports.BlogsApiFp)(this.configuration).listBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -552,7 +543,6 @@ class BlogsApi extends base_1.BaseAPI {
|
|
|
552
543
|
* @param {BlogsApiUpdateBlogRequest} requestParameters Request parameters.
|
|
553
544
|
* @param {*} [options] Override http request option.
|
|
554
545
|
* @throws {RequiredError}
|
|
555
|
-
* @memberof BlogsApi
|
|
556
546
|
*/
|
|
557
547
|
updateBlog(requestParameters, options) {
|
|
558
548
|
return (0, exports.BlogsApiFp)(this.configuration).updateBlog(requestParameters.project, requestParameters.blogId, requestParameters.updateBlogRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -563,714 +553,14 @@ class BlogsApi extends base_1.BaseAPI {
|
|
|
563
553
|
* @param {BlogsApiUpdateBlogsRequest} requestParameters Request parameters.
|
|
564
554
|
* @param {*} [options] Override http request option.
|
|
565
555
|
* @throws {RequiredError}
|
|
566
|
-
* @memberof BlogsApi
|
|
567
556
|
*/
|
|
568
557
|
updateBlogs(requestParameters, options) {
|
|
569
558
|
return (0, exports.BlogsApiFp)(this.configuration).updateBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateBlogsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
570
559
|
}
|
|
571
560
|
}
|
|
572
561
|
exports.BlogsApi = BlogsApi;
|
|
573
|
-
/**
|
|
574
|
-
* CollectionsApi - axios parameter creator
|
|
575
|
-
* @export
|
|
576
|
-
*/
|
|
577
|
-
const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
578
|
-
return {
|
|
579
|
-
/**
|
|
580
|
-
* Create a new website collection.
|
|
581
|
-
* @summary Create website collection
|
|
582
|
-
* @param {string} project What project it is
|
|
583
|
-
* @param {number} [pageToken] Page reference token
|
|
584
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
585
|
-
* @param {string} [search] Search term to filter results
|
|
586
|
-
* @param {CreateCollectionRequest} [createCollectionRequest] Create a new collection
|
|
587
|
-
* @param {*} [options] Override http request option.
|
|
588
|
-
* @throws {RequiredError}
|
|
589
|
-
*/
|
|
590
|
-
createCollection: (project_1, pageToken_1, pageSize_1, search_1, createCollectionRequest_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, createCollectionRequest_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, createCollectionRequest, options = {}) {
|
|
591
|
-
// verify required parameter 'project' is not null or undefined
|
|
592
|
-
(0, common_1.assertParamExists)('createCollection', 'project', project);
|
|
593
|
-
const localVarPath = `/v1/website/collections`;
|
|
594
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
595
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
596
|
-
let baseOptions;
|
|
597
|
-
if (configuration) {
|
|
598
|
-
baseOptions = configuration.baseOptions;
|
|
599
|
-
}
|
|
600
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
601
|
-
const localVarHeaderParameter = {};
|
|
602
|
-
const localVarQueryParameter = {};
|
|
603
|
-
// authentication session-oauth required
|
|
604
|
-
// oauth required
|
|
605
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
606
|
-
// authentication api-key required
|
|
607
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
608
|
-
if (project !== undefined) {
|
|
609
|
-
localVarQueryParameter['project'] = project;
|
|
610
|
-
}
|
|
611
|
-
if (pageToken !== undefined) {
|
|
612
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
613
|
-
}
|
|
614
|
-
if (pageSize !== undefined) {
|
|
615
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
616
|
-
}
|
|
617
|
-
if (search !== undefined) {
|
|
618
|
-
localVarQueryParameter['search'] = search;
|
|
619
|
-
}
|
|
620
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
621
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
622
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
623
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
624
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(createCollectionRequest, localVarRequestOptions, configuration);
|
|
625
|
-
return {
|
|
626
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
627
|
-
options: localVarRequestOptions,
|
|
628
|
-
};
|
|
629
|
-
}),
|
|
630
|
-
/**
|
|
631
|
-
*
|
|
632
|
-
* @summary Delete website collection
|
|
633
|
-
* @param {string} project What project it is
|
|
634
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
635
|
-
* @param {*} [options] Override http request option.
|
|
636
|
-
* @throws {RequiredError}
|
|
637
|
-
*/
|
|
638
|
-
deleteCollection: (project_1, collectionId_1, ...args_1) => __awaiter(this, [project_1, collectionId_1, ...args_1], void 0, function* (project, collectionId, options = {}) {
|
|
639
|
-
// verify required parameter 'project' is not null or undefined
|
|
640
|
-
(0, common_1.assertParamExists)('deleteCollection', 'project', project);
|
|
641
|
-
// verify required parameter 'collectionId' is not null or undefined
|
|
642
|
-
(0, common_1.assertParamExists)('deleteCollection', 'collectionId', collectionId);
|
|
643
|
-
const localVarPath = `/v1/website/collections/{collectionId}`
|
|
644
|
-
.replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
|
|
645
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
646
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
647
|
-
let baseOptions;
|
|
648
|
-
if (configuration) {
|
|
649
|
-
baseOptions = configuration.baseOptions;
|
|
650
|
-
}
|
|
651
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
652
|
-
const localVarHeaderParameter = {};
|
|
653
|
-
const localVarQueryParameter = {};
|
|
654
|
-
// authentication session-oauth required
|
|
655
|
-
// oauth required
|
|
656
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
657
|
-
// authentication api-key required
|
|
658
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
659
|
-
if (project !== undefined) {
|
|
660
|
-
localVarQueryParameter['project'] = project;
|
|
661
|
-
}
|
|
662
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
663
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
664
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
665
|
-
return {
|
|
666
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
667
|
-
options: localVarRequestOptions,
|
|
668
|
-
};
|
|
669
|
-
}),
|
|
670
|
-
/**
|
|
671
|
-
* Export collections as a CSV file.
|
|
672
|
-
* @summary Export collections
|
|
673
|
-
* @param {string} project What project it is
|
|
674
|
-
* @param {*} [options] Override http request option.
|
|
675
|
-
* @throws {RequiredError}
|
|
676
|
-
*/
|
|
677
|
-
exportCollections: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
678
|
-
// verify required parameter 'project' is not null or undefined
|
|
679
|
-
(0, common_1.assertParamExists)('exportCollections', 'project', project);
|
|
680
|
-
const localVarPath = `/v1/website/collections/export`;
|
|
681
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
682
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
683
|
-
let baseOptions;
|
|
684
|
-
if (configuration) {
|
|
685
|
-
baseOptions = configuration.baseOptions;
|
|
686
|
-
}
|
|
687
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
688
|
-
const localVarHeaderParameter = {};
|
|
689
|
-
const localVarQueryParameter = {};
|
|
690
|
-
// authentication session-oauth required
|
|
691
|
-
// oauth required
|
|
692
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
693
|
-
// authentication api-key required
|
|
694
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
695
|
-
if (project !== undefined) {
|
|
696
|
-
localVarQueryParameter['project'] = project;
|
|
697
|
-
}
|
|
698
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
699
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
700
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
701
|
-
return {
|
|
702
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
703
|
-
options: localVarRequestOptions,
|
|
704
|
-
};
|
|
705
|
-
}),
|
|
706
|
-
/**
|
|
707
|
-
*
|
|
708
|
-
* @summary Get website collection
|
|
709
|
-
* @param {string} project What project it is
|
|
710
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
711
|
-
* @param {*} [options] Override http request option.
|
|
712
|
-
* @throws {RequiredError}
|
|
713
|
-
*/
|
|
714
|
-
getCollection: (project_1, collectionId_1, ...args_1) => __awaiter(this, [project_1, collectionId_1, ...args_1], void 0, function* (project, collectionId, options = {}) {
|
|
715
|
-
// verify required parameter 'project' is not null or undefined
|
|
716
|
-
(0, common_1.assertParamExists)('getCollection', 'project', project);
|
|
717
|
-
// verify required parameter 'collectionId' is not null or undefined
|
|
718
|
-
(0, common_1.assertParamExists)('getCollection', 'collectionId', collectionId);
|
|
719
|
-
const localVarPath = `/v1/website/collections/{collectionId}`
|
|
720
|
-
.replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
|
|
721
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
722
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
723
|
-
let baseOptions;
|
|
724
|
-
if (configuration) {
|
|
725
|
-
baseOptions = configuration.baseOptions;
|
|
726
|
-
}
|
|
727
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
728
|
-
const localVarHeaderParameter = {};
|
|
729
|
-
const localVarQueryParameter = {};
|
|
730
|
-
// authentication session-oauth required
|
|
731
|
-
// oauth required
|
|
732
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
733
|
-
// authentication api-key required
|
|
734
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
735
|
-
if (project !== undefined) {
|
|
736
|
-
localVarQueryParameter['project'] = project;
|
|
737
|
-
}
|
|
738
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
739
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
740
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
741
|
-
return {
|
|
742
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
743
|
-
options: localVarRequestOptions,
|
|
744
|
-
};
|
|
745
|
-
}),
|
|
746
|
-
/**
|
|
747
|
-
*
|
|
748
|
-
* @summary List website collections
|
|
749
|
-
* @param {string} project What project it is
|
|
750
|
-
* @param {number} [pageToken] Page reference token
|
|
751
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
752
|
-
* @param {string} [search] Search term to filter results
|
|
753
|
-
* @param {*} [options] Override http request option.
|
|
754
|
-
* @throws {RequiredError}
|
|
755
|
-
*/
|
|
756
|
-
listCollections: (project_1, pageToken_1, pageSize_1, search_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, options = {}) {
|
|
757
|
-
// verify required parameter 'project' is not null or undefined
|
|
758
|
-
(0, common_1.assertParamExists)('listCollections', 'project', project);
|
|
759
|
-
const localVarPath = `/v1/website/collections`;
|
|
760
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
761
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
762
|
-
let baseOptions;
|
|
763
|
-
if (configuration) {
|
|
764
|
-
baseOptions = configuration.baseOptions;
|
|
765
|
-
}
|
|
766
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
767
|
-
const localVarHeaderParameter = {};
|
|
768
|
-
const localVarQueryParameter = {};
|
|
769
|
-
// authentication session-oauth required
|
|
770
|
-
// oauth required
|
|
771
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
772
|
-
// authentication api-key required
|
|
773
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
774
|
-
if (project !== undefined) {
|
|
775
|
-
localVarQueryParameter['project'] = project;
|
|
776
|
-
}
|
|
777
|
-
if (pageToken !== undefined) {
|
|
778
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
779
|
-
}
|
|
780
|
-
if (pageSize !== undefined) {
|
|
781
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
782
|
-
}
|
|
783
|
-
if (search !== undefined) {
|
|
784
|
-
localVarQueryParameter['search'] = search;
|
|
785
|
-
}
|
|
786
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
787
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
788
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
789
|
-
return {
|
|
790
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
791
|
-
options: localVarRequestOptions,
|
|
792
|
-
};
|
|
793
|
-
}),
|
|
794
|
-
/**
|
|
795
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
796
|
-
* @summary AI SEO optimise collections
|
|
797
|
-
* @param {string} project What project it is
|
|
798
|
-
* @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
|
|
799
|
-
* @param {*} [options] Override http request option.
|
|
800
|
-
* @throws {RequiredError}
|
|
801
|
-
*/
|
|
802
|
-
seoOptimiseCollections: (project_1, seoOptimiseCollectionsRequest_1, ...args_1) => __awaiter(this, [project_1, seoOptimiseCollectionsRequest_1, ...args_1], void 0, function* (project, seoOptimiseCollectionsRequest, options = {}) {
|
|
803
|
-
// verify required parameter 'project' is not null or undefined
|
|
804
|
-
(0, common_1.assertParamExists)('seoOptimiseCollections', 'project', project);
|
|
805
|
-
const localVarPath = `/v1/website/collections/ai-seo-optimise`;
|
|
806
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
807
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
808
|
-
let baseOptions;
|
|
809
|
-
if (configuration) {
|
|
810
|
-
baseOptions = configuration.baseOptions;
|
|
811
|
-
}
|
|
812
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
813
|
-
const localVarHeaderParameter = {};
|
|
814
|
-
const localVarQueryParameter = {};
|
|
815
|
-
// authentication session-oauth required
|
|
816
|
-
// oauth required
|
|
817
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
818
|
-
// authentication api-key required
|
|
819
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
820
|
-
if (project !== undefined) {
|
|
821
|
-
localVarQueryParameter['project'] = project;
|
|
822
|
-
}
|
|
823
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
824
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
825
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
826
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
827
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(seoOptimiseCollectionsRequest, localVarRequestOptions, configuration);
|
|
828
|
-
return {
|
|
829
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
830
|
-
options: localVarRequestOptions,
|
|
831
|
-
};
|
|
832
|
-
}),
|
|
833
|
-
/**
|
|
834
|
-
*
|
|
835
|
-
* @summary Update website collection
|
|
836
|
-
* @param {string} project What project it is
|
|
837
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
838
|
-
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
839
|
-
* @param {*} [options] Override http request option.
|
|
840
|
-
* @throws {RequiredError}
|
|
841
|
-
*/
|
|
842
|
-
updateCollection: (project_1, collectionId_1, updateCollectionRequest_1, ...args_1) => __awaiter(this, [project_1, collectionId_1, updateCollectionRequest_1, ...args_1], void 0, function* (project, collectionId, updateCollectionRequest, options = {}) {
|
|
843
|
-
// verify required parameter 'project' is not null or undefined
|
|
844
|
-
(0, common_1.assertParamExists)('updateCollection', 'project', project);
|
|
845
|
-
// verify required parameter 'collectionId' is not null or undefined
|
|
846
|
-
(0, common_1.assertParamExists)('updateCollection', 'collectionId', collectionId);
|
|
847
|
-
const localVarPath = `/v1/website/collections/{collectionId}`
|
|
848
|
-
.replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
|
|
849
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
850
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
851
|
-
let baseOptions;
|
|
852
|
-
if (configuration) {
|
|
853
|
-
baseOptions = configuration.baseOptions;
|
|
854
|
-
}
|
|
855
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
856
|
-
const localVarHeaderParameter = {};
|
|
857
|
-
const localVarQueryParameter = {};
|
|
858
|
-
// authentication session-oauth required
|
|
859
|
-
// oauth required
|
|
860
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
861
|
-
// authentication api-key required
|
|
862
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
863
|
-
if (project !== undefined) {
|
|
864
|
-
localVarQueryParameter['project'] = project;
|
|
865
|
-
}
|
|
866
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
867
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
868
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
869
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
870
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCollectionRequest, localVarRequestOptions, configuration);
|
|
871
|
-
return {
|
|
872
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
873
|
-
options: localVarRequestOptions,
|
|
874
|
-
};
|
|
875
|
-
}),
|
|
876
|
-
/**
|
|
877
|
-
* Update a website collection.
|
|
878
|
-
* @summary Update website collections
|
|
879
|
-
* @param {string} project What project it is
|
|
880
|
-
* @param {number} [pageToken] Page reference token
|
|
881
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
882
|
-
* @param {string} [search] Search term to filter results
|
|
883
|
-
* @param {UpdateCollectionsRequest} [updateCollectionsRequest] Update collections in bulk.
|
|
884
|
-
* @param {*} [options] Override http request option.
|
|
885
|
-
* @throws {RequiredError}
|
|
886
|
-
*/
|
|
887
|
-
updateCollections: (project_1, pageToken_1, pageSize_1, search_1, updateCollectionsRequest_1, ...args_1) => __awaiter(this, [project_1, pageToken_1, pageSize_1, search_1, updateCollectionsRequest_1, ...args_1], void 0, function* (project, pageToken, pageSize, search, updateCollectionsRequest, options = {}) {
|
|
888
|
-
// verify required parameter 'project' is not null or undefined
|
|
889
|
-
(0, common_1.assertParamExists)('updateCollections', 'project', project);
|
|
890
|
-
const localVarPath = `/v1/website/collections`;
|
|
891
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
892
|
-
const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
|
|
893
|
-
let baseOptions;
|
|
894
|
-
if (configuration) {
|
|
895
|
-
baseOptions = configuration.baseOptions;
|
|
896
|
-
}
|
|
897
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
898
|
-
const localVarHeaderParameter = {};
|
|
899
|
-
const localVarQueryParameter = {};
|
|
900
|
-
// authentication session-oauth required
|
|
901
|
-
// oauth required
|
|
902
|
-
yield (0, common_1.setOAuthToObject)(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
903
|
-
// authentication api-key required
|
|
904
|
-
yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
|
|
905
|
-
if (project !== undefined) {
|
|
906
|
-
localVarQueryParameter['project'] = project;
|
|
907
|
-
}
|
|
908
|
-
if (pageToken !== undefined) {
|
|
909
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
910
|
-
}
|
|
911
|
-
if (pageSize !== undefined) {
|
|
912
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
913
|
-
}
|
|
914
|
-
if (search !== undefined) {
|
|
915
|
-
localVarQueryParameter['search'] = search;
|
|
916
|
-
}
|
|
917
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
918
|
-
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
919
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
920
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
921
|
-
localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(updateCollectionsRequest, localVarRequestOptions, configuration);
|
|
922
|
-
return {
|
|
923
|
-
url: (0, common_1.toPathString)(localVarUrlObj),
|
|
924
|
-
options: localVarRequestOptions,
|
|
925
|
-
};
|
|
926
|
-
}),
|
|
927
|
-
};
|
|
928
|
-
};
|
|
929
|
-
exports.CollectionsApiAxiosParamCreator = CollectionsApiAxiosParamCreator;
|
|
930
|
-
/**
|
|
931
|
-
* CollectionsApi - functional programming interface
|
|
932
|
-
* @export
|
|
933
|
-
*/
|
|
934
|
-
const CollectionsApiFp = function (configuration) {
|
|
935
|
-
const localVarAxiosParamCreator = (0, exports.CollectionsApiAxiosParamCreator)(configuration);
|
|
936
|
-
return {
|
|
937
|
-
/**
|
|
938
|
-
* Create a new website collection.
|
|
939
|
-
* @summary Create website collection
|
|
940
|
-
* @param {string} project What project it is
|
|
941
|
-
* @param {number} [pageToken] Page reference token
|
|
942
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
943
|
-
* @param {string} [search] Search term to filter results
|
|
944
|
-
* @param {CreateCollectionRequest} [createCollectionRequest] Create a new collection
|
|
945
|
-
* @param {*} [options] Override http request option.
|
|
946
|
-
* @throws {RequiredError}
|
|
947
|
-
*/
|
|
948
|
-
createCollection(project, pageToken, pageSize, search, createCollectionRequest, options) {
|
|
949
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
950
|
-
var _a, _b, _c;
|
|
951
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createCollection(project, pageToken, pageSize, search, createCollectionRequest, options);
|
|
952
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
953
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.createCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
954
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
955
|
-
});
|
|
956
|
-
},
|
|
957
|
-
/**
|
|
958
|
-
*
|
|
959
|
-
* @summary Delete website collection
|
|
960
|
-
* @param {string} project What project it is
|
|
961
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
962
|
-
* @param {*} [options] Override http request option.
|
|
963
|
-
* @throws {RequiredError}
|
|
964
|
-
*/
|
|
965
|
-
deleteCollection(project, collectionId, options) {
|
|
966
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
967
|
-
var _a, _b, _c;
|
|
968
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCollection(project, collectionId, options);
|
|
969
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
970
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.deleteCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
971
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
972
|
-
});
|
|
973
|
-
},
|
|
974
|
-
/**
|
|
975
|
-
* Export collections as a CSV file.
|
|
976
|
-
* @summary Export collections
|
|
977
|
-
* @param {string} project What project it is
|
|
978
|
-
* @param {*} [options] Override http request option.
|
|
979
|
-
* @throws {RequiredError}
|
|
980
|
-
*/
|
|
981
|
-
exportCollections(project, options) {
|
|
982
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
983
|
-
var _a, _b, _c;
|
|
984
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCollections(project, options);
|
|
985
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
986
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.exportCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
987
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
988
|
-
});
|
|
989
|
-
},
|
|
990
|
-
/**
|
|
991
|
-
*
|
|
992
|
-
* @summary Get website collection
|
|
993
|
-
* @param {string} project What project it is
|
|
994
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
995
|
-
* @param {*} [options] Override http request option.
|
|
996
|
-
* @throws {RequiredError}
|
|
997
|
-
*/
|
|
998
|
-
getCollection(project, collectionId, options) {
|
|
999
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1000
|
-
var _a, _b, _c;
|
|
1001
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCollection(project, collectionId, options);
|
|
1002
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1003
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.getCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1004
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1005
|
-
});
|
|
1006
|
-
},
|
|
1007
|
-
/**
|
|
1008
|
-
*
|
|
1009
|
-
* @summary List website collections
|
|
1010
|
-
* @param {string} project What project it is
|
|
1011
|
-
* @param {number} [pageToken] Page reference token
|
|
1012
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1013
|
-
* @param {string} [search] Search term to filter results
|
|
1014
|
-
* @param {*} [options] Override http request option.
|
|
1015
|
-
* @throws {RequiredError}
|
|
1016
|
-
*/
|
|
1017
|
-
listCollections(project, pageToken, pageSize, search, options) {
|
|
1018
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1019
|
-
var _a, _b, _c;
|
|
1020
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCollections(project, pageToken, pageSize, search, options);
|
|
1021
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1022
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.listCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1023
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1024
|
-
});
|
|
1025
|
-
},
|
|
1026
|
-
/**
|
|
1027
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
1028
|
-
* @summary AI SEO optimise collections
|
|
1029
|
-
* @param {string} project What project it is
|
|
1030
|
-
* @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
|
|
1031
|
-
* @param {*} [options] Override http request option.
|
|
1032
|
-
* @throws {RequiredError}
|
|
1033
|
-
*/
|
|
1034
|
-
seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options) {
|
|
1035
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1036
|
-
var _a, _b, _c;
|
|
1037
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options);
|
|
1038
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1039
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.seoOptimiseCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1040
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1041
|
-
});
|
|
1042
|
-
},
|
|
1043
|
-
/**
|
|
1044
|
-
*
|
|
1045
|
-
* @summary Update website collection
|
|
1046
|
-
* @param {string} project What project it is
|
|
1047
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
1048
|
-
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
1049
|
-
* @param {*} [options] Override http request option.
|
|
1050
|
-
* @throws {RequiredError}
|
|
1051
|
-
*/
|
|
1052
|
-
updateCollection(project, collectionId, updateCollectionRequest, options) {
|
|
1053
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1054
|
-
var _a, _b, _c;
|
|
1055
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCollection(project, collectionId, updateCollectionRequest, options);
|
|
1056
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1057
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.updateCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1058
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1059
|
-
});
|
|
1060
|
-
},
|
|
1061
|
-
/**
|
|
1062
|
-
* Update a website collection.
|
|
1063
|
-
* @summary Update website collections
|
|
1064
|
-
* @param {string} project What project it is
|
|
1065
|
-
* @param {number} [pageToken] Page reference token
|
|
1066
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1067
|
-
* @param {string} [search] Search term to filter results
|
|
1068
|
-
* @param {UpdateCollectionsRequest} [updateCollectionsRequest] Update collections in bulk.
|
|
1069
|
-
* @param {*} [options] Override http request option.
|
|
1070
|
-
* @throws {RequiredError}
|
|
1071
|
-
*/
|
|
1072
|
-
updateCollections(project, pageToken, pageSize, search, updateCollectionsRequest, options) {
|
|
1073
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1074
|
-
var _a, _b, _c;
|
|
1075
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCollections(project, pageToken, pageSize, search, updateCollectionsRequest, options);
|
|
1076
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1077
|
-
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['CollectionsApi.updateCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1078
|
-
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1079
|
-
});
|
|
1080
|
-
},
|
|
1081
|
-
};
|
|
1082
|
-
};
|
|
1083
|
-
exports.CollectionsApiFp = CollectionsApiFp;
|
|
1084
|
-
/**
|
|
1085
|
-
* CollectionsApi - factory interface
|
|
1086
|
-
* @export
|
|
1087
|
-
*/
|
|
1088
|
-
const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
1089
|
-
const localVarFp = (0, exports.CollectionsApiFp)(configuration);
|
|
1090
|
-
return {
|
|
1091
|
-
/**
|
|
1092
|
-
* Create a new website collection.
|
|
1093
|
-
* @summary Create website collection
|
|
1094
|
-
* @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
|
|
1095
|
-
* @param {*} [options] Override http request option.
|
|
1096
|
-
* @throws {RequiredError}
|
|
1097
|
-
*/
|
|
1098
|
-
createCollection(requestParameters, options) {
|
|
1099
|
-
return localVarFp.createCollection(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createCollectionRequest, options).then((request) => request(axios, basePath));
|
|
1100
|
-
},
|
|
1101
|
-
/**
|
|
1102
|
-
*
|
|
1103
|
-
* @summary Delete website collection
|
|
1104
|
-
* @param {CollectionsApiDeleteCollectionRequest} requestParameters Request parameters.
|
|
1105
|
-
* @param {*} [options] Override http request option.
|
|
1106
|
-
* @throws {RequiredError}
|
|
1107
|
-
*/
|
|
1108
|
-
deleteCollection(requestParameters, options) {
|
|
1109
|
-
return localVarFp.deleteCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(axios, basePath));
|
|
1110
|
-
},
|
|
1111
|
-
/**
|
|
1112
|
-
* Export collections as a CSV file.
|
|
1113
|
-
* @summary Export collections
|
|
1114
|
-
* @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
|
|
1115
|
-
* @param {*} [options] Override http request option.
|
|
1116
|
-
* @throws {RequiredError}
|
|
1117
|
-
*/
|
|
1118
|
-
exportCollections(requestParameters, options) {
|
|
1119
|
-
return localVarFp.exportCollections(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1120
|
-
},
|
|
1121
|
-
/**
|
|
1122
|
-
*
|
|
1123
|
-
* @summary Get website collection
|
|
1124
|
-
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
1125
|
-
* @param {*} [options] Override http request option.
|
|
1126
|
-
* @throws {RequiredError}
|
|
1127
|
-
*/
|
|
1128
|
-
getCollection(requestParameters, options) {
|
|
1129
|
-
return localVarFp.getCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(axios, basePath));
|
|
1130
|
-
},
|
|
1131
|
-
/**
|
|
1132
|
-
*
|
|
1133
|
-
* @summary List website collections
|
|
1134
|
-
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
1135
|
-
* @param {*} [options] Override http request option.
|
|
1136
|
-
* @throws {RequiredError}
|
|
1137
|
-
*/
|
|
1138
|
-
listCollections(requestParameters, options) {
|
|
1139
|
-
return localVarFp.listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1140
|
-
},
|
|
1141
|
-
/**
|
|
1142
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
1143
|
-
* @summary AI SEO optimise collections
|
|
1144
|
-
* @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
|
|
1145
|
-
* @param {*} [options] Override http request option.
|
|
1146
|
-
* @throws {RequiredError}
|
|
1147
|
-
*/
|
|
1148
|
-
seoOptimiseCollections(requestParameters, options) {
|
|
1149
|
-
return localVarFp.seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
1150
|
-
},
|
|
1151
|
-
/**
|
|
1152
|
-
*
|
|
1153
|
-
* @summary Update website collection
|
|
1154
|
-
* @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
|
|
1155
|
-
* @param {*} [options] Override http request option.
|
|
1156
|
-
* @throws {RequiredError}
|
|
1157
|
-
*/
|
|
1158
|
-
updateCollection(requestParameters, options) {
|
|
1159
|
-
return localVarFp.updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(axios, basePath));
|
|
1160
|
-
},
|
|
1161
|
-
/**
|
|
1162
|
-
* Update a website collection.
|
|
1163
|
-
* @summary Update website collections
|
|
1164
|
-
* @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
|
|
1165
|
-
* @param {*} [options] Override http request option.
|
|
1166
|
-
* @throws {RequiredError}
|
|
1167
|
-
*/
|
|
1168
|
-
updateCollections(requestParameters, options) {
|
|
1169
|
-
return localVarFp.updateCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
1170
|
-
},
|
|
1171
|
-
};
|
|
1172
|
-
};
|
|
1173
|
-
exports.CollectionsApiFactory = CollectionsApiFactory;
|
|
1174
|
-
/**
|
|
1175
|
-
* CollectionsApi - object-oriented interface
|
|
1176
|
-
* @export
|
|
1177
|
-
* @class CollectionsApi
|
|
1178
|
-
* @extends {BaseAPI}
|
|
1179
|
-
*/
|
|
1180
|
-
class CollectionsApi extends base_1.BaseAPI {
|
|
1181
|
-
/**
|
|
1182
|
-
* Create a new website collection.
|
|
1183
|
-
* @summary Create website collection
|
|
1184
|
-
* @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
|
|
1185
|
-
* @param {*} [options] Override http request option.
|
|
1186
|
-
* @throws {RequiredError}
|
|
1187
|
-
* @memberof CollectionsApi
|
|
1188
|
-
*/
|
|
1189
|
-
createCollection(requestParameters, options) {
|
|
1190
|
-
return (0, exports.CollectionsApiFp)(this.configuration).createCollection(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createCollectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1191
|
-
}
|
|
1192
|
-
/**
|
|
1193
|
-
*
|
|
1194
|
-
* @summary Delete website collection
|
|
1195
|
-
* @param {CollectionsApiDeleteCollectionRequest} requestParameters Request parameters.
|
|
1196
|
-
* @param {*} [options] Override http request option.
|
|
1197
|
-
* @throws {RequiredError}
|
|
1198
|
-
* @memberof CollectionsApi
|
|
1199
|
-
*/
|
|
1200
|
-
deleteCollection(requestParameters, options) {
|
|
1201
|
-
return (0, exports.CollectionsApiFp)(this.configuration).deleteCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(this.axios, this.basePath));
|
|
1202
|
-
}
|
|
1203
|
-
/**
|
|
1204
|
-
* Export collections as a CSV file.
|
|
1205
|
-
* @summary Export collections
|
|
1206
|
-
* @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
|
|
1207
|
-
* @param {*} [options] Override http request option.
|
|
1208
|
-
* @throws {RequiredError}
|
|
1209
|
-
* @memberof CollectionsApi
|
|
1210
|
-
*/
|
|
1211
|
-
exportCollections(requestParameters, options) {
|
|
1212
|
-
return (0, exports.CollectionsApiFp)(this.configuration).exportCollections(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1213
|
-
}
|
|
1214
|
-
/**
|
|
1215
|
-
*
|
|
1216
|
-
* @summary Get website collection
|
|
1217
|
-
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
1218
|
-
* @param {*} [options] Override http request option.
|
|
1219
|
-
* @throws {RequiredError}
|
|
1220
|
-
* @memberof CollectionsApi
|
|
1221
|
-
*/
|
|
1222
|
-
getCollection(requestParameters, options) {
|
|
1223
|
-
return (0, exports.CollectionsApiFp)(this.configuration).getCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(this.axios, this.basePath));
|
|
1224
|
-
}
|
|
1225
|
-
/**
|
|
1226
|
-
*
|
|
1227
|
-
* @summary List website collections
|
|
1228
|
-
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
1229
|
-
* @param {*} [options] Override http request option.
|
|
1230
|
-
* @throws {RequiredError}
|
|
1231
|
-
* @memberof CollectionsApi
|
|
1232
|
-
*/
|
|
1233
|
-
listCollections(requestParameters, options) {
|
|
1234
|
-
return (0, exports.CollectionsApiFp)(this.configuration).listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1235
|
-
}
|
|
1236
|
-
/**
|
|
1237
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
1238
|
-
* @summary AI SEO optimise collections
|
|
1239
|
-
* @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
|
|
1240
|
-
* @param {*} [options] Override http request option.
|
|
1241
|
-
* @throws {RequiredError}
|
|
1242
|
-
* @memberof CollectionsApi
|
|
1243
|
-
*/
|
|
1244
|
-
seoOptimiseCollections(requestParameters, options) {
|
|
1245
|
-
return (0, exports.CollectionsApiFp)(this.configuration).seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1246
|
-
}
|
|
1247
|
-
/**
|
|
1248
|
-
*
|
|
1249
|
-
* @summary Update website collection
|
|
1250
|
-
* @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
|
|
1251
|
-
* @param {*} [options] Override http request option.
|
|
1252
|
-
* @throws {RequiredError}
|
|
1253
|
-
* @memberof CollectionsApi
|
|
1254
|
-
*/
|
|
1255
|
-
updateCollection(requestParameters, options) {
|
|
1256
|
-
return (0, exports.CollectionsApiFp)(this.configuration).updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1257
|
-
}
|
|
1258
|
-
/**
|
|
1259
|
-
* Update a website collection.
|
|
1260
|
-
* @summary Update website collections
|
|
1261
|
-
* @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
|
|
1262
|
-
* @param {*} [options] Override http request option.
|
|
1263
|
-
* @throws {RequiredError}
|
|
1264
|
-
* @memberof CollectionsApi
|
|
1265
|
-
*/
|
|
1266
|
-
updateCollections(requestParameters, options) {
|
|
1267
|
-
return (0, exports.CollectionsApiFp)(this.configuration).updateCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1268
|
-
}
|
|
1269
|
-
}
|
|
1270
|
-
exports.CollectionsApi = CollectionsApi;
|
|
1271
562
|
/**
|
|
1272
563
|
* CrossSellApi - axios parameter creator
|
|
1273
|
-
* @export
|
|
1274
564
|
*/
|
|
1275
565
|
const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
1276
566
|
return {
|
|
@@ -1362,7 +652,6 @@ const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
1362
652
|
exports.CrossSellApiAxiosParamCreator = CrossSellApiAxiosParamCreator;
|
|
1363
653
|
/**
|
|
1364
654
|
* CrossSellApi - functional programming interface
|
|
1365
|
-
* @export
|
|
1366
655
|
*/
|
|
1367
656
|
const CrossSellApiFp = function (configuration) {
|
|
1368
657
|
const localVarAxiosParamCreator = (0, exports.CrossSellApiAxiosParamCreator)(configuration);
|
|
@@ -1407,7 +696,6 @@ const CrossSellApiFp = function (configuration) {
|
|
|
1407
696
|
exports.CrossSellApiFp = CrossSellApiFp;
|
|
1408
697
|
/**
|
|
1409
698
|
* CrossSellApi - factory interface
|
|
1410
|
-
* @export
|
|
1411
699
|
*/
|
|
1412
700
|
const CrossSellApiFactory = function (configuration, basePath, axios) {
|
|
1413
701
|
const localVarFp = (0, exports.CrossSellApiFp)(configuration);
|
|
@@ -1437,9 +725,6 @@ const CrossSellApiFactory = function (configuration, basePath, axios) {
|
|
|
1437
725
|
exports.CrossSellApiFactory = CrossSellApiFactory;
|
|
1438
726
|
/**
|
|
1439
727
|
* CrossSellApi - object-oriented interface
|
|
1440
|
-
* @export
|
|
1441
|
-
* @class CrossSellApi
|
|
1442
|
-
* @extends {BaseAPI}
|
|
1443
728
|
*/
|
|
1444
729
|
class CrossSellApi extends base_1.BaseAPI {
|
|
1445
730
|
/**
|
|
@@ -1448,7 +733,6 @@ class CrossSellApi extends base_1.BaseAPI {
|
|
|
1448
733
|
* @param {CrossSellApiAttachCrossSellProductsRequest} requestParameters Request parameters.
|
|
1449
734
|
* @param {*} [options] Override http request option.
|
|
1450
735
|
* @throws {RequiredError}
|
|
1451
|
-
* @memberof CrossSellApi
|
|
1452
736
|
*/
|
|
1453
737
|
attachCrossSellProducts(requestParameters, options) {
|
|
1454
738
|
return (0, exports.CrossSellApiFp)(this.configuration).attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.attachCrossSellProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1459,7 +743,6 @@ class CrossSellApi extends base_1.BaseAPI {
|
|
|
1459
743
|
* @param {CrossSellApiGetCrossSellProductsRequest} requestParameters Request parameters.
|
|
1460
744
|
* @param {*} [options] Override http request option.
|
|
1461
745
|
* @throws {RequiredError}
|
|
1462
|
-
* @memberof CrossSellApi
|
|
1463
746
|
*/
|
|
1464
747
|
getCrossSellProducts(requestParameters, options) {
|
|
1465
748
|
return (0, exports.CrossSellApiFp)(this.configuration).getCrossSellProducts(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1468,7 +751,6 @@ class CrossSellApi extends base_1.BaseAPI {
|
|
|
1468
751
|
exports.CrossSellApi = CrossSellApi;
|
|
1469
752
|
/**
|
|
1470
753
|
* DefaultApi - axios parameter creator
|
|
1471
|
-
* @export
|
|
1472
754
|
*/
|
|
1473
755
|
const DefaultApiAxiosParamCreator = function (configuration) {
|
|
1474
756
|
return {
|
|
@@ -1552,7 +834,6 @@ const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1552
834
|
exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
|
|
1553
835
|
/**
|
|
1554
836
|
* DefaultApi - functional programming interface
|
|
1555
|
-
* @export
|
|
1556
837
|
*/
|
|
1557
838
|
const DefaultApiFp = function (configuration) {
|
|
1558
839
|
const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
|
|
@@ -1595,7 +876,6 @@ const DefaultApiFp = function (configuration) {
|
|
|
1595
876
|
exports.DefaultApiFp = DefaultApiFp;
|
|
1596
877
|
/**
|
|
1597
878
|
* DefaultApi - factory interface
|
|
1598
|
-
* @export
|
|
1599
879
|
*/
|
|
1600
880
|
const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1601
881
|
const localVarFp = (0, exports.DefaultApiFp)(configuration);
|
|
@@ -1625,9 +905,6 @@ const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1625
905
|
exports.DefaultApiFactory = DefaultApiFactory;
|
|
1626
906
|
/**
|
|
1627
907
|
* DefaultApi - object-oriented interface
|
|
1628
|
-
* @export
|
|
1629
|
-
* @class DefaultApi
|
|
1630
|
-
* @extends {BaseAPI}
|
|
1631
908
|
*/
|
|
1632
909
|
class DefaultApi extends base_1.BaseAPI {
|
|
1633
910
|
/**
|
|
@@ -1636,7 +913,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1636
913
|
* @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
|
|
1637
914
|
* @param {*} [options] Override http request option.
|
|
1638
915
|
* @throws {RequiredError}
|
|
1639
|
-
* @memberof DefaultApi
|
|
1640
916
|
*/
|
|
1641
917
|
getBrand(requestParameters, options) {
|
|
1642
918
|
return (0, exports.DefaultApiFp)(this.configuration).getBrand(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1647,7 +923,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1647
923
|
* @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
|
|
1648
924
|
* @param {*} [options] Override http request option.
|
|
1649
925
|
* @throws {RequiredError}
|
|
1650
|
-
* @memberof DefaultApi
|
|
1651
926
|
*/
|
|
1652
927
|
updateBrand(requestParameters, options) {
|
|
1653
928
|
return (0, exports.DefaultApiFp)(this.configuration).updateBrand(requestParameters.project, requestParameters.updateBrandRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1656,7 +931,6 @@ class DefaultApi extends base_1.BaseAPI {
|
|
|
1656
931
|
exports.DefaultApi = DefaultApi;
|
|
1657
932
|
/**
|
|
1658
933
|
* FooterApi - axios parameter creator
|
|
1659
|
-
* @export
|
|
1660
934
|
*/
|
|
1661
935
|
const FooterApiAxiosParamCreator = function (configuration) {
|
|
1662
936
|
return {
|
|
@@ -1740,7 +1014,6 @@ const FooterApiAxiosParamCreator = function (configuration) {
|
|
|
1740
1014
|
exports.FooterApiAxiosParamCreator = FooterApiAxiosParamCreator;
|
|
1741
1015
|
/**
|
|
1742
1016
|
* FooterApi - functional programming interface
|
|
1743
|
-
* @export
|
|
1744
1017
|
*/
|
|
1745
1018
|
const FooterApiFp = function (configuration) {
|
|
1746
1019
|
const localVarAxiosParamCreator = (0, exports.FooterApiAxiosParamCreator)(configuration);
|
|
@@ -1783,7 +1056,6 @@ const FooterApiFp = function (configuration) {
|
|
|
1783
1056
|
exports.FooterApiFp = FooterApiFp;
|
|
1784
1057
|
/**
|
|
1785
1058
|
* FooterApi - factory interface
|
|
1786
|
-
* @export
|
|
1787
1059
|
*/
|
|
1788
1060
|
const FooterApiFactory = function (configuration, basePath, axios) {
|
|
1789
1061
|
const localVarFp = (0, exports.FooterApiFp)(configuration);
|
|
@@ -1813,9 +1085,6 @@ const FooterApiFactory = function (configuration, basePath, axios) {
|
|
|
1813
1085
|
exports.FooterApiFactory = FooterApiFactory;
|
|
1814
1086
|
/**
|
|
1815
1087
|
* FooterApi - object-oriented interface
|
|
1816
|
-
* @export
|
|
1817
|
-
* @class FooterApi
|
|
1818
|
-
* @extends {BaseAPI}
|
|
1819
1088
|
*/
|
|
1820
1089
|
class FooterApi extends base_1.BaseAPI {
|
|
1821
1090
|
/**
|
|
@@ -1824,7 +1093,6 @@ class FooterApi extends base_1.BaseAPI {
|
|
|
1824
1093
|
* @param {FooterApiGetFooterRequest} requestParameters Request parameters.
|
|
1825
1094
|
* @param {*} [options] Override http request option.
|
|
1826
1095
|
* @throws {RequiredError}
|
|
1827
|
-
* @memberof FooterApi
|
|
1828
1096
|
*/
|
|
1829
1097
|
getFooter(requestParameters, options) {
|
|
1830
1098
|
return (0, exports.FooterApiFp)(this.configuration).getFooter(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1835,7 +1103,6 @@ class FooterApi extends base_1.BaseAPI {
|
|
|
1835
1103
|
* @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
|
|
1836
1104
|
* @param {*} [options] Override http request option.
|
|
1837
1105
|
* @throws {RequiredError}
|
|
1838
|
-
* @memberof FooterApi
|
|
1839
1106
|
*/
|
|
1840
1107
|
updateFooter(requestParameters, options) {
|
|
1841
1108
|
return (0, exports.FooterApiFp)(this.configuration).updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1844,7 +1111,6 @@ class FooterApi extends base_1.BaseAPI {
|
|
|
1844
1111
|
exports.FooterApi = FooterApi;
|
|
1845
1112
|
/**
|
|
1846
1113
|
* MenuApi - axios parameter creator
|
|
1847
|
-
* @export
|
|
1848
1114
|
*/
|
|
1849
1115
|
const MenuApiAxiosParamCreator = function (configuration) {
|
|
1850
1116
|
return {
|
|
@@ -1928,7 +1194,6 @@ const MenuApiAxiosParamCreator = function (configuration) {
|
|
|
1928
1194
|
exports.MenuApiAxiosParamCreator = MenuApiAxiosParamCreator;
|
|
1929
1195
|
/**
|
|
1930
1196
|
* MenuApi - functional programming interface
|
|
1931
|
-
* @export
|
|
1932
1197
|
*/
|
|
1933
1198
|
const MenuApiFp = function (configuration) {
|
|
1934
1199
|
const localVarAxiosParamCreator = (0, exports.MenuApiAxiosParamCreator)(configuration);
|
|
@@ -1971,7 +1236,6 @@ const MenuApiFp = function (configuration) {
|
|
|
1971
1236
|
exports.MenuApiFp = MenuApiFp;
|
|
1972
1237
|
/**
|
|
1973
1238
|
* MenuApi - factory interface
|
|
1974
|
-
* @export
|
|
1975
1239
|
*/
|
|
1976
1240
|
const MenuApiFactory = function (configuration, basePath, axios) {
|
|
1977
1241
|
const localVarFp = (0, exports.MenuApiFp)(configuration);
|
|
@@ -2001,9 +1265,6 @@ const MenuApiFactory = function (configuration, basePath, axios) {
|
|
|
2001
1265
|
exports.MenuApiFactory = MenuApiFactory;
|
|
2002
1266
|
/**
|
|
2003
1267
|
* MenuApi - object-oriented interface
|
|
2004
|
-
* @export
|
|
2005
|
-
* @class MenuApi
|
|
2006
|
-
* @extends {BaseAPI}
|
|
2007
1268
|
*/
|
|
2008
1269
|
class MenuApi extends base_1.BaseAPI {
|
|
2009
1270
|
/**
|
|
@@ -2012,7 +1273,6 @@ class MenuApi extends base_1.BaseAPI {
|
|
|
2012
1273
|
* @param {MenuApiGetMenuRequest} requestParameters Request parameters.
|
|
2013
1274
|
* @param {*} [options] Override http request option.
|
|
2014
1275
|
* @throws {RequiredError}
|
|
2015
|
-
* @memberof MenuApi
|
|
2016
1276
|
*/
|
|
2017
1277
|
getMenu(requestParameters, options) {
|
|
2018
1278
|
return (0, exports.MenuApiFp)(this.configuration).getMenu(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2023,7 +1283,6 @@ class MenuApi extends base_1.BaseAPI {
|
|
|
2023
1283
|
* @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
|
|
2024
1284
|
* @param {*} [options] Override http request option.
|
|
2025
1285
|
* @throws {RequiredError}
|
|
2026
|
-
* @memberof MenuApi
|
|
2027
1286
|
*/
|
|
2028
1287
|
updateMenu(requestParameters, options) {
|
|
2029
1288
|
return (0, exports.MenuApiFp)(this.configuration).updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2032,7 +1291,6 @@ class MenuApi extends base_1.BaseAPI {
|
|
|
2032
1291
|
exports.MenuApi = MenuApi;
|
|
2033
1292
|
/**
|
|
2034
1293
|
* PagesApi - axios parameter creator
|
|
2035
|
-
* @export
|
|
2036
1294
|
*/
|
|
2037
1295
|
const PagesApiAxiosParamCreator = function (configuration) {
|
|
2038
1296
|
return {
|
|
@@ -2298,7 +1556,6 @@ const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
2298
1556
|
exports.PagesApiAxiosParamCreator = PagesApiAxiosParamCreator;
|
|
2299
1557
|
/**
|
|
2300
1558
|
* PagesApi - functional programming interface
|
|
2301
|
-
* @export
|
|
2302
1559
|
*/
|
|
2303
1560
|
const PagesApiFp = function (configuration) {
|
|
2304
1561
|
const localVarAxiosParamCreator = (0, exports.PagesApiAxiosParamCreator)(configuration);
|
|
@@ -2415,7 +1672,6 @@ const PagesApiFp = function (configuration) {
|
|
|
2415
1672
|
exports.PagesApiFp = PagesApiFp;
|
|
2416
1673
|
/**
|
|
2417
1674
|
* PagesApi - factory interface
|
|
2418
|
-
* @export
|
|
2419
1675
|
*/
|
|
2420
1676
|
const PagesApiFactory = function (configuration, basePath, axios) {
|
|
2421
1677
|
const localVarFp = (0, exports.PagesApiFp)(configuration);
|
|
@@ -2485,9 +1741,6 @@ const PagesApiFactory = function (configuration, basePath, axios) {
|
|
|
2485
1741
|
exports.PagesApiFactory = PagesApiFactory;
|
|
2486
1742
|
/**
|
|
2487
1743
|
* PagesApi - object-oriented interface
|
|
2488
|
-
* @export
|
|
2489
|
-
* @class PagesApi
|
|
2490
|
-
* @extends {BaseAPI}
|
|
2491
1744
|
*/
|
|
2492
1745
|
class PagesApi extends base_1.BaseAPI {
|
|
2493
1746
|
/**
|
|
@@ -2496,7 +1749,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2496
1749
|
* @param {PagesApiExportPagesRequest} requestParameters Request parameters.
|
|
2497
1750
|
* @param {*} [options] Override http request option.
|
|
2498
1751
|
* @throws {RequiredError}
|
|
2499
|
-
* @memberof PagesApi
|
|
2500
1752
|
*/
|
|
2501
1753
|
exportPages(requestParameters, options) {
|
|
2502
1754
|
return (0, exports.PagesApiFp)(this.configuration).exportPages(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2507,7 +1759,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2507
1759
|
* @param {PagesApiGetPageRequest} requestParameters Request parameters.
|
|
2508
1760
|
* @param {*} [options] Override http request option.
|
|
2509
1761
|
* @throws {RequiredError}
|
|
2510
|
-
* @memberof PagesApi
|
|
2511
1762
|
*/
|
|
2512
1763
|
getPage(requestParameters, options) {
|
|
2513
1764
|
return (0, exports.PagesApiFp)(this.configuration).getPage(requestParameters.project, requestParameters.pageId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2518,7 +1769,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2518
1769
|
* @param {PagesApiListPagesRequest} requestParameters Request parameters.
|
|
2519
1770
|
* @param {*} [options] Override http request option.
|
|
2520
1771
|
* @throws {RequiredError}
|
|
2521
|
-
* @memberof PagesApi
|
|
2522
1772
|
*/
|
|
2523
1773
|
listPages(requestParameters, options) {
|
|
2524
1774
|
return (0, exports.PagesApiFp)(this.configuration).listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2529,7 +1779,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2529
1779
|
* @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
|
|
2530
1780
|
* @param {*} [options] Override http request option.
|
|
2531
1781
|
* @throws {RequiredError}
|
|
2532
|
-
* @memberof PagesApi
|
|
2533
1782
|
*/
|
|
2534
1783
|
seoOptimisePages(requestParameters, options) {
|
|
2535
1784
|
return (0, exports.PagesApiFp)(this.configuration).seoOptimisePages(requestParameters.project, requestParameters.seoOptimisePagesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2540,7 +1789,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2540
1789
|
* @param {PagesApiUpdatePageRequest} requestParameters Request parameters.
|
|
2541
1790
|
* @param {*} [options] Override http request option.
|
|
2542
1791
|
* @throws {RequiredError}
|
|
2543
|
-
* @memberof PagesApi
|
|
2544
1792
|
*/
|
|
2545
1793
|
updatePage(requestParameters, options) {
|
|
2546
1794
|
return (0, exports.PagesApiFp)(this.configuration).updatePage(requestParameters.project, requestParameters.pageId, requestParameters.updatePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2551,7 +1799,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2551
1799
|
* @param {PagesApiUpdatePagesRequest} requestParameters Request parameters.
|
|
2552
1800
|
* @param {*} [options] Override http request option.
|
|
2553
1801
|
* @throws {RequiredError}
|
|
2554
|
-
* @memberof PagesApi
|
|
2555
1802
|
*/
|
|
2556
1803
|
updatePages(requestParameters, options) {
|
|
2557
1804
|
return (0, exports.PagesApiFp)(this.configuration).updatePages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updatePagesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2560,7 +1807,6 @@ class PagesApi extends base_1.BaseAPI {
|
|
|
2560
1807
|
exports.PagesApi = PagesApi;
|
|
2561
1808
|
/**
|
|
2562
1809
|
* PaymentApi - axios parameter creator
|
|
2563
|
-
* @export
|
|
2564
1810
|
*/
|
|
2565
1811
|
const PaymentApiAxiosParamCreator = function (configuration) {
|
|
2566
1812
|
return {
|
|
@@ -2785,7 +2031,6 @@ const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2785
2031
|
exports.PaymentApiAxiosParamCreator = PaymentApiAxiosParamCreator;
|
|
2786
2032
|
/**
|
|
2787
2033
|
* PaymentApi - functional programming interface
|
|
2788
|
-
* @export
|
|
2789
2034
|
*/
|
|
2790
2035
|
const PaymentApiFp = function (configuration) {
|
|
2791
2036
|
const localVarAxiosParamCreator = (0, exports.PaymentApiAxiosParamCreator)(configuration);
|
|
@@ -2891,7 +2136,6 @@ const PaymentApiFp = function (configuration) {
|
|
|
2891
2136
|
exports.PaymentApiFp = PaymentApiFp;
|
|
2892
2137
|
/**
|
|
2893
2138
|
* PaymentApi - factory interface
|
|
2894
|
-
* @export
|
|
2895
2139
|
*/
|
|
2896
2140
|
const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
2897
2141
|
const localVarFp = (0, exports.PaymentApiFp)(configuration);
|
|
@@ -2961,9 +2205,6 @@ const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
|
2961
2205
|
exports.PaymentApiFactory = PaymentApiFactory;
|
|
2962
2206
|
/**
|
|
2963
2207
|
* PaymentApi - object-oriented interface
|
|
2964
|
-
* @export
|
|
2965
|
-
* @class PaymentApi
|
|
2966
|
-
* @extends {BaseAPI}
|
|
2967
2208
|
*/
|
|
2968
2209
|
class PaymentApi extends base_1.BaseAPI {
|
|
2969
2210
|
/**
|
|
@@ -2972,7 +2213,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
2972
2213
|
* @param {PaymentApiAuthorizePayPalRequest} requestParameters Request parameters.
|
|
2973
2214
|
* @param {*} [options] Override http request option.
|
|
2974
2215
|
* @throws {RequiredError}
|
|
2975
|
-
* @memberof PaymentApi
|
|
2976
2216
|
*/
|
|
2977
2217
|
authorizePayPal(requestParameters, options) {
|
|
2978
2218
|
return (0, exports.PaymentApiFp)(this.configuration).authorizePayPal(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2983,7 +2223,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
2983
2223
|
* @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
|
|
2984
2224
|
* @param {*} [options] Override http request option.
|
|
2985
2225
|
* @throws {RequiredError}
|
|
2986
|
-
* @memberof PaymentApi
|
|
2987
2226
|
*/
|
|
2988
2227
|
authorizeStripe(requestParameters, options) {
|
|
2989
2228
|
return (0, exports.PaymentApiFp)(this.configuration).authorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2994,7 +2233,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
2994
2233
|
* @param {PaymentApiDeauthorizePayPalRequest} requestParameters Request parameters.
|
|
2995
2234
|
* @param {*} [options] Override http request option.
|
|
2996
2235
|
* @throws {RequiredError}
|
|
2997
|
-
* @memberof PaymentApi
|
|
2998
2236
|
*/
|
|
2999
2237
|
deauthorizePayPal(requestParameters, options) {
|
|
3000
2238
|
return (0, exports.PaymentApiFp)(this.configuration).deauthorizePayPal(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3005,7 +2243,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
3005
2243
|
* @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
|
|
3006
2244
|
* @param {*} [options] Override http request option.
|
|
3007
2245
|
* @throws {RequiredError}
|
|
3008
|
-
* @memberof PaymentApi
|
|
3009
2246
|
*/
|
|
3010
2247
|
deauthorizeStripe(requestParameters, options) {
|
|
3011
2248
|
return (0, exports.PaymentApiFp)(this.configuration).deauthorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3016,7 +2253,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
3016
2253
|
* @param {PaymentApiGetPayPalPaymentAccountRequest} requestParameters Request parameters.
|
|
3017
2254
|
* @param {*} [options] Override http request option.
|
|
3018
2255
|
* @throws {RequiredError}
|
|
3019
|
-
* @memberof PaymentApi
|
|
3020
2256
|
*/
|
|
3021
2257
|
getPayPalPaymentAccount(requestParameters, options) {
|
|
3022
2258
|
return (0, exports.PaymentApiFp)(this.configuration).getPayPalPaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3027,7 +2263,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
3027
2263
|
* @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
|
|
3028
2264
|
* @param {*} [options] Override http request option.
|
|
3029
2265
|
* @throws {RequiredError}
|
|
3030
|
-
* @memberof PaymentApi
|
|
3031
2266
|
*/
|
|
3032
2267
|
getStripePaymentAccount(requestParameters, options) {
|
|
3033
2268
|
return (0, exports.PaymentApiFp)(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3036,7 +2271,6 @@ class PaymentApi extends base_1.BaseAPI {
|
|
|
3036
2271
|
exports.PaymentApi = PaymentApi;
|
|
3037
2272
|
/**
|
|
3038
2273
|
* ReviewsApi - axios parameter creator
|
|
3039
|
-
* @export
|
|
3040
2274
|
*/
|
|
3041
2275
|
const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
3042
2276
|
return {
|
|
@@ -3240,7 +2474,6 @@ const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
3240
2474
|
exports.ReviewsApiAxiosParamCreator = ReviewsApiAxiosParamCreator;
|
|
3241
2475
|
/**
|
|
3242
2476
|
* ReviewsApi - functional programming interface
|
|
3243
|
-
* @export
|
|
3244
2477
|
*/
|
|
3245
2478
|
const ReviewsApiFp = function (configuration) {
|
|
3246
2479
|
const localVarAxiosParamCreator = (0, exports.ReviewsApiAxiosParamCreator)(configuration);
|
|
@@ -3325,7 +2558,6 @@ const ReviewsApiFp = function (configuration) {
|
|
|
3325
2558
|
exports.ReviewsApiFp = ReviewsApiFp;
|
|
3326
2559
|
/**
|
|
3327
2560
|
* ReviewsApi - factory interface
|
|
3328
|
-
* @export
|
|
3329
2561
|
*/
|
|
3330
2562
|
const ReviewsApiFactory = function (configuration, basePath, axios) {
|
|
3331
2563
|
const localVarFp = (0, exports.ReviewsApiFp)(configuration);
|
|
@@ -3375,9 +2607,6 @@ const ReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
3375
2607
|
exports.ReviewsApiFactory = ReviewsApiFactory;
|
|
3376
2608
|
/**
|
|
3377
2609
|
* ReviewsApi - object-oriented interface
|
|
3378
|
-
* @export
|
|
3379
|
-
* @class ReviewsApi
|
|
3380
|
-
* @extends {BaseAPI}
|
|
3381
2610
|
*/
|
|
3382
2611
|
class ReviewsApi extends base_1.BaseAPI {
|
|
3383
2612
|
/**
|
|
@@ -3386,7 +2615,6 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
3386
2615
|
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
3387
2616
|
* @param {*} [options] Override http request option.
|
|
3388
2617
|
* @throws {RequiredError}
|
|
3389
|
-
* @memberof ReviewsApi
|
|
3390
2618
|
*/
|
|
3391
2619
|
exportReviews(requestParameters, options) {
|
|
3392
2620
|
return (0, exports.ReviewsApiFp)(this.configuration).exportReviews(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3397,7 +2625,6 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
3397
2625
|
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
3398
2626
|
* @param {*} [options] Override http request option.
|
|
3399
2627
|
* @throws {RequiredError}
|
|
3400
|
-
* @memberof ReviewsApi
|
|
3401
2628
|
*/
|
|
3402
2629
|
getReview(requestParameters, options) {
|
|
3403
2630
|
return (0, exports.ReviewsApiFp)(this.configuration).getReview(requestParameters.project, requestParameters.reviewId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3408,7 +2635,6 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
3408
2635
|
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
3409
2636
|
* @param {*} [options] Override http request option.
|
|
3410
2637
|
* @throws {RequiredError}
|
|
3411
|
-
* @memberof ReviewsApi
|
|
3412
2638
|
*/
|
|
3413
2639
|
listReviews(requestParameters, options) {
|
|
3414
2640
|
return (0, exports.ReviewsApiFp)(this.configuration).listReviews(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.sortBy, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3419,7 +2645,6 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
3419
2645
|
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
3420
2646
|
* @param {*} [options] Override http request option.
|
|
3421
2647
|
* @throws {RequiredError}
|
|
3422
|
-
* @memberof ReviewsApi
|
|
3423
2648
|
*/
|
|
3424
2649
|
moderateReview(requestParameters, options) {
|
|
3425
2650
|
return (0, exports.ReviewsApiFp)(this.configuration).moderateReview(requestParameters.project, requestParameters.reviewId, requestParameters.moderateReviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3428,7 +2653,6 @@ class ReviewsApi extends base_1.BaseAPI {
|
|
|
3428
2653
|
exports.ReviewsApi = ReviewsApi;
|
|
3429
2654
|
/**
|
|
3430
2655
|
* RoutesApi - axios parameter creator
|
|
3431
|
-
* @export
|
|
3432
2656
|
*/
|
|
3433
2657
|
const RoutesApiAxiosParamCreator = function (configuration) {
|
|
3434
2658
|
return {
|
|
@@ -3485,7 +2709,6 @@ const RoutesApiAxiosParamCreator = function (configuration) {
|
|
|
3485
2709
|
exports.RoutesApiAxiosParamCreator = RoutesApiAxiosParamCreator;
|
|
3486
2710
|
/**
|
|
3487
2711
|
* RoutesApi - functional programming interface
|
|
3488
|
-
* @export
|
|
3489
2712
|
*/
|
|
3490
2713
|
const RoutesApiFp = function (configuration) {
|
|
3491
2714
|
const localVarAxiosParamCreator = (0, exports.RoutesApiAxiosParamCreator)(configuration);
|
|
@@ -3514,7 +2737,6 @@ const RoutesApiFp = function (configuration) {
|
|
|
3514
2737
|
exports.RoutesApiFp = RoutesApiFp;
|
|
3515
2738
|
/**
|
|
3516
2739
|
* RoutesApi - factory interface
|
|
3517
|
-
* @export
|
|
3518
2740
|
*/
|
|
3519
2741
|
const RoutesApiFactory = function (configuration, basePath, axios) {
|
|
3520
2742
|
const localVarFp = (0, exports.RoutesApiFp)(configuration);
|
|
@@ -3534,9 +2756,6 @@ const RoutesApiFactory = function (configuration, basePath, axios) {
|
|
|
3534
2756
|
exports.RoutesApiFactory = RoutesApiFactory;
|
|
3535
2757
|
/**
|
|
3536
2758
|
* RoutesApi - object-oriented interface
|
|
3537
|
-
* @export
|
|
3538
|
-
* @class RoutesApi
|
|
3539
|
-
* @extends {BaseAPI}
|
|
3540
2759
|
*/
|
|
3541
2760
|
class RoutesApi extends base_1.BaseAPI {
|
|
3542
2761
|
/**
|
|
@@ -3545,7 +2764,6 @@ class RoutesApi extends base_1.BaseAPI {
|
|
|
3545
2764
|
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
3546
2765
|
* @param {*} [options] Override http request option.
|
|
3547
2766
|
* @throws {RequiredError}
|
|
3548
|
-
* @memberof RoutesApi
|
|
3549
2767
|
*/
|
|
3550
2768
|
listRoutes(requestParameters, options) {
|
|
3551
2769
|
return (0, exports.RoutesApiFp)(this.configuration).listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3554,7 +2772,6 @@ class RoutesApi extends base_1.BaseAPI {
|
|
|
3554
2772
|
exports.RoutesApi = RoutesApi;
|
|
3555
2773
|
/**
|
|
3556
2774
|
* SearchApi - axios parameter creator
|
|
3557
|
-
* @export
|
|
3558
2775
|
*/
|
|
3559
2776
|
const SearchApiAxiosParamCreator = function (configuration) {
|
|
3560
2777
|
return {
|
|
@@ -3785,7 +3002,6 @@ const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
3785
3002
|
exports.SearchApiAxiosParamCreator = SearchApiAxiosParamCreator;
|
|
3786
3003
|
/**
|
|
3787
3004
|
* SearchApi - functional programming interface
|
|
3788
|
-
* @export
|
|
3789
3005
|
*/
|
|
3790
3006
|
const SearchApiFp = function (configuration) {
|
|
3791
3007
|
const localVarAxiosParamCreator = (0, exports.SearchApiAxiosParamCreator)(configuration);
|
|
@@ -3886,7 +3102,6 @@ const SearchApiFp = function (configuration) {
|
|
|
3886
3102
|
exports.SearchApiFp = SearchApiFp;
|
|
3887
3103
|
/**
|
|
3888
3104
|
* SearchApi - factory interface
|
|
3889
|
-
* @export
|
|
3890
3105
|
*/
|
|
3891
3106
|
const SearchApiFactory = function (configuration, basePath, axios) {
|
|
3892
3107
|
const localVarFp = (0, exports.SearchApiFp)(configuration);
|
|
@@ -3946,9 +3161,6 @@ const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
3946
3161
|
exports.SearchApiFactory = SearchApiFactory;
|
|
3947
3162
|
/**
|
|
3948
3163
|
* SearchApi - object-oriented interface
|
|
3949
|
-
* @export
|
|
3950
|
-
* @class SearchApi
|
|
3951
|
-
* @extends {BaseAPI}
|
|
3952
3164
|
*/
|
|
3953
3165
|
class SearchApi extends base_1.BaseAPI {
|
|
3954
3166
|
/**
|
|
@@ -3957,7 +3169,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
3957
3169
|
* @param {SearchApiCreateSearchRedirectRequest} requestParameters Request parameters.
|
|
3958
3170
|
* @param {*} [options] Override http request option.
|
|
3959
3171
|
* @throws {RequiredError}
|
|
3960
|
-
* @memberof SearchApi
|
|
3961
3172
|
*/
|
|
3962
3173
|
createSearchRedirect(requestParameters, options) {
|
|
3963
3174
|
return (0, exports.SearchApiFp)(this.configuration).createSearchRedirect(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createSearchRedirectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3968,7 +3179,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
3968
3179
|
* @param {SearchApiDeleteSearchRedirectRequest} requestParameters Request parameters.
|
|
3969
3180
|
* @param {*} [options] Override http request option.
|
|
3970
3181
|
* @throws {RequiredError}
|
|
3971
|
-
* @memberof SearchApi
|
|
3972
3182
|
*/
|
|
3973
3183
|
deleteSearchRedirect(requestParameters, options) {
|
|
3974
3184
|
return (0, exports.SearchApiFp)(this.configuration).deleteSearchRedirect(requestParameters.project, requestParameters.redirectId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3979,7 +3189,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
3979
3189
|
* @param {SearchApiGetSearchRedirectRequest} requestParameters Request parameters.
|
|
3980
3190
|
* @param {*} [options] Override http request option.
|
|
3981
3191
|
* @throws {RequiredError}
|
|
3982
|
-
* @memberof SearchApi
|
|
3983
3192
|
*/
|
|
3984
3193
|
getSearchRedirect(requestParameters, options) {
|
|
3985
3194
|
return (0, exports.SearchApiFp)(this.configuration).getSearchRedirect(requestParameters.project, requestParameters.redirectId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3990,7 +3199,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
3990
3199
|
* @param {SearchApiListSearchRedirectsRequest} requestParameters Request parameters.
|
|
3991
3200
|
* @param {*} [options] Override http request option.
|
|
3992
3201
|
* @throws {RequiredError}
|
|
3993
|
-
* @memberof SearchApi
|
|
3994
3202
|
*/
|
|
3995
3203
|
listSearchRedirects(requestParameters, options) {
|
|
3996
3204
|
return (0, exports.SearchApiFp)(this.configuration).listSearchRedirects(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4001,7 +3209,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
4001
3209
|
* @param {SearchApiUpdateSearchRedirectRequest} requestParameters Request parameters.
|
|
4002
3210
|
* @param {*} [options] Override http request option.
|
|
4003
3211
|
* @throws {RequiredError}
|
|
4004
|
-
* @memberof SearchApi
|
|
4005
3212
|
*/
|
|
4006
3213
|
updateSearchRedirect(requestParameters, options) {
|
|
4007
3214
|
return (0, exports.SearchApiFp)(this.configuration).updateSearchRedirect(requestParameters.project, requestParameters.redirectId, requestParameters.updateSearchRedirectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4010,7 +3217,6 @@ class SearchApi extends base_1.BaseAPI {
|
|
|
4010
3217
|
exports.SearchApi = SearchApi;
|
|
4011
3218
|
/**
|
|
4012
3219
|
* WebsiteApi - axios parameter creator
|
|
4013
|
-
* @export
|
|
4014
3220
|
*/
|
|
4015
3221
|
const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
4016
3222
|
return {
|
|
@@ -4173,7 +3379,6 @@ const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
4173
3379
|
exports.WebsiteApiAxiosParamCreator = WebsiteApiAxiosParamCreator;
|
|
4174
3380
|
/**
|
|
4175
3381
|
* WebsiteApi - functional programming interface
|
|
4176
|
-
* @export
|
|
4177
3382
|
*/
|
|
4178
3383
|
const WebsiteApiFp = function (configuration) {
|
|
4179
3384
|
const localVarAxiosParamCreator = (0, exports.WebsiteApiAxiosParamCreator)(configuration);
|
|
@@ -4250,7 +3455,6 @@ const WebsiteApiFp = function (configuration) {
|
|
|
4250
3455
|
exports.WebsiteApiFp = WebsiteApiFp;
|
|
4251
3456
|
/**
|
|
4252
3457
|
* WebsiteApi - factory interface
|
|
4253
|
-
* @export
|
|
4254
3458
|
*/
|
|
4255
3459
|
const WebsiteApiFactory = function (configuration, basePath, axios) {
|
|
4256
3460
|
const localVarFp = (0, exports.WebsiteApiFp)(configuration);
|
|
@@ -4300,9 +3504,6 @@ const WebsiteApiFactory = function (configuration, basePath, axios) {
|
|
|
4300
3504
|
exports.WebsiteApiFactory = WebsiteApiFactory;
|
|
4301
3505
|
/**
|
|
4302
3506
|
* WebsiteApi - object-oriented interface
|
|
4303
|
-
* @export
|
|
4304
|
-
* @class WebsiteApi
|
|
4305
|
-
* @extends {BaseAPI}
|
|
4306
3507
|
*/
|
|
4307
3508
|
class WebsiteApi extends base_1.BaseAPI {
|
|
4308
3509
|
/**
|
|
@@ -4311,7 +3512,6 @@ class WebsiteApi extends base_1.BaseAPI {
|
|
|
4311
3512
|
* @param {WebsiteApiCreateDomainRequest} requestParameters Request parameters.
|
|
4312
3513
|
* @param {*} [options] Override http request option.
|
|
4313
3514
|
* @throws {RequiredError}
|
|
4314
|
-
* @memberof WebsiteApi
|
|
4315
3515
|
*/
|
|
4316
3516
|
createDomain(requestParameters, options) {
|
|
4317
3517
|
return (0, exports.WebsiteApiFp)(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4322,7 +3522,6 @@ class WebsiteApi extends base_1.BaseAPI {
|
|
|
4322
3522
|
* @param {WebsiteApiDeleteDomainRequest} requestParameters Request parameters.
|
|
4323
3523
|
* @param {*} [options] Override http request option.
|
|
4324
3524
|
* @throws {RequiredError}
|
|
4325
|
-
* @memberof WebsiteApi
|
|
4326
3525
|
*/
|
|
4327
3526
|
deleteDomain(requestParameters, options) {
|
|
4328
3527
|
return (0, exports.WebsiteApiFp)(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4333,7 +3532,6 @@ class WebsiteApi extends base_1.BaseAPI {
|
|
|
4333
3532
|
* @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
|
|
4334
3533
|
* @param {*} [options] Override http request option.
|
|
4335
3534
|
* @throws {RequiredError}
|
|
4336
|
-
* @memberof WebsiteApi
|
|
4337
3535
|
*/
|
|
4338
3536
|
listDomains(requestParameters, options) {
|
|
4339
3537
|
return (0, exports.WebsiteApiFp)(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4344,7 +3542,6 @@ class WebsiteApi extends base_1.BaseAPI {
|
|
|
4344
3542
|
* @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
|
|
4345
3543
|
* @param {*} [options] Override http request option.
|
|
4346
3544
|
* @throws {RequiredError}
|
|
4347
|
-
* @memberof WebsiteApi
|
|
4348
3545
|
*/
|
|
4349
3546
|
updateBaseDomain(requestParameters, options) {
|
|
4350
3547
|
return (0, exports.WebsiteApiFp)(this.configuration).updateBaseDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|