@halo-dev/api-client 0.0.59 → 0.0.61
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 +101 -39
- package/dist/index.d.ts +184 -63
- package/dist/index.mjs +101 -39
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -538,7 +538,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
538
538
|
options: localVarRequestOptions
|
|
539
539
|
};
|
|
540
540
|
},
|
|
541
|
-
listPlugins: async (sort,
|
|
541
|
+
listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
542
542
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
543
543
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
544
544
|
let baseOptions;
|
|
@@ -553,12 +553,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
553
553
|
if (sort) {
|
|
554
554
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
555
555
|
}
|
|
556
|
-
if (keyword !== void 0) {
|
|
557
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
558
|
-
}
|
|
559
556
|
if (enabled !== void 0) {
|
|
560
557
|
localVarQueryParameter["enabled"] = enabled;
|
|
561
558
|
}
|
|
559
|
+
if (keyword !== void 0) {
|
|
560
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
561
|
+
}
|
|
562
562
|
if (size !== void 0) {
|
|
563
563
|
localVarQueryParameter["size"] = size;
|
|
564
564
|
}
|
|
@@ -579,6 +579,27 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
579
579
|
options: localVarRequestOptions
|
|
580
580
|
};
|
|
581
581
|
},
|
|
582
|
+
resetPluginSettingConfig: async (name, options = {}) => {
|
|
583
|
+
assertParamExists("resetPluginSettingConfig", "name", name);
|
|
584
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/resetconfig`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
585
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
586
|
+
let baseOptions;
|
|
587
|
+
if (configuration) {
|
|
588
|
+
baseOptions = configuration.baseOptions;
|
|
589
|
+
}
|
|
590
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
591
|
+
const localVarHeaderParameter = {};
|
|
592
|
+
const localVarQueryParameter = {};
|
|
593
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
594
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
595
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
596
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
597
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
598
|
+
return {
|
|
599
|
+
url: toPathString(localVarUrlObj),
|
|
600
|
+
options: localVarRequestOptions
|
|
601
|
+
};
|
|
602
|
+
},
|
|
582
603
|
upgradePlugin: async (name, file, options = {}) => {
|
|
583
604
|
assertParamExists("upgradePlugin", "name", name);
|
|
584
605
|
assertParamExists("upgradePlugin", "file", file);
|
|
@@ -616,8 +637,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
616
637
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
617
638
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
618
639
|
},
|
|
619
|
-
async listPlugins(sort,
|
|
620
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
640
|
+
async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
641
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
|
|
642
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
643
|
+
},
|
|
644
|
+
async resetPluginSettingConfig(name, options) {
|
|
645
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetPluginSettingConfig(name, options);
|
|
621
646
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
622
647
|
},
|
|
623
648
|
async upgradePlugin(name, file, options) {
|
|
@@ -632,8 +657,11 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
632
657
|
installPlugin(file, options) {
|
|
633
658
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
634
659
|
},
|
|
635
|
-
listPlugins(sort,
|
|
636
|
-
return localVarFp.listPlugins(sort,
|
|
660
|
+
listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
661
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
662
|
+
},
|
|
663
|
+
resetPluginSettingConfig(name, options) {
|
|
664
|
+
return localVarFp.resetPluginSettingConfig(name, options).then((request) => request(axios, basePath));
|
|
637
665
|
},
|
|
638
666
|
upgradePlugin(name, file, options) {
|
|
639
667
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -645,7 +673,10 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
645
673
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
646
674
|
}
|
|
647
675
|
listPlugins(requestParameters = {}, options) {
|
|
648
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
676
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.enabled, requestParameters.keyword, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
677
|
+
}
|
|
678
|
+
resetPluginSettingConfig(requestParameters, options) {
|
|
679
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginSettingConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
649
680
|
}
|
|
650
681
|
upgradePlugin(requestParameters, options) {
|
|
651
682
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -677,7 +708,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
677
708
|
options: localVarRequestOptions
|
|
678
709
|
};
|
|
679
710
|
},
|
|
680
|
-
listPosts: async (sort,
|
|
711
|
+
listPosts: async (sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
681
712
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
682
713
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
683
714
|
let baseOptions;
|
|
@@ -692,14 +723,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
692
723
|
if (sort !== void 0) {
|
|
693
724
|
localVarQueryParameter["sort"] = sort;
|
|
694
725
|
}
|
|
695
|
-
if (
|
|
696
|
-
localVarQueryParameter["
|
|
726
|
+
if (tag) {
|
|
727
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
697
728
|
}
|
|
698
729
|
if (visible !== void 0) {
|
|
699
730
|
localVarQueryParameter["visible"] = visible;
|
|
700
731
|
}
|
|
701
|
-
if (
|
|
702
|
-
localVarQueryParameter["
|
|
732
|
+
if (keyword !== void 0) {
|
|
733
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
734
|
+
}
|
|
735
|
+
if (contributor) {
|
|
736
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
703
737
|
}
|
|
704
738
|
if (sortOrder !== void 0) {
|
|
705
739
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -710,9 +744,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
710
744
|
if (category) {
|
|
711
745
|
localVarQueryParameter["category"] = Array.from(category);
|
|
712
746
|
}
|
|
713
|
-
if (contributor) {
|
|
714
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
715
|
-
}
|
|
716
747
|
if (size !== void 0) {
|
|
717
748
|
localVarQueryParameter["size"] = size;
|
|
718
749
|
}
|
|
@@ -856,8 +887,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
856
887
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
857
888
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
858
889
|
},
|
|
859
|
-
async listPosts(sort,
|
|
860
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
890
|
+
async listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
|
|
861
892
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
862
893
|
},
|
|
863
894
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -888,8 +919,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
888
919
|
draftPost(postRequest, options) {
|
|
889
920
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
890
921
|
},
|
|
891
|
-
listPosts(sort,
|
|
892
|
-
return localVarFp.listPosts(sort,
|
|
922
|
+
listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
923
|
+
return localVarFp.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
893
924
|
},
|
|
894
925
|
publishPost(name, headSnapshot, options) {
|
|
895
926
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -913,7 +944,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
913
944
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
914
945
|
}
|
|
915
946
|
listPosts(requestParameters = {}, options) {
|
|
916
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
947
|
+
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.tag, requestParameters.visible, requestParameters.keyword, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
917
948
|
}
|
|
918
949
|
publishPost(requestParameters, options) {
|
|
919
950
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1019,7 +1050,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1019
1050
|
options: localVarRequestOptions
|
|
1020
1051
|
};
|
|
1021
1052
|
},
|
|
1022
|
-
listSinglePages: async (sort, keyword,
|
|
1053
|
+
listSinglePages: async (sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1023
1054
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1024
1055
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1025
1056
|
let baseOptions;
|
|
@@ -1034,11 +1065,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1034
1065
|
if (sort !== void 0) {
|
|
1035
1066
|
localVarQueryParameter["sort"] = sort;
|
|
1036
1067
|
}
|
|
1068
|
+
if (visible !== void 0) {
|
|
1069
|
+
localVarQueryParameter["visible"] = visible;
|
|
1070
|
+
}
|
|
1037
1071
|
if (keyword !== void 0) {
|
|
1038
1072
|
localVarQueryParameter["keyword"] = keyword;
|
|
1039
1073
|
}
|
|
1040
|
-
if (
|
|
1041
|
-
localVarQueryParameter["
|
|
1074
|
+
if (contributor) {
|
|
1075
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1042
1076
|
}
|
|
1043
1077
|
if (sortOrder !== void 0) {
|
|
1044
1078
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -1046,9 +1080,6 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1046
1080
|
if (publishPhase !== void 0) {
|
|
1047
1081
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1048
1082
|
}
|
|
1049
|
-
if (contributor) {
|
|
1050
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1051
|
-
}
|
|
1052
1083
|
if (size !== void 0) {
|
|
1053
1084
|
localVarQueryParameter["size"] = size;
|
|
1054
1085
|
}
|
|
@@ -1147,8 +1178,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1147
1178
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1148
1179
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1149
1180
|
},
|
|
1150
|
-
async listSinglePages(sort, keyword,
|
|
1151
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword,
|
|
1181
|
+
async listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
1182
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
|
|
1152
1183
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1153
1184
|
},
|
|
1154
1185
|
async publishSinglePage(name, options) {
|
|
@@ -1171,8 +1202,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1171
1202
|
draftSinglePage(singlePageRequest, options) {
|
|
1172
1203
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1173
1204
|
},
|
|
1174
|
-
listSinglePages(sort, keyword,
|
|
1175
|
-
return localVarFp.listSinglePages(sort, keyword,
|
|
1205
|
+
listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
1206
|
+
return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1176
1207
|
},
|
|
1177
1208
|
publishSinglePage(name, options) {
|
|
1178
1209
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1190,7 +1221,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1190
1221
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1222
|
}
|
|
1192
1223
|
listSinglePages(requestParameters = {}, options) {
|
|
1193
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1224
|
+
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.visible, requestParameters.keyword, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1194
1225
|
}
|
|
1195
1226
|
publishSinglePage(requestParameters, options) {
|
|
1196
1227
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1336,6 +1367,27 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1336
1367
|
options: localVarRequestOptions
|
|
1337
1368
|
};
|
|
1338
1369
|
},
|
|
1370
|
+
resetThemeSettingConfig: async (name, options = {}) => {
|
|
1371
|
+
assertParamExists("resetThemeSettingConfig", "name", name);
|
|
1372
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/resetconfig`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1373
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1374
|
+
let baseOptions;
|
|
1375
|
+
if (configuration) {
|
|
1376
|
+
baseOptions = configuration.baseOptions;
|
|
1377
|
+
}
|
|
1378
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1379
|
+
const localVarHeaderParameter = {};
|
|
1380
|
+
const localVarQueryParameter = {};
|
|
1381
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1382
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1383
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1384
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1385
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1386
|
+
return {
|
|
1387
|
+
url: toPathString(localVarUrlObj),
|
|
1388
|
+
options: localVarRequestOptions
|
|
1389
|
+
};
|
|
1390
|
+
},
|
|
1339
1391
|
upgradeTheme: async (name, file, options = {}) => {
|
|
1340
1392
|
assertParamExists("upgradeTheme", "name", name);
|
|
1341
1393
|
assertParamExists("upgradeTheme", "file", file);
|
|
@@ -1381,6 +1433,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1381
1433
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reload(name, options);
|
|
1382
1434
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1383
1435
|
},
|
|
1436
|
+
async resetThemeSettingConfig(name, options) {
|
|
1437
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetThemeSettingConfig(name, options);
|
|
1438
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1439
|
+
},
|
|
1384
1440
|
async upgradeTheme(name, file, options) {
|
|
1385
1441
|
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradeTheme(name, file, options);
|
|
1386
1442
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
@@ -1399,6 +1455,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1399
1455
|
reload(name, options) {
|
|
1400
1456
|
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
1401
1457
|
},
|
|
1458
|
+
resetThemeSettingConfig(name, options) {
|
|
1459
|
+
return localVarFp.resetThemeSettingConfig(name, options).then((request) => request(axios, basePath));
|
|
1460
|
+
},
|
|
1402
1461
|
upgradeTheme(name, file, options) {
|
|
1403
1462
|
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
1404
1463
|
}
|
|
@@ -1414,6 +1473,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1414
1473
|
reload(requestParameters, options) {
|
|
1415
1474
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1416
1475
|
}
|
|
1476
|
+
resetThemeSettingConfig(requestParameters, options) {
|
|
1477
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).resetThemeSettingConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1478
|
+
}
|
|
1417
1479
|
upgradeTheme(requestParameters, options) {
|
|
1418
1480
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1419
1481
|
}
|
|
@@ -1683,12 +1745,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1683
1745
|
if (version !== void 0) {
|
|
1684
1746
|
localVarQueryParameter["version"] = version;
|
|
1685
1747
|
}
|
|
1686
|
-
if (group !== void 0) {
|
|
1687
|
-
localVarQueryParameter["group"] = group;
|
|
1688
|
-
}
|
|
1689
1748
|
if (kind !== void 0) {
|
|
1690
1749
|
localVarQueryParameter["kind"] = kind;
|
|
1691
1750
|
}
|
|
1751
|
+
if (group !== void 0) {
|
|
1752
|
+
localVarQueryParameter["group"] = group;
|
|
1753
|
+
}
|
|
1692
1754
|
if (size !== void 0) {
|
|
1693
1755
|
localVarQueryParameter["size"] = size;
|
|
1694
1756
|
}
|
|
@@ -1783,12 +1845,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1783
1845
|
const localVarQueryParameter = {};
|
|
1784
1846
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1785
1847
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1786
|
-
if (keyword !== void 0) {
|
|
1787
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1788
|
-
}
|
|
1789
1848
|
if (limit !== void 0) {
|
|
1790
1849
|
localVarQueryParameter["limit"] = limit;
|
|
1791
1850
|
}
|
|
1851
|
+
if (keyword !== void 0) {
|
|
1852
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1853
|
+
}
|
|
1792
1854
|
if (highlightPreTag !== void 0) {
|
|
1793
1855
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1794
1856
|
}
|