@halo-dev/api-client 0.0.53 → 0.0.55
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 +35 -35
- package/dist/index.d.ts +57 -45
- package/dist/index.mjs +35 -35
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -546,7 +546,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
546
546
|
options: localVarRequestOptions
|
|
547
547
|
};
|
|
548
548
|
},
|
|
549
|
-
listPlugins: async (sort,
|
|
549
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
550
550
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
551
551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
552
552
|
let baseOptions;
|
|
@@ -561,12 +561,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
561
561
|
if (sort) {
|
|
562
562
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
563
563
|
}
|
|
564
|
-
if (enabled !== void 0) {
|
|
565
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
566
|
-
}
|
|
567
564
|
if (keyword !== void 0) {
|
|
568
565
|
localVarQueryParameter["keyword"] = keyword;
|
|
569
566
|
}
|
|
567
|
+
if (enabled !== void 0) {
|
|
568
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
569
|
+
}
|
|
570
570
|
if (size !== void 0) {
|
|
571
571
|
localVarQueryParameter["size"] = size;
|
|
572
572
|
}
|
|
@@ -624,8 +624,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
624
624
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
625
625
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
626
626
|
},
|
|
627
|
-
async listPlugins(sort,
|
|
628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
627
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
628
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
629
629
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
630
630
|
},
|
|
631
631
|
async upgradePlugin(name, file, options) {
|
|
@@ -640,8 +640,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
640
640
|
installPlugin(file, options) {
|
|
641
641
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
642
642
|
},
|
|
643
|
-
listPlugins(sort,
|
|
644
|
-
return localVarFp.listPlugins(sort,
|
|
643
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
644
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
645
645
|
},
|
|
646
646
|
upgradePlugin(name, file, options) {
|
|
647
647
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -653,7 +653,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
653
653
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
654
654
|
}
|
|
655
655
|
listPlugins(requestParameters = {}, options) {
|
|
656
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
656
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
657
657
|
}
|
|
658
658
|
upgradePlugin(requestParameters, options) {
|
|
659
659
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -685,7 +685,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
685
685
|
options: localVarRequestOptions
|
|
686
686
|
};
|
|
687
687
|
},
|
|
688
|
-
listPosts: async (sort,
|
|
688
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
689
689
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
690
690
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
691
691
|
let baseOptions;
|
|
@@ -700,17 +700,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
700
700
|
if (sort !== void 0) {
|
|
701
701
|
localVarQueryParameter["sort"] = sort;
|
|
702
702
|
}
|
|
703
|
-
if (tag) {
|
|
704
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
705
|
-
}
|
|
706
703
|
if (keyword !== void 0) {
|
|
707
704
|
localVarQueryParameter["keyword"] = keyword;
|
|
708
705
|
}
|
|
709
706
|
if (visible !== void 0) {
|
|
710
707
|
localVarQueryParameter["visible"] = visible;
|
|
711
708
|
}
|
|
712
|
-
if (
|
|
713
|
-
localVarQueryParameter["
|
|
709
|
+
if (tag) {
|
|
710
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
714
711
|
}
|
|
715
712
|
if (sortOrder !== void 0) {
|
|
716
713
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -721,6 +718,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
721
718
|
if (category) {
|
|
722
719
|
localVarQueryParameter["category"] = Array.from(category);
|
|
723
720
|
}
|
|
721
|
+
if (contributor) {
|
|
722
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
723
|
+
}
|
|
724
724
|
if (size !== void 0) {
|
|
725
725
|
localVarQueryParameter["size"] = size;
|
|
726
726
|
}
|
|
@@ -864,8 +864,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
864
864
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
865
865
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
866
866
|
},
|
|
867
|
-
async listPosts(sort,
|
|
868
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
867
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
869
869
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
870
870
|
},
|
|
871
871
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -896,8 +896,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
896
896
|
draftPost(postRequest, options) {
|
|
897
897
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
898
898
|
},
|
|
899
|
-
listPosts(sort,
|
|
900
|
-
return localVarFp.listPosts(sort,
|
|
899
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
900
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
901
901
|
},
|
|
902
902
|
publishPost(name, headSnapshot, options) {
|
|
903
903
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -921,7 +921,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
921
921
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
922
922
|
}
|
|
923
923
|
listPosts(requestParameters = {}, options) {
|
|
924
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
924
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
925
925
|
}
|
|
926
926
|
publishPost(requestParameters, options) {
|
|
927
927
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1027,7 +1027,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1027
1027
|
options: localVarRequestOptions
|
|
1028
1028
|
};
|
|
1029
1029
|
},
|
|
1030
|
-
listSinglePages: async (sort, keyword, visible,
|
|
1030
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1031
1031
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1032
1032
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1033
1033
|
let baseOptions;
|
|
@@ -1048,15 +1048,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1048
1048
|
if (visible !== void 0) {
|
|
1049
1049
|
localVarQueryParameter["visible"] = visible;
|
|
1050
1050
|
}
|
|
1051
|
-
if (contributor) {
|
|
1052
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1053
|
-
}
|
|
1054
1051
|
if (sortOrder !== void 0) {
|
|
1055
1052
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1056
1053
|
}
|
|
1057
1054
|
if (publishPhase !== void 0) {
|
|
1058
1055
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1059
1056
|
}
|
|
1057
|
+
if (contributor) {
|
|
1058
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1059
|
+
}
|
|
1060
1060
|
if (size !== void 0) {
|
|
1061
1061
|
localVarQueryParameter["size"] = size;
|
|
1062
1062
|
}
|
|
@@ -1155,8 +1155,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1155
1155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1156
1156
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1157
1157
|
},
|
|
1158
|
-
async listSinglePages(sort, keyword, visible,
|
|
1159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible,
|
|
1158
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
1160
1160
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1161
1161
|
},
|
|
1162
1162
|
async publishSinglePage(name, options) {
|
|
@@ -1179,8 +1179,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1179
1179
|
draftSinglePage(singlePageRequest, options) {
|
|
1180
1180
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1181
1181
|
},
|
|
1182
|
-
listSinglePages(sort, keyword, visible,
|
|
1183
|
-
return localVarFp.listSinglePages(sort, keyword, visible,
|
|
1182
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1183
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1184
1184
|
},
|
|
1185
1185
|
publishSinglePage(name, options) {
|
|
1186
1186
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1198,7 +1198,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1198
1198
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1199
|
}
|
|
1200
1200
|
listSinglePages(requestParameters = {}, options) {
|
|
1201
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.
|
|
1201
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1202
1202
|
}
|
|
1203
1203
|
publishSinglePage(requestParameters, options) {
|
|
1204
1204
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1691,12 +1691,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1691
1691
|
if (version !== void 0) {
|
|
1692
1692
|
localVarQueryParameter["version"] = version;
|
|
1693
1693
|
}
|
|
1694
|
-
if (kind !== void 0) {
|
|
1695
|
-
localVarQueryParameter["kind"] = kind;
|
|
1696
|
-
}
|
|
1697
1694
|
if (group !== void 0) {
|
|
1698
1695
|
localVarQueryParameter["group"] = group;
|
|
1699
1696
|
}
|
|
1697
|
+
if (kind !== void 0) {
|
|
1698
|
+
localVarQueryParameter["kind"] = kind;
|
|
1699
|
+
}
|
|
1700
1700
|
if (size !== void 0) {
|
|
1701
1701
|
localVarQueryParameter["size"] = size;
|
|
1702
1702
|
}
|
|
@@ -1791,12 +1791,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1791
1791
|
const localVarQueryParameter = {};
|
|
1792
1792
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1793
1793
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1794
|
-
if (limit !== void 0) {
|
|
1795
|
-
localVarQueryParameter["limit"] = limit;
|
|
1796
|
-
}
|
|
1797
1794
|
if (keyword !== void 0) {
|
|
1798
1795
|
localVarQueryParameter["keyword"] = keyword;
|
|
1799
1796
|
}
|
|
1797
|
+
if (limit !== void 0) {
|
|
1798
|
+
localVarQueryParameter["limit"] = limit;
|
|
1799
|
+
}
|
|
1800
1800
|
if (highlightPreTag !== void 0) {
|
|
1801
1801
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1802
1802
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -814,6 +814,12 @@ interface CommentSpec {
|
|
|
814
814
|
* @memberof CommentSpec
|
|
815
815
|
*/
|
|
816
816
|
ipAddress?: string;
|
|
817
|
+
/**
|
|
818
|
+
*
|
|
819
|
+
* @type {string}
|
|
820
|
+
* @memberof CommentSpec
|
|
821
|
+
*/
|
|
822
|
+
approvedTime?: string;
|
|
817
823
|
/**
|
|
818
824
|
*
|
|
819
825
|
* @type {number}
|
|
@@ -2020,19 +2026,19 @@ interface Extension {
|
|
|
2020
2026
|
* @type {string}
|
|
2021
2027
|
* @memberof Extension
|
|
2022
2028
|
*/
|
|
2023
|
-
|
|
2029
|
+
apiVersion: string;
|
|
2024
2030
|
/**
|
|
2025
2031
|
*
|
|
2026
|
-
* @type {
|
|
2032
|
+
* @type {string}
|
|
2027
2033
|
* @memberof Extension
|
|
2028
2034
|
*/
|
|
2029
|
-
|
|
2035
|
+
kind: string;
|
|
2030
2036
|
/**
|
|
2031
2037
|
*
|
|
2032
|
-
* @type {
|
|
2038
|
+
* @type {Metadata}
|
|
2033
2039
|
* @memberof Extension
|
|
2034
2040
|
*/
|
|
2035
|
-
|
|
2041
|
+
metadata: Metadata;
|
|
2036
2042
|
}
|
|
2037
2043
|
|
|
2038
2044
|
/**
|
|
@@ -3019,6 +3025,12 @@ interface ReplySpec {
|
|
|
3019
3025
|
* @memberof ReplySpec
|
|
3020
3026
|
*/
|
|
3021
3027
|
ipAddress?: string;
|
|
3028
|
+
/**
|
|
3029
|
+
*
|
|
3030
|
+
* @type {string}
|
|
3031
|
+
* @memberof ReplySpec
|
|
3032
|
+
*/
|
|
3033
|
+
approvedTime?: string;
|
|
3022
3034
|
/**
|
|
3023
3035
|
*
|
|
3024
3036
|
* @type {number}
|
|
@@ -7717,8 +7729,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator: (configuratio
|
|
|
7717
7729
|
/**
|
|
7718
7730
|
* List plugins using query criteria and sort params
|
|
7719
7731
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp
|
|
7720
|
-
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7721
7732
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7733
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7722
7734
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7723
7735
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
7724
7736
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7726,7 +7738,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator: (configuratio
|
|
|
7726
7738
|
* @param {*} [options] Override http request option.
|
|
7727
7739
|
* @throws {RequiredError}
|
|
7728
7740
|
*/
|
|
7729
|
-
listPlugins: (sort?: Array<string>,
|
|
7741
|
+
listPlugins: (sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7730
7742
|
/**
|
|
7731
7743
|
* Upgrade a plugin by uploading a Jar file
|
|
7732
7744
|
* @param {string} name
|
|
@@ -7751,8 +7763,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFp: (configuration?: Configurati
|
|
|
7751
7763
|
/**
|
|
7752
7764
|
* List plugins using query criteria and sort params
|
|
7753
7765
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp
|
|
7754
|
-
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7755
7766
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7767
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7756
7768
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7757
7769
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
7758
7770
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7760,7 +7772,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFp: (configuration?: Configurati
|
|
|
7760
7772
|
* @param {*} [options] Override http request option.
|
|
7761
7773
|
* @throws {RequiredError}
|
|
7762
7774
|
*/
|
|
7763
|
-
listPlugins(sort?: Array<string>,
|
|
7775
|
+
listPlugins(sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<PluginList>>;
|
|
7764
7776
|
/**
|
|
7765
7777
|
* Upgrade a plugin by uploading a Jar file
|
|
7766
7778
|
* @param {string} name
|
|
@@ -7785,8 +7797,8 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFactory: (configuration?: Config
|
|
|
7785
7797
|
/**
|
|
7786
7798
|
* List plugins using query criteria and sort params
|
|
7787
7799
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp
|
|
7788
|
-
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7789
7800
|
* @param {string} [keyword] Keyword of plugin name or description
|
|
7801
|
+
* @param {boolean} [enabled] Whether the plugin is enabled
|
|
7790
7802
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7791
7803
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
7792
7804
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7794,7 +7806,7 @@ declare const ApiConsoleHaloRunV1alpha1PluginApiFactory: (configuration?: Config
|
|
|
7794
7806
|
* @param {*} [options] Override http request option.
|
|
7795
7807
|
* @throws {RequiredError}
|
|
7796
7808
|
*/
|
|
7797
|
-
listPlugins(sort?: Array<string>,
|
|
7809
|
+
listPlugins(sort?: Array<string>, keyword?: string, enabled?: boolean, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: any): AxiosPromise<PluginList>;
|
|
7798
7810
|
/**
|
|
7799
7811
|
* Upgrade a plugin by uploading a Jar file
|
|
7800
7812
|
* @param {string} name
|
|
@@ -7829,18 +7841,18 @@ interface ApiConsoleHaloRunV1alpha1PluginApiListPluginsRequest {
|
|
|
7829
7841
|
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7830
7842
|
*/
|
|
7831
7843
|
readonly sort?: Array<string>;
|
|
7832
|
-
/**
|
|
7833
|
-
* Whether the plugin is enabled
|
|
7834
|
-
* @type {boolean}
|
|
7835
|
-
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7836
|
-
*/
|
|
7837
|
-
readonly enabled?: boolean;
|
|
7838
7844
|
/**
|
|
7839
7845
|
* Keyword of plugin name or description
|
|
7840
7846
|
* @type {string}
|
|
7841
7847
|
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7842
7848
|
*/
|
|
7843
7849
|
readonly keyword?: string;
|
|
7850
|
+
/**
|
|
7851
|
+
* Whether the plugin is enabled
|
|
7852
|
+
* @type {boolean}
|
|
7853
|
+
* @memberof ApiConsoleHaloRunV1alpha1PluginApiListPlugins
|
|
7854
|
+
*/
|
|
7855
|
+
readonly enabled?: boolean;
|
|
7844
7856
|
/**
|
|
7845
7857
|
* Size of one page. Zero indicates no limit.
|
|
7846
7858
|
* @type {number}
|
|
@@ -7933,13 +7945,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7933
7945
|
/**
|
|
7934
7946
|
* List posts.
|
|
7935
7947
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7936
|
-
* @param {Array<string>} [tag]
|
|
7937
7948
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
7938
7949
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7939
|
-
* @param {Array<string>} [
|
|
7950
|
+
* @param {Array<string>} [tag]
|
|
7940
7951
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7941
7952
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7942
7953
|
* @param {Array<string>} [category]
|
|
7954
|
+
* @param {Array<string>} [contributor]
|
|
7943
7955
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7944
7956
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
7945
7957
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7947,7 +7959,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7947
7959
|
* @param {*} [options] Override http request option.
|
|
7948
7960
|
* @throws {RequiredError}
|
|
7949
7961
|
*/
|
|
7950
|
-
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
7962
|
+
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, contributor?: Array<string>, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7951
7963
|
/**
|
|
7952
7964
|
* Publish a post.
|
|
7953
7965
|
* @param {string} name
|
|
@@ -8002,13 +8014,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
8002
8014
|
/**
|
|
8003
8015
|
* List posts.
|
|
8004
8016
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8005
|
-
* @param {Array<string>} [tag]
|
|
8006
8017
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
8007
8018
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8008
|
-
* @param {Array<string>} [
|
|
8019
|
+
* @param {Array<string>} [tag]
|
|
8009
8020
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8010
8021
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8011
8022
|
* @param {Array<string>} [category]
|
|
8023
|
+
* @param {Array<string>} [contributor]
|
|
8012
8024
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8013
8025
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8014
8026
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8016,7 +8028,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
8016
8028
|
* @param {*} [options] Override http request option.
|
|
8017
8029
|
* @throws {RequiredError}
|
|
8018
8030
|
*/
|
|
8019
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8031
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, contributor?: Array<string>, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
8020
8032
|
/**
|
|
8021
8033
|
* Publish a post.
|
|
8022
8034
|
* @param {string} name
|
|
@@ -8071,13 +8083,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8071
8083
|
/**
|
|
8072
8084
|
* List posts.
|
|
8073
8085
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8074
|
-
* @param {Array<string>} [tag]
|
|
8075
8086
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
8076
8087
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8077
|
-
* @param {Array<string>} [
|
|
8088
|
+
* @param {Array<string>} [tag]
|
|
8078
8089
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8079
8090
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8080
8091
|
* @param {Array<string>} [category]
|
|
8092
|
+
* @param {Array<string>} [contributor]
|
|
8081
8093
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8082
8094
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8083
8095
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8085,7 +8097,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8085
8097
|
* @param {*} [options] Override http request option.
|
|
8086
8098
|
* @throws {RequiredError}
|
|
8087
8099
|
*/
|
|
8088
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME',
|
|
8100
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, contributor?: Array<string>, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: any): AxiosPromise<ListedPostList>;
|
|
8089
8101
|
/**
|
|
8090
8102
|
* Publish a post.
|
|
8091
8103
|
* @param {string} name
|
|
@@ -8150,12 +8162,6 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8150
8162
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8151
8163
|
*/
|
|
8152
8164
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8153
|
-
/**
|
|
8154
|
-
*
|
|
8155
|
-
* @type {Array<string>}
|
|
8156
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8157
|
-
*/
|
|
8158
|
-
readonly tag?: Array<string>;
|
|
8159
8165
|
/**
|
|
8160
8166
|
* Posts filtered by keyword.
|
|
8161
8167
|
* @type {string}
|
|
@@ -8173,7 +8179,7 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8173
8179
|
* @type {Array<string>}
|
|
8174
8180
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8175
8181
|
*/
|
|
8176
|
-
readonly
|
|
8182
|
+
readonly tag?: Array<string>;
|
|
8177
8183
|
/**
|
|
8178
8184
|
* ascending order If it is true; otherwise, it is in descending order.
|
|
8179
8185
|
* @type {boolean}
|
|
@@ -8192,6 +8198,12 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8192
8198
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8193
8199
|
*/
|
|
8194
8200
|
readonly category?: Array<string>;
|
|
8201
|
+
/**
|
|
8202
|
+
*
|
|
8203
|
+
* @type {Array<string>}
|
|
8204
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8205
|
+
*/
|
|
8206
|
+
readonly contributor?: Array<string>;
|
|
8195
8207
|
/**
|
|
8196
8208
|
* Size of one page. Zero indicates no limit.
|
|
8197
8209
|
* @type {number}
|
|
@@ -8487,9 +8499,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8487
8499
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8488
8500
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8489
8501
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8490
|
-
* @param {Array<string>} [contributor]
|
|
8491
8502
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8492
8503
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8504
|
+
* @param {Array<string>} [contributor]
|
|
8493
8505
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8494
8506
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8495
8507
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8497,7 +8509,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8497
8509
|
* @param {*} [options] Override http request option.
|
|
8498
8510
|
* @throws {RequiredError}
|
|
8499
8511
|
*/
|
|
8500
|
-
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE',
|
|
8512
|
+
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8501
8513
|
/**
|
|
8502
8514
|
* Publish a single page.
|
|
8503
8515
|
* @param {string} name
|
|
@@ -8539,9 +8551,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8539
8551
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8540
8552
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8541
8553
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8542
|
-
* @param {Array<string>} [contributor]
|
|
8543
8554
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8544
8555
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8556
|
+
* @param {Array<string>} [contributor]
|
|
8545
8557
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8546
8558
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8547
8559
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8549,7 +8561,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8549
8561
|
* @param {*} [options] Override http request option.
|
|
8550
8562
|
* @throws {RequiredError}
|
|
8551
8563
|
*/
|
|
8552
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE',
|
|
8564
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
8553
8565
|
/**
|
|
8554
8566
|
* Publish a single page.
|
|
8555
8567
|
* @param {string} name
|
|
@@ -8591,9 +8603,9 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8591
8603
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8592
8604
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8593
8605
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8594
|
-
* @param {Array<string>} [contributor]
|
|
8595
8606
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8596
8607
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8608
|
+
* @param {Array<string>} [contributor]
|
|
8597
8609
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8598
8610
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8599
8611
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8601,7 +8613,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8601
8613
|
* @param {*} [options] Override http request option.
|
|
8602
8614
|
* @throws {RequiredError}
|
|
8603
8615
|
*/
|
|
8604
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE',
|
|
8616
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, size?: number, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
8605
8617
|
/**
|
|
8606
8618
|
* Publish a single page.
|
|
8607
8619
|
* @param {string} name
|
|
@@ -8663,12 +8675,6 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8663
8675
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8664
8676
|
*/
|
|
8665
8677
|
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8666
|
-
/**
|
|
8667
|
-
*
|
|
8668
|
-
* @type {Array<string>}
|
|
8669
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8670
|
-
*/
|
|
8671
|
-
readonly contributor?: Array<string>;
|
|
8672
8678
|
/**
|
|
8673
8679
|
* ascending order If it is true; otherwise, it is in descending order.
|
|
8674
8680
|
* @type {boolean}
|
|
@@ -8681,6 +8687,12 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8681
8687
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8682
8688
|
*/
|
|
8683
8689
|
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8690
|
+
/**
|
|
8691
|
+
*
|
|
8692
|
+
* @type {Array<string>}
|
|
8693
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8694
|
+
*/
|
|
8695
|
+
readonly contributor?: Array<string>;
|
|
8684
8696
|
/**
|
|
8685
8697
|
* Size of one page. Zero indicates no limit.
|
|
8686
8698
|
* @type {number}
|
package/dist/index.mjs
CHANGED
|
@@ -538,7 +538,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
538
538
|
options: localVarRequestOptions
|
|
539
539
|
};
|
|
540
540
|
},
|
|
541
|
-
listPlugins: async (sort,
|
|
541
|
+
listPlugins: async (sort, keyword, enabled, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
542
542
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
543
543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
544
|
let baseOptions;
|
|
@@ -553,12 +553,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
553
553
|
if (sort) {
|
|
554
554
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
555
555
|
}
|
|
556
|
-
if (enabled !== void 0) {
|
|
557
|
-
localVarQueryParameter["enabled"] = enabled;
|
|
558
|
-
}
|
|
559
556
|
if (keyword !== void 0) {
|
|
560
557
|
localVarQueryParameter["keyword"] = keyword;
|
|
561
558
|
}
|
|
559
|
+
if (enabled !== void 0) {
|
|
560
|
+
localVarQueryParameter["enabled"] = enabled;
|
|
561
|
+
}
|
|
562
562
|
if (size !== void 0) {
|
|
563
563
|
localVarQueryParameter["size"] = size;
|
|
564
564
|
}
|
|
@@ -616,8 +616,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
616
616
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
617
617
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
618
618
|
},
|
|
619
|
-
async listPlugins(sort,
|
|
620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
619
|
+
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
620
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
621
621
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
622
622
|
},
|
|
623
623
|
async upgradePlugin(name, file, options) {
|
|
@@ -632,8 +632,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
632
632
|
installPlugin(file, options) {
|
|
633
633
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
634
634
|
},
|
|
635
|
-
listPlugins(sort,
|
|
636
|
-
return localVarFp.listPlugins(sort,
|
|
635
|
+
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
636
|
+
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
637
637
|
},
|
|
638
638
|
upgradePlugin(name, file, options) {
|
|
639
639
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -645,7 +645,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
645
645
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
646
646
|
}
|
|
647
647
|
listPlugins(requestParameters = {}, options) {
|
|
648
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
648
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
649
649
|
}
|
|
650
650
|
upgradePlugin(requestParameters, options) {
|
|
651
651
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -677,7 +677,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
677
677
|
options: localVarRequestOptions
|
|
678
678
|
};
|
|
679
679
|
},
|
|
680
|
-
listPosts: async (sort,
|
|
680
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
681
681
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
682
682
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
683
683
|
let baseOptions;
|
|
@@ -692,17 +692,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
692
692
|
if (sort !== void 0) {
|
|
693
693
|
localVarQueryParameter["sort"] = sort;
|
|
694
694
|
}
|
|
695
|
-
if (tag) {
|
|
696
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
697
|
-
}
|
|
698
695
|
if (keyword !== void 0) {
|
|
699
696
|
localVarQueryParameter["keyword"] = keyword;
|
|
700
697
|
}
|
|
701
698
|
if (visible !== void 0) {
|
|
702
699
|
localVarQueryParameter["visible"] = visible;
|
|
703
700
|
}
|
|
704
|
-
if (
|
|
705
|
-
localVarQueryParameter["
|
|
701
|
+
if (tag) {
|
|
702
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
706
703
|
}
|
|
707
704
|
if (sortOrder !== void 0) {
|
|
708
705
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -713,6 +710,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
713
710
|
if (category) {
|
|
714
711
|
localVarQueryParameter["category"] = Array.from(category);
|
|
715
712
|
}
|
|
713
|
+
if (contributor) {
|
|
714
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
715
|
+
}
|
|
716
716
|
if (size !== void 0) {
|
|
717
717
|
localVarQueryParameter["size"] = size;
|
|
718
718
|
}
|
|
@@ -856,8 +856,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
856
856
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
857
857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
858
858
|
},
|
|
859
|
-
async listPosts(sort,
|
|
860
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
859
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
861
861
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
862
862
|
},
|
|
863
863
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -888,8 +888,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
888
888
|
draftPost(postRequest, options) {
|
|
889
889
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
890
890
|
},
|
|
891
|
-
listPosts(sort,
|
|
892
|
-
return localVarFp.listPosts(sort,
|
|
891
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
892
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
893
893
|
},
|
|
894
894
|
publishPost(name, headSnapshot, options) {
|
|
895
895
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -913,7 +913,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
913
913
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
914
914
|
}
|
|
915
915
|
listPosts(requestParameters = {}, options) {
|
|
916
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
916
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
917
917
|
}
|
|
918
918
|
publishPost(requestParameters, options) {
|
|
919
919
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1019,7 +1019,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1019
1019
|
options: localVarRequestOptions
|
|
1020
1020
|
};
|
|
1021
1021
|
},
|
|
1022
|
-
listSinglePages: async (sort, keyword, visible,
|
|
1022
|
+
listSinglePages: async (sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1023
1023
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1024
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1025
1025
|
let baseOptions;
|
|
@@ -1040,15 +1040,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1040
1040
|
if (visible !== void 0) {
|
|
1041
1041
|
localVarQueryParameter["visible"] = visible;
|
|
1042
1042
|
}
|
|
1043
|
-
if (contributor) {
|
|
1044
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1045
|
-
}
|
|
1046
1043
|
if (sortOrder !== void 0) {
|
|
1047
1044
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1048
1045
|
}
|
|
1049
1046
|
if (publishPhase !== void 0) {
|
|
1050
1047
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1051
1048
|
}
|
|
1049
|
+
if (contributor) {
|
|
1050
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1051
|
+
}
|
|
1052
1052
|
if (size !== void 0) {
|
|
1053
1053
|
localVarQueryParameter["size"] = size;
|
|
1054
1054
|
}
|
|
@@ -1147,8 +1147,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1147
1147
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1148
1148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1149
1149
|
},
|
|
1150
|
-
async listSinglePages(sort, keyword, visible,
|
|
1151
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible,
|
|
1150
|
+
async listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options);
|
|
1152
1152
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1153
1153
|
},
|
|
1154
1154
|
async publishSinglePage(name, options) {
|
|
@@ -1171,8 +1171,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1171
1171
|
draftSinglePage(singlePageRequest, options) {
|
|
1172
1172
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1173
1173
|
},
|
|
1174
|
-
listSinglePages(sort, keyword, visible,
|
|
1175
|
-
return localVarFp.listSinglePages(sort, keyword, visible,
|
|
1174
|
+
listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
1175
|
+
return localVarFp.listSinglePages(sort, keyword, visible, sortOrder, publishPhase, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1176
1176
|
},
|
|
1177
1177
|
publishSinglePage(name, options) {
|
|
1178
1178
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1190,7 +1190,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1190
1190
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1191
|
}
|
|
1192
1192
|
listSinglePages(requestParameters = {}, options) {
|
|
1193
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.
|
|
1193
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1194
1194
|
}
|
|
1195
1195
|
publishSinglePage(requestParameters, options) {
|
|
1196
1196
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1683,12 +1683,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1683
1683
|
if (version !== void 0) {
|
|
1684
1684
|
localVarQueryParameter["version"] = version;
|
|
1685
1685
|
}
|
|
1686
|
-
if (kind !== void 0) {
|
|
1687
|
-
localVarQueryParameter["kind"] = kind;
|
|
1688
|
-
}
|
|
1689
1686
|
if (group !== void 0) {
|
|
1690
1687
|
localVarQueryParameter["group"] = group;
|
|
1691
1688
|
}
|
|
1689
|
+
if (kind !== void 0) {
|
|
1690
|
+
localVarQueryParameter["kind"] = kind;
|
|
1691
|
+
}
|
|
1692
1692
|
if (size !== void 0) {
|
|
1693
1693
|
localVarQueryParameter["size"] = size;
|
|
1694
1694
|
}
|
|
@@ -1783,12 +1783,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1783
1783
|
const localVarQueryParameter = {};
|
|
1784
1784
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1785
1785
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1786
|
-
if (limit !== void 0) {
|
|
1787
|
-
localVarQueryParameter["limit"] = limit;
|
|
1788
|
-
}
|
|
1789
1786
|
if (keyword !== void 0) {
|
|
1790
1787
|
localVarQueryParameter["keyword"] = keyword;
|
|
1791
1788
|
}
|
|
1789
|
+
if (limit !== void 0) {
|
|
1790
|
+
localVarQueryParameter["limit"] = limit;
|
|
1791
|
+
}
|
|
1792
1792
|
if (highlightPreTag !== void 0) {
|
|
1793
1793
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1794
1794
|
}
|