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