@halo-dev/api-client 0.0.29 → 0.0.31

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, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, keyword, hidden, top, size, labelSelector, fieldSelector, page, options = {}) => {
119
+ listComments: async (sort, keyword, hidden, top, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName, size, page, labelSelector, fieldSelector, 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,6 +131,15 @@ 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
+ }
134
143
  if (sortOrder !== void 0) {
135
144
  localVarQueryParameter["sortOrder"] = sortOrder;
136
145
  }
@@ -152,27 +161,18 @@ const ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator = function(configurat
152
161
  if (subjectName !== void 0) {
153
162
  localVarQueryParameter["subjectName"] = subjectName;
154
163
  }
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
+ }
167
170
  if (labelSelector) {
168
171
  localVarQueryParameter["labelSelector"] = labelSelector;
169
172
  }
170
173
  if (fieldSelector) {
171
174
  localVarQueryParameter["fieldSelector"] = fieldSelector;
172
175
  }
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, 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);
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);
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, 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));
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));
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.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));
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));
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 (sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
457
+ listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, 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;
@@ -469,8 +469,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
469
469
  if (sort !== void 0) {
470
470
  localVarQueryParameter["sort"] = sort;
471
471
  }
472
- if (contributor) {
473
- localVarQueryParameter["contributor"] = Array.from(contributor);
472
+ if (keyword !== void 0) {
473
+ localVarQueryParameter["keyword"] = keyword;
474
+ }
475
+ if (visible !== void 0) {
476
+ localVarQueryParameter["visible"] = visible;
477
+ }
478
+ if (tag) {
479
+ localVarQueryParameter["tag"] = Array.from(tag);
474
480
  }
475
481
  if (sortOrder !== void 0) {
476
482
  localVarQueryParameter["sortOrder"] = sortOrder;
@@ -481,27 +487,21 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
481
487
  if (category) {
482
488
  localVarQueryParameter["category"] = Array.from(category);
483
489
  }
484
- if (tag) {
485
- localVarQueryParameter["tag"] = Array.from(tag);
486
- }
487
- if (visible !== void 0) {
488
- localVarQueryParameter["visible"] = visible;
489
- }
490
- if (keyword !== void 0) {
491
- localVarQueryParameter["keyword"] = keyword;
490
+ if (contributor) {
491
+ localVarQueryParameter["contributor"] = Array.from(contributor);
492
492
  }
493
493
  if (size !== void 0) {
494
494
  localVarQueryParameter["size"] = size;
495
495
  }
496
+ if (page !== void 0) {
497
+ localVarQueryParameter["page"] = page;
498
+ }
496
499
  if (labelSelector) {
497
500
  localVarQueryParameter["labelSelector"] = labelSelector;
498
501
  }
499
502
  if (fieldSelector) {
500
503
  localVarQueryParameter["fieldSelector"] = fieldSelector;
501
504
  }
502
- if (page !== void 0) {
503
- localVarQueryParameter["page"] = page;
504
- }
505
505
  setSearchParams(localVarUrlObj, localVarQueryParameter);
506
506
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
507
507
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -564,8 +564,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
564
564
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
565
565
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
566
566
  },
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);
567
+ async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
569
569
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
570
570
  },
571
571
  async publishPost(name, options) {
@@ -584,8 +584,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
584
584
  draftPost(postRequest, options) {
585
585
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
586
586
  },
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));
587
+ listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
588
+ return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
589
589
  },
590
590
  publishPost(name, options) {
591
591
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -600,7 +600,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
600
600
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
601
601
  }
602
602
  listPosts(requestParameters = {}, options) {
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));
603
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
604
604
  }
605
605
  publishPost(requestParameters, options) {
606
606
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -612,7 +612,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
612
612
 
613
613
  const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
614
614
  return {
615
- listReplies: async (commentName, size, labelSelector, fieldSelector, page, options = {}) => {
615
+ listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
616
616
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
617
617
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
618
618
  let baseOptions;
@@ -630,15 +630,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
630
630
  if (size !== void 0) {
631
631
  localVarQueryParameter["size"] = size;
632
632
  }
633
+ if (page !== void 0) {
634
+ localVarQueryParameter["page"] = page;
635
+ }
633
636
  if (labelSelector) {
634
637
  localVarQueryParameter["labelSelector"] = labelSelector;
635
638
  }
636
639
  if (fieldSelector) {
637
640
  localVarQueryParameter["fieldSelector"] = fieldSelector;
638
641
  }
639
- if (page !== void 0) {
640
- localVarQueryParameter["page"] = page;
641
- }
642
642
  setSearchParams(localVarUrlObj, localVarQueryParameter);
643
643
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
644
644
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -652,8 +652,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
652
652
  const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
653
653
  const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
654
654
  return {
655
- async listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
656
- const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector, page, options);
655
+ async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
656
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
657
657
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
658
658
  }
659
659
  };
@@ -661,14 +661,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
661
661
  const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
662
662
  const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
663
663
  return {
664
- listReplies(commentName, size, labelSelector, fieldSelector, page, options) {
665
- return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
664
+ listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
665
+ return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
666
666
  }
667
667
  };
668
668
  };
669
669
  class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
670
670
  listReplies(requestParameters = {}, options) {
671
- return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
671
+ return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
672
672
  }
673
673
  }
674
674
 
@@ -697,7 +697,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
697
697
  options: localVarRequestOptions
698
698
  };
699
699
  },
700
- listSinglePages: async (sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
700
+ listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
701
701
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
702
702
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
703
703
  let baseOptions;
@@ -709,36 +709,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
709
709
  const localVarQueryParameter = {};
710
710
  setBasicAuthToObject(localVarRequestOptions, configuration);
711
711
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
712
- if (sort !== void 0) {
713
- localVarQueryParameter["sort"] = sort;
714
- }
715
- if (contributor) {
716
- localVarQueryParameter["contributor"] = Array.from(contributor);
717
- }
718
- if (sortOrder !== void 0) {
719
- localVarQueryParameter["sortOrder"] = sortOrder;
720
- }
721
- if (publishPhase !== void 0) {
722
- localVarQueryParameter["publishPhase"] = publishPhase;
723
- }
724
- if (visible !== void 0) {
725
- localVarQueryParameter["visible"] = visible;
726
- }
727
- if (keyword !== void 0) {
728
- localVarQueryParameter["keyword"] = keyword;
712
+ if (contributors) {
713
+ localVarQueryParameter["contributors"] = Array.from(contributors);
729
714
  }
730
715
  if (size !== void 0) {
731
716
  localVarQueryParameter["size"] = size;
732
717
  }
718
+ if (page !== void 0) {
719
+ localVarQueryParameter["page"] = page;
720
+ }
733
721
  if (labelSelector) {
734
722
  localVarQueryParameter["labelSelector"] = labelSelector;
735
723
  }
736
724
  if (fieldSelector) {
737
725
  localVarQueryParameter["fieldSelector"] = fieldSelector;
738
726
  }
739
- if (page !== void 0) {
740
- localVarQueryParameter["page"] = page;
741
- }
742
727
  setSearchParams(localVarUrlObj, localVarQueryParameter);
743
728
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
744
729
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -801,8 +786,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
801
786
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
802
787
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
803
788
  },
804
- async listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
805
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options);
789
+ async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
790
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
806
791
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
807
792
  },
808
793
  async publishSinglePage(name, options) {
@@ -821,8 +806,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
821
806
  draftSinglePage(singlePageRequest, options) {
822
807
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
823
808
  },
824
- listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
825
- return localVarFp.listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
809
+ listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
810
+ return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
826
811
  },
827
812
  publishSinglePage(name, options) {
828
813
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -837,7 +822,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
837
822
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
838
823
  }
839
824
  listSinglePages(requestParameters = {}, options) {
840
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
825
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
841
826
  }
842
827
  publishSinglePage(requestParameters, options) {
843
828
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -1196,12 +1181,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
1196
1181
  if (version !== void 0) {
1197
1182
  localVarQueryParameter["version"] = version;
1198
1183
  }
1199
- if (kind !== void 0) {
1200
- localVarQueryParameter["kind"] = kind;
1201
- }
1202
1184
  if (group !== void 0) {
1203
1185
  localVarQueryParameter["group"] = group;
1204
1186
  }
1187
+ if (kind !== void 0) {
1188
+ localVarQueryParameter["kind"] = kind;
1189
+ }
1205
1190
  if (size !== void 0) {
1206
1191
  localVarQueryParameter["size"] = size;
1207
1192
  }
@@ -3425,7 +3410,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
3425
3410
  options: localVarRequestOptions
3426
3411
  };
3427
3412
  },
3428
- searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
3413
+ searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
3429
3414
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
3430
3415
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3431
3416
  let baseOptions;
@@ -3452,15 +3437,15 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
3452
3437
  if (size !== void 0) {
3453
3438
  localVarQueryParameter["size"] = size;
3454
3439
  }
3440
+ if (page !== void 0) {
3441
+ localVarQueryParameter["page"] = page;
3442
+ }
3455
3443
  if (labelSelector) {
3456
3444
  localVarQueryParameter["labelSelector"] = labelSelector;
3457
3445
  }
3458
3446
  if (fieldSelector) {
3459
3447
  localVarQueryParameter["fieldSelector"] = fieldSelector;
3460
3448
  }
3461
- if (page !== void 0) {
3462
- localVarQueryParameter["page"] = page;
3463
- }
3464
3449
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3465
3450
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3466
3451
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3547,8 +3532,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
3547
3532
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
3548
3533
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3549
3534
  },
3550
- async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
3551
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
3535
+ async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
3536
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
3552
3537
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3553
3538
  },
3554
3539
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -3576,8 +3561,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
3576
3561
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
3577
3562
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3578
3563
  },
3579
- searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
3580
- return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
3564
+ searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
3565
+ return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3581
3566
  },
3582
3567
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
3583
3568
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -3601,7 +3586,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
3601
3586
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3602
3587
  }
3603
3588
  searchAttachments(requestParameters = {}, options) {
3604
- return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
3589
+ 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));
3605
3590
  }
3606
3591
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
3607
3592
  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.29",
3
+ "version": "0.0.31",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "@halo-dev",