@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.mjs
CHANGED
|
@@ -69,7 +69,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
69
69
|
|
|
70
70
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
71
|
return {
|
|
72
|
-
searchAttachments: async (policy, displayName,
|
|
72
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
73
73
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
74
74
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
75
|
let baseOptions;
|
|
@@ -87,12 +87,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
87
87
|
if (displayName !== void 0) {
|
|
88
88
|
localVarQueryParameter["displayName"] = displayName;
|
|
89
89
|
}
|
|
90
|
-
if (group !== void 0) {
|
|
91
|
-
localVarQueryParameter["group"] = group;
|
|
92
|
-
}
|
|
93
90
|
if (uploadedBy !== void 0) {
|
|
94
91
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
95
92
|
}
|
|
93
|
+
if (group !== void 0) {
|
|
94
|
+
localVarQueryParameter["group"] = group;
|
|
95
|
+
}
|
|
96
96
|
if (size !== void 0) {
|
|
97
97
|
localVarQueryParameter["size"] = size;
|
|
98
98
|
}
|
|
@@ -152,8 +152,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
152
152
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
153
153
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
154
154
|
return {
|
|
155
|
-
async searchAttachments(policy, displayName,
|
|
156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
155
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options);
|
|
157
157
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
158
|
},
|
|
159
159
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -165,8 +165,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
165
165
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
166
166
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
167
167
|
return {
|
|
168
|
-
searchAttachments(policy, displayName,
|
|
169
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
168
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options) {
|
|
169
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
170
170
|
},
|
|
171
171
|
uploadAttachment(file, policyName, groupName, options) {
|
|
172
172
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -175,7 +175,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
175
175
|
};
|
|
176
176
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
177
177
|
searchAttachments(requestParameters = {}, options) {
|
|
178
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
178
|
+
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));
|
|
179
179
|
}
|
|
180
180
|
uploadAttachment(requestParameters, options) {
|
|
181
181
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -456,6 +456,53 @@ class ApiConsoleHaloRunV1alpha1ContentApi extends BaseAPI {
|
|
|
456
456
|
}
|
|
457
457
|
}
|
|
458
458
|
|
|
459
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator = function(configuration) {
|
|
460
|
+
return {
|
|
461
|
+
buildPostIndices: async (options = {}) => {
|
|
462
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/indices/post`;
|
|
463
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
464
|
+
let baseOptions;
|
|
465
|
+
if (configuration) {
|
|
466
|
+
baseOptions = configuration.baseOptions;
|
|
467
|
+
}
|
|
468
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
469
|
+
const localVarHeaderParameter = {};
|
|
470
|
+
const localVarQueryParameter = {};
|
|
471
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
472
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
473
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
474
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
475
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
476
|
+
return {
|
|
477
|
+
url: toPathString(localVarUrlObj),
|
|
478
|
+
options: localVarRequestOptions
|
|
479
|
+
};
|
|
480
|
+
}
|
|
481
|
+
};
|
|
482
|
+
};
|
|
483
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFp = function(configuration) {
|
|
484
|
+
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator(configuration);
|
|
485
|
+
return {
|
|
486
|
+
async buildPostIndices(options) {
|
|
487
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.buildPostIndices(options);
|
|
488
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
489
|
+
}
|
|
490
|
+
};
|
|
491
|
+
};
|
|
492
|
+
const ApiConsoleHaloRunV1alpha1IndicesApiFactory = function(configuration, basePath, axios) {
|
|
493
|
+
const localVarFp = ApiConsoleHaloRunV1alpha1IndicesApiFp(configuration);
|
|
494
|
+
return {
|
|
495
|
+
buildPostIndices(options) {
|
|
496
|
+
return localVarFp.buildPostIndices(options).then((request) => request(axios, basePath));
|
|
497
|
+
}
|
|
498
|
+
};
|
|
499
|
+
};
|
|
500
|
+
class ApiConsoleHaloRunV1alpha1IndicesApi extends BaseAPI {
|
|
501
|
+
buildPostIndices(options) {
|
|
502
|
+
return ApiConsoleHaloRunV1alpha1IndicesApiFp(this.configuration).buildPostIndices(options).then((request) => request(this.axios, this.basePath));
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
|
|
459
506
|
const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
460
507
|
return {
|
|
461
508
|
installPlugin: async (file, options = {}) => {
|
|
@@ -485,7 +532,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
485
532
|
options: localVarRequestOptions
|
|
486
533
|
};
|
|
487
534
|
},
|
|
488
|
-
listPlugins: async (sort,
|
|
535
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
489
536
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
490
537
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
491
538
|
let baseOptions;
|
|
@@ -500,12 +547,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
500
547
|
if (sort) {
|
|
501
548
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
502
549
|
}
|
|
503
|
-
if (enabled !== void 0) {
|
|
504
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
505
|
-
}
|
|
506
550
|
if (keyword !== void 0) {
|
|
507
551
|
localVarQueryParameter["keyword"] = keyword;
|
|
508
552
|
}
|
|
553
|
+
if (enabled !== void 0) {
|
|
554
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
555
|
+
}
|
|
509
556
|
if (size !== void 0) {
|
|
510
557
|
localVarQueryParameter["size"] = size;
|
|
511
558
|
}
|
|
@@ -563,8 +610,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
563
610
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
564
611
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
565
612
|
},
|
|
566
|
-
async listPlugins(sort,
|
|
567
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
613
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
614
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
568
615
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
569
616
|
},
|
|
570
617
|
async upgradePlugin(name, file, options) {
|
|
@@ -579,8 +626,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
579
626
|
installPlugin(file, options) {
|
|
580
627
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
581
628
|
},
|
|
582
|
-
listPlugins(sort,
|
|
583
|
-
return localVarFp.listPlugins(sort,
|
|
629
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
630
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
584
631
|
},
|
|
585
632
|
upgradePlugin(name, file, options) {
|
|
586
633
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -592,7 +639,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
592
639
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
593
640
|
}
|
|
594
641
|
listPlugins(requestParameters = {}, options) {
|
|
595
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
642
|
+
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));
|
|
596
643
|
}
|
|
597
644
|
upgradePlugin(requestParameters, options) {
|
|
598
645
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -624,7 +671,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
624
671
|
options: localVarRequestOptions
|
|
625
672
|
};
|
|
626
673
|
},
|
|
627
|
-
listPosts: async (sort,
|
|
674
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
628
675
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
629
676
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
630
677
|
let baseOptions;
|
|
@@ -639,17 +686,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
639
686
|
if (sort !== void 0) {
|
|
640
687
|
localVarQueryParameter["sort"] = sort;
|
|
641
688
|
}
|
|
642
|
-
if (tag) {
|
|
643
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
644
|
-
}
|
|
645
689
|
if (keyword !== void 0) {
|
|
646
690
|
localVarQueryParameter["keyword"] = keyword;
|
|
647
691
|
}
|
|
648
692
|
if (visible !== void 0) {
|
|
649
693
|
localVarQueryParameter["visible"] = visible;
|
|
650
694
|
}
|
|
651
|
-
if (
|
|
652
|
-
localVarQueryParameter["
|
|
695
|
+
if (tag) {
|
|
696
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
697
|
+
}
|
|
698
|
+
if (sortOrder !== void 0) {
|
|
699
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
653
700
|
}
|
|
654
701
|
if (publishPhase !== void 0) {
|
|
655
702
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -657,8 +704,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
657
704
|
if (category) {
|
|
658
705
|
localVarQueryParameter["category"] = Array.from(category);
|
|
659
706
|
}
|
|
660
|
-
if (
|
|
661
|
-
localVarQueryParameter["
|
|
707
|
+
if (contributor) {
|
|
708
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
662
709
|
}
|
|
663
710
|
if (size !== void 0) {
|
|
664
711
|
localVarQueryParameter["size"] = size;
|
|
@@ -701,6 +748,48 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
701
748
|
options: localVarRequestOptions
|
|
702
749
|
};
|
|
703
750
|
},
|
|
751
|
+
recyclePost: async (name, options = {}) => {
|
|
752
|
+
assertParamExists("recyclePost", "name", name);
|
|
753
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/recycle`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
754
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
755
|
+
let baseOptions;
|
|
756
|
+
if (configuration) {
|
|
757
|
+
baseOptions = configuration.baseOptions;
|
|
758
|
+
}
|
|
759
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
760
|
+
const localVarHeaderParameter = {};
|
|
761
|
+
const localVarQueryParameter = {};
|
|
762
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
763
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
764
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
765
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
766
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
767
|
+
return {
|
|
768
|
+
url: toPathString(localVarUrlObj),
|
|
769
|
+
options: localVarRequestOptions
|
|
770
|
+
};
|
|
771
|
+
},
|
|
772
|
+
unpublishPost: async (name, options = {}) => {
|
|
773
|
+
assertParamExists("unpublishPost", "name", name);
|
|
774
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts/{name}/unpublish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
775
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
776
|
+
let baseOptions;
|
|
777
|
+
if (configuration) {
|
|
778
|
+
baseOptions = configuration.baseOptions;
|
|
779
|
+
}
|
|
780
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
781
|
+
const localVarHeaderParameter = {};
|
|
782
|
+
const localVarQueryParameter = {};
|
|
783
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
784
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
785
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
786
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
787
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
788
|
+
return {
|
|
789
|
+
url: toPathString(localVarUrlObj),
|
|
790
|
+
options: localVarRequestOptions
|
|
791
|
+
};
|
|
792
|
+
},
|
|
704
793
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
705
794
|
assertParamExists("updateDraftPost", "name", name);
|
|
706
795
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
@@ -734,14 +823,22 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
734
823
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
735
824
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
736
825
|
},
|
|
737
|
-
async listPosts(sort,
|
|
738
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
826
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
827
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
739
828
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
740
829
|
},
|
|
741
830
|
async publishPost(name, options) {
|
|
742
831
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
743
832
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
744
833
|
},
|
|
834
|
+
async recyclePost(name, options) {
|
|
835
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.recyclePost(name, options);
|
|
836
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
837
|
+
},
|
|
838
|
+
async unpublishPost(name, options) {
|
|
839
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.unpublishPost(name, options);
|
|
840
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
841
|
+
},
|
|
745
842
|
async updateDraftPost(name, postRequest, options) {
|
|
746
843
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
747
844
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -754,12 +851,18 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
754
851
|
draftPost(postRequest, options) {
|
|
755
852
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
756
853
|
},
|
|
757
|
-
listPosts(sort,
|
|
758
|
-
return localVarFp.listPosts(sort,
|
|
854
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
855
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
759
856
|
},
|
|
760
857
|
publishPost(name, options) {
|
|
761
858
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
762
859
|
},
|
|
860
|
+
recyclePost(name, options) {
|
|
861
|
+
return localVarFp.recyclePost(name, options).then((request) => request(axios, basePath));
|
|
862
|
+
},
|
|
863
|
+
unpublishPost(name, options) {
|
|
864
|
+
return localVarFp.unpublishPost(name, options).then((request) => request(axios, basePath));
|
|
865
|
+
},
|
|
763
866
|
updateDraftPost(name, postRequest, options) {
|
|
764
867
|
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
765
868
|
}
|
|
@@ -770,11 +873,17 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
770
873
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
771
874
|
}
|
|
772
875
|
listPosts(requestParameters = {}, options) {
|
|
773
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
876
|
+
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));
|
|
774
877
|
}
|
|
775
878
|
publishPost(requestParameters, options) {
|
|
776
879
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
777
880
|
}
|
|
881
|
+
recyclePost(requestParameters, options) {
|
|
882
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).recyclePost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
883
|
+
}
|
|
884
|
+
unpublishPost(requestParameters, options) {
|
|
885
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).unpublishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
886
|
+
}
|
|
778
887
|
updateDraftPost(requestParameters, options) {
|
|
779
888
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
780
889
|
}
|
|
@@ -867,7 +976,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
867
976
|
options: localVarRequestOptions
|
|
868
977
|
};
|
|
869
978
|
},
|
|
870
|
-
listSinglePages: async (sort, keyword, visible,
|
|
979
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
871
980
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
872
981
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
873
982
|
let baseOptions;
|
|
@@ -888,14 +997,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
888
997
|
if (visible !== void 0) {
|
|
889
998
|
localVarQueryParameter["visible"] = visible;
|
|
890
999
|
}
|
|
891
|
-
if (
|
|
892
|
-
localVarQueryParameter["
|
|
1000
|
+
if (sortOrder !== void 0) {
|
|
1001
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
893
1002
|
}
|
|
894
1003
|
if (publishPhase !== void 0) {
|
|
895
1004
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
896
1005
|
}
|
|
897
|
-
if (
|
|
898
|
-
localVarQueryParameter["
|
|
1006
|
+
if (contributor) {
|
|
1007
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
899
1008
|
}
|
|
900
1009
|
if (size !== void 0) {
|
|
901
1010
|
localVarQueryParameter["size"] = size;
|
|
@@ -971,8 +1080,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
971
1080
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
972
1081
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
973
1082
|
},
|
|
974
|
-
async listSinglePages(sort, keyword, visible,
|
|
975
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible,
|
|
1083
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1084
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
976
1085
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
977
1086
|
},
|
|
978
1087
|
async publishSinglePage(name, options) {
|
|
@@ -991,8 +1100,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
991
1100
|
draftSinglePage(singlePageRequest, options) {
|
|
992
1101
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
993
1102
|
},
|
|
994
|
-
listSinglePages(sort, keyword, visible,
|
|
995
|
-
return localVarFp.listSinglePages(sort, keyword, visible,
|
|
1103
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1104
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
996
1105
|
},
|
|
997
1106
|
publishSinglePage(name, options) {
|
|
998
1107
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1007,7 +1116,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1007
1116
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1008
1117
|
}
|
|
1009
1118
|
listSinglePages(requestParameters = {}, options) {
|
|
1010
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.
|
|
1119
|
+
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));
|
|
1011
1120
|
}
|
|
1012
1121
|
publishSinglePage(requestParameters, options) {
|
|
1013
1122
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1497,12 +1606,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1497
1606
|
if (version !== void 0) {
|
|
1498
1607
|
localVarQueryParameter["version"] = version;
|
|
1499
1608
|
}
|
|
1500
|
-
if (kind !== void 0) {
|
|
1501
|
-
localVarQueryParameter["kind"] = kind;
|
|
1502
|
-
}
|
|
1503
1609
|
if (group !== void 0) {
|
|
1504
1610
|
localVarQueryParameter["group"] = group;
|
|
1505
1611
|
}
|
|
1612
|
+
if (kind !== void 0) {
|
|
1613
|
+
localVarQueryParameter["kind"] = kind;
|
|
1614
|
+
}
|
|
1506
1615
|
if (size !== void 0) {
|
|
1507
1616
|
localVarQueryParameter["size"] = size;
|
|
1508
1617
|
}
|
|
@@ -1582,6 +1691,66 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
|
1582
1691
|
}
|
|
1583
1692
|
}
|
|
1584
1693
|
|
|
1694
|
+
const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
1695
|
+
return {
|
|
1696
|
+
searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
|
|
1697
|
+
assertParamExists("searchPost", "keyword", keyword);
|
|
1698
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
|
|
1699
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1700
|
+
let baseOptions;
|
|
1701
|
+
if (configuration) {
|
|
1702
|
+
baseOptions = configuration.baseOptions;
|
|
1703
|
+
}
|
|
1704
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1705
|
+
const localVarHeaderParameter = {};
|
|
1706
|
+
const localVarQueryParameter = {};
|
|
1707
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1708
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1709
|
+
if (keyword !== void 0) {
|
|
1710
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1711
|
+
}
|
|
1712
|
+
if (limit !== void 0) {
|
|
1713
|
+
localVarQueryParameter["limit"] = limit;
|
|
1714
|
+
}
|
|
1715
|
+
if (highlightPreTag !== void 0) {
|
|
1716
|
+
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1717
|
+
}
|
|
1718
|
+
if (highlightPostTag !== void 0) {
|
|
1719
|
+
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1720
|
+
}
|
|
1721
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1722
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1723
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1724
|
+
return {
|
|
1725
|
+
url: toPathString(localVarUrlObj),
|
|
1726
|
+
options: localVarRequestOptions
|
|
1727
|
+
};
|
|
1728
|
+
}
|
|
1729
|
+
};
|
|
1730
|
+
};
|
|
1731
|
+
const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
1732
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
|
|
1733
|
+
return {
|
|
1734
|
+
async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1735
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
|
|
1736
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1737
|
+
}
|
|
1738
|
+
};
|
|
1739
|
+
};
|
|
1740
|
+
const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
|
|
1741
|
+
const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
|
|
1742
|
+
return {
|
|
1743
|
+
searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
|
|
1744
|
+
return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
|
|
1745
|
+
}
|
|
1746
|
+
};
|
|
1747
|
+
};
|
|
1748
|
+
class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
1749
|
+
searchPost(requestParameters, options) {
|
|
1750
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
|
|
1751
|
+
}
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1585
1754
|
const ApiHaloRunV1alpha1TrackerApiAxiosParamCreator = function(configuration) {
|
|
1586
1755
|
return {
|
|
1587
1756
|
count: async (counterRequest, options = {}) => {
|
|
@@ -3558,6 +3727,192 @@ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
|
3558
3727
|
}
|
|
3559
3728
|
}
|
|
3560
3729
|
|
|
3730
|
+
const PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator = function(configuration) {
|
|
3731
|
+
return {
|
|
3732
|
+
createpluginHaloRunV1alpha1SearchEngine: async (searchEngine, options = {}) => {
|
|
3733
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3734
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3735
|
+
let baseOptions;
|
|
3736
|
+
if (configuration) {
|
|
3737
|
+
baseOptions = configuration.baseOptions;
|
|
3738
|
+
}
|
|
3739
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3740
|
+
const localVarHeaderParameter = {};
|
|
3741
|
+
const localVarQueryParameter = {};
|
|
3742
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3743
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3744
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3745
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3746
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3747
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3748
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3749
|
+
return {
|
|
3750
|
+
url: toPathString(localVarUrlObj),
|
|
3751
|
+
options: localVarRequestOptions
|
|
3752
|
+
};
|
|
3753
|
+
},
|
|
3754
|
+
deletepluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3755
|
+
assertParamExists("deletepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3756
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3757
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3758
|
+
let baseOptions;
|
|
3759
|
+
if (configuration) {
|
|
3760
|
+
baseOptions = configuration.baseOptions;
|
|
3761
|
+
}
|
|
3762
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3763
|
+
const localVarHeaderParameter = {};
|
|
3764
|
+
const localVarQueryParameter = {};
|
|
3765
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3766
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3767
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3768
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3769
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3770
|
+
return {
|
|
3771
|
+
url: toPathString(localVarUrlObj),
|
|
3772
|
+
options: localVarRequestOptions
|
|
3773
|
+
};
|
|
3774
|
+
},
|
|
3775
|
+
getpluginHaloRunV1alpha1SearchEngine: async (name, options = {}) => {
|
|
3776
|
+
assertParamExists("getpluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3777
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3778
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3779
|
+
let baseOptions;
|
|
3780
|
+
if (configuration) {
|
|
3781
|
+
baseOptions = configuration.baseOptions;
|
|
3782
|
+
}
|
|
3783
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3784
|
+
const localVarHeaderParameter = {};
|
|
3785
|
+
const localVarQueryParameter = {};
|
|
3786
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3787
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3788
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3789
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3790
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3791
|
+
return {
|
|
3792
|
+
url: toPathString(localVarUrlObj),
|
|
3793
|
+
options: localVarRequestOptions
|
|
3794
|
+
};
|
|
3795
|
+
},
|
|
3796
|
+
listpluginHaloRunV1alpha1SearchEngine: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3797
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines`;
|
|
3798
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3799
|
+
let baseOptions;
|
|
3800
|
+
if (configuration) {
|
|
3801
|
+
baseOptions = configuration.baseOptions;
|
|
3802
|
+
}
|
|
3803
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3804
|
+
const localVarHeaderParameter = {};
|
|
3805
|
+
const localVarQueryParameter = {};
|
|
3806
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3807
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3808
|
+
if (page !== void 0) {
|
|
3809
|
+
localVarQueryParameter["page"] = page;
|
|
3810
|
+
}
|
|
3811
|
+
if (size !== void 0) {
|
|
3812
|
+
localVarQueryParameter["size"] = size;
|
|
3813
|
+
}
|
|
3814
|
+
if (labelSelector) {
|
|
3815
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3816
|
+
}
|
|
3817
|
+
if (fieldSelector) {
|
|
3818
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3819
|
+
}
|
|
3820
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3821
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3822
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3823
|
+
return {
|
|
3824
|
+
url: toPathString(localVarUrlObj),
|
|
3825
|
+
options: localVarRequestOptions
|
|
3826
|
+
};
|
|
3827
|
+
},
|
|
3828
|
+
updatepluginHaloRunV1alpha1SearchEngine: async (name, searchEngine, options = {}) => {
|
|
3829
|
+
assertParamExists("updatepluginHaloRunV1alpha1SearchEngine", "name", name);
|
|
3830
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/searchengines/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3831
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3832
|
+
let baseOptions;
|
|
3833
|
+
if (configuration) {
|
|
3834
|
+
baseOptions = configuration.baseOptions;
|
|
3835
|
+
}
|
|
3836
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3837
|
+
const localVarHeaderParameter = {};
|
|
3838
|
+
const localVarQueryParameter = {};
|
|
3839
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3840
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3841
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3842
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3843
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3844
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3845
|
+
localVarRequestOptions.data = serializeDataIfNeeded(searchEngine, localVarRequestOptions, configuration);
|
|
3846
|
+
return {
|
|
3847
|
+
url: toPathString(localVarUrlObj),
|
|
3848
|
+
options: localVarRequestOptions
|
|
3849
|
+
};
|
|
3850
|
+
}
|
|
3851
|
+
};
|
|
3852
|
+
};
|
|
3853
|
+
const PluginHaloRunV1alpha1SearchEngineApiFp = function(configuration) {
|
|
3854
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator(configuration);
|
|
3855
|
+
return {
|
|
3856
|
+
async createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options);
|
|
3858
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3859
|
+
},
|
|
3860
|
+
async deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3861
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3862
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3863
|
+
},
|
|
3864
|
+
async getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1SearchEngine(name, options);
|
|
3866
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3867
|
+
},
|
|
3868
|
+
async listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3869
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options);
|
|
3870
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3871
|
+
},
|
|
3872
|
+
async updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3873
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options);
|
|
3874
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3875
|
+
}
|
|
3876
|
+
};
|
|
3877
|
+
};
|
|
3878
|
+
const PluginHaloRunV1alpha1SearchEngineApiFactory = function(configuration, basePath, axios) {
|
|
3879
|
+
const localVarFp = PluginHaloRunV1alpha1SearchEngineApiFp(configuration);
|
|
3880
|
+
return {
|
|
3881
|
+
createpluginHaloRunV1alpha1SearchEngine(searchEngine, options) {
|
|
3882
|
+
return localVarFp.createpluginHaloRunV1alpha1SearchEngine(searchEngine, options).then((request) => request(axios, basePath));
|
|
3883
|
+
},
|
|
3884
|
+
deletepluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3885
|
+
return localVarFp.deletepluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3886
|
+
},
|
|
3887
|
+
getpluginHaloRunV1alpha1SearchEngine(name, options) {
|
|
3888
|
+
return localVarFp.getpluginHaloRunV1alpha1SearchEngine(name, options).then((request) => request(axios, basePath));
|
|
3889
|
+
},
|
|
3890
|
+
listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options) {
|
|
3891
|
+
return localVarFp.listpluginHaloRunV1alpha1SearchEngine(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3892
|
+
},
|
|
3893
|
+
updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options) {
|
|
3894
|
+
return localVarFp.updatepluginHaloRunV1alpha1SearchEngine(name, searchEngine, options).then((request) => request(axios, basePath));
|
|
3895
|
+
}
|
|
3896
|
+
};
|
|
3897
|
+
};
|
|
3898
|
+
class PluginHaloRunV1alpha1SearchEngineApi extends BaseAPI {
|
|
3899
|
+
createpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3900
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).createpluginHaloRunV1alpha1SearchEngine(requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3901
|
+
}
|
|
3902
|
+
deletepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3903
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).deletepluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3904
|
+
}
|
|
3905
|
+
getpluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3906
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).getpluginHaloRunV1alpha1SearchEngine(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3907
|
+
}
|
|
3908
|
+
listpluginHaloRunV1alpha1SearchEngine(requestParameters = {}, options) {
|
|
3909
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).listpluginHaloRunV1alpha1SearchEngine(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3910
|
+
}
|
|
3911
|
+
updatepluginHaloRunV1alpha1SearchEngine(requestParameters, options) {
|
|
3912
|
+
return PluginHaloRunV1alpha1SearchEngineApiFp(this.configuration).updatepluginHaloRunV1alpha1SearchEngine(requestParameters.name, requestParameters.searchEngine, options).then((request) => request(this.axios, this.basePath));
|
|
3913
|
+
}
|
|
3914
|
+
}
|
|
3915
|
+
|
|
3561
3916
|
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
3562
3917
|
return {
|
|
3563
3918
|
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
@@ -6019,4 +6374,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
6019
6374
|
Private: "PRIVATE"
|
|
6020
6375
|
};
|
|
6021
6376
|
|
|
6022
|
-
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
|
6377
|
+
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1IndicesApi, ApiConsoleHaloRunV1alpha1IndicesApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1IndicesApiFactory, ApiConsoleHaloRunV1alpha1IndicesApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginHaloRunV1alpha1SearchEngineApi, PluginHaloRunV1alpha1SearchEngineApiAxiosParamCreator, PluginHaloRunV1alpha1SearchEngineApiFactory, PluginHaloRunV1alpha1SearchEngineApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|