@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.cjs
CHANGED
|
@@ -546,7 +546,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
546
546
|
options: localVarRequestOptions
|
|
547
547
|
};
|
|
548
548
|
},
|
|
549
|
-
listPlugins: async (sort,
|
|
549
|
+
listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
550
550
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
551
551
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
552
552
|
let baseOptions;
|
|
@@ -561,12 +561,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
561
561
|
if (sort) {
|
|
562
562
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
563
563
|
}
|
|
564
|
-
if (keyword !== void 0) {
|
|
565
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
566
|
-
}
|
|
567
564
|
if (enabled !== void 0) {
|
|
568
565
|
localVarQueryParameter["enabled"] = enabled;
|
|
569
566
|
}
|
|
567
|
+
if (keyword !== void 0) {
|
|
568
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
569
|
+
}
|
|
570
570
|
if (size !== void 0) {
|
|
571
571
|
localVarQueryParameter["size"] = size;
|
|
572
572
|
}
|
|
@@ -587,6 +587,27 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
587
587
|
options: localVarRequestOptions
|
|
588
588
|
};
|
|
589
589
|
},
|
|
590
|
+
resetPluginSettingConfig: async (name, options = {}) => {
|
|
591
|
+
assertParamExists("resetPluginSettingConfig", "name", name);
|
|
592
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/resetconfig`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
593
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
594
|
+
let baseOptions;
|
|
595
|
+
if (configuration) {
|
|
596
|
+
baseOptions = configuration.baseOptions;
|
|
597
|
+
}
|
|
598
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
599
|
+
const localVarHeaderParameter = {};
|
|
600
|
+
const localVarQueryParameter = {};
|
|
601
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
602
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
603
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
604
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
605
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
606
|
+
return {
|
|
607
|
+
url: toPathString(localVarUrlObj),
|
|
608
|
+
options: localVarRequestOptions
|
|
609
|
+
};
|
|
610
|
+
},
|
|
590
611
|
upgradePlugin: async (name, file, options = {}) => {
|
|
591
612
|
assertParamExists("upgradePlugin", "name", name);
|
|
592
613
|
assertParamExists("upgradePlugin", "file", file);
|
|
@@ -624,8 +645,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
624
645
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
625
646
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
626
647
|
},
|
|
627
|
-
async listPlugins(sort,
|
|
628
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
648
|
+
async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
649
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
|
|
650
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
651
|
+
},
|
|
652
|
+
async resetPluginSettingConfig(name, options) {
|
|
653
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetPluginSettingConfig(name, options);
|
|
629
654
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
630
655
|
},
|
|
631
656
|
async upgradePlugin(name, file, options) {
|
|
@@ -640,8 +665,11 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
640
665
|
installPlugin(file, options) {
|
|
641
666
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
642
667
|
},
|
|
643
|
-
listPlugins(sort,
|
|
644
|
-
return localVarFp.listPlugins(sort,
|
|
668
|
+
listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
669
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
670
|
+
},
|
|
671
|
+
resetPluginSettingConfig(name, options) {
|
|
672
|
+
return localVarFp.resetPluginSettingConfig(name, options).then((request) => request(axios, basePath));
|
|
645
673
|
},
|
|
646
674
|
upgradePlugin(name, file, options) {
|
|
647
675
|
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
@@ -653,7 +681,10 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
653
681
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
654
682
|
}
|
|
655
683
|
listPlugins(requestParameters = {}, options) {
|
|
656
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
684
|
+
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));
|
|
685
|
+
}
|
|
686
|
+
resetPluginSettingConfig(requestParameters, options) {
|
|
687
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).resetPluginSettingConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
657
688
|
}
|
|
658
689
|
upgradePlugin(requestParameters, options) {
|
|
659
690
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -685,7 +716,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
685
716
|
options: localVarRequestOptions
|
|
686
717
|
};
|
|
687
718
|
},
|
|
688
|
-
listPosts: async (sort,
|
|
719
|
+
listPosts: async (sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
689
720
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
690
721
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
691
722
|
let baseOptions;
|
|
@@ -700,14 +731,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
700
731
|
if (sort !== void 0) {
|
|
701
732
|
localVarQueryParameter["sort"] = sort;
|
|
702
733
|
}
|
|
703
|
-
if (
|
|
704
|
-
localVarQueryParameter["
|
|
734
|
+
if (tag) {
|
|
735
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
705
736
|
}
|
|
706
737
|
if (visible !== void 0) {
|
|
707
738
|
localVarQueryParameter["visible"] = visible;
|
|
708
739
|
}
|
|
709
|
-
if (
|
|
710
|
-
localVarQueryParameter["
|
|
740
|
+
if (keyword !== void 0) {
|
|
741
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
742
|
+
}
|
|
743
|
+
if (contributor) {
|
|
744
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
711
745
|
}
|
|
712
746
|
if (sortOrder !== void 0) {
|
|
713
747
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -718,9 +752,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
718
752
|
if (category) {
|
|
719
753
|
localVarQueryParameter["category"] = Array.from(category);
|
|
720
754
|
}
|
|
721
|
-
if (contributor) {
|
|
722
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
723
|
-
}
|
|
724
755
|
if (size !== void 0) {
|
|
725
756
|
localVarQueryParameter["size"] = size;
|
|
726
757
|
}
|
|
@@ -864,8 +895,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
864
895
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
865
896
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
866
897
|
},
|
|
867
|
-
async listPosts(sort,
|
|
868
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
898
|
+
async listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
899
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
|
|
869
900
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
870
901
|
},
|
|
871
902
|
async publishPost(name, headSnapshot, options) {
|
|
@@ -896,8 +927,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
896
927
|
draftPost(postRequest, options) {
|
|
897
928
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
898
929
|
},
|
|
899
|
-
listPosts(sort,
|
|
900
|
-
return localVarFp.listPosts(sort,
|
|
930
|
+
listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
931
|
+
return localVarFp.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
901
932
|
},
|
|
902
933
|
publishPost(name, headSnapshot, options) {
|
|
903
934
|
return localVarFp.publishPost(name, headSnapshot, options).then((request) => request(axios, basePath));
|
|
@@ -921,7 +952,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
921
952
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
922
953
|
}
|
|
923
954
|
listPosts(requestParameters = {}, options) {
|
|
924
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
955
|
+
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));
|
|
925
956
|
}
|
|
926
957
|
publishPost(requestParameters, options) {
|
|
927
958
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, requestParameters.headSnapshot, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1027,7 +1058,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1027
1058
|
options: localVarRequestOptions
|
|
1028
1059
|
};
|
|
1029
1060
|
},
|
|
1030
|
-
listSinglePages: async (sort, keyword,
|
|
1061
|
+
listSinglePages: async (sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
1031
1062
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
1032
1063
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1033
1064
|
let baseOptions;
|
|
@@ -1042,11 +1073,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1042
1073
|
if (sort !== void 0) {
|
|
1043
1074
|
localVarQueryParameter["sort"] = sort;
|
|
1044
1075
|
}
|
|
1076
|
+
if (visible !== void 0) {
|
|
1077
|
+
localVarQueryParameter["visible"] = visible;
|
|
1078
|
+
}
|
|
1045
1079
|
if (keyword !== void 0) {
|
|
1046
1080
|
localVarQueryParameter["keyword"] = keyword;
|
|
1047
1081
|
}
|
|
1048
|
-
if (
|
|
1049
|
-
localVarQueryParameter["
|
|
1082
|
+
if (contributor) {
|
|
1083
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1050
1084
|
}
|
|
1051
1085
|
if (sortOrder !== void 0) {
|
|
1052
1086
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -1054,9 +1088,6 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
1054
1088
|
if (publishPhase !== void 0) {
|
|
1055
1089
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
1056
1090
|
}
|
|
1057
|
-
if (contributor) {
|
|
1058
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
1059
|
-
}
|
|
1060
1091
|
if (size !== void 0) {
|
|
1061
1092
|
localVarQueryParameter["size"] = size;
|
|
1062
1093
|
}
|
|
@@ -1155,8 +1186,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
1155
1186
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
1156
1187
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1157
1188
|
},
|
|
1158
|
-
async listSinglePages(sort, keyword,
|
|
1159
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword,
|
|
1189
|
+
async listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
1190
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
|
|
1160
1191
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1161
1192
|
},
|
|
1162
1193
|
async publishSinglePage(name, options) {
|
|
@@ -1179,8 +1210,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
1179
1210
|
draftSinglePage(singlePageRequest, options) {
|
|
1180
1211
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
1181
1212
|
},
|
|
1182
|
-
listSinglePages(sort, keyword,
|
|
1183
|
-
return localVarFp.listSinglePages(sort, keyword,
|
|
1213
|
+
listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
1214
|
+
return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1184
1215
|
},
|
|
1185
1216
|
publishSinglePage(name, options) {
|
|
1186
1217
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1198,7 +1229,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1198
1229
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1230
|
}
|
|
1200
1231
|
listSinglePages(requestParameters = {}, options) {
|
|
1201
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1232
|
+
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));
|
|
1202
1233
|
}
|
|
1203
1234
|
publishSinglePage(requestParameters, options) {
|
|
1204
1235
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1344,6 +1375,27 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1344
1375
|
options: localVarRequestOptions
|
|
1345
1376
|
};
|
|
1346
1377
|
},
|
|
1378
|
+
resetThemeSettingConfig: async (name, options = {}) => {
|
|
1379
|
+
assertParamExists("resetThemeSettingConfig", "name", name);
|
|
1380
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/resetconfig`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1381
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1382
|
+
let baseOptions;
|
|
1383
|
+
if (configuration) {
|
|
1384
|
+
baseOptions = configuration.baseOptions;
|
|
1385
|
+
}
|
|
1386
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1387
|
+
const localVarHeaderParameter = {};
|
|
1388
|
+
const localVarQueryParameter = {};
|
|
1389
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1391
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1392
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1393
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1394
|
+
return {
|
|
1395
|
+
url: toPathString(localVarUrlObj),
|
|
1396
|
+
options: localVarRequestOptions
|
|
1397
|
+
};
|
|
1398
|
+
},
|
|
1347
1399
|
upgradeTheme: async (name, file, options = {}) => {
|
|
1348
1400
|
assertParamExists("upgradeTheme", "name", name);
|
|
1349
1401
|
assertParamExists("upgradeTheme", "file", file);
|
|
@@ -1389,6 +1441,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1389
1441
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reload(name, options);
|
|
1390
1442
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1391
1443
|
},
|
|
1444
|
+
async resetThemeSettingConfig(name, options) {
|
|
1445
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.resetThemeSettingConfig(name, options);
|
|
1446
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1447
|
+
},
|
|
1392
1448
|
async upgradeTheme(name, file, options) {
|
|
1393
1449
|
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradeTheme(name, file, options);
|
|
1394
1450
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
@@ -1407,6 +1463,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1407
1463
|
reload(name, options) {
|
|
1408
1464
|
return localVarFp.reload(name, options).then((request) => request(axios, basePath));
|
|
1409
1465
|
},
|
|
1466
|
+
resetThemeSettingConfig(name, options) {
|
|
1467
|
+
return localVarFp.resetThemeSettingConfig(name, options).then((request) => request(axios, basePath));
|
|
1468
|
+
},
|
|
1410
1469
|
upgradeTheme(name, file, options) {
|
|
1411
1470
|
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
1412
1471
|
}
|
|
@@ -1422,6 +1481,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1422
1481
|
reload(requestParameters, options) {
|
|
1423
1482
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reload(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1424
1483
|
}
|
|
1484
|
+
resetThemeSettingConfig(requestParameters, options) {
|
|
1485
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).resetThemeSettingConfig(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1486
|
+
}
|
|
1425
1487
|
upgradeTheme(requestParameters, options) {
|
|
1426
1488
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1427
1489
|
}
|
|
@@ -1691,12 +1753,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1691
1753
|
if (version !== void 0) {
|
|
1692
1754
|
localVarQueryParameter["version"] = version;
|
|
1693
1755
|
}
|
|
1694
|
-
if (group !== void 0) {
|
|
1695
|
-
localVarQueryParameter["group"] = group;
|
|
1696
|
-
}
|
|
1697
1756
|
if (kind !== void 0) {
|
|
1698
1757
|
localVarQueryParameter["kind"] = kind;
|
|
1699
1758
|
}
|
|
1759
|
+
if (group !== void 0) {
|
|
1760
|
+
localVarQueryParameter["group"] = group;
|
|
1761
|
+
}
|
|
1700
1762
|
if (size !== void 0) {
|
|
1701
1763
|
localVarQueryParameter["size"] = size;
|
|
1702
1764
|
}
|
|
@@ -1791,12 +1853,12 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
1791
1853
|
const localVarQueryParameter = {};
|
|
1792
1854
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1793
1855
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1794
|
-
if (keyword !== void 0) {
|
|
1795
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
1796
|
-
}
|
|
1797
1856
|
if (limit !== void 0) {
|
|
1798
1857
|
localVarQueryParameter["limit"] = limit;
|
|
1799
1858
|
}
|
|
1859
|
+
if (keyword !== void 0) {
|
|
1860
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
1861
|
+
}
|
|
1800
1862
|
if (highlightPreTag !== void 0) {
|
|
1801
1863
|
localVarQueryParameter["highlightPreTag"] = highlightPreTag;
|
|
1802
1864
|
}
|