@halo-dev/api-client 0.0.67 → 0.0.68

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.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, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
72
+ searchAttachments: async (policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, 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,27 +90,27 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
90
90
  if (displayName !== void 0) {
91
91
  localVarQueryParameter["displayName"] = displayName;
92
92
  }
93
+ if (group !== void 0) {
94
+ localVarQueryParameter["group"] = group;
95
+ }
93
96
  if (ungrouped !== void 0) {
94
97
  localVarQueryParameter["ungrouped"] = ungrouped;
95
98
  }
96
99
  if (uploadedBy !== void 0) {
97
100
  localVarQueryParameter["uploadedBy"] = uploadedBy;
98
101
  }
99
- if (group !== void 0) {
100
- localVarQueryParameter["group"] = group;
101
- }
102
102
  if (size !== void 0) {
103
103
  localVarQueryParameter["size"] = size;
104
104
  }
105
+ if (page !== void 0) {
106
+ localVarQueryParameter["page"] = page;
107
+ }
105
108
  if (labelSelector) {
106
109
  localVarQueryParameter["labelSelector"] = labelSelector;
107
110
  }
108
111
  if (fieldSelector) {
109
112
  localVarQueryParameter["fieldSelector"] = fieldSelector;
110
113
  }
111
- if (page !== void 0) {
112
- localVarQueryParameter["page"] = page;
113
- }
114
114
  setSearchParams(localVarUrlObj, localVarQueryParameter);
115
115
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
116
116
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -158,8 +158,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
158
158
  const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
159
159
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
160
160
  return {
161
- async searchAttachments(policy, sort, displayName, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
162
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
161
+ async searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
162
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options);
163
163
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
164
164
  },
165
165
  async uploadAttachment(file, policyName, groupName, options) {
@@ -171,8 +171,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
171
171
  const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
172
172
  const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
173
173
  return {
174
- searchAttachments(policy, sort, displayName, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
175
- return localVarFp.searchAttachments(policy, sort, displayName, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
174
+ searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options) {
175
+ return localVarFp.searchAttachments(policy, sort, displayName, group, ungrouped, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
176
176
  },
177
177
  uploadAttachment(file, policyName, groupName, options) {
178
178
  return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
@@ -181,7 +181,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
181
181
  };
182
182
  class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
183
183
  searchAttachments(requestParameters = {}, options) {
184
- return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
184
+ return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
185
185
  }
186
186
  uploadAttachment(requestParameters, options) {
187
187
  return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
@@ -237,7 +237,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
237
237
  options: localVarRequestOptions
238
238
  };
239
239
  },
240
- listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options = {}) => {
240
+ listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
241
241
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
242
242
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
243
243
  let baseOptions;
@@ -252,6 +252,15 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
252
252
  if (sort !== void 0) {
253
253
  localVarQueryParameter["sort"] = sort;
254
254
  }
255
+ if (keyword !== void 0) {
256
+ localVarQueryParameter["keyword"] = keyword;
257
+ }
258
+ if (hidden !== void 0) {
259
+ localVarQueryParameter["hidden"] = hidden;
260
+ }
261
+ if (top !== void 0) {
262
+ localVarQueryParameter["top"] = top;
263
+ }
255
264
  if (sortOrder !== void 0) {
256
265
  localVarQueryParameter["sortOrder"] = sortOrder;
257
266
  }
@@ -273,27 +282,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
273
282
  if (subjectName !== void 0) {
274
283
  localVarQueryParameter["subjectName"] = subjectName;
275
284
  }
276
- if (keyword !== void 0) {
277
- localVarQueryParameter["keyword"] = keyword;
278
- }
279
- if (hidden !== void 0) {
280
- localVarQueryParameter["hidden"] = hidden;
281
- }
282
- if (top !== void 0) {
283
- localVarQueryParameter["top"] = top;
284
- }
285
285
  if (size !== void 0) {
286
286
  localVarQueryParameter["size"] = size;
287
287
  }
288
+ if (page !== void 0) {
289
+ localVarQueryParameter["page"] = page;
290
+ }
288
291
  if (labelSelector) {
289
292
  localVarQueryParameter["labelSelector"] = labelSelector;
290
293
  }
291
294
  if (fieldSelector) {
292
295
  localVarQueryParameter["fieldSelector"] = fieldSelector;
293
296
  }
294
- if (page !== void 0) {
295
- localVarQueryParameter["page"] = page;
296
- }
297
297
  setSearchParams(localVarUrlObj, localVarQueryParameter);
298
298
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
299
299
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -315,8 +315,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
315
315
  const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
316
316
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
317
317
  },
318
- async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
319
- const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options);
318
+ async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
319
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
320
320
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
321
321
  }
322
322
  };
@@ -330,8 +330,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
330
330
  createReply(name, replyRequest, options) {
331
331
  return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
332
332
  },
333
- listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
334
- return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
333
+ listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
334
+ return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
335
335
  }
336
336
  };
337
337
  };
@@ -343,7 +343,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
343
343
  return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
344
344
  }
345
345
  listComments(requestParameters = {}, options) {
346
- return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).listComments(requestParameters.sort, requestParameters.sortOrder, requestParameters.approved, requestParameters.allowNotification, requestParameters.ownerKind, requestParameters.ownerName, requestParameters.subjectKind, requestParameters.subjectName, requestParameters.keyword, requestParameters.hidden, requestParameters.top, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
346
+ 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));
347
347
  }
348
348
  }
349
349
 
@@ -538,7 +538,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
538
538
  options: localVarRequestOptions
539
539
  };
540
540
  },
541
- listPlugins: async (sort, keyword, enabled, size, labelSelector, fieldSelector, page, options = {}) => {
541
+ listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
542
542
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
543
543
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
544
544
  let baseOptions;
@@ -553,24 +553,24 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
553
553
  if (sort) {
554
554
  localVarQueryParameter["sort"] = Array.from(sort);
555
555
  }
556
- if (keyword !== void 0) {
557
- localVarQueryParameter["keyword"] = keyword;
558
- }
559
556
  if (enabled !== void 0) {
560
557
  localVarQueryParameter["enabled"] = enabled;
561
558
  }
559
+ if (keyword !== void 0) {
560
+ localVarQueryParameter["keyword"] = keyword;
561
+ }
562
562
  if (size !== void 0) {
563
563
  localVarQueryParameter["size"] = size;
564
564
  }
565
+ if (page !== void 0) {
566
+ localVarQueryParameter["page"] = page;
567
+ }
565
568
  if (labelSelector) {
566
569
  localVarQueryParameter["labelSelector"] = labelSelector;
567
570
  }
568
571
  if (fieldSelector) {
569
572
  localVarQueryParameter["fieldSelector"] = fieldSelector;
570
573
  }
571
- if (page !== void 0) {
572
- localVarQueryParameter["page"] = page;
573
- }
574
574
  setSearchParams(localVarUrlObj, localVarQueryParameter);
575
575
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
576
576
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -637,8 +637,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
637
637
  const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
638
638
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
639
639
  },
640
- async listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
641
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options);
640
+ async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
641
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
642
642
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
643
643
  },
644
644
  async resetPluginConfig(name, options) {
@@ -657,8 +657,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
657
657
  installPlugin(file, options) {
658
658
  return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
659
659
  },
660
- listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options) {
661
- return localVarFp.listPlugins(sort, keyword, enabled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
660
+ listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
661
+ return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
662
662
  },
663
663
  resetPluginConfig(name, options) {
664
664
  return localVarFp.resetPluginConfig(name, options).then((request) => request(axios, basePath));
@@ -673,7 +673,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
673
673
  return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
674
674
  }
675
675
  listPlugins(requestParameters = {}, options) {
676
- return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
676
+ 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));
677
677
  }
678
678
  resetPluginConfig(requestParameters, options) {
679
679
  return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -708,7 +708,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
708
708
  options: localVarRequestOptions
709
709
  };
710
710
  },
711
- listPosts: async (sort, sortOrder, contributor, publishPhase, category, visible, keyword, tag, size, labelSelector, fieldSelector, page, options = {}) => {
711
+ listPosts: async (sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
712
712
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
713
713
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
714
714
  let baseOptions;
@@ -723,39 +723,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
723
723
  if (sort !== void 0) {
724
724
  localVarQueryParameter["sort"] = sort;
725
725
  }
726
- if (sortOrder !== void 0) {
727
- localVarQueryParameter["sortOrder"] = sortOrder;
726
+ if (tag) {
727
+ localVarQueryParameter["tag"] = Array.from(tag);
728
+ }
729
+ if (visible !== void 0) {
730
+ localVarQueryParameter["visible"] = visible;
731
+ }
732
+ if (keyword !== void 0) {
733
+ localVarQueryParameter["keyword"] = keyword;
728
734
  }
729
735
  if (contributor) {
730
736
  localVarQueryParameter["contributor"] = Array.from(contributor);
731
737
  }
738
+ if (sortOrder !== void 0) {
739
+ localVarQueryParameter["sortOrder"] = sortOrder;
740
+ }
732
741
  if (publishPhase !== void 0) {
733
742
  localVarQueryParameter["publishPhase"] = publishPhase;
734
743
  }
735
744
  if (category) {
736
745
  localVarQueryParameter["category"] = Array.from(category);
737
746
  }
738
- if (visible !== void 0) {
739
- localVarQueryParameter["visible"] = visible;
740
- }
741
- if (keyword !== void 0) {
742
- localVarQueryParameter["keyword"] = keyword;
743
- }
744
- if (tag) {
745
- localVarQueryParameter["tag"] = Array.from(tag);
746
- }
747
747
  if (size !== void 0) {
748
748
  localVarQueryParameter["size"] = size;
749
749
  }
750
+ if (page !== void 0) {
751
+ localVarQueryParameter["page"] = page;
752
+ }
750
753
  if (labelSelector) {
751
754
  localVarQueryParameter["labelSelector"] = labelSelector;
752
755
  }
753
756
  if (fieldSelector) {
754
757
  localVarQueryParameter["fieldSelector"] = fieldSelector;
755
758
  }
756
- if (page !== void 0) {
757
- localVarQueryParameter["page"] = page;
758
- }
759
759
  setSearchParams(localVarUrlObj, localVarQueryParameter);
760
760
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
761
761
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -887,8 +887,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
887
887
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
888
888
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
889
889
  },
890
- async listPosts(sort, sortOrder, contributor, publishPhase, category, visible, keyword, tag, size, labelSelector, fieldSelector, page, options) {
891
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, contributor, publishPhase, category, visible, keyword, tag, size, labelSelector, fieldSelector, page, options);
890
+ async listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
891
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
892
892
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
893
893
  },
894
894
  async publishPost(name, headSnapshot, options) {
@@ -919,8 +919,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
919
919
  draftPost(postRequest, options) {
920
920
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
921
921
  },
922
- listPosts(sort, sortOrder, contributor, publishPhase, category, visible, keyword, tag, size, labelSelector, fieldSelector, page, options) {
923
- return localVarFp.listPosts(sort, sortOrder, contributor, publishPhase, category, visible, keyword, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
922
+ listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
923
+ return localVarFp.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
924
924
  },
925
925
  publishPost(name, headSnapshot, options) {
926
926
  return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
@@ -944,7 +944,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
944
944
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
945
945
  }
946
946
  listPosts(requestParameters = {}, options) {
947
- return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.sortOrder, requestParameters.contributor, requestParameters.publishPhase, requestParameters.category, requestParameters.visible, requestParameters.keyword, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
947
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.tag, requestParameters.visible, requestParameters.keyword, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
948
948
  }
949
949
  publishPost(requestParameters, options) {
950
950
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
@@ -965,7 +965,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
965
965
 
966
966
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
967
967
  return {
968
- listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
968
+ listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
969
969
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
970
970
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
971
971
  let baseOptions;
@@ -983,15 +983,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
983
983
  if (size !== void 0) {
984
984
  localVarQueryParameter["size"] = size;
985
985
  }
986
+ if (page !== void 0) {
987
+ localVarQueryParameter["page"] = page;
988
+ }
986
989
  if (labelSelector) {
987
990
  localVarQueryParameter["labelSelector"] = labelSelector;
988
991
  }
989
992
  if (fieldSelector) {
990
993
  localVarQueryParameter["fieldSelector"] = fieldSelector;
991
994
  }
992
- if (page !== void 0) {
993
- localVarQueryParameter["page"] = page;
994
- }
995
995
  setSearchParams(localVarUrlObj, localVarQueryParameter);
996
996
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
997
997
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1005,8 +1005,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
1005
1005
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
1006
1006
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
1007
1007
  return {
1008
- async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
1009
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
1008
+ async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
1009
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
1010
1010
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1011
1011
  }
1012
1012
  };
@@ -1014,14 +1014,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
1014
1014
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
1015
1015
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
1016
1016
  return {
1017
- listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
1018
- return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
1017
+ listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
1018
+ return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1019
1019
  }
1020
1020
  };
1021
1021
  };
1022
1022
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
1023
1023
  listReplies(requestParameters = {}, options) {
1024
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
1024
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1025
1025
  }
1026
1026
  }
1027
1027
 
@@ -1050,7 +1050,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1050
1050
  options: localVarRequestOptions
1051
1051
  };
1052
1052
  },
1053
- listSinglePages: async (sort, sortOrder, contributor, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
1053
+ listSinglePages: async (sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
1054
1054
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
1055
1055
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1056
1056
  let baseOptions;
@@ -1065,33 +1065,33 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1065
1065
  if (sort !== void 0) {
1066
1066
  localVarQueryParameter["sort"] = sort;
1067
1067
  }
1068
- if (sortOrder !== void 0) {
1069
- localVarQueryParameter["sortOrder"] = sortOrder;
1068
+ if (visible !== void 0) {
1069
+ localVarQueryParameter["visible"] = visible;
1070
+ }
1071
+ if (keyword !== void 0) {
1072
+ localVarQueryParameter["keyword"] = keyword;
1070
1073
  }
1071
1074
  if (contributor) {
1072
1075
  localVarQueryParameter["contributor"] = Array.from(contributor);
1073
1076
  }
1077
+ if (sortOrder !== void 0) {
1078
+ localVarQueryParameter["sortOrder"] = sortOrder;
1079
+ }
1074
1080
  if (publishPhase !== void 0) {
1075
1081
  localVarQueryParameter["publishPhase"] = publishPhase;
1076
1082
  }
1077
- if (visible !== void 0) {
1078
- localVarQueryParameter["visible"] = visible;
1079
- }
1080
- if (keyword !== void 0) {
1081
- localVarQueryParameter["keyword"] = keyword;
1082
- }
1083
1083
  if (size !== void 0) {
1084
1084
  localVarQueryParameter["size"] = size;
1085
1085
  }
1086
+ if (page !== void 0) {
1087
+ localVarQueryParameter["page"] = page;
1088
+ }
1086
1089
  if (labelSelector) {
1087
1090
  localVarQueryParameter["labelSelector"] = labelSelector;
1088
1091
  }
1089
1092
  if (fieldSelector) {
1090
1093
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1091
1094
  }
1092
- if (page !== void 0) {
1093
- localVarQueryParameter["page"] = page;
1094
- }
1095
1095
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1096
1096
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1097
1097
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1178,8 +1178,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
1178
1178
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
1179
1179
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1180
1180
  },
1181
- async listSinglePages(sort, sortOrder, contributor, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
1182
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, sortOrder, contributor, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options);
1181
+ async listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
1182
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
1183
1183
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1184
1184
  },
1185
1185
  async publishSinglePage(name, options) {
@@ -1202,8 +1202,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
1202
1202
  draftSinglePage(singlePageRequest, options) {
1203
1203
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
1204
1204
  },
1205
- listSinglePages(sort, sortOrder, contributor, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
1206
- return localVarFp.listSinglePages(sort, sortOrder, contributor, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
1205
+ listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
1206
+ return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1207
1207
  },
1208
1208
  publishSinglePage(name, options) {
1209
1209
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -1221,7 +1221,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
1221
1221
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
1222
1222
  }
1223
1223
  listSinglePages(requestParameters = {}, options) {
1224
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.sortOrder, requestParameters.contributor, requestParameters.publishPhase, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
1224
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1225
1225
  }
1226
1226
  publishSinglePage(requestParameters, options) {
1227
1227
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -1283,6 +1283,27 @@ class ApiConsoleHaloRunV1alpha1StatsApi extends BaseAPI {
1283
1283
 
1284
1284
  const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
1285
1285
  return {
1286
+ activateTheme: async (name, options = {}) => {
1287
+ assertParamExists("activateTheme", "name", name);
1288
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/activation`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1289
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1290
+ let baseOptions;
1291
+ if (configuration) {
1292
+ baseOptions = configuration.baseOptions;
1293
+ }
1294
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1295
+ const localVarHeaderParameter = {};
1296
+ const localVarQueryParameter = {};
1297
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1298
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1299
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1300
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1301
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1302
+ return {
1303
+ url: toPathString(localVarUrlObj),
1304
+ options: localVarRequestOptions
1305
+ };
1306
+ },
1286
1307
  fetchActivatedTheme: async (options = {}) => {
1287
1308
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/-/activation`;
1288
1309
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1372,7 +1393,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1372
1393
  options: localVarRequestOptions
1373
1394
  };
1374
1395
  },
1375
- listThemes: async (uninstalled, size, labelSelector, fieldSelector, page, options = {}) => {
1396
+ listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
1376
1397
  assertParamExists("listThemes", "uninstalled", uninstalled);
1377
1398
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
1378
1399
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1391,15 +1412,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1391
1412
  if (size !== void 0) {
1392
1413
  localVarQueryParameter["size"] = size;
1393
1414
  }
1415
+ if (page !== void 0) {
1416
+ localVarQueryParameter["page"] = page;
1417
+ }
1394
1418
  if (labelSelector) {
1395
1419
  localVarQueryParameter["labelSelector"] = labelSelector;
1396
1420
  }
1397
1421
  if (fieldSelector) {
1398
1422
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1399
1423
  }
1400
- if (page !== void 0) {
1401
- localVarQueryParameter["page"] = page;
1402
- }
1403
1424
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1404
1425
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1405
1426
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1450,8 +1471,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1450
1471
  options: localVarRequestOptions
1451
1472
  };
1452
1473
  },
1453
- updateThemeConfig: async (name, options = {}) => {
1474
+ updateThemeConfig: async (name, configMap, options = {}) => {
1454
1475
  assertParamExists("updateThemeConfig", "name", name);
1476
+ assertParamExists("updateThemeConfig", "configMap", configMap);
1455
1477
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1456
1478
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1457
1479
  let baseOptions;
@@ -1463,9 +1485,11 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1463
1485
  const localVarQueryParameter = {};
1464
1486
  setBasicAuthToObject(localVarRequestOptions, configuration);
1465
1487
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
1488
+ localVarHeaderParameter["Content-Type"] = "application/json";
1466
1489
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1467
1490
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1468
1491
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1492
+ localVarRequestOptions.data = serializeDataIfNeeded(configMap, localVarRequestOptions, configuration);
1469
1493
  return {
1470
1494
  url: toPathString(localVarUrlObj),
1471
1495
  options: localVarRequestOptions
@@ -1504,6 +1528,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1504
1528
  const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
1505
1529
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
1506
1530
  return {
1531
+ async activateTheme(name, options) {
1532
+ const localVarAxiosArgs = await localVarAxiosParamCreator.activateTheme(name, options);
1533
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1534
+ },
1507
1535
  async fetchActivatedTheme(options) {
1508
1536
  const localVarAxiosArgs = await localVarAxiosParamCreator.fetchActivatedTheme(options);
1509
1537
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
@@ -1520,8 +1548,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
1520
1548
  const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
1521
1549
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1522
1550
  },
1523
- async listThemes(uninstalled, size, labelSelector, fieldSelector, page, options) {
1524
- const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector, page, options);
1551
+ async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
1552
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
1525
1553
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1526
1554
  },
1527
1555
  async reload(name, options) {
@@ -1532,8 +1560,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
1532
1560
  const localVarAxiosArgs = await localVarAxiosParamCreator.resetThemeConfig(name, options);
1533
1561
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1534
1562
  },
1535
- async updateThemeConfig(name, options) {
1536
- const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeConfig(name, options);
1563
+ async updateThemeConfig(name, configMap, options) {
1564
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateThemeConfig(name, configMap, options);
1537
1565
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1538
1566
  },
1539
1567
  async upgradeTheme(name, file, options) {
@@ -1545,6 +1573,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
1545
1573
  const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
1546
1574
  const localVarFp = ApiConsoleHaloRunV1alpha1ThemeApiFp(configuration);
1547
1575
  return {
1576
+ activateTheme(name, options) {
1577
+ return localVarFp.activateTheme(name, options).then((request) => request(axios, basePath));
1578
+ },
1548
1579
  fetchActivatedTheme(options) {
1549
1580
  return localVarFp.fetchActivatedTheme(options).then((request) => request(axios, basePath));
1550
1581
  },
@@ -1557,8 +1588,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
1557
1588
  installTheme(file, options) {
1558
1589
  return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
1559
1590
  },
1560
- listThemes(uninstalled, size, labelSelector, fieldSelector, page, options) {
1561
- return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
1591
+ listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
1592
+ return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1562
1593
  },
1563
1594
  reload(name, options) {
1564
1595
  return localVarFp.reload(name, options).then((request) => request(axios, basePath));
@@ -1566,8 +1597,8 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
1566
1597
  resetThemeConfig(name, options) {
1567
1598
  return localVarFp.resetThemeConfig(name, options).then((request) => request(axios, basePath));
1568
1599
  },
1569
- updateThemeConfig(name, options) {
1570
- return localVarFp.updateThemeConfig(name, options).then((request) => request(axios, basePath));
1600
+ updateThemeConfig(name, configMap, options) {
1601
+ return localVarFp.updateThemeConfig(name, configMap, options).then((request) => request(axios, basePath));
1571
1602
  },
1572
1603
  upgradeTheme(name, file, options) {
1573
1604
  return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
@@ -1575,6 +1606,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
1575
1606
  };
1576
1607
  };
1577
1608
  class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
1609
+ activateTheme(requestParameters, options) {
1610
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).activateTheme(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1611
+ }
1578
1612
  fetchActivatedTheme(options) {
1579
1613
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).fetchActivatedTheme(options).then((request) => request(this.axios, this.basePath));
1580
1614
  }
@@ -1588,7 +1622,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
1588
1622
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
1589
1623
  }
1590
1624
  listThemes(requestParameters, options) {
1591
- return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
1625
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1592
1626
  }
1593
1627
  reload(requestParameters, options) {
1594
1628
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -1597,7 +1631,7 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
1597
1631
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).resetThemeConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1598
1632
  }
1599
1633
  updateThemeConfig(requestParameters, options) {
1600
- return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).updateThemeConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1634
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).updateThemeConfig(requestParameters.name, requestParameters.configMap, options).then((request) => request(this.axios, this.basePath));
1601
1635
  }
1602
1636
  upgradeTheme(requestParameters, options) {
1603
1637
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
@@ -1901,12 +1935,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
1901
1935
  if (version !== void 0) {
1902
1936
  localVarQueryParameter["version"] = version;
1903
1937
  }
1904
- if (group !== void 0) {
1905
- localVarQueryParameter["group"] = group;
1906
- }
1907
1938
  if (kind !== void 0) {
1908
1939
  localVarQueryParameter["kind"] = kind;
1909
1940
  }
1941
+ if (group !== void 0) {
1942
+ localVarQueryParameter["group"] = group;
1943
+ }
1910
1944
  if (size !== void 0) {
1911
1945
  localVarQueryParameter["size"] = size;
1912
1946
  }
@@ -1988,7 +2022,7 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
1988
2022
 
1989
2023
  const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
1990
2024
  return {
1991
- searchPost: async (keyword, highlightPreTag, highlightPostTag, limit, options = {}) => {
2025
+ searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
1992
2026
  assertParamExists("searchPost", "keyword", keyword);
1993
2027
  const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
1994
2028
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -2001,18 +2035,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
2001
2035
  const localVarQueryParameter = {};
2002
2036
  setBasicAuthToObject(localVarRequestOptions, configuration);
2003
2037
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
2038
+ if (limit !== void 0) {
2039
+ localVarQueryParameter["limit"] = limit;
2040
+ }
2041
+ if (keyword !== void 0) {
2042
+ localVarQueryParameter["keyword"] = keyword;
2043
+ }
2004
2044
  if (highlightPreTag !== void 0) {
2005
2045
  localVarQueryParameter["highlightPreTag"] = highlightPreTag;
2006
2046
  }
2007
2047
  if (highlightPostTag !== void 0) {
2008
2048
  localVarQueryParameter["highlightPostTag"] = highlightPostTag;
2009
2049
  }
2010
- if (keyword !== void 0) {
2011
- localVarQueryParameter["keyword"] = keyword;
2012
- }
2013
- if (limit !== void 0) {
2014
- localVarQueryParameter["limit"] = limit;
2015
- }
2016
2050
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2017
2051
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2018
2052
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2026,8 +2060,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
2026
2060
  const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
2027
2061
  const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
2028
2062
  return {
2029
- async searchPost(keyword, highlightPreTag, highlightPostTag, limit, options) {
2030
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, highlightPreTag, highlightPostTag, limit, options);
2063
+ async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
2064
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
2031
2065
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2032
2066
  }
2033
2067
  };
@@ -2035,14 +2069,14 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
2035
2069
  const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
2036
2070
  const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
2037
2071
  return {
2038
- searchPost(keyword, highlightPreTag, highlightPostTag, limit, options) {
2039
- return localVarFp.searchPost(keyword, highlightPreTag, highlightPostTag, limit, options).then((request) => request(axios, basePath));
2072
+ searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
2073
+ return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
2040
2074
  }
2041
2075
  };
2042
2076
  };
2043
2077
  class ApiHaloRunV1alpha1PostApi extends BaseAPI {
2044
2078
  searchPost(requestParameters, options) {
2045
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.highlightPreTag, requestParameters.highlightPostTag, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
2079
+ return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
2046
2080
  }
2047
2081
  }
2048
2082