@halo-dev/api-client 0.0.26 → 0.0.28
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 +251 -13
- package/dist/index.d.ts +681 -112
- package/dist/index.mjs +248 -14
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -462,7 +462,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
462
462
|
options: localVarRequestOptions
|
|
463
463
|
};
|
|
464
464
|
},
|
|
465
|
-
listPosts: async (sort,
|
|
465
|
+
listPosts: async (sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
466
466
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
467
467
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
468
468
|
let baseOptions;
|
|
@@ -477,9 +477,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
477
477
|
if (sort !== void 0) {
|
|
478
478
|
localVarQueryParameter["sort"] = sort;
|
|
479
479
|
}
|
|
480
|
-
if (contributor) {
|
|
481
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
482
|
-
}
|
|
483
480
|
if (sortOrder !== void 0) {
|
|
484
481
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
485
482
|
}
|
|
@@ -489,14 +486,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
489
486
|
if (category) {
|
|
490
487
|
localVarQueryParameter["category"] = Array.from(category);
|
|
491
488
|
}
|
|
492
|
-
if (
|
|
493
|
-
localVarQueryParameter["
|
|
489
|
+
if (contributor) {
|
|
490
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
491
|
+
}
|
|
492
|
+
if (keyword !== void 0) {
|
|
493
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
494
494
|
}
|
|
495
495
|
if (visible !== void 0) {
|
|
496
496
|
localVarQueryParameter["visible"] = visible;
|
|
497
497
|
}
|
|
498
|
-
if (
|
|
499
|
-
localVarQueryParameter["
|
|
498
|
+
if (tag) {
|
|
499
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
500
500
|
}
|
|
501
501
|
if (size !== void 0) {
|
|
502
502
|
localVarQueryParameter["size"] = size;
|
|
@@ -572,8 +572,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
572
572
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
573
573
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
574
574
|
},
|
|
575
|
-
async listPosts(sort,
|
|
576
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
575
|
+
async listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
|
|
577
577
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
578
578
|
},
|
|
579
579
|
async publishPost(name, options) {
|
|
@@ -592,8 +592,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
592
592
|
draftPost(postRequest, options) {
|
|
593
593
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
594
594
|
},
|
|
595
|
-
listPosts(sort,
|
|
596
|
-
return localVarFp.listPosts(sort,
|
|
595
|
+
listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
|
|
596
|
+
return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
597
597
|
},
|
|
598
598
|
publishPost(name, options) {
|
|
599
599
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -608,7 +608,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
608
608
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
609
609
|
}
|
|
610
610
|
listPosts(requestParameters = {}, options) {
|
|
611
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
611
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
612
612
|
}
|
|
613
613
|
publishPost(requestParameters, options) {
|
|
614
614
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -868,6 +868,27 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
868
868
|
url: toPathString(localVarUrlObj),
|
|
869
869
|
options: localVarRequestOptions
|
|
870
870
|
};
|
|
871
|
+
},
|
|
872
|
+
reloadThemeSetting: async (name, options = {}) => {
|
|
873
|
+
assertParamExists("reloadThemeSetting", "name", name);
|
|
874
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/reload-setting`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
875
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
876
|
+
let baseOptions;
|
|
877
|
+
if (configuration) {
|
|
878
|
+
baseOptions = configuration.baseOptions;
|
|
879
|
+
}
|
|
880
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
881
|
+
const localVarHeaderParameter = {};
|
|
882
|
+
const localVarQueryParameter = {};
|
|
883
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
884
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
885
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
886
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
887
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
888
|
+
return {
|
|
889
|
+
url: toPathString(localVarUrlObj),
|
|
890
|
+
options: localVarRequestOptions
|
|
891
|
+
};
|
|
871
892
|
}
|
|
872
893
|
};
|
|
873
894
|
};
|
|
@@ -877,6 +898,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
877
898
|
async installTheme(file, options) {
|
|
878
899
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
879
900
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
901
|
+
},
|
|
902
|
+
async reloadThemeSetting(name, options) {
|
|
903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
|
|
904
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
880
905
|
}
|
|
881
906
|
};
|
|
882
907
|
};
|
|
@@ -885,6 +910,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
885
910
|
return {
|
|
886
911
|
installTheme(file, options) {
|
|
887
912
|
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
913
|
+
},
|
|
914
|
+
reloadThemeSetting(name, options) {
|
|
915
|
+
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
888
916
|
}
|
|
889
917
|
};
|
|
890
918
|
};
|
|
@@ -892,6 +920,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
892
920
|
installTheme(requestParameters, options) {
|
|
893
921
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
894
922
|
}
|
|
923
|
+
reloadThemeSetting(requestParameters, options) {
|
|
924
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
925
|
+
}
|
|
895
926
|
}
|
|
896
927
|
|
|
897
928
|
const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
@@ -1040,6 +1071,209 @@ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
1040
1071
|
}
|
|
1041
1072
|
}
|
|
1042
1073
|
|
|
1074
|
+
const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
1075
|
+
return {
|
|
1076
|
+
createComment1: async (commentRequest, options = {}) => {
|
|
1077
|
+
assertParamExists("createComment1", "commentRequest", commentRequest);
|
|
1078
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
1079
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1080
|
+
let baseOptions;
|
|
1081
|
+
if (configuration) {
|
|
1082
|
+
baseOptions = configuration.baseOptions;
|
|
1083
|
+
}
|
|
1084
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1085
|
+
const localVarHeaderParameter = {};
|
|
1086
|
+
const localVarQueryParameter = {};
|
|
1087
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1088
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1089
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1090
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1091
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1092
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1093
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commentRequest, localVarRequestOptions, configuration);
|
|
1094
|
+
return {
|
|
1095
|
+
url: toPathString(localVarUrlObj),
|
|
1096
|
+
options: localVarRequestOptions
|
|
1097
|
+
};
|
|
1098
|
+
},
|
|
1099
|
+
createReply1: async (name, replyRequest, options = {}) => {
|
|
1100
|
+
assertParamExists("createReply1", "name", name);
|
|
1101
|
+
assertParamExists("createReply1", "replyRequest", replyRequest);
|
|
1102
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1103
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1104
|
+
let baseOptions;
|
|
1105
|
+
if (configuration) {
|
|
1106
|
+
baseOptions = configuration.baseOptions;
|
|
1107
|
+
}
|
|
1108
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1109
|
+
const localVarHeaderParameter = {};
|
|
1110
|
+
const localVarQueryParameter = {};
|
|
1111
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1112
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1113
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1114
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1115
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1116
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1117
|
+
localVarRequestOptions.data = serializeDataIfNeeded(replyRequest, localVarRequestOptions, configuration);
|
|
1118
|
+
return {
|
|
1119
|
+
url: toPathString(localVarUrlObj),
|
|
1120
|
+
options: localVarRequestOptions
|
|
1121
|
+
};
|
|
1122
|
+
},
|
|
1123
|
+
getComment: async (name, options = {}) => {
|
|
1124
|
+
assertParamExists("getComment", "name", name);
|
|
1125
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1126
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1127
|
+
let baseOptions;
|
|
1128
|
+
if (configuration) {
|
|
1129
|
+
baseOptions = configuration.baseOptions;
|
|
1130
|
+
}
|
|
1131
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1132
|
+
const localVarHeaderParameter = {};
|
|
1133
|
+
const localVarQueryParameter = {};
|
|
1134
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1135
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1136
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1137
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1138
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1139
|
+
return {
|
|
1140
|
+
url: toPathString(localVarUrlObj),
|
|
1141
|
+
options: localVarRequestOptions
|
|
1142
|
+
};
|
|
1143
|
+
},
|
|
1144
|
+
listCommentReplies: async (name, size, page, options = {}) => {
|
|
1145
|
+
assertParamExists("listCommentReplies", "name", name);
|
|
1146
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1147
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1148
|
+
let baseOptions;
|
|
1149
|
+
if (configuration) {
|
|
1150
|
+
baseOptions = configuration.baseOptions;
|
|
1151
|
+
}
|
|
1152
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1153
|
+
const localVarHeaderParameter = {};
|
|
1154
|
+
const localVarQueryParameter = {};
|
|
1155
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1156
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1157
|
+
if (size !== void 0) {
|
|
1158
|
+
localVarQueryParameter["size"] = size;
|
|
1159
|
+
}
|
|
1160
|
+
if (page !== void 0) {
|
|
1161
|
+
localVarQueryParameter["page"] = page;
|
|
1162
|
+
}
|
|
1163
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1164
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1165
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1166
|
+
return {
|
|
1167
|
+
url: toPathString(localVarUrlObj),
|
|
1168
|
+
options: localVarRequestOptions
|
|
1169
|
+
};
|
|
1170
|
+
},
|
|
1171
|
+
listComments1: async (name, version, kind, group, size, page, options = {}) => {
|
|
1172
|
+
assertParamExists("listComments1", "name", name);
|
|
1173
|
+
assertParamExists("listComments1", "version", version);
|
|
1174
|
+
assertParamExists("listComments1", "kind", kind);
|
|
1175
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
1176
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1177
|
+
let baseOptions;
|
|
1178
|
+
if (configuration) {
|
|
1179
|
+
baseOptions = configuration.baseOptions;
|
|
1180
|
+
}
|
|
1181
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1182
|
+
const localVarHeaderParameter = {};
|
|
1183
|
+
const localVarQueryParameter = {};
|
|
1184
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1185
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1186
|
+
if (name !== void 0) {
|
|
1187
|
+
localVarQueryParameter["name"] = name;
|
|
1188
|
+
}
|
|
1189
|
+
if (version !== void 0) {
|
|
1190
|
+
localVarQueryParameter["version"] = version;
|
|
1191
|
+
}
|
|
1192
|
+
if (group !== void 0) {
|
|
1193
|
+
localVarQueryParameter["group"] = group;
|
|
1194
|
+
}
|
|
1195
|
+
if (kind !== void 0) {
|
|
1196
|
+
localVarQueryParameter["kind"] = kind;
|
|
1197
|
+
}
|
|
1198
|
+
if (size !== void 0) {
|
|
1199
|
+
localVarQueryParameter["size"] = size;
|
|
1200
|
+
}
|
|
1201
|
+
if (page !== void 0) {
|
|
1202
|
+
localVarQueryParameter["page"] = page;
|
|
1203
|
+
}
|
|
1204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1206
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1207
|
+
return {
|
|
1208
|
+
url: toPathString(localVarUrlObj),
|
|
1209
|
+
options: localVarRequestOptions
|
|
1210
|
+
};
|
|
1211
|
+
}
|
|
1212
|
+
};
|
|
1213
|
+
};
|
|
1214
|
+
const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
1215
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
|
|
1216
|
+
return {
|
|
1217
|
+
async createComment1(commentRequest, options) {
|
|
1218
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createComment1(commentRequest, options);
|
|
1219
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1220
|
+
},
|
|
1221
|
+
async createReply1(name, replyRequest, options) {
|
|
1222
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply1(name, replyRequest, options);
|
|
1223
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1224
|
+
},
|
|
1225
|
+
async getComment(name, options) {
|
|
1226
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getComment(name, options);
|
|
1227
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1228
|
+
},
|
|
1229
|
+
async listCommentReplies(name, size, page, options) {
|
|
1230
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommentReplies(name, size, page, options);
|
|
1231
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1232
|
+
},
|
|
1233
|
+
async listComments1(name, version, kind, group, size, page, options) {
|
|
1234
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(name, version, kind, group, size, page, options);
|
|
1235
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1236
|
+
}
|
|
1237
|
+
};
|
|
1238
|
+
};
|
|
1239
|
+
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
1240
|
+
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
1241
|
+
return {
|
|
1242
|
+
createComment1(commentRequest, options) {
|
|
1243
|
+
return localVarFp.createComment1(commentRequest, options).then((request) => request(axios, basePath));
|
|
1244
|
+
},
|
|
1245
|
+
createReply1(name, replyRequest, options) {
|
|
1246
|
+
return localVarFp.createReply1(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
1247
|
+
},
|
|
1248
|
+
getComment(name, options) {
|
|
1249
|
+
return localVarFp.getComment(name, options).then((request) => request(axios, basePath));
|
|
1250
|
+
},
|
|
1251
|
+
listCommentReplies(name, size, page, options) {
|
|
1252
|
+
return localVarFp.listCommentReplies(name, size, page, options).then((request) => request(axios, basePath));
|
|
1253
|
+
},
|
|
1254
|
+
listComments1(name, version, kind, group, size, page, options) {
|
|
1255
|
+
return localVarFp.listComments1(name, version, kind, group, size, page, options).then((request) => request(axios, basePath));
|
|
1256
|
+
}
|
|
1257
|
+
};
|
|
1258
|
+
};
|
|
1259
|
+
class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
1260
|
+
createComment1(requestParameters, options) {
|
|
1261
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createComment1(requestParameters.commentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1262
|
+
}
|
|
1263
|
+
createReply1(requestParameters, options) {
|
|
1264
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createReply1(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1265
|
+
}
|
|
1266
|
+
getComment(requestParameters, options) {
|
|
1267
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).getComment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1268
|
+
}
|
|
1269
|
+
listCommentReplies(requestParameters, options) {
|
|
1270
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1271
|
+
}
|
|
1272
|
+
listComments1(requestParameters, options) {
|
|
1273
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listComments1(requestParameters.name, requestParameters.version, requestParameters.kind, requestParameters.group, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1274
|
+
}
|
|
1275
|
+
}
|
|
1276
|
+
|
|
1043
1277
|
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
1044
1278
|
return {
|
|
1045
1279
|
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
@@ -5311,6 +5545,10 @@ exports.ApiConsoleHaloRunV1alpha1UserApi = ApiConsoleHaloRunV1alpha1UserApi;
|
|
|
5311
5545
|
exports.ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator;
|
|
5312
5546
|
exports.ApiConsoleHaloRunV1alpha1UserApiFactory = ApiConsoleHaloRunV1alpha1UserApiFactory;
|
|
5313
5547
|
exports.ApiConsoleHaloRunV1alpha1UserApiFp = ApiConsoleHaloRunV1alpha1UserApiFp;
|
|
5548
|
+
exports.ApiHaloRunV1alpha1CommentApi = ApiHaloRunV1alpha1CommentApi;
|
|
5549
|
+
exports.ApiHaloRunV1alpha1CommentApiAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
5550
|
+
exports.ApiHaloRunV1alpha1CommentApiFactory = ApiHaloRunV1alpha1CommentApiFactory;
|
|
5551
|
+
exports.ApiHaloRunV1alpha1CommentApiFp = ApiHaloRunV1alpha1CommentApiFp;
|
|
5314
5552
|
exports.CompactPostVisibleEnum = CompactPostVisibleEnum;
|
|
5315
5553
|
exports.ConditionStatusEnum = ConditionStatusEnum;
|
|
5316
5554
|
exports.Configuration = Configuration;
|