@halo-dev/api-client 0.0.52 → 0.0.54
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 +25 -25
- package/dist/index.d.ts +57 -45
- package/dist/index.mjs +25 -25
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -685,7 +685,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
685
685
|
options: localVarRequestOptions
|
|
686
686
|
};
|
|
687
687
|
},
|
|
688
|
-
listPosts: async (sort,
|
|
688
|
+
listPosts: async (sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, 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,24 +700,24 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
700
700
|
if (sort !== void 0) {
|
|
701
701
|
localVarQueryParameter["sort"] = sort;
|
|
702
702
|
}
|
|
703
|
-
if (sortOrder !== void 0) {
|
|
704
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
705
|
-
}
|
|
706
703
|
if (publishPhase !== void 0) {
|
|
707
704
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
708
705
|
}
|
|
709
706
|
if (category) {
|
|
710
707
|
localVarQueryParameter["category"] = Array.from(category);
|
|
711
708
|
}
|
|
709
|
+
if (sortOrder !== void 0) {
|
|
710
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
711
|
+
}
|
|
712
712
|
if (contributor) {
|
|
713
713
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
714
714
|
}
|
|
715
|
-
if (visible !== void 0) {
|
|
716
|
-
localVarQueryParameter["visible"] = visible;
|
|
717
|
-
}
|
|
718
715
|
if (keyword !== void 0) {
|
|
719
716
|
localVarQueryParameter["keyword"] = keyword;
|
|
720
717
|
}
|
|
718
|
+
if (visible !== void 0) {
|
|
719
|
+
localVarQueryParameter["visible"] = visible;
|
|
720
|
+
}
|
|
721
721
|
if (tag) {
|
|
722
722
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
723
723
|
}
|
|
@@ -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, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, 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, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
900
|
+
return localVarFp.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, 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.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
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,
|
|
1030
|
+
listSinglePages: async (sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, 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;
|
|
@@ -1042,21 +1042,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1042
1042
|
if (sort !== void 0) {
|
|
1043
1043
|
localVarQueryParameter["sort"] = sort;
|
|
1044
1044
|
}
|
|
1045
|
-
if (sortOrder !== void 0) {
|
|
1046
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1047
|
-
}
|
|
1048
1045
|
if (publishPhase !== void 0) {
|
|
1049
1046
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1050
1047
|
}
|
|
1048
|
+
if (sortOrder !== void 0) {
|
|
1049
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1050
|
+
}
|
|
1051
1051
|
if (contributor) {
|
|
1052
1052
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1053
1053
|
}
|
|
1054
|
-
if (visible !== void 0) {
|
|
1055
|
-
localVarQueryParameter["visible"] = visible;
|
|
1056
|
-
}
|
|
1057
1054
|
if (keyword !== void 0) {
|
|
1058
1055
|
localVarQueryParameter["keyword"] = keyword;
|
|
1059
1056
|
}
|
|
1057
|
+
if (visible !== void 0) {
|
|
1058
|
+
localVarQueryParameter["visible"] = visible;
|
|
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,
|
|
1159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1158
|
+
async listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, 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,
|
|
1183
|
-
return localVarFp.listSinglePages(sort,
|
|
1182
|
+
listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1183
|
+
return localVarFp.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, 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.
|
|
1201
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.publishPhase, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1202
1202
|
}
|
|
1203
1203
|
publishSinglePage(requestParameters, options) {
|
|
1204
1204
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1325,7 +1325,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1325
1325
|
},
|
|
1326
1326
|
reloadThemeSetting: async (name, options = {}) => {
|
|
1327
1327
|
assertParamExists("reloadThemeSetting", "name", name);
|
|
1328
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1328
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1329
1329
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1330
1330
|
let baseOptions;
|
|
1331
1331
|
if (configuration) {
|
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}
|
|
@@ -2017,22 +2023,22 @@ interface Excerpt {
|
|
|
2017
2023
|
interface Extension {
|
|
2018
2024
|
/**
|
|
2019
2025
|
*
|
|
2020
|
-
* @type {
|
|
2026
|
+
* @type {Metadata}
|
|
2021
2027
|
* @memberof Extension
|
|
2022
2028
|
*/
|
|
2023
|
-
|
|
2029
|
+
metadata: Metadata;
|
|
2024
2030
|
/**
|
|
2025
2031
|
*
|
|
2026
|
-
* @type {
|
|
2032
|
+
* @type {string}
|
|
2027
2033
|
* @memberof Extension
|
|
2028
2034
|
*/
|
|
2029
|
-
|
|
2035
|
+
kind: string;
|
|
2030
2036
|
/**
|
|
2031
2037
|
*
|
|
2032
2038
|
* @type {string}
|
|
2033
2039
|
* @memberof Extension
|
|
2034
2040
|
*/
|
|
2035
|
-
|
|
2041
|
+
apiVersion: string;
|
|
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}
|
|
@@ -7933,12 +7945,12 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7933
7945
|
/**
|
|
7934
7946
|
* List posts.
|
|
7935
7947
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7936
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7937
7948
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7938
7949
|
* @param {Array<string>} [category]
|
|
7950
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7939
7951
|
* @param {Array<string>} [contributor]
|
|
7940
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7941
7952
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
7953
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7942
7954
|
* @param {Array<string>} [tag]
|
|
7943
7955
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7944
7956
|
* @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', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7951
7963
|
/**
|
|
7952
7964
|
* Publish a post.
|
|
7953
7965
|
* @param {string} name
|
|
@@ -8002,12 +8014,12 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
8002
8014
|
/**
|
|
8003
8015
|
* List posts.
|
|
8004
8016
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8005
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8006
8017
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8007
8018
|
* @param {Array<string>} [category]
|
|
8019
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8008
8020
|
* @param {Array<string>} [contributor]
|
|
8009
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8010
8021
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
8022
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8011
8023
|
* @param {Array<string>} [tag]
|
|
8012
8024
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8013
8025
|
* @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', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
8020
8032
|
/**
|
|
8021
8033
|
* Publish a post.
|
|
8022
8034
|
* @param {string} name
|
|
@@ -8071,12 +8083,12 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8071
8083
|
/**
|
|
8072
8084
|
* List posts.
|
|
8073
8085
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8074
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8075
8086
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8076
8087
|
* @param {Array<string>} [category]
|
|
8088
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8077
8089
|
* @param {Array<string>} [contributor]
|
|
8078
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8079
8090
|
* @param {string} [keyword] Posts filtered by keyword.
|
|
8091
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8080
8092
|
* @param {Array<string>} [tag]
|
|
8081
8093
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8082
8094
|
* @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', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedPostList>;
|
|
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
|
-
* ascending order If it is true; otherwise, it is in descending order.
|
|
8155
|
-
* @type {boolean}
|
|
8156
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8157
|
-
*/
|
|
8158
|
-
readonly sortOrder?: boolean;
|
|
8159
8165
|
/**
|
|
8160
8166
|
*
|
|
8161
8167
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8169,23 +8175,29 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8169
8175
|
*/
|
|
8170
8176
|
readonly category?: Array<string>;
|
|
8171
8177
|
/**
|
|
8172
|
-
*
|
|
8173
|
-
* @type {
|
|
8178
|
+
* ascending order If it is true; otherwise, it is in descending order.
|
|
8179
|
+
* @type {boolean}
|
|
8174
8180
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8175
8181
|
*/
|
|
8176
|
-
readonly
|
|
8182
|
+
readonly sortOrder?: boolean;
|
|
8177
8183
|
/**
|
|
8178
8184
|
*
|
|
8179
|
-
* @type {
|
|
8185
|
+
* @type {Array<string>}
|
|
8180
8186
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8181
8187
|
*/
|
|
8182
|
-
readonly
|
|
8188
|
+
readonly contributor?: Array<string>;
|
|
8183
8189
|
/**
|
|
8184
8190
|
* Posts filtered by keyword.
|
|
8185
8191
|
* @type {string}
|
|
8186
8192
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8187
8193
|
*/
|
|
8188
8194
|
readonly keyword?: string;
|
|
8195
|
+
/**
|
|
8196
|
+
*
|
|
8197
|
+
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8198
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8199
|
+
*/
|
|
8200
|
+
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8189
8201
|
/**
|
|
8190
8202
|
*
|
|
8191
8203
|
* @type {Array<string>}
|
|
@@ -8485,11 +8497,11 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8485
8497
|
/**
|
|
8486
8498
|
* List single pages.
|
|
8487
8499
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8488
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8489
8500
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8501
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8490
8502
|
* @param {Array<string>} [contributor]
|
|
8491
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8492
8503
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8504
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8493
8505
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8494
8506
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8495
8507
|
* @param {Array<string>} [fieldSelector] Field 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',
|
|
8512
|
+
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8501
8513
|
/**
|
|
8502
8514
|
* Publish a single page.
|
|
8503
8515
|
* @param {string} name
|
|
@@ -8537,11 +8549,11 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8537
8549
|
/**
|
|
8538
8550
|
* List single pages.
|
|
8539
8551
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8540
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8541
8552
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8553
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8542
8554
|
* @param {Array<string>} [contributor]
|
|
8543
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8544
8555
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8556
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8545
8557
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8546
8558
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8547
8559
|
* @param {Array<string>} [fieldSelector] Field 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',
|
|
8564
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
8553
8565
|
/**
|
|
8554
8566
|
* Publish a single page.
|
|
8555
8567
|
* @param {string} name
|
|
@@ -8589,11 +8601,11 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8589
8601
|
/**
|
|
8590
8602
|
* List single pages.
|
|
8591
8603
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8592
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8593
8604
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8605
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8594
8606
|
* @param {Array<string>} [contributor]
|
|
8595
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8596
8607
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8608
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8597
8609
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8598
8610
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8599
8611
|
* @param {Array<string>} [fieldSelector] Field 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',
|
|
8616
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', sortOrder?: boolean, contributor?: Array<string>, keyword?: string, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
8605
8617
|
/**
|
|
8606
8618
|
* Publish a single page.
|
|
8607
8619
|
* @param {string} name
|
|
@@ -8651,12 +8663,6 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8651
8663
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8652
8664
|
*/
|
|
8653
8665
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8654
|
-
/**
|
|
8655
|
-
* ascending order If it is true; otherwise, it is in descending order.
|
|
8656
|
-
* @type {boolean}
|
|
8657
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8658
|
-
*/
|
|
8659
|
-
readonly sortOrder?: boolean;
|
|
8660
8666
|
/**
|
|
8661
8667
|
*
|
|
8662
8668
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8664,23 +8670,29 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8664
8670
|
*/
|
|
8665
8671
|
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8666
8672
|
/**
|
|
8667
|
-
*
|
|
8668
|
-
* @type {
|
|
8673
|
+
* ascending order If it is true; otherwise, it is in descending order.
|
|
8674
|
+
* @type {boolean}
|
|
8669
8675
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8670
8676
|
*/
|
|
8671
|
-
readonly
|
|
8677
|
+
readonly sortOrder?: boolean;
|
|
8672
8678
|
/**
|
|
8673
8679
|
*
|
|
8674
|
-
* @type {
|
|
8680
|
+
* @type {Array<string>}
|
|
8675
8681
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8676
8682
|
*/
|
|
8677
|
-
readonly
|
|
8683
|
+
readonly contributor?: Array<string>;
|
|
8678
8684
|
/**
|
|
8679
8685
|
* SinglePages filtered by keyword.
|
|
8680
8686
|
* @type {string}
|
|
8681
8687
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8682
8688
|
*/
|
|
8683
8689
|
readonly keyword?: string;
|
|
8690
|
+
/**
|
|
8691
|
+
*
|
|
8692
|
+
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8693
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8694
|
+
*/
|
|
8695
|
+
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8684
8696
|
/**
|
|
8685
8697
|
* Size of one page. Zero indicates no limit.
|
|
8686
8698
|
* @type {number}
|
package/dist/index.mjs
CHANGED
|
@@ -677,7 +677,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
677
677
|
options: localVarRequestOptions
|
|
678
678
|
};
|
|
679
679
|
},
|
|
680
|
-
listPosts: async (sort,
|
|
680
|
+
listPosts: async (sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, 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,24 +692,24 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
692
692
|
if (sort !== void 0) {
|
|
693
693
|
localVarQueryParameter["sort"] = sort;
|
|
694
694
|
}
|
|
695
|
-
if (sortOrder !== void 0) {
|
|
696
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
697
|
-
}
|
|
698
695
|
if (publishPhase !== void 0) {
|
|
699
696
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
700
697
|
}
|
|
701
698
|
if (category) {
|
|
702
699
|
localVarQueryParameter["category"] = Array.from(category);
|
|
703
700
|
}
|
|
701
|
+
if (sortOrder !== void 0) {
|
|
702
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
703
|
+
}
|
|
704
704
|
if (contributor) {
|
|
705
705
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
706
706
|
}
|
|
707
|
-
if (visible !== void 0) {
|
|
708
|
-
localVarQueryParameter["visible"] = visible;
|
|
709
|
-
}
|
|
710
707
|
if (keyword !== void 0) {
|
|
711
708
|
localVarQueryParameter["keyword"] = keyword;
|
|
712
709
|
}
|
|
710
|
+
if (visible !== void 0) {
|
|
711
|
+
localVarQueryParameter["visible"] = visible;
|
|
712
|
+
}
|
|
713
713
|
if (tag) {
|
|
714
714
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
715
715
|
}
|
|
@@ -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, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, 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, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
892
|
+
return localVarFp.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, 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.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
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,
|
|
1022
|
+
listSinglePages: async (sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, 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;
|
|
@@ -1034,21 +1034,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1034
1034
|
if (sort !== void 0) {
|
|
1035
1035
|
localVarQueryParameter["sort"] = sort;
|
|
1036
1036
|
}
|
|
1037
|
-
if (sortOrder !== void 0) {
|
|
1038
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1039
|
-
}
|
|
1040
1037
|
if (publishPhase !== void 0) {
|
|
1041
1038
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1042
1039
|
}
|
|
1040
|
+
if (sortOrder !== void 0) {
|
|
1041
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1042
|
+
}
|
|
1043
1043
|
if (contributor) {
|
|
1044
1044
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1045
1045
|
}
|
|
1046
|
-
if (visible !== void 0) {
|
|
1047
|
-
localVarQueryParameter["visible"] = visible;
|
|
1048
|
-
}
|
|
1049
1046
|
if (keyword !== void 0) {
|
|
1050
1047
|
localVarQueryParameter["keyword"] = keyword;
|
|
1051
1048
|
}
|
|
1049
|
+
if (visible !== void 0) {
|
|
1050
|
+
localVarQueryParameter["visible"] = visible;
|
|
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,
|
|
1151
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1150
|
+
async listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, 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,
|
|
1175
|
-
return localVarFp.listSinglePages(sort,
|
|
1174
|
+
listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, options) {
|
|
1175
|
+
return localVarFp.listSinglePages(sort, publishPhase, sortOrder, contributor, keyword, visible, size, labelSelector, fieldSelector, page, 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.
|
|
1193
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.publishPhase, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1194
1194
|
}
|
|
1195
1195
|
publishSinglePage(requestParameters, options) {
|
|
1196
1196
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1317,7 +1317,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1317
1317
|
},
|
|
1318
1318
|
reloadThemeSetting: async (name, options = {}) => {
|
|
1319
1319
|
assertParamExists("reloadThemeSetting", "name", name);
|
|
1320
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1320
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1321
1321
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1322
1322
|
let baseOptions;
|
|
1323
1323
|
if (configuration) {
|