@halo-dev/api-client 0.0.43 → 0.0.44
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/dist/index.cjs +411 -44
- package/dist/index.d.ts +1086 -134
- package/dist/index.mjs +400 -45
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -77,7 +77,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
77
77
|
|
|
78
78
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
79
79
|
return {
|
|
80
|
-
searchAttachments: async (policy, displayName,
|
|
80
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
81
81
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
82
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
83
|
let baseOptions;
|
|
@@ -95,12 +95,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
95
95
|
if (displayName !== void 0) {
|
|
96
96
|
localVarQueryParameter["displayName"] = displayName;
|
|
97
97
|
}
|
|
98
|
-
if (group !== void 0) {
|
|
99
|
-
localVarQueryParameter["group"] = group;
|
|
100
|
-
}
|
|
101
98
|
if (uploadedBy !== void 0) {
|
|
102
99
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
103
100
|
}
|
|
101
|
+
if (group !== void 0) {
|
|
102
|
+
localVarQueryParameter["group"] = group;
|
|
103
|
+
}
|
|
104
104
|
if (size !== void 0) {
|
|
105
105
|
localVarQueryParameter["size"] = size;
|
|
106
106
|
}
|
|
@@ -160,8 +160,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
160
160
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
161
161
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
162
162
|
return {
|
|
163
|
-
async searchAttachments(policy, displayName,
|
|
164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
163
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
164
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options);
|
|
165
165
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
166
166
|
},
|
|
167
167
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -173,8 +173,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
173
173
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
174
174
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
175
175
|
return {
|
|
176
|
-
searchAttachments(policy, displayName,
|
|
177
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
176
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
177
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
178
178
|
},
|
|
179
179
|
uploadAttachment(file, policyName, groupName, options) {
|
|
180
180
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -183,7 +183,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
183
183
|
};
|
|
184
184
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
185
185
|
searchAttachments(requestParameters = {}, options) {
|
|
186
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
186
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
187
187
|
}
|
|
188
188
|
uploadAttachment(requestParameters, options) {
|
|
189
189
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -464,6 +464,53 @@ class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
|
464
464
|
}
|
|
465
465
|
}
|
|
466
466
|
|
|
467
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = function(configuration) {
|
|
468
|
+
return {
|
|
469
|
+
buildPostIndices: async (options = {}) => {
|
|
470
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/indices/post`;
|
|
471
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
472
|
+
let baseOptions;
|
|
473
|
+
if (configuration) {
|
|
474
|
+
baseOptions = configuration.baseOptions;
|
|
475
|
+
}
|
|
476
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
477
|
+
const localVarHeaderParameter = {};
|
|
478
|
+
const localVarQueryParameter = {};
|
|
479
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
480
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
481
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
482
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
483
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
484
|
+
return {
|
|
485
|
+
url: toPathString(localVarUrlObj),
|
|
486
|
+
options: localVarRequestOptions
|
|
487
|
+
};
|
|
488
|
+
}
|
|
489
|
+
};
|
|
490
|
+
};
|
|
491
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFp = function(configuration) {
|
|
492
|
+
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator(configuration);
|
|
493
|
+
return {
|
|
494
|
+
async buildPostIndices(options) {
|
|
495
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildPostIndices(options);
|
|
496
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFactory = function(configuration, basePath, axios) {
|
|
501
|
+
const localVarFp = ApiConsoleHaloRunV1alpha1IndicesApiFp(configuration);
|
|
502
|
+
return {
|
|
503
|
+
buildPostIndices(options) {
|
|
504
|
+
return localVarFp.buildPostIndices(options).then((request) => request(axios, basePath));
|
|
505
|
+
}
|
|
506
|
+
};
|
|
507
|
+
};
|
|
508
|
+
class ApiConsoleHaloRunV1alpha1IndicesApi extends BaseAPI {
|
|
509
|
+
buildPostIndices(options) {
|
|
510
|
+
return ApiConsoleHaloRunV1alpha1IndicesApiFp(this.configuration).buildPostIndices(options).then((request) => request(this.axios, this.basePath));
|
|
511
|
+
}
|
|
512
|
+
}
|
|
513
|
+
|
|
467
514
|
const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
468
515
|
return {
|
|
469
516
|
installPlugin: async (file, options = {}) => {
|
|
@@ -493,7 +540,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
493
540
|
options: localVarRequestOptions
|
|
494
541
|
};
|
|
495
542
|
},
|
|
496
|
-
listPlugins: async (sort,
|
|
543
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
497
544
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
498
545
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
499
546
|
let baseOptions;
|
|
@@ -508,12 +555,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
508
555
|
if (sort) {
|
|
509
556
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
510
557
|
}
|
|
511
|
-
if (enabled !== void 0) {
|
|
512
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
513
|
-
}
|
|
514
558
|
if (keyword !== void 0) {
|
|
515
559
|
localVarQueryParameter["keyword"] = keyword;
|
|
516
560
|
}
|
|
561
|
+
if (enabled !== void 0) {
|
|
562
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
563
|
+
}
|
|
517
564
|
if (size !== void 0) {
|
|
518
565
|
localVarQueryParameter["size"] = size;
|
|
519
566
|
}
|
|
@@ -571,8 +618,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
571
618
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
572
619
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
573
620
|
},
|
|
574
|
-
async listPlugins(sort,
|
|
575
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
621
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
622
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
576
623
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
577
624
|
},
|
|
578
625
|
async upgradePlugin(name, file, options) {
|
|
@@ -587,8 +634,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
587
634
|
installPlugin(file, options) {
|
|
588
635
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
589
636
|
},
|
|
590
|
-
listPlugins(sort,
|
|
591
|
-
return localVarFp.listPlugins(sort,
|
|
637
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
638
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
592
639
|
},
|
|
593
640
|
upgradePlugin(name, file, options) {
|
|
594
641
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -600,7 +647,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
600
647
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
601
648
|
}
|
|
602
649
|
listPlugins(requestParameters = {}, options) {
|
|
603
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
650
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
604
651
|
}
|
|
605
652
|
upgradePlugin(requestParameters, options) {
|
|
606
653
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -632,7 +679,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
632
679
|
options: localVarRequestOptions
|
|
633
680
|
};
|
|
634
681
|
},
|
|
635
|
-
listPosts: async (sort,
|
|
682
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
636
683
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
637
684
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
638
685
|
let baseOptions;
|
|
@@ -647,17 +694,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
647
694
|
if (sort !== void 0) {
|
|
648
695
|
localVarQueryParameter["sort"] = sort;
|
|
649
696
|
}
|
|
650
|
-
if (tag) {
|
|
651
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
652
|
-
}
|
|
653
697
|
if (keyword !== void 0) {
|
|
654
698
|
localVarQueryParameter["keyword"] = keyword;
|
|
655
699
|
}
|
|
656
700
|
if (visible !== void 0) {
|
|
657
701
|
localVarQueryParameter["visible"] = visible;
|
|
658
702
|
}
|
|
659
|
-
if (
|
|
660
|
-
localVarQueryParameter["
|
|
703
|
+
if (tag) {
|
|
704
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
705
|
+
}
|
|
706
|
+
if (sortOrder !== void 0) {
|
|
707
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
661
708
|
}
|
|
662
709
|
if (publishPhase !== void 0) {
|
|
663
710
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -665,8 +712,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
665
712
|
if (category) {
|
|
666
713
|
localVarQueryParameter["category"] = Array.from(category);
|
|
667
714
|
}
|
|
668
|
-
if (
|
|
669
|
-
localVarQueryParameter["
|
|
715
|
+
if (contributor) {
|
|
716
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
670
717
|
}
|
|
671
718
|
if (size !== void 0) {
|
|
672
719
|
localVarQueryParameter["size"] = size;
|
|
@@ -709,6 +756,48 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
709
756
|
options: localVarRequestOptions
|
|
710
757
|
};
|
|
711
758
|
},
|
|
759
|
+
recyclePost: async (name, options = {}) => {
|
|
760
|
+
assertParamExists("recyclePost", "name", name);
|
|
761
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
762
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
763
|
+
let baseOptions;
|
|
764
|
+
if (configuration) {
|
|
765
|
+
baseOptions = configuration.baseOptions;
|
|
766
|
+
}
|
|
767
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
768
|
+
const localVarHeaderParameter = {};
|
|
769
|
+
const localVarQueryParameter = {};
|
|
770
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
771
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
772
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
773
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
774
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
775
|
+
return {
|
|
776
|
+
url: toPathString(localVarUrlObj),
|
|
777
|
+
options: localVarRequestOptions
|
|
778
|
+
};
|
|
779
|
+
},
|
|
780
|
+
unpublishPost: async (name, options = {}) => {
|
|
781
|
+
assertParamExists("unpublishPost", "name", name);
|
|
782
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
783
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
784
|
+
let baseOptions;
|
|
785
|
+
if (configuration) {
|
|
786
|
+
baseOptions = configuration.baseOptions;
|
|
787
|
+
}
|
|
788
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
789
|
+
const localVarHeaderParameter = {};
|
|
790
|
+
const localVarQueryParameter = {};
|
|
791
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
792
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
793
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
794
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
795
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
796
|
+
return {
|
|
797
|
+
url: toPathString(localVarUrlObj),
|
|
798
|
+
options: localVarRequestOptions
|
|
799
|
+
};
|
|
800
|
+
},
|
|
712
801
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
713
802
|
assertParamExists("updateDraftPost", "name", name);
|
|
714
803
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
@@ -742,14 +831,22 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
742
831
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
743
832
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
744
833
|
},
|
|
745
|
-
async listPosts(sort,
|
|
746
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
834
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
747
836
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
748
837
|
},
|
|
749
838
|
async publishPost(name, options) {
|
|
750
839
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
751
840
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
752
841
|
},
|
|
842
|
+
async recyclePost(name, options) {
|
|
843
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recyclePost(name, options);
|
|
844
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
845
|
+
},
|
|
846
|
+
async unpublishPost(name, options) {
|
|
847
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unpublishPost(name, options);
|
|
848
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
849
|
+
},
|
|
753
850
|
async updateDraftPost(name, postRequest, options) {
|
|
754
851
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
755
852
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -762,12 +859,18 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
762
859
|
draftPost(postRequest, options) {
|
|
763
860
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
764
861
|
},
|
|
765
|
-
listPosts(sort,
|
|
766
|
-
return localVarFp.listPosts(sort,
|
|
862
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
863
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
767
864
|
},
|
|
768
865
|
publishPost(name, options) {
|
|
769
866
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
770
867
|
},
|
|
868
|
+
recyclePost(name, options) {
|
|
869
|
+
return localVarFp.recyclePost(name, options).then((request) => request(axios, basePath));
|
|
870
|
+
},
|
|
871
|
+
unpublishPost(name, options) {
|
|
872
|
+
return localVarFp.unpublishPost(name, options).then((request) => request(axios, basePath));
|
|
873
|
+
},
|
|
771
874
|
updateDraftPost(name, postRequest, options) {
|
|
772
875
|
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
773
876
|
}
|
|
@@ -778,11 +881,17 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
778
881
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
779
882
|
}
|
|
780
883
|
listPosts(requestParameters = {}, options) {
|
|
781
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
884
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
782
885
|
}
|
|
783
886
|
publishPost(requestParameters, options) {
|
|
784
887
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
785
888
|
}
|
|
889
|
+
recyclePost(requestParameters, options) {
|
|
890
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).recyclePost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
891
|
+
}
|
|
892
|
+
unpublishPost(requestParameters, options) {
|
|
893
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).unpublishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
894
|
+
}
|
|
786
895
|
updateDraftPost(requestParameters, options) {
|
|
787
896
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
788
897
|
}
|
|
@@ -875,7 +984,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
875
984
|
options: localVarRequestOptions
|
|
876
985
|
};
|
|
877
986
|
},
|
|
878
|
-
listSinglePages: async (sort, keyword, visible,
|
|
987
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
879
988
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
880
989
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
881
990
|
let baseOptions;
|
|
@@ -896,14 +1005,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
896
1005
|
if (visible !== void 0) {
|
|
897
1006
|
localVarQueryParameter["visible"] = visible;
|
|
898
1007
|
}
|
|
899
|
-
if (
|
|
900
|
-
localVarQueryParameter["
|
|
1008
|
+
if (sortOrder !== void 0) {
|
|
1009
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
901
1010
|
}
|
|
902
1011
|
if (publishPhase !== void 0) {
|
|
903
1012
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
904
1013
|
}
|
|
905
|
-
if (
|
|
906
|
-
localVarQueryParameter["
|
|
1014
|
+
if (contributor) {
|
|
1015
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
907
1016
|
}
|
|
908
1017
|
if (size !== void 0) {
|
|
909
1018
|
localVarQueryParameter["size"] = size;
|
|
@@ -979,8 +1088,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
979
1088
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
980
1089
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
981
1090
|
},
|
|
982
|
-
async listSinglePages(sort, keyword, visible,
|
|
983
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible,
|
|
1091
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1092
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
984
1093
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
985
1094
|
},
|
|
986
1095
|
async publishSinglePage(name, options) {
|
|
@@ -999,8 +1108,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
999
1108
|
draftSinglePage(singlePageRequest, options) {
|
|
1000
1109
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1001
1110
|
},
|
|
1002
|
-
listSinglePages(sort, keyword, visible,
|
|
1003
|
-
return localVarFp.listSinglePages(sort, keyword, visible,
|
|
1111
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1112
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1004
1113
|
},
|
|
1005
1114
|
publishSinglePage(name, options) {
|
|
1006
1115
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1015,7 +1124,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1015
1124
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1016
1125
|
}
|
|
1017
1126
|
listSinglePages(requestParameters = {}, options) {
|
|
1018
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.
|
|
1127
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1019
1128
|
}
|
|
1020
1129
|
publishSinglePage(requestParameters, options) {
|
|
1021
1130
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1505,12 +1614,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1505
1614
|
if (version !== void 0) {
|
|
1506
1615
|
localVarQueryParameter["version"] = version;
|
|
1507
1616
|
}
|
|
1508
|
-
if (kind !== void 0) {
|
|
1509
|
-
localVarQueryParameter["kind"] = kind;
|
|
1510
|
-
}
|
|
1511
1617
|
if (group !== void 0) {
|
|
1512
1618
|
localVarQueryParameter["group"] = group;
|
|
1513
1619
|
}
|
|
1620
|
+
if (kind !== void 0) {
|
|
1621
|
+
localVarQueryParameter["kind"] = kind;
|
|
1622
|
+
}
|
|
1514
1623
|
if (size !== void 0) {
|
|
1515
1624
|
localVarQueryParameter["size"] = size;
|
|
1516
1625
|
}
|
|
@@ -1590,6 +1699,66 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1590
1699
|
}
|
|
1591
1700
|
}
|
|
1592
1701
|
|
|
1702
|
+
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1703
|
+
return {
|
|
1704
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
1705
|
+
assertParamExists("searchPost", "keyword", keyword);
|
|
1706
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1707
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1708
|
+
let baseOptions;
|
|
1709
|
+
if (configuration) {
|
|
1710
|
+
baseOptions = configuration.baseOptions;
|
|
1711
|
+
}
|
|
1712
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1713
|
+
const localVarHeaderParameter = {};
|
|
1714
|
+
const localVarQueryParameter = {};
|
|
1715
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1716
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1717
|
+
if (keyword !== void 0) {
|
|
1718
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1719
|
+
}
|
|
1720
|
+
if (limit !== void 0) {
|
|
1721
|
+
localVarQueryParameter["limit"] = limit;
|
|
1722
|
+
}
|
|
1723
|
+
if (highlightPreTag !== void 0) {
|
|
1724
|
+
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1725
|
+
}
|
|
1726
|
+
if (highlightPostTag !== void 0) {
|
|
1727
|
+
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1728
|
+
}
|
|
1729
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1730
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1731
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1732
|
+
return {
|
|
1733
|
+
url: toPathString(localVarUrlObj),
|
|
1734
|
+
options: localVarRequestOptions
|
|
1735
|
+
};
|
|
1736
|
+
}
|
|
1737
|
+
};
|
|
1738
|
+
};
|
|
1739
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1740
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1741
|
+
return {
|
|
1742
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1743
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
|
|
1744
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1749
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1750
|
+
return {
|
|
1751
|
+
searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1752
|
+
return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
|
|
1753
|
+
}
|
|
1754
|
+
};
|
|
1755
|
+
};
|
|
1756
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1757
|
+
searchPost(requestParameters, options) {
|
|
1758
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
|
|
1593
1762
|
const ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = function(configuration) {
|
|
1594
1763
|
return {
|
|
1595
1764
|
count: async (counterRequest, options = {}) => {
|
|
@@ -3566,6 +3735,192 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
3566
3735
|
}
|
|
3567
3736
|
}
|
|
3568
3737
|
|
|
3738
|
+
const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configuration) {
|
|
3739
|
+
return {
|
|
3740
|
+
createpluginHaloRunV1alpha1SearchEngine: async (searchEngine, options = {}) => {
|
|
3741
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3742
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3743
|
+
let baseOptions;
|
|
3744
|
+
if (configuration) {
|
|
3745
|
+
baseOptions = configuration.baseOptions;
|
|
3746
|
+
}
|
|
3747
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3748
|
+
const localVarHeaderParameter = {};
|
|
3749
|
+
const localVarQueryParameter = {};
|
|
3750
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3751
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3752
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3753
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3754
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3755
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3756
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3757
|
+
return {
|
|
3758
|
+
url: toPathString(localVarUrlObj),
|
|
3759
|
+
options: localVarRequestOptions
|
|
3760
|
+
};
|
|
3761
|
+
},
|
|
3762
|
+
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3763
|
+
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3764
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3765
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3766
|
+
let baseOptions;
|
|
3767
|
+
if (configuration) {
|
|
3768
|
+
baseOptions = configuration.baseOptions;
|
|
3769
|
+
}
|
|
3770
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3771
|
+
const localVarHeaderParameter = {};
|
|
3772
|
+
const localVarQueryParameter = {};
|
|
3773
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3774
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3775
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3776
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3777
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3778
|
+
return {
|
|
3779
|
+
url: toPathString(localVarUrlObj),
|
|
3780
|
+
options: localVarRequestOptions
|
|
3781
|
+
};
|
|
3782
|
+
},
|
|
3783
|
+
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3784
|
+
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3785
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3786
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3787
|
+
let baseOptions;
|
|
3788
|
+
if (configuration) {
|
|
3789
|
+
baseOptions = configuration.baseOptions;
|
|
3790
|
+
}
|
|
3791
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3792
|
+
const localVarHeaderParameter = {};
|
|
3793
|
+
const localVarQueryParameter = {};
|
|
3794
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3795
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3796
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3797
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3798
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3799
|
+
return {
|
|
3800
|
+
url: toPathString(localVarUrlObj),
|
|
3801
|
+
options: localVarRequestOptions
|
|
3802
|
+
};
|
|
3803
|
+
},
|
|
3804
|
+
listpluginHaloRunV1alpha1SearchEngine: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3805
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3806
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3807
|
+
let baseOptions;
|
|
3808
|
+
if (configuration) {
|
|
3809
|
+
baseOptions = configuration.baseOptions;
|
|
3810
|
+
}
|
|
3811
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3812
|
+
const localVarHeaderParameter = {};
|
|
3813
|
+
const localVarQueryParameter = {};
|
|
3814
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3815
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3816
|
+
if (page !== void 0) {
|
|
3817
|
+
localVarQueryParameter["page"] = page;
|
|
3818
|
+
}
|
|
3819
|
+
if (size !== void 0) {
|
|
3820
|
+
localVarQueryParameter["size"] = size;
|
|
3821
|
+
}
|
|
3822
|
+
if (labelSelector) {
|
|
3823
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3824
|
+
}
|
|
3825
|
+
if (fieldSelector) {
|
|
3826
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3827
|
+
}
|
|
3828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3830
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3831
|
+
return {
|
|
3832
|
+
url: toPathString(localVarUrlObj),
|
|
3833
|
+
options: localVarRequestOptions
|
|
3834
|
+
};
|
|
3835
|
+
},
|
|
3836
|
+
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
3837
|
+
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3838
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3839
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3840
|
+
let baseOptions;
|
|
3841
|
+
if (configuration) {
|
|
3842
|
+
baseOptions = configuration.baseOptions;
|
|
3843
|
+
}
|
|
3844
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3845
|
+
const localVarHeaderParameter = {};
|
|
3846
|
+
const localVarQueryParameter = {};
|
|
3847
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3848
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3849
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3850
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3851
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3852
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3853
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3854
|
+
return {
|
|
3855
|
+
url: toPathString(localVarUrlObj),
|
|
3856
|
+
options: localVarRequestOptions
|
|
3857
|
+
};
|
|
3858
|
+
}
|
|
3859
|
+
};
|
|
3860
|
+
};
|
|
3861
|
+
const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
3862
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
3863
|
+
return {
|
|
3864
|
+
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options);
|
|
3866
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3867
|
+
},
|
|
3868
|
+
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3870
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3871
|
+
},
|
|
3872
|
+
async getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3874
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3875
|
+
},
|
|
3876
|
+
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3877
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options);
|
|
3878
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3879
|
+
},
|
|
3880
|
+
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3881
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options);
|
|
3882
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3883
|
+
}
|
|
3884
|
+
};
|
|
3885
|
+
};
|
|
3886
|
+
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
3887
|
+
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
3888
|
+
return {
|
|
3889
|
+
createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3890
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
3891
|
+
},
|
|
3892
|
+
deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3893
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3894
|
+
},
|
|
3895
|
+
getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3896
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3897
|
+
},
|
|
3898
|
+
listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3899
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3900
|
+
},
|
|
3901
|
+
updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3902
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options).then((request) => request(axios, basePath));
|
|
3903
|
+
}
|
|
3904
|
+
};
|
|
3905
|
+
};
|
|
3906
|
+
class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
3907
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3908
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3909
|
+
}
|
|
3910
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3911
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3912
|
+
}
|
|
3913
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3914
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3915
|
+
}
|
|
3916
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3917
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3918
|
+
}
|
|
3919
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3920
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3921
|
+
}
|
|
3922
|
+
}
|
|
3923
|
+
|
|
3569
3924
|
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
3570
3925
|
return {
|
|
3571
3926
|
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
@@ -6039,6 +6394,10 @@ exports.ApiConsoleHaloRunV1alpha1ContentApi = ApiConsoleHaloRunV1alpha1ContentAp
|
|
|
6039
6394
|
exports.ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator;
|
|
6040
6395
|
exports.ApiConsoleHaloRunV1alpha1ContentApiFactory = ApiConsoleHaloRunV1alpha1ContentApiFactory;
|
|
6041
6396
|
exports.ApiConsoleHaloRunV1alpha1ContentApiFp = ApiConsoleHaloRunV1alpha1ContentApiFp;
|
|
6397
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApi = ApiConsoleHaloRunV1alpha1IndicesApi;
|
|
6398
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator;
|
|
6399
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApiFactory = ApiConsoleHaloRunV1alpha1IndicesApiFactory;
|
|
6400
|
+
exports.ApiConsoleHaloRunV1alpha1IndicesApiFp = ApiConsoleHaloRunV1alpha1IndicesApiFp;
|
|
6042
6401
|
exports.ApiConsoleHaloRunV1alpha1PluginApi = ApiConsoleHaloRunV1alpha1PluginApi;
|
|
6043
6402
|
exports.ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
6044
6403
|
exports.ApiConsoleHaloRunV1alpha1PluginApiFactory = ApiConsoleHaloRunV1alpha1PluginApiFactory;
|
|
@@ -6071,6 +6430,10 @@ exports.ApiHaloRunV1alpha1CommentApi = ApiHaloRunV1alpha1CommentApi;
|
|
|
6071
6430
|
exports.ApiHaloRunV1alpha1CommentApiAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
6072
6431
|
exports.ApiHaloRunV1alpha1CommentApiFactory = ApiHaloRunV1alpha1CommentApiFactory;
|
|
6073
6432
|
exports.ApiHaloRunV1alpha1CommentApiFp = ApiHaloRunV1alpha1CommentApiFp;
|
|
6433
|
+
exports.ApiHaloRunV1alpha1PostApi = ApiHaloRunV1alpha1PostApi;
|
|
6434
|
+
exports.ApiHaloRunV1alpha1PostApiAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator;
|
|
6435
|
+
exports.ApiHaloRunV1alpha1PostApiFactory = ApiHaloRunV1alpha1PostApiFactory;
|
|
6436
|
+
exports.ApiHaloRunV1alpha1PostApiFp = ApiHaloRunV1alpha1PostApiFp;
|
|
6074
6437
|
exports.ApiHaloRunV1alpha1TrackerApi = ApiHaloRunV1alpha1TrackerApi;
|
|
6075
6438
|
exports.ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = ApiHaloRunV1alpha1TrackerApiAxiosParamCreator;
|
|
6076
6439
|
exports.ApiHaloRunV1alpha1TrackerApiFactory = ApiHaloRunV1alpha1TrackerApiFactory;
|
|
@@ -6117,6 +6480,10 @@ exports.PluginHaloRunV1alpha1ReverseProxyApi = PluginHaloRunV1alpha1ReverseProxy
|
|
|
6117
6480
|
exports.PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator;
|
|
6118
6481
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1ReverseProxyApiFactory;
|
|
6119
6482
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
6483
|
+
exports.PluginHaloRunV1alpha1SearchEngineApi = PluginHaloRunV1alpha1SearchEngineApi;
|
|
6484
|
+
exports.PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator;
|
|
6485
|
+
exports.PluginHaloRunV1alpha1SearchEngineApiFactory = PluginHaloRunV1alpha1SearchEngineApiFactory;
|
|
6486
|
+
exports.PluginHaloRunV1alpha1SearchEngineApiFp = PluginHaloRunV1alpha1SearchEngineApiFp;
|
|
6120
6487
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
6121
6488
|
exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
|
|
6122
6489
|
exports.SinglePageSpecVisibleEnum = SinglePageSpecVisibleEnum;
|