@halo-dev/api-client 0.0.25 → 0.0.27

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
@@ -124,7 +124,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
124
124
  options: localVarRequestOptions
125
125
  };
126
126
  },
127
- listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
127
+ listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options = {}) => {
128
128
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
129
129
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
130
130
  let baseOptions;
@@ -139,15 +139,6 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
139
139
  if (sort !== void 0) {
140
140
  localVarQueryParameter["sort"] = sort;
141
141
  }
142
- if (keyword !== void 0) {
143
- localVarQueryParameter["keyword"] = keyword;
144
- }
145
- if (hidden !== void 0) {
146
- localVarQueryParameter["hidden"] = hidden;
147
- }
148
- if (top !== void 0) {
149
- localVarQueryParameter["top"] = top;
150
- }
151
142
  if (sortOrder !== void 0) {
152
143
  localVarQueryParameter["sortOrder"] = sortOrder;
153
144
  }
@@ -169,18 +160,27 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
169
160
  if (subjectName !== void 0) {
170
161
  localVarQueryParameter["subjectName"] = subjectName;
171
162
  }
163
+ if (keyword !== void 0) {
164
+ localVarQueryParameter["keyword"] = keyword;
165
+ }
166
+ if (hidden !== void 0) {
167
+ localVarQueryParameter["hidden"] = hidden;
168
+ }
169
+ if (top !== void 0) {
170
+ localVarQueryParameter["top"] = top;
171
+ }
172
172
  if (size !== void 0) {
173
173
  localVarQueryParameter["size"] = size;
174
174
  }
175
- if (page !== void 0) {
176
- localVarQueryParameter["page"] = page;
177
- }
178
175
  if (labelSelector) {
179
176
  localVarQueryParameter["labelSelector"] = labelSelector;
180
177
  }
181
178
  if (fieldSelector) {
182
179
  localVarQueryParameter["fieldSelector"] = fieldSelector;
183
180
  }
181
+ if (page !== void 0) {
182
+ localVarQueryParameter["page"] = page;
183
+ }
184
184
  setSearchParams(localVarUrlObj, localVarQueryParameter);
185
185
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
186
186
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -202,8 +202,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
202
202
  const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
203
203
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
204
204
  },
205
- async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
206
- const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
205
+ async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
206
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options);
207
207
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
208
208
  }
209
209
  };
@@ -217,8 +217,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
217
217
  createReply(name, replyRequest, options) {
218
218
  return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
219
219
  },
220
- listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
221
- return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
220
+ listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
221
+ return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
222
222
  }
223
223
  };
224
224
  };
@@ -230,7 +230,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
230
230
  return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
231
231
  }
232
232
  listComments(requestParameters = {}, options) {
233
- 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));
233
+ 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));
234
234
  }
235
235
  }
236
236
 
@@ -462,7 +462,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
462
462
  options: localVarRequestOptions
463
463
  };
464
464
  },
465
- listPosts: async (tags, contributors, categories, size, page, labelSelector, fieldSelector, options = {}) => {
465
+ listPosts: async (sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
466
466
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
467
467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
468
468
  let baseOptions;
@@ -474,27 +474,42 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
474
474
  const localVarQueryParameter = {};
475
475
  setBasicAuthToObject(localVarRequestOptions, configuration);
476
476
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
477
- if (tags) {
478
- localVarQueryParameter["tags"] = Array.from(tags);
477
+ if (sort !== void 0) {
478
+ localVarQueryParameter["sort"] = sort;
479
479
  }
480
- if (contributors) {
481
- localVarQueryParameter["contributors"] = Array.from(contributors);
480
+ if (publishPhase !== void 0) {
481
+ localVarQueryParameter["publishPhase"] = publishPhase;
482
+ }
483
+ if (category) {
484
+ localVarQueryParameter["category"] = Array.from(category);
485
+ }
486
+ if (contributor) {
487
+ localVarQueryParameter["contributor"] = Array.from(contributor);
488
+ }
489
+ if (sortOrder !== void 0) {
490
+ localVarQueryParameter["sortOrder"] = sortOrder;
491
+ }
492
+ if (keyword !== void 0) {
493
+ localVarQueryParameter["keyword"] = keyword;
494
+ }
495
+ if (visible !== void 0) {
496
+ localVarQueryParameter["visible"] = visible;
482
497
  }
483
- if (categories) {
484
- localVarQueryParameter["categories"] = Array.from(categories);
498
+ if (tag) {
499
+ localVarQueryParameter["tag"] = Array.from(tag);
485
500
  }
486
501
  if (size !== void 0) {
487
502
  localVarQueryParameter["size"] = size;
488
503
  }
489
- if (page !== void 0) {
490
- localVarQueryParameter["page"] = page;
491
- }
492
504
  if (labelSelector) {
493
505
  localVarQueryParameter["labelSelector"] = labelSelector;
494
506
  }
495
507
  if (fieldSelector) {
496
508
  localVarQueryParameter["fieldSelector"] = fieldSelector;
497
509
  }
510
+ if (page !== void 0) {
511
+ localVarQueryParameter["page"] = page;
512
+ }
498
513
  setSearchParams(localVarUrlObj, localVarQueryParameter);
499
514
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
500
515
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -557,8 +572,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
557
572
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
558
573
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
559
574
  },
560
- async listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
561
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options);
575
+ async listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
562
577
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
563
578
  },
564
579
  async publishPost(name, options) {
@@ -577,8 +592,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
577
592
  draftPost(postRequest, options) {
578
593
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
579
594
  },
580
- listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
581
- return localVarFp.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
595
+ listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
596
+ return localVarFp.listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
582
597
  },
583
598
  publishPost(name, options) {
584
599
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -593,7 +608,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
593
608
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
594
609
  }
595
610
  listPosts(requestParameters = {}, options) {
596
- return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.tags, requestParameters.contributors, requestParameters.categories, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
611
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.sortOrder, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
597
612
  }
598
613
  publishPost(requestParameters, options) {
599
614
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -605,7 +620,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
605
620
 
606
621
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
607
622
  return {
608
- listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
623
+ listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
609
624
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
610
625
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
611
626
  let baseOptions;
@@ -623,15 +638,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
623
638
  if (size !== void 0) {
624
639
  localVarQueryParameter["size"] = size;
625
640
  }
626
- if (page !== void 0) {
627
- localVarQueryParameter["page"] = page;
628
- }
629
641
  if (labelSelector) {
630
642
  localVarQueryParameter["labelSelector"] = labelSelector;
631
643
  }
632
644
  if (fieldSelector) {
633
645
  localVarQueryParameter["fieldSelector"] = fieldSelector;
634
646
  }
647
+ if (page !== void 0) {
648
+ localVarQueryParameter["page"] = page;
649
+ }
635
650
  setSearchParams(localVarUrlObj, localVarQueryParameter);
636
651
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
637
652
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -645,8 +660,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
645
660
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
646
661
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
647
662
  return {
648
- async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
649
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
663
+ async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
664
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
650
665
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
651
666
  }
652
667
  };
@@ -654,14 +669,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
654
669
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
655
670
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
656
671
  return {
657
- listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
658
- return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
672
+ listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
673
+ return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
659
674
  }
660
675
  };
661
676
  };
662
677
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
663
678
  listReplies(requestParameters = {}, options) {
664
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
679
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
665
680
  }
666
681
  }
667
682
 
@@ -690,7 +705,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
690
705
  options: localVarRequestOptions
691
706
  };
692
707
  },
693
- listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
708
+ listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
694
709
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
695
710
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
696
711
  let baseOptions;
@@ -708,15 +723,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
708
723
  if (size !== void 0) {
709
724
  localVarQueryParameter["size"] = size;
710
725
  }
711
- if (page !== void 0) {
712
- localVarQueryParameter["page"] = page;
713
- }
714
726
  if (labelSelector) {
715
727
  localVarQueryParameter["labelSelector"] = labelSelector;
716
728
  }
717
729
  if (fieldSelector) {
718
730
  localVarQueryParameter["fieldSelector"] = fieldSelector;
719
731
  }
732
+ if (page !== void 0) {
733
+ localVarQueryParameter["page"] = page;
734
+ }
720
735
  setSearchParams(localVarUrlObj, localVarQueryParameter);
721
736
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
722
737
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -779,8 +794,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
779
794
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
780
795
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
781
796
  },
782
- async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
783
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
797
+ async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
798
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
784
799
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
785
800
  },
786
801
  async publishSinglePage(name, options) {
@@ -799,8 +814,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
799
814
  draftSinglePage(singlePageRequest, options) {
800
815
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
801
816
  },
802
- listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
803
- return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
817
+ listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
818
+ return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
804
819
  },
805
820
  publishSinglePage(name, options) {
806
821
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -815,7 +830,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
815
830
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
816
831
  }
817
832
  listSinglePages(requestParameters = {}, options) {
818
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
833
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
819
834
  }
820
835
  publishSinglePage(requestParameters, options) {
821
836
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -853,6 +868,27 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
853
868
  url: toPathString(localVarUrlObj),
854
869
  options: localVarRequestOptions
855
870
  };
871
+ },
872
+ reloadThemeSetting: async (name, options = {}) => {
873
+ assertParamExists("reloadThemeSetting", "name", name);
874
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
875
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
876
+ let baseOptions;
877
+ if (configuration) {
878
+ baseOptions = configuration.baseOptions;
879
+ }
880
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
881
+ const localVarHeaderParameter = {};
882
+ const localVarQueryParameter = {};
883
+ setBasicAuthToObject(localVarRequestOptions, configuration);
884
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
885
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
886
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
887
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
888
+ return {
889
+ url: toPathString(localVarUrlObj),
890
+ options: localVarRequestOptions
891
+ };
856
892
  }
857
893
  };
858
894
  };
@@ -862,6 +898,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
862
898
  async installTheme(file, options) {
863
899
  const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
864
900
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
901
+ },
902
+ async reloadThemeSetting(name, options) {
903
+ const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
904
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
865
905
  }
866
906
  };
867
907
  };
@@ -870,6 +910,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
870
910
  return {
871
911
  installTheme(file, options) {
872
912
  return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
913
+ },
914
+ reloadThemeSetting(name, options) {
915
+ return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
873
916
  }
874
917
  };
875
918
  };
@@ -877,6 +920,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
877
920
  installTheme(requestParameters, options) {
878
921
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
879
922
  }
923
+ reloadThemeSetting(requestParameters, options) {
924
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
925
+ }
880
926
  }
881
927
 
882
928
  const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
@@ -2797,7 +2843,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2797
2843
  options: localVarRequestOptions
2798
2844
  };
2799
2845
  },
2800
- searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
2846
+ searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2801
2847
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
2802
2848
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2803
2849
  let baseOptions;
@@ -2815,24 +2861,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2815
2861
  if (displayName !== void 0) {
2816
2862
  localVarQueryParameter["displayName"] = displayName;
2817
2863
  }
2818
- if (group !== void 0) {
2819
- localVarQueryParameter["group"] = group;
2820
- }
2821
2864
  if (uploadedBy !== void 0) {
2822
2865
  localVarQueryParameter["uploadedBy"] = uploadedBy;
2823
2866
  }
2867
+ if (group !== void 0) {
2868
+ localVarQueryParameter["group"] = group;
2869
+ }
2824
2870
  if (size !== void 0) {
2825
2871
  localVarQueryParameter["size"] = size;
2826
2872
  }
2827
- if (page !== void 0) {
2828
- localVarQueryParameter["page"] = page;
2829
- }
2830
2873
  if (labelSelector) {
2831
2874
  localVarQueryParameter["labelSelector"] = labelSelector;
2832
2875
  }
2833
2876
  if (fieldSelector) {
2834
2877
  localVarQueryParameter["fieldSelector"] = fieldSelector;
2835
2878
  }
2879
+ if (page !== void 0) {
2880
+ localVarQueryParameter["page"] = page;
2881
+ }
2836
2882
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2837
2883
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2838
2884
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2919,8 +2965,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2919
2965
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
2920
2966
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2921
2967
  },
2922
- async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2923
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
2968
+ async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2969
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
2924
2970
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2925
2971
  },
2926
2972
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -2948,8 +2994,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
2948
2994
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2949
2995
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2950
2996
  },
2951
- searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2952
- return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2997
+ searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2998
+ return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
2953
2999
  },
2954
3000
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2955
3001
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -2973,7 +3019,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2973
3019
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2974
3020
  }
2975
3021
  searchAttachments(requestParameters = {}, options) {
2976
- return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3022
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
2977
3023
  }
2978
3024
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2979
3025
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));