@halo-dev/api-client 0.0.6 → 0.0.9
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 +246 -0
- package/dist/index.d.ts +415 -1
- package/dist/index.mjs +239 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -136,6 +136,59 @@ class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
136
136
|
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
137
137
|
}
|
|
138
138
|
}
|
|
139
|
+
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
140
|
+
return {
|
|
141
|
+
installTheme: async (file, options = {}) => {
|
|
142
|
+
assertParamExists("installTheme", "file", file);
|
|
143
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/themes/install`;
|
|
144
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
145
|
+
let baseOptions;
|
|
146
|
+
if (configuration) {
|
|
147
|
+
baseOptions = configuration.baseOptions;
|
|
148
|
+
}
|
|
149
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
150
|
+
const localVarHeaderParameter = {};
|
|
151
|
+
const localVarQueryParameter = {};
|
|
152
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
153
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
154
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
155
|
+
if (file !== void 0) {
|
|
156
|
+
localVarFormParams.append("file", file);
|
|
157
|
+
}
|
|
158
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
159
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
160
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
161
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
162
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
163
|
+
return {
|
|
164
|
+
url: toPathString(localVarUrlObj),
|
|
165
|
+
options: localVarRequestOptions
|
|
166
|
+
};
|
|
167
|
+
}
|
|
168
|
+
};
|
|
169
|
+
};
|
|
170
|
+
const ApiHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
171
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
172
|
+
return {
|
|
173
|
+
async installTheme(file, options) {
|
|
174
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
175
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
180
|
+
const localVarFp = ApiHaloRunV1alpha1ThemeApiFp(configuration);
|
|
181
|
+
return {
|
|
182
|
+
installTheme(file, options) {
|
|
183
|
+
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
184
|
+
}
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
188
|
+
installTheme(file, options) {
|
|
189
|
+
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(file, options).then((request) => request(this.axios, this.basePath));
|
|
190
|
+
}
|
|
191
|
+
}
|
|
139
192
|
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
140
193
|
return {
|
|
141
194
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
@@ -1252,6 +1305,191 @@ class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
1252
1305
|
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
1253
1306
|
}
|
|
1254
1307
|
}
|
|
1308
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
1309
|
+
return {
|
|
1310
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
1311
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1312
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1313
|
+
let baseOptions;
|
|
1314
|
+
if (configuration) {
|
|
1315
|
+
baseOptions = configuration.baseOptions;
|
|
1316
|
+
}
|
|
1317
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1318
|
+
const localVarHeaderParameter = {};
|
|
1319
|
+
const localVarQueryParameter = {};
|
|
1320
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1321
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1322
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1323
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1324
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1325
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1326
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1327
|
+
return {
|
|
1328
|
+
url: toPathString(localVarUrlObj),
|
|
1329
|
+
options: localVarRequestOptions
|
|
1330
|
+
};
|
|
1331
|
+
},
|
|
1332
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1333
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
1334
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1335
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1336
|
+
let baseOptions;
|
|
1337
|
+
if (configuration) {
|
|
1338
|
+
baseOptions = configuration.baseOptions;
|
|
1339
|
+
}
|
|
1340
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1341
|
+
const localVarHeaderParameter = {};
|
|
1342
|
+
const localVarQueryParameter = {};
|
|
1343
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1344
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1345
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1346
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1347
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1348
|
+
return {
|
|
1349
|
+
url: toPathString(localVarUrlObj),
|
|
1350
|
+
options: localVarRequestOptions
|
|
1351
|
+
};
|
|
1352
|
+
},
|
|
1353
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1354
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
1355
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1356
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1357
|
+
let baseOptions;
|
|
1358
|
+
if (configuration) {
|
|
1359
|
+
baseOptions = configuration.baseOptions;
|
|
1360
|
+
}
|
|
1361
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1362
|
+
const localVarHeaderParameter = {};
|
|
1363
|
+
const localVarQueryParameter = {};
|
|
1364
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1366
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1367
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1368
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1369
|
+
return {
|
|
1370
|
+
url: toPathString(localVarUrlObj),
|
|
1371
|
+
options: localVarRequestOptions
|
|
1372
|
+
};
|
|
1373
|
+
},
|
|
1374
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1375
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1376
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1377
|
+
let baseOptions;
|
|
1378
|
+
if (configuration) {
|
|
1379
|
+
baseOptions = configuration.baseOptions;
|
|
1380
|
+
}
|
|
1381
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1382
|
+
const localVarHeaderParameter = {};
|
|
1383
|
+
const localVarQueryParameter = {};
|
|
1384
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1385
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1386
|
+
if (page !== void 0) {
|
|
1387
|
+
localVarQueryParameter["page"] = page;
|
|
1388
|
+
}
|
|
1389
|
+
if (size !== void 0) {
|
|
1390
|
+
localVarQueryParameter["size"] = size;
|
|
1391
|
+
}
|
|
1392
|
+
if (labelSelector) {
|
|
1393
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1394
|
+
}
|
|
1395
|
+
if (fieldSelector) {
|
|
1396
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1397
|
+
}
|
|
1398
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1399
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1400
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1401
|
+
return {
|
|
1402
|
+
url: toPathString(localVarUrlObj),
|
|
1403
|
+
options: localVarRequestOptions
|
|
1404
|
+
};
|
|
1405
|
+
},
|
|
1406
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
1407
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
1408
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1409
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1410
|
+
let baseOptions;
|
|
1411
|
+
if (configuration) {
|
|
1412
|
+
baseOptions = configuration.baseOptions;
|
|
1413
|
+
}
|
|
1414
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1415
|
+
const localVarHeaderParameter = {};
|
|
1416
|
+
const localVarQueryParameter = {};
|
|
1417
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1418
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1419
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1420
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1421
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1422
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1423
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1424
|
+
return {
|
|
1425
|
+
url: toPathString(localVarUrlObj),
|
|
1426
|
+
options: localVarRequestOptions
|
|
1427
|
+
};
|
|
1428
|
+
}
|
|
1429
|
+
};
|
|
1430
|
+
};
|
|
1431
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
1432
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
1433
|
+
return {
|
|
1434
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
1436
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1437
|
+
},
|
|
1438
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
1440
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1441
|
+
},
|
|
1442
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1443
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
1444
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1445
|
+
},
|
|
1446
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1447
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
1448
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1449
|
+
},
|
|
1450
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1451
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
1452
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1453
|
+
}
|
|
1454
|
+
};
|
|
1455
|
+
};
|
|
1456
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1457
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1458
|
+
return {
|
|
1459
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1460
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
1461
|
+
},
|
|
1462
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1463
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1464
|
+
},
|
|
1465
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1466
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1467
|
+
},
|
|
1468
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1469
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1470
|
+
},
|
|
1471
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1472
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
1473
|
+
}
|
|
1474
|
+
};
|
|
1475
|
+
};
|
|
1476
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1477
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1478
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
1479
|
+
}
|
|
1480
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1481
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1482
|
+
}
|
|
1483
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1484
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1485
|
+
}
|
|
1486
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1487
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1488
|
+
}
|
|
1489
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1490
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1255
1493
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1256
1494
|
return {
|
|
1257
1495
|
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
@@ -2383,6 +2621,10 @@ exports.ApiHaloRunV1alpha1PluginApi = ApiHaloRunV1alpha1PluginApi;
|
|
|
2383
2621
|
exports.ApiHaloRunV1alpha1PluginApiAxiosParamCreator = ApiHaloRunV1alpha1PluginApiAxiosParamCreator;
|
|
2384
2622
|
exports.ApiHaloRunV1alpha1PluginApiFactory = ApiHaloRunV1alpha1PluginApiFactory;
|
|
2385
2623
|
exports.ApiHaloRunV1alpha1PluginApiFp = ApiHaloRunV1alpha1PluginApiFp;
|
|
2624
|
+
exports.ApiHaloRunV1alpha1ThemeApi = ApiHaloRunV1alpha1ThemeApi;
|
|
2625
|
+
exports.ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
2626
|
+
exports.ApiHaloRunV1alpha1ThemeApiFactory = ApiHaloRunV1alpha1ThemeApiFactory;
|
|
2627
|
+
exports.ApiHaloRunV1alpha1ThemeApiFp = ApiHaloRunV1alpha1ThemeApiFp;
|
|
2386
2628
|
exports.ApiHaloRunV1alpha1UserApi = ApiHaloRunV1alpha1UserApi;
|
|
2387
2629
|
exports.ApiHaloRunV1alpha1UserApiAxiosParamCreator = ApiHaloRunV1alpha1UserApiAxiosParamCreator;
|
|
2388
2630
|
exports.ApiHaloRunV1alpha1UserApiFactory = ApiHaloRunV1alpha1UserApiFactory;
|
|
@@ -2413,6 +2655,10 @@ exports.RunHaloTemplateV1alpha1AppleApi = RunHaloTemplateV1alpha1AppleApi;
|
|
|
2413
2655
|
exports.RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator;
|
|
2414
2656
|
exports.RunHaloTemplateV1alpha1AppleApiFactory = RunHaloTemplateV1alpha1AppleApiFactory;
|
|
2415
2657
|
exports.RunHaloTemplateV1alpha1AppleApiFp = RunHaloTemplateV1alpha1AppleApiFp;
|
|
2658
|
+
exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
2659
|
+
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
2660
|
+
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|
|
2661
|
+
exports.ThemeHaloRunV1alpha1ThemeApiFp = ThemeHaloRunV1alpha1ThemeApiFp;
|
|
2416
2662
|
exports.V1alpha1ConfigMapApi = V1alpha1ConfigMapApi;
|
|
2417
2663
|
exports.V1alpha1ConfigMapApiAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator;
|
|
2418
2664
|
exports.V1alpha1ConfigMapApiFactory = V1alpha1ConfigMapApiFactory;
|
package/dist/index.d.ts
CHANGED
|
@@ -180,6 +180,25 @@ interface AppleSpec {
|
|
|
180
180
|
*/
|
|
181
181
|
producingArea?: string;
|
|
182
182
|
}
|
|
183
|
+
/**
|
|
184
|
+
*
|
|
185
|
+
* @export
|
|
186
|
+
* @interface Author
|
|
187
|
+
*/
|
|
188
|
+
interface Author {
|
|
189
|
+
/**
|
|
190
|
+
*
|
|
191
|
+
* @type {string}
|
|
192
|
+
* @memberof Author
|
|
193
|
+
*/
|
|
194
|
+
name: string;
|
|
195
|
+
/**
|
|
196
|
+
*
|
|
197
|
+
* @type {string}
|
|
198
|
+
* @memberof Author
|
|
199
|
+
*/
|
|
200
|
+
website?: string;
|
|
201
|
+
}
|
|
183
202
|
/**
|
|
184
203
|
*
|
|
185
204
|
* @export
|
|
@@ -1388,6 +1407,159 @@ interface Subject {
|
|
|
1388
1407
|
*/
|
|
1389
1408
|
apiGroup?: string;
|
|
1390
1409
|
}
|
|
1410
|
+
/**
|
|
1411
|
+
*
|
|
1412
|
+
* @export
|
|
1413
|
+
* @interface Theme
|
|
1414
|
+
*/
|
|
1415
|
+
interface Theme {
|
|
1416
|
+
/**
|
|
1417
|
+
*
|
|
1418
|
+
* @type {ThemeSpec}
|
|
1419
|
+
* @memberof Theme
|
|
1420
|
+
*/
|
|
1421
|
+
spec: ThemeSpec;
|
|
1422
|
+
/**
|
|
1423
|
+
*
|
|
1424
|
+
* @type {string}
|
|
1425
|
+
* @memberof Theme
|
|
1426
|
+
*/
|
|
1427
|
+
apiVersion: string;
|
|
1428
|
+
/**
|
|
1429
|
+
*
|
|
1430
|
+
* @type {string}
|
|
1431
|
+
* @memberof Theme
|
|
1432
|
+
*/
|
|
1433
|
+
kind: string;
|
|
1434
|
+
/**
|
|
1435
|
+
*
|
|
1436
|
+
* @type {Metadata}
|
|
1437
|
+
* @memberof Theme
|
|
1438
|
+
*/
|
|
1439
|
+
metadata: Metadata;
|
|
1440
|
+
}
|
|
1441
|
+
/**
|
|
1442
|
+
*
|
|
1443
|
+
* @export
|
|
1444
|
+
* @interface ThemeList
|
|
1445
|
+
*/
|
|
1446
|
+
interface ThemeList {
|
|
1447
|
+
/**
|
|
1448
|
+
* Page number, starts from 1. If not set or equal to 0, it means no pagination.
|
|
1449
|
+
* @type {number}
|
|
1450
|
+
* @memberof ThemeList
|
|
1451
|
+
*/
|
|
1452
|
+
page: number;
|
|
1453
|
+
/**
|
|
1454
|
+
* Size of each page. If not set or equal to 0, it means no pagination.
|
|
1455
|
+
* @type {number}
|
|
1456
|
+
* @memberof ThemeList
|
|
1457
|
+
*/
|
|
1458
|
+
size: number;
|
|
1459
|
+
/**
|
|
1460
|
+
* Total elements.
|
|
1461
|
+
* @type {number}
|
|
1462
|
+
* @memberof ThemeList
|
|
1463
|
+
*/
|
|
1464
|
+
total: number;
|
|
1465
|
+
/**
|
|
1466
|
+
* A chunk of items.
|
|
1467
|
+
* @type {Array<Theme>}
|
|
1468
|
+
* @memberof ThemeList
|
|
1469
|
+
*/
|
|
1470
|
+
items: Array<Theme>;
|
|
1471
|
+
/**
|
|
1472
|
+
* Indicates whether current page is the first page.
|
|
1473
|
+
* @type {boolean}
|
|
1474
|
+
* @memberof ThemeList
|
|
1475
|
+
*/
|
|
1476
|
+
first: boolean;
|
|
1477
|
+
/**
|
|
1478
|
+
* Indicates whether current page is the last page.
|
|
1479
|
+
* @type {boolean}
|
|
1480
|
+
* @memberof ThemeList
|
|
1481
|
+
*/
|
|
1482
|
+
last: boolean;
|
|
1483
|
+
/**
|
|
1484
|
+
* Indicates whether current page has previous page.
|
|
1485
|
+
* @type {boolean}
|
|
1486
|
+
* @memberof ThemeList
|
|
1487
|
+
*/
|
|
1488
|
+
hasNext: boolean;
|
|
1489
|
+
/**
|
|
1490
|
+
* Indicates whether current page has previous page.
|
|
1491
|
+
* @type {boolean}
|
|
1492
|
+
* @memberof ThemeList
|
|
1493
|
+
*/
|
|
1494
|
+
hasPrevious: boolean;
|
|
1495
|
+
}
|
|
1496
|
+
/**
|
|
1497
|
+
*
|
|
1498
|
+
* @export
|
|
1499
|
+
* @interface ThemeSpec
|
|
1500
|
+
*/
|
|
1501
|
+
interface ThemeSpec {
|
|
1502
|
+
/**
|
|
1503
|
+
*
|
|
1504
|
+
* @type {string}
|
|
1505
|
+
* @memberof ThemeSpec
|
|
1506
|
+
*/
|
|
1507
|
+
displayName: string;
|
|
1508
|
+
/**
|
|
1509
|
+
*
|
|
1510
|
+
* @type {Author}
|
|
1511
|
+
* @memberof ThemeSpec
|
|
1512
|
+
*/
|
|
1513
|
+
author: Author;
|
|
1514
|
+
/**
|
|
1515
|
+
*
|
|
1516
|
+
* @type {string}
|
|
1517
|
+
* @memberof ThemeSpec
|
|
1518
|
+
*/
|
|
1519
|
+
description?: string;
|
|
1520
|
+
/**
|
|
1521
|
+
*
|
|
1522
|
+
* @type {string}
|
|
1523
|
+
* @memberof ThemeSpec
|
|
1524
|
+
*/
|
|
1525
|
+
logo?: string;
|
|
1526
|
+
/**
|
|
1527
|
+
*
|
|
1528
|
+
* @type {string}
|
|
1529
|
+
* @memberof ThemeSpec
|
|
1530
|
+
*/
|
|
1531
|
+
website?: string;
|
|
1532
|
+
/**
|
|
1533
|
+
*
|
|
1534
|
+
* @type {string}
|
|
1535
|
+
* @memberof ThemeSpec
|
|
1536
|
+
*/
|
|
1537
|
+
repo?: string;
|
|
1538
|
+
/**
|
|
1539
|
+
*
|
|
1540
|
+
* @type {string}
|
|
1541
|
+
* @memberof ThemeSpec
|
|
1542
|
+
*/
|
|
1543
|
+
version: string;
|
|
1544
|
+
/**
|
|
1545
|
+
*
|
|
1546
|
+
* @type {string}
|
|
1547
|
+
* @memberof ThemeSpec
|
|
1548
|
+
*/
|
|
1549
|
+
require: string;
|
|
1550
|
+
/**
|
|
1551
|
+
*
|
|
1552
|
+
* @type {string}
|
|
1553
|
+
* @memberof ThemeSpec
|
|
1554
|
+
*/
|
|
1555
|
+
settingName?: string;
|
|
1556
|
+
/**
|
|
1557
|
+
*
|
|
1558
|
+
* @type {string}
|
|
1559
|
+
* @memberof ThemeSpec
|
|
1560
|
+
*/
|
|
1561
|
+
configMapName?: string;
|
|
1562
|
+
}
|
|
1391
1563
|
/**
|
|
1392
1564
|
*
|
|
1393
1565
|
* @export
|
|
@@ -1640,6 +1812,61 @@ declare class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
1640
1812
|
*/
|
|
1641
1813
|
installPlugin(file: any, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1642
1814
|
}
|
|
1815
|
+
/**
|
|
1816
|
+
* ApiHaloRunV1alpha1ThemeApi - axios parameter creator
|
|
1817
|
+
* @export
|
|
1818
|
+
*/
|
|
1819
|
+
declare const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
1820
|
+
/**
|
|
1821
|
+
* Install a theme by uploading a zip file.
|
|
1822
|
+
* @param {any} file
|
|
1823
|
+
* @param {*} [options] Override http request option.
|
|
1824
|
+
* @throws {RequiredError}
|
|
1825
|
+
*/
|
|
1826
|
+
installTheme: (file: any, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
1827
|
+
};
|
|
1828
|
+
/**
|
|
1829
|
+
* ApiHaloRunV1alpha1ThemeApi - functional programming interface
|
|
1830
|
+
* @export
|
|
1831
|
+
*/
|
|
1832
|
+
declare const ApiHaloRunV1alpha1ThemeApiFp: (configuration?: Configuration) => {
|
|
1833
|
+
/**
|
|
1834
|
+
* Install a theme by uploading a zip file.
|
|
1835
|
+
* @param {any} file
|
|
1836
|
+
* @param {*} [options] Override http request option.
|
|
1837
|
+
* @throws {RequiredError}
|
|
1838
|
+
*/
|
|
1839
|
+
installTheme(file: any, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
1840
|
+
};
|
|
1841
|
+
/**
|
|
1842
|
+
* ApiHaloRunV1alpha1ThemeApi - factory interface
|
|
1843
|
+
* @export
|
|
1844
|
+
*/
|
|
1845
|
+
declare const ApiHaloRunV1alpha1ThemeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
1846
|
+
/**
|
|
1847
|
+
* Install a theme by uploading a zip file.
|
|
1848
|
+
* @param {any} file
|
|
1849
|
+
* @param {*} [options] Override http request option.
|
|
1850
|
+
* @throws {RequiredError}
|
|
1851
|
+
*/
|
|
1852
|
+
installTheme(file: any, options?: any): AxiosPromise<void>;
|
|
1853
|
+
};
|
|
1854
|
+
/**
|
|
1855
|
+
* ApiHaloRunV1alpha1ThemeApi - object-oriented interface
|
|
1856
|
+
* @export
|
|
1857
|
+
* @class ApiHaloRunV1alpha1ThemeApi
|
|
1858
|
+
* @extends {BaseAPI}
|
|
1859
|
+
*/
|
|
1860
|
+
declare class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1861
|
+
/**
|
|
1862
|
+
* Install a theme by uploading a zip file.
|
|
1863
|
+
* @param {any} file
|
|
1864
|
+
* @param {*} [options] Override http request option.
|
|
1865
|
+
* @throws {RequiredError}
|
|
1866
|
+
* @memberof ApiHaloRunV1alpha1ThemeApi
|
|
1867
|
+
*/
|
|
1868
|
+
installTheme(file: any, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
1869
|
+
}
|
|
1643
1870
|
/**
|
|
1644
1871
|
* ApiHaloRunV1alpha1UserApi - axios parameter creator
|
|
1645
1872
|
* @export
|
|
@@ -2772,6 +2999,193 @@ declare class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
2772
2999
|
*/
|
|
2773
3000
|
updaterunHaloTemplateV1alpha1Apple(name: string, apple?: Apple, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Apple, any>>;
|
|
2774
3001
|
}
|
|
3002
|
+
/**
|
|
3003
|
+
* ThemeHaloRunV1alpha1ThemeApi - axios parameter creator
|
|
3004
|
+
* @export
|
|
3005
|
+
*/
|
|
3006
|
+
declare const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
3007
|
+
/**
|
|
3008
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
3009
|
+
* @param {Theme} [theme] Fresh theme
|
|
3010
|
+
* @param {*} [options] Override http request option.
|
|
3011
|
+
* @throws {RequiredError}
|
|
3012
|
+
*/
|
|
3013
|
+
createthemeHaloRunV1alpha1Theme: (theme?: Theme, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3014
|
+
/**
|
|
3015
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
3016
|
+
* @param {string} name Name of theme
|
|
3017
|
+
* @param {*} [options] Override http request option.
|
|
3018
|
+
* @throws {RequiredError}
|
|
3019
|
+
*/
|
|
3020
|
+
deletethemeHaloRunV1alpha1Theme: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3021
|
+
/**
|
|
3022
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3023
|
+
* @param {string} name Name of theme
|
|
3024
|
+
* @param {*} [options] Override http request option.
|
|
3025
|
+
* @throws {RequiredError}
|
|
3026
|
+
*/
|
|
3027
|
+
getthemeHaloRunV1alpha1Theme: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3028
|
+
/**
|
|
3029
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3030
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3031
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3032
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3033
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3034
|
+
* @param {*} [options] Override http request option.
|
|
3035
|
+
* @throws {RequiredError}
|
|
3036
|
+
*/
|
|
3037
|
+
listthemeHaloRunV1alpha1Theme: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3038
|
+
/**
|
|
3039
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3040
|
+
* @param {string} name Name of theme
|
|
3041
|
+
* @param {Theme} [theme] Updated theme
|
|
3042
|
+
* @param {*} [options] Override http request option.
|
|
3043
|
+
* @throws {RequiredError}
|
|
3044
|
+
*/
|
|
3045
|
+
updatethemeHaloRunV1alpha1Theme: (name: string, theme?: Theme, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
3046
|
+
};
|
|
3047
|
+
/**
|
|
3048
|
+
* ThemeHaloRunV1alpha1ThemeApi - functional programming interface
|
|
3049
|
+
* @export
|
|
3050
|
+
*/
|
|
3051
|
+
declare const ThemeHaloRunV1alpha1ThemeApiFp: (configuration?: Configuration) => {
|
|
3052
|
+
/**
|
|
3053
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
3054
|
+
* @param {Theme} [theme] Fresh theme
|
|
3055
|
+
* @param {*} [options] Override http request option.
|
|
3056
|
+
* @throws {RequiredError}
|
|
3057
|
+
*/
|
|
3058
|
+
createthemeHaloRunV1alpha1Theme(theme?: Theme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
|
|
3059
|
+
/**
|
|
3060
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
3061
|
+
* @param {string} name Name of theme
|
|
3062
|
+
* @param {*} [options] Override http request option.
|
|
3063
|
+
* @throws {RequiredError}
|
|
3064
|
+
*/
|
|
3065
|
+
deletethemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
3066
|
+
/**
|
|
3067
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3068
|
+
* @param {string} name Name of theme
|
|
3069
|
+
* @param {*} [options] Override http request option.
|
|
3070
|
+
* @throws {RequiredError}
|
|
3071
|
+
*/
|
|
3072
|
+
getthemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
|
|
3073
|
+
/**
|
|
3074
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3075
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3076
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3077
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3078
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3079
|
+
* @param {*} [options] Override http request option.
|
|
3080
|
+
* @throws {RequiredError}
|
|
3081
|
+
*/
|
|
3082
|
+
listthemeHaloRunV1alpha1Theme(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeList>>;
|
|
3083
|
+
/**
|
|
3084
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3085
|
+
* @param {string} name Name of theme
|
|
3086
|
+
* @param {Theme} [theme] Updated theme
|
|
3087
|
+
* @param {*} [options] Override http request option.
|
|
3088
|
+
* @throws {RequiredError}
|
|
3089
|
+
*/
|
|
3090
|
+
updatethemeHaloRunV1alpha1Theme(name: string, theme?: Theme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
|
|
3091
|
+
};
|
|
3092
|
+
/**
|
|
3093
|
+
* ThemeHaloRunV1alpha1ThemeApi - factory interface
|
|
3094
|
+
* @export
|
|
3095
|
+
*/
|
|
3096
|
+
declare const ThemeHaloRunV1alpha1ThemeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3097
|
+
/**
|
|
3098
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
3099
|
+
* @param {Theme} [theme] Fresh theme
|
|
3100
|
+
* @param {*} [options] Override http request option.
|
|
3101
|
+
* @throws {RequiredError}
|
|
3102
|
+
*/
|
|
3103
|
+
createthemeHaloRunV1alpha1Theme(theme?: Theme, options?: any): AxiosPromise<Theme>;
|
|
3104
|
+
/**
|
|
3105
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
3106
|
+
* @param {string} name Name of theme
|
|
3107
|
+
* @param {*} [options] Override http request option.
|
|
3108
|
+
* @throws {RequiredError}
|
|
3109
|
+
*/
|
|
3110
|
+
deletethemeHaloRunV1alpha1Theme(name: string, options?: any): AxiosPromise<void>;
|
|
3111
|
+
/**
|
|
3112
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3113
|
+
* @param {string} name Name of theme
|
|
3114
|
+
* @param {*} [options] Override http request option.
|
|
3115
|
+
* @throws {RequiredError}
|
|
3116
|
+
*/
|
|
3117
|
+
getthemeHaloRunV1alpha1Theme(name: string, options?: any): AxiosPromise<Theme>;
|
|
3118
|
+
/**
|
|
3119
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3120
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3121
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3122
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3123
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3124
|
+
* @param {*} [options] Override http request option.
|
|
3125
|
+
* @throws {RequiredError}
|
|
3126
|
+
*/
|
|
3127
|
+
listthemeHaloRunV1alpha1Theme(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: any): AxiosPromise<ThemeList>;
|
|
3128
|
+
/**
|
|
3129
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3130
|
+
* @param {string} name Name of theme
|
|
3131
|
+
* @param {Theme} [theme] Updated theme
|
|
3132
|
+
* @param {*} [options] Override http request option.
|
|
3133
|
+
* @throws {RequiredError}
|
|
3134
|
+
*/
|
|
3135
|
+
updatethemeHaloRunV1alpha1Theme(name: string, theme?: Theme, options?: any): AxiosPromise<Theme>;
|
|
3136
|
+
};
|
|
3137
|
+
/**
|
|
3138
|
+
* ThemeHaloRunV1alpha1ThemeApi - object-oriented interface
|
|
3139
|
+
* @export
|
|
3140
|
+
* @class ThemeHaloRunV1alpha1ThemeApi
|
|
3141
|
+
* @extends {BaseAPI}
|
|
3142
|
+
*/
|
|
3143
|
+
declare class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
3144
|
+
/**
|
|
3145
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
3146
|
+
* @param {Theme} [theme] Fresh theme
|
|
3147
|
+
* @param {*} [options] Override http request option.
|
|
3148
|
+
* @throws {RequiredError}
|
|
3149
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3150
|
+
*/
|
|
3151
|
+
createthemeHaloRunV1alpha1Theme(theme?: Theme, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Theme, any>>;
|
|
3152
|
+
/**
|
|
3153
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
3154
|
+
* @param {string} name Name of theme
|
|
3155
|
+
* @param {*} [options] Override http request option.
|
|
3156
|
+
* @throws {RequiredError}
|
|
3157
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3158
|
+
*/
|
|
3159
|
+
deletethemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3160
|
+
/**
|
|
3161
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3162
|
+
* @param {string} name Name of theme
|
|
3163
|
+
* @param {*} [options] Override http request option.
|
|
3164
|
+
* @throws {RequiredError}
|
|
3165
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3166
|
+
*/
|
|
3167
|
+
getthemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Theme, any>>;
|
|
3168
|
+
/**
|
|
3169
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3170
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3171
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3172
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3173
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3174
|
+
* @param {*} [options] Override http request option.
|
|
3175
|
+
* @throws {RequiredError}
|
|
3176
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3177
|
+
*/
|
|
3178
|
+
listthemeHaloRunV1alpha1Theme(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ThemeList, any>>;
|
|
3179
|
+
/**
|
|
3180
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3181
|
+
* @param {string} name Name of theme
|
|
3182
|
+
* @param {Theme} [theme] Updated theme
|
|
3183
|
+
* @param {*} [options] Override http request option.
|
|
3184
|
+
* @throws {RequiredError}
|
|
3185
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3186
|
+
*/
|
|
3187
|
+
updatethemeHaloRunV1alpha1Theme(name: string, theme?: Theme, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Theme, any>>;
|
|
3188
|
+
}
|
|
2775
3189
|
/**
|
|
2776
3190
|
* V1alpha1ConfigMapApi - axios parameter creator
|
|
2777
3191
|
* @export
|
|
@@ -3895,4 +4309,4 @@ declare class V1alpha1UserApi extends BaseAPI {
|
|
|
3895
4309
|
updatev1alpha1User(name: string, user?: User, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
|
|
3896
4310
|
}
|
|
3897
4311
|
|
|
3898
|
-
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, Apple, AppleSpec, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, ChangePasswordRequest, ConfigMap, ConfigMapList, Configuration, ConfigurationParameters, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, FileReverseProxyProvider, GrantRequest, License, Link, LinkGroup, LinkGroupSpec, LinkSpec, LoginHistory, Metadata, PersonalAccessToken, PersonalAccessTokenList, PersonalAccessTokenSpec, Plugin, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginList, PluginSpec, PluginStatus, PluginStatusPhaseEnum, PolicyRule, ReverseProxy, ReverseProxyList, ReverseProxyRule, Role, RoleBinding, RoleBindingList, RoleList, RoleRef, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, Setting, SettingList, SettingSpec, Subject, User, UserList, UserPermission, UserSpec, UserStatus, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
|
4312
|
+
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, Apple, AppleSpec, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, Author, ChangePasswordRequest, ConfigMap, ConfigMapList, Configuration, ConfigurationParameters, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, FileReverseProxyProvider, GrantRequest, License, Link, LinkGroup, LinkGroupSpec, LinkSpec, LoginHistory, Metadata, PersonalAccessToken, PersonalAccessTokenList, PersonalAccessTokenSpec, Plugin, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginList, PluginSpec, PluginStatus, PluginStatusPhaseEnum, PolicyRule, ReverseProxy, ReverseProxyList, ReverseProxyRule, Role, RoleBinding, RoleBindingList, RoleList, RoleRef, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, Setting, SettingList, SettingSpec, Subject, Theme, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, ThemeList, ThemeSpec, User, UserList, UserPermission, UserSpec, UserStatus, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
package/dist/index.mjs
CHANGED
|
@@ -128,6 +128,59 @@ class ApiHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
|
128
128
|
return ApiHaloRunV1alpha1PluginApiFp(this.configuration).installPlugin(file, options).then((request) => request(this.axios, this.basePath));
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
|
+
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
132
|
+
return {
|
|
133
|
+
installTheme: async (file, options = {}) => {
|
|
134
|
+
assertParamExists("installTheme", "file", file);
|
|
135
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/themes/install`;
|
|
136
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
137
|
+
let baseOptions;
|
|
138
|
+
if (configuration) {
|
|
139
|
+
baseOptions = configuration.baseOptions;
|
|
140
|
+
}
|
|
141
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
142
|
+
const localVarHeaderParameter = {};
|
|
143
|
+
const localVarQueryParameter = {};
|
|
144
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
145
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
146
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
147
|
+
if (file !== void 0) {
|
|
148
|
+
localVarFormParams.append("file", file);
|
|
149
|
+
}
|
|
150
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
151
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
152
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
153
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
154
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
155
|
+
return {
|
|
156
|
+
url: toPathString(localVarUrlObj),
|
|
157
|
+
options: localVarRequestOptions
|
|
158
|
+
};
|
|
159
|
+
}
|
|
160
|
+
};
|
|
161
|
+
};
|
|
162
|
+
const ApiHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
163
|
+
const localVarAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
164
|
+
return {
|
|
165
|
+
async installTheme(file, options) {
|
|
166
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.installTheme(file, options);
|
|
167
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
168
|
+
}
|
|
169
|
+
};
|
|
170
|
+
};
|
|
171
|
+
const ApiHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
172
|
+
const localVarFp = ApiHaloRunV1alpha1ThemeApiFp(configuration);
|
|
173
|
+
return {
|
|
174
|
+
installTheme(file, options) {
|
|
175
|
+
return localVarFp.installTheme(file, options).then((request) => request(axios, basePath));
|
|
176
|
+
}
|
|
177
|
+
};
|
|
178
|
+
};
|
|
179
|
+
class ApiHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
180
|
+
installTheme(file, options) {
|
|
181
|
+
return ApiHaloRunV1alpha1ThemeApiFp(this.configuration).installTheme(file, options).then((request) => request(this.axios, this.basePath));
|
|
182
|
+
}
|
|
183
|
+
}
|
|
131
184
|
const ApiHaloRunV1alpha1UserApiAxiosParamCreator = function(configuration) {
|
|
132
185
|
return {
|
|
133
186
|
changePassword: async (name, changePasswordRequest, options = {}) => {
|
|
@@ -1244,6 +1297,191 @@ class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
1244
1297
|
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
1245
1298
|
}
|
|
1246
1299
|
}
|
|
1300
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
1301
|
+
return {
|
|
1302
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
1303
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1304
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1305
|
+
let baseOptions;
|
|
1306
|
+
if (configuration) {
|
|
1307
|
+
baseOptions = configuration.baseOptions;
|
|
1308
|
+
}
|
|
1309
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1310
|
+
const localVarHeaderParameter = {};
|
|
1311
|
+
const localVarQueryParameter = {};
|
|
1312
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1313
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1314
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1317
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1318
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1319
|
+
return {
|
|
1320
|
+
url: toPathString(localVarUrlObj),
|
|
1321
|
+
options: localVarRequestOptions
|
|
1322
|
+
};
|
|
1323
|
+
},
|
|
1324
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1325
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
1326
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1327
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1328
|
+
let baseOptions;
|
|
1329
|
+
if (configuration) {
|
|
1330
|
+
baseOptions = configuration.baseOptions;
|
|
1331
|
+
}
|
|
1332
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1333
|
+
const localVarHeaderParameter = {};
|
|
1334
|
+
const localVarQueryParameter = {};
|
|
1335
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1336
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1337
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1338
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1339
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1340
|
+
return {
|
|
1341
|
+
url: toPathString(localVarUrlObj),
|
|
1342
|
+
options: localVarRequestOptions
|
|
1343
|
+
};
|
|
1344
|
+
},
|
|
1345
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1346
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
1347
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1348
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1349
|
+
let baseOptions;
|
|
1350
|
+
if (configuration) {
|
|
1351
|
+
baseOptions = configuration.baseOptions;
|
|
1352
|
+
}
|
|
1353
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1354
|
+
const localVarHeaderParameter = {};
|
|
1355
|
+
const localVarQueryParameter = {};
|
|
1356
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1358
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1359
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1360
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1361
|
+
return {
|
|
1362
|
+
url: toPathString(localVarUrlObj),
|
|
1363
|
+
options: localVarRequestOptions
|
|
1364
|
+
};
|
|
1365
|
+
},
|
|
1366
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1367
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1368
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1369
|
+
let baseOptions;
|
|
1370
|
+
if (configuration) {
|
|
1371
|
+
baseOptions = configuration.baseOptions;
|
|
1372
|
+
}
|
|
1373
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1374
|
+
const localVarHeaderParameter = {};
|
|
1375
|
+
const localVarQueryParameter = {};
|
|
1376
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1377
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1378
|
+
if (page !== void 0) {
|
|
1379
|
+
localVarQueryParameter["page"] = page;
|
|
1380
|
+
}
|
|
1381
|
+
if (size !== void 0) {
|
|
1382
|
+
localVarQueryParameter["size"] = size;
|
|
1383
|
+
}
|
|
1384
|
+
if (labelSelector) {
|
|
1385
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1386
|
+
}
|
|
1387
|
+
if (fieldSelector) {
|
|
1388
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1389
|
+
}
|
|
1390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1392
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1393
|
+
return {
|
|
1394
|
+
url: toPathString(localVarUrlObj),
|
|
1395
|
+
options: localVarRequestOptions
|
|
1396
|
+
};
|
|
1397
|
+
},
|
|
1398
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
1399
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "name", name);
|
|
1400
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1401
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1402
|
+
let baseOptions;
|
|
1403
|
+
if (configuration) {
|
|
1404
|
+
baseOptions = configuration.baseOptions;
|
|
1405
|
+
}
|
|
1406
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1407
|
+
const localVarHeaderParameter = {};
|
|
1408
|
+
const localVarQueryParameter = {};
|
|
1409
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1410
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1411
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1412
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1413
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1414
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1415
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1416
|
+
return {
|
|
1417
|
+
url: toPathString(localVarUrlObj),
|
|
1418
|
+
options: localVarRequestOptions
|
|
1419
|
+
};
|
|
1420
|
+
}
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
1424
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
1425
|
+
return {
|
|
1426
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1427
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
1428
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1429
|
+
},
|
|
1430
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1431
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
1432
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1433
|
+
},
|
|
1434
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1435
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
1436
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1437
|
+
},
|
|
1438
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1439
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
1440
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1441
|
+
},
|
|
1442
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1443
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
1444
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1445
|
+
}
|
|
1446
|
+
};
|
|
1447
|
+
};
|
|
1448
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1449
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1450
|
+
return {
|
|
1451
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1452
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
1453
|
+
},
|
|
1454
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1455
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1456
|
+
},
|
|
1457
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1458
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1459
|
+
},
|
|
1460
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1461
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1462
|
+
},
|
|
1463
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1464
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
1465
|
+
}
|
|
1466
|
+
};
|
|
1467
|
+
};
|
|
1468
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1469
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1470
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
1471
|
+
}
|
|
1472
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1473
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1474
|
+
}
|
|
1475
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1476
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1477
|
+
}
|
|
1478
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1479
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1480
|
+
}
|
|
1481
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1482
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
1483
|
+
}
|
|
1484
|
+
}
|
|
1247
1485
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1248
1486
|
return {
|
|
1249
1487
|
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
@@ -2371,4 +2609,4 @@ class Configuration {
|
|
|
2371
2609
|
}
|
|
2372
2610
|
}
|
|
2373
2611
|
|
|
2374
|
-
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, Configuration, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|
|
2612
|
+
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ApplesControllerApi, ApplesControllerApiAxiosParamCreator, ApplesControllerApiFactory, ApplesControllerApiFp, Configuration, CoreHaloRunV1alpha1LinkApi, CoreHaloRunV1alpha1LinkApiAxiosParamCreator, CoreHaloRunV1alpha1LinkApiFactory, CoreHaloRunV1alpha1LinkApiFp, CoreHaloRunV1alpha1LinkGroupApi, CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator, CoreHaloRunV1alpha1LinkGroupApiFactory, CoreHaloRunV1alpha1LinkGroupApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, RunHaloTemplateV1alpha1AppleApi, RunHaloTemplateV1alpha1AppleApiAxiosParamCreator, RunHaloTemplateV1alpha1AppleApiFactory, RunHaloTemplateV1alpha1AppleApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
|