@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/esm/api.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Website API
|
|
5
5
|
* Manage your PodOS Website
|
|
6
6
|
*
|
|
7
|
-
* The version of the OpenAPI document: 0.
|
|
7
|
+
* The version of the OpenAPI document: 0.27.1
|
|
8
8
|
*
|
|
9
9
|
*
|
|
10
10
|
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
@@ -117,7 +117,6 @@ export const UpdateMenuRequestItemSubmenuInnerImageTextShadowEnum = {
|
|
|
117
117
|
};
|
|
118
118
|
/**
|
|
119
119
|
* BlogsApi - axios parameter creator
|
|
120
|
-
* @export
|
|
121
120
|
*/
|
|
122
121
|
export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
123
122
|
return {
|
|
@@ -343,7 +342,6 @@ export const BlogsApiAxiosParamCreator = function (configuration) {
|
|
|
343
342
|
};
|
|
344
343
|
/**
|
|
345
344
|
* BlogsApi - functional programming interface
|
|
346
|
-
* @export
|
|
347
345
|
*/
|
|
348
346
|
export const BlogsApiFp = function (configuration) {
|
|
349
347
|
const localVarAxiosParamCreator = BlogsApiAxiosParamCreator(configuration);
|
|
@@ -442,7 +440,6 @@ export const BlogsApiFp = function (configuration) {
|
|
|
442
440
|
};
|
|
443
441
|
/**
|
|
444
442
|
* BlogsApi - factory interface
|
|
445
|
-
* @export
|
|
446
443
|
*/
|
|
447
444
|
export const BlogsApiFactory = function (configuration, basePath, axios) {
|
|
448
445
|
const localVarFp = BlogsApiFp(configuration);
|
|
@@ -501,9 +498,6 @@ export const BlogsApiFactory = function (configuration, basePath, axios) {
|
|
|
501
498
|
};
|
|
502
499
|
/**
|
|
503
500
|
* BlogsApi - object-oriented interface
|
|
504
|
-
* @export
|
|
505
|
-
* @class BlogsApi
|
|
506
|
-
* @extends {BaseAPI}
|
|
507
501
|
*/
|
|
508
502
|
export class BlogsApi extends BaseAPI {
|
|
509
503
|
/**
|
|
@@ -512,7 +506,6 @@ export class BlogsApi extends BaseAPI {
|
|
|
512
506
|
* @param {BlogsApiExportBlogsRequest} requestParameters Request parameters.
|
|
513
507
|
* @param {*} [options] Override http request option.
|
|
514
508
|
* @throws {RequiredError}
|
|
515
|
-
* @memberof BlogsApi
|
|
516
509
|
*/
|
|
517
510
|
exportBlogs(requestParameters, options) {
|
|
518
511
|
return BlogsApiFp(this.configuration).exportBlogs(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -523,7 +516,6 @@ export class BlogsApi extends BaseAPI {
|
|
|
523
516
|
* @param {BlogsApiGetBlogRequest} requestParameters Request parameters.
|
|
524
517
|
* @param {*} [options] Override http request option.
|
|
525
518
|
* @throws {RequiredError}
|
|
526
|
-
* @memberof BlogsApi
|
|
527
519
|
*/
|
|
528
520
|
getBlog(requestParameters, options) {
|
|
529
521
|
return BlogsApiFp(this.configuration).getBlog(requestParameters.project, requestParameters.blogId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -534,7 +526,6 @@ export class BlogsApi extends BaseAPI {
|
|
|
534
526
|
* @param {BlogsApiListBlogsRequest} requestParameters Request parameters.
|
|
535
527
|
* @param {*} [options] Override http request option.
|
|
536
528
|
* @throws {RequiredError}
|
|
537
|
-
* @memberof BlogsApi
|
|
538
529
|
*/
|
|
539
530
|
listBlogs(requestParameters, options) {
|
|
540
531
|
return BlogsApiFp(this.configuration).listBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -545,7 +536,6 @@ export class BlogsApi extends BaseAPI {
|
|
|
545
536
|
* @param {BlogsApiUpdateBlogRequest} requestParameters Request parameters.
|
|
546
537
|
* @param {*} [options] Override http request option.
|
|
547
538
|
* @throws {RequiredError}
|
|
548
|
-
* @memberof BlogsApi
|
|
549
539
|
*/
|
|
550
540
|
updateBlog(requestParameters, options) {
|
|
551
541
|
return BlogsApiFp(this.configuration).updateBlog(requestParameters.project, requestParameters.blogId, requestParameters.updateBlogRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -556,709 +546,13 @@ export class BlogsApi extends BaseAPI {
|
|
|
556
546
|
* @param {BlogsApiUpdateBlogsRequest} requestParameters Request parameters.
|
|
557
547
|
* @param {*} [options] Override http request option.
|
|
558
548
|
* @throws {RequiredError}
|
|
559
|
-
* @memberof BlogsApi
|
|
560
549
|
*/
|
|
561
550
|
updateBlogs(requestParameters, options) {
|
|
562
551
|
return BlogsApiFp(this.configuration).updateBlogs(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateBlogsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
563
552
|
}
|
|
564
553
|
}
|
|
565
|
-
/**
|
|
566
|
-
* CollectionsApi - axios parameter creator
|
|
567
|
-
* @export
|
|
568
|
-
*/
|
|
569
|
-
export const CollectionsApiAxiosParamCreator = function (configuration) {
|
|
570
|
-
return {
|
|
571
|
-
/**
|
|
572
|
-
* Create a new website collection.
|
|
573
|
-
* @summary Create website collection
|
|
574
|
-
* @param {string} project What project it is
|
|
575
|
-
* @param {number} [pageToken] Page reference token
|
|
576
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
577
|
-
* @param {string} [search] Search term to filter results
|
|
578
|
-
* @param {CreateCollectionRequest} [createCollectionRequest] Create a new collection
|
|
579
|
-
* @param {*} [options] Override http request option.
|
|
580
|
-
* @throws {RequiredError}
|
|
581
|
-
*/
|
|
582
|
-
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 = {}) {
|
|
583
|
-
// verify required parameter 'project' is not null or undefined
|
|
584
|
-
assertParamExists('createCollection', 'project', project);
|
|
585
|
-
const localVarPath = `/v1/website/collections`;
|
|
586
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
587
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
588
|
-
let baseOptions;
|
|
589
|
-
if (configuration) {
|
|
590
|
-
baseOptions = configuration.baseOptions;
|
|
591
|
-
}
|
|
592
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
593
|
-
const localVarHeaderParameter = {};
|
|
594
|
-
const localVarQueryParameter = {};
|
|
595
|
-
// authentication session-oauth required
|
|
596
|
-
// oauth required
|
|
597
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
598
|
-
// authentication api-key required
|
|
599
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
600
|
-
if (project !== undefined) {
|
|
601
|
-
localVarQueryParameter['project'] = project;
|
|
602
|
-
}
|
|
603
|
-
if (pageToken !== undefined) {
|
|
604
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
605
|
-
}
|
|
606
|
-
if (pageSize !== undefined) {
|
|
607
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
608
|
-
}
|
|
609
|
-
if (search !== undefined) {
|
|
610
|
-
localVarQueryParameter['search'] = search;
|
|
611
|
-
}
|
|
612
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
613
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
614
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
615
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
616
|
-
localVarRequestOptions.data = serializeDataIfNeeded(createCollectionRequest, localVarRequestOptions, configuration);
|
|
617
|
-
return {
|
|
618
|
-
url: toPathString(localVarUrlObj),
|
|
619
|
-
options: localVarRequestOptions,
|
|
620
|
-
};
|
|
621
|
-
}),
|
|
622
|
-
/**
|
|
623
|
-
*
|
|
624
|
-
* @summary Delete website collection
|
|
625
|
-
* @param {string} project What project it is
|
|
626
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
627
|
-
* @param {*} [options] Override http request option.
|
|
628
|
-
* @throws {RequiredError}
|
|
629
|
-
*/
|
|
630
|
-
deleteCollection: (project_1, collectionId_1, ...args_1) => __awaiter(this, [project_1, collectionId_1, ...args_1], void 0, function* (project, collectionId, options = {}) {
|
|
631
|
-
// verify required parameter 'project' is not null or undefined
|
|
632
|
-
assertParamExists('deleteCollection', 'project', project);
|
|
633
|
-
// verify required parameter 'collectionId' is not null or undefined
|
|
634
|
-
assertParamExists('deleteCollection', 'collectionId', collectionId);
|
|
635
|
-
const localVarPath = `/v1/website/collections/{collectionId}`
|
|
636
|
-
.replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
|
|
637
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
638
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
639
|
-
let baseOptions;
|
|
640
|
-
if (configuration) {
|
|
641
|
-
baseOptions = configuration.baseOptions;
|
|
642
|
-
}
|
|
643
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'DELETE' }, baseOptions), options);
|
|
644
|
-
const localVarHeaderParameter = {};
|
|
645
|
-
const localVarQueryParameter = {};
|
|
646
|
-
// authentication session-oauth required
|
|
647
|
-
// oauth required
|
|
648
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
649
|
-
// authentication api-key required
|
|
650
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
651
|
-
if (project !== undefined) {
|
|
652
|
-
localVarQueryParameter['project'] = project;
|
|
653
|
-
}
|
|
654
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
655
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
656
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
657
|
-
return {
|
|
658
|
-
url: toPathString(localVarUrlObj),
|
|
659
|
-
options: localVarRequestOptions,
|
|
660
|
-
};
|
|
661
|
-
}),
|
|
662
|
-
/**
|
|
663
|
-
* Export collections as a CSV file.
|
|
664
|
-
* @summary Export collections
|
|
665
|
-
* @param {string} project What project it is
|
|
666
|
-
* @param {*} [options] Override http request option.
|
|
667
|
-
* @throws {RequiredError}
|
|
668
|
-
*/
|
|
669
|
-
exportCollections: (project_1, ...args_1) => __awaiter(this, [project_1, ...args_1], void 0, function* (project, options = {}) {
|
|
670
|
-
// verify required parameter 'project' is not null or undefined
|
|
671
|
-
assertParamExists('exportCollections', 'project', project);
|
|
672
|
-
const localVarPath = `/v1/website/collections/export`;
|
|
673
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
674
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
675
|
-
let baseOptions;
|
|
676
|
-
if (configuration) {
|
|
677
|
-
baseOptions = configuration.baseOptions;
|
|
678
|
-
}
|
|
679
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
680
|
-
const localVarHeaderParameter = {};
|
|
681
|
-
const localVarQueryParameter = {};
|
|
682
|
-
// authentication session-oauth required
|
|
683
|
-
// oauth required
|
|
684
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
685
|
-
// authentication api-key required
|
|
686
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
687
|
-
if (project !== undefined) {
|
|
688
|
-
localVarQueryParameter['project'] = project;
|
|
689
|
-
}
|
|
690
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
691
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
692
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
693
|
-
return {
|
|
694
|
-
url: toPathString(localVarUrlObj),
|
|
695
|
-
options: localVarRequestOptions,
|
|
696
|
-
};
|
|
697
|
-
}),
|
|
698
|
-
/**
|
|
699
|
-
*
|
|
700
|
-
* @summary Get website collection
|
|
701
|
-
* @param {string} project What project it is
|
|
702
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
703
|
-
* @param {*} [options] Override http request option.
|
|
704
|
-
* @throws {RequiredError}
|
|
705
|
-
*/
|
|
706
|
-
getCollection: (project_1, collectionId_1, ...args_1) => __awaiter(this, [project_1, collectionId_1, ...args_1], void 0, function* (project, collectionId, options = {}) {
|
|
707
|
-
// verify required parameter 'project' is not null or undefined
|
|
708
|
-
assertParamExists('getCollection', 'project', project);
|
|
709
|
-
// verify required parameter 'collectionId' is not null or undefined
|
|
710
|
-
assertParamExists('getCollection', 'collectionId', collectionId);
|
|
711
|
-
const localVarPath = `/v1/website/collections/{collectionId}`
|
|
712
|
-
.replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
|
|
713
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
714
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
715
|
-
let baseOptions;
|
|
716
|
-
if (configuration) {
|
|
717
|
-
baseOptions = configuration.baseOptions;
|
|
718
|
-
}
|
|
719
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
720
|
-
const localVarHeaderParameter = {};
|
|
721
|
-
const localVarQueryParameter = {};
|
|
722
|
-
// authentication session-oauth required
|
|
723
|
-
// oauth required
|
|
724
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
725
|
-
// authentication api-key required
|
|
726
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
727
|
-
if (project !== undefined) {
|
|
728
|
-
localVarQueryParameter['project'] = project;
|
|
729
|
-
}
|
|
730
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
731
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
732
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
733
|
-
return {
|
|
734
|
-
url: toPathString(localVarUrlObj),
|
|
735
|
-
options: localVarRequestOptions,
|
|
736
|
-
};
|
|
737
|
-
}),
|
|
738
|
-
/**
|
|
739
|
-
*
|
|
740
|
-
* @summary List website collections
|
|
741
|
-
* @param {string} project What project it is
|
|
742
|
-
* @param {number} [pageToken] Page reference token
|
|
743
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
744
|
-
* @param {string} [search] Search term to filter results
|
|
745
|
-
* @param {*} [options] Override http request option.
|
|
746
|
-
* @throws {RequiredError}
|
|
747
|
-
*/
|
|
748
|
-
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 = {}) {
|
|
749
|
-
// verify required parameter 'project' is not null or undefined
|
|
750
|
-
assertParamExists('listCollections', 'project', project);
|
|
751
|
-
const localVarPath = `/v1/website/collections`;
|
|
752
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
753
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
754
|
-
let baseOptions;
|
|
755
|
-
if (configuration) {
|
|
756
|
-
baseOptions = configuration.baseOptions;
|
|
757
|
-
}
|
|
758
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
|
|
759
|
-
const localVarHeaderParameter = {};
|
|
760
|
-
const localVarQueryParameter = {};
|
|
761
|
-
// authentication session-oauth required
|
|
762
|
-
// oauth required
|
|
763
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
764
|
-
// authentication api-key required
|
|
765
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
766
|
-
if (project !== undefined) {
|
|
767
|
-
localVarQueryParameter['project'] = project;
|
|
768
|
-
}
|
|
769
|
-
if (pageToken !== undefined) {
|
|
770
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
771
|
-
}
|
|
772
|
-
if (pageSize !== undefined) {
|
|
773
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
774
|
-
}
|
|
775
|
-
if (search !== undefined) {
|
|
776
|
-
localVarQueryParameter['search'] = search;
|
|
777
|
-
}
|
|
778
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
779
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
780
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
781
|
-
return {
|
|
782
|
-
url: toPathString(localVarUrlObj),
|
|
783
|
-
options: localVarRequestOptions,
|
|
784
|
-
};
|
|
785
|
-
}),
|
|
786
|
-
/**
|
|
787
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
788
|
-
* @summary AI SEO optimise collections
|
|
789
|
-
* @param {string} project What project it is
|
|
790
|
-
* @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
|
|
791
|
-
* @param {*} [options] Override http request option.
|
|
792
|
-
* @throws {RequiredError}
|
|
793
|
-
*/
|
|
794
|
-
seoOptimiseCollections: (project_1, seoOptimiseCollectionsRequest_1, ...args_1) => __awaiter(this, [project_1, seoOptimiseCollectionsRequest_1, ...args_1], void 0, function* (project, seoOptimiseCollectionsRequest, options = {}) {
|
|
795
|
-
// verify required parameter 'project' is not null or undefined
|
|
796
|
-
assertParamExists('seoOptimiseCollections', 'project', project);
|
|
797
|
-
const localVarPath = `/v1/website/collections/ai-seo-optimise`;
|
|
798
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
799
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
800
|
-
let baseOptions;
|
|
801
|
-
if (configuration) {
|
|
802
|
-
baseOptions = configuration.baseOptions;
|
|
803
|
-
}
|
|
804
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
|
|
805
|
-
const localVarHeaderParameter = {};
|
|
806
|
-
const localVarQueryParameter = {};
|
|
807
|
-
// authentication session-oauth required
|
|
808
|
-
// oauth required
|
|
809
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
810
|
-
// authentication api-key required
|
|
811
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
812
|
-
if (project !== undefined) {
|
|
813
|
-
localVarQueryParameter['project'] = project;
|
|
814
|
-
}
|
|
815
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
816
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
817
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
818
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
819
|
-
localVarRequestOptions.data = serializeDataIfNeeded(seoOptimiseCollectionsRequest, localVarRequestOptions, configuration);
|
|
820
|
-
return {
|
|
821
|
-
url: toPathString(localVarUrlObj),
|
|
822
|
-
options: localVarRequestOptions,
|
|
823
|
-
};
|
|
824
|
-
}),
|
|
825
|
-
/**
|
|
826
|
-
*
|
|
827
|
-
* @summary Update website collection
|
|
828
|
-
* @param {string} project What project it is
|
|
829
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
830
|
-
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
831
|
-
* @param {*} [options] Override http request option.
|
|
832
|
-
* @throws {RequiredError}
|
|
833
|
-
*/
|
|
834
|
-
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 = {}) {
|
|
835
|
-
// verify required parameter 'project' is not null or undefined
|
|
836
|
-
assertParamExists('updateCollection', 'project', project);
|
|
837
|
-
// verify required parameter 'collectionId' is not null or undefined
|
|
838
|
-
assertParamExists('updateCollection', 'collectionId', collectionId);
|
|
839
|
-
const localVarPath = `/v1/website/collections/{collectionId}`
|
|
840
|
-
.replace(`{${"collectionId"}}`, encodeURIComponent(String(collectionId)));
|
|
841
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
842
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
843
|
-
let baseOptions;
|
|
844
|
-
if (configuration) {
|
|
845
|
-
baseOptions = configuration.baseOptions;
|
|
846
|
-
}
|
|
847
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
848
|
-
const localVarHeaderParameter = {};
|
|
849
|
-
const localVarQueryParameter = {};
|
|
850
|
-
// authentication session-oauth required
|
|
851
|
-
// oauth required
|
|
852
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
853
|
-
// authentication api-key required
|
|
854
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
855
|
-
if (project !== undefined) {
|
|
856
|
-
localVarQueryParameter['project'] = project;
|
|
857
|
-
}
|
|
858
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
859
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
860
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
861
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
862
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateCollectionRequest, localVarRequestOptions, configuration);
|
|
863
|
-
return {
|
|
864
|
-
url: toPathString(localVarUrlObj),
|
|
865
|
-
options: localVarRequestOptions,
|
|
866
|
-
};
|
|
867
|
-
}),
|
|
868
|
-
/**
|
|
869
|
-
* Update a website collection.
|
|
870
|
-
* @summary Update website collections
|
|
871
|
-
* @param {string} project What project it is
|
|
872
|
-
* @param {number} [pageToken] Page reference token
|
|
873
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
874
|
-
* @param {string} [search] Search term to filter results
|
|
875
|
-
* @param {UpdateCollectionsRequest} [updateCollectionsRequest] Update collections in bulk.
|
|
876
|
-
* @param {*} [options] Override http request option.
|
|
877
|
-
* @throws {RequiredError}
|
|
878
|
-
*/
|
|
879
|
-
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 = {}) {
|
|
880
|
-
// verify required parameter 'project' is not null or undefined
|
|
881
|
-
assertParamExists('updateCollections', 'project', project);
|
|
882
|
-
const localVarPath = `/v1/website/collections`;
|
|
883
|
-
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
884
|
-
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
885
|
-
let baseOptions;
|
|
886
|
-
if (configuration) {
|
|
887
|
-
baseOptions = configuration.baseOptions;
|
|
888
|
-
}
|
|
889
|
-
const localVarRequestOptions = Object.assign(Object.assign({ method: 'PATCH' }, baseOptions), options);
|
|
890
|
-
const localVarHeaderParameter = {};
|
|
891
|
-
const localVarQueryParameter = {};
|
|
892
|
-
// authentication session-oauth required
|
|
893
|
-
// oauth required
|
|
894
|
-
yield setOAuthToObject(localVarHeaderParameter, "session-oauth", [], configuration);
|
|
895
|
-
// authentication api-key required
|
|
896
|
-
yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
|
|
897
|
-
if (project !== undefined) {
|
|
898
|
-
localVarQueryParameter['project'] = project;
|
|
899
|
-
}
|
|
900
|
-
if (pageToken !== undefined) {
|
|
901
|
-
localVarQueryParameter['pageToken'] = pageToken;
|
|
902
|
-
}
|
|
903
|
-
if (pageSize !== undefined) {
|
|
904
|
-
localVarQueryParameter['pageSize'] = pageSize;
|
|
905
|
-
}
|
|
906
|
-
if (search !== undefined) {
|
|
907
|
-
localVarQueryParameter['search'] = search;
|
|
908
|
-
}
|
|
909
|
-
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
910
|
-
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
911
|
-
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
912
|
-
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
913
|
-
localVarRequestOptions.data = serializeDataIfNeeded(updateCollectionsRequest, localVarRequestOptions, configuration);
|
|
914
|
-
return {
|
|
915
|
-
url: toPathString(localVarUrlObj),
|
|
916
|
-
options: localVarRequestOptions,
|
|
917
|
-
};
|
|
918
|
-
}),
|
|
919
|
-
};
|
|
920
|
-
};
|
|
921
|
-
/**
|
|
922
|
-
* CollectionsApi - functional programming interface
|
|
923
|
-
* @export
|
|
924
|
-
*/
|
|
925
|
-
export const CollectionsApiFp = function (configuration) {
|
|
926
|
-
const localVarAxiosParamCreator = CollectionsApiAxiosParamCreator(configuration);
|
|
927
|
-
return {
|
|
928
|
-
/**
|
|
929
|
-
* Create a new website collection.
|
|
930
|
-
* @summary Create website collection
|
|
931
|
-
* @param {string} project What project it is
|
|
932
|
-
* @param {number} [pageToken] Page reference token
|
|
933
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
934
|
-
* @param {string} [search] Search term to filter results
|
|
935
|
-
* @param {CreateCollectionRequest} [createCollectionRequest] Create a new collection
|
|
936
|
-
* @param {*} [options] Override http request option.
|
|
937
|
-
* @throws {RequiredError}
|
|
938
|
-
*/
|
|
939
|
-
createCollection(project, pageToken, pageSize, search, createCollectionRequest, options) {
|
|
940
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
941
|
-
var _a, _b, _c;
|
|
942
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.createCollection(project, pageToken, pageSize, search, createCollectionRequest, options);
|
|
943
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
944
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.createCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
945
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
946
|
-
});
|
|
947
|
-
},
|
|
948
|
-
/**
|
|
949
|
-
*
|
|
950
|
-
* @summary Delete website collection
|
|
951
|
-
* @param {string} project What project it is
|
|
952
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
953
|
-
* @param {*} [options] Override http request option.
|
|
954
|
-
* @throws {RequiredError}
|
|
955
|
-
*/
|
|
956
|
-
deleteCollection(project, collectionId, options) {
|
|
957
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
958
|
-
var _a, _b, _c;
|
|
959
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCollection(project, collectionId, options);
|
|
960
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
961
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.deleteCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
962
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
963
|
-
});
|
|
964
|
-
},
|
|
965
|
-
/**
|
|
966
|
-
* Export collections as a CSV file.
|
|
967
|
-
* @summary Export collections
|
|
968
|
-
* @param {string} project What project it is
|
|
969
|
-
* @param {*} [options] Override http request option.
|
|
970
|
-
* @throws {RequiredError}
|
|
971
|
-
*/
|
|
972
|
-
exportCollections(project, options) {
|
|
973
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
974
|
-
var _a, _b, _c;
|
|
975
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.exportCollections(project, options);
|
|
976
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
977
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.exportCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
978
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
979
|
-
});
|
|
980
|
-
},
|
|
981
|
-
/**
|
|
982
|
-
*
|
|
983
|
-
* @summary Get website collection
|
|
984
|
-
* @param {string} project What project it is
|
|
985
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
986
|
-
* @param {*} [options] Override http request option.
|
|
987
|
-
* @throws {RequiredError}
|
|
988
|
-
*/
|
|
989
|
-
getCollection(project, collectionId, options) {
|
|
990
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
991
|
-
var _a, _b, _c;
|
|
992
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.getCollection(project, collectionId, options);
|
|
993
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
994
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.getCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
995
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
996
|
-
});
|
|
997
|
-
},
|
|
998
|
-
/**
|
|
999
|
-
*
|
|
1000
|
-
* @summary List website collections
|
|
1001
|
-
* @param {string} project What project it is
|
|
1002
|
-
* @param {number} [pageToken] Page reference token
|
|
1003
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1004
|
-
* @param {string} [search] Search term to filter results
|
|
1005
|
-
* @param {*} [options] Override http request option.
|
|
1006
|
-
* @throws {RequiredError}
|
|
1007
|
-
*/
|
|
1008
|
-
listCollections(project, pageToken, pageSize, search, options) {
|
|
1009
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1010
|
-
var _a, _b, _c;
|
|
1011
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.listCollections(project, pageToken, pageSize, search, options);
|
|
1012
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1013
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.listCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1014
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1015
|
-
});
|
|
1016
|
-
},
|
|
1017
|
-
/**
|
|
1018
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
1019
|
-
* @summary AI SEO optimise collections
|
|
1020
|
-
* @param {string} project What project it is
|
|
1021
|
-
* @param {SeoOptimiseCollectionsRequest} [seoOptimiseCollectionsRequest] A set of collection IDs to AI SEO optimise.
|
|
1022
|
-
* @param {*} [options] Override http request option.
|
|
1023
|
-
* @throws {RequiredError}
|
|
1024
|
-
*/
|
|
1025
|
-
seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options) {
|
|
1026
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1027
|
-
var _a, _b, _c;
|
|
1028
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.seoOptimiseCollections(project, seoOptimiseCollectionsRequest, options);
|
|
1029
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1030
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.seoOptimiseCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1031
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1032
|
-
});
|
|
1033
|
-
},
|
|
1034
|
-
/**
|
|
1035
|
-
*
|
|
1036
|
-
* @summary Update website collection
|
|
1037
|
-
* @param {string} project What project it is
|
|
1038
|
-
* @param {string} collectionId Collection\'s unique identifier
|
|
1039
|
-
* @param {UpdateCollectionRequest} [updateCollectionRequest]
|
|
1040
|
-
* @param {*} [options] Override http request option.
|
|
1041
|
-
* @throws {RequiredError}
|
|
1042
|
-
*/
|
|
1043
|
-
updateCollection(project, collectionId, updateCollectionRequest, options) {
|
|
1044
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1045
|
-
var _a, _b, _c;
|
|
1046
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCollection(project, collectionId, updateCollectionRequest, options);
|
|
1047
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1048
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.updateCollection']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1049
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1050
|
-
});
|
|
1051
|
-
},
|
|
1052
|
-
/**
|
|
1053
|
-
* Update a website collection.
|
|
1054
|
-
* @summary Update website collections
|
|
1055
|
-
* @param {string} project What project it is
|
|
1056
|
-
* @param {number} [pageToken] Page reference token
|
|
1057
|
-
* @param {number} [pageSize] Max page size. This is the maximum page size that will be returned, but it might be smaller.
|
|
1058
|
-
* @param {string} [search] Search term to filter results
|
|
1059
|
-
* @param {UpdateCollectionsRequest} [updateCollectionsRequest] Update collections in bulk.
|
|
1060
|
-
* @param {*} [options] Override http request option.
|
|
1061
|
-
* @throws {RequiredError}
|
|
1062
|
-
*/
|
|
1063
|
-
updateCollections(project, pageToken, pageSize, search, updateCollectionsRequest, options) {
|
|
1064
|
-
return __awaiter(this, void 0, void 0, function* () {
|
|
1065
|
-
var _a, _b, _c;
|
|
1066
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.updateCollections(project, pageToken, pageSize, search, updateCollectionsRequest, options);
|
|
1067
|
-
const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
|
|
1068
|
-
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['CollectionsApi.updateCollections']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
1069
|
-
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
1070
|
-
});
|
|
1071
|
-
},
|
|
1072
|
-
};
|
|
1073
|
-
};
|
|
1074
|
-
/**
|
|
1075
|
-
* CollectionsApi - factory interface
|
|
1076
|
-
* @export
|
|
1077
|
-
*/
|
|
1078
|
-
export const CollectionsApiFactory = function (configuration, basePath, axios) {
|
|
1079
|
-
const localVarFp = CollectionsApiFp(configuration);
|
|
1080
|
-
return {
|
|
1081
|
-
/**
|
|
1082
|
-
* Create a new website collection.
|
|
1083
|
-
* @summary Create website collection
|
|
1084
|
-
* @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
|
|
1085
|
-
* @param {*} [options] Override http request option.
|
|
1086
|
-
* @throws {RequiredError}
|
|
1087
|
-
*/
|
|
1088
|
-
createCollection(requestParameters, options) {
|
|
1089
|
-
return localVarFp.createCollection(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createCollectionRequest, options).then((request) => request(axios, basePath));
|
|
1090
|
-
},
|
|
1091
|
-
/**
|
|
1092
|
-
*
|
|
1093
|
-
* @summary Delete website collection
|
|
1094
|
-
* @param {CollectionsApiDeleteCollectionRequest} requestParameters Request parameters.
|
|
1095
|
-
* @param {*} [options] Override http request option.
|
|
1096
|
-
* @throws {RequiredError}
|
|
1097
|
-
*/
|
|
1098
|
-
deleteCollection(requestParameters, options) {
|
|
1099
|
-
return localVarFp.deleteCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(axios, basePath));
|
|
1100
|
-
},
|
|
1101
|
-
/**
|
|
1102
|
-
* Export collections as a CSV file.
|
|
1103
|
-
* @summary Export collections
|
|
1104
|
-
* @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
|
|
1105
|
-
* @param {*} [options] Override http request option.
|
|
1106
|
-
* @throws {RequiredError}
|
|
1107
|
-
*/
|
|
1108
|
-
exportCollections(requestParameters, options) {
|
|
1109
|
-
return localVarFp.exportCollections(requestParameters.project, options).then((request) => request(axios, basePath));
|
|
1110
|
-
},
|
|
1111
|
-
/**
|
|
1112
|
-
*
|
|
1113
|
-
* @summary Get website collection
|
|
1114
|
-
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
1115
|
-
* @param {*} [options] Override http request option.
|
|
1116
|
-
* @throws {RequiredError}
|
|
1117
|
-
*/
|
|
1118
|
-
getCollection(requestParameters, options) {
|
|
1119
|
-
return localVarFp.getCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(axios, basePath));
|
|
1120
|
-
},
|
|
1121
|
-
/**
|
|
1122
|
-
*
|
|
1123
|
-
* @summary List website collections
|
|
1124
|
-
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
1125
|
-
* @param {*} [options] Override http request option.
|
|
1126
|
-
* @throws {RequiredError}
|
|
1127
|
-
*/
|
|
1128
|
-
listCollections(requestParameters, options) {
|
|
1129
|
-
return localVarFp.listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(axios, basePath));
|
|
1130
|
-
},
|
|
1131
|
-
/**
|
|
1132
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
1133
|
-
* @summary AI SEO optimise collections
|
|
1134
|
-
* @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
|
|
1135
|
-
* @param {*} [options] Override http request option.
|
|
1136
|
-
* @throws {RequiredError}
|
|
1137
|
-
*/
|
|
1138
|
-
seoOptimiseCollections(requestParameters, options) {
|
|
1139
|
-
return localVarFp.seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
1140
|
-
},
|
|
1141
|
-
/**
|
|
1142
|
-
*
|
|
1143
|
-
* @summary Update website collection
|
|
1144
|
-
* @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
|
|
1145
|
-
* @param {*} [options] Override http request option.
|
|
1146
|
-
* @throws {RequiredError}
|
|
1147
|
-
*/
|
|
1148
|
-
updateCollection(requestParameters, options) {
|
|
1149
|
-
return localVarFp.updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(axios, basePath));
|
|
1150
|
-
},
|
|
1151
|
-
/**
|
|
1152
|
-
* Update a website collection.
|
|
1153
|
-
* @summary Update website collections
|
|
1154
|
-
* @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
|
|
1155
|
-
* @param {*} [options] Override http request option.
|
|
1156
|
-
* @throws {RequiredError}
|
|
1157
|
-
*/
|
|
1158
|
-
updateCollections(requestParameters, options) {
|
|
1159
|
-
return localVarFp.updateCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateCollectionsRequest, options).then((request) => request(axios, basePath));
|
|
1160
|
-
},
|
|
1161
|
-
};
|
|
1162
|
-
};
|
|
1163
|
-
/**
|
|
1164
|
-
* CollectionsApi - object-oriented interface
|
|
1165
|
-
* @export
|
|
1166
|
-
* @class CollectionsApi
|
|
1167
|
-
* @extends {BaseAPI}
|
|
1168
|
-
*/
|
|
1169
|
-
export class CollectionsApi extends BaseAPI {
|
|
1170
|
-
/**
|
|
1171
|
-
* Create a new website collection.
|
|
1172
|
-
* @summary Create website collection
|
|
1173
|
-
* @param {CollectionsApiCreateCollectionRequest} requestParameters Request parameters.
|
|
1174
|
-
* @param {*} [options] Override http request option.
|
|
1175
|
-
* @throws {RequiredError}
|
|
1176
|
-
* @memberof CollectionsApi
|
|
1177
|
-
*/
|
|
1178
|
-
createCollection(requestParameters, options) {
|
|
1179
|
-
return CollectionsApiFp(this.configuration).createCollection(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createCollectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1180
|
-
}
|
|
1181
|
-
/**
|
|
1182
|
-
*
|
|
1183
|
-
* @summary Delete website collection
|
|
1184
|
-
* @param {CollectionsApiDeleteCollectionRequest} requestParameters Request parameters.
|
|
1185
|
-
* @param {*} [options] Override http request option.
|
|
1186
|
-
* @throws {RequiredError}
|
|
1187
|
-
* @memberof CollectionsApi
|
|
1188
|
-
*/
|
|
1189
|
-
deleteCollection(requestParameters, options) {
|
|
1190
|
-
return CollectionsApiFp(this.configuration).deleteCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(this.axios, this.basePath));
|
|
1191
|
-
}
|
|
1192
|
-
/**
|
|
1193
|
-
* Export collections as a CSV file.
|
|
1194
|
-
* @summary Export collections
|
|
1195
|
-
* @param {CollectionsApiExportCollectionsRequest} requestParameters Request parameters.
|
|
1196
|
-
* @param {*} [options] Override http request option.
|
|
1197
|
-
* @throws {RequiredError}
|
|
1198
|
-
* @memberof CollectionsApi
|
|
1199
|
-
*/
|
|
1200
|
-
exportCollections(requestParameters, options) {
|
|
1201
|
-
return CollectionsApiFp(this.configuration).exportCollections(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
1202
|
-
}
|
|
1203
|
-
/**
|
|
1204
|
-
*
|
|
1205
|
-
* @summary Get website collection
|
|
1206
|
-
* @param {CollectionsApiGetCollectionRequest} requestParameters Request parameters.
|
|
1207
|
-
* @param {*} [options] Override http request option.
|
|
1208
|
-
* @throws {RequiredError}
|
|
1209
|
-
* @memberof CollectionsApi
|
|
1210
|
-
*/
|
|
1211
|
-
getCollection(requestParameters, options) {
|
|
1212
|
-
return CollectionsApiFp(this.configuration).getCollection(requestParameters.project, requestParameters.collectionId, options).then((request) => request(this.axios, this.basePath));
|
|
1213
|
-
}
|
|
1214
|
-
/**
|
|
1215
|
-
*
|
|
1216
|
-
* @summary List website collections
|
|
1217
|
-
* @param {CollectionsApiListCollectionsRequest} requestParameters Request parameters.
|
|
1218
|
-
* @param {*} [options] Override http request option.
|
|
1219
|
-
* @throws {RequiredError}
|
|
1220
|
-
* @memberof CollectionsApi
|
|
1221
|
-
*/
|
|
1222
|
-
listCollections(requestParameters, options) {
|
|
1223
|
-
return CollectionsApiFp(this.configuration).listCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
1224
|
-
}
|
|
1225
|
-
/**
|
|
1226
|
-
* AI SEO optimises collections by a set of given IDs.
|
|
1227
|
-
* @summary AI SEO optimise collections
|
|
1228
|
-
* @param {CollectionsApiSeoOptimiseCollectionsRequest} requestParameters Request parameters.
|
|
1229
|
-
* @param {*} [options] Override http request option.
|
|
1230
|
-
* @throws {RequiredError}
|
|
1231
|
-
* @memberof CollectionsApi
|
|
1232
|
-
*/
|
|
1233
|
-
seoOptimiseCollections(requestParameters, options) {
|
|
1234
|
-
return CollectionsApiFp(this.configuration).seoOptimiseCollections(requestParameters.project, requestParameters.seoOptimiseCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1235
|
-
}
|
|
1236
|
-
/**
|
|
1237
|
-
*
|
|
1238
|
-
* @summary Update website collection
|
|
1239
|
-
* @param {CollectionsApiUpdateCollectionRequest} requestParameters Request parameters.
|
|
1240
|
-
* @param {*} [options] Override http request option.
|
|
1241
|
-
* @throws {RequiredError}
|
|
1242
|
-
* @memberof CollectionsApi
|
|
1243
|
-
*/
|
|
1244
|
-
updateCollection(requestParameters, options) {
|
|
1245
|
-
return CollectionsApiFp(this.configuration).updateCollection(requestParameters.project, requestParameters.collectionId, requestParameters.updateCollectionRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1246
|
-
}
|
|
1247
|
-
/**
|
|
1248
|
-
* Update a website collection.
|
|
1249
|
-
* @summary Update website collections
|
|
1250
|
-
* @param {CollectionsApiUpdateCollectionsRequest} requestParameters Request parameters.
|
|
1251
|
-
* @param {*} [options] Override http request option.
|
|
1252
|
-
* @throws {RequiredError}
|
|
1253
|
-
* @memberof CollectionsApi
|
|
1254
|
-
*/
|
|
1255
|
-
updateCollections(requestParameters, options) {
|
|
1256
|
-
return CollectionsApiFp(this.configuration).updateCollections(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updateCollectionsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1257
|
-
}
|
|
1258
|
-
}
|
|
1259
554
|
/**
|
|
1260
555
|
* CrossSellApi - axios parameter creator
|
|
1261
|
-
* @export
|
|
1262
556
|
*/
|
|
1263
557
|
export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
1264
558
|
return {
|
|
@@ -1349,7 +643,6 @@ export const CrossSellApiAxiosParamCreator = function (configuration) {
|
|
|
1349
643
|
};
|
|
1350
644
|
/**
|
|
1351
645
|
* CrossSellApi - functional programming interface
|
|
1352
|
-
* @export
|
|
1353
646
|
*/
|
|
1354
647
|
export const CrossSellApiFp = function (configuration) {
|
|
1355
648
|
const localVarAxiosParamCreator = CrossSellApiAxiosParamCreator(configuration);
|
|
@@ -1393,7 +686,6 @@ export const CrossSellApiFp = function (configuration) {
|
|
|
1393
686
|
};
|
|
1394
687
|
/**
|
|
1395
688
|
* CrossSellApi - factory interface
|
|
1396
|
-
* @export
|
|
1397
689
|
*/
|
|
1398
690
|
export const CrossSellApiFactory = function (configuration, basePath, axios) {
|
|
1399
691
|
const localVarFp = CrossSellApiFp(configuration);
|
|
@@ -1422,9 +714,6 @@ export const CrossSellApiFactory = function (configuration, basePath, axios) {
|
|
|
1422
714
|
};
|
|
1423
715
|
/**
|
|
1424
716
|
* CrossSellApi - object-oriented interface
|
|
1425
|
-
* @export
|
|
1426
|
-
* @class CrossSellApi
|
|
1427
|
-
* @extends {BaseAPI}
|
|
1428
717
|
*/
|
|
1429
718
|
export class CrossSellApi extends BaseAPI {
|
|
1430
719
|
/**
|
|
@@ -1433,7 +722,6 @@ export class CrossSellApi extends BaseAPI {
|
|
|
1433
722
|
* @param {CrossSellApiAttachCrossSellProductsRequest} requestParameters Request parameters.
|
|
1434
723
|
* @param {*} [options] Override http request option.
|
|
1435
724
|
* @throws {RequiredError}
|
|
1436
|
-
* @memberof CrossSellApi
|
|
1437
725
|
*/
|
|
1438
726
|
attachCrossSellProducts(requestParameters, options) {
|
|
1439
727
|
return CrossSellApiFp(this.configuration).attachCrossSellProducts(requestParameters.project, requestParameters.productId, requestParameters.attachCrossSellProductsRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1444,7 +732,6 @@ export class CrossSellApi extends BaseAPI {
|
|
|
1444
732
|
* @param {CrossSellApiGetCrossSellProductsRequest} requestParameters Request parameters.
|
|
1445
733
|
* @param {*} [options] Override http request option.
|
|
1446
734
|
* @throws {RequiredError}
|
|
1447
|
-
* @memberof CrossSellApi
|
|
1448
735
|
*/
|
|
1449
736
|
getCrossSellProducts(requestParameters, options) {
|
|
1450
737
|
return CrossSellApiFp(this.configuration).getCrossSellProducts(requestParameters.project, requestParameters.productId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1452,7 +739,6 @@ export class CrossSellApi extends BaseAPI {
|
|
|
1452
739
|
}
|
|
1453
740
|
/**
|
|
1454
741
|
* DefaultApi - axios parameter creator
|
|
1455
|
-
* @export
|
|
1456
742
|
*/
|
|
1457
743
|
export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
1458
744
|
return {
|
|
@@ -1535,7 +821,6 @@ export const DefaultApiAxiosParamCreator = function (configuration) {
|
|
|
1535
821
|
};
|
|
1536
822
|
/**
|
|
1537
823
|
* DefaultApi - functional programming interface
|
|
1538
|
-
* @export
|
|
1539
824
|
*/
|
|
1540
825
|
export const DefaultApiFp = function (configuration) {
|
|
1541
826
|
const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
|
|
@@ -1577,7 +862,6 @@ export const DefaultApiFp = function (configuration) {
|
|
|
1577
862
|
};
|
|
1578
863
|
/**
|
|
1579
864
|
* DefaultApi - factory interface
|
|
1580
|
-
* @export
|
|
1581
865
|
*/
|
|
1582
866
|
export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
1583
867
|
const localVarFp = DefaultApiFp(configuration);
|
|
@@ -1606,9 +890,6 @@ export const DefaultApiFactory = function (configuration, basePath, axios) {
|
|
|
1606
890
|
};
|
|
1607
891
|
/**
|
|
1608
892
|
* DefaultApi - object-oriented interface
|
|
1609
|
-
* @export
|
|
1610
|
-
* @class DefaultApi
|
|
1611
|
-
* @extends {BaseAPI}
|
|
1612
893
|
*/
|
|
1613
894
|
export class DefaultApi extends BaseAPI {
|
|
1614
895
|
/**
|
|
@@ -1617,7 +898,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
1617
898
|
* @param {DefaultApiGetBrandRequest} requestParameters Request parameters.
|
|
1618
899
|
* @param {*} [options] Override http request option.
|
|
1619
900
|
* @throws {RequiredError}
|
|
1620
|
-
* @memberof DefaultApi
|
|
1621
901
|
*/
|
|
1622
902
|
getBrand(requestParameters, options) {
|
|
1623
903
|
return DefaultApiFp(this.configuration).getBrand(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1628,7 +908,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
1628
908
|
* @param {DefaultApiUpdateBrandRequest} requestParameters Request parameters.
|
|
1629
909
|
* @param {*} [options] Override http request option.
|
|
1630
910
|
* @throws {RequiredError}
|
|
1631
|
-
* @memberof DefaultApi
|
|
1632
911
|
*/
|
|
1633
912
|
updateBrand(requestParameters, options) {
|
|
1634
913
|
return DefaultApiFp(this.configuration).updateBrand(requestParameters.project, requestParameters.updateBrandRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1636,7 +915,6 @@ export class DefaultApi extends BaseAPI {
|
|
|
1636
915
|
}
|
|
1637
916
|
/**
|
|
1638
917
|
* FooterApi - axios parameter creator
|
|
1639
|
-
* @export
|
|
1640
918
|
*/
|
|
1641
919
|
export const FooterApiAxiosParamCreator = function (configuration) {
|
|
1642
920
|
return {
|
|
@@ -1719,7 +997,6 @@ export const FooterApiAxiosParamCreator = function (configuration) {
|
|
|
1719
997
|
};
|
|
1720
998
|
/**
|
|
1721
999
|
* FooterApi - functional programming interface
|
|
1722
|
-
* @export
|
|
1723
1000
|
*/
|
|
1724
1001
|
export const FooterApiFp = function (configuration) {
|
|
1725
1002
|
const localVarAxiosParamCreator = FooterApiAxiosParamCreator(configuration);
|
|
@@ -1761,7 +1038,6 @@ export const FooterApiFp = function (configuration) {
|
|
|
1761
1038
|
};
|
|
1762
1039
|
/**
|
|
1763
1040
|
* FooterApi - factory interface
|
|
1764
|
-
* @export
|
|
1765
1041
|
*/
|
|
1766
1042
|
export const FooterApiFactory = function (configuration, basePath, axios) {
|
|
1767
1043
|
const localVarFp = FooterApiFp(configuration);
|
|
@@ -1790,9 +1066,6 @@ export const FooterApiFactory = function (configuration, basePath, axios) {
|
|
|
1790
1066
|
};
|
|
1791
1067
|
/**
|
|
1792
1068
|
* FooterApi - object-oriented interface
|
|
1793
|
-
* @export
|
|
1794
|
-
* @class FooterApi
|
|
1795
|
-
* @extends {BaseAPI}
|
|
1796
1069
|
*/
|
|
1797
1070
|
export class FooterApi extends BaseAPI {
|
|
1798
1071
|
/**
|
|
@@ -1801,7 +1074,6 @@ export class FooterApi extends BaseAPI {
|
|
|
1801
1074
|
* @param {FooterApiGetFooterRequest} requestParameters Request parameters.
|
|
1802
1075
|
* @param {*} [options] Override http request option.
|
|
1803
1076
|
* @throws {RequiredError}
|
|
1804
|
-
* @memberof FooterApi
|
|
1805
1077
|
*/
|
|
1806
1078
|
getFooter(requestParameters, options) {
|
|
1807
1079
|
return FooterApiFp(this.configuration).getFooter(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1812,7 +1084,6 @@ export class FooterApi extends BaseAPI {
|
|
|
1812
1084
|
* @param {FooterApiUpdateFooterRequest} requestParameters Request parameters.
|
|
1813
1085
|
* @param {*} [options] Override http request option.
|
|
1814
1086
|
* @throws {RequiredError}
|
|
1815
|
-
* @memberof FooterApi
|
|
1816
1087
|
*/
|
|
1817
1088
|
updateFooter(requestParameters, options) {
|
|
1818
1089
|
return FooterApiFp(this.configuration).updateFooter(requestParameters.project, requestParameters.updateFooterRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1820,7 +1091,6 @@ export class FooterApi extends BaseAPI {
|
|
|
1820
1091
|
}
|
|
1821
1092
|
/**
|
|
1822
1093
|
* MenuApi - axios parameter creator
|
|
1823
|
-
* @export
|
|
1824
1094
|
*/
|
|
1825
1095
|
export const MenuApiAxiosParamCreator = function (configuration) {
|
|
1826
1096
|
return {
|
|
@@ -1903,7 +1173,6 @@ export const MenuApiAxiosParamCreator = function (configuration) {
|
|
|
1903
1173
|
};
|
|
1904
1174
|
/**
|
|
1905
1175
|
* MenuApi - functional programming interface
|
|
1906
|
-
* @export
|
|
1907
1176
|
*/
|
|
1908
1177
|
export const MenuApiFp = function (configuration) {
|
|
1909
1178
|
const localVarAxiosParamCreator = MenuApiAxiosParamCreator(configuration);
|
|
@@ -1945,7 +1214,6 @@ export const MenuApiFp = function (configuration) {
|
|
|
1945
1214
|
};
|
|
1946
1215
|
/**
|
|
1947
1216
|
* MenuApi - factory interface
|
|
1948
|
-
* @export
|
|
1949
1217
|
*/
|
|
1950
1218
|
export const MenuApiFactory = function (configuration, basePath, axios) {
|
|
1951
1219
|
const localVarFp = MenuApiFp(configuration);
|
|
@@ -1974,9 +1242,6 @@ export const MenuApiFactory = function (configuration, basePath, axios) {
|
|
|
1974
1242
|
};
|
|
1975
1243
|
/**
|
|
1976
1244
|
* MenuApi - object-oriented interface
|
|
1977
|
-
* @export
|
|
1978
|
-
* @class MenuApi
|
|
1979
|
-
* @extends {BaseAPI}
|
|
1980
1245
|
*/
|
|
1981
1246
|
export class MenuApi extends BaseAPI {
|
|
1982
1247
|
/**
|
|
@@ -1985,7 +1250,6 @@ export class MenuApi extends BaseAPI {
|
|
|
1985
1250
|
* @param {MenuApiGetMenuRequest} requestParameters Request parameters.
|
|
1986
1251
|
* @param {*} [options] Override http request option.
|
|
1987
1252
|
* @throws {RequiredError}
|
|
1988
|
-
* @memberof MenuApi
|
|
1989
1253
|
*/
|
|
1990
1254
|
getMenu(requestParameters, options) {
|
|
1991
1255
|
return MenuApiFp(this.configuration).getMenu(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1996,7 +1260,6 @@ export class MenuApi extends BaseAPI {
|
|
|
1996
1260
|
* @param {MenuApiUpdateMenuRequest} requestParameters Request parameters.
|
|
1997
1261
|
* @param {*} [options] Override http request option.
|
|
1998
1262
|
* @throws {RequiredError}
|
|
1999
|
-
* @memberof MenuApi
|
|
2000
1263
|
*/
|
|
2001
1264
|
updateMenu(requestParameters, options) {
|
|
2002
1265
|
return MenuApiFp(this.configuration).updateMenu(requestParameters.project, requestParameters.updateMenuRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2004,7 +1267,6 @@ export class MenuApi extends BaseAPI {
|
|
|
2004
1267
|
}
|
|
2005
1268
|
/**
|
|
2006
1269
|
* PagesApi - axios parameter creator
|
|
2007
|
-
* @export
|
|
2008
1270
|
*/
|
|
2009
1271
|
export const PagesApiAxiosParamCreator = function (configuration) {
|
|
2010
1272
|
return {
|
|
@@ -2269,7 +1531,6 @@ export const PagesApiAxiosParamCreator = function (configuration) {
|
|
|
2269
1531
|
};
|
|
2270
1532
|
/**
|
|
2271
1533
|
* PagesApi - functional programming interface
|
|
2272
|
-
* @export
|
|
2273
1534
|
*/
|
|
2274
1535
|
export const PagesApiFp = function (configuration) {
|
|
2275
1536
|
const localVarAxiosParamCreator = PagesApiAxiosParamCreator(configuration);
|
|
@@ -2385,7 +1646,6 @@ export const PagesApiFp = function (configuration) {
|
|
|
2385
1646
|
};
|
|
2386
1647
|
/**
|
|
2387
1648
|
* PagesApi - factory interface
|
|
2388
|
-
* @export
|
|
2389
1649
|
*/
|
|
2390
1650
|
export const PagesApiFactory = function (configuration, basePath, axios) {
|
|
2391
1651
|
const localVarFp = PagesApiFp(configuration);
|
|
@@ -2454,9 +1714,6 @@ export const PagesApiFactory = function (configuration, basePath, axios) {
|
|
|
2454
1714
|
};
|
|
2455
1715
|
/**
|
|
2456
1716
|
* PagesApi - object-oriented interface
|
|
2457
|
-
* @export
|
|
2458
|
-
* @class PagesApi
|
|
2459
|
-
* @extends {BaseAPI}
|
|
2460
1717
|
*/
|
|
2461
1718
|
export class PagesApi extends BaseAPI {
|
|
2462
1719
|
/**
|
|
@@ -2465,7 +1722,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2465
1722
|
* @param {PagesApiExportPagesRequest} requestParameters Request parameters.
|
|
2466
1723
|
* @param {*} [options] Override http request option.
|
|
2467
1724
|
* @throws {RequiredError}
|
|
2468
|
-
* @memberof PagesApi
|
|
2469
1725
|
*/
|
|
2470
1726
|
exportPages(requestParameters, options) {
|
|
2471
1727
|
return PagesApiFp(this.configuration).exportPages(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2476,7 +1732,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2476
1732
|
* @param {PagesApiGetPageRequest} requestParameters Request parameters.
|
|
2477
1733
|
* @param {*} [options] Override http request option.
|
|
2478
1734
|
* @throws {RequiredError}
|
|
2479
|
-
* @memberof PagesApi
|
|
2480
1735
|
*/
|
|
2481
1736
|
getPage(requestParameters, options) {
|
|
2482
1737
|
return PagesApiFp(this.configuration).getPage(requestParameters.project, requestParameters.pageId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2487,7 +1742,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2487
1742
|
* @param {PagesApiListPagesRequest} requestParameters Request parameters.
|
|
2488
1743
|
* @param {*} [options] Override http request option.
|
|
2489
1744
|
* @throws {RequiredError}
|
|
2490
|
-
* @memberof PagesApi
|
|
2491
1745
|
*/
|
|
2492
1746
|
listPages(requestParameters, options) {
|
|
2493
1747
|
return PagesApiFp(this.configuration).listPages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2498,7 +1752,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2498
1752
|
* @param {PagesApiSeoOptimisePagesRequest} requestParameters Request parameters.
|
|
2499
1753
|
* @param {*} [options] Override http request option.
|
|
2500
1754
|
* @throws {RequiredError}
|
|
2501
|
-
* @memberof PagesApi
|
|
2502
1755
|
*/
|
|
2503
1756
|
seoOptimisePages(requestParameters, options) {
|
|
2504
1757
|
return PagesApiFp(this.configuration).seoOptimisePages(requestParameters.project, requestParameters.seoOptimisePagesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2509,7 +1762,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2509
1762
|
* @param {PagesApiUpdatePageRequest} requestParameters Request parameters.
|
|
2510
1763
|
* @param {*} [options] Override http request option.
|
|
2511
1764
|
* @throws {RequiredError}
|
|
2512
|
-
* @memberof PagesApi
|
|
2513
1765
|
*/
|
|
2514
1766
|
updatePage(requestParameters, options) {
|
|
2515
1767
|
return PagesApiFp(this.configuration).updatePage(requestParameters.project, requestParameters.pageId, requestParameters.updatePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2520,7 +1772,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2520
1772
|
* @param {PagesApiUpdatePagesRequest} requestParameters Request parameters.
|
|
2521
1773
|
* @param {*} [options] Override http request option.
|
|
2522
1774
|
* @throws {RequiredError}
|
|
2523
|
-
* @memberof PagesApi
|
|
2524
1775
|
*/
|
|
2525
1776
|
updatePages(requestParameters, options) {
|
|
2526
1777
|
return PagesApiFp(this.configuration).updatePages(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.updatePagesRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2528,7 +1779,6 @@ export class PagesApi extends BaseAPI {
|
|
|
2528
1779
|
}
|
|
2529
1780
|
/**
|
|
2530
1781
|
* PaymentApi - axios parameter creator
|
|
2531
|
-
* @export
|
|
2532
1782
|
*/
|
|
2533
1783
|
export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
2534
1784
|
return {
|
|
@@ -2752,7 +2002,6 @@ export const PaymentApiAxiosParamCreator = function (configuration) {
|
|
|
2752
2002
|
};
|
|
2753
2003
|
/**
|
|
2754
2004
|
* PaymentApi - functional programming interface
|
|
2755
|
-
* @export
|
|
2756
2005
|
*/
|
|
2757
2006
|
export const PaymentApiFp = function (configuration) {
|
|
2758
2007
|
const localVarAxiosParamCreator = PaymentApiAxiosParamCreator(configuration);
|
|
@@ -2857,7 +2106,6 @@ export const PaymentApiFp = function (configuration) {
|
|
|
2857
2106
|
};
|
|
2858
2107
|
/**
|
|
2859
2108
|
* PaymentApi - factory interface
|
|
2860
|
-
* @export
|
|
2861
2109
|
*/
|
|
2862
2110
|
export const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
2863
2111
|
const localVarFp = PaymentApiFp(configuration);
|
|
@@ -2926,9 +2174,6 @@ export const PaymentApiFactory = function (configuration, basePath, axios) {
|
|
|
2926
2174
|
};
|
|
2927
2175
|
/**
|
|
2928
2176
|
* PaymentApi - object-oriented interface
|
|
2929
|
-
* @export
|
|
2930
|
-
* @class PaymentApi
|
|
2931
|
-
* @extends {BaseAPI}
|
|
2932
2177
|
*/
|
|
2933
2178
|
export class PaymentApi extends BaseAPI {
|
|
2934
2179
|
/**
|
|
@@ -2937,7 +2182,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
2937
2182
|
* @param {PaymentApiAuthorizePayPalRequest} requestParameters Request parameters.
|
|
2938
2183
|
* @param {*} [options] Override http request option.
|
|
2939
2184
|
* @throws {RequiredError}
|
|
2940
|
-
* @memberof PaymentApi
|
|
2941
2185
|
*/
|
|
2942
2186
|
authorizePayPal(requestParameters, options) {
|
|
2943
2187
|
return PaymentApiFp(this.configuration).authorizePayPal(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2948,7 +2192,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
2948
2192
|
* @param {PaymentApiAuthorizeStripeRequest} requestParameters Request parameters.
|
|
2949
2193
|
* @param {*} [options] Override http request option.
|
|
2950
2194
|
* @throws {RequiredError}
|
|
2951
|
-
* @memberof PaymentApi
|
|
2952
2195
|
*/
|
|
2953
2196
|
authorizeStripe(requestParameters, options) {
|
|
2954
2197
|
return PaymentApiFp(this.configuration).authorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2959,7 +2202,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
2959
2202
|
* @param {PaymentApiDeauthorizePayPalRequest} requestParameters Request parameters.
|
|
2960
2203
|
* @param {*} [options] Override http request option.
|
|
2961
2204
|
* @throws {RequiredError}
|
|
2962
|
-
* @memberof PaymentApi
|
|
2963
2205
|
*/
|
|
2964
2206
|
deauthorizePayPal(requestParameters, options) {
|
|
2965
2207
|
return PaymentApiFp(this.configuration).deauthorizePayPal(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2970,7 +2212,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
2970
2212
|
* @param {PaymentApiDeauthorizeStripeRequest} requestParameters Request parameters.
|
|
2971
2213
|
* @param {*} [options] Override http request option.
|
|
2972
2214
|
* @throws {RequiredError}
|
|
2973
|
-
* @memberof PaymentApi
|
|
2974
2215
|
*/
|
|
2975
2216
|
deauthorizeStripe(requestParameters, options) {
|
|
2976
2217
|
return PaymentApiFp(this.configuration).deauthorizeStripe(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2981,7 +2222,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
2981
2222
|
* @param {PaymentApiGetPayPalPaymentAccountRequest} requestParameters Request parameters.
|
|
2982
2223
|
* @param {*} [options] Override http request option.
|
|
2983
2224
|
* @throws {RequiredError}
|
|
2984
|
-
* @memberof PaymentApi
|
|
2985
2225
|
*/
|
|
2986
2226
|
getPayPalPaymentAccount(requestParameters, options) {
|
|
2987
2227
|
return PaymentApiFp(this.configuration).getPayPalPaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -2992,7 +2232,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
2992
2232
|
* @param {PaymentApiGetStripePaymentAccountRequest} requestParameters Request parameters.
|
|
2993
2233
|
* @param {*} [options] Override http request option.
|
|
2994
2234
|
* @throws {RequiredError}
|
|
2995
|
-
* @memberof PaymentApi
|
|
2996
2235
|
*/
|
|
2997
2236
|
getStripePaymentAccount(requestParameters, options) {
|
|
2998
2237
|
return PaymentApiFp(this.configuration).getStripePaymentAccount(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3000,7 +2239,6 @@ export class PaymentApi extends BaseAPI {
|
|
|
3000
2239
|
}
|
|
3001
2240
|
/**
|
|
3002
2241
|
* ReviewsApi - axios parameter creator
|
|
3003
|
-
* @export
|
|
3004
2242
|
*/
|
|
3005
2243
|
export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
3006
2244
|
return {
|
|
@@ -3203,7 +2441,6 @@ export const ReviewsApiAxiosParamCreator = function (configuration) {
|
|
|
3203
2441
|
};
|
|
3204
2442
|
/**
|
|
3205
2443
|
* ReviewsApi - functional programming interface
|
|
3206
|
-
* @export
|
|
3207
2444
|
*/
|
|
3208
2445
|
export const ReviewsApiFp = function (configuration) {
|
|
3209
2446
|
const localVarAxiosParamCreator = ReviewsApiAxiosParamCreator(configuration);
|
|
@@ -3287,7 +2524,6 @@ export const ReviewsApiFp = function (configuration) {
|
|
|
3287
2524
|
};
|
|
3288
2525
|
/**
|
|
3289
2526
|
* ReviewsApi - factory interface
|
|
3290
|
-
* @export
|
|
3291
2527
|
*/
|
|
3292
2528
|
export const ReviewsApiFactory = function (configuration, basePath, axios) {
|
|
3293
2529
|
const localVarFp = ReviewsApiFp(configuration);
|
|
@@ -3336,9 +2572,6 @@ export const ReviewsApiFactory = function (configuration, basePath, axios) {
|
|
|
3336
2572
|
};
|
|
3337
2573
|
/**
|
|
3338
2574
|
* ReviewsApi - object-oriented interface
|
|
3339
|
-
* @export
|
|
3340
|
-
* @class ReviewsApi
|
|
3341
|
-
* @extends {BaseAPI}
|
|
3342
2575
|
*/
|
|
3343
2576
|
export class ReviewsApi extends BaseAPI {
|
|
3344
2577
|
/**
|
|
@@ -3347,7 +2580,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
3347
2580
|
* @param {ReviewsApiExportReviewsRequest} requestParameters Request parameters.
|
|
3348
2581
|
* @param {*} [options] Override http request option.
|
|
3349
2582
|
* @throws {RequiredError}
|
|
3350
|
-
* @memberof ReviewsApi
|
|
3351
2583
|
*/
|
|
3352
2584
|
exportReviews(requestParameters, options) {
|
|
3353
2585
|
return ReviewsApiFp(this.configuration).exportReviews(requestParameters.project, requestParameters.start, requestParameters.end, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3358,7 +2590,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
3358
2590
|
* @param {ReviewsApiGetReviewRequest} requestParameters Request parameters.
|
|
3359
2591
|
* @param {*} [options] Override http request option.
|
|
3360
2592
|
* @throws {RequiredError}
|
|
3361
|
-
* @memberof ReviewsApi
|
|
3362
2593
|
*/
|
|
3363
2594
|
getReview(requestParameters, options) {
|
|
3364
2595
|
return ReviewsApiFp(this.configuration).getReview(requestParameters.project, requestParameters.reviewId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3369,7 +2600,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
3369
2600
|
* @param {ReviewsApiListReviewsRequest} requestParameters Request parameters.
|
|
3370
2601
|
* @param {*} [options] Override http request option.
|
|
3371
2602
|
* @throws {RequiredError}
|
|
3372
|
-
* @memberof ReviewsApi
|
|
3373
2603
|
*/
|
|
3374
2604
|
listReviews(requestParameters, options) {
|
|
3375
2605
|
return 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));
|
|
@@ -3380,7 +2610,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
3380
2610
|
* @param {ReviewsApiModerateReviewRequest} requestParameters Request parameters.
|
|
3381
2611
|
* @param {*} [options] Override http request option.
|
|
3382
2612
|
* @throws {RequiredError}
|
|
3383
|
-
* @memberof ReviewsApi
|
|
3384
2613
|
*/
|
|
3385
2614
|
moderateReview(requestParameters, options) {
|
|
3386
2615
|
return ReviewsApiFp(this.configuration).moderateReview(requestParameters.project, requestParameters.reviewId, requestParameters.moderateReviewRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3388,7 +2617,6 @@ export class ReviewsApi extends BaseAPI {
|
|
|
3388
2617
|
}
|
|
3389
2618
|
/**
|
|
3390
2619
|
* RoutesApi - axios parameter creator
|
|
3391
|
-
* @export
|
|
3392
2620
|
*/
|
|
3393
2621
|
export const RoutesApiAxiosParamCreator = function (configuration) {
|
|
3394
2622
|
return {
|
|
@@ -3444,7 +2672,6 @@ export const RoutesApiAxiosParamCreator = function (configuration) {
|
|
|
3444
2672
|
};
|
|
3445
2673
|
/**
|
|
3446
2674
|
* RoutesApi - functional programming interface
|
|
3447
|
-
* @export
|
|
3448
2675
|
*/
|
|
3449
2676
|
export const RoutesApiFp = function (configuration) {
|
|
3450
2677
|
const localVarAxiosParamCreator = RoutesApiAxiosParamCreator(configuration);
|
|
@@ -3472,7 +2699,6 @@ export const RoutesApiFp = function (configuration) {
|
|
|
3472
2699
|
};
|
|
3473
2700
|
/**
|
|
3474
2701
|
* RoutesApi - factory interface
|
|
3475
|
-
* @export
|
|
3476
2702
|
*/
|
|
3477
2703
|
export const RoutesApiFactory = function (configuration, basePath, axios) {
|
|
3478
2704
|
const localVarFp = RoutesApiFp(configuration);
|
|
@@ -3491,9 +2717,6 @@ export const RoutesApiFactory = function (configuration, basePath, axios) {
|
|
|
3491
2717
|
};
|
|
3492
2718
|
/**
|
|
3493
2719
|
* RoutesApi - object-oriented interface
|
|
3494
|
-
* @export
|
|
3495
|
-
* @class RoutesApi
|
|
3496
|
-
* @extends {BaseAPI}
|
|
3497
2720
|
*/
|
|
3498
2721
|
export class RoutesApi extends BaseAPI {
|
|
3499
2722
|
/**
|
|
@@ -3502,7 +2725,6 @@ export class RoutesApi extends BaseAPI {
|
|
|
3502
2725
|
* @param {RoutesApiListRoutesRequest} requestParameters Request parameters.
|
|
3503
2726
|
* @param {*} [options] Override http request option.
|
|
3504
2727
|
* @throws {RequiredError}
|
|
3505
|
-
* @memberof RoutesApi
|
|
3506
2728
|
*/
|
|
3507
2729
|
listRoutes(requestParameters, options) {
|
|
3508
2730
|
return RoutesApiFp(this.configuration).listRoutes(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3510,7 +2732,6 @@ export class RoutesApi extends BaseAPI {
|
|
|
3510
2732
|
}
|
|
3511
2733
|
/**
|
|
3512
2734
|
* SearchApi - axios parameter creator
|
|
3513
|
-
* @export
|
|
3514
2735
|
*/
|
|
3515
2736
|
export const SearchApiAxiosParamCreator = function (configuration) {
|
|
3516
2737
|
return {
|
|
@@ -3740,7 +2961,6 @@ export const SearchApiAxiosParamCreator = function (configuration) {
|
|
|
3740
2961
|
};
|
|
3741
2962
|
/**
|
|
3742
2963
|
* SearchApi - functional programming interface
|
|
3743
|
-
* @export
|
|
3744
2964
|
*/
|
|
3745
2965
|
export const SearchApiFp = function (configuration) {
|
|
3746
2966
|
const localVarAxiosParamCreator = SearchApiAxiosParamCreator(configuration);
|
|
@@ -3840,7 +3060,6 @@ export const SearchApiFp = function (configuration) {
|
|
|
3840
3060
|
};
|
|
3841
3061
|
/**
|
|
3842
3062
|
* SearchApi - factory interface
|
|
3843
|
-
* @export
|
|
3844
3063
|
*/
|
|
3845
3064
|
export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
3846
3065
|
const localVarFp = SearchApiFp(configuration);
|
|
@@ -3899,9 +3118,6 @@ export const SearchApiFactory = function (configuration, basePath, axios) {
|
|
|
3899
3118
|
};
|
|
3900
3119
|
/**
|
|
3901
3120
|
* SearchApi - object-oriented interface
|
|
3902
|
-
* @export
|
|
3903
|
-
* @class SearchApi
|
|
3904
|
-
* @extends {BaseAPI}
|
|
3905
3121
|
*/
|
|
3906
3122
|
export class SearchApi extends BaseAPI {
|
|
3907
3123
|
/**
|
|
@@ -3910,7 +3126,6 @@ export class SearchApi extends BaseAPI {
|
|
|
3910
3126
|
* @param {SearchApiCreateSearchRedirectRequest} requestParameters Request parameters.
|
|
3911
3127
|
* @param {*} [options] Override http request option.
|
|
3912
3128
|
* @throws {RequiredError}
|
|
3913
|
-
* @memberof SearchApi
|
|
3914
3129
|
*/
|
|
3915
3130
|
createSearchRedirect(requestParameters, options) {
|
|
3916
3131
|
return SearchApiFp(this.configuration).createSearchRedirect(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, requestParameters.createSearchRedirectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3921,7 +3136,6 @@ export class SearchApi extends BaseAPI {
|
|
|
3921
3136
|
* @param {SearchApiDeleteSearchRedirectRequest} requestParameters Request parameters.
|
|
3922
3137
|
* @param {*} [options] Override http request option.
|
|
3923
3138
|
* @throws {RequiredError}
|
|
3924
|
-
* @memberof SearchApi
|
|
3925
3139
|
*/
|
|
3926
3140
|
deleteSearchRedirect(requestParameters, options) {
|
|
3927
3141
|
return SearchApiFp(this.configuration).deleteSearchRedirect(requestParameters.project, requestParameters.redirectId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3932,7 +3146,6 @@ export class SearchApi extends BaseAPI {
|
|
|
3932
3146
|
* @param {SearchApiGetSearchRedirectRequest} requestParameters Request parameters.
|
|
3933
3147
|
* @param {*} [options] Override http request option.
|
|
3934
3148
|
* @throws {RequiredError}
|
|
3935
|
-
* @memberof SearchApi
|
|
3936
3149
|
*/
|
|
3937
3150
|
getSearchRedirect(requestParameters, options) {
|
|
3938
3151
|
return SearchApiFp(this.configuration).getSearchRedirect(requestParameters.project, requestParameters.redirectId, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3943,7 +3156,6 @@ export class SearchApi extends BaseAPI {
|
|
|
3943
3156
|
* @param {SearchApiListSearchRedirectsRequest} requestParameters Request parameters.
|
|
3944
3157
|
* @param {*} [options] Override http request option.
|
|
3945
3158
|
* @throws {RequiredError}
|
|
3946
|
-
* @memberof SearchApi
|
|
3947
3159
|
*/
|
|
3948
3160
|
listSearchRedirects(requestParameters, options) {
|
|
3949
3161
|
return SearchApiFp(this.configuration).listSearchRedirects(requestParameters.project, requestParameters.pageToken, requestParameters.pageSize, requestParameters.search, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3954,7 +3166,6 @@ export class SearchApi extends BaseAPI {
|
|
|
3954
3166
|
* @param {SearchApiUpdateSearchRedirectRequest} requestParameters Request parameters.
|
|
3955
3167
|
* @param {*} [options] Override http request option.
|
|
3956
3168
|
* @throws {RequiredError}
|
|
3957
|
-
* @memberof SearchApi
|
|
3958
3169
|
*/
|
|
3959
3170
|
updateSearchRedirect(requestParameters, options) {
|
|
3960
3171
|
return SearchApiFp(this.configuration).updateSearchRedirect(requestParameters.project, requestParameters.redirectId, requestParameters.updateSearchRedirectRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -3962,7 +3173,6 @@ export class SearchApi extends BaseAPI {
|
|
|
3962
3173
|
}
|
|
3963
3174
|
/**
|
|
3964
3175
|
* WebsiteApi - axios parameter creator
|
|
3965
|
-
* @export
|
|
3966
3176
|
*/
|
|
3967
3177
|
export const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
3968
3178
|
return {
|
|
@@ -4124,7 +3334,6 @@ export const WebsiteApiAxiosParamCreator = function (configuration) {
|
|
|
4124
3334
|
};
|
|
4125
3335
|
/**
|
|
4126
3336
|
* WebsiteApi - functional programming interface
|
|
4127
|
-
* @export
|
|
4128
3337
|
*/
|
|
4129
3338
|
export const WebsiteApiFp = function (configuration) {
|
|
4130
3339
|
const localVarAxiosParamCreator = WebsiteApiAxiosParamCreator(configuration);
|
|
@@ -4200,7 +3409,6 @@ export const WebsiteApiFp = function (configuration) {
|
|
|
4200
3409
|
};
|
|
4201
3410
|
/**
|
|
4202
3411
|
* WebsiteApi - factory interface
|
|
4203
|
-
* @export
|
|
4204
3412
|
*/
|
|
4205
3413
|
export const WebsiteApiFactory = function (configuration, basePath, axios) {
|
|
4206
3414
|
const localVarFp = WebsiteApiFp(configuration);
|
|
@@ -4249,9 +3457,6 @@ export const WebsiteApiFactory = function (configuration, basePath, axios) {
|
|
|
4249
3457
|
};
|
|
4250
3458
|
/**
|
|
4251
3459
|
* WebsiteApi - object-oriented interface
|
|
4252
|
-
* @export
|
|
4253
|
-
* @class WebsiteApi
|
|
4254
|
-
* @extends {BaseAPI}
|
|
4255
3460
|
*/
|
|
4256
3461
|
export class WebsiteApi extends BaseAPI {
|
|
4257
3462
|
/**
|
|
@@ -4260,7 +3465,6 @@ export class WebsiteApi extends BaseAPI {
|
|
|
4260
3465
|
* @param {WebsiteApiCreateDomainRequest} requestParameters Request parameters.
|
|
4261
3466
|
* @param {*} [options] Override http request option.
|
|
4262
3467
|
* @throws {RequiredError}
|
|
4263
|
-
* @memberof WebsiteApi
|
|
4264
3468
|
*/
|
|
4265
3469
|
createDomain(requestParameters, options) {
|
|
4266
3470
|
return WebsiteApiFp(this.configuration).createDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4271,7 +3475,6 @@ export class WebsiteApi extends BaseAPI {
|
|
|
4271
3475
|
* @param {WebsiteApiDeleteDomainRequest} requestParameters Request parameters.
|
|
4272
3476
|
* @param {*} [options] Override http request option.
|
|
4273
3477
|
* @throws {RequiredError}
|
|
4274
|
-
* @memberof WebsiteApi
|
|
4275
3478
|
*/
|
|
4276
3479
|
deleteDomain(requestParameters, options) {
|
|
4277
3480
|
return WebsiteApiFp(this.configuration).deleteDomain(requestParameters.project, requestParameters.domain, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4282,7 +3485,6 @@ export class WebsiteApi extends BaseAPI {
|
|
|
4282
3485
|
* @param {WebsiteApiListDomainsRequest} requestParameters Request parameters.
|
|
4283
3486
|
* @param {*} [options] Override http request option.
|
|
4284
3487
|
* @throws {RequiredError}
|
|
4285
|
-
* @memberof WebsiteApi
|
|
4286
3488
|
*/
|
|
4287
3489
|
listDomains(requestParameters, options) {
|
|
4288
3490
|
return WebsiteApiFp(this.configuration).listDomains(requestParameters.project, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -4293,7 +3495,6 @@ export class WebsiteApi extends BaseAPI {
|
|
|
4293
3495
|
* @param {WebsiteApiUpdateBaseDomainRequest} requestParameters Request parameters.
|
|
4294
3496
|
* @param {*} [options] Override http request option.
|
|
4295
3497
|
* @throws {RequiredError}
|
|
4296
|
-
* @memberof WebsiteApi
|
|
4297
3498
|
*/
|
|
4298
3499
|
updateBaseDomain(requestParameters, options) {
|
|
4299
3500
|
return WebsiteApiFp(this.configuration).updateBaseDomain(requestParameters.project, requestParameters.createDomainRequest, options).then((request) => request(this.axios, this.basePath));
|