@halo-dev/api-client 0.0.38 → 0.0.40
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 +38 -380
- package/dist/index.d.ts +148 -730
- package/dist/index.mjs +39 -373
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -567,6 +567,34 @@ const ApiConsoleHaloRunV1alpha1PluginApiAxiosParamCreator = function(configurati
|
|
|
567
567
|
url: toPathString(localVarUrlObj),
|
|
568
568
|
options: localVarRequestOptions
|
|
569
569
|
};
|
|
570
|
+
},
|
|
571
|
+
upgradePlugin: async (name, file, options = {}) => {
|
|
572
|
+
assertParamExists("upgradePlugin", "name", name);
|
|
573
|
+
assertParamExists("upgradePlugin", "file", file);
|
|
574
|
+
const localVarPath = `/apis/api.console.halo.run/v1alpha1/plugins/{name}/upgrade`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
575
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
576
|
+
let baseOptions;
|
|
577
|
+
if (configuration) {
|
|
578
|
+
baseOptions = configuration.baseOptions;
|
|
579
|
+
}
|
|
580
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
581
|
+
const localVarHeaderParameter = {};
|
|
582
|
+
const localVarQueryParameter = {};
|
|
583
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
584
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
585
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
586
|
+
if (file !== void 0) {
|
|
587
|
+
localVarFormParams.append("file", file);
|
|
588
|
+
}
|
|
589
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
590
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
591
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
592
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
593
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
594
|
+
return {
|
|
595
|
+
url: toPathString(localVarUrlObj),
|
|
596
|
+
options: localVarRequestOptions
|
|
597
|
+
};
|
|
570
598
|
}
|
|
571
599
|
};
|
|
572
600
|
};
|
|
@@ -580,6 +608,10 @@ const ApiConsoleHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
|
580
608
|
async listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
581
609
|
const localVarAxiosArgs = await localVarAxiosParamCreator.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options);
|
|
582
610
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
611
|
+
},
|
|
612
|
+
async upgradePlugin(name, file, options) {
|
|
613
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.upgradePlugin(name, file, options);
|
|
614
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
583
615
|
}
|
|
584
616
|
};
|
|
585
617
|
};
|
|
@@ -591,6 +623,9 @@ const ApiConsoleHaloRunV1alpha1PluginApiFactory = function(configuration, basePa
|
|
|
591
623
|
},
|
|
592
624
|
listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options) {
|
|
593
625
|
return localVarFp.listPlugins(sort, keyword, enabled, size, page, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
626
|
+
},
|
|
627
|
+
upgradePlugin(name, file, options) {
|
|
628
|
+
return localVarFp.upgradePlugin(name, file, options).then((request) => request(axios, basePath));
|
|
594
629
|
}
|
|
595
630
|
};
|
|
596
631
|
};
|
|
@@ -601,6 +636,9 @@ class ApiConsoleHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
601
636
|
listPlugins(requestParameters = {}, options) {
|
|
602
637
|
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).listPlugins(requestParameters.sort, requestParameters.keyword, requestParameters.enabled, requestParameters.size, requestParameters.page, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
603
638
|
}
|
|
639
|
+
upgradePlugin(requestParameters, options) {
|
|
640
|
+
return ApiConsoleHaloRunV1alpha1PluginApiFp(this.configuration).upgradePlugin(requestParameters.name, requestParameters.file, options).then((request) => request(this.axios, this.basePath));
|
|
641
|
+
}
|
|
604
642
|
}
|
|
605
643
|
|
|
606
644
|
const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
@@ -3004,378 +3042,6 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
|
3004
3042
|
}
|
|
3005
3043
|
}
|
|
3006
3044
|
|
|
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
|
-
|
|
3379
3045
|
const MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = function(configuration) {
|
|
3380
3046
|
return {
|
|
3381
3047
|
createmetricsHaloRunV1alpha1Counter: async (counter, options = {}) => {
|
|
@@ -6473,14 +6139,6 @@ exports.ContentHaloRunV1alpha1TagApi = ContentHaloRunV1alpha1TagApi;
|
|
|
6473
6139
|
exports.ContentHaloRunV1alpha1TagApiAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator;
|
|
6474
6140
|
exports.ContentHaloRunV1alpha1TagApiFactory = ContentHaloRunV1alpha1TagApiFactory;
|
|
6475
6141
|
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;
|
|
6484
6142
|
exports.MetricsHaloRunV1alpha1CounterApi = MetricsHaloRunV1alpha1CounterApi;
|
|
6485
6143
|
exports.MetricsHaloRunV1alpha1CounterApiAxiosParamCreator = MetricsHaloRunV1alpha1CounterApiAxiosParamCreator;
|
|
6486
6144
|
exports.MetricsHaloRunV1alpha1CounterApiFactory = MetricsHaloRunV1alpha1CounterApiFactory;
|