@halo-dev/api-client 0.0.27 → 0.0.29
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 +635 -33
- package/dist/index.d.ts +2203 -911
- package/dist/index.mjs +624 -34
- 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, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
466
466
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
467
467
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
468
468
|
let baseOptions;
|
|
@@ -477,27 +477,27 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
477
477
|
if (sort !== void 0) {
|
|
478
478
|
localVarQueryParameter["sort"] = sort;
|
|
479
479
|
}
|
|
480
|
-
if (publishPhase !== void 0) {
|
|
481
|
-
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
482
|
-
}
|
|
483
|
-
if (category) {
|
|
484
|
-
localVarQueryParameter["category"] = Array.from(category);
|
|
485
|
-
}
|
|
486
480
|
if (contributor) {
|
|
487
481
|
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
488
482
|
}
|
|
489
483
|
if (sortOrder !== void 0) {
|
|
490
484
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
491
485
|
}
|
|
492
|
-
if (
|
|
493
|
-
localVarQueryParameter["
|
|
486
|
+
if (publishPhase !== void 0) {
|
|
487
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
494
488
|
}
|
|
495
|
-
if (
|
|
496
|
-
localVarQueryParameter["
|
|
489
|
+
if (category) {
|
|
490
|
+
localVarQueryParameter["category"] = Array.from(category);
|
|
497
491
|
}
|
|
498
492
|
if (tag) {
|
|
499
493
|
localVarQueryParameter["tag"] = Array.from(tag);
|
|
500
494
|
}
|
|
495
|
+
if (visible !== void 0) {
|
|
496
|
+
localVarQueryParameter["visible"] = visible;
|
|
497
|
+
}
|
|
498
|
+
if (keyword !== void 0) {
|
|
499
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
500
|
+
}
|
|
501
501
|
if (size !== void 0) {
|
|
502
502
|
localVarQueryParameter["size"] = size;
|
|
503
503
|
}
|
|
@@ -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, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
576
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options);
|
|
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, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
596
|
+
return localVarFp.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
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.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.tag, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
612
612
|
}
|
|
613
613
|
publishPost(requestParameters, options) {
|
|
614
614
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -705,7 +705,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
705
705
|
options: localVarRequestOptions
|
|
706
706
|
};
|
|
707
707
|
},
|
|
708
|
-
listSinglePages: async (
|
|
708
|
+
listSinglePages: async (sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
709
709
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
710
710
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
711
711
|
let baseOptions;
|
|
@@ -717,8 +717,23 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
717
717
|
const localVarQueryParameter = {};
|
|
718
718
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
719
719
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
720
|
-
if (
|
|
721
|
-
localVarQueryParameter["
|
|
720
|
+
if (sort !== void 0) {
|
|
721
|
+
localVarQueryParameter["sort"] = sort;
|
|
722
|
+
}
|
|
723
|
+
if (contributor) {
|
|
724
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
725
|
+
}
|
|
726
|
+
if (sortOrder !== void 0) {
|
|
727
|
+
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
728
|
+
}
|
|
729
|
+
if (publishPhase !== void 0) {
|
|
730
|
+
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
731
|
+
}
|
|
732
|
+
if (visible !== void 0) {
|
|
733
|
+
localVarQueryParameter["visible"] = visible;
|
|
734
|
+
}
|
|
735
|
+
if (keyword !== void 0) {
|
|
736
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
722
737
|
}
|
|
723
738
|
if (size !== void 0) {
|
|
724
739
|
localVarQueryParameter["size"] = size;
|
|
@@ -794,8 +809,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
794
809
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
795
810
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
796
811
|
},
|
|
797
|
-
async listSinglePages(
|
|
798
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(
|
|
812
|
+
async listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
813
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options);
|
|
799
814
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
800
815
|
},
|
|
801
816
|
async publishSinglePage(name, options) {
|
|
@@ -814,8 +829,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
814
829
|
draftSinglePage(singlePageRequest, options) {
|
|
815
830
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
816
831
|
},
|
|
817
|
-
listSinglePages(
|
|
818
|
-
return localVarFp.listSinglePages(
|
|
832
|
+
listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
|
|
833
|
+
return localVarFp.listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
819
834
|
},
|
|
820
835
|
publishSinglePage(name, options) {
|
|
821
836
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -830,7 +845,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
830
845
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
831
846
|
}
|
|
832
847
|
listSinglePages(requestParameters = {}, options) {
|
|
833
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.
|
|
848
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
834
849
|
}
|
|
835
850
|
publishSinglePage(requestParameters, options) {
|
|
836
851
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1071,6 +1086,209 @@ class ApiConsoleHaloRunV1alpha1UserApi extends BaseAPI {
|
|
|
1071
1086
|
}
|
|
1072
1087
|
}
|
|
1073
1088
|
|
|
1089
|
+
const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
1090
|
+
return {
|
|
1091
|
+
createComment1: async (commentRequest, options = {}) => {
|
|
1092
|
+
assertParamExists("createComment1", "commentRequest", commentRequest);
|
|
1093
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
1094
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1095
|
+
let baseOptions;
|
|
1096
|
+
if (configuration) {
|
|
1097
|
+
baseOptions = configuration.baseOptions;
|
|
1098
|
+
}
|
|
1099
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1100
|
+
const localVarHeaderParameter = {};
|
|
1101
|
+
const localVarQueryParameter = {};
|
|
1102
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1103
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1104
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1105
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1106
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1107
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1108
|
+
localVarRequestOptions.data = serializeDataIfNeeded(commentRequest, localVarRequestOptions, configuration);
|
|
1109
|
+
return {
|
|
1110
|
+
url: toPathString(localVarUrlObj),
|
|
1111
|
+
options: localVarRequestOptions
|
|
1112
|
+
};
|
|
1113
|
+
},
|
|
1114
|
+
createReply1: async (name, replyRequest, options = {}) => {
|
|
1115
|
+
assertParamExists("createReply1", "name", name);
|
|
1116
|
+
assertParamExists("createReply1", "replyRequest", replyRequest);
|
|
1117
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1119
|
+
let baseOptions;
|
|
1120
|
+
if (configuration) {
|
|
1121
|
+
baseOptions = configuration.baseOptions;
|
|
1122
|
+
}
|
|
1123
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1124
|
+
const localVarHeaderParameter = {};
|
|
1125
|
+
const localVarQueryParameter = {};
|
|
1126
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1127
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1128
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1131
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1132
|
+
localVarRequestOptions.data = serializeDataIfNeeded(replyRequest, localVarRequestOptions, configuration);
|
|
1133
|
+
return {
|
|
1134
|
+
url: toPathString(localVarUrlObj),
|
|
1135
|
+
options: localVarRequestOptions
|
|
1136
|
+
};
|
|
1137
|
+
},
|
|
1138
|
+
getComment: async (name, options = {}) => {
|
|
1139
|
+
assertParamExists("getComment", "name", name);
|
|
1140
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1141
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1142
|
+
let baseOptions;
|
|
1143
|
+
if (configuration) {
|
|
1144
|
+
baseOptions = configuration.baseOptions;
|
|
1145
|
+
}
|
|
1146
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1147
|
+
const localVarHeaderParameter = {};
|
|
1148
|
+
const localVarQueryParameter = {};
|
|
1149
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1150
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1153
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1154
|
+
return {
|
|
1155
|
+
url: toPathString(localVarUrlObj),
|
|
1156
|
+
options: localVarRequestOptions
|
|
1157
|
+
};
|
|
1158
|
+
},
|
|
1159
|
+
listCommentReplies: async (name, size, page, options = {}) => {
|
|
1160
|
+
assertParamExists("listCommentReplies", "name", name);
|
|
1161
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments/{name}/reply`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1162
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1163
|
+
let baseOptions;
|
|
1164
|
+
if (configuration) {
|
|
1165
|
+
baseOptions = configuration.baseOptions;
|
|
1166
|
+
}
|
|
1167
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1168
|
+
const localVarHeaderParameter = {};
|
|
1169
|
+
const localVarQueryParameter = {};
|
|
1170
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1171
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1172
|
+
if (size !== void 0) {
|
|
1173
|
+
localVarQueryParameter["size"] = size;
|
|
1174
|
+
}
|
|
1175
|
+
if (page !== void 0) {
|
|
1176
|
+
localVarQueryParameter["page"] = page;
|
|
1177
|
+
}
|
|
1178
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1179
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1180
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1181
|
+
return {
|
|
1182
|
+
url: toPathString(localVarUrlObj),
|
|
1183
|
+
options: localVarRequestOptions
|
|
1184
|
+
};
|
|
1185
|
+
},
|
|
1186
|
+
listComments1: async (name, version, kind, group, size, page, options = {}) => {
|
|
1187
|
+
assertParamExists("listComments1", "name", name);
|
|
1188
|
+
assertParamExists("listComments1", "version", version);
|
|
1189
|
+
assertParamExists("listComments1", "kind", kind);
|
|
1190
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/comments`;
|
|
1191
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1192
|
+
let baseOptions;
|
|
1193
|
+
if (configuration) {
|
|
1194
|
+
baseOptions = configuration.baseOptions;
|
|
1195
|
+
}
|
|
1196
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1197
|
+
const localVarHeaderParameter = {};
|
|
1198
|
+
const localVarQueryParameter = {};
|
|
1199
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1200
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1201
|
+
if (name !== void 0) {
|
|
1202
|
+
localVarQueryParameter["name"] = name;
|
|
1203
|
+
}
|
|
1204
|
+
if (version !== void 0) {
|
|
1205
|
+
localVarQueryParameter["version"] = version;
|
|
1206
|
+
}
|
|
1207
|
+
if (kind !== void 0) {
|
|
1208
|
+
localVarQueryParameter["kind"] = kind;
|
|
1209
|
+
}
|
|
1210
|
+
if (group !== void 0) {
|
|
1211
|
+
localVarQueryParameter["group"] = group;
|
|
1212
|
+
}
|
|
1213
|
+
if (size !== void 0) {
|
|
1214
|
+
localVarQueryParameter["size"] = size;
|
|
1215
|
+
}
|
|
1216
|
+
if (page !== void 0) {
|
|
1217
|
+
localVarQueryParameter["page"] = page;
|
|
1218
|
+
}
|
|
1219
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1220
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1221
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1222
|
+
return {
|
|
1223
|
+
url: toPathString(localVarUrlObj),
|
|
1224
|
+
options: localVarRequestOptions
|
|
1225
|
+
};
|
|
1226
|
+
}
|
|
1227
|
+
};
|
|
1228
|
+
};
|
|
1229
|
+
const ApiHaloRunV1alpha1CommentApiFp = function(configuration) {
|
|
1230
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator(configuration);
|
|
1231
|
+
return {
|
|
1232
|
+
async createComment1(commentRequest, options) {
|
|
1233
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createComment1(commentRequest, options);
|
|
1234
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1235
|
+
},
|
|
1236
|
+
async createReply1(name, replyRequest, options) {
|
|
1237
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createReply1(name, replyRequest, options);
|
|
1238
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1239
|
+
},
|
|
1240
|
+
async getComment(name, options) {
|
|
1241
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getComment(name, options);
|
|
1242
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1243
|
+
},
|
|
1244
|
+
async listCommentReplies(name, size, page, options) {
|
|
1245
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listCommentReplies(name, size, page, options);
|
|
1246
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1247
|
+
},
|
|
1248
|
+
async listComments1(name, version, kind, group, size, page, options) {
|
|
1249
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listComments1(name, version, kind, group, size, page, options);
|
|
1250
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1251
|
+
}
|
|
1252
|
+
};
|
|
1253
|
+
};
|
|
1254
|
+
const ApiHaloRunV1alpha1CommentApiFactory = function(configuration, basePath, axios) {
|
|
1255
|
+
const localVarFp = ApiHaloRunV1alpha1CommentApiFp(configuration);
|
|
1256
|
+
return {
|
|
1257
|
+
createComment1(commentRequest, options) {
|
|
1258
|
+
return localVarFp.createComment1(commentRequest, options).then((request) => request(axios, basePath));
|
|
1259
|
+
},
|
|
1260
|
+
createReply1(name, replyRequest, options) {
|
|
1261
|
+
return localVarFp.createReply1(name, replyRequest, options).then((request) => request(axios, basePath));
|
|
1262
|
+
},
|
|
1263
|
+
getComment(name, options) {
|
|
1264
|
+
return localVarFp.getComment(name, options).then((request) => request(axios, basePath));
|
|
1265
|
+
},
|
|
1266
|
+
listCommentReplies(name, size, page, options) {
|
|
1267
|
+
return localVarFp.listCommentReplies(name, size, page, options).then((request) => request(axios, basePath));
|
|
1268
|
+
},
|
|
1269
|
+
listComments1(name, version, kind, group, size, page, options) {
|
|
1270
|
+
return localVarFp.listComments1(name, version, kind, group, size, page, options).then((request) => request(axios, basePath));
|
|
1271
|
+
}
|
|
1272
|
+
};
|
|
1273
|
+
};
|
|
1274
|
+
class ApiHaloRunV1alpha1CommentApi extends BaseAPI {
|
|
1275
|
+
createComment1(requestParameters, options) {
|
|
1276
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createComment1(requestParameters.commentRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1277
|
+
}
|
|
1278
|
+
createReply1(requestParameters, options) {
|
|
1279
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).createReply1(requestParameters.name, requestParameters.replyRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1280
|
+
}
|
|
1281
|
+
getComment(requestParameters, options) {
|
|
1282
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).getComment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1283
|
+
}
|
|
1284
|
+
listCommentReplies(requestParameters, options) {
|
|
1285
|
+
return ApiHaloRunV1alpha1CommentApiFp(this.configuration).listCommentReplies(requestParameters.name, requestParameters.size, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
1286
|
+
}
|
|
1287
|
+
listComments1(requestParameters, options) {
|
|
1288
|
+
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));
|
|
1289
|
+
}
|
|
1290
|
+
}
|
|
1291
|
+
|
|
1074
1292
|
const ContentHaloRunV1alpha1CategoryApiAxiosParamCreator = function(configuration) {
|
|
1075
1293
|
return {
|
|
1076
1294
|
createcontentHaloRunV1alpha1Category: async (category, options = {}) => {
|
|
@@ -2373,6 +2591,378 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
2373
2591
|
}
|
|
2374
2592
|
}
|
|
2375
2593
|
|
|
2594
|
+
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
2595
|
+
return {
|
|
2596
|
+
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
2597
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
2598
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2599
|
+
let baseOptions;
|
|
2600
|
+
if (configuration) {
|
|
2601
|
+
baseOptions = configuration.baseOptions;
|
|
2602
|
+
}
|
|
2603
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2604
|
+
const localVarHeaderParameter = {};
|
|
2605
|
+
const localVarQueryParameter = {};
|
|
2606
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2607
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2608
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2609
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2610
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2611
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2612
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
2613
|
+
return {
|
|
2614
|
+
url: toPathString(localVarUrlObj),
|
|
2615
|
+
options: localVarRequestOptions
|
|
2616
|
+
};
|
|
2617
|
+
},
|
|
2618
|
+
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
2619
|
+
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
2620
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2621
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2622
|
+
let baseOptions;
|
|
2623
|
+
if (configuration) {
|
|
2624
|
+
baseOptions = configuration.baseOptions;
|
|
2625
|
+
}
|
|
2626
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2627
|
+
const localVarHeaderParameter = {};
|
|
2628
|
+
const localVarQueryParameter = {};
|
|
2629
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2630
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2631
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2632
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2633
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2634
|
+
return {
|
|
2635
|
+
url: toPathString(localVarUrlObj),
|
|
2636
|
+
options: localVarRequestOptions
|
|
2637
|
+
};
|
|
2638
|
+
},
|
|
2639
|
+
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
2640
|
+
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
2641
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2643
|
+
let baseOptions;
|
|
2644
|
+
if (configuration) {
|
|
2645
|
+
baseOptions = configuration.baseOptions;
|
|
2646
|
+
}
|
|
2647
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2648
|
+
const localVarHeaderParameter = {};
|
|
2649
|
+
const localVarQueryParameter = {};
|
|
2650
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2651
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2652
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2653
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2654
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2655
|
+
return {
|
|
2656
|
+
url: toPathString(localVarUrlObj),
|
|
2657
|
+
options: localVarRequestOptions
|
|
2658
|
+
};
|
|
2659
|
+
},
|
|
2660
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2661
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
2662
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2663
|
+
let baseOptions;
|
|
2664
|
+
if (configuration) {
|
|
2665
|
+
baseOptions = configuration.baseOptions;
|
|
2666
|
+
}
|
|
2667
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2668
|
+
const localVarHeaderParameter = {};
|
|
2669
|
+
const localVarQueryParameter = {};
|
|
2670
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2671
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2672
|
+
if (page !== void 0) {
|
|
2673
|
+
localVarQueryParameter["page"] = page;
|
|
2674
|
+
}
|
|
2675
|
+
if (size !== void 0) {
|
|
2676
|
+
localVarQueryParameter["size"] = size;
|
|
2677
|
+
}
|
|
2678
|
+
if (labelSelector) {
|
|
2679
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2680
|
+
}
|
|
2681
|
+
if (fieldSelector) {
|
|
2682
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2683
|
+
}
|
|
2684
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2685
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2686
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2687
|
+
return {
|
|
2688
|
+
url: toPathString(localVarUrlObj),
|
|
2689
|
+
options: localVarRequestOptions
|
|
2690
|
+
};
|
|
2691
|
+
},
|
|
2692
|
+
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
2693
|
+
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
2694
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2695
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2696
|
+
let baseOptions;
|
|
2697
|
+
if (configuration) {
|
|
2698
|
+
baseOptions = configuration.baseOptions;
|
|
2699
|
+
}
|
|
2700
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2701
|
+
const localVarHeaderParameter = {};
|
|
2702
|
+
const localVarQueryParameter = {};
|
|
2703
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2704
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2705
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2706
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2707
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2708
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2709
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
2710
|
+
return {
|
|
2711
|
+
url: toPathString(localVarUrlObj),
|
|
2712
|
+
options: localVarRequestOptions
|
|
2713
|
+
};
|
|
2714
|
+
}
|
|
2715
|
+
};
|
|
2716
|
+
};
|
|
2717
|
+
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
2718
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
2719
|
+
return {
|
|
2720
|
+
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
2721
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
2722
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2723
|
+
},
|
|
2724
|
+
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
2725
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
2726
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2727
|
+
},
|
|
2728
|
+
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
2729
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
2730
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2731
|
+
},
|
|
2732
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
2733
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
2734
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2735
|
+
},
|
|
2736
|
+
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
2737
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
2738
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2739
|
+
}
|
|
2740
|
+
};
|
|
2741
|
+
};
|
|
2742
|
+
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
2743
|
+
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
2744
|
+
return {
|
|
2745
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
2746
|
+
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
2747
|
+
},
|
|
2748
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
2749
|
+
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
2750
|
+
},
|
|
2751
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
2752
|
+
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
2753
|
+
},
|
|
2754
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
2755
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2756
|
+
},
|
|
2757
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
2758
|
+
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
2759
|
+
}
|
|
2760
|
+
};
|
|
2761
|
+
};
|
|
2762
|
+
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
2763
|
+
createcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
2764
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
2765
|
+
}
|
|
2766
|
+
deletecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2767
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2768
|
+
}
|
|
2769
|
+
getcoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2770
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2771
|
+
}
|
|
2772
|
+
listcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
2773
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2774
|
+
}
|
|
2775
|
+
updatecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
2776
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(requestParameters.name, requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
2777
|
+
}
|
|
2778
|
+
}
|
|
2779
|
+
|
|
2780
|
+
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
2781
|
+
return {
|
|
2782
|
+
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
2783
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2784
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2785
|
+
let baseOptions;
|
|
2786
|
+
if (configuration) {
|
|
2787
|
+
baseOptions = configuration.baseOptions;
|
|
2788
|
+
}
|
|
2789
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2790
|
+
const localVarHeaderParameter = {};
|
|
2791
|
+
const localVarQueryParameter = {};
|
|
2792
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2793
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2794
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2795
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2796
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2797
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2798
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
2799
|
+
return {
|
|
2800
|
+
url: toPathString(localVarUrlObj),
|
|
2801
|
+
options: localVarRequestOptions
|
|
2802
|
+
};
|
|
2803
|
+
},
|
|
2804
|
+
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2805
|
+
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2806
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2808
|
+
let baseOptions;
|
|
2809
|
+
if (configuration) {
|
|
2810
|
+
baseOptions = configuration.baseOptions;
|
|
2811
|
+
}
|
|
2812
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2813
|
+
const localVarHeaderParameter = {};
|
|
2814
|
+
const localVarQueryParameter = {};
|
|
2815
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2816
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2817
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2818
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2819
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2820
|
+
return {
|
|
2821
|
+
url: toPathString(localVarUrlObj),
|
|
2822
|
+
options: localVarRequestOptions
|
|
2823
|
+
};
|
|
2824
|
+
},
|
|
2825
|
+
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
2826
|
+
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2827
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2828
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2829
|
+
let baseOptions;
|
|
2830
|
+
if (configuration) {
|
|
2831
|
+
baseOptions = configuration.baseOptions;
|
|
2832
|
+
}
|
|
2833
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2834
|
+
const localVarHeaderParameter = {};
|
|
2835
|
+
const localVarQueryParameter = {};
|
|
2836
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2837
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2838
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2839
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2840
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2841
|
+
return {
|
|
2842
|
+
url: toPathString(localVarUrlObj),
|
|
2843
|
+
options: localVarRequestOptions
|
|
2844
|
+
};
|
|
2845
|
+
},
|
|
2846
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2847
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
2848
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2849
|
+
let baseOptions;
|
|
2850
|
+
if (configuration) {
|
|
2851
|
+
baseOptions = configuration.baseOptions;
|
|
2852
|
+
}
|
|
2853
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2854
|
+
const localVarHeaderParameter = {};
|
|
2855
|
+
const localVarQueryParameter = {};
|
|
2856
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2857
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2858
|
+
if (page !== void 0) {
|
|
2859
|
+
localVarQueryParameter["page"] = page;
|
|
2860
|
+
}
|
|
2861
|
+
if (size !== void 0) {
|
|
2862
|
+
localVarQueryParameter["size"] = size;
|
|
2863
|
+
}
|
|
2864
|
+
if (labelSelector) {
|
|
2865
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2866
|
+
}
|
|
2867
|
+
if (fieldSelector) {
|
|
2868
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2869
|
+
}
|
|
2870
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2871
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2872
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2873
|
+
return {
|
|
2874
|
+
url: toPathString(localVarUrlObj),
|
|
2875
|
+
options: localVarRequestOptions
|
|
2876
|
+
};
|
|
2877
|
+
},
|
|
2878
|
+
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
2879
|
+
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
2880
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2881
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2882
|
+
let baseOptions;
|
|
2883
|
+
if (configuration) {
|
|
2884
|
+
baseOptions = configuration.baseOptions;
|
|
2885
|
+
}
|
|
2886
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2887
|
+
const localVarHeaderParameter = {};
|
|
2888
|
+
const localVarQueryParameter = {};
|
|
2889
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2890
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2891
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2892
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2893
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2894
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2895
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
2896
|
+
return {
|
|
2897
|
+
url: toPathString(localVarUrlObj),
|
|
2898
|
+
options: localVarRequestOptions
|
|
2899
|
+
};
|
|
2900
|
+
}
|
|
2901
|
+
};
|
|
2902
|
+
};
|
|
2903
|
+
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
2904
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
2905
|
+
return {
|
|
2906
|
+
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
2907
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
2908
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2909
|
+
},
|
|
2910
|
+
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2911
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
2912
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2913
|
+
},
|
|
2914
|
+
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2915
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
2916
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2917
|
+
},
|
|
2918
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
2919
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
2920
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2921
|
+
},
|
|
2922
|
+
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
2923
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
2924
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2925
|
+
}
|
|
2926
|
+
};
|
|
2927
|
+
};
|
|
2928
|
+
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
2929
|
+
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
2930
|
+
return {
|
|
2931
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
2932
|
+
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
2933
|
+
},
|
|
2934
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2935
|
+
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
2936
|
+
},
|
|
2937
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
2938
|
+
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
2939
|
+
},
|
|
2940
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
2941
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2942
|
+
},
|
|
2943
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
2944
|
+
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
2945
|
+
}
|
|
2946
|
+
};
|
|
2947
|
+
};
|
|
2948
|
+
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
2949
|
+
createcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
2950
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
2951
|
+
}
|
|
2952
|
+
deletecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
2953
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2954
|
+
}
|
|
2955
|
+
getcoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
2956
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2957
|
+
}
|
|
2958
|
+
listcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
2959
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2960
|
+
}
|
|
2961
|
+
updatecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
2962
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(requestParameters.name, requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
2963
|
+
}
|
|
2964
|
+
}
|
|
2965
|
+
|
|
2376
2966
|
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
2377
2967
|
return {
|
|
2378
2968
|
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
@@ -2843,7 +3433,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2843
3433
|
options: localVarRequestOptions
|
|
2844
3434
|
};
|
|
2845
3435
|
},
|
|
2846
|
-
searchAttachments: async (policy, displayName,
|
|
3436
|
+
searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2847
3437
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
|
|
2848
3438
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2849
3439
|
let baseOptions;
|
|
@@ -2861,12 +3451,12 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
|
|
|
2861
3451
|
if (displayName !== void 0) {
|
|
2862
3452
|
localVarQueryParameter["displayName"] = displayName;
|
|
2863
3453
|
}
|
|
2864
|
-
if (uploadedBy !== void 0) {
|
|
2865
|
-
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2866
|
-
}
|
|
2867
3454
|
if (group !== void 0) {
|
|
2868
3455
|
localVarQueryParameter["group"] = group;
|
|
2869
3456
|
}
|
|
3457
|
+
if (uploadedBy !== void 0) {
|
|
3458
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
3459
|
+
}
|
|
2870
3460
|
if (size !== void 0) {
|
|
2871
3461
|
localVarQueryParameter["size"] = size;
|
|
2872
3462
|
}
|
|
@@ -2965,8 +3555,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
|
2965
3555
|
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
2966
3556
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2967
3557
|
},
|
|
2968
|
-
async searchAttachments(policy, displayName,
|
|
2969
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName,
|
|
3558
|
+
async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
3559
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
|
|
2970
3560
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2971
3561
|
},
|
|
2972
3562
|
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
@@ -2994,8 +3584,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
|
|
|
2994
3584
|
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2995
3585
|
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2996
3586
|
},
|
|
2997
|
-
searchAttachments(policy, displayName,
|
|
2998
|
-
return localVarFp.searchAttachments(policy, displayName,
|
|
3587
|
+
searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
|
|
3588
|
+
return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
2999
3589
|
},
|
|
3000
3590
|
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
3001
3591
|
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
@@ -3019,7 +3609,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
|
3019
3609
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3020
3610
|
}
|
|
3021
3611
|
searchAttachments(requestParameters = {}, options) {
|
|
3022
|
-
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.
|
|
3612
|
+
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));
|
|
3023
3613
|
}
|
|
3024
3614
|
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
3025
3615
|
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -5342,6 +5932,10 @@ exports.ApiConsoleHaloRunV1alpha1UserApi = ApiConsoleHaloRunV1alpha1UserApi;
|
|
|
5342
5932
|
exports.ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator;
|
|
5343
5933
|
exports.ApiConsoleHaloRunV1alpha1UserApiFactory = ApiConsoleHaloRunV1alpha1UserApiFactory;
|
|
5344
5934
|
exports.ApiConsoleHaloRunV1alpha1UserApiFp = ApiConsoleHaloRunV1alpha1UserApiFp;
|
|
5935
|
+
exports.ApiHaloRunV1alpha1CommentApi = ApiHaloRunV1alpha1CommentApi;
|
|
5936
|
+
exports.ApiHaloRunV1alpha1CommentApiAxiosParamCreator = ApiHaloRunV1alpha1CommentApiAxiosParamCreator;
|
|
5937
|
+
exports.ApiHaloRunV1alpha1CommentApiFactory = ApiHaloRunV1alpha1CommentApiFactory;
|
|
5938
|
+
exports.ApiHaloRunV1alpha1CommentApiFp = ApiHaloRunV1alpha1CommentApiFp;
|
|
5345
5939
|
exports.CompactPostVisibleEnum = CompactPostVisibleEnum;
|
|
5346
5940
|
exports.ConditionStatusEnum = ConditionStatusEnum;
|
|
5347
5941
|
exports.Configuration = Configuration;
|
|
@@ -5373,6 +5967,14 @@ exports.ContentHaloRunV1alpha1TagApi = ContentHaloRunV1alpha1TagApi;
|
|
|
5373
5967
|
exports.ContentHaloRunV1alpha1TagApiAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator;
|
|
5374
5968
|
exports.ContentHaloRunV1alpha1TagApiFactory = ContentHaloRunV1alpha1TagApiFactory;
|
|
5375
5969
|
exports.ContentHaloRunV1alpha1TagApiFp = ContentHaloRunV1alpha1TagApiFp;
|
|
5970
|
+
exports.CoreHaloRunV1alpha1LinkApi = CoreHaloRunV1alpha1LinkApi;
|
|
5971
|
+
exports.CoreHaloRunV1alpha1LinkApiAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator;
|
|
5972
|
+
exports.CoreHaloRunV1alpha1LinkApiFactory = CoreHaloRunV1alpha1LinkApiFactory;
|
|
5973
|
+
exports.CoreHaloRunV1alpha1LinkApiFp = CoreHaloRunV1alpha1LinkApiFp;
|
|
5974
|
+
exports.CoreHaloRunV1alpha1LinkGroupApi = CoreHaloRunV1alpha1LinkGroupApi;
|
|
5975
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator;
|
|
5976
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFactory = CoreHaloRunV1alpha1LinkGroupApiFactory;
|
|
5977
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFp = CoreHaloRunV1alpha1LinkGroupApiFp;
|
|
5376
5978
|
exports.PluginHaloRunV1alpha1PluginApi = PluginHaloRunV1alpha1PluginApi;
|
|
5377
5979
|
exports.PluginHaloRunV1alpha1PluginApiAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
5378
5980
|
exports.PluginHaloRunV1alpha1PluginApiFactory = PluginHaloRunV1alpha1PluginApiFactory;
|