@halo-dev/api-client 0.0.48 → 0.0.50
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 +47 -44
- package/dist/index.d.ts +63 -54
- package/dist/index.mjs +47 -44
- 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,
|
|
80
|
+
searchAttachments: async (policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, 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;
|
|
@@ -92,15 +92,18 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
92
92
|
if (policy !== void 0) {
|
|
93
93
|
localVarQueryParameter["policy"] = policy;
|
|
94
94
|
}
|
|
95
|
+
if (sort) {
|
|
96
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
97
|
+
}
|
|
95
98
|
if (displayName !== void 0) {
|
|
96
99
|
localVarQueryParameter["displayName"] = displayName;
|
|
97
100
|
}
|
|
98
|
-
if (group !== void 0) {
|
|
99
|
-
localVarQueryParameter["group"] = group;
|
|
100
|
-
}
|
|
101
101
|
if (uploadedBy !== void 0) {
|
|
102
102
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
103
103
|
}
|
|
104
|
+
if (group !== void 0) {
|
|
105
|
+
localVarQueryParameter["group"] = group;
|
|
106
|
+
}
|
|
104
107
|
if (size !== void 0) {
|
|
105
108
|
localVarQueryParameter["size"] = size;
|
|
106
109
|
}
|
|
@@ -160,8 +163,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
160
163
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
161
164
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
162
165
|
return {
|
|
163
|
-
async searchAttachments(policy,
|
|
164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy,
|
|
166
|
+
async searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
167
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
|
|
165
168
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
166
169
|
},
|
|
167
170
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -173,8 +176,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
173
176
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
174
177
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
175
178
|
return {
|
|
176
|
-
searchAttachments(policy,
|
|
177
|
-
return localVarFp.searchAttachments(policy,
|
|
179
|
+
searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
180
|
+
return localVarFp.searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
178
181
|
},
|
|
179
182
|
uploadAttachment(file, policyName, groupName, options) {
|
|
180
183
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -183,7 +186,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
183
186
|
};
|
|
184
187
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
185
188
|
searchAttachments(requestParameters = {}, options) {
|
|
186
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.
|
|
189
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
187
190
|
}
|
|
188
191
|
uploadAttachment(requestParameters, options) {
|
|
189
192
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -540,7 +543,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
540
543
|
options: localVarRequestOptions
|
|
541
544
|
};
|
|
542
545
|
},
|
|
543
|
-
listPlugins: async (sort,
|
|
546
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
544
547
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
545
548
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
546
549
|
let baseOptions;
|
|
@@ -555,12 +558,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
555
558
|
if (sort) {
|
|
556
559
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
557
560
|
}
|
|
558
|
-
if (enabled !== void 0) {
|
|
559
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
560
|
-
}
|
|
561
561
|
if (keyword !== void 0) {
|
|
562
562
|
localVarQueryParameter["keyword"] = keyword;
|
|
563
563
|
}
|
|
564
|
+
if (enabled !== void 0) {
|
|
565
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
566
|
+
}
|
|
564
567
|
if (size !== void 0) {
|
|
565
568
|
localVarQueryParameter["size"] = size;
|
|
566
569
|
}
|
|
@@ -618,8 +621,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
618
621
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
619
622
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
620
623
|
},
|
|
621
|
-
async listPlugins(sort,
|
|
622
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
624
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
625
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options);
|
|
623
626
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
624
627
|
},
|
|
625
628
|
async upgradePlugin(name, file, options) {
|
|
@@ -634,8 +637,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
634
637
|
installPlugin(file, options) {
|
|
635
638
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
636
639
|
},
|
|
637
|
-
listPlugins(sort,
|
|
638
|
-
return localVarFp.listPlugins(sort,
|
|
640
|
+
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
641
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
639
642
|
},
|
|
640
643
|
upgradePlugin(name, file, options) {
|
|
641
644
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -647,7 +650,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
647
650
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
648
651
|
}
|
|
649
652
|
listPlugins(requestParameters = {}, options) {
|
|
650
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
653
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
651
654
|
}
|
|
652
655
|
upgradePlugin(requestParameters, options) {
|
|
653
656
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -679,7 +682,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
679
682
|
options: localVarRequestOptions
|
|
680
683
|
};
|
|
681
684
|
},
|
|
682
|
-
listPosts: async (sort,
|
|
685
|
+
listPosts: async (sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
683
686
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
684
687
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
685
688
|
let baseOptions;
|
|
@@ -694,9 +697,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
694
697
|
if (sort !== void 0) {
|
|
695
698
|
localVarQueryParameter["sort"] = sort;
|
|
696
699
|
}
|
|
697
|
-
if (contributor) {
|
|
698
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
699
|
-
}
|
|
700
700
|
if (publishPhase !== void 0) {
|
|
701
701
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
702
702
|
}
|
|
@@ -706,8 +706,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
706
706
|
if (sortOrder !== void 0) {
|
|
707
707
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
708
708
|
}
|
|
709
|
-
if (
|
|
710
|
-
localVarQueryParameter["
|
|
709
|
+
if (contributor) {
|
|
710
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
711
711
|
}
|
|
712
712
|
if (keyword !== void 0) {
|
|
713
713
|
localVarQueryParameter["keyword"] = keyword;
|
|
@@ -715,6 +715,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
715
715
|
if (visible !== void 0) {
|
|
716
716
|
localVarQueryParameter["visible"] = visible;
|
|
717
717
|
}
|
|
718
|
+
if (tag) {
|
|
719
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
720
|
+
}
|
|
718
721
|
if (size !== void 0) {
|
|
719
722
|
localVarQueryParameter["size"] = size;
|
|
720
723
|
}
|
|
@@ -858,8 +861,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
858
861
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
859
862
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
860
863
|
},
|
|
861
|
-
async listPosts(sort,
|
|
862
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
864
|
+
async listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
865
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
|
|
863
866
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
864
867
|
},
|
|
865
868
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -890,8 +893,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
890
893
|
draftPost(postRequest, options) {
|
|
891
894
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
892
895
|
},
|
|
893
|
-
listPosts(sort,
|
|
894
|
-
return localVarFp.listPosts(sort,
|
|
896
|
+
listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
897
|
+
return localVarFp.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
895
898
|
},
|
|
896
899
|
publishPost(name, headSnapshot, options) {
|
|
897
900
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -915,7 +918,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
915
918
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
916
919
|
}
|
|
917
920
|
listPosts(requestParameters = {}, options) {
|
|
918
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
921
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
919
922
|
}
|
|
920
923
|
publishPost(requestParameters, options) {
|
|
921
924
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1021,7 +1024,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1021
1024
|
options: localVarRequestOptions
|
|
1022
1025
|
};
|
|
1023
1026
|
},
|
|
1024
|
-
listSinglePages: async (sort,
|
|
1027
|
+
listSinglePages: async (sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1025
1028
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1026
1029
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1027
1030
|
let baseOptions;
|
|
@@ -1036,15 +1039,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1036
1039
|
if (sort !== void 0) {
|
|
1037
1040
|
localVarQueryParameter["sort"] = sort;
|
|
1038
1041
|
}
|
|
1039
|
-
if (contributor) {
|
|
1040
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1041
|
-
}
|
|
1042
1042
|
if (publishPhase !== void 0) {
|
|
1043
1043
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1044
1044
|
}
|
|
1045
1045
|
if (sortOrder !== void 0) {
|
|
1046
1046
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1047
1047
|
}
|
|
1048
|
+
if (contributor) {
|
|
1049
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1050
|
+
}
|
|
1048
1051
|
if (keyword !== void 0) {
|
|
1049
1052
|
localVarQueryParameter["keyword"] = keyword;
|
|
1050
1053
|
}
|
|
@@ -1149,8 +1152,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1149
1152
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1150
1153
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1151
1154
|
},
|
|
1152
|
-
async listSinglePages(sort,
|
|
1153
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1155
|
+
async listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1156
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options);
|
|
1154
1157
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1155
1158
|
},
|
|
1156
1159
|
async publishSinglePage(name, options) {
|
|
@@ -1173,8 +1176,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1173
1176
|
draftSinglePage(singlePageRequest, options) {
|
|
1174
1177
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1175
1178
|
},
|
|
1176
|
-
listSinglePages(sort,
|
|
1177
|
-
return localVarFp.listSinglePages(sort,
|
|
1179
|
+
listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1180
|
+
return localVarFp.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1178
1181
|
},
|
|
1179
1182
|
publishSinglePage(name, options) {
|
|
1180
1183
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1192,7 +1195,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1192
1195
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1193
1196
|
}
|
|
1194
1197
|
listSinglePages(requestParameters = {}, options) {
|
|
1195
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1198
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.publishPhase, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1196
1199
|
}
|
|
1197
1200
|
publishSinglePage(requestParameters, options) {
|
|
1198
1201
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1685,12 +1688,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1685
1688
|
if (version !== void 0) {
|
|
1686
1689
|
localVarQueryParameter["version"] = version;
|
|
1687
1690
|
}
|
|
1688
|
-
if (kind !== void 0) {
|
|
1689
|
-
localVarQueryParameter["kind"] = kind;
|
|
1690
|
-
}
|
|
1691
1691
|
if (group !== void 0) {
|
|
1692
1692
|
localVarQueryParameter["group"] = group;
|
|
1693
1693
|
}
|
|
1694
|
+
if (kind !== void 0) {
|
|
1695
|
+
localVarQueryParameter["kind"] = kind;
|
|
1696
|
+
}
|
|
1694
1697
|
if (size !== void 0) {
|
|
1695
1698
|
localVarQueryParameter["size"] = size;
|
|
1696
1699
|
}
|
|
@@ -1791,12 +1794,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1791
1794
|
if (highlightPostTag !== void 0) {
|
|
1792
1795
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1793
1796
|
}
|
|
1794
|
-
if (limit !== void 0) {
|
|
1795
|
-
localVarQueryParameter["limit"] = limit;
|
|
1796
|
-
}
|
|
1797
1797
|
if (keyword !== void 0) {
|
|
1798
1798
|
localVarQueryParameter["keyword"] = keyword;
|
|
1799
1799
|
}
|
|
1800
|
+
if (limit !== void 0) {
|
|
1801
|
+
localVarQueryParameter["limit"] = limit;
|
|
1802
|
+
}
|
|
1800
1803
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1801
1804
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1802
1805
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
package/dist/index.d.ts
CHANGED
|
@@ -2017,16 +2017,16 @@ interface Excerpt {
|
|
|
2017
2017
|
interface Extension {
|
|
2018
2018
|
/**
|
|
2019
2019
|
*
|
|
2020
|
-
* @type {
|
|
2020
|
+
* @type {string}
|
|
2021
2021
|
* @memberof Extension
|
|
2022
2022
|
*/
|
|
2023
|
-
|
|
2023
|
+
apiVersion: string;
|
|
2024
2024
|
/**
|
|
2025
2025
|
*
|
|
2026
|
-
* @type {
|
|
2026
|
+
* @type {Metadata}
|
|
2027
2027
|
* @memberof Extension
|
|
2028
2028
|
*/
|
|
2029
|
-
|
|
2029
|
+
metadata: Metadata;
|
|
2030
2030
|
/**
|
|
2031
2031
|
*
|
|
2032
2032
|
* @type {string}
|
|
@@ -6998,9 +6998,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
6998
6998
|
/**
|
|
6999
6999
|
*
|
|
7000
7000
|
* @param {string} [policy] Name of policy
|
|
7001
|
+
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7001
7002
|
* @param {string} [displayName] Display name of attachment
|
|
7002
|
-
* @param {string} [group] Name of group
|
|
7003
7003
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7004
|
+
* @param {string} [group] Name of group
|
|
7004
7005
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7005
7006
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7006
7007
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7008,7 +7009,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
7008
7009
|
* @param {*} [options] Override http request option.
|
|
7009
7010
|
* @throws {RequiredError}
|
|
7010
7011
|
*/
|
|
7011
|
-
searchAttachments: (policy?: string, displayName?: string,
|
|
7012
|
+
searchAttachments: (policy?: string, sort?: Array<string>, displayName?: string, uploadedBy?: string, group?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7012
7013
|
/**
|
|
7013
7014
|
*
|
|
7014
7015
|
* @param {any} file
|
|
@@ -7027,9 +7028,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7027
7028
|
/**
|
|
7028
7029
|
*
|
|
7029
7030
|
* @param {string} [policy] Name of policy
|
|
7031
|
+
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7030
7032
|
* @param {string} [displayName] Display name of attachment
|
|
7031
|
-
* @param {string} [group] Name of group
|
|
7032
7033
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7034
|
+
* @param {string} [group] Name of group
|
|
7033
7035
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7034
7036
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7035
7037
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7037,7 +7039,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7037
7039
|
* @param {*} [options] Override http request option.
|
|
7038
7040
|
* @throws {RequiredError}
|
|
7039
7041
|
*/
|
|
7040
|
-
searchAttachments(policy?: string, displayName?: string,
|
|
7042
|
+
searchAttachments(policy?: string, sort?: Array<string>, displayName?: string, uploadedBy?: string, group?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
7041
7043
|
/**
|
|
7042
7044
|
*
|
|
7043
7045
|
* @param {any} file
|
|
@@ -7056,9 +7058,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7056
7058
|
/**
|
|
7057
7059
|
*
|
|
7058
7060
|
* @param {string} [policy] Name of policy
|
|
7061
|
+
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7059
7062
|
* @param {string} [displayName] Display name of attachment
|
|
7060
|
-
* @param {string} [group] Name of group
|
|
7061
7063
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7064
|
+
* @param {string} [group] Name of group
|
|
7062
7065
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7063
7066
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7064
7067
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7066,7 +7069,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7066
7069
|
* @param {*} [options] Override http request option.
|
|
7067
7070
|
* @throws {RequiredError}
|
|
7068
7071
|
*/
|
|
7069
|
-
searchAttachments(policy?: string, displayName?: string,
|
|
7072
|
+
searchAttachments(policy?: string, sort?: Array<string>, displayName?: string, uploadedBy?: string, group?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<AttachmentList>;
|
|
7070
7073
|
/**
|
|
7071
7074
|
*
|
|
7072
7075
|
* @param {any} file
|
|
@@ -7089,6 +7092,12 @@ interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
7089
7092
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7090
7093
|
*/
|
|
7091
7094
|
readonly policy?: string;
|
|
7095
|
+
/**
|
|
7096
|
+
* Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7097
|
+
* @type {Array<string>}
|
|
7098
|
+
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7099
|
+
*/
|
|
7100
|
+
readonly sort?: Array<string>;
|
|
7092
7101
|
/**
|
|
7093
7102
|
* Display name of attachment
|
|
7094
7103
|
* @type {string}
|
|
@@ -7096,17 +7105,17 @@ interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
7096
7105
|
*/
|
|
7097
7106
|
readonly displayName?: string;
|
|
7098
7107
|
/**
|
|
7099
|
-
* Name of
|
|
7108
|
+
* Name of user who uploaded the attachment
|
|
7100
7109
|
* @type {string}
|
|
7101
7110
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7102
7111
|
*/
|
|
7103
|
-
readonly
|
|
7112
|
+
readonly uploadedBy?: string;
|
|
7104
7113
|
/**
|
|
7105
|
-
* Name of
|
|
7114
|
+
* Name of group
|
|
7106
7115
|
* @type {string}
|
|
7107
7116
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7108
7117
|
*/
|
|
7109
|
-
readonly
|
|
7118
|
+
readonly group?: string;
|
|
7110
7119
|
/**
|
|
7111
7120
|
* Size of one page. Zero indicates no limit.
|
|
7112
7121
|
* @type {number}
|
|
@@ -7699,8 +7708,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator: (configuratio
|
|
|
7699
7708
|
/**
|
|
7700
7709
|
* List plugins using query criteria and sort params
|
|
7701
7710
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp
|
|
7702
|
-
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7703
7711
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7712
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7704
7713
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7705
7714
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7706
7715
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7708,7 +7717,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator: (configuratio
|
|
|
7708
7717
|
* @param {*} [options] Override http request option.
|
|
7709
7718
|
* @throws {RequiredError}
|
|
7710
7719
|
*/
|
|
7711
|
-
listPlugins: (sort?: Array<string>,
|
|
7720
|
+
listPlugins: (sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7712
7721
|
/**
|
|
7713
7722
|
* Upgrade a plugin by uploading a Jar file
|
|
7714
7723
|
* @param {string} name
|
|
@@ -7733,8 +7742,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFp: (configuration?: Configurati
|
|
|
7733
7742
|
/**
|
|
7734
7743
|
* List plugins using query criteria and sort params
|
|
7735
7744
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp
|
|
7736
|
-
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7737
7745
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7746
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7738
7747
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7739
7748
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7740
7749
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7742,7 +7751,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFp: (configuration?: Configurati
|
|
|
7742
7751
|
* @param {*} [options] Override http request option.
|
|
7743
7752
|
* @throws {RequiredError}
|
|
7744
7753
|
*/
|
|
7745
|
-
listPlugins(sort?: Array<string>,
|
|
7754
|
+
listPlugins(sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PluginList>>;
|
|
7746
7755
|
/**
|
|
7747
7756
|
* Upgrade a plugin by uploading a Jar file
|
|
7748
7757
|
* @param {string} name
|
|
@@ -7767,8 +7776,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFactory: (configuration?: Config
|
|
|
7767
7776
|
/**
|
|
7768
7777
|
* List plugins using query criteria and sort params
|
|
7769
7778
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp
|
|
7770
|
-
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7771
7779
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7780
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7772
7781
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7773
7782
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7774
7783
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7776,7 +7785,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFactory: (configuration?: Config
|
|
|
7776
7785
|
* @param {*} [options] Override http request option.
|
|
7777
7786
|
* @throws {RequiredError}
|
|
7778
7787
|
*/
|
|
7779
|
-
listPlugins(sort?: Array<string>,
|
|
7788
|
+
listPlugins(sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<PluginList>;
|
|
7780
7789
|
/**
|
|
7781
7790
|
* Upgrade a plugin by uploading a Jar file
|
|
7782
7791
|
* @param {string} name
|
|
@@ -7811,18 +7820,18 @@ interface ApiConsoleHaloRunV1alpha1PluginApiListPluginsRequest {
|
|
|
7811
7820
|
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7812
7821
|
*/
|
|
7813
7822
|
readonly sort?: Array<string>;
|
|
7814
|
-
/**
|
|
7815
|
-
* Whether the plugin is enabled
|
|
7816
|
-
* @type {boolean}
|
|
7817
|
-
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7818
|
-
*/
|
|
7819
|
-
readonly enabled?: boolean;
|
|
7820
7823
|
/**
|
|
7821
7824
|
* Keyword of plugin name or description
|
|
7822
7825
|
* @type {string}
|
|
7823
7826
|
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7824
7827
|
*/
|
|
7825
7828
|
readonly keyword?: string;
|
|
7829
|
+
/**
|
|
7830
|
+
* Whether the plugin is enabled
|
|
7831
|
+
* @type {boolean}
|
|
7832
|
+
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7833
|
+
*/
|
|
7834
|
+
readonly enabled?: boolean;
|
|
7826
7835
|
/**
|
|
7827
7836
|
* Size of one page. Zero indicates no limit.
|
|
7828
7837
|
* @type {number}
|
|
@@ -7915,13 +7924,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7915
7924
|
/**
|
|
7916
7925
|
* List posts.
|
|
7917
7926
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7918
|
-
* @param {Array<string>} [contributor]
|
|
7919
7927
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7920
7928
|
* @param {Array<string>} [category]
|
|
7921
7929
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7922
|
-
* @param {Array<string>} [
|
|
7930
|
+
* @param {Array<string>} [contributor]
|
|
7923
7931
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
7924
7932
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7933
|
+
* @param {Array<string>} [tag]
|
|
7925
7934
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7926
7935
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7927
7936
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7929,7 +7938,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7929
7938
|
* @param {*} [options] Override http request option.
|
|
7930
7939
|
* @throws {RequiredError}
|
|
7931
7940
|
*/
|
|
7932
|
-
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
7941
|
+
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7933
7942
|
/**
|
|
7934
7943
|
* Publish a post.
|
|
7935
7944
|
* @param {string} name
|
|
@@ -7984,13 +7993,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
7984
7993
|
/**
|
|
7985
7994
|
* List posts.
|
|
7986
7995
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7987
|
-
* @param {Array<string>} [contributor]
|
|
7988
7996
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7989
7997
|
* @param {Array<string>} [category]
|
|
7990
7998
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7991
|
-
* @param {Array<string>} [
|
|
7999
|
+
* @param {Array<string>} [contributor]
|
|
7992
8000
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
7993
8001
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8002
|
+
* @param {Array<string>} [tag]
|
|
7994
8003
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7995
8004
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7996
8005
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7998,7 +8007,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
7998
8007
|
* @param {*} [options] Override http request option.
|
|
7999
8008
|
* @throws {RequiredError}
|
|
8000
8009
|
*/
|
|
8001
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8010
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
8002
8011
|
/**
|
|
8003
8012
|
* Publish a post.
|
|
8004
8013
|
* @param {string} name
|
|
@@ -8053,13 +8062,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8053
8062
|
/**
|
|
8054
8063
|
* List posts.
|
|
8055
8064
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8056
|
-
* @param {Array<string>} [contributor]
|
|
8057
8065
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8058
8066
|
* @param {Array<string>} [category]
|
|
8059
8067
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8060
|
-
* @param {Array<string>} [
|
|
8068
|
+
* @param {Array<string>} [contributor]
|
|
8061
8069
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
8062
8070
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8071
|
+
* @param {Array<string>} [tag]
|
|
8063
8072
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8064
8073
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8065
8074
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -8067,7 +8076,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8067
8076
|
* @param {*} [options] Override http request option.
|
|
8068
8077
|
* @throws {RequiredError}
|
|
8069
8078
|
*/
|
|
8070
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8079
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedPostList>;
|
|
8071
8080
|
/**
|
|
8072
8081
|
* Publish a post.
|
|
8073
8082
|
* @param {string} name
|
|
@@ -8132,12 +8141,6 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8132
8141
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8133
8142
|
*/
|
|
8134
8143
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8135
|
-
/**
|
|
8136
|
-
*
|
|
8137
|
-
* @type {Array<string>}
|
|
8138
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8139
|
-
*/
|
|
8140
|
-
readonly contributor?: Array<string>;
|
|
8141
8144
|
/**
|
|
8142
8145
|
*
|
|
8143
8146
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8161,7 +8164,7 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8161
8164
|
* @type {Array<string>}
|
|
8162
8165
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8163
8166
|
*/
|
|
8164
|
-
readonly
|
|
8167
|
+
readonly contributor?: Array<string>;
|
|
8165
8168
|
/**
|
|
8166
8169
|
* Posts filtered by keyword.
|
|
8167
8170
|
* @type {string}
|
|
@@ -8174,6 +8177,12 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8174
8177
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8175
8178
|
*/
|
|
8176
8179
|
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8180
|
+
/**
|
|
8181
|
+
*
|
|
8182
|
+
* @type {Array<string>}
|
|
8183
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8184
|
+
*/
|
|
8185
|
+
readonly tag?: Array<string>;
|
|
8177
8186
|
/**
|
|
8178
8187
|
* Size of one page. Zero indicates no limit.
|
|
8179
8188
|
* @type {number}
|
|
@@ -8467,9 +8476,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8467
8476
|
/**
|
|
8468
8477
|
* List single pages.
|
|
8469
8478
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8470
|
-
* @param {Array<string>} [contributor]
|
|
8471
8479
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8472
8480
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8481
|
+
* @param {Array<string>} [contributor]
|
|
8473
8482
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8474
8483
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8475
8484
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
@@ -8479,7 +8488,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8479
8488
|
* @param {*} [options] Override http request option.
|
|
8480
8489
|
* @throws {RequiredError}
|
|
8481
8490
|
*/
|
|
8482
|
-
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8491
|
+
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8483
8492
|
/**
|
|
8484
8493
|
* Publish a single page.
|
|
8485
8494
|
* @param {string} name
|
|
@@ -8519,9 +8528,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8519
8528
|
/**
|
|
8520
8529
|
* List single pages.
|
|
8521
8530
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8522
|
-
* @param {Array<string>} [contributor]
|
|
8523
8531
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8524
8532
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8533
|
+
* @param {Array<string>} [contributor]
|
|
8525
8534
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8526
8535
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8527
8536
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
@@ -8531,7 +8540,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8531
8540
|
* @param {*} [options] Override http request option.
|
|
8532
8541
|
* @throws {RequiredError}
|
|
8533
8542
|
*/
|
|
8534
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8543
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
8535
8544
|
/**
|
|
8536
8545
|
* Publish a single page.
|
|
8537
8546
|
* @param {string} name
|
|
@@ -8571,9 +8580,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8571
8580
|
/**
|
|
8572
8581
|
* List single pages.
|
|
8573
8582
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8574
|
-
* @param {Array<string>} [contributor]
|
|
8575
8583
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8576
8584
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8585
|
+
* @param {Array<string>} [contributor]
|
|
8577
8586
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8578
8587
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8579
8588
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
@@ -8583,7 +8592,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8583
8592
|
* @param {*} [options] Override http request option.
|
|
8584
8593
|
* @throws {RequiredError}
|
|
8585
8594
|
*/
|
|
8586
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8595
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
8587
8596
|
/**
|
|
8588
8597
|
* Publish a single page.
|
|
8589
8598
|
* @param {string} name
|
|
@@ -8633,12 +8642,6 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8633
8642
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8634
8643
|
*/
|
|
8635
8644
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8636
|
-
/**
|
|
8637
|
-
*
|
|
8638
|
-
* @type {Array<string>}
|
|
8639
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8640
|
-
*/
|
|
8641
|
-
readonly contributor?: Array<string>;
|
|
8642
8645
|
/**
|
|
8643
8646
|
*
|
|
8644
8647
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8651,6 +8654,12 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8651
8654
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8652
8655
|
*/
|
|
8653
8656
|
readonly sortOrder?: boolean;
|
|
8657
|
+
/**
|
|
8658
|
+
*
|
|
8659
|
+
* @type {Array<string>}
|
|
8660
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8661
|
+
*/
|
|
8662
|
+
readonly contributor?: Array<string>;
|
|
8654
8663
|
/**
|
|
8655
8664
|
* SinglePages filtered by keyword.
|
|
8656
8665
|
* @type {string}
|
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,
|
|
72
|
+
searchAttachments: async (policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, 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;
|
|
@@ -84,15 +84,18 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
84
84
|
if (policy !== void 0) {
|
|
85
85
|
localVarQueryParameter["policy"] = policy;
|
|
86
86
|
}
|
|
87
|
+
if (sort) {
|
|
88
|
+
localVarQueryParameter["sort"] = Array.from(sort);
|
|
89
|
+
}
|
|
87
90
|
if (displayName !== void 0) {
|
|
88
91
|
localVarQueryParameter["displayName"] = displayName;
|
|
89
92
|
}
|
|
90
|
-
if (group !== void 0) {
|
|
91
|
-
localVarQueryParameter["group"] = group;
|
|
92
|
-
}
|
|
93
93
|
if (uploadedBy !== void 0) {
|
|
94
94
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
95
95
|
}
|
|
96
|
+
if (group !== void 0) {
|
|
97
|
+
localVarQueryParameter["group"] = group;
|
|
98
|
+
}
|
|
96
99
|
if (size !== void 0) {
|
|
97
100
|
localVarQueryParameter["size"] = size;
|
|
98
101
|
}
|
|
@@ -152,8 +155,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
152
155
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
153
156
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
154
157
|
return {
|
|
155
|
-
async searchAttachments(policy,
|
|
156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy,
|
|
158
|
+
async searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
|
|
157
160
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
161
|
},
|
|
159
162
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -165,8 +168,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
165
168
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
166
169
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
167
170
|
return {
|
|
168
|
-
searchAttachments(policy,
|
|
169
|
-
return localVarFp.searchAttachments(policy,
|
|
171
|
+
searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
172
|
+
return localVarFp.searchAttachments(policy, sort, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
170
173
|
},
|
|
171
174
|
uploadAttachment(file, policyName, groupName, options) {
|
|
172
175
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -175,7 +178,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
175
178
|
};
|
|
176
179
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
177
180
|
searchAttachments(requestParameters = {}, options) {
|
|
178
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.
|
|
181
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
179
182
|
}
|
|
180
183
|
uploadAttachment(requestParameters, options) {
|
|
181
184
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -532,7 +535,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
532
535
|
options: localVarRequestOptions
|
|
533
536
|
};
|
|
534
537
|
},
|
|
535
|
-
listPlugins: async (sort,
|
|
538
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
536
539
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
537
540
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
538
541
|
let baseOptions;
|
|
@@ -547,12 +550,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
547
550
|
if (sort) {
|
|
548
551
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
549
552
|
}
|
|
550
|
-
if (enabled !== void 0) {
|
|
551
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
552
|
-
}
|
|
553
553
|
if (keyword !== void 0) {
|
|
554
554
|
localVarQueryParameter["keyword"] = keyword;
|
|
555
555
|
}
|
|
556
|
+
if (enabled !== void 0) {
|
|
557
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
558
|
+
}
|
|
556
559
|
if (size !== void 0) {
|
|
557
560
|
localVarQueryParameter["size"] = size;
|
|
558
561
|
}
|
|
@@ -610,8 +613,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
610
613
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
611
614
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
612
615
|
},
|
|
613
|
-
async listPlugins(sort,
|
|
614
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
616
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
617
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options);
|
|
615
618
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
616
619
|
},
|
|
617
620
|
async upgradePlugin(name, file, options) {
|
|
@@ -626,8 +629,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
626
629
|
installPlugin(file, options) {
|
|
627
630
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
628
631
|
},
|
|
629
|
-
listPlugins(sort,
|
|
630
|
-
return localVarFp.listPlugins(sort,
|
|
632
|
+
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
633
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
631
634
|
},
|
|
632
635
|
upgradePlugin(name, file, options) {
|
|
633
636
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -639,7 +642,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
639
642
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
640
643
|
}
|
|
641
644
|
listPlugins(requestParameters = {}, options) {
|
|
642
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
645
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
643
646
|
}
|
|
644
647
|
upgradePlugin(requestParameters, options) {
|
|
645
648
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -671,7 +674,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
671
674
|
options: localVarRequestOptions
|
|
672
675
|
};
|
|
673
676
|
},
|
|
674
|
-
listPosts: async (sort,
|
|
677
|
+
listPosts: async (sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
675
678
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
676
679
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
677
680
|
let baseOptions;
|
|
@@ -686,9 +689,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
686
689
|
if (sort !== void 0) {
|
|
687
690
|
localVarQueryParameter["sort"] = sort;
|
|
688
691
|
}
|
|
689
|
-
if (contributor) {
|
|
690
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
691
|
-
}
|
|
692
692
|
if (publishPhase !== void 0) {
|
|
693
693
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
694
694
|
}
|
|
@@ -698,8 +698,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
698
698
|
if (sortOrder !== void 0) {
|
|
699
699
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
700
700
|
}
|
|
701
|
-
if (
|
|
702
|
-
localVarQueryParameter["
|
|
701
|
+
if (contributor) {
|
|
702
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
703
703
|
}
|
|
704
704
|
if (keyword !== void 0) {
|
|
705
705
|
localVarQueryParameter["keyword"] = keyword;
|
|
@@ -707,6 +707,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
707
707
|
if (visible !== void 0) {
|
|
708
708
|
localVarQueryParameter["visible"] = visible;
|
|
709
709
|
}
|
|
710
|
+
if (tag) {
|
|
711
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
712
|
+
}
|
|
710
713
|
if (size !== void 0) {
|
|
711
714
|
localVarQueryParameter["size"] = size;
|
|
712
715
|
}
|
|
@@ -850,8 +853,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
850
853
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
851
854
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
852
855
|
},
|
|
853
|
-
async listPosts(sort,
|
|
854
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
856
|
+
async listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
857
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
|
|
855
858
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
856
859
|
},
|
|
857
860
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -882,8 +885,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
882
885
|
draftPost(postRequest, options) {
|
|
883
886
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
884
887
|
},
|
|
885
|
-
listPosts(sort,
|
|
886
|
-
return localVarFp.listPosts(sort,
|
|
888
|
+
listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
889
|
+
return localVarFp.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
887
890
|
},
|
|
888
891
|
publishPost(name, headSnapshot, options) {
|
|
889
892
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -907,7 +910,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
907
910
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
908
911
|
}
|
|
909
912
|
listPosts(requestParameters = {}, options) {
|
|
910
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
913
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
911
914
|
}
|
|
912
915
|
publishPost(requestParameters, options) {
|
|
913
916
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1013,7 +1016,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1013
1016
|
options: localVarRequestOptions
|
|
1014
1017
|
};
|
|
1015
1018
|
},
|
|
1016
|
-
listSinglePages: async (sort,
|
|
1019
|
+
listSinglePages: async (sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1017
1020
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1018
1021
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1019
1022
|
let baseOptions;
|
|
@@ -1028,15 +1031,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1028
1031
|
if (sort !== void 0) {
|
|
1029
1032
|
localVarQueryParameter["sort"] = sort;
|
|
1030
1033
|
}
|
|
1031
|
-
if (contributor) {
|
|
1032
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1033
|
-
}
|
|
1034
1034
|
if (publishPhase !== void 0) {
|
|
1035
1035
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1036
1036
|
}
|
|
1037
1037
|
if (sortOrder !== void 0) {
|
|
1038
1038
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1039
1039
|
}
|
|
1040
|
+
if (contributor) {
|
|
1041
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1042
|
+
}
|
|
1040
1043
|
if (keyword !== void 0) {
|
|
1041
1044
|
localVarQueryParameter["keyword"] = keyword;
|
|
1042
1045
|
}
|
|
@@ -1141,8 +1144,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1141
1144
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1142
1145
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1143
1146
|
},
|
|
1144
|
-
async listSinglePages(sort,
|
|
1145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1147
|
+
async listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1148
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options);
|
|
1146
1149
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1147
1150
|
},
|
|
1148
1151
|
async publishSinglePage(name, options) {
|
|
@@ -1165,8 +1168,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1165
1168
|
draftSinglePage(singlePageRequest, options) {
|
|
1166
1169
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1167
1170
|
},
|
|
1168
|
-
listSinglePages(sort,
|
|
1169
|
-
return localVarFp.listSinglePages(sort,
|
|
1171
|
+
listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1172
|
+
return localVarFp.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1170
1173
|
},
|
|
1171
1174
|
publishSinglePage(name, options) {
|
|
1172
1175
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1184,7 +1187,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1184
1187
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1185
1188
|
}
|
|
1186
1189
|
listSinglePages(requestParameters = {}, options) {
|
|
1187
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1190
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.publishPhase, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1188
1191
|
}
|
|
1189
1192
|
publishSinglePage(requestParameters, options) {
|
|
1190
1193
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1677,12 +1680,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1677
1680
|
if (version !== void 0) {
|
|
1678
1681
|
localVarQueryParameter["version"] = version;
|
|
1679
1682
|
}
|
|
1680
|
-
if (kind !== void 0) {
|
|
1681
|
-
localVarQueryParameter["kind"] = kind;
|
|
1682
|
-
}
|
|
1683
1683
|
if (group !== void 0) {
|
|
1684
1684
|
localVarQueryParameter["group"] = group;
|
|
1685
1685
|
}
|
|
1686
|
+
if (kind !== void 0) {
|
|
1687
|
+
localVarQueryParameter["kind"] = kind;
|
|
1688
|
+
}
|
|
1686
1689
|
if (size !== void 0) {
|
|
1687
1690
|
localVarQueryParameter["size"] = size;
|
|
1688
1691
|
}
|
|
@@ -1783,12 +1786,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1783
1786
|
if (highlightPostTag !== void 0) {
|
|
1784
1787
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1785
1788
|
}
|
|
1786
|
-
if (limit !== void 0) {
|
|
1787
|
-
localVarQueryParameter["limit"] = limit;
|
|
1788
|
-
}
|
|
1789
1789
|
if (keyword !== void 0) {
|
|
1790
1790
|
localVarQueryParameter["keyword"] = keyword;
|
|
1791
1791
|
}
|
|
1792
|
+
if (limit !== void 0) {
|
|
1793
|
+
localVarQueryParameter["limit"] = limit;
|
|
1794
|
+
}
|
|
1792
1795
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1793
1796
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1794
1797
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|