@halo-dev/api-client 0.0.56 → 0.0.57
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 +35 -35
- package/dist/index.d.ts +123 -138
- package/dist/index.mjs +35 -35
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -77,7 +77,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
77
77
|
|
|
78
78
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
79
79
|
return {
|
|
80
|
-
searchAttachments: async (ungrouped, uploadedBy, policy,
|
|
80
|
+
searchAttachments: async (group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options = {}) => {
|
|
81
81
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
82
82
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
83
83
|
let baseOptions;
|
|
@@ -89,6 +89,9 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
89
89
|
const localVarQueryParameter = {};
|
|
90
90
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
91
91
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
92
|
+
if (group !== void 0) {
|
|
93
|
+
localVarQueryParameter["group"] = group;
|
|
94
|
+
}
|
|
92
95
|
if (ungrouped !== void 0) {
|
|
93
96
|
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
94
97
|
}
|
|
@@ -98,9 +101,6 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
98
101
|
if (policy !== void 0) {
|
|
99
102
|
localVarQueryParameter["policy"] = policy;
|
|
100
103
|
}
|
|
101
|
-
if (group !== void 0) {
|
|
102
|
-
localVarQueryParameter["group"] = group;
|
|
103
|
-
}
|
|
104
104
|
if (sort) {
|
|
105
105
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
106
106
|
}
|
|
@@ -166,8 +166,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
166
166
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
167
167
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
168
168
|
return {
|
|
169
|
-
async searchAttachments(ungrouped, uploadedBy, policy,
|
|
170
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(ungrouped, uploadedBy, policy,
|
|
169
|
+
async searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options) {
|
|
170
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options);
|
|
171
171
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
172
172
|
},
|
|
173
173
|
async uploadAttachment(policyName, file, groupName, options) {
|
|
@@ -179,8 +179,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
179
179
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
180
180
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
181
181
|
return {
|
|
182
|
-
searchAttachments(ungrouped, uploadedBy, policy,
|
|
183
|
-
return localVarFp.searchAttachments(ungrouped, uploadedBy, policy,
|
|
182
|
+
searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options) {
|
|
183
|
+
return localVarFp.searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options).then((request) => request(axios, basePath));
|
|
184
184
|
},
|
|
185
185
|
uploadAttachment(policyName, file, groupName, options) {
|
|
186
186
|
return localVarFp.uploadAttachment(policyName, file, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -189,7 +189,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
189
189
|
};
|
|
190
190
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
191
191
|
searchAttachments(requestParameters = {}, options) {
|
|
192
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.
|
|
192
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
193
193
|
}
|
|
194
194
|
uploadAttachment(requestParameters, options) {
|
|
195
195
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.policyName, requestParameters.file, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -685,7 +685,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
685
685
|
options: localVarRequestOptions
|
|
686
686
|
};
|
|
687
687
|
},
|
|
688
|
-
listPosts: async (tag,
|
|
688
|
+
listPosts: async (contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options = {}) => {
|
|
689
689
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
690
690
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
691
691
|
let baseOptions;
|
|
@@ -697,11 +697,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
697
697
|
const localVarQueryParameter = {};
|
|
698
698
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
699
699
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
700
|
+
if (contributor) {
|
|
701
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
702
|
+
}
|
|
700
703
|
if (tag) {
|
|
701
704
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
702
705
|
}
|
|
703
|
-
if (
|
|
704
|
-
localVarQueryParameter["
|
|
706
|
+
if (sortOrder !== void 0) {
|
|
707
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
708
|
+
}
|
|
709
|
+
if (keyword !== void 0) {
|
|
710
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
705
711
|
}
|
|
706
712
|
if (publishPhase !== void 0) {
|
|
707
713
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -712,12 +718,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
712
718
|
if (category) {
|
|
713
719
|
localVarQueryParameter["category"] = Array.from(category);
|
|
714
720
|
}
|
|
715
|
-
if (sortOrder !== void 0) {
|
|
716
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
717
|
-
}
|
|
718
|
-
if (keyword !== void 0) {
|
|
719
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
720
|
-
}
|
|
721
721
|
if (sort !== void 0) {
|
|
722
722
|
localVarQueryParameter["sort"] = sort;
|
|
723
723
|
}
|
|
@@ -864,8 +864,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
864
864
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
865
865
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
866
866
|
},
|
|
867
|
-
async listPosts(tag,
|
|
868
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tag,
|
|
867
|
+
async listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options) {
|
|
868
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options);
|
|
869
869
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
870
870
|
},
|
|
871
871
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -896,8 +896,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
896
896
|
draftPost(postRequest, options) {
|
|
897
897
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
898
898
|
},
|
|
899
|
-
listPosts(tag,
|
|
900
|
-
return localVarFp.listPosts(tag,
|
|
899
|
+
listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options) {
|
|
900
|
+
return localVarFp.listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options).then((request) => request(axios, basePath));
|
|
901
901
|
},
|
|
902
902
|
publishPost(name, headSnapshot, options) {
|
|
903
903
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -921,7 +921,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
921
921
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
922
922
|
}
|
|
923
923
|
listPosts(requestParameters = {}, options) {
|
|
924
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
924
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.contributor, requestParameters.tag, requestParameters.sortOrder, requestParameters.keyword, requestParameters.publishPhase, requestParameters.visible, requestParameters.category, requestParameters.sort, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
925
925
|
}
|
|
926
926
|
publishPost(requestParameters, options) {
|
|
927
927
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1027,7 +1027,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1027
1027
|
options: localVarRequestOptions
|
|
1028
1028
|
};
|
|
1029
1029
|
},
|
|
1030
|
-
listSinglePages: async (contributor,
|
|
1030
|
+
listSinglePages: async (contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options = {}) => {
|
|
1031
1031
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1032
1032
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1033
1033
|
let baseOptions;
|
|
@@ -1042,18 +1042,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1042
1042
|
if (contributor) {
|
|
1043
1043
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1044
1044
|
}
|
|
1045
|
-
if (publishPhase !== void 0) {
|
|
1046
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1047
|
-
}
|
|
1048
|
-
if (visible !== void 0) {
|
|
1049
|
-
localVarQueryParameter["visible"] = visible;
|
|
1050
|
-
}
|
|
1051
1045
|
if (sortOrder !== void 0) {
|
|
1052
1046
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1053
1047
|
}
|
|
1054
1048
|
if (keyword !== void 0) {
|
|
1055
1049
|
localVarQueryParameter["keyword"] = keyword;
|
|
1056
1050
|
}
|
|
1051
|
+
if (publishPhase !== void 0) {
|
|
1052
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1053
|
+
}
|
|
1054
|
+
if (visible !== void 0) {
|
|
1055
|
+
localVarQueryParameter["visible"] = visible;
|
|
1056
|
+
}
|
|
1057
1057
|
if (sort !== void 0) {
|
|
1058
1058
|
localVarQueryParameter["sort"] = sort;
|
|
1059
1059
|
}
|
|
@@ -1155,8 +1155,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1155
1155
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1156
1156
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1157
1157
|
},
|
|
1158
|
-
async listSinglePages(contributor,
|
|
1159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributor,
|
|
1158
|
+
async listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options) {
|
|
1159
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options);
|
|
1160
1160
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1161
1161
|
},
|
|
1162
1162
|
async publishSinglePage(name, options) {
|
|
@@ -1179,8 +1179,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1179
1179
|
draftSinglePage(singlePageRequest, options) {
|
|
1180
1180
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1181
1181
|
},
|
|
1182
|
-
listSinglePages(contributor,
|
|
1183
|
-
return localVarFp.listSinglePages(contributor,
|
|
1182
|
+
listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options) {
|
|
1183
|
+
return localVarFp.listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options).then((request) => request(axios, basePath));
|
|
1184
1184
|
},
|
|
1185
1185
|
publishSinglePage(name, options) {
|
|
1186
1186
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1198,7 +1198,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1198
1198
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1199
|
}
|
|
1200
1200
|
listSinglePages(requestParameters = {}, options) {
|
|
1201
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributor, requestParameters.
|
|
1201
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributor, requestParameters.sortOrder, requestParameters.keyword, requestParameters.publishPhase, requestParameters.visible, requestParameters.sort, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
1202
1202
|
}
|
|
1203
1203
|
publishSinglePage(requestParameters, options) {
|
|
1204
1204
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
package/dist/index.d.ts
CHANGED
|
@@ -129,6 +129,50 @@ declare class BaseAPI {
|
|
|
129
129
|
* https://openapi-generator.tech
|
|
130
130
|
* Do not edit the class manually.
|
|
131
131
|
*/
|
|
132
|
+
/**
|
|
133
|
+
* Extension reference object. The name is mandatory
|
|
134
|
+
* @export
|
|
135
|
+
* @interface Ref
|
|
136
|
+
*/
|
|
137
|
+
interface Ref {
|
|
138
|
+
/**
|
|
139
|
+
* Extension group
|
|
140
|
+
* @type {string}
|
|
141
|
+
* @memberof Ref
|
|
142
|
+
*/
|
|
143
|
+
group?: string;
|
|
144
|
+
/**
|
|
145
|
+
* Extension version
|
|
146
|
+
* @type {string}
|
|
147
|
+
* @memberof Ref
|
|
148
|
+
*/
|
|
149
|
+
version?: string;
|
|
150
|
+
/**
|
|
151
|
+
* Extension kind
|
|
152
|
+
* @type {string}
|
|
153
|
+
* @memberof Ref
|
|
154
|
+
*/
|
|
155
|
+
kind?: string;
|
|
156
|
+
/**
|
|
157
|
+
* Extension name. This field is mandatory
|
|
158
|
+
* @type {string}
|
|
159
|
+
* @memberof Ref
|
|
160
|
+
*/
|
|
161
|
+
name: string;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
/**
|
|
165
|
+
* Halo Next API
|
|
166
|
+
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
167
|
+
*
|
|
168
|
+
* The version of the OpenAPI document: 2.0.0
|
|
169
|
+
*
|
|
170
|
+
*
|
|
171
|
+
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
172
|
+
* https://openapi-generator.tech
|
|
173
|
+
* Do not edit the class manually.
|
|
174
|
+
*/
|
|
175
|
+
|
|
132
176
|
/**
|
|
133
177
|
*
|
|
134
178
|
* @export
|
|
@@ -142,23 +186,23 @@ interface AttachmentSpec {
|
|
|
142
186
|
*/
|
|
143
187
|
displayName?: string;
|
|
144
188
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @type {
|
|
189
|
+
*
|
|
190
|
+
* @type {Ref}
|
|
147
191
|
* @memberof AttachmentSpec
|
|
148
192
|
*/
|
|
149
|
-
|
|
193
|
+
groupRef?: Ref;
|
|
150
194
|
/**
|
|
151
|
-
*
|
|
152
|
-
* @type {
|
|
195
|
+
*
|
|
196
|
+
* @type {Ref}
|
|
153
197
|
* @memberof AttachmentSpec
|
|
154
198
|
*/
|
|
155
|
-
|
|
199
|
+
policyRef?: Ref;
|
|
156
200
|
/**
|
|
157
|
-
*
|
|
158
|
-
* @type {
|
|
201
|
+
*
|
|
202
|
+
* @type {Ref}
|
|
159
203
|
* @memberof AttachmentSpec
|
|
160
204
|
*/
|
|
161
|
-
|
|
205
|
+
uploadedBy?: Ref;
|
|
162
206
|
/**
|
|
163
207
|
* Media type of attachment
|
|
164
208
|
* @type {string}
|
|
@@ -722,49 +766,6 @@ interface CommentOwner {
|
|
|
722
766
|
};
|
|
723
767
|
}
|
|
724
768
|
|
|
725
|
-
/**
|
|
726
|
-
* Halo Next API
|
|
727
|
-
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
728
|
-
*
|
|
729
|
-
* The version of the OpenAPI document: 2.0.0
|
|
730
|
-
*
|
|
731
|
-
*
|
|
732
|
-
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
|
|
733
|
-
* https://openapi-generator.tech
|
|
734
|
-
* Do not edit the class manually.
|
|
735
|
-
*/
|
|
736
|
-
/**
|
|
737
|
-
* Extension reference object. The name is mandatory
|
|
738
|
-
* @export
|
|
739
|
-
* @interface Ref
|
|
740
|
-
*/
|
|
741
|
-
interface Ref {
|
|
742
|
-
/**
|
|
743
|
-
* Extension group
|
|
744
|
-
* @type {string}
|
|
745
|
-
* @memberof Ref
|
|
746
|
-
*/
|
|
747
|
-
group?: string;
|
|
748
|
-
/**
|
|
749
|
-
* Extension version
|
|
750
|
-
* @type {string}
|
|
751
|
-
* @memberof Ref
|
|
752
|
-
*/
|
|
753
|
-
version?: string;
|
|
754
|
-
/**
|
|
755
|
-
* Extension kind
|
|
756
|
-
* @type {string}
|
|
757
|
-
* @memberof Ref
|
|
758
|
-
*/
|
|
759
|
-
kind?: string;
|
|
760
|
-
/**
|
|
761
|
-
* Extension name. This field is mandatory
|
|
762
|
-
* @type {string}
|
|
763
|
-
* @memberof Ref
|
|
764
|
-
*/
|
|
765
|
-
name: string;
|
|
766
|
-
}
|
|
767
|
-
|
|
768
769
|
/**
|
|
769
770
|
* Halo Next API
|
|
770
771
|
* No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)
|
|
@@ -3755,25 +3756,7 @@ interface MenuItemSpec {
|
|
|
3755
3756
|
* @type {Ref}
|
|
3756
3757
|
* @memberof MenuItemSpec
|
|
3757
3758
|
*/
|
|
3758
|
-
|
|
3759
|
-
/**
|
|
3760
|
-
*
|
|
3761
|
-
* @type {Ref}
|
|
3762
|
-
* @memberof MenuItemSpec
|
|
3763
|
-
*/
|
|
3764
|
-
tagRef?: Ref;
|
|
3765
|
-
/**
|
|
3766
|
-
*
|
|
3767
|
-
* @type {Ref}
|
|
3768
|
-
* @memberof MenuItemSpec
|
|
3769
|
-
*/
|
|
3770
|
-
postRef?: Ref;
|
|
3771
|
-
/**
|
|
3772
|
-
*
|
|
3773
|
-
* @type {Ref}
|
|
3774
|
-
* @memberof MenuItemSpec
|
|
3775
|
-
*/
|
|
3776
|
-
singlePageRef?: Ref;
|
|
3759
|
+
targetRef?: Ref;
|
|
3777
3760
|
}
|
|
3778
3761
|
|
|
3779
3762
|
/**
|
|
@@ -4490,6 +4473,7 @@ interface PluginList {
|
|
|
4490
4473
|
* https://openapi-generator.tech
|
|
4491
4474
|
* Do not edit the class manually.
|
|
4492
4475
|
*/
|
|
4476
|
+
|
|
4493
4477
|
/**
|
|
4494
4478
|
*
|
|
4495
4479
|
* @export
|
|
@@ -4503,17 +4487,17 @@ interface PolicySpec {
|
|
|
4503
4487
|
*/
|
|
4504
4488
|
displayName: string;
|
|
4505
4489
|
/**
|
|
4506
|
-
*
|
|
4507
|
-
* @type {
|
|
4490
|
+
*
|
|
4491
|
+
* @type {Ref}
|
|
4508
4492
|
* @memberof PolicySpec
|
|
4509
4493
|
*/
|
|
4510
|
-
|
|
4494
|
+
templateRef?: Ref;
|
|
4511
4495
|
/**
|
|
4512
|
-
*
|
|
4513
|
-
* @type {
|
|
4496
|
+
*
|
|
4497
|
+
* @type {Ref}
|
|
4514
4498
|
* @memberof PolicySpec
|
|
4515
4499
|
*/
|
|
4516
|
-
|
|
4500
|
+
configMapRef?: Ref;
|
|
4517
4501
|
}
|
|
4518
4502
|
|
|
4519
4503
|
/**
|
|
@@ -4694,6 +4678,7 @@ interface PolicyRule {
|
|
|
4694
4678
|
* https://openapi-generator.tech
|
|
4695
4679
|
* Do not edit the class manually.
|
|
4696
4680
|
*/
|
|
4681
|
+
|
|
4697
4682
|
/**
|
|
4698
4683
|
*
|
|
4699
4684
|
* @export
|
|
@@ -4708,10 +4693,10 @@ interface PolicyTemplateSpec {
|
|
|
4708
4693
|
displayName?: string;
|
|
4709
4694
|
/**
|
|
4710
4695
|
*
|
|
4711
|
-
* @type {
|
|
4696
|
+
* @type {Ref}
|
|
4712
4697
|
* @memberof PolicyTemplateSpec
|
|
4713
4698
|
*/
|
|
4714
|
-
|
|
4699
|
+
settingRef?: Ref;
|
|
4715
4700
|
}
|
|
4716
4701
|
|
|
4717
4702
|
/**
|
|
@@ -7006,10 +6991,10 @@ interface VoteRequest {
|
|
|
7006
6991
|
declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
7007
6992
|
/**
|
|
7008
6993
|
*
|
|
6994
|
+
* @param {string} [group] Name of group
|
|
7009
6995
|
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7010
6996
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7011
6997
|
* @param {string} [policy] Name of policy
|
|
7012
|
-
* @param {string} [group] Name of group
|
|
7013
6998
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7014
6999
|
* @param {string} [displayName] Display name of attachment
|
|
7015
7000
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
@@ -7019,7 +7004,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
7019
7004
|
* @param {*} [options] Override http request option.
|
|
7020
7005
|
* @throws {RequiredError}
|
|
7021
7006
|
*/
|
|
7022
|
-
searchAttachments: (ungrouped?: boolean, uploadedBy?: string, policy?: string,
|
|
7007
|
+
searchAttachments: (group?: string, ungrouped?: boolean, uploadedBy?: string, policy?: string, sort?: Array<string>, displayName?: string, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7023
7008
|
/**
|
|
7024
7009
|
*
|
|
7025
7010
|
* @param {string} policyName Storage policy name
|
|
@@ -7037,10 +7022,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator: (configur
|
|
|
7037
7022
|
declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configuration) => {
|
|
7038
7023
|
/**
|
|
7039
7024
|
*
|
|
7025
|
+
* @param {string} [group] Name of group
|
|
7040
7026
|
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7041
7027
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7042
7028
|
* @param {string} [policy] Name of policy
|
|
7043
|
-
* @param {string} [group] Name of group
|
|
7044
7029
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7045
7030
|
* @param {string} [displayName] Display name of attachment
|
|
7046
7031
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
@@ -7050,7 +7035,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7050
7035
|
* @param {*} [options] Override http request option.
|
|
7051
7036
|
* @throws {RequiredError}
|
|
7052
7037
|
*/
|
|
7053
|
-
searchAttachments(ungrouped?: boolean, uploadedBy?: string, policy?: string,
|
|
7038
|
+
searchAttachments(group?: string, ungrouped?: boolean, uploadedBy?: string, policy?: string, sort?: Array<string>, displayName?: string, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<AttachmentList>>;
|
|
7054
7039
|
/**
|
|
7055
7040
|
*
|
|
7056
7041
|
* @param {string} policyName Storage policy name
|
|
@@ -7068,10 +7053,10 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFp: (configuration?: Configu
|
|
|
7068
7053
|
declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
7069
7054
|
/**
|
|
7070
7055
|
*
|
|
7056
|
+
* @param {string} [group] Name of group
|
|
7071
7057
|
* @param {boolean} [ungrouped] Filter attachments without group. This parameter will ignore group parameter.
|
|
7072
7058
|
* @param {string} [uploadedBy] Name of user who uploaded the attachment
|
|
7073
7059
|
* @param {string} [policy] Name of policy
|
|
7074
|
-
* @param {string} [group] Name of group
|
|
7075
7060
|
* @param {Array<string>} [sort] Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7076
7061
|
* @param {string} [displayName] Display name of attachment
|
|
7077
7062
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
@@ -7081,7 +7066,7 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7081
7066
|
* @param {*} [options] Override http request option.
|
|
7082
7067
|
* @throws {RequiredError}
|
|
7083
7068
|
*/
|
|
7084
|
-
searchAttachments(ungrouped?: boolean, uploadedBy?: string, policy?: string,
|
|
7069
|
+
searchAttachments(group?: string, ungrouped?: boolean, uploadedBy?: string, policy?: string, sort?: Array<string>, displayName?: string, page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: any): AxiosPromise<AttachmentList>;
|
|
7085
7070
|
/**
|
|
7086
7071
|
*
|
|
7087
7072
|
* @param {string} policyName Storage policy name
|
|
@@ -7098,6 +7083,12 @@ declare const ApiConsoleHaloRunV1alpha1AttachmentApiFactory: (configuration?: Co
|
|
|
7098
7083
|
* @interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest
|
|
7099
7084
|
*/
|
|
7100
7085
|
interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
7086
|
+
/**
|
|
7087
|
+
* Name of group
|
|
7088
|
+
* @type {string}
|
|
7089
|
+
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7090
|
+
*/
|
|
7091
|
+
readonly group?: string;
|
|
7101
7092
|
/**
|
|
7102
7093
|
* Filter attachments without group. This parameter will ignore group parameter.
|
|
7103
7094
|
* @type {boolean}
|
|
@@ -7116,12 +7107,6 @@ interface ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachmentsRequest {
|
|
|
7116
7107
|
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7117
7108
|
*/
|
|
7118
7109
|
readonly policy?: string;
|
|
7119
|
-
/**
|
|
7120
|
-
* Name of group
|
|
7121
|
-
* @type {string}
|
|
7122
|
-
* @memberof ApiConsoleHaloRunV1alpha1AttachmentApiSearchAttachments
|
|
7123
|
-
*/
|
|
7124
|
-
readonly group?: string;
|
|
7125
7110
|
/**
|
|
7126
7111
|
* Sort property and direction of the list result. Supported fields: creationTimestamp, size
|
|
7127
7112
|
* @type {Array<string>}
|
|
@@ -7941,13 +7926,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7941
7926
|
draftPost: (postRequest: PostRequest, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7942
7927
|
/**
|
|
7943
7928
|
* List posts.
|
|
7944
|
-
* @param {Array<string>} [tag]
|
|
7945
7929
|
* @param {Array<string>} [contributor]
|
|
7930
|
+
* @param {Array<string>} [tag]
|
|
7931
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7932
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
7946
7933
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
7947
7934
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
7948
7935
|
* @param {Array<string>} [category]
|
|
7949
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
7950
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
7951
7936
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
7952
7937
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
7953
7938
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -7956,7 +7941,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator: (configuration?
|
|
|
7956
7941
|
* @param {*} [options] Override http request option.
|
|
7957
7942
|
* @throws {RequiredError}
|
|
7958
7943
|
*/
|
|
7959
|
-
listPosts: (
|
|
7944
|
+
listPosts: (contributor?: Array<string>, tag?: Array<string>, sortOrder?: boolean, keyword?: string, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', category?: Array<string>, sort?: 'PUBLISH_TIME' | 'CREATE_TIME', page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
7960
7945
|
/**
|
|
7961
7946
|
* Publish a post.
|
|
7962
7947
|
* @param {string} name
|
|
@@ -8010,13 +7995,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
8010
7995
|
draftPost(postRequest: PostRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Post>>;
|
|
8011
7996
|
/**
|
|
8012
7997
|
* List posts.
|
|
8013
|
-
* @param {Array<string>} [tag]
|
|
8014
7998
|
* @param {Array<string>} [contributor]
|
|
7999
|
+
* @param {Array<string>} [tag]
|
|
8000
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8001
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
8015
8002
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8016
8003
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8017
8004
|
* @param {Array<string>} [category]
|
|
8018
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8019
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
8020
8005
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8021
8006
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8022
8007
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8025,7 +8010,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFp: (configuration?: Configuration
|
|
|
8025
8010
|
* @param {*} [options] Override http request option.
|
|
8026
8011
|
* @throws {RequiredError}
|
|
8027
8012
|
*/
|
|
8028
|
-
listPosts(
|
|
8013
|
+
listPosts(contributor?: Array<string>, tag?: Array<string>, sortOrder?: boolean, keyword?: string, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', category?: Array<string>, sort?: 'PUBLISH_TIME' | 'CREATE_TIME', page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedPostList>>;
|
|
8029
8014
|
/**
|
|
8030
8015
|
* Publish a post.
|
|
8031
8016
|
* @param {string} name
|
|
@@ -8079,13 +8064,13 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8079
8064
|
draftPost(postRequest: PostRequest, options?: any): AxiosPromise<Post>;
|
|
8080
8065
|
/**
|
|
8081
8066
|
* List posts.
|
|
8082
|
-
* @param {Array<string>} [tag]
|
|
8083
8067
|
* @param {Array<string>} [contributor]
|
|
8068
|
+
* @param {Array<string>} [tag]
|
|
8069
|
+
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8070
|
+
* @param {string} [keyword] Posts filtered by keyword.
|
|
8084
8071
|
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8085
8072
|
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8086
8073
|
* @param {Array<string>} [category]
|
|
8087
|
-
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8088
|
-
* @param {string} [keyword] Posts filtered by keyword.
|
|
8089
8074
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] Post collation.
|
|
8090
8075
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8091
8076
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8094,7 +8079,7 @@ declare const ApiConsoleHaloRunV1alpha1PostApiFactory: (configuration?: Configur
|
|
|
8094
8079
|
* @param {*} [options] Override http request option.
|
|
8095
8080
|
* @throws {RequiredError}
|
|
8096
8081
|
*/
|
|
8097
|
-
listPosts(
|
|
8082
|
+
listPosts(contributor?: Array<string>, tag?: Array<string>, sortOrder?: boolean, keyword?: string, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', category?: Array<string>, sort?: 'PUBLISH_TIME' | 'CREATE_TIME', page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: any): AxiosPromise<ListedPostList>;
|
|
8098
8083
|
/**
|
|
8099
8084
|
* Publish a post.
|
|
8100
8085
|
* @param {string} name
|
|
@@ -8158,13 +8143,25 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8158
8143
|
* @type {Array<string>}
|
|
8159
8144
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8160
8145
|
*/
|
|
8161
|
-
readonly
|
|
8146
|
+
readonly contributor?: Array<string>;
|
|
8162
8147
|
/**
|
|
8163
8148
|
*
|
|
8164
8149
|
* @type {Array<string>}
|
|
8165
8150
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8166
8151
|
*/
|
|
8167
|
-
readonly
|
|
8152
|
+
readonly tag?: Array<string>;
|
|
8153
|
+
/**
|
|
8154
|
+
* ascending order If it is true; otherwise, it is in descending order.
|
|
8155
|
+
* @type {boolean}
|
|
8156
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8157
|
+
*/
|
|
8158
|
+
readonly sortOrder?: boolean;
|
|
8159
|
+
/**
|
|
8160
|
+
* Posts filtered by keyword.
|
|
8161
|
+
* @type {string}
|
|
8162
|
+
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8163
|
+
*/
|
|
8164
|
+
readonly keyword?: string;
|
|
8168
8165
|
/**
|
|
8169
8166
|
*
|
|
8170
8167
|
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
@@ -8183,18 +8180,6 @@ interface ApiConsoleHaloRunV1alpha1PostApiListPostsRequest {
|
|
|
8183
8180
|
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8184
8181
|
*/
|
|
8185
8182
|
readonly category?: Array<string>;
|
|
8186
|
-
/**
|
|
8187
|
-
* ascending order If it is true; otherwise, it is in descending order.
|
|
8188
|
-
* @type {boolean}
|
|
8189
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8190
|
-
*/
|
|
8191
|
-
readonly sortOrder?: boolean;
|
|
8192
|
-
/**
|
|
8193
|
-
* Posts filtered by keyword.
|
|
8194
|
-
* @type {string}
|
|
8195
|
-
* @memberof ApiConsoleHaloRunV1alpha1PostApiListPosts
|
|
8196
|
-
*/
|
|
8197
|
-
readonly keyword?: string;
|
|
8198
8183
|
/**
|
|
8199
8184
|
* Post collation.
|
|
8200
8185
|
* @type {'PUBLISH_TIME' | 'CREATE_TIME'}
|
|
@@ -8494,10 +8479,10 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8494
8479
|
/**
|
|
8495
8480
|
* List single pages.
|
|
8496
8481
|
* @param {Array<string>} [contributor]
|
|
8497
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8498
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8499
8482
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8500
8483
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8484
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8485
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8501
8486
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8502
8487
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8503
8488
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8506,7 +8491,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator: (configur
|
|
|
8506
8491
|
* @param {*} [options] Override http request option.
|
|
8507
8492
|
* @throws {RequiredError}
|
|
8508
8493
|
*/
|
|
8509
|
-
listSinglePages: (contributor?: Array<string>, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE',
|
|
8494
|
+
listSinglePages: (contributor?: Array<string>, sortOrder?: boolean, keyword?: string, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', sort?: 'PUBLISH_TIME' | 'CREATE_TIME', page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
8510
8495
|
/**
|
|
8511
8496
|
* Publish a single page.
|
|
8512
8497
|
* @param {string} name
|
|
@@ -8546,10 +8531,10 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8546
8531
|
/**
|
|
8547
8532
|
* List single pages.
|
|
8548
8533
|
* @param {Array<string>} [contributor]
|
|
8549
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8550
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8551
8534
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8552
8535
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8536
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8537
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8553
8538
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8554
8539
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8555
8540
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8558,7 +8543,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFp: (configuration?: Configu
|
|
|
8558
8543
|
* @param {*} [options] Override http request option.
|
|
8559
8544
|
* @throws {RequiredError}
|
|
8560
8545
|
*/
|
|
8561
|
-
listSinglePages(contributor?: Array<string>, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE',
|
|
8546
|
+
listSinglePages(contributor?: Array<string>, sortOrder?: boolean, keyword?: string, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', sort?: 'PUBLISH_TIME' | 'CREATE_TIME', page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListedSinglePageList>>;
|
|
8562
8547
|
/**
|
|
8563
8548
|
* Publish a single page.
|
|
8564
8549
|
* @param {string} name
|
|
@@ -8598,10 +8583,10 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8598
8583
|
/**
|
|
8599
8584
|
* List single pages.
|
|
8600
8585
|
* @param {Array<string>} [contributor]
|
|
8601
|
-
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8602
|
-
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8603
8586
|
* @param {boolean} [sortOrder] ascending order If it is true; otherwise, it is in descending order.
|
|
8604
8587
|
* @param {string} [keyword] SinglePages filtered by keyword.
|
|
8588
|
+
* @param {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'} [publishPhase]
|
|
8589
|
+
* @param {'PUBLIC' | 'INTERNAL' | 'PRIVATE'} [visible]
|
|
8605
8590
|
* @param {'PUBLISH_TIME' | 'CREATE_TIME'} [sort] SinglePage collation.
|
|
8606
8591
|
* @param {number} [page] The page number. Zero indicates no page.
|
|
8607
8592
|
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
@@ -8610,7 +8595,7 @@ declare const ApiConsoleHaloRunV1alpha1SinglePageApiFactory: (configuration?: Co
|
|
|
8610
8595
|
* @param {*} [options] Override http request option.
|
|
8611
8596
|
* @throws {RequiredError}
|
|
8612
8597
|
*/
|
|
8613
|
-
listSinglePages(contributor?: Array<string>, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE',
|
|
8598
|
+
listSinglePages(contributor?: Array<string>, sortOrder?: boolean, keyword?: string, publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED', visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE', sort?: 'PUBLISH_TIME' | 'CREATE_TIME', page?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, size?: number, options?: any): AxiosPromise<ListedSinglePageList>;
|
|
8614
8599
|
/**
|
|
8615
8600
|
* Publish a single page.
|
|
8616
8601
|
* @param {string} name
|
|
@@ -8660,18 +8645,6 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8660
8645
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8661
8646
|
*/
|
|
8662
8647
|
readonly contributor?: Array<string>;
|
|
8663
|
-
/**
|
|
8664
|
-
*
|
|
8665
|
-
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
8666
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8667
|
-
*/
|
|
8668
|
-
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8669
|
-
/**
|
|
8670
|
-
*
|
|
8671
|
-
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8672
|
-
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8673
|
-
*/
|
|
8674
|
-
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8675
8648
|
/**
|
|
8676
8649
|
* ascending order If it is true; otherwise, it is in descending order.
|
|
8677
8650
|
* @type {boolean}
|
|
@@ -8684,6 +8657,18 @@ interface ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePagesRequest {
|
|
|
8684
8657
|
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8685
8658
|
*/
|
|
8686
8659
|
readonly keyword?: string;
|
|
8660
|
+
/**
|
|
8661
|
+
*
|
|
8662
|
+
* @type {'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED'}
|
|
8663
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8664
|
+
*/
|
|
8665
|
+
readonly publishPhase?: 'DRAFT' | 'PENDING_APPROVAL' | 'PUBLISHED' | 'FAILED';
|
|
8666
|
+
/**
|
|
8667
|
+
*
|
|
8668
|
+
* @type {'PUBLIC' | 'INTERNAL' | 'PRIVATE'}
|
|
8669
|
+
* @memberof ApiConsoleHaloRunV1alpha1SinglePageApiListSinglePages
|
|
8670
|
+
*/
|
|
8671
|
+
readonly visible?: 'PUBLIC' | 'INTERNAL' | 'PRIVATE';
|
|
8687
8672
|
/**
|
|
8688
8673
|
* SinglePage collation.
|
|
8689
8674
|
* @type {'PUBLISH_TIME' | 'CREATE_TIME'}
|
package/dist/index.mjs
CHANGED
|
@@ -69,7 +69,7 @@ const createRequestFunction = function(axiosArgs, globalAxios, BASE_PATH, config
|
|
|
69
69
|
|
|
70
70
|
const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
71
71
|
return {
|
|
72
|
-
searchAttachments: async (ungrouped, uploadedBy, policy,
|
|
72
|
+
searchAttachments: async (group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options = {}) => {
|
|
73
73
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
74
74
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
75
75
|
let baseOptions;
|
|
@@ -81,6 +81,9 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
81
81
|
const localVarQueryParameter = {};
|
|
82
82
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
83
83
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
84
|
+
if (group !== void 0) {
|
|
85
|
+
localVarQueryParameter["group"] = group;
|
|
86
|
+
}
|
|
84
87
|
if (ungrouped !== void 0) {
|
|
85
88
|
localVarQueryParameter["ungrouped"] = ungrouped;
|
|
86
89
|
}
|
|
@@ -90,9 +93,6 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
90
93
|
if (policy !== void 0) {
|
|
91
94
|
localVarQueryParameter["policy"] = policy;
|
|
92
95
|
}
|
|
93
|
-
if (group !== void 0) {
|
|
94
|
-
localVarQueryParameter["group"] = group;
|
|
95
|
-
}
|
|
96
96
|
if (sort) {
|
|
97
97
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
98
98
|
}
|
|
@@ -158,8 +158,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configu
|
|
|
158
158
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
159
159
|
const localVarAxiosParamCreator = ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
160
160
|
return {
|
|
161
|
-
async searchAttachments(ungrouped, uploadedBy, policy,
|
|
162
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(ungrouped, uploadedBy, policy,
|
|
161
|
+
async searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options) {
|
|
162
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options);
|
|
163
163
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
164
164
|
},
|
|
165
165
|
async uploadAttachment(policyName, file, groupName, options) {
|
|
@@ -171,8 +171,8 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
171
171
|
const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
172
172
|
const localVarFp = ApiConsoleHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
173
173
|
return {
|
|
174
|
-
searchAttachments(ungrouped, uploadedBy, policy,
|
|
175
|
-
return localVarFp.searchAttachments(ungrouped, uploadedBy, policy,
|
|
174
|
+
searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options) {
|
|
175
|
+
return localVarFp.searchAttachments(group, ungrouped, uploadedBy, policy, sort, displayName, page, labelSelector, fieldSelector, size, options).then((request) => request(axios, basePath));
|
|
176
176
|
},
|
|
177
177
|
uploadAttachment(policyName, file, groupName, options) {
|
|
178
178
|
return localVarFp.uploadAttachment(policyName, file, groupName, options).then((request) => request(axios, basePath));
|
|
@@ -181,7 +181,7 @@ const ApiConsoleHaloRunV1alpha1AttachmentApiFactory = function(configuration, ba
|
|
|
181
181
|
};
|
|
182
182
|
class ApiConsoleHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
183
183
|
searchAttachments(requestParameters = {}, options) {
|
|
184
|
-
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.
|
|
184
|
+
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.group, requestParameters.ungrouped, requestParameters.uploadedBy, requestParameters.policy, requestParameters.sort, requestParameters.displayName, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
185
185
|
}
|
|
186
186
|
uploadAttachment(requestParameters, options) {
|
|
187
187
|
return ApiConsoleHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.policyName, requestParameters.file, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -677,7 +677,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
677
677
|
options: localVarRequestOptions
|
|
678
678
|
};
|
|
679
679
|
},
|
|
680
|
-
listPosts: async (tag,
|
|
680
|
+
listPosts: async (contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options = {}) => {
|
|
681
681
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
682
682
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
683
683
|
let baseOptions;
|
|
@@ -689,11 +689,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
689
689
|
const localVarQueryParameter = {};
|
|
690
690
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
691
691
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
692
|
+
if (contributor) {
|
|
693
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
694
|
+
}
|
|
692
695
|
if (tag) {
|
|
693
696
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
694
697
|
}
|
|
695
|
-
if (
|
|
696
|
-
localVarQueryParameter["
|
|
698
|
+
if (sortOrder !== void 0) {
|
|
699
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
700
|
+
}
|
|
701
|
+
if (keyword !== void 0) {
|
|
702
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
697
703
|
}
|
|
698
704
|
if (publishPhase !== void 0) {
|
|
699
705
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
@@ -704,12 +710,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
704
710
|
if (category) {
|
|
705
711
|
localVarQueryParameter["category"] = Array.from(category);
|
|
706
712
|
}
|
|
707
|
-
if (sortOrder !== void 0) {
|
|
708
|
-
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
709
|
-
}
|
|
710
|
-
if (keyword !== void 0) {
|
|
711
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
712
|
-
}
|
|
713
713
|
if (sort !== void 0) {
|
|
714
714
|
localVarQueryParameter["sort"] = sort;
|
|
715
715
|
}
|
|
@@ -856,8 +856,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
856
856
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
857
857
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
858
858
|
},
|
|
859
|
-
async listPosts(tag,
|
|
860
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(tag,
|
|
859
|
+
async listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options) {
|
|
860
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options);
|
|
861
861
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
862
862
|
},
|
|
863
863
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -888,8 +888,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
888
888
|
draftPost(postRequest, options) {
|
|
889
889
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
890
890
|
},
|
|
891
|
-
listPosts(tag,
|
|
892
|
-
return localVarFp.listPosts(tag,
|
|
891
|
+
listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options) {
|
|
892
|
+
return localVarFp.listPosts(contributor, tag, sortOrder, keyword, publishPhase, visible, category, sort, page, labelSelector, fieldSelector, size, options).then((request) => request(axios, basePath));
|
|
893
893
|
},
|
|
894
894
|
publishPost(name, headSnapshot, options) {
|
|
895
895
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -913,7 +913,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
913
913
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
914
914
|
}
|
|
915
915
|
listPosts(requestParameters = {}, options) {
|
|
916
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
916
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.contributor, requestParameters.tag, requestParameters.sortOrder, requestParameters.keyword, requestParameters.publishPhase, requestParameters.visible, requestParameters.category, requestParameters.sort, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
917
917
|
}
|
|
918
918
|
publishPost(requestParameters, options) {
|
|
919
919
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1019,7 +1019,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1019
1019
|
options: localVarRequestOptions
|
|
1020
1020
|
};
|
|
1021
1021
|
},
|
|
1022
|
-
listSinglePages: async (contributor,
|
|
1022
|
+
listSinglePages: async (contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options = {}) => {
|
|
1023
1023
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1024
1024
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1025
1025
|
let baseOptions;
|
|
@@ -1034,18 +1034,18 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1034
1034
|
if (contributor) {
|
|
1035
1035
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1036
1036
|
}
|
|
1037
|
-
if (publishPhase !== void 0) {
|
|
1038
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1039
|
-
}
|
|
1040
|
-
if (visible !== void 0) {
|
|
1041
|
-
localVarQueryParameter["visible"] = visible;
|
|
1042
|
-
}
|
|
1043
1037
|
if (sortOrder !== void 0) {
|
|
1044
1038
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
1045
1039
|
}
|
|
1046
1040
|
if (keyword !== void 0) {
|
|
1047
1041
|
localVarQueryParameter["keyword"] = keyword;
|
|
1048
1042
|
}
|
|
1043
|
+
if (publishPhase !== void 0) {
|
|
1044
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1045
|
+
}
|
|
1046
|
+
if (visible !== void 0) {
|
|
1047
|
+
localVarQueryParameter["visible"] = visible;
|
|
1048
|
+
}
|
|
1049
1049
|
if (sort !== void 0) {
|
|
1050
1050
|
localVarQueryParameter["sort"] = sort;
|
|
1051
1051
|
}
|
|
@@ -1147,8 +1147,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1147
1147
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1148
1148
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1149
1149
|
},
|
|
1150
|
-
async listSinglePages(contributor,
|
|
1151
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributor,
|
|
1150
|
+
async listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options) {
|
|
1151
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options);
|
|
1152
1152
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1153
1153
|
},
|
|
1154
1154
|
async publishSinglePage(name, options) {
|
|
@@ -1171,8 +1171,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1171
1171
|
draftSinglePage(singlePageRequest, options) {
|
|
1172
1172
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1173
1173
|
},
|
|
1174
|
-
listSinglePages(contributor,
|
|
1175
|
-
return localVarFp.listSinglePages(contributor,
|
|
1174
|
+
listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options) {
|
|
1175
|
+
return localVarFp.listSinglePages(contributor, sortOrder, keyword, publishPhase, visible, sort, page, labelSelector, fieldSelector, size, options).then((request) => request(axios, basePath));
|
|
1176
1176
|
},
|
|
1177
1177
|
publishSinglePage(name, options) {
|
|
1178
1178
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1190,7 +1190,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1190
1190
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1191
|
}
|
|
1192
1192
|
listSinglePages(requestParameters = {}, options) {
|
|
1193
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributor, requestParameters.
|
|
1193
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributor, requestParameters.sortOrder, requestParameters.keyword, requestParameters.publishPhase, requestParameters.visible, requestParameters.sort, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.size, options).then((request) => request(this.axios, this.basePath));
|
|
1194
1194
|
}
|
|
1195
1195
|
publishSinglePage(requestParameters, options) {
|
|
1196
1196
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|