@halo-dev/api-client 0.0.69 → 0.0.70

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 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, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
80
+ searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, 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;
@@ -113,12 +113,12 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
113
113
  if (page !== void 0) {
114
114
  localVarQueryParameter["page"] = page;
115
115
  }
116
- if (labelSelector) {
117
- localVarQueryParameter["labelSelector"] = labelSelector;
118
- }
119
116
  if (fieldSelector) {
120
117
  localVarQueryParameter["fieldSelector"] = fieldSelector;
121
118
  }
119
+ if (labelSelector) {
120
+ localVarQueryParameter["labelSelector"] = labelSelector;
121
+ }
122
122
  setSearchParams(localVarUrlObj, localVarQueryParameter);
123
123
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
124
124
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -166,8 +166,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
166
166
  const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
167
167
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
168
168
  return {
169
- async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
170
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options);
169
+ async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options) {
170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options);
171
171
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
172
172
  },
173
173
  async uploadAttachment(file, policyName, groupName, options) {
@@ -179,8 +179,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
179
179
  const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
180
180
  const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
181
181
  return {
182
- searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
183
- return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
182
+ searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options) {
183
+ return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
184
184
  },
185
185
  uploadAttachment(file, policyName, groupName, options) {
186
186
  return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
@@ -189,7 +189,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
189
189
  };
190
190
  class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
191
191
  searchAttachments(requestParameters = {}, options) {
192
- return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
192
+ return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
193
193
  }
194
194
  uploadAttachment(requestParameters, options) {
195
195
  return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
@@ -245,7 +245,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
245
245
  options: localVarRequestOptions
246
246
  };
247
247
  },
248
- listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
248
+ listComments: async (sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options = {}) => {
249
249
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
250
250
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
251
251
  let baseOptions;
@@ -260,17 +260,14 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
260
260
  if (sort !== void 0) {
261
261
  localVarQueryParameter["sort"] = sort;
262
262
  }
263
- if (keyword !== void 0) {
264
- localVarQueryParameter["keyword"] = keyword;
263
+ if (top !== void 0) {
264
+ localVarQueryParameter["top"] = top;
265
265
  }
266
266
  if (hidden !== void 0) {
267
267
  localVarQueryParameter["hidden"] = hidden;
268
268
  }
269
- if (top !== void 0) {
270
- localVarQueryParameter["top"] = top;
271
- }
272
- if (sortOrder !== void 0) {
273
- localVarQueryParameter["sortOrder"] = sortOrder;
269
+ if (keyword !== void 0) {
270
+ localVarQueryParameter["keyword"] = keyword;
274
271
  }
275
272
  if (approved !== void 0) {
276
273
  localVarQueryParameter["approved"] = approved;
@@ -278,6 +275,9 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
278
275
  if (allowNotification !== void 0) {
279
276
  localVarQueryParameter["allowNotification"] = allowNotification;
280
277
  }
278
+ if (sortOrder !== void 0) {
279
+ localVarQueryParameter["sortOrder"] = sortOrder;
280
+ }
281
281
  if (ownerKind !== void 0) {
282
282
  localVarQueryParameter["ownerKind"] = ownerKind;
283
283
  }
@@ -296,12 +296,12 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
296
296
  if (page !== void 0) {
297
297
  localVarQueryParameter["page"] = page;
298
298
  }
299
- if (labelSelector) {
300
- localVarQueryParameter["labelSelector"] = labelSelector;
301
- }
302
299
  if (fieldSelector) {
303
300
  localVarQueryParameter["fieldSelector"] = fieldSelector;
304
301
  }
302
+ if (labelSelector) {
303
+ localVarQueryParameter["labelSelector"] = labelSelector;
304
+ }
305
305
  setSearchParams(localVarUrlObj, localVarQueryParameter);
306
306
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
307
307
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -323,8 +323,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
323
323
  const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
324
324
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
325
325
  },
326
- async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
327
- const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
326
+ async listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options) {
327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options);
328
328
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
329
329
  }
330
330
  };
@@ -338,8 +338,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
338
338
  createReply(name, replyRequest, options) {
339
339
  return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
340
340
  },
341
- listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
342
- return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
341
+ listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options) {
342
+ return localVarFp.listComments(sort, top, hidden, keyword, approved, allowNotification, sortOrder, ownerKind, ownerName, subjectKind, subjectName, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
343
343
  }
344
344
  };
345
345
  };
@@ -351,7 +351,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
351
351
  return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
352
352
  }
353
353
  listComments(requestParameters = {}, options) {
354
- return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
354
+ return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.top, requestParameters.hidden, requestParameters.keyword, requestParameters.approved, requestParameters.allowNotification, requestParameters.sortOrder, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
355
355
  }
356
356
  }
357
357
 
@@ -588,7 +588,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
588
588
  options: localVarRequestOptions
589
589
  };
590
590
  },
591
- listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
591
+ listPlugins: async (sort, enabled, keyword, size, page, fieldSelector, labelSelector, options = {}) => {
592
592
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
593
593
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
594
594
  let baseOptions;
@@ -615,12 +615,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
615
615
  if (page !== void 0) {
616
616
  localVarQueryParameter["page"] = page;
617
617
  }
618
- if (labelSelector) {
619
- localVarQueryParameter["labelSelector"] = labelSelector;
620
- }
621
618
  if (fieldSelector) {
622
619
  localVarQueryParameter["fieldSelector"] = fieldSelector;
623
620
  }
621
+ if (labelSelector) {
622
+ localVarQueryParameter["labelSelector"] = labelSelector;
623
+ }
624
624
  setSearchParams(localVarUrlObj, localVarQueryParameter);
625
625
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
626
626
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -719,8 +719,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
719
719
  const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
720
720
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
721
721
  },
722
- async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
723
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
722
+ async listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options) {
723
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options);
724
724
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
725
725
  },
726
726
  async resetPluginConfig(name, options) {
@@ -749,8 +749,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
749
749
  installPlugin(file, options) {
750
750
  return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
751
751
  },
752
- listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
753
- return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
752
+ listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options) {
753
+ return localVarFp.listPlugins(sort, enabled, keyword, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
754
754
  },
755
755
  resetPluginConfig(name, options) {
756
756
  return localVarFp.resetPluginConfig(name, options).then((request) => request(axios, basePath));
@@ -774,7 +774,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
774
774
  return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
775
775
  }
776
776
  listPlugins(requestParameters = {}, options) {
777
- return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
777
+ return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
778
778
  }
779
779
  resetPluginConfig(requestParameters, options) {
780
780
  return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -812,7 +812,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
812
812
  options: localVarRequestOptions
813
813
  };
814
814
  },
815
- listPosts: async (sort, tag, keyword, visible, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
815
+ listPosts: async (sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options = {}) => {
816
816
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
817
817
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
818
818
  let baseOptions;
@@ -827,14 +827,20 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
827
827
  if (sort !== void 0) {
828
828
  localVarQueryParameter["sort"] = sort;
829
829
  }
830
+ if (visible !== void 0) {
831
+ localVarQueryParameter["visible"] = visible;
832
+ }
830
833
  if (tag) {
831
834
  localVarQueryParameter["tag"] = Array.from(tag);
832
835
  }
833
836
  if (keyword !== void 0) {
834
837
  localVarQueryParameter["keyword"] = keyword;
835
838
  }
836
- if (visible !== void 0) {
837
- localVarQueryParameter["visible"] = visible;
839
+ if (publishPhase !== void 0) {
840
+ localVarQueryParameter["publishPhase"] = publishPhase;
841
+ }
842
+ if (category) {
843
+ localVarQueryParameter["category"] = Array.from(category);
838
844
  }
839
845
  if (contributor) {
840
846
  localVarQueryParameter["contributor"] = Array.from(contributor);
@@ -842,24 +848,18 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
842
848
  if (sortOrder !== void 0) {
843
849
  localVarQueryParameter["sortOrder"] = sortOrder;
844
850
  }
845
- if (publishPhase !== void 0) {
846
- localVarQueryParameter["publishPhase"] = publishPhase;
847
- }
848
- if (category) {
849
- localVarQueryParameter["category"] = Array.from(category);
850
- }
851
851
  if (size !== void 0) {
852
852
  localVarQueryParameter["size"] = size;
853
853
  }
854
854
  if (page !== void 0) {
855
855
  localVarQueryParameter["page"] = page;
856
856
  }
857
- if (labelSelector) {
858
- localVarQueryParameter["labelSelector"] = labelSelector;
859
- }
860
857
  if (fieldSelector) {
861
858
  localVarQueryParameter["fieldSelector"] = fieldSelector;
862
859
  }
860
+ if (labelSelector) {
861
+ localVarQueryParameter["labelSelector"] = labelSelector;
862
+ }
863
863
  setSearchParams(localVarUrlObj, localVarQueryParameter);
864
864
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
865
865
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -991,8 +991,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
991
991
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
992
992
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
993
993
  },
994
- async listPosts(sort, tag, keyword, visible, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
995
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, keyword, visible, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
994
+ async listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
995
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options);
996
996
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
997
997
  },
998
998
  async publishPost(name, headSnapshot, options) {
@@ -1023,8 +1023,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
1023
1023
  draftPost(postRequest, options) {
1024
1024
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
1025
1025
  },
1026
- listPosts(sort, tag, keyword, visible, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
1027
- return localVarFp.listPosts(sort, tag, keyword, visible, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1026
+ listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
1027
+ return localVarFp.listPosts(sort, visible, tag, keyword, publishPhase, category, contributor, sortOrder, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
1028
1028
  },
1029
1029
  publishPost(name, headSnapshot, options) {
1030
1030
  return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
@@ -1048,7 +1048,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
1048
1048
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
1049
1049
  }
1050
1050
  listPosts(requestParameters = {}, options) {
1051
- return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.tag, requestParameters.keyword, requestParameters.visible, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1051
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.visible, requestParameters.tag, requestParameters.keyword, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
1052
1052
  }
1053
1053
  publishPost(requestParameters, options) {
1054
1054
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
@@ -1069,7 +1069,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
1069
1069
 
1070
1070
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
1071
1071
  return {
1072
- listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
1072
+ listReplies: async (commentName, size, page, fieldSelector, labelSelector, options = {}) => {
1073
1073
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
1074
1074
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1075
1075
  let baseOptions;
@@ -1090,12 +1090,12 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
1090
1090
  if (page !== void 0) {
1091
1091
  localVarQueryParameter["page"] = page;
1092
1092
  }
1093
- if (labelSelector) {
1094
- localVarQueryParameter["labelSelector"] = labelSelector;
1095
- }
1096
1093
  if (fieldSelector) {
1097
1094
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1098
1095
  }
1096
+ if (labelSelector) {
1097
+ localVarQueryParameter["labelSelector"] = labelSelector;
1098
+ }
1099
1099
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1100
1100
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1101
1101
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1109,8 +1109,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
1109
1109
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
1110
1110
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
1111
1111
  return {
1112
- async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
1113
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
1112
+ async listReplies(commentName, size, page, fieldSelector, labelSelector, options) {
1113
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, fieldSelector, labelSelector, options);
1114
1114
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1115
1115
  }
1116
1116
  };
@@ -1118,14 +1118,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
1118
1118
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
1119
1119
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
1120
1120
  return {
1121
- listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
1122
- return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1121
+ listReplies(commentName, size, page, fieldSelector, labelSelector, options) {
1122
+ return localVarFp.listReplies(commentName, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
1123
1123
  }
1124
1124
  };
1125
1125
  };
1126
1126
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
1127
1127
  listReplies(requestParameters = {}, options) {
1128
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1128
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
1129
1129
  }
1130
1130
  }
1131
1131
 
@@ -1154,7 +1154,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1154
1154
  options: localVarRequestOptions
1155
1155
  };
1156
1156
  },
1157
- listSinglePages: async (sort, keyword, visible, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
1157
+ listSinglePages: async (sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options = {}) => {
1158
1158
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
1159
1159
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1160
1160
  let baseOptions;
@@ -1169,11 +1169,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1169
1169
  if (sort !== void 0) {
1170
1170
  localVarQueryParameter["sort"] = sort;
1171
1171
  }
1172
+ if (visible !== void 0) {
1173
+ localVarQueryParameter["visible"] = visible;
1174
+ }
1172
1175
  if (keyword !== void 0) {
1173
1176
  localVarQueryParameter["keyword"] = keyword;
1174
1177
  }
1175
- if (visible !== void 0) {
1176
- localVarQueryParameter["visible"] = visible;
1178
+ if (publishPhase !== void 0) {
1179
+ localVarQueryParameter["publishPhase"] = publishPhase;
1177
1180
  }
1178
1181
  if (contributor) {
1179
1182
  localVarQueryParameter["contributor"] = Array.from(contributor);
@@ -1181,21 +1184,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1181
1184
  if (sortOrder !== void 0) {
1182
1185
  localVarQueryParameter["sortOrder"] = sortOrder;
1183
1186
  }
1184
- if (publishPhase !== void 0) {
1185
- localVarQueryParameter["publishPhase"] = publishPhase;
1186
- }
1187
1187
  if (size !== void 0) {
1188
1188
  localVarQueryParameter["size"] = size;
1189
1189
  }
1190
1190
  if (page !== void 0) {
1191
1191
  localVarQueryParameter["page"] = page;
1192
1192
  }
1193
- if (labelSelector) {
1194
- localVarQueryParameter["labelSelector"] = labelSelector;
1195
- }
1196
1193
  if (fieldSelector) {
1197
1194
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1198
1195
  }
1196
+ if (labelSelector) {
1197
+ localVarQueryParameter["labelSelector"] = labelSelector;
1198
+ }
1199
1199
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1200
1200
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1201
1201
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1282,8 +1282,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
1282
1282
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
1283
1283
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1284
1284
  },
1285
- async listSinglePages(sort, keyword, visible, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
1286
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword, visible, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
1285
+ async listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
1286
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options);
1287
1287
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1288
1288
  },
1289
1289
  async publishSinglePage(name, options) {
@@ -1306,8 +1306,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
1306
1306
  draftSinglePage(singlePageRequest, options) {
1307
1307
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
1308
1308
  },
1309
- listSinglePages(sort, keyword, visible, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
1310
- return localVarFp.listSinglePages(sort, keyword, visible, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1309
+ listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options) {
1310
+ return localVarFp.listSinglePages(sort, visible, keyword, publishPhase, contributor, sortOrder, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
1311
1311
  },
1312
1312
  publishSinglePage(name, options) {
1313
1313
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -1325,7 +1325,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
1325
1325
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
1326
1326
  }
1327
1327
  listSinglePages(requestParameters = {}, options) {
1328
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1328
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.publishPhase, requestParameters.contributor, requestParameters.sortOrder, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
1329
1329
  }
1330
1330
  publishSinglePage(requestParameters, options) {
1331
1331
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -1497,7 +1497,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1497
1497
  options: localVarRequestOptions
1498
1498
  };
1499
1499
  },
1500
- listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
1500
+ listThemes: async (uninstalled, size, page, fieldSelector, labelSelector, options = {}) => {
1501
1501
  assertParamExists("listThemes", "uninstalled", uninstalled);
1502
1502
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
1503
1503
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1519,12 +1519,12 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1519
1519
  if (page !== void 0) {
1520
1520
  localVarQueryParameter["page"] = page;
1521
1521
  }
1522
- if (labelSelector) {
1523
- localVarQueryParameter["labelSelector"] = labelSelector;
1524
- }
1525
1522
  if (fieldSelector) {
1526
1523
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1527
1524
  }
1525
+ if (labelSelector) {
1526
+ localVarQueryParameter["labelSelector"] = labelSelector;
1527
+ }
1528
1528
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1529
1529
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1530
1530
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1652,8 +1652,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
1652
1652
  const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
1653
1653
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1654
1654
  },
1655
- async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
1656
- const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
1655
+ async listThemes(uninstalled, size, page, fieldSelector, labelSelector, options) {
1656
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, fieldSelector, labelSelector, options);
1657
1657
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1658
1658
  },
1659
1659
  async reload(name, options) {
@@ -1692,8 +1692,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
1692
1692
  installTheme(file, options) {
1693
1693
  return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
1694
1694
  },
1695
- listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
1696
- return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1695
+ listThemes(uninstalled, size, page, fieldSelector, labelSelector, options) {
1696
+ return localVarFp.listThemes(uninstalled, size, page, fieldSelector, labelSelector, options).then((request) => request(axios, basePath));
1697
1697
  },
1698
1698
  reload(name, options) {
1699
1699
  return localVarFp.reload(name, options).then((request) => request(axios, basePath));
@@ -1726,7 +1726,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
1726
1726
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
1727
1727
  }
1728
1728
  listThemes(requestParameters, options) {
1729
- return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1729
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.fieldSelector, requestParameters.labelSelector, options).then((request) => request(this.axios, this.basePath));
1730
1730
  }
1731
1731
  reload(requestParameters, options) {
1732
1732
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -2039,12 +2039,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
2039
2039
  if (version !== void 0) {
2040
2040
  localVarQueryParameter["version"] = version;
2041
2041
  }
2042
- if (kind !== void 0) {
2043
- localVarQueryParameter["kind"] = kind;
2044
- }
2045
2042
  if (group !== void 0) {
2046
2043
  localVarQueryParameter["group"] = group;
2047
2044
  }
2045
+ if (kind !== void 0) {
2046
+ localVarQueryParameter["kind"] = kind;
2047
+ }
2048
2048
  if (size !== void 0) {
2049
2049
  localVarQueryParameter["size"] = size;
2050
2050
  }
@@ -7054,6 +7054,12 @@ const SinglePageSpecVisibleEnum = {
7054
7054
  Private: "PRIVATE"
7055
7055
  };
7056
7056
 
7057
+ const ThemeStatusPhaseEnum = {
7058
+ Ready: "READY",
7059
+ Failed: "FAILED",
7060
+ Unknown: "UNKNOWN"
7061
+ };
7062
+
7057
7063
  exports.ApiConsoleHaloRunV1alpha1AttachmentApi = ApiConsoleHaloRunV1alpha1AttachmentApi;
7058
7064
  exports.ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator;
7059
7065
  exports.ApiConsoleHaloRunV1alpha1AttachmentApiFactory = ApiConsoleHaloRunV1alpha1AttachmentApiFactory;
@@ -7184,6 +7190,7 @@ exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
7184
7190
  exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
7185
7191
  exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
7186
7192
  exports.ThemeHaloRunV1alpha1ThemeApiFp = ThemeHaloRunV1alpha1ThemeApiFp;
7193
+ exports.ThemeStatusPhaseEnum = ThemeStatusPhaseEnum;
7187
7194
  exports.V1alpha1AnnotationSettingApi = V1alpha1AnnotationSettingApi;
7188
7195
  exports.V1alpha1AnnotationSettingApiAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator;
7189
7196
  exports.V1alpha1AnnotationSettingApiFactory = V1alpha1AnnotationSettingApiFactory;