@halo-dev/api-client 0.0.36 → 0.0.37
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 +454 -36
- package/dist/index.d.ts +834 -57
- package/dist/index.mjs +447 -37
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -519,7 +519,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
519
519
|
options: localVarRequestOptions
|
|
520
520
|
};
|
|
521
521
|
},
|
|
522
|
-
listPlugins: async (sort,
|
|
522
|
+
listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
523
523
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
524
524
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
525
525
|
let baseOptions;
|
|
@@ -534,12 +534,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
534
534
|
if (sort) {
|
|
535
535
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
536
536
|
}
|
|
537
|
-
if (keyword !== void 0) {
|
|
538
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
539
|
-
}
|
|
540
537
|
if (enabled !== void 0) {
|
|
541
538
|
localVarQueryParameter["enabled"] = enabled;
|
|
542
539
|
}
|
|
540
|
+
if (keyword !== void 0) {
|
|
541
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
542
|
+
}
|
|
543
543
|
if (size !== void 0) {
|
|
544
544
|
localVarQueryParameter["size"] = size;
|
|
545
545
|
}
|
|
@@ -569,8 +569,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
569
569
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
570
570
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
571
571
|
},
|
|
572
|
-
async listPlugins(sort,
|
|
573
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
572
|
+
async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
573
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
|
|
574
574
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
575
575
|
}
|
|
576
576
|
};
|
|
@@ -581,8 +581,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
581
581
|
installPlugin(file, options) {
|
|
582
582
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
583
583
|
},
|
|
584
|
-
listPlugins(sort,
|
|
585
|
-
return localVarFp.listPlugins(sort,
|
|
584
|
+
listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
585
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
586
586
|
}
|
|
587
587
|
};
|
|
588
588
|
};
|
|
@@ -591,7 +591,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
591
591
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
592
592
|
}
|
|
593
593
|
listPlugins(requestParameters = {}, options) {
|
|
594
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
594
|
+
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));
|
|
595
595
|
}
|
|
596
596
|
}
|
|
597
597
|
|
|
@@ -620,7 +620,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
620
620
|
options: localVarRequestOptions
|
|
621
621
|
};
|
|
622
622
|
},
|
|
623
|
-
listPosts: async (sort,
|
|
623
|
+
listPosts: async (sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
624
624
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
625
625
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
626
626
|
let baseOptions;
|
|
@@ -635,14 +635,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
635
635
|
if (sort !== void 0) {
|
|
636
636
|
localVarQueryParameter["sort"] = sort;
|
|
637
637
|
}
|
|
638
|
-
if (
|
|
639
|
-
localVarQueryParameter["
|
|
638
|
+
if (tag) {
|
|
639
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
640
640
|
}
|
|
641
641
|
if (visible !== void 0) {
|
|
642
642
|
localVarQueryParameter["visible"] = visible;
|
|
643
643
|
}
|
|
644
|
-
if (
|
|
645
|
-
localVarQueryParameter["
|
|
644
|
+
if (keyword !== void 0) {
|
|
645
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
646
|
+
}
|
|
647
|
+
if (contributor) {
|
|
648
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
646
649
|
}
|
|
647
650
|
if (sortOrder !== void 0) {
|
|
648
651
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -653,9 +656,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
653
656
|
if (category) {
|
|
654
657
|
localVarQueryParameter["category"] = Array.from(category);
|
|
655
658
|
}
|
|
656
|
-
if (contributor) {
|
|
657
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
658
|
-
}
|
|
659
659
|
if (size !== void 0) {
|
|
660
660
|
localVarQueryParameter["size"] = size;
|
|
661
661
|
}
|
|
@@ -730,8 +730,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
730
730
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
731
731
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
732
732
|
},
|
|
733
|
-
async listPosts(sort,
|
|
734
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
733
|
+
async listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
734
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
|
|
735
735
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
736
736
|
},
|
|
737
737
|
async publishPost(name, options) {
|
|
@@ -750,8 +750,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
750
750
|
draftPost(postRequest, options) {
|
|
751
751
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
752
752
|
},
|
|
753
|
-
listPosts(sort,
|
|
754
|
-
return localVarFp.listPosts(sort,
|
|
753
|
+
listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
754
|
+
return localVarFp.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
755
755
|
},
|
|
756
756
|
publishPost(name, options) {
|
|
757
757
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -766,7 +766,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
766
766
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
767
767
|
}
|
|
768
768
|
listPosts(requestParameters = {}, options) {
|
|
769
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
769
|
+
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));
|
|
770
770
|
}
|
|
771
771
|
publishPost(requestParameters, options) {
|
|
772
772
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -863,7 +863,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
863
863
|
options: localVarRequestOptions
|
|
864
864
|
};
|
|
865
865
|
},
|
|
866
|
-
listSinglePages: async (sort, keyword,
|
|
866
|
+
listSinglePages: async (sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
867
867
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
868
868
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
869
869
|
let baseOptions;
|
|
@@ -878,11 +878,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
878
878
|
if (sort !== void 0) {
|
|
879
879
|
localVarQueryParameter["sort"] = sort;
|
|
880
880
|
}
|
|
881
|
+
if (visible !== void 0) {
|
|
882
|
+
localVarQueryParameter["visible"] = visible;
|
|
883
|
+
}
|
|
881
884
|
if (keyword !== void 0) {
|
|
882
885
|
localVarQueryParameter["keyword"] = keyword;
|
|
883
886
|
}
|
|
884
|
-
if (
|
|
885
|
-
localVarQueryParameter["
|
|
887
|
+
if (contributor) {
|
|
888
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
886
889
|
}
|
|
887
890
|
if (sortOrder !== void 0) {
|
|
888
891
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -890,9 +893,6 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
890
893
|
if (publishPhase !== void 0) {
|
|
891
894
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
892
895
|
}
|
|
893
|
-
if (contributor) {
|
|
894
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
895
|
-
}
|
|
896
896
|
if (size !== void 0) {
|
|
897
897
|
localVarQueryParameter["size"] = size;
|
|
898
898
|
}
|
|
@@ -967,8 +967,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
967
967
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
968
968
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
969
969
|
},
|
|
970
|
-
async listSinglePages(sort, keyword,
|
|
971
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword,
|
|
970
|
+
async listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
971
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
|
|
972
972
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
973
973
|
},
|
|
974
974
|
async publishSinglePage(name, options) {
|
|
@@ -987,8 +987,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
987
987
|
draftSinglePage(singlePageRequest, options) {
|
|
988
988
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
989
989
|
},
|
|
990
|
-
listSinglePages(sort, keyword,
|
|
991
|
-
return localVarFp.listSinglePages(sort, keyword,
|
|
990
|
+
listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
991
|
+
return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
992
992
|
},
|
|
993
993
|
publishSinglePage(name, options) {
|
|
994
994
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1003,7 +1003,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1003
1003
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1004
1004
|
}
|
|
1005
1005
|
listSinglePages(requestParameters = {}, options) {
|
|
1006
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1006
|
+
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));
|
|
1007
1007
|
}
|
|
1008
1008
|
publishSinglePage(requestParameters, options) {
|
|
1009
1009
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1145,6 +1145,34 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1145
1145
|
url: toPathString(localVarUrlObj),
|
|
1146
1146
|
options: localVarRequestOptions
|
|
1147
1147
|
};
|
|
1148
|
+
},
|
|
1149
|
+
upgradeTheme: async (name, file, options = {}) => {
|
|
1150
|
+
assertParamExists("upgradeTheme", "name", name);
|
|
1151
|
+
assertParamExists("upgradeTheme", "file", file);
|
|
1152
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1153
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1154
|
+
let baseOptions;
|
|
1155
|
+
if (configuration) {
|
|
1156
|
+
baseOptions = configuration.baseOptions;
|
|
1157
|
+
}
|
|
1158
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1159
|
+
const localVarHeaderParameter = {};
|
|
1160
|
+
const localVarQueryParameter = {};
|
|
1161
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
1162
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1163
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1164
|
+
if (file !== void 0) {
|
|
1165
|
+
localVarFormParams.append("file", file);
|
|
1166
|
+
}
|
|
1167
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
1168
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1169
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1170
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1171
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1172
|
+
return {
|
|
1173
|
+
url: toPathString(localVarUrlObj),
|
|
1174
|
+
options: localVarRequestOptions
|
|
1175
|
+
};
|
|
1148
1176
|
}
|
|
1149
1177
|
};
|
|
1150
1178
|
};
|
|
@@ -1162,6 +1190,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1162
1190
|
async reloadThemeSetting(name, options) {
|
|
1163
1191
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
|
|
1164
1192
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1193
|
+
},
|
|
1194
|
+
async upgradeTheme(name, file, options) {
|
|
1195
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradeTheme(name, file, options);
|
|
1196
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1165
1197
|
}
|
|
1166
1198
|
};
|
|
1167
1199
|
};
|
|
@@ -1176,6 +1208,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1176
1208
|
},
|
|
1177
1209
|
reloadThemeSetting(name, options) {
|
|
1178
1210
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
1211
|
+
},
|
|
1212
|
+
upgradeTheme(name, file, options) {
|
|
1213
|
+
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
1179
1214
|
}
|
|
1180
1215
|
};
|
|
1181
1216
|
};
|
|
@@ -1189,6 +1224,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1189
1224
|
reloadThemeSetting(requestParameters, options) {
|
|
1190
1225
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1191
1226
|
}
|
|
1227
|
+
upgradeTheme(requestParameters, options) {
|
|
1228
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1229
|
+
}
|
|
1192
1230
|
}
|
|
1193
1231
|
|
|
1194
1232
|
const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
@@ -1455,12 +1493,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1455
1493
|
if (version !== void 0) {
|
|
1456
1494
|
localVarQueryParameter["version"] = version;
|
|
1457
1495
|
}
|
|
1458
|
-
if (group !== void 0) {
|
|
1459
|
-
localVarQueryParameter["group"] = group;
|
|
1460
|
-
}
|
|
1461
1496
|
if (kind !== void 0) {
|
|
1462
1497
|
localVarQueryParameter["kind"] = kind;
|
|
1463
1498
|
}
|
|
1499
|
+
if (group !== void 0) {
|
|
1500
|
+
localVarQueryParameter["group"] = group;
|
|
1501
|
+
}
|
|
1464
1502
|
if (size !== void 0) {
|
|
1465
1503
|
localVarQueryParameter["size"] = size;
|
|
1466
1504
|
}
|
|
@@ -2958,6 +2996,378 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
2958
2996
|
}
|
|
2959
2997
|
}
|
|
2960
2998
|
|
|
2999
|
+
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
3000
|
+
return {
|
|
3001
|
+
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
3002
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
3003
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3004
|
+
let baseOptions;
|
|
3005
|
+
if (configuration) {
|
|
3006
|
+
baseOptions = configuration.baseOptions;
|
|
3007
|
+
}
|
|
3008
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3009
|
+
const localVarHeaderParameter = {};
|
|
3010
|
+
const localVarQueryParameter = {};
|
|
3011
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3012
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3013
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3014
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3015
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3016
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3017
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
3018
|
+
return {
|
|
3019
|
+
url: toPathString(localVarUrlObj),
|
|
3020
|
+
options: localVarRequestOptions
|
|
3021
|
+
};
|
|
3022
|
+
},
|
|
3023
|
+
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
3024
|
+
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
3025
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3026
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3027
|
+
let baseOptions;
|
|
3028
|
+
if (configuration) {
|
|
3029
|
+
baseOptions = configuration.baseOptions;
|
|
3030
|
+
}
|
|
3031
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3032
|
+
const localVarHeaderParameter = {};
|
|
3033
|
+
const localVarQueryParameter = {};
|
|
3034
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3035
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3036
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3037
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3038
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3039
|
+
return {
|
|
3040
|
+
url: toPathString(localVarUrlObj),
|
|
3041
|
+
options: localVarRequestOptions
|
|
3042
|
+
};
|
|
3043
|
+
},
|
|
3044
|
+
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
3045
|
+
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
3046
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3047
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3048
|
+
let baseOptions;
|
|
3049
|
+
if (configuration) {
|
|
3050
|
+
baseOptions = configuration.baseOptions;
|
|
3051
|
+
}
|
|
3052
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3053
|
+
const localVarHeaderParameter = {};
|
|
3054
|
+
const localVarQueryParameter = {};
|
|
3055
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3056
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3057
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3058
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3059
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3060
|
+
return {
|
|
3061
|
+
url: toPathString(localVarUrlObj),
|
|
3062
|
+
options: localVarRequestOptions
|
|
3063
|
+
};
|
|
3064
|
+
},
|
|
3065
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3066
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
3067
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3068
|
+
let baseOptions;
|
|
3069
|
+
if (configuration) {
|
|
3070
|
+
baseOptions = configuration.baseOptions;
|
|
3071
|
+
}
|
|
3072
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3073
|
+
const localVarHeaderParameter = {};
|
|
3074
|
+
const localVarQueryParameter = {};
|
|
3075
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3076
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3077
|
+
if (page !== void 0) {
|
|
3078
|
+
localVarQueryParameter["page"] = page;
|
|
3079
|
+
}
|
|
3080
|
+
if (size !== void 0) {
|
|
3081
|
+
localVarQueryParameter["size"] = size;
|
|
3082
|
+
}
|
|
3083
|
+
if (labelSelector) {
|
|
3084
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3085
|
+
}
|
|
3086
|
+
if (fieldSelector) {
|
|
3087
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3088
|
+
}
|
|
3089
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3090
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3091
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3092
|
+
return {
|
|
3093
|
+
url: toPathString(localVarUrlObj),
|
|
3094
|
+
options: localVarRequestOptions
|
|
3095
|
+
};
|
|
3096
|
+
},
|
|
3097
|
+
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
3098
|
+
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
3099
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3100
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3101
|
+
let baseOptions;
|
|
3102
|
+
if (configuration) {
|
|
3103
|
+
baseOptions = configuration.baseOptions;
|
|
3104
|
+
}
|
|
3105
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3106
|
+
const localVarHeaderParameter = {};
|
|
3107
|
+
const localVarQueryParameter = {};
|
|
3108
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3109
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3110
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3111
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3112
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3113
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3114
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
3115
|
+
return {
|
|
3116
|
+
url: toPathString(localVarUrlObj),
|
|
3117
|
+
options: localVarRequestOptions
|
|
3118
|
+
};
|
|
3119
|
+
}
|
|
3120
|
+
};
|
|
3121
|
+
};
|
|
3122
|
+
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
3123
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
3124
|
+
return {
|
|
3125
|
+
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
3126
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
3127
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3128
|
+
},
|
|
3129
|
+
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
3130
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
3131
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3132
|
+
},
|
|
3133
|
+
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
3134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
3135
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3136
|
+
},
|
|
3137
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
3138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
3139
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3140
|
+
},
|
|
3141
|
+
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
3142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
3143
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3144
|
+
}
|
|
3145
|
+
};
|
|
3146
|
+
};
|
|
3147
|
+
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
3148
|
+
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
3149
|
+
return {
|
|
3150
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
3151
|
+
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
3152
|
+
},
|
|
3153
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
3154
|
+
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
3155
|
+
},
|
|
3156
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
3157
|
+
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
3158
|
+
},
|
|
3159
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
3160
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3161
|
+
},
|
|
3162
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
3163
|
+
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
3164
|
+
}
|
|
3165
|
+
};
|
|
3166
|
+
};
|
|
3167
|
+
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
3168
|
+
createcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
3169
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
3170
|
+
}
|
|
3171
|
+
deletecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
3172
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3173
|
+
}
|
|
3174
|
+
getcoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
3175
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3176
|
+
}
|
|
3177
|
+
listcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
3178
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3179
|
+
}
|
|
3180
|
+
updatecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
3181
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(requestParameters.name, requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
3182
|
+
}
|
|
3183
|
+
}
|
|
3184
|
+
|
|
3185
|
+
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
3186
|
+
return {
|
|
3187
|
+
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
3188
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
3189
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3190
|
+
let baseOptions;
|
|
3191
|
+
if (configuration) {
|
|
3192
|
+
baseOptions = configuration.baseOptions;
|
|
3193
|
+
}
|
|
3194
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3195
|
+
const localVarHeaderParameter = {};
|
|
3196
|
+
const localVarQueryParameter = {};
|
|
3197
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3198
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3199
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3200
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3201
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3202
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3203
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
3204
|
+
return {
|
|
3205
|
+
url: toPathString(localVarUrlObj),
|
|
3206
|
+
options: localVarRequestOptions
|
|
3207
|
+
};
|
|
3208
|
+
},
|
|
3209
|
+
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
3210
|
+
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3211
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3212
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3213
|
+
let baseOptions;
|
|
3214
|
+
if (configuration) {
|
|
3215
|
+
baseOptions = configuration.baseOptions;
|
|
3216
|
+
}
|
|
3217
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3218
|
+
const localVarHeaderParameter = {};
|
|
3219
|
+
const localVarQueryParameter = {};
|
|
3220
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3221
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3222
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3223
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3224
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3225
|
+
return {
|
|
3226
|
+
url: toPathString(localVarUrlObj),
|
|
3227
|
+
options: localVarRequestOptions
|
|
3228
|
+
};
|
|
3229
|
+
},
|
|
3230
|
+
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
3231
|
+
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3232
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3233
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3234
|
+
let baseOptions;
|
|
3235
|
+
if (configuration) {
|
|
3236
|
+
baseOptions = configuration.baseOptions;
|
|
3237
|
+
}
|
|
3238
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3239
|
+
const localVarHeaderParameter = {};
|
|
3240
|
+
const localVarQueryParameter = {};
|
|
3241
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3242
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3243
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3244
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3245
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3246
|
+
return {
|
|
3247
|
+
url: toPathString(localVarUrlObj),
|
|
3248
|
+
options: localVarRequestOptions
|
|
3249
|
+
};
|
|
3250
|
+
},
|
|
3251
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3252
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
3253
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3254
|
+
let baseOptions;
|
|
3255
|
+
if (configuration) {
|
|
3256
|
+
baseOptions = configuration.baseOptions;
|
|
3257
|
+
}
|
|
3258
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3259
|
+
const localVarHeaderParameter = {};
|
|
3260
|
+
const localVarQueryParameter = {};
|
|
3261
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3262
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3263
|
+
if (page !== void 0) {
|
|
3264
|
+
localVarQueryParameter["page"] = page;
|
|
3265
|
+
}
|
|
3266
|
+
if (size !== void 0) {
|
|
3267
|
+
localVarQueryParameter["size"] = size;
|
|
3268
|
+
}
|
|
3269
|
+
if (labelSelector) {
|
|
3270
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3271
|
+
}
|
|
3272
|
+
if (fieldSelector) {
|
|
3273
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3274
|
+
}
|
|
3275
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3276
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3277
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3278
|
+
return {
|
|
3279
|
+
url: toPathString(localVarUrlObj),
|
|
3280
|
+
options: localVarRequestOptions
|
|
3281
|
+
};
|
|
3282
|
+
},
|
|
3283
|
+
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
3284
|
+
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3285
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3286
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3287
|
+
let baseOptions;
|
|
3288
|
+
if (configuration) {
|
|
3289
|
+
baseOptions = configuration.baseOptions;
|
|
3290
|
+
}
|
|
3291
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3292
|
+
const localVarHeaderParameter = {};
|
|
3293
|
+
const localVarQueryParameter = {};
|
|
3294
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3295
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3296
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3297
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3298
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3299
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3300
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
3301
|
+
return {
|
|
3302
|
+
url: toPathString(localVarUrlObj),
|
|
3303
|
+
options: localVarRequestOptions
|
|
3304
|
+
};
|
|
3305
|
+
}
|
|
3306
|
+
};
|
|
3307
|
+
};
|
|
3308
|
+
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
3309
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
3310
|
+
return {
|
|
3311
|
+
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3312
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
3313
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3314
|
+
},
|
|
3315
|
+
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3316
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3317
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3318
|
+
},
|
|
3319
|
+
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3321
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3322
|
+
},
|
|
3323
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
3325
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3326
|
+
},
|
|
3327
|
+
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
3329
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
3330
|
+
}
|
|
3331
|
+
};
|
|
3332
|
+
};
|
|
3333
|
+
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
3334
|
+
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
3335
|
+
return {
|
|
3336
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3337
|
+
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
3338
|
+
},
|
|
3339
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3340
|
+
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3341
|
+
},
|
|
3342
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3343
|
+
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3344
|
+
},
|
|
3345
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3346
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3347
|
+
},
|
|
3348
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3349
|
+
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
3350
|
+
}
|
|
3351
|
+
};
|
|
3352
|
+
};
|
|
3353
|
+
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
3354
|
+
createcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3355
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3356
|
+
}
|
|
3357
|
+
deletecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3358
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3359
|
+
}
|
|
3360
|
+
getcoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3361
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3362
|
+
}
|
|
3363
|
+
listcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3364
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3365
|
+
}
|
|
3366
|
+
updatecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3367
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(requestParameters.name, requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3368
|
+
}
|
|
3369
|
+
}
|
|
3370
|
+
|
|
2961
3371
|
const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration) {
|
|
2962
3372
|
return {
|
|
2963
3373
|
createmetricsHaloRunV1alpha1Counter: async (counter, options = {}) => {
|
|
@@ -5977,4 +6387,4 @@ const SinglePageSpecVisibleEnum = {
|
|
|
5977
6387
|
Private: "PRIVATE"
|
|
5978
6388
|
};
|
|
5979
6389
|
|
|
5980
|
-
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
|
6390
|
+
export { ApiConsoleHaloRunV1alpha1AttachmentApi, ApiConsoleHaloRunV1alpha1AttachmentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1AttachmentApiFactory, ApiConsoleHaloRunV1alpha1AttachmentApiFp, ApiConsoleHaloRunV1alpha1CommentApi, ApiConsoleHaloRunV1alpha1CommentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1CommentApiFactory, ApiConsoleHaloRunV1alpha1CommentApiFp, ApiConsoleHaloRunV1alpha1ContentApi, ApiConsoleHaloRunV1alpha1ContentApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ContentApiFactory, ApiConsoleHaloRunV1alpha1ContentApiFp, ApiConsoleHaloRunV1alpha1PluginApi, ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PluginApiFactory, ApiConsoleHaloRunV1alpha1PluginApiFp, ApiConsoleHaloRunV1alpha1PostApi, ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1PostApiFactory, ApiConsoleHaloRunV1alpha1PostApiFp, ApiConsoleHaloRunV1alpha1ReplyApi, ApiConsoleHaloRunV1alpha1ReplyApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ReplyApiFactory, ApiConsoleHaloRunV1alpha1ReplyApiFp, ApiConsoleHaloRunV1alpha1SinglePageApi, ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1SinglePageApiFactory, ApiConsoleHaloRunV1alpha1SinglePageApiFp, ApiConsoleHaloRunV1alpha1StatsApi, ApiConsoleHaloRunV1alpha1StatsApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1StatsApiFactory, ApiConsoleHaloRunV1alpha1StatsApiFp, ApiConsoleHaloRunV1alpha1ThemeApi, ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1ThemeApiFactory, ApiConsoleHaloRunV1alpha1ThemeApiFp, ApiConsoleHaloRunV1alpha1UserApi, ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator, ApiConsoleHaloRunV1alpha1UserApiFactory, ApiConsoleHaloRunV1alpha1UserApiFp, ApiHaloRunV1alpha1CommentApi, ApiHaloRunV1alpha1CommentApiAxiosParamCreator, ApiHaloRunV1alpha1CommentApiFactory, ApiHaloRunV1alpha1CommentApiFp, ApiHaloRunV1alpha1TrackerApi, ApiHaloRunV1alpha1TrackerApiAxiosParamCreator, ApiHaloRunV1alpha1TrackerApiFactory, ApiHaloRunV1alpha1TrackerApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, MetricsHaloRunV1alpha1CounterApi, MetricsHaloRunV1alpha1CounterApiAxiosParamCreator, MetricsHaloRunV1alpha1CounterApiFactory, MetricsHaloRunV1alpha1CounterApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|