@halo-dev/api-client 0.0.24 → 0.0.25

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, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options = {}) => {
127
+ listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, 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,6 +139,15 @@ 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
+ }
142
151
  if (sortOrder !== void 0) {
143
152
  localVarQueryParameter["sortOrder"] = sortOrder;
144
153
  }
@@ -160,27 +169,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
160
169
  if (subjectName !== void 0) {
161
170
  localVarQueryParameter["subjectName"] = subjectName;
162
171
  }
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
+ }
175
178
  if (labelSelector) {
176
179
  localVarQueryParameter["labelSelector"] = labelSelector;
177
180
  }
178
181
  if (fieldSelector) {
179
182
  localVarQueryParameter["fieldSelector"] = fieldSelector;
180
183
  }
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, 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);
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);
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, 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));
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));
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.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));
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));
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 (sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
465
+ listPosts: async (tags, contributors, categories, size, page, labelSelector, fieldSelector, 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,42 +474,27 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
474
474
  const localVarQueryParameter = {};
475
475
  setBasicAuthToObject(localVarRequestOptions, configuration);
476
476
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
477
- if (sort !== void 0) {
478
- localVarQueryParameter["sort"] = sort;
477
+ if (tags) {
478
+ localVarQueryParameter["tags"] = Array.from(tags);
479
479
  }
480
- if (publishPhase !== void 0) {
481
- localVarQueryParameter["publishPhase"] = publishPhase;
482
- }
483
- if (category) {
484
- localVarQueryParameter["category"] = Array.from(category);
485
- }
486
- if (sortOrder !== void 0) {
487
- localVarQueryParameter["sortOrder"] = sortOrder;
488
- }
489
- if (contributor) {
490
- localVarQueryParameter["contributor"] = Array.from(contributor);
491
- }
492
- if (keyword !== void 0) {
493
- localVarQueryParameter["keyword"] = keyword;
494
- }
495
- if (visible !== void 0) {
496
- localVarQueryParameter["visible"] = visible;
480
+ if (contributors) {
481
+ localVarQueryParameter["contributors"] = Array.from(contributors);
497
482
  }
498
- if (tag) {
499
- localVarQueryParameter["tag"] = Array.from(tag);
483
+ if (categories) {
484
+ localVarQueryParameter["categories"] = Array.from(categories);
500
485
  }
501
486
  if (size !== void 0) {
502
487
  localVarQueryParameter["size"] = size;
503
488
  }
489
+ if (page !== void 0) {
490
+ localVarQueryParameter["page"] = page;
491
+ }
504
492
  if (labelSelector) {
505
493
  localVarQueryParameter["labelSelector"] = labelSelector;
506
494
  }
507
495
  if (fieldSelector) {
508
496
  localVarQueryParameter["fieldSelector"] = fieldSelector;
509
497
  }
510
- if (page !== void 0) {
511
- localVarQueryParameter["page"] = page;
512
- }
513
498
  setSearchParams(localVarUrlObj, localVarQueryParameter);
514
499
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
515
500
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -572,8 +557,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
572
557
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
573
558
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
574
559
  },
575
- async listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
576
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
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);
577
562
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
578
563
  },
579
564
  async publishPost(name, options) {
@@ -592,8 +577,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
592
577
  draftPost(postRequest, options) {
593
578
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
594
579
  },
595
- listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
596
- return localVarFp.listPosts(sort, publishPhase, category, sortOrder, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
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));
597
582
  },
598
583
  publishPost(name, options) {
599
584
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -608,7 +593,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
608
593
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
609
594
  }
610
595
  listPosts(requestParameters = {}, options) {
611
- return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.publishPhase, requestParameters.category, requestParameters.sortOrder, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
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));
612
597
  }
613
598
  publishPost(requestParameters, options) {
614
599
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -620,7 +605,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
620
605
 
621
606
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
622
607
  return {
623
- listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
608
+ listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
624
609
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
625
610
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
626
611
  let baseOptions;
@@ -638,15 +623,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
638
623
  if (size !== void 0) {
639
624
  localVarQueryParameter["size"] = size;
640
625
  }
626
+ if (page !== void 0) {
627
+ localVarQueryParameter["page"] = page;
628
+ }
641
629
  if (labelSelector) {
642
630
  localVarQueryParameter["labelSelector"] = labelSelector;
643
631
  }
644
632
  if (fieldSelector) {
645
633
  localVarQueryParameter["fieldSelector"] = fieldSelector;
646
634
  }
647
- if (page !== void 0) {
648
- localVarQueryParameter["page"] = page;
649
- }
650
635
  setSearchParams(localVarUrlObj, localVarQueryParameter);
651
636
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
652
637
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -660,8 +645,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
660
645
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
661
646
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
662
647
  return {
663
- async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
664
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
648
+ async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
649
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
665
650
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
666
651
  }
667
652
  };
@@ -669,14 +654,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
669
654
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
670
655
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
671
656
  return {
672
- listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
673
- return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
657
+ listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
658
+ return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
674
659
  }
675
660
  };
676
661
  };
677
662
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
678
663
  listReplies(requestParameters = {}, options) {
679
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
664
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
680
665
  }
681
666
  }
682
667
 
@@ -705,7 +690,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
705
690
  options: localVarRequestOptions
706
691
  };
707
692
  },
708
- listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
693
+ listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
709
694
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
710
695
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
711
696
  let baseOptions;
@@ -723,15 +708,15 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
723
708
  if (size !== void 0) {
724
709
  localVarQueryParameter["size"] = size;
725
710
  }
711
+ if (page !== void 0) {
712
+ localVarQueryParameter["page"] = page;
713
+ }
726
714
  if (labelSelector) {
727
715
  localVarQueryParameter["labelSelector"] = labelSelector;
728
716
  }
729
717
  if (fieldSelector) {
730
718
  localVarQueryParameter["fieldSelector"] = fieldSelector;
731
719
  }
732
- if (page !== void 0) {
733
- localVarQueryParameter["page"] = page;
734
- }
735
720
  setSearchParams(localVarUrlObj, localVarQueryParameter);
736
721
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
737
722
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -794,8 +779,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
794
779
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
795
780
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
796
781
  },
797
- async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
798
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
782
+ async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
783
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
799
784
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
800
785
  },
801
786
  async publishSinglePage(name, options) {
@@ -814,8 +799,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
814
799
  draftSinglePage(singlePageRequest, options) {
815
800
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
816
801
  },
817
- listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
818
- return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
802
+ listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
803
+ return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
819
804
  },
820
805
  publishSinglePage(name, options) {
821
806
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -830,7 +815,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
830
815
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
831
816
  }
832
817
  listSinglePages(requestParameters = {}, options) {
833
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
818
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
834
819
  }
835
820
  publishSinglePage(requestParameters, options) {
836
821
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -2812,7 +2797,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2812
2797
  options: localVarRequestOptions
2813
2798
  };
2814
2799
  },
2815
- searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2800
+ searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
2816
2801
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
2817
2802
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2818
2803
  let baseOptions;
@@ -2830,24 +2815,24 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
2830
2815
  if (displayName !== void 0) {
2831
2816
  localVarQueryParameter["displayName"] = displayName;
2832
2817
  }
2833
- if (uploadedBy !== void 0) {
2834
- localVarQueryParameter["uploadedBy"] = uploadedBy;
2835
- }
2836
2818
  if (group !== void 0) {
2837
2819
  localVarQueryParameter["group"] = group;
2838
2820
  }
2821
+ if (uploadedBy !== void 0) {
2822
+ localVarQueryParameter["uploadedBy"] = uploadedBy;
2823
+ }
2839
2824
  if (size !== void 0) {
2840
2825
  localVarQueryParameter["size"] = size;
2841
2826
  }
2827
+ if (page !== void 0) {
2828
+ localVarQueryParameter["page"] = page;
2829
+ }
2842
2830
  if (labelSelector) {
2843
2831
  localVarQueryParameter["labelSelector"] = labelSelector;
2844
2832
  }
2845
2833
  if (fieldSelector) {
2846
2834
  localVarQueryParameter["fieldSelector"] = fieldSelector;
2847
2835
  }
2848
- if (page !== void 0) {
2849
- localVarQueryParameter["page"] = page;
2850
- }
2851
2836
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2852
2837
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2853
2838
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -2934,8 +2919,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2934
2919
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
2935
2920
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2936
2921
  },
2937
- async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2938
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
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);
2939
2924
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2940
2925
  },
2941
2926
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -2963,8 +2948,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
2963
2948
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2964
2949
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2965
2950
  },
2966
- searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2967
- return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
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));
2968
2953
  },
2969
2954
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2970
2955
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -2988,7 +2973,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2988
2973
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2989
2974
  }
2990
2975
  searchAttachments(requestParameters = {}, options) {
2991
- 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));
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));
2992
2977
  }
2993
2978
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2994
2979
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));