@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.cjs +69 -84
- package/dist/index.d.ts +150 -164
- package/dist/index.mjs +69 -84
- 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, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
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,
|
|
206
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
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,
|
|
221
|
-
return localVarFp.listComments(sort, sortOrder, approved, allowNotification, ownerKind, ownerName, subjectKind, subjectName,
|
|
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.
|
|
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,
|
|
465
|
+
listPosts: async (sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, 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;
|
|
@@ -477,8 +477,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
477
477
|
if (sort !== void 0) {
|
|
478
478
|
localVarQueryParameter["sort"] = sort;
|
|
479
479
|
}
|
|
480
|
-
if (
|
|
481
|
-
localVarQueryParameter["
|
|
480
|
+
if (keyword !== void 0) {
|
|
481
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
482
|
+
}
|
|
483
|
+
if (visible !== void 0) {
|
|
484
|
+
localVarQueryParameter["visible"] = visible;
|
|
485
|
+
}
|
|
486
|
+
if (tag) {
|
|
487
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
482
488
|
}
|
|
483
489
|
if (sortOrder !== void 0) {
|
|
484
490
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -489,27 +495,21 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
489
495
|
if (category) {
|
|
490
496
|
localVarQueryParameter["category"] = Array.from(category);
|
|
491
497
|
}
|
|
492
|
-
if (
|
|
493
|
-
localVarQueryParameter["
|
|
494
|
-
}
|
|
495
|
-
if (visible !== void 0) {
|
|
496
|
-
localVarQueryParameter["visible"] = visible;
|
|
497
|
-
}
|
|
498
|
-
if (keyword !== void 0) {
|
|
499
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
498
|
+
if (contributor) {
|
|
499
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
500
500
|
}
|
|
501
501
|
if (size !== void 0) {
|
|
502
502
|
localVarQueryParameter["size"] = size;
|
|
503
503
|
}
|
|
504
|
+
if (page !== void 0) {
|
|
505
|
+
localVarQueryParameter["page"] = page;
|
|
506
|
+
}
|
|
504
507
|
if (labelSelector) {
|
|
505
508
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
506
509
|
}
|
|
507
510
|
if (fieldSelector) {
|
|
508
511
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
509
512
|
}
|
|
510
|
-
if (page !== void 0) {
|
|
511
|
-
localVarQueryParameter["page"] = page;
|
|
512
|
-
}
|
|
513
513
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
514
514
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
515
515
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -572,8 +572,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
572
572
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
573
573
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
574
574
|
},
|
|
575
|
-
async listPosts(sort,
|
|
576
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
575
|
+
async listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options);
|
|
577
577
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
578
578
|
},
|
|
579
579
|
async publishPost(name, options) {
|
|
@@ -592,8 +592,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
592
592
|
draftPost(postRequest, options) {
|
|
593
593
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
594
594
|
},
|
|
595
|
-
listPosts(sort,
|
|
596
|
-
return localVarFp.listPosts(sort,
|
|
595
|
+
listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options) {
|
|
596
|
+
return localVarFp.listPosts(sort, keyword, visible, tag, sortOrder, publishPhase, category, contributor, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
597
597
|
},
|
|
598
598
|
publishPost(name, options) {
|
|
599
599
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -608,7 +608,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
608
608
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
609
609
|
}
|
|
610
610
|
listPosts(requestParameters = {}, options) {
|
|
611
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
611
|
+
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));
|
|
612
612
|
}
|
|
613
613
|
publishPost(requestParameters, options) {
|
|
614
614
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -620,7 +620,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
620
620
|
|
|
621
621
|
const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuration) {
|
|
622
622
|
return {
|
|
623
|
-
listReplies: async (commentName, size, labelSelector, fieldSelector,
|
|
623
|
+
listReplies: async (commentName, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
624
624
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/replies`;
|
|
625
625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
626
626
|
let baseOptions;
|
|
@@ -638,15 +638,15 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
638
638
|
if (size !== void 0) {
|
|
639
639
|
localVarQueryParameter["size"] = size;
|
|
640
640
|
}
|
|
641
|
+
if (page !== void 0) {
|
|
642
|
+
localVarQueryParameter["page"] = page;
|
|
643
|
+
}
|
|
641
644
|
if (labelSelector) {
|
|
642
645
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
643
646
|
}
|
|
644
647
|
if (fieldSelector) {
|
|
645
648
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
646
649
|
}
|
|
647
|
-
if (page !== void 0) {
|
|
648
|
-
localVarQueryParameter["page"] = page;
|
|
649
|
-
}
|
|
650
650
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
651
651
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
652
652
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -660,8 +660,8 @@ const ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator = function(configuratio
|
|
|
660
660
|
const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
661
661
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator(configuration);
|
|
662
662
|
return {
|
|
663
|
-
async listReplies(commentName, size, labelSelector, fieldSelector,
|
|
664
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
663
|
+
async listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
664
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size, page, labelSelector, fieldSelector, options);
|
|
665
665
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
666
666
|
}
|
|
667
667
|
};
|
|
@@ -669,14 +669,14 @@ const ApiConsoleHaloRunV1alpha1ReplyApiFp = function(configuration) {
|
|
|
669
669
|
const ApiConsoleHaloRunV1alpha1ReplyApiFactory = function(configuration, basePath, axios) {
|
|
670
670
|
const localVarFp = ApiConsoleHaloRunV1alpha1ReplyApiFp(configuration);
|
|
671
671
|
return {
|
|
672
|
-
listReplies(commentName, size, labelSelector, fieldSelector,
|
|
673
|
-
return localVarFp.listReplies(commentName, size, labelSelector, fieldSelector,
|
|
672
|
+
listReplies(commentName, size, page, labelSelector, fieldSelector, options) {
|
|
673
|
+
return localVarFp.listReplies(commentName, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
674
674
|
}
|
|
675
675
|
};
|
|
676
676
|
};
|
|
677
677
|
class ApiConsoleHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
678
678
|
listReplies(requestParameters = {}, options) {
|
|
679
|
-
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.
|
|
679
|
+
return ApiConsoleHaloRunV1alpha1ReplyApiFp(this.configuration).listReplies(requestParameters.commentName, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
680
680
|
}
|
|
681
681
|
}
|
|
682
682
|
|
|
@@ -705,7 +705,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
705
705
|
options: localVarRequestOptions
|
|
706
706
|
};
|
|
707
707
|
},
|
|
708
|
-
listSinglePages: async (
|
|
708
|
+
listSinglePages: async (contributors, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
709
709
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
710
710
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
711
711
|
let baseOptions;
|
|
@@ -717,36 +717,21 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
717
717
|
const localVarQueryParameter = {};
|
|
718
718
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
719
719
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
720
|
-
if (
|
|
721
|
-
localVarQueryParameter["
|
|
722
|
-
}
|
|
723
|
-
if (contributor) {
|
|
724
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
725
|
-
}
|
|
726
|
-
if (sortOrder !== void 0) {
|
|
727
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
728
|
-
}
|
|
729
|
-
if (publishPhase !== void 0) {
|
|
730
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
731
|
-
}
|
|
732
|
-
if (visible !== void 0) {
|
|
733
|
-
localVarQueryParameter["visible"] = visible;
|
|
734
|
-
}
|
|
735
|
-
if (keyword !== void 0) {
|
|
736
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
720
|
+
if (contributors) {
|
|
721
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
737
722
|
}
|
|
738
723
|
if (size !== void 0) {
|
|
739
724
|
localVarQueryParameter["size"] = size;
|
|
740
725
|
}
|
|
726
|
+
if (page !== void 0) {
|
|
727
|
+
localVarQueryParameter["page"] = page;
|
|
728
|
+
}
|
|
741
729
|
if (labelSelector) {
|
|
742
730
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
743
731
|
}
|
|
744
732
|
if (fieldSelector) {
|
|
745
733
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
746
734
|
}
|
|
747
|
-
if (page !== void 0) {
|
|
748
|
-
localVarQueryParameter["page"] = page;
|
|
749
|
-
}
|
|
750
735
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
751
736
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
752
737
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -809,8 +794,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
809
794
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
810
795
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
811
796
|
},
|
|
812
|
-
async listSinglePages(
|
|
813
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
797
|
+
async listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
798
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options);
|
|
814
799
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
815
800
|
},
|
|
816
801
|
async publishSinglePage(name, options) {
|
|
@@ -829,8 +814,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
829
814
|
draftSinglePage(singlePageRequest, options) {
|
|
830
815
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
831
816
|
},
|
|
832
|
-
listSinglePages(
|
|
833
|
-
return localVarFp.listSinglePages(
|
|
817
|
+
listSinglePages(contributors, size, page, labelSelector, fieldSelector, options) {
|
|
818
|
+
return localVarFp.listSinglePages(contributors, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
834
819
|
},
|
|
835
820
|
publishSinglePage(name, options) {
|
|
836
821
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -845,7 +830,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
845
830
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
846
831
|
}
|
|
847
832
|
listSinglePages(requestParameters = {}, options) {
|
|
848
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.
|
|
833
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
849
834
|
}
|
|
850
835
|
publishSinglePage(requestParameters, options) {
|
|
851
836
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1204,12 +1189,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1204
1189
|
if (version !== void 0) {
|
|
1205
1190
|
localVarQueryParameter["version"] = version;
|
|
1206
1191
|
}
|
|
1207
|
-
if (kind !== void 0) {
|
|
1208
|
-
localVarQueryParameter["kind"] = kind;
|
|
1209
|
-
}
|
|
1210
1192
|
if (group !== void 0) {
|
|
1211
1193
|
localVarQueryParameter["group"] = group;
|
|
1212
1194
|
}
|
|
1195
|
+
if (kind !== void 0) {
|
|
1196
|
+
localVarQueryParameter["kind"] = kind;
|
|
1197
|
+
}
|
|
1213
1198
|
if (size !== void 0) {
|
|
1214
1199
|
localVarQueryParameter["size"] = size;
|
|
1215
1200
|
}
|
|
@@ -3433,7 +3418,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3433
3418
|
options: localVarRequestOptions
|
|
3434
3419
|
};
|
|
3435
3420
|
},
|
|
3436
|
-
searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector,
|
|
3421
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
3437
3422
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
3438
3423
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3439
3424
|
let baseOptions;
|
|
@@ -3460,15 +3445,15 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3460
3445
|
if (size !== void 0) {
|
|
3461
3446
|
localVarQueryParameter["size"] = size;
|
|
3462
3447
|
}
|
|
3448
|
+
if (page !== void 0) {
|
|
3449
|
+
localVarQueryParameter["page"] = page;
|
|
3450
|
+
}
|
|
3463
3451
|
if (labelSelector) {
|
|
3464
3452
|
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3465
3453
|
}
|
|
3466
3454
|
if (fieldSelector) {
|
|
3467
3455
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3468
3456
|
}
|
|
3469
|
-
if (page !== void 0) {
|
|
3470
|
-
localVarQueryParameter["page"] = page;
|
|
3471
|
-
}
|
|
3472
3457
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3473
3458
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3474
3459
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -3555,8 +3540,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
3555
3540
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
3556
3541
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3557
3542
|
},
|
|
3558
|
-
async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector,
|
|
3559
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector,
|
|
3543
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
3544
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options);
|
|
3560
3545
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3561
3546
|
},
|
|
3562
3547
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
@@ -3584,8 +3569,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
3584
3569
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
3585
3570
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3586
3571
|
},
|
|
3587
|
-
searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector,
|
|
3588
|
-
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector,
|
|
3572
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options) {
|
|
3573
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3589
3574
|
},
|
|
3590
3575
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
3591
3576
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
@@ -3609,7 +3594,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
3609
3594
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3610
3595
|
}
|
|
3611
3596
|
searchAttachments(requestParameters = {}, options) {
|
|
3612
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.
|
|
3597
|
+
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));
|
|
3613
3598
|
}
|
|
3614
3599
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
3615
3600
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|