@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.cjs
CHANGED
|
@@ -527,7 +527,7 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
527
527
|
options: localVarRequestOptions
|
|
528
528
|
};
|
|
529
529
|
},
|
|
530
|
-
listPlugins: async (sort,
|
|
530
|
+
listPlugins: async (sort, enabled, keyword, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
531
531
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins`;
|
|
532
532
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
533
533
|
let baseOptions;
|
|
@@ -542,12 +542,12 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
542
542
|
if (sort) {
|
|
543
543
|
localVarQueryParameter["sort"] = Array.from(sort);
|
|
544
544
|
}
|
|
545
|
-
if (keyword !== void 0) {
|
|
546
|
-
localVarQueryParameter["keyword"] = keyword;
|
|
547
|
-
}
|
|
548
545
|
if (enabled !== void 0) {
|
|
549
546
|
localVarQueryParameter["enabled"] = enabled;
|
|
550
547
|
}
|
|
548
|
+
if (keyword !== void 0) {
|
|
549
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
550
|
+
}
|
|
551
551
|
if (size !== void 0) {
|
|
552
552
|
localVarQueryParameter["size"] = size;
|
|
553
553
|
}
|
|
@@ -577,8 +577,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
577
577
|
const localVarAxiosArgs = await localVarAxiosParamCreator.installPlugin(file, options);
|
|
578
578
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
579
579
|
},
|
|
580
|
-
async listPlugins(sort,
|
|
581
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort,
|
|
580
|
+
async listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
581
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options);
|
|
582
582
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
583
583
|
}
|
|
584
584
|
};
|
|
@@ -589,8 +589,8 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
589
589
|
installPlugin(file, options) {
|
|
590
590
|
return localVarFp.installPlugin(file, options).then((request) => request(axios, basePath));
|
|
591
591
|
},
|
|
592
|
-
listPlugins(sort,
|
|
593
|
-
return localVarFp.listPlugins(sort,
|
|
592
|
+
listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options) {
|
|
593
|
+
return localVarFp.listPlugins(sort, enabled, keyword, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
594
594
|
}
|
|
595
595
|
};
|
|
596
596
|
};
|
|
@@ -599,7 +599,7 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
599
599
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
600
600
|
}
|
|
601
601
|
listPlugins(requestParameters = {}, options) {
|
|
602
|
-
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.
|
|
602
|
+
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));
|
|
603
603
|
}
|
|
604
604
|
}
|
|
605
605
|
|
|
@@ -628,7 +628,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
628
628
|
options: localVarRequestOptions
|
|
629
629
|
};
|
|
630
630
|
},
|
|
631
|
-
listPosts: async (sort,
|
|
631
|
+
listPosts: async (sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
632
632
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
|
|
633
633
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
634
634
|
let baseOptions;
|
|
@@ -643,14 +643,17 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
643
643
|
if (sort !== void 0) {
|
|
644
644
|
localVarQueryParameter["sort"] = sort;
|
|
645
645
|
}
|
|
646
|
-
if (
|
|
647
|
-
localVarQueryParameter["
|
|
646
|
+
if (tag) {
|
|
647
|
+
localVarQueryParameter["tag"] = Array.from(tag);
|
|
648
648
|
}
|
|
649
649
|
if (visible !== void 0) {
|
|
650
650
|
localVarQueryParameter["visible"] = visible;
|
|
651
651
|
}
|
|
652
|
-
if (
|
|
653
|
-
localVarQueryParameter["
|
|
652
|
+
if (keyword !== void 0) {
|
|
653
|
+
localVarQueryParameter["keyword"] = keyword;
|
|
654
|
+
}
|
|
655
|
+
if (contributor) {
|
|
656
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
654
657
|
}
|
|
655
658
|
if (sortOrder !== void 0) {
|
|
656
659
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -661,9 +664,6 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
|
|
|
661
664
|
if (category) {
|
|
662
665
|
localVarQueryParameter["category"] = Array.from(category);
|
|
663
666
|
}
|
|
664
|
-
if (contributor) {
|
|
665
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
666
|
-
}
|
|
667
667
|
if (size !== void 0) {
|
|
668
668
|
localVarQueryParameter["size"] = size;
|
|
669
669
|
}
|
|
@@ -738,8 +738,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
738
738
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
739
739
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
740
740
|
},
|
|
741
|
-
async listPosts(sort,
|
|
742
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort,
|
|
741
|
+
async listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
742
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options);
|
|
743
743
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
744
744
|
},
|
|
745
745
|
async publishPost(name, options) {
|
|
@@ -758,8 +758,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
|
|
|
758
758
|
draftPost(postRequest, options) {
|
|
759
759
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
760
760
|
},
|
|
761
|
-
listPosts(sort,
|
|
762
|
-
return localVarFp.listPosts(sort,
|
|
761
|
+
listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options) {
|
|
762
|
+
return localVarFp.listPosts(sort, tag, visible, keyword, contributor, sortOrder, publishPhase, category, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
763
763
|
},
|
|
764
764
|
publishPost(name, options) {
|
|
765
765
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
@@ -774,7 +774,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
774
774
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
775
775
|
}
|
|
776
776
|
listPosts(requestParameters = {}, options) {
|
|
777
|
-
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.
|
|
777
|
+
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));
|
|
778
778
|
}
|
|
779
779
|
publishPost(requestParameters, options) {
|
|
780
780
|
return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -871,7 +871,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
871
871
|
options: localVarRequestOptions
|
|
872
872
|
};
|
|
873
873
|
},
|
|
874
|
-
listSinglePages: async (sort, keyword,
|
|
874
|
+
listSinglePages: async (sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options = {}) => {
|
|
875
875
|
const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
|
|
876
876
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
877
877
|
let baseOptions;
|
|
@@ -886,11 +886,14 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
886
886
|
if (sort !== void 0) {
|
|
887
887
|
localVarQueryParameter["sort"] = sort;
|
|
888
888
|
}
|
|
889
|
+
if (visible !== void 0) {
|
|
890
|
+
localVarQueryParameter["visible"] = visible;
|
|
891
|
+
}
|
|
889
892
|
if (keyword !== void 0) {
|
|
890
893
|
localVarQueryParameter["keyword"] = keyword;
|
|
891
894
|
}
|
|
892
|
-
if (
|
|
893
|
-
localVarQueryParameter["
|
|
895
|
+
if (contributor) {
|
|
896
|
+
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
894
897
|
}
|
|
895
898
|
if (sortOrder !== void 0) {
|
|
896
899
|
localVarQueryParameter["sortOrder"] = sortOrder;
|
|
@@ -898,9 +901,6 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
|
|
|
898
901
|
if (publishPhase !== void 0) {
|
|
899
902
|
localVarQueryParameter["publishPhase"] = publishPhase;
|
|
900
903
|
}
|
|
901
|
-
if (contributor) {
|
|
902
|
-
localVarQueryParameter["contributor"] = Array.from(contributor);
|
|
903
|
-
}
|
|
904
904
|
if (size !== void 0) {
|
|
905
905
|
localVarQueryParameter["size"] = size;
|
|
906
906
|
}
|
|
@@ -975,8 +975,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
|
975
975
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
976
976
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
977
977
|
},
|
|
978
|
-
async listSinglePages(sort, keyword,
|
|
979
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, keyword,
|
|
978
|
+
async listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
979
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options);
|
|
980
980
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
981
981
|
},
|
|
982
982
|
async publishSinglePage(name, options) {
|
|
@@ -995,8 +995,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
|
|
|
995
995
|
draftSinglePage(singlePageRequest, options) {
|
|
996
996
|
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
997
997
|
},
|
|
998
|
-
listSinglePages(sort, keyword,
|
|
999
|
-
return localVarFp.listSinglePages(sort, keyword,
|
|
998
|
+
listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options) {
|
|
999
|
+
return localVarFp.listSinglePages(sort, visible, keyword, contributor, sortOrder, publishPhase, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1000
1000
|
},
|
|
1001
1001
|
publishSinglePage(name, options) {
|
|
1002
1002
|
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
@@ -1011,7 +1011,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
|
1011
1011
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
1012
1012
|
}
|
|
1013
1013
|
listSinglePages(requestParameters = {}, options) {
|
|
1014
|
-
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.
|
|
1014
|
+
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));
|
|
1015
1015
|
}
|
|
1016
1016
|
publishSinglePage(requestParameters, options) {
|
|
1017
1017
|
return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
@@ -1153,6 +1153,34 @@ const ApiConsoleHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuratio
|
|
|
1153
1153
|
url: toPathString(localVarUrlObj),
|
|
1154
1154
|
options: localVarRequestOptions
|
|
1155
1155
|
};
|
|
1156
|
+
},
|
|
1157
|
+
upgradeTheme: async (name, file, options = {}) => {
|
|
1158
|
+
assertParamExists("upgradeTheme", "name", name);
|
|
1159
|
+
assertParamExists("upgradeTheme", "file", file);
|
|
1160
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/themes/{name}/upgrade`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1161
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1162
|
+
let baseOptions;
|
|
1163
|
+
if (configuration) {
|
|
1164
|
+
baseOptions = configuration.baseOptions;
|
|
1165
|
+
}
|
|
1166
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1167
|
+
const localVarHeaderParameter = {};
|
|
1168
|
+
const localVarQueryParameter = {};
|
|
1169
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
1170
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1171
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1172
|
+
if (file !== void 0) {
|
|
1173
|
+
localVarFormParams.append("file", file);
|
|
1174
|
+
}
|
|
1175
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
1176
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1177
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1178
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1179
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1180
|
+
return {
|
|
1181
|
+
url: toPathString(localVarUrlObj),
|
|
1182
|
+
options: localVarRequestOptions
|
|
1183
|
+
};
|
|
1156
1184
|
}
|
|
1157
1185
|
};
|
|
1158
1186
|
};
|
|
@@ -1170,6 +1198,10 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
|
1170
1198
|
async reloadThemeSetting(name, options) {
|
|
1171
1199
|
const localVarAxiosArgs = await localVarAxiosParamCreator.reloadThemeSetting(name, options);
|
|
1172
1200
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1201
|
+
},
|
|
1202
|
+
async upgradeTheme(name, file, options) {
|
|
1203
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradeTheme(name, file, options);
|
|
1204
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1173
1205
|
}
|
|
1174
1206
|
};
|
|
1175
1207
|
};
|
|
@@ -1184,6 +1216,9 @@ const ApiConsoleHaloRunV1alpha1ThemeApiFactory = function(configuration, basePat
|
|
|
1184
1216
|
},
|
|
1185
1217
|
reloadThemeSetting(name, options) {
|
|
1186
1218
|
return localVarFp.reloadThemeSetting(name, options).then((request) => request(axios, basePath));
|
|
1219
|
+
},
|
|
1220
|
+
upgradeTheme(name, file, options) {
|
|
1221
|
+
return localVarFp.upgradeTheme(name, file, options).then((request) => request(axios, basePath));
|
|
1187
1222
|
}
|
|
1188
1223
|
};
|
|
1189
1224
|
};
|
|
@@ -1197,6 +1232,9 @@ class ApiConsoleHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
|
1197
1232
|
reloadThemeSetting(requestParameters, options) {
|
|
1198
1233
|
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).reloadThemeSetting(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1199
1234
|
}
|
|
1235
|
+
upgradeTheme(requestParameters, options) {
|
|
1236
|
+
return ApiConsoleHaloRunV1alpha1ThemeApiFp(this.configuration).upgradeTheme(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
1237
|
+
}
|
|
1200
1238
|
}
|
|
1201
1239
|
|
|
1202
1240
|
const ApiConsoleHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
@@ -1463,12 +1501,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
|
|
|
1463
1501
|
if (version !== void 0) {
|
|
1464
1502
|
localVarQueryParameter["version"] = version;
|
|
1465
1503
|
}
|
|
1466
|
-
if (group !== void 0) {
|
|
1467
|
-
localVarQueryParameter["group"] = group;
|
|
1468
|
-
}
|
|
1469
1504
|
if (kind !== void 0) {
|
|
1470
1505
|
localVarQueryParameter["kind"] = kind;
|
|
1471
1506
|
}
|
|
1507
|
+
if (group !== void 0) {
|
|
1508
|
+
localVarQueryParameter["group"] = group;
|
|
1509
|
+
}
|
|
1472
1510
|
if (size !== void 0) {
|
|
1473
1511
|
localVarQueryParameter["size"] = size;
|
|
1474
1512
|
}
|
|
@@ -2966,6 +3004,378 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
2966
3004
|
}
|
|
2967
3005
|
}
|
|
2968
3006
|
|
|
3007
|
+
const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
|
|
3008
|
+
return {
|
|
3009
|
+
createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
|
|
3010
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
3011
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3012
|
+
let baseOptions;
|
|
3013
|
+
if (configuration) {
|
|
3014
|
+
baseOptions = configuration.baseOptions;
|
|
3015
|
+
}
|
|
3016
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3017
|
+
const localVarHeaderParameter = {};
|
|
3018
|
+
const localVarQueryParameter = {};
|
|
3019
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3020
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3021
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3022
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3023
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3024
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3025
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
3026
|
+
return {
|
|
3027
|
+
url: toPathString(localVarUrlObj),
|
|
3028
|
+
options: localVarRequestOptions
|
|
3029
|
+
};
|
|
3030
|
+
},
|
|
3031
|
+
deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
3032
|
+
assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
|
|
3033
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3034
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3035
|
+
let baseOptions;
|
|
3036
|
+
if (configuration) {
|
|
3037
|
+
baseOptions = configuration.baseOptions;
|
|
3038
|
+
}
|
|
3039
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3040
|
+
const localVarHeaderParameter = {};
|
|
3041
|
+
const localVarQueryParameter = {};
|
|
3042
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3043
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3044
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3045
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3046
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3047
|
+
return {
|
|
3048
|
+
url: toPathString(localVarUrlObj),
|
|
3049
|
+
options: localVarRequestOptions
|
|
3050
|
+
};
|
|
3051
|
+
},
|
|
3052
|
+
getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
|
|
3053
|
+
assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
|
|
3054
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3055
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3056
|
+
let baseOptions;
|
|
3057
|
+
if (configuration) {
|
|
3058
|
+
baseOptions = configuration.baseOptions;
|
|
3059
|
+
}
|
|
3060
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3061
|
+
const localVarHeaderParameter = {};
|
|
3062
|
+
const localVarQueryParameter = {};
|
|
3063
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3064
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3065
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3066
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3067
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3068
|
+
return {
|
|
3069
|
+
url: toPathString(localVarUrlObj),
|
|
3070
|
+
options: localVarRequestOptions
|
|
3071
|
+
};
|
|
3072
|
+
},
|
|
3073
|
+
listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3074
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
|
|
3075
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3076
|
+
let baseOptions;
|
|
3077
|
+
if (configuration) {
|
|
3078
|
+
baseOptions = configuration.baseOptions;
|
|
3079
|
+
}
|
|
3080
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3081
|
+
const localVarHeaderParameter = {};
|
|
3082
|
+
const localVarQueryParameter = {};
|
|
3083
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3084
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3085
|
+
if (page !== void 0) {
|
|
3086
|
+
localVarQueryParameter["page"] = page;
|
|
3087
|
+
}
|
|
3088
|
+
if (size !== void 0) {
|
|
3089
|
+
localVarQueryParameter["size"] = size;
|
|
3090
|
+
}
|
|
3091
|
+
if (labelSelector) {
|
|
3092
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3093
|
+
}
|
|
3094
|
+
if (fieldSelector) {
|
|
3095
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3096
|
+
}
|
|
3097
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3098
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3099
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3100
|
+
return {
|
|
3101
|
+
url: toPathString(localVarUrlObj),
|
|
3102
|
+
options: localVarRequestOptions
|
|
3103
|
+
};
|
|
3104
|
+
},
|
|
3105
|
+
updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
|
|
3106
|
+
assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
|
|
3107
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3108
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3109
|
+
let baseOptions;
|
|
3110
|
+
if (configuration) {
|
|
3111
|
+
baseOptions = configuration.baseOptions;
|
|
3112
|
+
}
|
|
3113
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3114
|
+
const localVarHeaderParameter = {};
|
|
3115
|
+
const localVarQueryParameter = {};
|
|
3116
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3117
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3118
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3119
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3120
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3121
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3122
|
+
localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
|
|
3123
|
+
return {
|
|
3124
|
+
url: toPathString(localVarUrlObj),
|
|
3125
|
+
options: localVarRequestOptions
|
|
3126
|
+
};
|
|
3127
|
+
}
|
|
3128
|
+
};
|
|
3129
|
+
};
|
|
3130
|
+
const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
|
|
3131
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
|
|
3132
|
+
return {
|
|
3133
|
+
async createcoreHaloRunV1alpha1Link(link, options) {
|
|
3134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
|
|
3135
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3136
|
+
},
|
|
3137
|
+
async deletecoreHaloRunV1alpha1Link(name, options) {
|
|
3138
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
|
|
3139
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3140
|
+
},
|
|
3141
|
+
async getcoreHaloRunV1alpha1Link(name, options) {
|
|
3142
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
|
|
3143
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3144
|
+
},
|
|
3145
|
+
async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
3146
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
|
|
3147
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3148
|
+
},
|
|
3149
|
+
async updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
3150
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
|
|
3151
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3152
|
+
}
|
|
3153
|
+
};
|
|
3154
|
+
};
|
|
3155
|
+
const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
|
|
3156
|
+
const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
|
|
3157
|
+
return {
|
|
3158
|
+
createcoreHaloRunV1alpha1Link(link, options) {
|
|
3159
|
+
return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
|
|
3160
|
+
},
|
|
3161
|
+
deletecoreHaloRunV1alpha1Link(name, options) {
|
|
3162
|
+
return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
3163
|
+
},
|
|
3164
|
+
getcoreHaloRunV1alpha1Link(name, options) {
|
|
3165
|
+
return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
|
|
3166
|
+
},
|
|
3167
|
+
listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
|
|
3168
|
+
return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3169
|
+
},
|
|
3170
|
+
updatecoreHaloRunV1alpha1Link(name, link, options) {
|
|
3171
|
+
return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
|
|
3172
|
+
}
|
|
3173
|
+
};
|
|
3174
|
+
};
|
|
3175
|
+
class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
|
|
3176
|
+
createcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
3177
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
3178
|
+
}
|
|
3179
|
+
deletecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
3180
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3181
|
+
}
|
|
3182
|
+
getcoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
3183
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3184
|
+
}
|
|
3185
|
+
listcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
|
|
3186
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3187
|
+
}
|
|
3188
|
+
updatecoreHaloRunV1alpha1Link(requestParameters, options) {
|
|
3189
|
+
return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(requestParameters.name, requestParameters.link, options).then((request) => request(this.axios, this.basePath));
|
|
3190
|
+
}
|
|
3191
|
+
}
|
|
3192
|
+
|
|
3193
|
+
const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
|
|
3194
|
+
return {
|
|
3195
|
+
createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
|
|
3196
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
3197
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3198
|
+
let baseOptions;
|
|
3199
|
+
if (configuration) {
|
|
3200
|
+
baseOptions = configuration.baseOptions;
|
|
3201
|
+
}
|
|
3202
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
3203
|
+
const localVarHeaderParameter = {};
|
|
3204
|
+
const localVarQueryParameter = {};
|
|
3205
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3206
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3207
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3208
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3209
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3210
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3211
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
3212
|
+
return {
|
|
3213
|
+
url: toPathString(localVarUrlObj),
|
|
3214
|
+
options: localVarRequestOptions
|
|
3215
|
+
};
|
|
3216
|
+
},
|
|
3217
|
+
deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
3218
|
+
assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3219
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3220
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3221
|
+
let baseOptions;
|
|
3222
|
+
if (configuration) {
|
|
3223
|
+
baseOptions = configuration.baseOptions;
|
|
3224
|
+
}
|
|
3225
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
3226
|
+
const localVarHeaderParameter = {};
|
|
3227
|
+
const localVarQueryParameter = {};
|
|
3228
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3229
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3230
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3231
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3232
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3233
|
+
return {
|
|
3234
|
+
url: toPathString(localVarUrlObj),
|
|
3235
|
+
options: localVarRequestOptions
|
|
3236
|
+
};
|
|
3237
|
+
},
|
|
3238
|
+
getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
|
|
3239
|
+
assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3240
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3241
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3242
|
+
let baseOptions;
|
|
3243
|
+
if (configuration) {
|
|
3244
|
+
baseOptions = configuration.baseOptions;
|
|
3245
|
+
}
|
|
3246
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3247
|
+
const localVarHeaderParameter = {};
|
|
3248
|
+
const localVarQueryParameter = {};
|
|
3249
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3250
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3251
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3252
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3253
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3254
|
+
return {
|
|
3255
|
+
url: toPathString(localVarUrlObj),
|
|
3256
|
+
options: localVarRequestOptions
|
|
3257
|
+
};
|
|
3258
|
+
},
|
|
3259
|
+
listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3260
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
|
|
3261
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3262
|
+
let baseOptions;
|
|
3263
|
+
if (configuration) {
|
|
3264
|
+
baseOptions = configuration.baseOptions;
|
|
3265
|
+
}
|
|
3266
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
3267
|
+
const localVarHeaderParameter = {};
|
|
3268
|
+
const localVarQueryParameter = {};
|
|
3269
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3270
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3271
|
+
if (page !== void 0) {
|
|
3272
|
+
localVarQueryParameter["page"] = page;
|
|
3273
|
+
}
|
|
3274
|
+
if (size !== void 0) {
|
|
3275
|
+
localVarQueryParameter["size"] = size;
|
|
3276
|
+
}
|
|
3277
|
+
if (labelSelector) {
|
|
3278
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
3279
|
+
}
|
|
3280
|
+
if (fieldSelector) {
|
|
3281
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
3282
|
+
}
|
|
3283
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3284
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3285
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3286
|
+
return {
|
|
3287
|
+
url: toPathString(localVarUrlObj),
|
|
3288
|
+
options: localVarRequestOptions
|
|
3289
|
+
};
|
|
3290
|
+
},
|
|
3291
|
+
updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
|
|
3292
|
+
assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
|
|
3293
|
+
const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
3294
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
3295
|
+
let baseOptions;
|
|
3296
|
+
if (configuration) {
|
|
3297
|
+
baseOptions = configuration.baseOptions;
|
|
3298
|
+
}
|
|
3299
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
3300
|
+
const localVarHeaderParameter = {};
|
|
3301
|
+
const localVarQueryParameter = {};
|
|
3302
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
3303
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
3304
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
3305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
3306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
3307
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
3308
|
+
localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
|
|
3309
|
+
return {
|
|
3310
|
+
url: toPathString(localVarUrlObj),
|
|
3311
|
+
options: localVarRequestOptions
|
|
3312
|
+
};
|
|
3313
|
+
}
|
|
3314
|
+
};
|
|
3315
|
+
};
|
|
3316
|
+
const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
|
|
3317
|
+
const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
|
|
3318
|
+
return {
|
|
3319
|
+
async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3320
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
|
|
3321
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3322
|
+
},
|
|
3323
|
+
async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3324
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3325
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3326
|
+
},
|
|
3327
|
+
async getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3328
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
|
|
3329
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3330
|
+
},
|
|
3331
|
+
async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3332
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
|
|
3333
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3334
|
+
},
|
|
3335
|
+
async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3336
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
|
|
3337
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
3338
|
+
}
|
|
3339
|
+
};
|
|
3340
|
+
};
|
|
3341
|
+
const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
|
|
3342
|
+
const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
|
|
3343
|
+
return {
|
|
3344
|
+
createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
|
|
3345
|
+
return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
|
|
3346
|
+
},
|
|
3347
|
+
deletecoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3348
|
+
return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3349
|
+
},
|
|
3350
|
+
getcoreHaloRunV1alpha1LinkGroup(name, options) {
|
|
3351
|
+
return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
|
|
3352
|
+
},
|
|
3353
|
+
listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
|
|
3354
|
+
return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
3355
|
+
},
|
|
3356
|
+
updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
|
|
3357
|
+
return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
|
|
3358
|
+
}
|
|
3359
|
+
};
|
|
3360
|
+
};
|
|
3361
|
+
class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
|
|
3362
|
+
createcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3363
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3364
|
+
}
|
|
3365
|
+
deletecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3366
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3367
|
+
}
|
|
3368
|
+
getcoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3369
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
3370
|
+
}
|
|
3371
|
+
listcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
|
|
3372
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
3373
|
+
}
|
|
3374
|
+
updatecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
|
|
3375
|
+
return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(requestParameters.name, requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
|
|
3376
|
+
}
|
|
3377
|
+
}
|
|
3378
|
+
|
|
2969
3379
|
const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration) {
|
|
2970
3380
|
return {
|
|
2971
3381
|
createmetricsHaloRunV1alpha1Counter: async (counter, options = {}) => {
|
|
@@ -6063,6 +6473,14 @@ exports.ContentHaloRunV1alpha1TagApi = ContentHaloRunV1alpha1TagApi;
|
|
|
6063
6473
|
exports.ContentHaloRunV1alpha1TagApiAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator;
|
|
6064
6474
|
exports.ContentHaloRunV1alpha1TagApiFactory = ContentHaloRunV1alpha1TagApiFactory;
|
|
6065
6475
|
exports.ContentHaloRunV1alpha1TagApiFp = ContentHaloRunV1alpha1TagApiFp;
|
|
6476
|
+
exports.CoreHaloRunV1alpha1LinkApi = CoreHaloRunV1alpha1LinkApi;
|
|
6477
|
+
exports.CoreHaloRunV1alpha1LinkApiAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator;
|
|
6478
|
+
exports.CoreHaloRunV1alpha1LinkApiFactory = CoreHaloRunV1alpha1LinkApiFactory;
|
|
6479
|
+
exports.CoreHaloRunV1alpha1LinkApiFp = CoreHaloRunV1alpha1LinkApiFp;
|
|
6480
|
+
exports.CoreHaloRunV1alpha1LinkGroupApi = CoreHaloRunV1alpha1LinkGroupApi;
|
|
6481
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator;
|
|
6482
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFactory = CoreHaloRunV1alpha1LinkGroupApiFactory;
|
|
6483
|
+
exports.CoreHaloRunV1alpha1LinkGroupApiFp = CoreHaloRunV1alpha1LinkGroupApiFp;
|
|
6066
6484
|
exports.MetricsHaloRunV1alpha1CounterApi = MetricsHaloRunV1alpha1CounterApi;
|
|
6067
6485
|
exports.MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = MetricsHaloRunV1alpha1CounterApiAxiosParamCreator;
|
|
6068
6486
|
exports.MetricsHaloRunV1alpha1CounterApiFactory = MetricsHaloRunV1alpha1CounterApiFactory;
|