@halo-dev/api-client 0.0.36 → 0.0.38
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 +418 -0
- package/dist/index.d.ts +845 -25
- package/dist/index.mjs +411 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -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) {
|
|
@@ -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;
|