@halo-dev/api-client 0.0.61 → 0.0.63-beta.0

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, ungrouped, uploadedBy, group, 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,27 +98,27 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
98
98
  if (displayName !== void 0) {
99
99
  localVarQueryParameter["displayName"] = displayName;
100
100
  }
101
- if (group !== void 0) {
102
- localVarQueryParameter["group"] = group;
103
- }
104
101
  if (ungrouped !== void 0) {
105
102
  localVarQueryParameter["ungrouped"] = ungrouped;
106
103
  }
107
104
  if (uploadedBy !== void 0) {
108
105
  localVarQueryParameter["uploadedBy"] = uploadedBy;
109
106
  }
107
+ if (group !== void 0) {
108
+ localVarQueryParameter["group"] = group;
109
+ }
110
110
  if (size !== void 0) {
111
111
  localVarQueryParameter["size"] = size;
112
112
  }
113
- if (page !== void 0) {
114
- localVarQueryParameter["page"] = page;
115
- }
116
113
  if (labelSelector) {
117
114
  localVarQueryParameter["labelSelector"] = labelSelector;
118
115
  }
119
116
  if (fieldSelector) {
120
117
  localVarQueryParameter["fieldSelector"] = fieldSelector;
121
118
  }
119
+ if (page !== void 0) {
120
+ localVarQueryParameter["page"] = page;
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, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
170
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, sort, displayName, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, 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, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
183
+ return localVarFp.searchAttachments(policy, sort, displayName, ungrouped, uploadedBy, group, size, labelSelector, fieldSelector, page, 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.ungrouped, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, 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, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, 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,15 +260,6 @@ 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;
265
- }
266
- if (hidden !== void 0) {
267
- localVarQueryParameter["hidden"] = hidden;
268
- }
269
- if (top !== void 0) {
270
- localVarQueryParameter["top"] = top;
271
- }
272
263
  if (sortOrder !== void 0) {
273
264
  localVarQueryParameter["sortOrder"] = sortOrder;
274
265
  }
@@ -290,18 +281,27 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
290
281
  if (subjectName !== void 0) {
291
282
  localVarQueryParameter["subjectName"] = subjectName;
292
283
  }
284
+ if (keyword !== void 0) {
285
+ localVarQueryParameter["keyword"] = keyword;
286
+ }
287
+ if (hidden !== void 0) {
288
+ localVarQueryParameter["hidden"] = hidden;
289
+ }
290
+ if (top !== void 0) {
291
+ localVarQueryParameter["top"] = top;
292
+ }
293
293
  if (size !== void 0) {
294
294
  localVarQueryParameter["size"] = size;
295
295
  }
296
- if (page !== void 0) {
297
- localVarQueryParameter["page"] = page;
298
- }
299
296
  if (labelSelector) {
300
297
  localVarQueryParameter["labelSelector"] = labelSelector;
301
298
  }
302
299
  if (fieldSelector) {
303
300
  localVarQueryParameter["fieldSelector"] = fieldSelector;
304
301
  }
302
+ if (page !== void 0) {
303
+ localVarQueryParameter["page"] = page;
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, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
327
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, 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, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
342
+ return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, 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.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));
355
355
  }
356
356
  }
357
357
 
@@ -546,7 +546,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
546
546
  options: localVarRequestOptions
547
547
  };
548
548
  },
549
- listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
549
+ listPlugins: async (sort, enabled, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
550
550
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
551
551
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
552
552
  let baseOptions;
@@ -570,15 +570,15 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
570
570
  if (size !== void 0) {
571
571
  localVarQueryParameter["size"] = size;
572
572
  }
573
- if (page !== void 0) {
574
- localVarQueryParameter["page"] = page;
575
- }
576
573
  if (labelSelector) {
577
574
  localVarQueryParameter["labelSelector"] = labelSelector;
578
575
  }
579
576
  if (fieldSelector) {
580
577
  localVarQueryParameter["fieldSelector"] = fieldSelector;
581
578
  }
579
+ if (page !== void 0) {
580
+ localVarQueryParameter["page"] = page;
581
+ }
582
582
  setSearchParams(localVarUrlObj, localVarQueryParameter);
583
583
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
584
584
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -587,9 +587,9 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
587
587
  options: localVarRequestOptions
588
588
  };
589
589
  },
590
- resetPluginSettingConfig: async (name, options = {}) => {
591
- assertParamExists("resetPluginSettingConfig", "name", name);
592
- const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/resetconfig`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
590
+ resetPluginConfig: async (name, options = {}) => {
591
+ assertParamExists("resetPluginConfig", "name", name);
592
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/reset-config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
593
593
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
594
594
  let baseOptions;
595
595
  if (configuration) {
@@ -645,12 +645,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
645
645
  const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
646
646
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
647
647
  },
648
- async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
649
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
648
+ async listPlugins(sort, enabled, keyword, size, labelSelector, fieldSelector, page, options) {
649
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, labelSelector, fieldSelector, page, options);
650
650
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
651
651
  },
652
- async resetPluginSettingConfig(name, options) {
653
- const localVarAxiosArgs = await localVarAxiosParamCreator.resetPluginSettingConfig(name, options);
652
+ async resetPluginConfig(name, options) {
653
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetPluginConfig(name, options);
654
654
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
655
655
  },
656
656
  async upgradePlugin(name, file, options) {
@@ -665,11 +665,11 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
665
665
  installPlugin(file, options) {
666
666
  return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
667
667
  },
668
- listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
669
- return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
668
+ listPlugins(sort, enabled, keyword, size, labelSelector, fieldSelector, page, options) {
669
+ return localVarFp.listPlugins(sort, enabled, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
670
670
  },
671
- resetPluginSettingConfig(name, options) {
672
- return localVarFp.resetPluginSettingConfig(name, options).then((request) => request(axios, basePath));
671
+ resetPluginConfig(name, options) {
672
+ return localVarFp.resetPluginConfig(name, options).then((request) => request(axios, basePath));
673
673
  },
674
674
  upgradePlugin(name, file, options) {
675
675
  return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
@@ -681,10 +681,10 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
681
681
  return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
682
682
  }
683
683
  listPlugins(requestParameters = {}, options) {
684
- 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));
684
+ return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
685
685
  }
686
- resetPluginSettingConfig(requestParameters, options) {
687
- return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginSettingConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
686
+ resetPluginConfig(requestParameters, options) {
687
+ return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
688
688
  }
689
689
  upgradePlugin(requestParameters, options) {
690
690
  return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
@@ -716,7 +716,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
716
716
  options: localVarRequestOptions
717
717
  };
718
718
  },
719
- listPosts: async (sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
719
+ listPosts: async (sort, contributor, publishPhase, category, sortOrder, tag, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
720
720
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
721
721
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
722
722
  let baseOptions;
@@ -731,39 +731,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
731
731
  if (sort !== void 0) {
732
732
  localVarQueryParameter["sort"] = sort;
733
733
  }
734
- if (tag) {
735
- localVarQueryParameter["tag"] = Array.from(tag);
736
- }
737
- if (visible !== void 0) {
738
- localVarQueryParameter["visible"] = visible;
739
- }
740
- if (keyword !== void 0) {
741
- localVarQueryParameter["keyword"] = keyword;
742
- }
743
734
  if (contributor) {
744
735
  localVarQueryParameter["contributor"] = Array.from(contributor);
745
736
  }
746
- if (sortOrder !== void 0) {
747
- localVarQueryParameter["sortOrder"] = sortOrder;
748
- }
749
737
  if (publishPhase !== void 0) {
750
738
  localVarQueryParameter["publishPhase"] = publishPhase;
751
739
  }
752
740
  if (category) {
753
741
  localVarQueryParameter["category"] = Array.from(category);
754
742
  }
743
+ if (sortOrder !== void 0) {
744
+ localVarQueryParameter["sortOrder"] = sortOrder;
745
+ }
746
+ if (tag) {
747
+ localVarQueryParameter["tag"] = Array.from(tag);
748
+ }
749
+ if (keyword !== void 0) {
750
+ localVarQueryParameter["keyword"] = keyword;
751
+ }
752
+ if (visible !== void 0) {
753
+ localVarQueryParameter["visible"] = visible;
754
+ }
755
755
  if (size !== void 0) {
756
756
  localVarQueryParameter["size"] = size;
757
757
  }
758
- if (page !== void 0) {
759
- localVarQueryParameter["page"] = page;
760
- }
761
758
  if (labelSelector) {
762
759
  localVarQueryParameter["labelSelector"] = labelSelector;
763
760
  }
764
761
  if (fieldSelector) {
765
762
  localVarQueryParameter["fieldSelector"] = fieldSelector;
766
763
  }
764
+ if (page !== void 0) {
765
+ localVarQueryParameter["page"] = page;
766
+ }
767
767
  setSearchParams(localVarUrlObj, localVarQueryParameter);
768
768
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
769
769
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -895,8 +895,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
895
895
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
896
896
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
897
897
  },
898
- async listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
899
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
898
+ async listPosts(sort, contributor, publishPhase, category, sortOrder, tag, keyword, visible, size, labelSelector, fieldSelector, page, options) {
899
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, contributor, publishPhase, category, sortOrder, tag, keyword, visible, size, labelSelector, fieldSelector, page, options);
900
900
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
901
901
  },
902
902
  async publishPost(name, headSnapshot, options) {
@@ -927,8 +927,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
927
927
  draftPost(postRequest, options) {
928
928
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
929
929
  },
930
- listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
931
- return localVarFp.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
930
+ listPosts(sort, contributor, publishPhase, category, sortOrder, tag, keyword, visible, size, labelSelector, fieldSelector, page, options) {
931
+ return localVarFp.listPosts(sort, contributor, publishPhase, category, sortOrder, tag, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
932
932
  },
933
933
  publishPost(name, headSnapshot, options) {
934
934
  return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
@@ -952,7 +952,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
952
952
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
953
953
  }
954
954
  listPosts(requestParameters = {}, options) {
955
- 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));
955
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.contributor, requestParameters.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.tag, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
956
956
  }
957
957
  publishPost(requestParameters, options) {
958
958
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
@@ -973,7 +973,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
973
973
 
974
974
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
975
975
  return {
976
- listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
976
+ listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
977
977
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
978
978
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
979
979
  let baseOptions;
@@ -991,15 +991,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
991
991
  if (size !== void 0) {
992
992
  localVarQueryParameter["size"] = size;
993
993
  }
994
- if (page !== void 0) {
995
- localVarQueryParameter["page"] = page;
996
- }
997
994
  if (labelSelector) {
998
995
  localVarQueryParameter["labelSelector"] = labelSelector;
999
996
  }
1000
997
  if (fieldSelector) {
1001
998
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1002
999
  }
1000
+ if (page !== void 0) {
1001
+ localVarQueryParameter["page"] = page;
1002
+ }
1003
1003
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1004
1004
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1005
1005
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1013,8 +1013,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
1013
1013
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
1014
1014
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
1015
1015
  return {
1016
- async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
1017
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
1016
+ async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
1017
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
1018
1018
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1019
1019
  }
1020
1020
  };
@@ -1022,14 +1022,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
1022
1022
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
1023
1023
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
1024
1024
  return {
1025
- listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
1026
- return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1025
+ listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
1026
+ return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
1027
1027
  }
1028
1028
  };
1029
1029
  };
1030
1030
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
1031
1031
  listReplies(requestParameters = {}, options) {
1032
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1032
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
1033
1033
  }
1034
1034
  }
1035
1035
 
@@ -1058,7 +1058,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1058
1058
  options: localVarRequestOptions
1059
1059
  };
1060
1060
  },
1061
- listSinglePages: async (sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
1061
+ listSinglePages: async (sort, contributor, publishPhase, sortOrder, keyword, visible, size, labelSelector, fieldSelector, page, options = {}) => {
1062
1062
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
1063
1063
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1064
1064
  let baseOptions;
@@ -1073,33 +1073,33 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
1073
1073
  if (sort !== void 0) {
1074
1074
  localVarQueryParameter["sort"] = sort;
1075
1075
  }
1076
- if (visible !== void 0) {
1077
- localVarQueryParameter["visible"] = visible;
1078
- }
1079
- if (keyword !== void 0) {
1080
- localVarQueryParameter["keyword"] = keyword;
1081
- }
1082
1076
  if (contributor) {
1083
1077
  localVarQueryParameter["contributor"] = Array.from(contributor);
1084
1078
  }
1079
+ if (publishPhase !== void 0) {
1080
+ localVarQueryParameter["publishPhase"] = publishPhase;
1081
+ }
1085
1082
  if (sortOrder !== void 0) {
1086
1083
  localVarQueryParameter["sortOrder"] = sortOrder;
1087
1084
  }
1088
- if (publishPhase !== void 0) {
1089
- localVarQueryParameter["publishPhase"] = publishPhase;
1085
+ if (keyword !== void 0) {
1086
+ localVarQueryParameter["keyword"] = keyword;
1087
+ }
1088
+ if (visible !== void 0) {
1089
+ localVarQueryParameter["visible"] = visible;
1090
1090
  }
1091
1091
  if (size !== void 0) {
1092
1092
  localVarQueryParameter["size"] = size;
1093
1093
  }
1094
- if (page !== void 0) {
1095
- localVarQueryParameter["page"] = page;
1096
- }
1097
1094
  if (labelSelector) {
1098
1095
  localVarQueryParameter["labelSelector"] = labelSelector;
1099
1096
  }
1100
1097
  if (fieldSelector) {
1101
1098
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1102
1099
  }
1100
+ if (page !== void 0) {
1101
+ localVarQueryParameter["page"] = page;
1102
+ }
1103
1103
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1104
1104
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1105
1105
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1186,8 +1186,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
1186
1186
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
1187
1187
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1188
1188
  },
1189
- async listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
1190
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
1189
+ async listSinglePages(sort, contributor, publishPhase, sortOrder, keyword, visible, size, labelSelector, fieldSelector, page, options) {
1190
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, contributor, publishPhase, sortOrder, keyword, visible, size, labelSelector, fieldSelector, page, options);
1191
1191
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1192
1192
  },
1193
1193
  async publishSinglePage(name, options) {
@@ -1210,8 +1210,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
1210
1210
  draftSinglePage(singlePageRequest, options) {
1211
1211
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
1212
1212
  },
1213
- listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
1214
- return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1213
+ listSinglePages(sort, contributor, publishPhase, sortOrder, keyword, visible, size, labelSelector, fieldSelector, page, options) {
1214
+ return localVarFp.listSinglePages(sort, contributor, publishPhase, sortOrder, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
1215
1215
  },
1216
1216
  publishSinglePage(name, options) {
1217
1217
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -1229,7 +1229,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
1229
1229
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
1230
1230
  }
1231
1231
  listSinglePages(requestParameters = {}, options) {
1232
- 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));
1232
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.contributor, requestParameters.publishPhase, requestParameters.sortOrder, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
1233
1233
  }
1234
1234
  publishSinglePage(requestParameters, options) {
1235
1235
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -1318,7 +1318,7 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1318
1318
  options: localVarRequestOptions
1319
1319
  };
1320
1320
  },
1321
- listThemes: async (uninstalled, size, page, labelSelector, fieldSelector, options = {}) => {
1321
+ listThemes: async (uninstalled, size, labelSelector, fieldSelector, page, options = {}) => {
1322
1322
  assertParamExists("listThemes", "uninstalled", uninstalled);
1323
1323
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes`;
1324
1324
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1337,15 +1337,15 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1337
1337
  if (size !== void 0) {
1338
1338
  localVarQueryParameter["size"] = size;
1339
1339
  }
1340
- if (page !== void 0) {
1341
- localVarQueryParameter["page"] = page;
1342
- }
1343
1340
  if (labelSelector) {
1344
1341
  localVarQueryParameter["labelSelector"] = labelSelector;
1345
1342
  }
1346
1343
  if (fieldSelector) {
1347
1344
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1348
1345
  }
1346
+ if (page !== void 0) {
1347
+ localVarQueryParameter["page"] = page;
1348
+ }
1349
1349
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1350
1350
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1351
1351
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1375,9 +1375,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
1375
1375
  options: localVarRequestOptions
1376
1376
  };
1377
1377
  },
1378
- resetThemeSettingConfig: async (name, options = {}) => {
1379
- assertParamExists("resetThemeSettingConfig", "name", name);
1380
- const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/resetconfig`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1378
+ resetThemeConfig: async (name, options = {}) => {
1379
+ assertParamExists("resetThemeConfig", "name", name);
1380
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reset-config`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1381
1381
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1382
1382
  let baseOptions;
1383
1383
  if (configuration) {
@@ -1433,16 +1433,16 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
1433
1433
  const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
1434
1434
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1435
1435
  },
1436
- async listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
1437
- const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options);
1436
+ async listThemes(uninstalled, size, labelSelector, fieldSelector, page, options) {
1437
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listThemes(uninstalled, size, labelSelector, fieldSelector, page, options);
1438
1438
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1439
1439
  },
1440
1440
  async reload(name, options) {
1441
1441
  const localVarAxiosArgs = await localVarAxiosParamCreator.reload(name, options);
1442
1442
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1443
1443
  },
1444
- async resetThemeSettingConfig(name, options) {
1445
- const localVarAxiosArgs = await localVarAxiosParamCreator.resetThemeSettingConfig(name, options);
1444
+ async resetThemeConfig(name, options) {
1445
+ const localVarAxiosArgs = await localVarAxiosParamCreator.resetThemeConfig(name, options);
1446
1446
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1447
1447
  },
1448
1448
  async upgradeTheme(name, file, options) {
@@ -1457,14 +1457,14 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
1457
1457
  installTheme(file, options) {
1458
1458
  return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
1459
1459
  },
1460
- listThemes(uninstalled, size, page, labelSelector, fieldSelector, options) {
1461
- return localVarFp.listThemes(uninstalled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1460
+ listThemes(uninstalled, size, labelSelector, fieldSelector, page, options) {
1461
+ return localVarFp.listThemes(uninstalled, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
1462
1462
  },
1463
1463
  reload(name, options) {
1464
1464
  return localVarFp.reload(name, options).then((request) => request(axios, basePath));
1465
1465
  },
1466
- resetThemeSettingConfig(name, options) {
1467
- return localVarFp.resetThemeSettingConfig(name, options).then((request) => request(axios, basePath));
1466
+ resetThemeConfig(name, options) {
1467
+ return localVarFp.resetThemeConfig(name, options).then((request) => request(axios, basePath));
1468
1468
  },
1469
1469
  upgradeTheme(name, file, options) {
1470
1470
  return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
@@ -1476,13 +1476,13 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
1476
1476
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
1477
1477
  }
1478
1478
  listThemes(requestParameters, options) {
1479
- return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1479
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).listThemes(requestParameters.uninstalled, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
1480
1480
  }
1481
1481
  reload(requestParameters, options) {
1482
1482
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1483
1483
  }
1484
- resetThemeSettingConfig(requestParameters, options) {
1485
- return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).resetThemeSettingConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1484
+ resetThemeConfig(requestParameters, options) {
1485
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).resetThemeConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1486
1486
  }
1487
1487
  upgradeTheme(requestParameters, options) {
1488
1488
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
@@ -1840,7 +1840,7 @@ class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
1840
1840
 
1841
1841
  const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
1842
1842
  return {
1843
- searchPost: async (keyword, limit, highlightPreTag, highlightPostTag, options = {}) => {
1843
+ searchPost: async (keyword, highlightPreTag, highlightPostTag, limit, options = {}) => {
1844
1844
  assertParamExists("searchPost", "keyword", keyword);
1845
1845
  const localVarPath = `/apis/api.halo.run/v1alpha1/indices/post`;
1846
1846
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
@@ -1853,18 +1853,18 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
1853
1853
  const localVarQueryParameter = {};
1854
1854
  setBasicAuthToObject(localVarRequestOptions, configuration);
1855
1855
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
1856
- if (limit !== void 0) {
1857
- localVarQueryParameter["limit"] = limit;
1858
- }
1859
- if (keyword !== void 0) {
1860
- localVarQueryParameter["keyword"] = keyword;
1861
- }
1862
1856
  if (highlightPreTag !== void 0) {
1863
1857
  localVarQueryParameter["highlightPreTag"] = highlightPreTag;
1864
1858
  }
1865
1859
  if (highlightPostTag !== void 0) {
1866
1860
  localVarQueryParameter["highlightPostTag"] = highlightPostTag;
1867
1861
  }
1862
+ if (limit !== void 0) {
1863
+ localVarQueryParameter["limit"] = limit;
1864
+ }
1865
+ if (keyword !== void 0) {
1866
+ localVarQueryParameter["keyword"] = keyword;
1867
+ }
1868
1868
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1869
1869
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1870
1870
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1878,8 +1878,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
1878
1878
  const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
1879
1879
  const localVarAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator(configuration);
1880
1880
  return {
1881
- async searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
1882
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options);
1881
+ async searchPost(keyword, highlightPreTag, highlightPostTag, limit, options) {
1882
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchPost(keyword, highlightPreTag, highlightPostTag, limit, options);
1883
1883
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1884
1884
  }
1885
1885
  };
@@ -1887,14 +1887,14 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
1887
1887
  const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios) {
1888
1888
  const localVarFp = ApiHaloRunV1alpha1PostApiFp(configuration);
1889
1889
  return {
1890
- searchPost(keyword, limit, highlightPreTag, highlightPostTag, options) {
1891
- return localVarFp.searchPost(keyword, limit, highlightPreTag, highlightPostTag, options).then((request) => request(axios, basePath));
1890
+ searchPost(keyword, highlightPreTag, highlightPostTag, limit, options) {
1891
+ return localVarFp.searchPost(keyword, highlightPreTag, highlightPostTag, limit, options).then((request) => request(axios, basePath));
1892
1892
  }
1893
1893
  };
1894
1894
  };
1895
1895
  class ApiHaloRunV1alpha1PostApi extends BaseAPI {
1896
1896
  searchPost(requestParameters, options) {
1897
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.limit, requestParameters.highlightPreTag, requestParameters.highlightPostTag, options).then((request) => request(this.axios, this.basePath));
1897
+ return ApiHaloRunV1alpha1PostApiFp(this.configuration).searchPost(requestParameters.keyword, requestParameters.highlightPreTag, requestParameters.highlightPostTag, requestParameters.limit, options).then((request) => request(this.axios, this.basePath));
1898
1898
  }
1899
1899
  }
1900
1900
 
@@ -4990,6 +4990,192 @@ class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
4990
4990
  }
4991
4991
  }
4992
4992
 
4993
+ const V1alpha1AnnotationSettingApiAxiosParamCreator = function(configuration) {
4994
+ return {
4995
+ createv1alpha1AnnotationSetting: async (annotationSetting, options = {}) => {
4996
+ const localVarPath = `/api/v1alpha1/annotationsettings`;
4997
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
4998
+ let baseOptions;
4999
+ if (configuration) {
5000
+ baseOptions = configuration.baseOptions;
5001
+ }
5002
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
5003
+ const localVarHeaderParameter = {};
5004
+ const localVarQueryParameter = {};
5005
+ setBasicAuthToObject(localVarRequestOptions, configuration);
5006
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
5007
+ localVarHeaderParameter["Content-Type"] = "application/json";
5008
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5009
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5010
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5011
+ localVarRequestOptions.data = serializeDataIfNeeded(annotationSetting, localVarRequestOptions, configuration);
5012
+ return {
5013
+ url: toPathString(localVarUrlObj),
5014
+ options: localVarRequestOptions
5015
+ };
5016
+ },
5017
+ deletev1alpha1AnnotationSetting: async (name, options = {}) => {
5018
+ assertParamExists("deletev1alpha1AnnotationSetting", "name", name);
5019
+ const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
5020
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5021
+ let baseOptions;
5022
+ if (configuration) {
5023
+ baseOptions = configuration.baseOptions;
5024
+ }
5025
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
5026
+ const localVarHeaderParameter = {};
5027
+ const localVarQueryParameter = {};
5028
+ setBasicAuthToObject(localVarRequestOptions, configuration);
5029
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
5030
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5031
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5032
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5033
+ return {
5034
+ url: toPathString(localVarUrlObj),
5035
+ options: localVarRequestOptions
5036
+ };
5037
+ },
5038
+ getv1alpha1AnnotationSetting: async (name, options = {}) => {
5039
+ assertParamExists("getv1alpha1AnnotationSetting", "name", name);
5040
+ const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
5041
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5042
+ let baseOptions;
5043
+ if (configuration) {
5044
+ baseOptions = configuration.baseOptions;
5045
+ }
5046
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
5047
+ const localVarHeaderParameter = {};
5048
+ const localVarQueryParameter = {};
5049
+ setBasicAuthToObject(localVarRequestOptions, configuration);
5050
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
5051
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5052
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5053
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5054
+ return {
5055
+ url: toPathString(localVarUrlObj),
5056
+ options: localVarRequestOptions
5057
+ };
5058
+ },
5059
+ listv1alpha1AnnotationSetting: async (page, size, labelSelector, fieldSelector, options = {}) => {
5060
+ const localVarPath = `/api/v1alpha1/annotationsettings`;
5061
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5062
+ let baseOptions;
5063
+ if (configuration) {
5064
+ baseOptions = configuration.baseOptions;
5065
+ }
5066
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
5067
+ const localVarHeaderParameter = {};
5068
+ const localVarQueryParameter = {};
5069
+ setBasicAuthToObject(localVarRequestOptions, configuration);
5070
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
5071
+ if (page !== void 0) {
5072
+ localVarQueryParameter["page"] = page;
5073
+ }
5074
+ if (size !== void 0) {
5075
+ localVarQueryParameter["size"] = size;
5076
+ }
5077
+ if (labelSelector) {
5078
+ localVarQueryParameter["labelSelector"] = labelSelector;
5079
+ }
5080
+ if (fieldSelector) {
5081
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
5082
+ }
5083
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5084
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5085
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5086
+ return {
5087
+ url: toPathString(localVarUrlObj),
5088
+ options: localVarRequestOptions
5089
+ };
5090
+ },
5091
+ updatev1alpha1AnnotationSetting: async (name, annotationSetting, options = {}) => {
5092
+ assertParamExists("updatev1alpha1AnnotationSetting", "name", name);
5093
+ const localVarPath = `/api/v1alpha1/annotationsettings/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
5094
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
5095
+ let baseOptions;
5096
+ if (configuration) {
5097
+ baseOptions = configuration.baseOptions;
5098
+ }
5099
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
5100
+ const localVarHeaderParameter = {};
5101
+ const localVarQueryParameter = {};
5102
+ setBasicAuthToObject(localVarRequestOptions, configuration);
5103
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
5104
+ localVarHeaderParameter["Content-Type"] = "application/json";
5105
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
5106
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
5107
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
5108
+ localVarRequestOptions.data = serializeDataIfNeeded(annotationSetting, localVarRequestOptions, configuration);
5109
+ return {
5110
+ url: toPathString(localVarUrlObj),
5111
+ options: localVarRequestOptions
5112
+ };
5113
+ }
5114
+ };
5115
+ };
5116
+ const V1alpha1AnnotationSettingApiFp = function(configuration) {
5117
+ const localVarAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator(configuration);
5118
+ return {
5119
+ async createv1alpha1AnnotationSetting(annotationSetting, options) {
5120
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createv1alpha1AnnotationSetting(annotationSetting, options);
5121
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
5122
+ },
5123
+ async deletev1alpha1AnnotationSetting(name, options) {
5124
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletev1alpha1AnnotationSetting(name, options);
5125
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
5126
+ },
5127
+ async getv1alpha1AnnotationSetting(name, options) {
5128
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getv1alpha1AnnotationSetting(name, options);
5129
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
5130
+ },
5131
+ async listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options) {
5132
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options);
5133
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
5134
+ },
5135
+ async updatev1alpha1AnnotationSetting(name, annotationSetting, options) {
5136
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatev1alpha1AnnotationSetting(name, annotationSetting, options);
5137
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
5138
+ }
5139
+ };
5140
+ };
5141
+ const V1alpha1AnnotationSettingApiFactory = function(configuration, basePath, axios) {
5142
+ const localVarFp = V1alpha1AnnotationSettingApiFp(configuration);
5143
+ return {
5144
+ createv1alpha1AnnotationSetting(annotationSetting, options) {
5145
+ return localVarFp.createv1alpha1AnnotationSetting(annotationSetting, options).then((request) => request(axios, basePath));
5146
+ },
5147
+ deletev1alpha1AnnotationSetting(name, options) {
5148
+ return localVarFp.deletev1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
5149
+ },
5150
+ getv1alpha1AnnotationSetting(name, options) {
5151
+ return localVarFp.getv1alpha1AnnotationSetting(name, options).then((request) => request(axios, basePath));
5152
+ },
5153
+ listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options) {
5154
+ return localVarFp.listv1alpha1AnnotationSetting(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
5155
+ },
5156
+ updatev1alpha1AnnotationSetting(name, annotationSetting, options) {
5157
+ return localVarFp.updatev1alpha1AnnotationSetting(name, annotationSetting, options).then((request) => request(axios, basePath));
5158
+ }
5159
+ };
5160
+ };
5161
+ class V1alpha1AnnotationSettingApi extends BaseAPI {
5162
+ createv1alpha1AnnotationSetting(requestParameters = {}, options) {
5163
+ return V1alpha1AnnotationSettingApiFp(this.configuration).createv1alpha1AnnotationSetting(requestParameters.annotationSetting, options).then((request) => request(this.axios, this.basePath));
5164
+ }
5165
+ deletev1alpha1AnnotationSetting(requestParameters, options) {
5166
+ return V1alpha1AnnotationSettingApiFp(this.configuration).deletev1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
5167
+ }
5168
+ getv1alpha1AnnotationSetting(requestParameters, options) {
5169
+ return V1alpha1AnnotationSettingApiFp(this.configuration).getv1alpha1AnnotationSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
5170
+ }
5171
+ listv1alpha1AnnotationSetting(requestParameters = {}, options) {
5172
+ return V1alpha1AnnotationSettingApiFp(this.configuration).listv1alpha1AnnotationSetting(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
5173
+ }
5174
+ updatev1alpha1AnnotationSetting(requestParameters, options) {
5175
+ return V1alpha1AnnotationSettingApiFp(this.configuration).updatev1alpha1AnnotationSetting(requestParameters.name, requestParameters.annotationSetting, options).then((request) => request(this.axios, this.basePath));
5176
+ }
5177
+ }
5178
+
4993
5179
  const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
4994
5180
  return {
4995
5181
  createv1alpha1ConfigMap: async (configMap, options = {}) => {
@@ -6646,6 +6832,10 @@ exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
6646
6832
  exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
6647
6833
  exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
6648
6834
  exports.ThemeHaloRunV1alpha1ThemeApiFp = ThemeHaloRunV1alpha1ThemeApiFp;
6835
+ exports.V1alpha1AnnotationSettingApi = V1alpha1AnnotationSettingApi;
6836
+ exports.V1alpha1AnnotationSettingApiAxiosParamCreator = V1alpha1AnnotationSettingApiAxiosParamCreator;
6837
+ exports.V1alpha1AnnotationSettingApiFactory = V1alpha1AnnotationSettingApiFactory;
6838
+ exports.V1alpha1AnnotationSettingApiFp = V1alpha1AnnotationSettingApiFp;
6649
6839
  exports.V1alpha1ConfigMapApi = V1alpha1ConfigMapApi;
6650
6840
  exports.V1alpha1ConfigMapApiAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator;
6651
6841
  exports.V1alpha1ConfigMapApiFactory = V1alpha1ConfigMapApiFactory;