@halo-dev/api-client 0.0.31 → 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.cjs +84 -76
- package/dist/index.d.ts +183 -171
- package/dist/index.mjs +85 -76
- package/package.json +1 -1
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,
|
|
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,
|
|
198
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments(sort,
|
|
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,
|
|
213
|
-
return localVarFp.listComments(sort,
|
|
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.
|
|
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,
|
|
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,14 +469,8 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
469
469
|
if (sort !== void 0) {
|
|
470
470
|
localVarQueryParameter["sort"] = sort;
|
|
471
471
|
}
|
|
472
|
-
if (
|
|
473
|
-
localVarQueryParameter["
|
|
474
|
-
}
|
|
475
|
-
if (visible !== void 0) {
|
|
476
|
-
localVarQueryParameter["visible"] = visible;
|
|
477
|
-
}
|
|
478
|
-
if (tag) {
|
|
479
|
-
localVarQueryParameter["tag"] = Array.from(tag);
|
|
472
|
+
if (contributor) {
|
|
473
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
480
474
|
}
|
|
481
475
|
if (sortOrder !== void 0) {
|
|
482
476
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -487,21 +481,27 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
487
481
|
if (category) {
|
|
488
482
|
localVarQueryParameter["category"] = Array.from(category);
|
|
489
483
|
}
|
|
490
|
-
if (
|
|
491
|
-
localVarQueryParameter["
|
|
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,
|
|
568
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
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,
|
|
588
|
-
return localVarFp.listPosts(sort,
|
|
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.
|
|
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,
|
|
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,
|
|
656
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listReplies(commentName, size,
|
|
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,
|
|
665
|
-
return localVarFp.listReplies(commentName, size,
|
|
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.
|
|
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 (
|
|
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 (
|
|
713
|
-
localVarQueryParameter["
|
|
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(
|
|
790
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
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(
|
|
810
|
-
return localVarFp.listSinglePages(
|
|
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.
|
|
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));
|
|
@@ -1181,12 +1196,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1181
1196
|
if (version !== void 0) {
|
|
1182
1197
|
localVarQueryParameter["version"] = version;
|
|
1183
1198
|
}
|
|
1184
|
-
if (group !== void 0) {
|
|
1185
|
-
localVarQueryParameter["group"] = group;
|
|
1186
|
-
}
|
|
1187
1199
|
if (kind !== void 0) {
|
|
1188
1200
|
localVarQueryParameter["kind"] = kind;
|
|
1189
1201
|
}
|
|
1202
|
+
if (group !== void 0) {
|
|
1203
|
+
localVarQueryParameter["group"] = group;
|
|
1204
|
+
}
|
|
1190
1205
|
if (size !== void 0) {
|
|
1191
1206
|
localVarQueryParameter["size"] = size;
|
|
1192
1207
|
}
|
|
@@ -3410,7 +3425,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
3410
3425
|
options: localVarRequestOptions
|
|
3411
3426
|
};
|
|
3412
3427
|
},
|
|
3413
|
-
searchAttachments: async (policy, displayName, group, uploadedBy, size,
|
|
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,
|
|
3536
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size,
|
|
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,
|
|
3565
|
-
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size,
|
|
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.
|
|
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));
|
|
@@ -5844,12 +5859,6 @@ class Configuration {
|
|
|
5844
5859
|
}
|
|
5845
5860
|
}
|
|
5846
5861
|
|
|
5847
|
-
const CompactPostVisibleEnum = {
|
|
5848
|
-
Public: "PUBLIC",
|
|
5849
|
-
Internal: "INTERNAL",
|
|
5850
|
-
Private: "PRIVATE"
|
|
5851
|
-
};
|
|
5852
|
-
|
|
5853
5862
|
const ConditionStatusEnum = {
|
|
5854
5863
|
True: "TRUE",
|
|
5855
5864
|
False: "FALSE",
|
|
@@ -5877,4 +5886,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
5877
5886
|
Private: "PRIVATE"
|
|
5878
5887
|
};
|
|
5879
5888
|
|
|
5880
|
-
export { ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp,
|
|
5889
|
+
export { ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|