@halo-dev/api-client 0.0.32 → 0.0.33

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 (sort, tag, visible, keyword, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options = {}) => {
457
+ listPosts: async (sort, contributor, sortOrder, publishPhase, category, tag, keyword, visible, 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;
@@ -469,39 +469,39 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
469
469
  if (sort !== void 0) {
470
470
  localVarQueryParameter["sort"] = sort;
471
471
  }
472
- if (tag) {
473
- localVarQueryParameter["tag"] = Array.from(tag);
474
- }
475
- if (visible !== void 0) {
476
- localVarQueryParameter["visible"] = visible;
477
- }
478
- if (keyword !== void 0) {
479
- localVarQueryParameter["keyword"] = keyword;
480
- }
481
472
  if (contributor) {
482
473
  localVarQueryParameter["contributor"] = Array.from(contributor);
483
474
  }
475
+ if (sortOrder !== void 0) {
476
+ localVarQueryParameter["sortOrder"] = sortOrder;
477
+ }
484
478
  if (publishPhase !== void 0) {
485
479
  localVarQueryParameter["publishPhase"] = publishPhase;
486
480
  }
487
481
  if (category) {
488
482
  localVarQueryParameter["category"] = Array.from(category);
489
483
  }
490
- if (sortOrder !== void 0) {
491
- localVarQueryParameter["sortOrder"] = sortOrder;
484
+ if (tag) {
485
+ localVarQueryParameter["tag"] = Array.from(tag);
486
+ }
487
+ if (keyword !== void 0) {
488
+ localVarQueryParameter["keyword"] = keyword;
489
+ }
490
+ if (visible !== void 0) {
491
+ localVarQueryParameter["visible"] = visible;
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
- }
499
496
  if (labelSelector) {
500
497
  localVarQueryParameter["labelSelector"] = labelSelector;
501
498
  }
502
499
  if (fieldSelector) {
503
500
  localVarQueryParameter["fieldSelector"] = fieldSelector;
504
501
  }
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, tag, visible, keyword, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options) {
568
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options);
567
+ async listPosts(sort, contributor, sortOrder, publishPhase, category, tag, keyword, visible, size, labelSelector, fieldSelector, page, options) {
568
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, keyword, visible, size, labelSelector, fieldSelector, page, 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, tag, visible, keyword, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options) {
588
- return localVarFp.listPosts(sort, tag, visible, keyword, contributor, publishPhase, category, sortOrder, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
587
+ listPosts(sort, contributor, sortOrder, publishPhase, category, tag, keyword, visible, size, labelSelector, fieldSelector, page, options) {
588
+ return localVarFp.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, keyword, visible, size, labelSelector, fieldSelector, page, 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.tag, requestParameters.visible, requestParameters.keyword, requestParameters.contributor, requestParameters.publishPhase, requestParameters.category, requestParameters.sortOrder, 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.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, 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, page, labelSelector, fieldSelector, options = {}) => {
615
+ listReplies: async (commentName, size, labelSelector, fieldSelector, page, 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
- }
636
633
  if (labelSelector) {
637
634
  localVarQueryParameter["labelSelector"] = labelSelector;
638
635
  }
639
636
  if (fieldSelector) {
640
637
  localVarQueryParameter["fieldSelector"] = fieldSelector;
641
638
  }
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, page, labelSelector, fieldSelector, options) {
656
- 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);
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, page, labelSelector, fieldSelector, options) {
665
- 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));
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.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));
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 (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
700
+ listSinglePages: async (sort, contributor, sortOrder, publishPhase, keyword, visible, size, labelSelector, fieldSelector, page, 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,21 +709,36 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
709
709
  const localVarQueryParameter = {};
710
710
  setBasicAuthToObject(localVarRequestOptions, configuration);
711
711
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
712
- if (contributors) {
713
- localVarQueryParameter["contributors"] = Array.from(contributors);
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 (keyword !== void 0) {
725
+ localVarQueryParameter["keyword"] = keyword;
726
+ }
727
+ if (visible !== void 0) {
728
+ localVarQueryParameter["visible"] = visible;
714
729
  }
715
730
  if (size !== void 0) {
716
731
  localVarQueryParameter["size"] = size;
717
732
  }
718
- if (page !== void 0) {
719
- localVarQueryParameter["page"] = page;
720
- }
721
733
  if (labelSelector) {
722
734
  localVarQueryParameter["labelSelector"] = labelSelector;
723
735
  }
724
736
  if (fieldSelector) {
725
737
  localVarQueryParameter["fieldSelector"] = fieldSelector;
726
738
  }
739
+ if (page !== void 0) {
740
+ localVarQueryParameter["page"] = page;
741
+ }
727
742
  setSearchParams(localVarUrlObj, localVarQueryParameter);
728
743
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
729
744
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -786,8 +801,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
786
801
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
787
802
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
788
803
  },
789
- async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
790
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
804
+ async listSinglePages(sort, contributor, sortOrder, publishPhase, keyword, visible, size, labelSelector, fieldSelector, page, options) {
805
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, contributor, sortOrder, publishPhase, keyword, visible, size, labelSelector, fieldSelector, page, options);
791
806
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
792
807
  },
793
808
  async publishSinglePage(name, options) {
@@ -806,8 +821,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
806
821
  draftSinglePage(singlePageRequest, options) {
807
822
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
808
823
  },
809
- listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
810
- return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
824
+ listSinglePages(sort, contributor, sortOrder, publishPhase, keyword, visible, size, labelSelector, fieldSelector, page, options) {
825
+ return localVarFp.listSinglePages(sort, contributor, sortOrder, publishPhase, keyword, visible, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
811
826
  },
812
827
  publishSinglePage(name, options) {
813
828
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -822,7 +837,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
822
837
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
823
838
  }
824
839
  listSinglePages(requestParameters = {}, options) {
825
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
840
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.keyword, requestParameters.visible, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
826
841
  }
827
842
  publishSinglePage(requestParameters, options) {
828
843
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -3410,7 +3425,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
3410
3425
  options: localVarRequestOptions
3411
3426
  };
3412
3427
  },
3413
- searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
3428
+ searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
3414
3429
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
3415
3430
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3416
3431
  let baseOptions;
@@ -3437,15 +3452,15 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
3437
3452
  if (size !== void 0) {
3438
3453
  localVarQueryParameter["size"] = size;
3439
3454
  }
3440
- if (page !== void 0) {
3441
- localVarQueryParameter["page"] = page;
3442
- }
3443
3455
  if (labelSelector) {
3444
3456
  localVarQueryParameter["labelSelector"] = labelSelector;
3445
3457
  }
3446
3458
  if (fieldSelector) {
3447
3459
  localVarQueryParameter["fieldSelector"] = fieldSelector;
3448
3460
  }
3461
+ if (page !== void 0) {
3462
+ localVarQueryParameter["page"] = page;
3463
+ }
3449
3464
  setSearchParams(localVarUrlObj, localVarQueryParameter);
3450
3465
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
3451
3466
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -3532,8 +3547,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
3532
3547
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
3533
3548
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3534
3549
  },
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);
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);
3537
3552
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
3538
3553
  },
3539
3554
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -3561,8 +3576,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
3561
3576
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
3562
3577
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3563
3578
  },
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));
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));
3566
3581
  },
3567
3582
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
3568
3583
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -3586,7 +3601,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
3586
3601
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3587
3602
  }
3588
3603
  searchAttachments(requestParameters = {}, options) {
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));
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));
3590
3605
  }
3591
3606
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
3592
3607
  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.32",
3
+ "version": "0.0.33",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "author": "@halo-dev",