@halo-dev/api-client 0.0.25 → 0.0.26

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, contributor, sortOrder, publishPhase, category, tag, visible, keyword, 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 (contributor) {
473
+ localVarQueryParameter["contributor"] = Array.from(contributor);
474
+ }
475
+ if (sortOrder !== void 0) {
476
+ localVarQueryParameter["sortOrder"] = sortOrder;
477
+ }
478
+ if (publishPhase !== void 0) {
479
+ localVarQueryParameter["publishPhase"] = publishPhase;
480
+ }
481
+ if (category) {
482
+ localVarQueryParameter["category"] = Array.from(category);
483
+ }
484
+ if (tag) {
485
+ localVarQueryParameter["tag"] = Array.from(tag);
474
486
  }
475
- if (categories) {
476
- localVarQueryParameter["categories"] = Array.from(categories);
487
+ if (visible !== void 0) {
488
+ localVarQueryParameter["visible"] = visible;
489
+ }
490
+ if (keyword !== void 0) {
491
+ localVarQueryParameter["keyword"] = keyword;
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, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options) {
568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, 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, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options) {
588
+ return localVarFp.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, 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.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.tag, requestParameters.visible, requestParameters.keyword, 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));
@@ -2789,7 +2804,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2789
2804
  options: localVarRequestOptions
2790
2805
  };
2791
2806
  },
2792
- searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
2807
+ searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2793
2808
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
2794
2809
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2795
2810
  let baseOptions;
@@ -2807,24 +2822,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2807
2822
  if (displayName !== void 0) {
2808
2823
  localVarQueryParameter["displayName"] = displayName;
2809
2824
  }
2810
- if (group !== void 0) {
2811
- localVarQueryParameter["group"] = group;
2812
- }
2813
2825
  if (uploadedBy !== void 0) {
2814
2826
  localVarQueryParameter["uploadedBy"] = uploadedBy;
2815
2827
  }
2828
+ if (group !== void 0) {
2829
+ localVarQueryParameter["group"] = group;
2830
+ }
2816
2831
  if (size !== void 0) {
2817
2832
  localVarQueryParameter["size"] = size;
2818
2833
  }
2819
- if (page !== void 0) {
2820
- localVarQueryParameter["page"] = page;
2821
- }
2822
2834
  if (labelSelector) {
2823
2835
  localVarQueryParameter["labelSelector"] = labelSelector;
2824
2836
  }
2825
2837
  if (fieldSelector) {
2826
2838
  localVarQueryParameter["fieldSelector"] = fieldSelector;
2827
2839
  }
2840
+ if (page !== void 0) {
2841
+ localVarQueryParameter["page"] = page;
2842
+ }
2828
2843
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2829
2844
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2830
2845
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2911,8 +2926,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2911
2926
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
2912
2927
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2913
2928
  },
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);
2929
+ async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2930
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
2916
2931
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2917
2932
  },
2918
2933
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -2940,8 +2955,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
2940
2955
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2941
2956
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2942
2957
  },
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));
2958
+ searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2959
+ return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
2945
2960
  },
2946
2961
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2947
2962
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -2965,7 +2980,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2965
2980
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2966
2981
  }
2967
2982
  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));
2983
+ 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
2984
  }
2970
2985
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2971
2986
  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.26",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "@halo-dev",