@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.mjs CHANGED
@@ -116,7 +116,7 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
116
116
  options: localVarRequestOptions
117
117
  };
118
118
  },
119
- listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options = {}) => {
119
+ listComments: async (sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options = {}) => {
120
120
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/comments`;
121
121
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
122
122
  let baseOptions;
@@ -131,15 +131,6 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
131
131
  if (sort !== void 0) {
132
132
  localVarQueryParameter["sort"] = sort;
133
133
  }
134
- if (keyword !== void 0) {
135
- localVarQueryParameter["keyword"] = keyword;
136
- }
137
- if (hidden !== void 0) {
138
- localVarQueryParameter["hidden"] = hidden;
139
- }
140
- if (top !== void 0) {
141
- localVarQueryParameter["top"] = top;
142
- }
143
134
  if (sortOrder !== void 0) {
144
135
  localVarQueryParameter["sortOrder"] = sortOrder;
145
136
  }
@@ -161,18 +152,27 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
161
152
  if (subjectName !== void 0) {
162
153
  localVarQueryParameter["subjectName"] = subjectName;
163
154
  }
155
+ if (keyword !== void 0) {
156
+ localVarQueryParameter["keyword"] = keyword;
157
+ }
158
+ if (hidden !== void 0) {
159
+ localVarQueryParameter["hidden"] = hidden;
160
+ }
161
+ if (top !== void 0) {
162
+ localVarQueryParameter["top"] = top;
163
+ }
164
164
  if (size !== void 0) {
165
165
  localVarQueryParameter["size"] = size;
166
166
  }
167
- if (page !== void 0) {
168
- localVarQueryParameter["page"] = page;
169
- }
170
167
  if (labelSelector) {
171
168
  localVarQueryParameter["labelSelector"] = labelSelector;
172
169
  }
173
170
  if (fieldSelector) {
174
171
  localVarQueryParameter["fieldSelector"] = fieldSelector;
175
172
  }
173
+ if (page !== void 0) {
174
+ localVarQueryParameter["page"] = page;
175
+ }
176
176
  setSearchParams(localVarUrlObj, localVarQueryParameter);
177
177
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
178
178
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -194,8 +194,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFp = function(configuration) {
194
194
  const localVarAxiosArgs = await localVarAxiosParamCreator.createReply(name, replyRequest, options);
195
195
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
196
196
  },
197
- async listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
198
- const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options);
197
+ async listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
198
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options);
199
199
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
200
200
  }
201
201
  };
@@ -209,8 +209,8 @@ const ApiConsoleHaloRunV1alpha1CommentApiFactory = function(configuration, baseP
209
209
  createReply(name, replyRequest, options) {
210
210
  return localVarFp.createReply(name, replyRequest, options).then((request) => request(axios, basePath));
211
211
  },
212
- listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options) {
213
- return localVarFp.listComments(sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
212
+ listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options) {
213
+ return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
214
214
  }
215
215
  };
216
216
  };
@@ -222,7 +222,7 @@ class ApiConsoleHaloRunV1alpha1CommentApi extends BaseAPI {
222
222
  return ApiConsoleHaloRunV1alpha1CommentApiFp(this.configuration).createReply(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
223
223
  }
224
224
  listComments(requestParameters = {}, options) {
225
- 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));
225
+ 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));
226
226
  }
227
227
  }
228
228
 
@@ -454,7 +454,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
454
454
  options: localVarRequestOptions
455
455
  };
456
456
  },
457
- listPosts: async (tags, contributors, categories, size, page, labelSelector, fieldSelector, options = {}) => {
457
+ listPosts: async (sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
458
458
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
459
459
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
460
460
  let baseOptions;
@@ -466,27 +466,42 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
466
466
  const localVarQueryParameter = {};
467
467
  setBasicAuthToObject(localVarRequestOptions, configuration);
468
468
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
469
- if (tags) {
470
- localVarQueryParameter["tags"] = Array.from(tags);
469
+ if (sort !== void 0) {
470
+ localVarQueryParameter["sort"] = sort;
471
471
  }
472
- if (contributors) {
473
- localVarQueryParameter["contributors"] = Array.from(contributors);
472
+ if (publishPhase !== void 0) {
473
+ localVarQueryParameter["publishPhase"] = publishPhase;
474
+ }
475
+ if (category) {
476
+ localVarQueryParameter["category"] = Array.from(category);
477
+ }
478
+ if (contributor) {
479
+ localVarQueryParameter["contributor"] = Array.from(contributor);
480
+ }
481
+ if (sortOrder !== void 0) {
482
+ localVarQueryParameter["sortOrder"] = sortOrder;
483
+ }
484
+ if (keyword !== void 0) {
485
+ localVarQueryParameter["keyword"] = keyword;
486
+ }
487
+ if (visible !== void 0) {
488
+ localVarQueryParameter["visible"] = visible;
474
489
  }
475
- if (categories) {
476
- localVarQueryParameter["categories"] = Array.from(categories);
490
+ if (tag) {
491
+ localVarQueryParameter["tag"] = Array.from(tag);
477
492
  }
478
493
  if (size !== void 0) {
479
494
  localVarQueryParameter["size"] = size;
480
495
  }
481
- if (page !== void 0) {
482
- localVarQueryParameter["page"] = page;
483
- }
484
496
  if (labelSelector) {
485
497
  localVarQueryParameter["labelSelector"] = labelSelector;
486
498
  }
487
499
  if (fieldSelector) {
488
500
  localVarQueryParameter["fieldSelector"] = fieldSelector;
489
501
  }
502
+ if (page !== void 0) {
503
+ localVarQueryParameter["page"] = page;
504
+ }
490
505
  setSearchParams(localVarUrlObj, localVarQueryParameter);
491
506
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
492
507
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -549,8 +564,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
549
564
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
550
565
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
551
566
  },
552
- async listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
553
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options);
567
+ async listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
554
569
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
555
570
  },
556
571
  async publishPost(name, options) {
@@ -569,8 +584,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
569
584
  draftPost(postRequest, options) {
570
585
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
571
586
  },
572
- listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options) {
573
- return localVarFp.listPosts(tags, contributors, categories, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
587
+ listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
588
+ return localVarFp.listPosts(sort, publishPhase, category, contributor, sortOrder, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
574
589
  },
575
590
  publishPost(name, options) {
576
591
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -585,7 +600,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
585
600
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
586
601
  }
587
602
  listPosts(requestParameters = {}, options) {
588
- 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));
603
+ 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));
589
604
  }
590
605
  publishPost(requestParameters, options) {
591
606
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -597,7 +612,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
597
612
 
598
613
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
599
614
  return {
600
- listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
615
+ listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
601
616
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
602
617
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
603
618
  let baseOptions;
@@ -615,15 +630,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
615
630
  if (size !== void 0) {
616
631
  localVarQueryParameter["size"] = size;
617
632
  }
618
- if (page !== void 0) {
619
- localVarQueryParameter["page"] = page;
620
- }
621
633
  if (labelSelector) {
622
634
  localVarQueryParameter["labelSelector"] = labelSelector;
623
635
  }
624
636
  if (fieldSelector) {
625
637
  localVarQueryParameter["fieldSelector"] = fieldSelector;
626
638
  }
639
+ if (page !== void 0) {
640
+ localVarQueryParameter["page"] = page;
641
+ }
627
642
  setSearchParams(localVarUrlObj, localVarQueryParameter);
628
643
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
629
644
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -637,8 +652,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
637
652
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
638
653
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
639
654
  return {
640
- async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
641
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
655
+ async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
656
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
642
657
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
643
658
  }
644
659
  };
@@ -646,14 +661,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
646
661
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
647
662
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
648
663
  return {
649
- listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
650
- return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
664
+ listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
665
+ return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
651
666
  }
652
667
  };
653
668
  };
654
669
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
655
670
  listReplies(requestParameters = {}, options) {
656
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
671
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
657
672
  }
658
673
  }
659
674
 
@@ -682,7 +697,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
682
697
  options: localVarRequestOptions
683
698
  };
684
699
  },
685
- listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
700
+ listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
686
701
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
687
702
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
688
703
  let baseOptions;
@@ -700,15 +715,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
700
715
  if (size !== void 0) {
701
716
  localVarQueryParameter["size"] = size;
702
717
  }
703
- if (page !== void 0) {
704
- localVarQueryParameter["page"] = page;
705
- }
706
718
  if (labelSelector) {
707
719
  localVarQueryParameter["labelSelector"] = labelSelector;
708
720
  }
709
721
  if (fieldSelector) {
710
722
  localVarQueryParameter["fieldSelector"] = fieldSelector;
711
723
  }
724
+ if (page !== void 0) {
725
+ localVarQueryParameter["page"] = page;
726
+ }
712
727
  setSearchParams(localVarUrlObj, localVarQueryParameter);
713
728
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
714
729
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -771,8 +786,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
771
786
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
772
787
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
773
788
  },
774
- async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
775
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
789
+ async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
776
791
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
777
792
  },
778
793
  async publishSinglePage(name, options) {
@@ -791,8 +806,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
791
806
  draftSinglePage(singlePageRequest, options) {
792
807
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
793
808
  },
794
- listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
795
- return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
809
+ listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
810
+ return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
796
811
  },
797
812
  publishSinglePage(name, options) {
798
813
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -807,7 +822,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
807
822
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
808
823
  }
809
824
  listSinglePages(requestParameters = {}, options) {
810
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
825
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
811
826
  }
812
827
  publishSinglePage(requestParameters, options) {
813
828
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -845,6 +860,27 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
845
860
  url: toPathString(localVarUrlObj),
846
861
  options: localVarRequestOptions
847
862
  };
863
+ },
864
+ reloadThemeSetting: async (name, options = {}) => {
865
+ assertParamExists("reloadThemeSetting", "name", name);
866
+ const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
867
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
868
+ let baseOptions;
869
+ if (configuration) {
870
+ baseOptions = configuration.baseOptions;
871
+ }
872
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
873
+ const localVarHeaderParameter = {};
874
+ const localVarQueryParameter = {};
875
+ setBasicAuthToObject(localVarRequestOptions, configuration);
876
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
877
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
878
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
879
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
880
+ return {
881
+ url: toPathString(localVarUrlObj),
882
+ options: localVarRequestOptions
883
+ };
848
884
  }
849
885
  };
850
886
  };
@@ -854,6 +890,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
854
890
  async installTheme(file, options) {
855
891
  const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
856
892
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
893
+ },
894
+ async reloadThemeSetting(name, options) {
895
+ const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
896
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
857
897
  }
858
898
  };
859
899
  };
@@ -862,6 +902,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
862
902
  return {
863
903
  installTheme(file, options) {
864
904
  return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
905
+ },
906
+ reloadThemeSetting(name, options) {
907
+ return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
865
908
  }
866
909
  };
867
910
  };
@@ -869,6 +912,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
869
912
  installTheme(requestParameters, options) {
870
913
  return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
871
914
  }
915
+ reloadThemeSetting(requestParameters, options) {
916
+ return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
917
+ }
872
918
  }
873
919
 
874
920
  const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
@@ -2789,7 +2835,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2789
2835
  options: localVarRequestOptions
2790
2836
  };
2791
2837
  },
2792
- searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
2838
+ searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2793
2839
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
2794
2840
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2795
2841
  let baseOptions;
@@ -2807,24 +2853,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2807
2853
  if (displayName !== void 0) {
2808
2854
  localVarQueryParameter["displayName"] = displayName;
2809
2855
  }
2810
- if (group !== void 0) {
2811
- localVarQueryParameter["group"] = group;
2812
- }
2813
2856
  if (uploadedBy !== void 0) {
2814
2857
  localVarQueryParameter["uploadedBy"] = uploadedBy;
2815
2858
  }
2859
+ if (group !== void 0) {
2860
+ localVarQueryParameter["group"] = group;
2861
+ }
2816
2862
  if (size !== void 0) {
2817
2863
  localVarQueryParameter["size"] = size;
2818
2864
  }
2819
- if (page !== void 0) {
2820
- localVarQueryParameter["page"] = page;
2821
- }
2822
2865
  if (labelSelector) {
2823
2866
  localVarQueryParameter["labelSelector"] = labelSelector;
2824
2867
  }
2825
2868
  if (fieldSelector) {
2826
2869
  localVarQueryParameter["fieldSelector"] = fieldSelector;
2827
2870
  }
2871
+ if (page !== void 0) {
2872
+ localVarQueryParameter["page"] = page;
2873
+ }
2828
2874
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2829
2875
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2830
2876
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2911,8 +2957,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2911
2957
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
2912
2958
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2913
2959
  },
2914
- async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2915
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
2960
+ async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2961
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
2916
2962
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2917
2963
  },
2918
2964
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -2940,8 +2986,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
2940
2986
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2941
2987
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2942
2988
  },
2943
- searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
2944
- return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2989
+ searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2990
+ return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
2945
2991
  },
2946
2992
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2947
2993
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -2965,7 +3011,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2965
3011
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2966
3012
  }
2967
3013
  searchAttachments(requestParameters = {}, options) {
2968
- 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));
3014
+ 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));
2969
3015
  }
2970
3016
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2971
3017
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@halo-dev/api-client",
3
- "version": "0.0.25",
3
+ "version": "0.0.27",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "@halo-dev",