@halo-dev/api-client 0.0.50 → 0.0.52
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 +37 -34
- package/dist/index.d.ts +59 -50
- package/dist/index.mjs +37 -34
- 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, sort, displayName,
|
|
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;
|
|
@@ -98,12 +98,15 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
98
98
|
if (displayName !== void 0) {
|
|
99
99
|
localVarQueryParameter["displayName"] = displayName;
|
|
100
100
|
}
|
|
101
|
-
if (uploadedBy !== void 0) {
|
|
102
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
103
|
-
}
|
|
104
101
|
if (group !== void 0) {
|
|
105
102
|
localVarQueryParameter["group"] = group;
|
|
106
103
|
}
|
|
104
|
+
if (ungrouped !== void 0) {
|
|
105
|
+
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
106
|
+
}
|
|
107
|
+
if (uploadedBy !== void 0) {
|
|
108
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
109
|
+
}
|
|
107
110
|
if (size !== void 0) {
|
|
108
111
|
localVarQueryParameter["size"] = size;
|
|
109
112
|
}
|
|
@@ -163,8 +166,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
163
166
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
164
167
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
165
168
|
return {
|
|
166
|
-
async searchAttachments(policy, sort, displayName,
|
|
167
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName,
|
|
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);
|
|
168
171
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
169
172
|
},
|
|
170
173
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -176,8 +179,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
176
179
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
177
180
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
178
181
|
return {
|
|
179
|
-
searchAttachments(policy, sort, displayName,
|
|
180
|
-
return localVarFp.searchAttachments(policy, sort, displayName,
|
|
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));
|
|
181
184
|
},
|
|
182
185
|
uploadAttachment(file, policyName, groupName, options) {
|
|
183
186
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -186,7 +189,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
186
189
|
};
|
|
187
190
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
188
191
|
searchAttachments(requestParameters = {}, options) {
|
|
189
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.
|
|
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));
|
|
190
193
|
}
|
|
191
194
|
uploadAttachment(requestParameters, options) {
|
|
192
195
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -682,7 +685,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
682
685
|
options: localVarRequestOptions
|
|
683
686
|
};
|
|
684
687
|
},
|
|
685
|
-
listPosts: async (sort, publishPhase, category,
|
|
688
|
+
listPosts: async (sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
686
689
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
687
690
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
688
691
|
let baseOptions;
|
|
@@ -697,24 +700,24 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
697
700
|
if (sort !== void 0) {
|
|
698
701
|
localVarQueryParameter["sort"] = sort;
|
|
699
702
|
}
|
|
703
|
+
if (sortOrder !== void 0) {
|
|
704
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
705
|
+
}
|
|
700
706
|
if (publishPhase !== void 0) {
|
|
701
707
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
702
708
|
}
|
|
703
709
|
if (category) {
|
|
704
710
|
localVarQueryParameter["category"] = Array.from(category);
|
|
705
711
|
}
|
|
706
|
-
if (sortOrder !== void 0) {
|
|
707
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
708
|
-
}
|
|
709
712
|
if (contributor) {
|
|
710
713
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
711
714
|
}
|
|
712
|
-
if (keyword !== void 0) {
|
|
713
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
714
|
-
}
|
|
715
715
|
if (visible !== void 0) {
|
|
716
716
|
localVarQueryParameter["visible"] = visible;
|
|
717
717
|
}
|
|
718
|
+
if (keyword !== void 0) {
|
|
719
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
720
|
+
}
|
|
718
721
|
if (tag) {
|
|
719
722
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
720
723
|
}
|
|
@@ -861,8 +864,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
861
864
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
862
865
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
863
866
|
},
|
|
864
|
-
async listPosts(sort, publishPhase, category,
|
|
865
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category,
|
|
867
|
+
async listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options) {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options);
|
|
866
869
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
867
870
|
},
|
|
868
871
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -893,8 +896,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
893
896
|
draftPost(postRequest, options) {
|
|
894
897
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
895
898
|
},
|
|
896
|
-
listPosts(sort, publishPhase, category,
|
|
897
|
-
return localVarFp.listPosts(sort, publishPhase, category,
|
|
899
|
+
listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options) {
|
|
900
|
+
return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
898
901
|
},
|
|
899
902
|
publishPost(name, headSnapshot, options) {
|
|
900
903
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -918,7 +921,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
918
921
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
919
922
|
}
|
|
920
923
|
listPosts(requestParameters = {}, options) {
|
|
921
|
-
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.visible, requestParameters.keyword, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
922
925
|
}
|
|
923
926
|
publishPost(requestParameters, options) {
|
|
924
927
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1024,7 +1027,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1024
1027
|
options: localVarRequestOptions
|
|
1025
1028
|
};
|
|
1026
1029
|
},
|
|
1027
|
-
listSinglePages: async (sort,
|
|
1030
|
+
listSinglePages: async (sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1028
1031
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1029
1032
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1030
1033
|
let baseOptions;
|
|
@@ -1039,21 +1042,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1039
1042
|
if (sort !== void 0) {
|
|
1040
1043
|
localVarQueryParameter["sort"] = sort;
|
|
1041
1044
|
}
|
|
1042
|
-
if (publishPhase !== void 0) {
|
|
1043
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1044
|
-
}
|
|
1045
1045
|
if (sortOrder !== void 0) {
|
|
1046
1046
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1047
1047
|
}
|
|
1048
|
+
if (publishPhase !== void 0) {
|
|
1049
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1050
|
+
}
|
|
1048
1051
|
if (contributor) {
|
|
1049
1052
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1050
1053
|
}
|
|
1051
|
-
if (keyword !== void 0) {
|
|
1052
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1053
|
-
}
|
|
1054
1054
|
if (visible !== void 0) {
|
|
1055
1055
|
localVarQueryParameter["visible"] = visible;
|
|
1056
1056
|
}
|
|
1057
|
+
if (keyword !== void 0) {
|
|
1058
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1059
|
+
}
|
|
1057
1060
|
if (size !== void 0) {
|
|
1058
1061
|
localVarQueryParameter["size"] = size;
|
|
1059
1062
|
}
|
|
@@ -1152,8 +1155,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1152
1155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1153
1156
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1154
1157
|
},
|
|
1155
|
-
async listSinglePages(sort,
|
|
1156
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1158
|
+
async listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options);
|
|
1157
1160
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1158
1161
|
},
|
|
1159
1162
|
async publishSinglePage(name, options) {
|
|
@@ -1176,8 +1179,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1176
1179
|
draftSinglePage(singlePageRequest, options) {
|
|
1177
1180
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1178
1181
|
},
|
|
1179
|
-
listSinglePages(sort,
|
|
1180
|
-
return localVarFp.listSinglePages(sort,
|
|
1182
|
+
listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
1183
|
+
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1181
1184
|
},
|
|
1182
1185
|
publishSinglePage(name, options) {
|
|
1183
1186
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1195,7 +1198,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1195
1198
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1196
1199
|
}
|
|
1197
1200
|
listSinglePages(requestParameters = {}, options) {
|
|
1198
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1201
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1202
|
}
|
|
1200
1203
|
publishSinglePage(requestParameters, options) {
|
|
1201
1204
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1322,7 +1325,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1322
1325
|
},
|
|
1323
1326
|
reloadThemeSetting: async (name, options = {}) => {
|
|
1324
1327
|
assertParamExists("reloadThemeSetting", "name", name);
|
|
1325
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload
|
|
1328
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1326
1329
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1327
1330
|
let baseOptions;
|
|
1328
1331
|
if (configuration) {
|
package/dist/index.d.ts
CHANGED
|
@@ -7000,8 +7000,9 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
7000
7000
|
* @param {string} [policy] Name of policy
|
|
7001
7001
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7002
7002
|
* @param {string} [displayName] Display name of attachment
|
|
7003
|
-
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7004
7003
|
* @param {string} [group] Name of group
|
|
7004
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7005
|
+
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7005
7006
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7006
7007
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7007
7008
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7009,7 +7010,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
7009
7010
|
* @param {*} [options] Override http request option.
|
|
7010
7011
|
* @throws {RequiredError}
|
|
7011
7012
|
*/
|
|
7012
|
-
searchAttachments: (policy?: string, sort?: Array<string>, displayName?: string,
|
|
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>;
|
|
7013
7014
|
/**
|
|
7014
7015
|
*
|
|
7015
7016
|
* @param {any} file
|
|
@@ -7030,8 +7031,9 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7030
7031
|
* @param {string} [policy] Name of policy
|
|
7031
7032
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7032
7033
|
* @param {string} [displayName] Display name of attachment
|
|
7033
|
-
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7034
7034
|
* @param {string} [group] Name of group
|
|
7035
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7036
|
+
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7035
7037
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7036
7038
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7037
7039
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7039,7 +7041,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7039
7041
|
* @param {*} [options] Override http request option.
|
|
7040
7042
|
* @throws {RequiredError}
|
|
7041
7043
|
*/
|
|
7042
|
-
searchAttachments(policy?: string, sort?: Array<string>, displayName?: string,
|
|
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>>;
|
|
7043
7045
|
/**
|
|
7044
7046
|
*
|
|
7045
7047
|
* @param {any} file
|
|
@@ -7060,8 +7062,9 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7060
7062
|
* @param {string} [policy] Name of policy
|
|
7061
7063
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7062
7064
|
* @param {string} [displayName] Display name of attachment
|
|
7063
|
-
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7064
7065
|
* @param {string} [group] Name of group
|
|
7066
|
+
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7067
|
+
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7065
7068
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7066
7069
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
7067
7070
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -7069,7 +7072,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7069
7072
|
* @param {*} [options] Override http request option.
|
|
7070
7073
|
* @throws {RequiredError}
|
|
7071
7074
|
*/
|
|
7072
|
-
searchAttachments(policy?: string, sort?: Array<string>, displayName?: string,
|
|
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>;
|
|
7073
7076
|
/**
|
|
7074
7077
|
*
|
|
7075
7078
|
* @param {any} file
|
|
@@ -7105,17 +7108,23 @@ interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
7105
7108
|
*/
|
|
7106
7109
|
readonly displayName?: string;
|
|
7107
7110
|
/**
|
|
7108
|
-
* Name of
|
|
7111
|
+
* Name of group
|
|
7109
7112
|
* @type {string}
|
|
7110
7113
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7111
7114
|
*/
|
|
7112
|
-
readonly
|
|
7115
|
+
readonly group?: string;
|
|
7113
7116
|
/**
|
|
7114
|
-
*
|
|
7117
|
+
* Filter attachments without group. This parameter will ignore group parameter.
|
|
7118
|
+
* @type {boolean}
|
|
7119
|
+
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7120
|
+
*/
|
|
7121
|
+
readonly ungrouped?: boolean;
|
|
7122
|
+
/**
|
|
7123
|
+
* Name of user who uploaded the attachment
|
|
7115
7124
|
* @type {string}
|
|
7116
7125
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7117
7126
|
*/
|
|
7118
|
-
readonly
|
|
7127
|
+
readonly uploadedBy?: string;
|
|
7119
7128
|
/**
|
|
7120
7129
|
* Size of one page. Zero indicates no limit.
|
|
7121
7130
|
* @type {number}
|
|
@@ -7924,12 +7933,12 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7924
7933
|
/**
|
|
7925
7934
|
* List posts.
|
|
7926
7935
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7936
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7927
7937
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7928
7938
|
* @param {Array<string>} [category]
|
|
7929
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7930
7939
|
* @param {Array<string>} [contributor]
|
|
7931
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
7932
7940
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7941
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
7933
7942
|
* @param {Array<string>} [tag]
|
|
7934
7943
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
7935
7944
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7938,7 +7947,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7938
7947
|
* @param {*} [options] Override http request option.
|
|
7939
7948
|
* @throws {RequiredError}
|
|
7940
7949
|
*/
|
|
7941
|
-
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>,
|
|
7950
|
+
listPosts: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, contributor?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7942
7951
|
/**
|
|
7943
7952
|
* Publish a post.
|
|
7944
7953
|
* @param {string} name
|
|
@@ -7993,12 +8002,12 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
7993
8002
|
/**
|
|
7994
8003
|
* List posts.
|
|
7995
8004
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8005
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7996
8006
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7997
8007
|
* @param {Array<string>} [category]
|
|
7998
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7999
8008
|
* @param {Array<string>} [contributor]
|
|
8000
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
8001
8009
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8010
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
8002
8011
|
* @param {Array<string>} [tag]
|
|
8003
8012
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8004
8013
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8007,7 +8016,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
8007
8016
|
* @param {*} [options] Override http request option.
|
|
8008
8017
|
* @throws {RequiredError}
|
|
8009
8018
|
*/
|
|
8010
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>,
|
|
8019
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, contributor?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
8011
8020
|
/**
|
|
8012
8021
|
* Publish a post.
|
|
8013
8022
|
* @param {string} name
|
|
@@ -8062,12 +8071,12 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8062
8071
|
/**
|
|
8063
8072
|
* List posts.
|
|
8064
8073
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8074
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8065
8075
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8066
8076
|
* @param {Array<string>} [category]
|
|
8067
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8068
8077
|
* @param {Array<string>} [contributor]
|
|
8069
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
8070
8078
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8079
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
8071
8080
|
* @param {Array<string>} [tag]
|
|
8072
8081
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8073
8082
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8076,7 +8085,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8076
8085
|
* @param {*} [options] Override http request option.
|
|
8077
8086
|
* @throws {RequiredError}
|
|
8078
8087
|
*/
|
|
8079
|
-
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>,
|
|
8088
|
+
listPosts(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', category?: Array<string>, contributor?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, tag?: Array<string>, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedPostList>;
|
|
8080
8089
|
/**
|
|
8081
8090
|
* Publish a post.
|
|
8082
8091
|
* @param {string} name
|
|
@@ -8141,6 +8150,12 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8141
8150
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8142
8151
|
*/
|
|
8143
8152
|
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;
|
|
8144
8159
|
/**
|
|
8145
8160
|
*
|
|
8146
8161
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8154,29 +8169,23 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8154
8169
|
*/
|
|
8155
8170
|
readonly category?: Array<string>;
|
|
8156
8171
|
/**
|
|
8157
|
-
*
|
|
8158
|
-
* @type {
|
|
8172
|
+
*
|
|
8173
|
+
* @type {Array<string>}
|
|
8159
8174
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8160
8175
|
*/
|
|
8161
|
-
readonly
|
|
8176
|
+
readonly contributor?: Array<string>;
|
|
8162
8177
|
/**
|
|
8163
8178
|
*
|
|
8164
|
-
* @type {
|
|
8179
|
+
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8165
8180
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8166
8181
|
*/
|
|
8167
|
-
readonly
|
|
8182
|
+
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8168
8183
|
/**
|
|
8169
8184
|
* Posts filtered by keyword.
|
|
8170
8185
|
* @type {string}
|
|
8171
8186
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8172
8187
|
*/
|
|
8173
8188
|
readonly keyword?: string;
|
|
8174
|
-
/**
|
|
8175
|
-
*
|
|
8176
|
-
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8177
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8178
|
-
*/
|
|
8179
|
-
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8180
8189
|
/**
|
|
8181
8190
|
*
|
|
8182
8191
|
* @type {Array<string>}
|
|
@@ -8476,11 +8485,11 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8476
8485
|
/**
|
|
8477
8486
|
* List single pages.
|
|
8478
8487
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8479
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8480
8488
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8489
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8481
8490
|
* @param {Array<string>} [contributor]
|
|
8482
|
-
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8483
8491
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8492
|
+
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8484
8493
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8485
8494
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8486
8495
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -8488,7 +8497,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8488
8497
|
* @param {*} [options] Override http request option.
|
|
8489
8498
|
* @throws {RequiredError}
|
|
8490
8499
|
*/
|
|
8491
|
-
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED',
|
|
8500
|
+
listSinglePages: (sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8492
8501
|
/**
|
|
8493
8502
|
* Publish a single page.
|
|
8494
8503
|
* @param {string} name
|
|
@@ -8528,11 +8537,11 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8528
8537
|
/**
|
|
8529
8538
|
* List single pages.
|
|
8530
8539
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8531
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8532
8540
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8541
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8533
8542
|
* @param {Array<string>} [contributor]
|
|
8534
|
-
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8535
8543
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8544
|
+
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8536
8545
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8537
8546
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8538
8547
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -8540,7 +8549,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8540
8549
|
* @param {*} [options] Override http request option.
|
|
8541
8550
|
* @throws {RequiredError}
|
|
8542
8551
|
*/
|
|
8543
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED',
|
|
8552
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
8544
8553
|
/**
|
|
8545
8554
|
* Publish a single page.
|
|
8546
8555
|
* @param {string} name
|
|
@@ -8580,11 +8589,11 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8580
8589
|
/**
|
|
8581
8590
|
* List single pages.
|
|
8582
8591
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8583
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8584
8592
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8593
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8585
8594
|
* @param {Array<string>} [contributor]
|
|
8586
|
-
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8587
8595
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8596
|
+
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8588
8597
|
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
8589
8598
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
8590
8599
|
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
@@ -8592,7 +8601,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8592
8601
|
* @param {*} [options] Override http request option.
|
|
8593
8602
|
* @throws {RequiredError}
|
|
8594
8603
|
*/
|
|
8595
|
-
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED',
|
|
8604
|
+
listSinglePages(sort?: 'PUBLISH_TIME' | 'CREATE_TIME', sortOrder?: boolean, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', contributor?: Array<string>, visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', keyword?: string, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, page?: number, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
8596
8605
|
/**
|
|
8597
8606
|
* Publish a single page.
|
|
8598
8607
|
* @param {string} name
|
|
@@ -8642,12 +8651,6 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8642
8651
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8643
8652
|
*/
|
|
8644
8653
|
readonly sort?: 'PUBLISH_TIME' | 'CREATE_TIME';
|
|
8645
|
-
/**
|
|
8646
|
-
*
|
|
8647
|
-
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
8648
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8649
|
-
*/
|
|
8650
|
-
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8651
8654
|
/**
|
|
8652
8655
|
* ascending order If it is true; otherwise, it is in descending order.
|
|
8653
8656
|
* @type {boolean}
|
|
@@ -8656,22 +8659,28 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8656
8659
|
readonly sortOrder?: boolean;
|
|
8657
8660
|
/**
|
|
8658
8661
|
*
|
|
8659
|
-
* @type {
|
|
8662
|
+
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
8660
8663
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8661
8664
|
*/
|
|
8662
|
-
readonly
|
|
8665
|
+
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8663
8666
|
/**
|
|
8664
|
-
*
|
|
8665
|
-
* @type {string}
|
|
8667
|
+
*
|
|
8668
|
+
* @type {Array<string>}
|
|
8666
8669
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8667
8670
|
*/
|
|
8668
|
-
readonly
|
|
8671
|
+
readonly contributor?: Array<string>;
|
|
8669
8672
|
/**
|
|
8670
8673
|
*
|
|
8671
8674
|
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8672
8675
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8673
8676
|
*/
|
|
8674
8677
|
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8678
|
+
/**
|
|
8679
|
+
* SinglePages filtered by keyword.
|
|
8680
|
+
* @type {string}
|
|
8681
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8682
|
+
*/
|
|
8683
|
+
readonly keyword?: string;
|
|
8675
8684
|
/**
|
|
8676
8685
|
* Size of one page. Zero indicates no limit.
|
|
8677
8686
|
* @type {number}
|
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, sort, displayName,
|
|
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;
|
|
@@ -90,12 +90,15 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
90
90
|
if (displayName !== void 0) {
|
|
91
91
|
localVarQueryParameter["displayName"] = displayName;
|
|
92
92
|
}
|
|
93
|
-
if (uploadedBy !== void 0) {
|
|
94
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
95
|
-
}
|
|
96
93
|
if (group !== void 0) {
|
|
97
94
|
localVarQueryParameter["group"] = group;
|
|
98
95
|
}
|
|
96
|
+
if (ungrouped !== void 0) {
|
|
97
|
+
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
98
|
+
}
|
|
99
|
+
if (uploadedBy !== void 0) {
|
|
100
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
101
|
+
}
|
|
99
102
|
if (size !== void 0) {
|
|
100
103
|
localVarQueryParameter["size"] = size;
|
|
101
104
|
}
|
|
@@ -155,8 +158,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
155
158
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
156
159
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
157
160
|
return {
|
|
158
|
-
async searchAttachments(policy, sort, displayName,
|
|
159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName,
|
|
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);
|
|
160
163
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
161
164
|
},
|
|
162
165
|
async uploadAttachment(file, policyName, groupName, options) {
|
|
@@ -168,8 +171,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
168
171
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
169
172
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
170
173
|
return {
|
|
171
|
-
searchAttachments(policy, sort, displayName,
|
|
172
|
-
return localVarFp.searchAttachments(policy, sort, displayName,
|
|
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));
|
|
173
176
|
},
|
|
174
177
|
uploadAttachment(file, policyName, groupName, options) {
|
|
175
178
|
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -178,7 +181,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
178
181
|
};
|
|
179
182
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
180
183
|
searchAttachments(requestParameters = {}, options) {
|
|
181
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.
|
|
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));
|
|
182
185
|
}
|
|
183
186
|
uploadAttachment(requestParameters, options) {
|
|
184
187
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -674,7 +677,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
674
677
|
options: localVarRequestOptions
|
|
675
678
|
};
|
|
676
679
|
},
|
|
677
|
-
listPosts: async (sort, publishPhase, category,
|
|
680
|
+
listPosts: async (sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
678
681
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
679
682
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
680
683
|
let baseOptions;
|
|
@@ -689,24 +692,24 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
689
692
|
if (sort !== void 0) {
|
|
690
693
|
localVarQueryParameter["sort"] = sort;
|
|
691
694
|
}
|
|
695
|
+
if (sortOrder !== void 0) {
|
|
696
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
697
|
+
}
|
|
692
698
|
if (publishPhase !== void 0) {
|
|
693
699
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
694
700
|
}
|
|
695
701
|
if (category) {
|
|
696
702
|
localVarQueryParameter["category"] = Array.from(category);
|
|
697
703
|
}
|
|
698
|
-
if (sortOrder !== void 0) {
|
|
699
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
700
|
-
}
|
|
701
704
|
if (contributor) {
|
|
702
705
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
703
706
|
}
|
|
704
|
-
if (keyword !== void 0) {
|
|
705
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
706
|
-
}
|
|
707
707
|
if (visible !== void 0) {
|
|
708
708
|
localVarQueryParameter["visible"] = visible;
|
|
709
709
|
}
|
|
710
|
+
if (keyword !== void 0) {
|
|
711
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
712
|
+
}
|
|
710
713
|
if (tag) {
|
|
711
714
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
712
715
|
}
|
|
@@ -853,8 +856,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
853
856
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
854
857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
855
858
|
},
|
|
856
|
-
async listPosts(sort, publishPhase, category,
|
|
857
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category,
|
|
859
|
+
async listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options) {
|
|
860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options);
|
|
858
861
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
859
862
|
},
|
|
860
863
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -885,8 +888,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
885
888
|
draftPost(postRequest, options) {
|
|
886
889
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
887
890
|
},
|
|
888
|
-
listPosts(sort, publishPhase, category,
|
|
889
|
-
return localVarFp.listPosts(sort, publishPhase, category,
|
|
891
|
+
listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options) {
|
|
892
|
+
return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, visible, keyword, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
890
893
|
},
|
|
891
894
|
publishPost(name, headSnapshot, options) {
|
|
892
895
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -910,7 +913,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
910
913
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
911
914
|
}
|
|
912
915
|
listPosts(requestParameters = {}, options) {
|
|
913
|
-
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.visible, requestParameters.keyword, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
914
917
|
}
|
|
915
918
|
publishPost(requestParameters, options) {
|
|
916
919
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1016,7 +1019,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1016
1019
|
options: localVarRequestOptions
|
|
1017
1020
|
};
|
|
1018
1021
|
},
|
|
1019
|
-
listSinglePages: async (sort,
|
|
1022
|
+
listSinglePages: async (sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
1020
1023
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1021
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1022
1025
|
let baseOptions;
|
|
@@ -1031,21 +1034,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1031
1034
|
if (sort !== void 0) {
|
|
1032
1035
|
localVarQueryParameter["sort"] = sort;
|
|
1033
1036
|
}
|
|
1034
|
-
if (publishPhase !== void 0) {
|
|
1035
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1036
|
-
}
|
|
1037
1037
|
if (sortOrder !== void 0) {
|
|
1038
1038
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1039
1039
|
}
|
|
1040
|
+
if (publishPhase !== void 0) {
|
|
1041
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1042
|
+
}
|
|
1040
1043
|
if (contributor) {
|
|
1041
1044
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1042
1045
|
}
|
|
1043
|
-
if (keyword !== void 0) {
|
|
1044
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1045
|
-
}
|
|
1046
1046
|
if (visible !== void 0) {
|
|
1047
1047
|
localVarQueryParameter["visible"] = visible;
|
|
1048
1048
|
}
|
|
1049
|
+
if (keyword !== void 0) {
|
|
1050
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1051
|
+
}
|
|
1049
1052
|
if (size !== void 0) {
|
|
1050
1053
|
localVarQueryParameter["size"] = size;
|
|
1051
1054
|
}
|
|
@@ -1144,8 +1147,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1144
1147
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1145
1148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1146
1149
|
},
|
|
1147
|
-
async listSinglePages(sort,
|
|
1148
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort,
|
|
1150
|
+
async listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
1151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options);
|
|
1149
1152
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1150
1153
|
},
|
|
1151
1154
|
async publishSinglePage(name, options) {
|
|
@@ -1168,8 +1171,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1168
1171
|
draftSinglePage(singlePageRequest, options) {
|
|
1169
1172
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1170
1173
|
},
|
|
1171
|
-
listSinglePages(sort,
|
|
1172
|
-
return localVarFp.listSinglePages(sort,
|
|
1174
|
+
listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
1175
|
+
return localVarFp.listSinglePages(sort, sortOrder, publishPhase, contributor, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
1173
1176
|
},
|
|
1174
1177
|
publishSinglePage(name, options) {
|
|
1175
1178
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1187,7 +1190,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1187
1190
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1188
1191
|
}
|
|
1189
1192
|
listSinglePages(requestParameters = {}, options) {
|
|
1190
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1193
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.contributor, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1194
|
}
|
|
1192
1195
|
publishSinglePage(requestParameters, options) {
|
|
1193
1196
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1314,7 +1317,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1314
1317
|
},
|
|
1315
1318
|
reloadThemeSetting: async (name, options = {}) => {
|
|
1316
1319
|
assertParamExists("reloadThemeSetting", "name", name);
|
|
1317
|
-
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload
|
|
1320
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1318
1321
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1319
1322
|
let baseOptions;
|
|
1320
1323
|
if (configuration) {
|