@halo-dev/api-client 0.0.48 → 0.0.51
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 +50 -44
- package/dist/index.d.ts +70 -52
- package/dist/index.mjs +50 -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, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
80
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, 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,12 +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
101
|
if (group !== void 0) {
|
|
99
102
|
localVarQueryParameter["group"] = group;
|
|
100
103
|
}
|
|
104
|
+
if (ungrouped !== void 0) {
|
|
105
|
+
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
106
|
+
}
|
|
101
107
|
if (uploadedBy !== void 0) {
|
|
102
108
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
103
109
|
}
|
|
@@ -160,8 +166,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
160
166
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
161
167
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
162
168
|
return {
|
|
163
|
-
async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
164
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
169
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
165
171
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
166
172
|
},
|
|
167
173
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -173,8 +179,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
173
179
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
174
180
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
175
181
|
return {
|
|
176
|
-
searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
177
|
-
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
182
|
+
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
183
|
+
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
178
184
|
},
|
|
179
185
|
uploadAttachment(file, policyName, groupName, options) {
|
|
180
186
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -183,7 +189,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
183
189
|
};
|
|
184
190
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
185
191
|
searchAttachments(requestParameters = {}, options) {
|
|
186
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
192
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
187
193
|
}
|
|
188
194
|
uploadAttachment(requestParameters, options) {
|
|
189
195
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -540,7 +546,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
540
546
|
options: localVarRequestOptions
|
|
541
547
|
};
|
|
542
548
|
},
|
|
543
|
-
listPlugins: async (sort,
|
|
549
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
544
550
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
545
551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
546
552
|
let baseOptions;
|
|
@@ -555,12 +561,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
555
561
|
if (sort) {
|
|
556
562
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
557
563
|
}
|
|
558
|
-
if (enabled !== void 0) {
|
|
559
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
560
|
-
}
|
|
561
564
|
if (keyword !== void 0) {
|
|
562
565
|
localVarQueryParameter["keyword"] = keyword;
|
|
563
566
|
}
|
|
567
|
+
if (enabled !== void 0) {
|
|
568
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
569
|
+
}
|
|
564
570
|
if (size !== void 0) {
|
|
565
571
|
localVarQueryParameter["size"] = size;
|
|
566
572
|
}
|
|
@@ -618,8 +624,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
618
624
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
619
625
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
620
626
|
},
|
|
621
|
-
async listPlugins(sort,
|
|
622
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
627
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options);
|
|
623
629
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
624
630
|
},
|
|
625
631
|
async upgradePlugin(name, file, options) {
|
|
@@ -634,8 +640,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
634
640
|
installPlugin(file, options) {
|
|
635
641
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
636
642
|
},
|
|
637
|
-
listPlugins(sort,
|
|
638
|
-
return localVarFp.listPlugins(sort,
|
|
643
|
+
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
644
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
639
645
|
},
|
|
640
646
|
upgradePlugin(name, file, options) {
|
|
641
647
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -647,7 +653,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
647
653
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
648
654
|
}
|
|
649
655
|
listPlugins(requestParameters = {}, options) {
|
|
650
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
656
|
+
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
657
|
}
|
|
652
658
|
upgradePlugin(requestParameters, options) {
|
|
653
659
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -679,7 +685,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
679
685
|
options: localVarRequestOptions
|
|
680
686
|
};
|
|
681
687
|
},
|
|
682
|
-
listPosts: async (sort,
|
|
688
|
+
listPosts: async (sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
683
689
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
684
690
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
685
691
|
let baseOptions;
|
|
@@ -694,8 +700,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
694
700
|
if (sort !== void 0) {
|
|
695
701
|
localVarQueryParameter["sort"] = sort;
|
|
696
702
|
}
|
|
697
|
-
if (
|
|
698
|
-
localVarQueryParameter["
|
|
703
|
+
if (sortOrder !== void 0) {
|
|
704
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
699
705
|
}
|
|
700
706
|
if (publishPhase !== void 0) {
|
|
701
707
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -703,11 +709,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
703
709
|
if (category) {
|
|
704
710
|
localVarQueryParameter["category"] = Array.from(category);
|
|
705
711
|
}
|
|
706
|
-
if (
|
|
707
|
-
localVarQueryParameter["
|
|
708
|
-
}
|
|
709
|
-
if (tag) {
|
|
710
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
712
|
+
if (contributor) {
|
|
713
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
711
714
|
}
|
|
712
715
|
if (keyword !== void 0) {
|
|
713
716
|
localVarQueryParameter["keyword"] = keyword;
|
|
@@ -715,6 +718,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
715
718
|
if (visible !== void 0) {
|
|
716
719
|
localVarQueryParameter["visible"] = visible;
|
|
717
720
|
}
|
|
721
|
+
if (tag) {
|
|
722
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
723
|
+
}
|
|
718
724
|
if (size !== void 0) {
|
|
719
725
|
localVarQueryParameter["size"] = size;
|
|
720
726
|
}
|
|
@@ -858,8 +864,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
858
864
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
859
865
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
860
866
|
},
|
|
861
|
-
async listPosts(sort,
|
|
862
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
867
|
+
async listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
|
|
863
869
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
864
870
|
},
|
|
865
871
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -890,8 +896,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
890
896
|
draftPost(postRequest, options) {
|
|
891
897
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
892
898
|
},
|
|
893
|
-
listPosts(sort,
|
|
894
|
-
return localVarFp.listPosts(sort,
|
|
899
|
+
listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
900
|
+
return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
895
901
|
},
|
|
896
902
|
publishPost(name, headSnapshot, options) {
|
|
897
903
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -915,7 +921,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
915
921
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
916
922
|
}
|
|
917
923
|
listPosts(requestParameters = {}, options) {
|
|
918
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
924
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, 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
925
|
}
|
|
920
926
|
publishPost(requestParameters, options) {
|
|
921
927
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1021,7 +1027,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1021
1027
|
options: localVarRequestOptions
|
|
1022
1028
|
};
|
|
1023
1029
|
},
|
|
1024
|
-
listSinglePages: async (sort,
|
|
1030
|
+
listSinglePages: async (sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1025
1031
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1026
1032
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1027
1033
|
let baseOptions;
|
|
@@ -1036,14 +1042,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1036
1042
|
if (sort !== void 0) {
|
|
1037
1043
|
localVarQueryParameter["sort"] = sort;
|
|
1038
1044
|
}
|
|
1039
|
-
if (
|
|
1040
|
-
localVarQueryParameter["
|
|
1045
|
+
if (sortOrder !== void 0) {
|
|
1046
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1041
1047
|
}
|
|
1042
1048
|
if (publishPhase !== void 0) {
|
|
1043
1049
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1044
1050
|
}
|
|
1045
|
-
if (
|
|
1046
|
-
localVarQueryParameter["
|
|
1051
|
+
if (contributor) {
|
|
1052
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1047
1053
|
}
|
|
1048
1054
|
if (keyword !== void 0) {
|
|
1049
1055
|
localVarQueryParameter["keyword"] = keyword;
|
|
@@ -1149,8 +1155,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1149
1155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1150
1156
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1151
1157
|
},
|
|
1152
|
-
async listSinglePages(sort,
|
|
1153
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1158
|
+
async listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options);
|
|
1154
1160
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1155
1161
|
},
|
|
1156
1162
|
async publishSinglePage(name, options) {
|
|
@@ -1173,8 +1179,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1173
1179
|
draftSinglePage(singlePageRequest, options) {
|
|
1174
1180
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1175
1181
|
},
|
|
1176
|
-
listSinglePages(sort,
|
|
1177
|
-
return localVarFp.listSinglePages(sort,
|
|
1182
|
+
listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1183
|
+
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1178
1184
|
},
|
|
1179
1185
|
publishSinglePage(name, options) {
|
|
1180
1186
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1192,7 +1198,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1192
1198
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1193
1199
|
}
|
|
1194
1200
|
listSinglePages(requestParameters = {}, options) {
|
|
1195
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1201
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1196
1202
|
}
|
|
1197
1203
|
publishSinglePage(requestParameters, options) {
|
|
1198
1204
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1685,12 +1691,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1685
1691
|
if (version !== void 0) {
|
|
1686
1692
|
localVarQueryParameter["version"] = version;
|
|
1687
1693
|
}
|
|
1688
|
-
if (kind !== void 0) {
|
|
1689
|
-
localVarQueryParameter["kind"] = kind;
|
|
1690
|
-
}
|
|
1691
1694
|
if (group !== void 0) {
|
|
1692
1695
|
localVarQueryParameter["group"] = group;
|
|
1693
1696
|
}
|
|
1697
|
+
if (kind !== void 0) {
|
|
1698
|
+
localVarQueryParameter["kind"] = kind;
|
|
1699
|
+
}
|
|
1694
1700
|
if (size !== void 0) {
|
|
1695
1701
|
localVarQueryParameter["size"] = size;
|
|
1696
1702
|
}
|
|
@@ -1791,12 +1797,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1791
1797
|
if (highlightPostTag !== void 0) {
|
|
1792
1798
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1793
1799
|
}
|
|
1794
|
-
if (limit !== void 0) {
|
|
1795
|
-
localVarQueryParameter["limit"] = limit;
|
|
1796
|
-
}
|
|
1797
1800
|
if (keyword !== void 0) {
|
|
1798
1801
|
localVarQueryParameter["keyword"] = keyword;
|
|
1799
1802
|
}
|
|
1803
|
+
if (limit !== void 0) {
|
|
1804
|
+
localVarQueryParameter["limit"] = limit;
|
|
1805
|
+
}
|
|
1800
1806
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1801
1807
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1802
1808
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
package/dist/index.d.ts
CHANGED
|
@@ -6998,8 +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
7003
|
* @param {string} [group] Name of group
|
|
7004
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7003
7005
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7004
7006
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7005
7007
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7008,7 +7010,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
7008
7010
|
* @param {*} [options] Override http request option.
|
|
7009
7011
|
* @throws {RequiredError}
|
|
7010
7012
|
*/
|
|
7011
|
-
searchAttachments: (policy?: string, displayName?: string, group?: string, uploadedBy?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7013
|
+
searchAttachments: (policy?: string, sort?: Array<string>, displayName?: string, group?: string, ungrouped?: boolean, uploadedBy?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7012
7014
|
/**
|
|
7013
7015
|
*
|
|
7014
7016
|
* @param {any} file
|
|
@@ -7027,8 +7029,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7027
7029
|
/**
|
|
7028
7030
|
*
|
|
7029
7031
|
* @param {string} [policy] Name of policy
|
|
7032
|
+
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7030
7033
|
* @param {string} [displayName] Display name of attachment
|
|
7031
7034
|
* @param {string} [group] Name of group
|
|
7035
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7032
7036
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7033
7037
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7034
7038
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7037,7 +7041,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7037
7041
|
* @param {*} [options] Override http request option.
|
|
7038
7042
|
* @throws {RequiredError}
|
|
7039
7043
|
*/
|
|
7040
|
-
searchAttachments(policy?: string, displayName?: string, group?: string, uploadedBy?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
7044
|
+
searchAttachments(policy?: string, sort?: Array<string>, displayName?: string, group?: string, ungrouped?: boolean, uploadedBy?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
7041
7045
|
/**
|
|
7042
7046
|
*
|
|
7043
7047
|
* @param {any} file
|
|
@@ -7056,8 +7060,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7056
7060
|
/**
|
|
7057
7061
|
*
|
|
7058
7062
|
* @param {string} [policy] Name of policy
|
|
7063
|
+
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7059
7064
|
* @param {string} [displayName] Display name of attachment
|
|
7060
7065
|
* @param {string} [group] Name of group
|
|
7066
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7061
7067
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7062
7068
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7063
7069
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7066,7 +7072,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7066
7072
|
* @param {*} [options] Override http request option.
|
|
7067
7073
|
* @throws {RequiredError}
|
|
7068
7074
|
*/
|
|
7069
|
-
searchAttachments(policy?: string, displayName?: string, group?: string, uploadedBy?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<AttachmentList>;
|
|
7075
|
+
searchAttachments(policy?: string, sort?: Array<string>, displayName?: string, group?: string, ungrouped?: boolean, uploadedBy?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<AttachmentList>;
|
|
7070
7076
|
/**
|
|
7071
7077
|
*
|
|
7072
7078
|
* @param {any} file
|
|
@@ -7089,6 +7095,12 @@ interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
7089
7095
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7090
7096
|
*/
|
|
7091
7097
|
readonly policy?: string;
|
|
7098
|
+
/**
|
|
7099
|
+
* Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7100
|
+
* @type {Array<string>}
|
|
7101
|
+
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7102
|
+
*/
|
|
7103
|
+
readonly sort?: Array<string>;
|
|
7092
7104
|
/**
|
|
7093
7105
|
* Display name of attachment
|
|
7094
7106
|
* @type {string}
|
|
@@ -7101,6 +7113,12 @@ interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
7101
7113
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7102
7114
|
*/
|
|
7103
7115
|
readonly group?: string;
|
|
7116
|
+
/**
|
|
7117
|
+
* Filter attachments without group. This parameter will ignore group parameter.
|
|
7118
|
+
* @type {boolean}
|
|
7119
|
+
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7120
|
+
*/
|
|
7121
|
+
readonly ungrouped?: boolean;
|
|
7104
7122
|
/**
|
|
7105
7123
|
* Name of user who uploaded the attachment
|
|
7106
7124
|
* @type {string}
|
|
@@ -7699,8 +7717,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator: (configuratio
|
|
|
7699
7717
|
/**
|
|
7700
7718
|
* List plugins using query criteria and sort params
|
|
7701
7719
|
* @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
7720
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7721
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7704
7722
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7705
7723
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7706
7724
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7708,7 +7726,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator: (configuratio
|
|
|
7708
7726
|
* @param {*} [options] Override http request option.
|
|
7709
7727
|
* @throws {RequiredError}
|
|
7710
7728
|
*/
|
|
7711
|
-
listPlugins: (sort?: Array<string>,
|
|
7729
|
+
listPlugins: (sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7712
7730
|
/**
|
|
7713
7731
|
* Upgrade a plugin by uploading a Jar file
|
|
7714
7732
|
* @param {string} name
|
|
@@ -7733,8 +7751,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFp: (configuration?: Configurati
|
|
|
7733
7751
|
/**
|
|
7734
7752
|
* List plugins using query criteria and sort params
|
|
7735
7753
|
* @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
7754
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7755
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7738
7756
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7739
7757
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7740
7758
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7742,7 +7760,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFp: (configuration?: Configurati
|
|
|
7742
7760
|
* @param {*} [options] Override http request option.
|
|
7743
7761
|
* @throws {RequiredError}
|
|
7744
7762
|
*/
|
|
7745
|
-
listPlugins(sort?: Array<string>,
|
|
7763
|
+
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
7764
|
/**
|
|
7747
7765
|
* Upgrade a plugin by uploading a Jar file
|
|
7748
7766
|
* @param {string} name
|
|
@@ -7767,8 +7785,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFactory: (configuration?: Config
|
|
|
7767
7785
|
/**
|
|
7768
7786
|
* List plugins using query criteria and sort params
|
|
7769
7787
|
* @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
7788
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7789
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7772
7790
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7773
7791
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7774
7792
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7776,7 +7794,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFactory: (configuration?: Config
|
|
|
7776
7794
|
* @param {*} [options] Override http request option.
|
|
7777
7795
|
* @throws {RequiredError}
|
|
7778
7796
|
*/
|
|
7779
|
-
listPlugins(sort?: Array<string>,
|
|
7797
|
+
listPlugins(sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<PluginList>;
|
|
7780
7798
|
/**
|
|
7781
7799
|
* Upgrade a plugin by uploading a Jar file
|
|
7782
7800
|
* @param {string} name
|
|
@@ -7811,18 +7829,18 @@ interface ApiConsoleHaloRunV1alpha1PluginApiListPluginsRequest {
|
|
|
7811
7829
|
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7812
7830
|
*/
|
|
7813
7831
|
readonly sort?: Array<string>;
|
|
7814
|
-
/**
|
|
7815
|
-
* Whether the plugin is enabled
|
|
7816
|
-
* @type {boolean}
|
|
7817
|
-
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7818
|
-
*/
|
|
7819
|
-
readonly enabled?: boolean;
|
|
7820
7832
|
/**
|
|
7821
7833
|
* Keyword of plugin name or description
|
|
7822
7834
|
* @type {string}
|
|
7823
7835
|
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7824
7836
|
*/
|
|
7825
7837
|
readonly keyword?: string;
|
|
7838
|
+
/**
|
|
7839
|
+
* Whether the plugin is enabled
|
|
7840
|
+
* @type {boolean}
|
|
7841
|
+
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7842
|
+
*/
|
|
7843
|
+
readonly enabled?: boolean;
|
|
7826
7844
|
/**
|
|
7827
7845
|
* Size of one page. Zero indicates no limit.
|
|
7828
7846
|
* @type {number}
|
|
@@ -7915,13 +7933,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7915
7933
|
/**
|
|
7916
7934
|
* List posts.
|
|
7917
7935
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7918
|
-
* @param {
|
|
7936
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7919
7937
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7920
7938
|
* @param {Array<string>} [category]
|
|
7921
|
-
* @param {
|
|
7922
|
-
* @param {Array<string>} [tag]
|
|
7939
|
+
* @param {Array<string>} [contributor]
|
|
7923
7940
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
7924
7941
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7942
|
+
* @param {Array<string>} [tag]
|
|
7925
7943
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7926
7944
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7927
7945
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7929,7 +7947,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7929
7947
|
* @param {*} [options] Override http request option.
|
|
7930
7948
|
* @throws {RequiredError}
|
|
7931
7949
|
*/
|
|
7932
|
-
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
7950
|
+
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, 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
7951
|
/**
|
|
7934
7952
|
* Publish a post.
|
|
7935
7953
|
* @param {string} name
|
|
@@ -7984,13 +8002,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
7984
8002
|
/**
|
|
7985
8003
|
* List posts.
|
|
7986
8004
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7987
|
-
* @param {
|
|
8005
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7988
8006
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7989
8007
|
* @param {Array<string>} [category]
|
|
7990
|
-
* @param {
|
|
7991
|
-
* @param {Array<string>} [tag]
|
|
8008
|
+
* @param {Array<string>} [contributor]
|
|
7992
8009
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
7993
8010
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8011
|
+
* @param {Array<string>} [tag]
|
|
7994
8012
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7995
8013
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7996
8014
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7998,7 +8016,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
7998
8016
|
* @param {*} [options] Override http request option.
|
|
7999
8017
|
* @throws {RequiredError}
|
|
8000
8018
|
*/
|
|
8001
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8019
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, 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
8020
|
/**
|
|
8003
8021
|
* Publish a post.
|
|
8004
8022
|
* @param {string} name
|
|
@@ -8053,13 +8071,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8053
8071
|
/**
|
|
8054
8072
|
* List posts.
|
|
8055
8073
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8056
|
-
* @param {
|
|
8074
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8057
8075
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8058
8076
|
* @param {Array<string>} [category]
|
|
8059
|
-
* @param {
|
|
8060
|
-
* @param {Array<string>} [tag]
|
|
8077
|
+
* @param {Array<string>} [contributor]
|
|
8061
8078
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
8062
8079
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8080
|
+
* @param {Array<string>} [tag]
|
|
8063
8081
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8064
8082
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8065
8083
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -8067,7 +8085,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8067
8085
|
* @param {*} [options] Override http request option.
|
|
8068
8086
|
* @throws {RequiredError}
|
|
8069
8087
|
*/
|
|
8070
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8088
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, 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
8089
|
/**
|
|
8072
8090
|
* Publish a post.
|
|
8073
8091
|
* @param {string} name
|
|
@@ -8133,11 +8151,11 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8133
8151
|
*/
|
|
8134
8152
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8135
8153
|
/**
|
|
8136
|
-
*
|
|
8137
|
-
* @type {
|
|
8154
|
+
* ascending order If it is true; otherwise, it is in descending order.
|
|
8155
|
+
* @type {boolean}
|
|
8138
8156
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8139
8157
|
*/
|
|
8140
|
-
readonly
|
|
8158
|
+
readonly sortOrder?: boolean;
|
|
8141
8159
|
/**
|
|
8142
8160
|
*
|
|
8143
8161
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8150,18 +8168,12 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8150
8168
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8151
8169
|
*/
|
|
8152
8170
|
readonly category?: Array<string>;
|
|
8153
|
-
/**
|
|
8154
|
-
* ascending order If it is true; otherwise, it is in descending order.
|
|
8155
|
-
* @type {boolean}
|
|
8156
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8157
|
-
*/
|
|
8158
|
-
readonly sortOrder?: boolean;
|
|
8159
8171
|
/**
|
|
8160
8172
|
*
|
|
8161
8173
|
* @type {Array<string>}
|
|
8162
8174
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8163
8175
|
*/
|
|
8164
|
-
readonly
|
|
8176
|
+
readonly contributor?: Array<string>;
|
|
8165
8177
|
/**
|
|
8166
8178
|
* Posts filtered by keyword.
|
|
8167
8179
|
* @type {string}
|
|
@@ -8174,6 +8186,12 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8174
8186
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8175
8187
|
*/
|
|
8176
8188
|
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8189
|
+
/**
|
|
8190
|
+
*
|
|
8191
|
+
* @type {Array<string>}
|
|
8192
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8193
|
+
*/
|
|
8194
|
+
readonly tag?: Array<string>;
|
|
8177
8195
|
/**
|
|
8178
8196
|
* Size of one page. Zero indicates no limit.
|
|
8179
8197
|
* @type {number}
|
|
@@ -8467,9 +8485,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8467
8485
|
/**
|
|
8468
8486
|
* List single pages.
|
|
8469
8487
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8470
|
-
* @param {Array<string>} [contributor]
|
|
8471
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8472
8488
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8489
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8490
|
+
* @param {Array<string>} [contributor]
|
|
8473
8491
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8474
8492
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8475
8493
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
@@ -8479,7 +8497,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8479
8497
|
* @param {*} [options] Override http request option.
|
|
8480
8498
|
* @throws {RequiredError}
|
|
8481
8499
|
*/
|
|
8482
|
-
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8500
|
+
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8483
8501
|
/**
|
|
8484
8502
|
* Publish a single page.
|
|
8485
8503
|
* @param {string} name
|
|
@@ -8519,9 +8537,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8519
8537
|
/**
|
|
8520
8538
|
* List single pages.
|
|
8521
8539
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8522
|
-
* @param {Array<string>} [contributor]
|
|
8523
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8524
8540
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8541
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8542
|
+
* @param {Array<string>} [contributor]
|
|
8525
8543
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8526
8544
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8527
8545
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
@@ -8531,7 +8549,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8531
8549
|
* @param {*} [options] Override http request option.
|
|
8532
8550
|
* @throws {RequiredError}
|
|
8533
8551
|
*/
|
|
8534
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8552
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', 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
8553
|
/**
|
|
8536
8554
|
* Publish a single page.
|
|
8537
8555
|
* @param {string} name
|
|
@@ -8571,9 +8589,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8571
8589
|
/**
|
|
8572
8590
|
* List single pages.
|
|
8573
8591
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8574
|
-
* @param {Array<string>} [contributor]
|
|
8575
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8576
8592
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8593
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8594
|
+
* @param {Array<string>} [contributor]
|
|
8577
8595
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8578
8596
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8579
8597
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
@@ -8583,7 +8601,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8583
8601
|
* @param {*} [options] Override http request option.
|
|
8584
8602
|
* @throws {RequiredError}
|
|
8585
8603
|
*/
|
|
8586
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8604
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
8587
8605
|
/**
|
|
8588
8606
|
* Publish a single page.
|
|
8589
8607
|
* @param {string} name
|
|
@@ -8634,11 +8652,11 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8634
8652
|
*/
|
|
8635
8653
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8636
8654
|
/**
|
|
8637
|
-
*
|
|
8638
|
-
* @type {
|
|
8655
|
+
* ascending order If it is true; otherwise, it is in descending order.
|
|
8656
|
+
* @type {boolean}
|
|
8639
8657
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8640
8658
|
*/
|
|
8641
|
-
readonly
|
|
8659
|
+
readonly sortOrder?: boolean;
|
|
8642
8660
|
/**
|
|
8643
8661
|
*
|
|
8644
8662
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8646,11 +8664,11 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8646
8664
|
*/
|
|
8647
8665
|
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8648
8666
|
/**
|
|
8649
|
-
*
|
|
8650
|
-
* @type {
|
|
8667
|
+
*
|
|
8668
|
+
* @type {Array<string>}
|
|
8651
8669
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8652
8670
|
*/
|
|
8653
|
-
readonly
|
|
8671
|
+
readonly contributor?: Array<string>;
|
|
8654
8672
|
/**
|
|
8655
8673
|
* SinglePages filtered by keyword.
|
|
8656
8674
|
* @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, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
72
|
+
searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, 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,12 +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
93
|
if (group !== void 0) {
|
|
91
94
|
localVarQueryParameter["group"] = group;
|
|
92
95
|
}
|
|
96
|
+
if (ungrouped !== void 0) {
|
|
97
|
+
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
98
|
+
}
|
|
93
99
|
if (uploadedBy !== void 0) {
|
|
94
100
|
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
95
101
|
}
|
|
@@ -152,8 +158,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
152
158
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
153
159
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
154
160
|
return {
|
|
155
|
-
async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
161
|
+
async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
157
163
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
158
164
|
},
|
|
159
165
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -165,8 +171,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
165
171
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
166
172
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
167
173
|
return {
|
|
168
|
-
searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
169
|
-
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
174
|
+
searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
175
|
+
return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
170
176
|
},
|
|
171
177
|
uploadAttachment(file, policyName, groupName, options) {
|
|
172
178
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -175,7 +181,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
175
181
|
};
|
|
176
182
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
177
183
|
searchAttachments(requestParameters = {}, options) {
|
|
178
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
184
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
179
185
|
}
|
|
180
186
|
uploadAttachment(requestParameters, options) {
|
|
181
187
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -532,7 +538,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
532
538
|
options: localVarRequestOptions
|
|
533
539
|
};
|
|
534
540
|
},
|
|
535
|
-
listPlugins: async (sort,
|
|
541
|
+
listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
536
542
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
537
543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
538
544
|
let baseOptions;
|
|
@@ -547,12 +553,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
547
553
|
if (sort) {
|
|
548
554
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
549
555
|
}
|
|
550
|
-
if (enabled !== void 0) {
|
|
551
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
552
|
-
}
|
|
553
556
|
if (keyword !== void 0) {
|
|
554
557
|
localVarQueryParameter["keyword"] = keyword;
|
|
555
558
|
}
|
|
559
|
+
if (enabled !== void 0) {
|
|
560
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
561
|
+
}
|
|
556
562
|
if (size !== void 0) {
|
|
557
563
|
localVarQueryParameter["size"] = size;
|
|
558
564
|
}
|
|
@@ -610,8 +616,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
610
616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
611
617
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
612
618
|
},
|
|
613
|
-
async listPlugins(sort,
|
|
614
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
619
|
+
async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options);
|
|
615
621
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
616
622
|
},
|
|
617
623
|
async upgradePlugin(name, file, options) {
|
|
@@ -626,8 +632,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
626
632
|
installPlugin(file, options) {
|
|
627
633
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
628
634
|
},
|
|
629
|
-
listPlugins(sort,
|
|
630
|
-
return localVarFp.listPlugins(sort,
|
|
635
|
+
listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
|
|
636
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
631
637
|
},
|
|
632
638
|
upgradePlugin(name, file, options) {
|
|
633
639
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -639,7 +645,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
639
645
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
640
646
|
}
|
|
641
647
|
listPlugins(requestParameters = {}, options) {
|
|
642
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
648
|
+
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
649
|
}
|
|
644
650
|
upgradePlugin(requestParameters, options) {
|
|
645
651
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -671,7 +677,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
671
677
|
options: localVarRequestOptions
|
|
672
678
|
};
|
|
673
679
|
},
|
|
674
|
-
listPosts: async (sort,
|
|
680
|
+
listPosts: async (sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
675
681
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
676
682
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
677
683
|
let baseOptions;
|
|
@@ -686,8 +692,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
686
692
|
if (sort !== void 0) {
|
|
687
693
|
localVarQueryParameter["sort"] = sort;
|
|
688
694
|
}
|
|
689
|
-
if (
|
|
690
|
-
localVarQueryParameter["
|
|
695
|
+
if (sortOrder !== void 0) {
|
|
696
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
691
697
|
}
|
|
692
698
|
if (publishPhase !== void 0) {
|
|
693
699
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -695,11 +701,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
695
701
|
if (category) {
|
|
696
702
|
localVarQueryParameter["category"] = Array.from(category);
|
|
697
703
|
}
|
|
698
|
-
if (
|
|
699
|
-
localVarQueryParameter["
|
|
700
|
-
}
|
|
701
|
-
if (tag) {
|
|
702
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
704
|
+
if (contributor) {
|
|
705
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
703
706
|
}
|
|
704
707
|
if (keyword !== void 0) {
|
|
705
708
|
localVarQueryParameter["keyword"] = keyword;
|
|
@@ -707,6 +710,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
707
710
|
if (visible !== void 0) {
|
|
708
711
|
localVarQueryParameter["visible"] = visible;
|
|
709
712
|
}
|
|
713
|
+
if (tag) {
|
|
714
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
715
|
+
}
|
|
710
716
|
if (size !== void 0) {
|
|
711
717
|
localVarQueryParameter["size"] = size;
|
|
712
718
|
}
|
|
@@ -850,8 +856,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
850
856
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
851
857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
852
858
|
},
|
|
853
|
-
async listPosts(sort,
|
|
854
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
859
|
+
async listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
|
|
855
861
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
856
862
|
},
|
|
857
863
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -882,8 +888,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
882
888
|
draftPost(postRequest, options) {
|
|
883
889
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
884
890
|
},
|
|
885
|
-
listPosts(sort,
|
|
886
|
-
return localVarFp.listPosts(sort,
|
|
891
|
+
listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
892
|
+
return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
887
893
|
},
|
|
888
894
|
publishPost(name, headSnapshot, options) {
|
|
889
895
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -907,7 +913,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
907
913
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
908
914
|
}
|
|
909
915
|
listPosts(requestParameters = {}, options) {
|
|
910
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
916
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, 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
917
|
}
|
|
912
918
|
publishPost(requestParameters, options) {
|
|
913
919
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1013,7 +1019,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1013
1019
|
options: localVarRequestOptions
|
|
1014
1020
|
};
|
|
1015
1021
|
},
|
|
1016
|
-
listSinglePages: async (sort,
|
|
1022
|
+
listSinglePages: async (sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1017
1023
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1018
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1019
1025
|
let baseOptions;
|
|
@@ -1028,14 +1034,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1028
1034
|
if (sort !== void 0) {
|
|
1029
1035
|
localVarQueryParameter["sort"] = sort;
|
|
1030
1036
|
}
|
|
1031
|
-
if (
|
|
1032
|
-
localVarQueryParameter["
|
|
1037
|
+
if (sortOrder !== void 0) {
|
|
1038
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1033
1039
|
}
|
|
1034
1040
|
if (publishPhase !== void 0) {
|
|
1035
1041
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1036
1042
|
}
|
|
1037
|
-
if (
|
|
1038
|
-
localVarQueryParameter["
|
|
1043
|
+
if (contributor) {
|
|
1044
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1039
1045
|
}
|
|
1040
1046
|
if (keyword !== void 0) {
|
|
1041
1047
|
localVarQueryParameter["keyword"] = keyword;
|
|
@@ -1141,8 +1147,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1141
1147
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1142
1148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1143
1149
|
},
|
|
1144
|
-
async listSinglePages(sort,
|
|
1145
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1150
|
+
async listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options);
|
|
1146
1152
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1147
1153
|
},
|
|
1148
1154
|
async publishSinglePage(name, options) {
|
|
@@ -1165,8 +1171,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1165
1171
|
draftSinglePage(singlePageRequest, options) {
|
|
1166
1172
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1167
1173
|
},
|
|
1168
|
-
listSinglePages(sort,
|
|
1169
|
-
return localVarFp.listSinglePages(sort,
|
|
1174
|
+
listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1175
|
+
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1170
1176
|
},
|
|
1171
1177
|
publishSinglePage(name, options) {
|
|
1172
1178
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1184,7 +1190,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1184
1190
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1185
1191
|
}
|
|
1186
1192
|
listSinglePages(requestParameters = {}, options) {
|
|
1187
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1193
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1188
1194
|
}
|
|
1189
1195
|
publishSinglePage(requestParameters, options) {
|
|
1190
1196
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1677,12 +1683,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1677
1683
|
if (version !== void 0) {
|
|
1678
1684
|
localVarQueryParameter["version"] = version;
|
|
1679
1685
|
}
|
|
1680
|
-
if (kind !== void 0) {
|
|
1681
|
-
localVarQueryParameter["kind"] = kind;
|
|
1682
|
-
}
|
|
1683
1686
|
if (group !== void 0) {
|
|
1684
1687
|
localVarQueryParameter["group"] = group;
|
|
1685
1688
|
}
|
|
1689
|
+
if (kind !== void 0) {
|
|
1690
|
+
localVarQueryParameter["kind"] = kind;
|
|
1691
|
+
}
|
|
1686
1692
|
if (size !== void 0) {
|
|
1687
1693
|
localVarQueryParameter["size"] = size;
|
|
1688
1694
|
}
|
|
@@ -1783,12 +1789,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1783
1789
|
if (highlightPostTag !== void 0) {
|
|
1784
1790
|
localVarQueryParameter["highlightPostTag"] = highlightPostTag;
|
|
1785
1791
|
}
|
|
1786
|
-
if (limit !== void 0) {
|
|
1787
|
-
localVarQueryParameter["limit"] = limit;
|
|
1788
|
-
}
|
|
1789
1792
|
if (keyword !== void 0) {
|
|
1790
1793
|
localVarQueryParameter["keyword"] = keyword;
|
|
1791
1794
|
}
|
|
1795
|
+
if (limit !== void 0) {
|
|
1796
|
+
localVarQueryParameter["limit"] = limit;
|
|
1797
|
+
}
|
|
1792
1798
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1793
1799
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1794
1800
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|