@halo-dev/api-client 0.0.6 → 0.0.7
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 +189 -0
- package/dist/index.d.ts +348 -1
- package/dist/index.mjs +186 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1252,6 +1252,191 @@ class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
1252
1252
|
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
1253
1253
|
}
|
|
1254
1254
|
}
|
|
1255
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
1256
|
+
return {
|
|
1257
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
1258
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1259
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1260
|
+
let baseOptions;
|
|
1261
|
+
if (configuration) {
|
|
1262
|
+
baseOptions = configuration.baseOptions;
|
|
1263
|
+
}
|
|
1264
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1265
|
+
const localVarHeaderParameter = {};
|
|
1266
|
+
const localVarQueryParameter = {};
|
|
1267
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1268
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1269
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1270
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1271
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1272
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1273
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1274
|
+
return {
|
|
1275
|
+
url: toPathString(localVarUrlObj),
|
|
1276
|
+
options: localVarRequestOptions
|
|
1277
|
+
};
|
|
1278
|
+
},
|
|
1279
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1280
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
1281
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1282
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1283
|
+
let baseOptions;
|
|
1284
|
+
if (configuration) {
|
|
1285
|
+
baseOptions = configuration.baseOptions;
|
|
1286
|
+
}
|
|
1287
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1288
|
+
const localVarHeaderParameter = {};
|
|
1289
|
+
const localVarQueryParameter = {};
|
|
1290
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1291
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1292
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1293
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1294
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1295
|
+
return {
|
|
1296
|
+
url: toPathString(localVarUrlObj),
|
|
1297
|
+
options: localVarRequestOptions
|
|
1298
|
+
};
|
|
1299
|
+
},
|
|
1300
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1301
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
1302
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1303
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1304
|
+
let baseOptions;
|
|
1305
|
+
if (configuration) {
|
|
1306
|
+
baseOptions = configuration.baseOptions;
|
|
1307
|
+
}
|
|
1308
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1309
|
+
const localVarHeaderParameter = {};
|
|
1310
|
+
const localVarQueryParameter = {};
|
|
1311
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1312
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1313
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1314
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1315
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1316
|
+
return {
|
|
1317
|
+
url: toPathString(localVarUrlObj),
|
|
1318
|
+
options: localVarRequestOptions
|
|
1319
|
+
};
|
|
1320
|
+
},
|
|
1321
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1322
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1323
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1324
|
+
let baseOptions;
|
|
1325
|
+
if (configuration) {
|
|
1326
|
+
baseOptions = configuration.baseOptions;
|
|
1327
|
+
}
|
|
1328
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1329
|
+
const localVarHeaderParameter = {};
|
|
1330
|
+
const localVarQueryParameter = {};
|
|
1331
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1332
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1333
|
+
if (page !== void 0) {
|
|
1334
|
+
localVarQueryParameter["page"] = page;
|
|
1335
|
+
}
|
|
1336
|
+
if (size !== void 0) {
|
|
1337
|
+
localVarQueryParameter["size"] = size;
|
|
1338
|
+
}
|
|
1339
|
+
if (labelSelector) {
|
|
1340
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1341
|
+
}
|
|
1342
|
+
if (fieldSelector) {
|
|
1343
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1344
|
+
}
|
|
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
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
1354
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "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: "PUT", ...baseOptions, ...options };
|
|
1362
|
+
const localVarHeaderParameter = {};
|
|
1363
|
+
const localVarQueryParameter = {};
|
|
1364
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1365
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1366
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1367
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1368
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1369
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1370
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1371
|
+
return {
|
|
1372
|
+
url: toPathString(localVarUrlObj),
|
|
1373
|
+
options: localVarRequestOptions
|
|
1374
|
+
};
|
|
1375
|
+
}
|
|
1376
|
+
};
|
|
1377
|
+
};
|
|
1378
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
1379
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
1380
|
+
return {
|
|
1381
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
1383
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1384
|
+
},
|
|
1385
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
1387
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1388
|
+
},
|
|
1389
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
1391
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1392
|
+
},
|
|
1393
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1394
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
1395
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1396
|
+
},
|
|
1397
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1398
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
1399
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1400
|
+
}
|
|
1401
|
+
};
|
|
1402
|
+
};
|
|
1403
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1404
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1405
|
+
return {
|
|
1406
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1407
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
1408
|
+
},
|
|
1409
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1410
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1411
|
+
},
|
|
1412
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1413
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1414
|
+
},
|
|
1415
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1416
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1417
|
+
},
|
|
1418
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1419
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
1420
|
+
}
|
|
1421
|
+
};
|
|
1422
|
+
};
|
|
1423
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1424
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1425
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
1426
|
+
}
|
|
1427
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1428
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1429
|
+
}
|
|
1430
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1431
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1432
|
+
}
|
|
1433
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1434
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1435
|
+
}
|
|
1436
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1437
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
1438
|
+
}
|
|
1439
|
+
}
|
|
1255
1440
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1256
1441
|
return {
|
|
1257
1442
|
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
@@ -2413,6 +2598,10 @@ exports.RunHaloTemplateV1alpha1AppleApi = RunHaloTemplateV1alpha1AppleApi;
|
|
|
2413
2598
|
exports.RunHaloTemplateV1alpha1AppleApiAxiosParamCreator = RunHaloTemplateV1alpha1AppleApiAxiosParamCreator;
|
|
2414
2599
|
exports.RunHaloTemplateV1alpha1AppleApiFactory = RunHaloTemplateV1alpha1AppleApiFactory;
|
|
2415
2600
|
exports.RunHaloTemplateV1alpha1AppleApiFp = RunHaloTemplateV1alpha1AppleApiFp;
|
|
2601
|
+
exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
2602
|
+
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
2603
|
+
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|
|
2604
|
+
exports.ThemeHaloRunV1alpha1ThemeApiFp = ThemeHaloRunV1alpha1ThemeApiFp;
|
|
2416
2605
|
exports.V1alpha1ConfigMapApi = V1alpha1ConfigMapApi;
|
|
2417
2606
|
exports.V1alpha1ConfigMapApiAxiosParamCreator = V1alpha1ConfigMapApiAxiosParamCreator;
|
|
2418
2607
|
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,147 @@ 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
|
+
}
|
|
1391
1551
|
/**
|
|
1392
1552
|
*
|
|
1393
1553
|
* @export
|
|
@@ -2772,6 +2932,193 @@ declare class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
2772
2932
|
*/
|
|
2773
2933
|
updaterunHaloTemplateV1alpha1Apple(name: string, apple?: Apple, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Apple, any>>;
|
|
2774
2934
|
}
|
|
2935
|
+
/**
|
|
2936
|
+
* ThemeHaloRunV1alpha1ThemeApi - axios parameter creator
|
|
2937
|
+
* @export
|
|
2938
|
+
*/
|
|
2939
|
+
declare const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator: (configuration?: Configuration) => {
|
|
2940
|
+
/**
|
|
2941
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
2942
|
+
* @param {Theme} [theme] Fresh theme
|
|
2943
|
+
* @param {*} [options] Override http request option.
|
|
2944
|
+
* @throws {RequiredError}
|
|
2945
|
+
*/
|
|
2946
|
+
createthemeHaloRunV1alpha1Theme: (theme?: Theme, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2947
|
+
/**
|
|
2948
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
2949
|
+
* @param {string} name Name of theme
|
|
2950
|
+
* @param {*} [options] Override http request option.
|
|
2951
|
+
* @throws {RequiredError}
|
|
2952
|
+
*/
|
|
2953
|
+
deletethemeHaloRunV1alpha1Theme: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2954
|
+
/**
|
|
2955
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
2956
|
+
* @param {string} name Name of theme
|
|
2957
|
+
* @param {*} [options] Override http request option.
|
|
2958
|
+
* @throws {RequiredError}
|
|
2959
|
+
*/
|
|
2960
|
+
getthemeHaloRunV1alpha1Theme: (name: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2961
|
+
/**
|
|
2962
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
2963
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
2964
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
2965
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
2966
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
2967
|
+
* @param {*} [options] Override http request option.
|
|
2968
|
+
* @throws {RequiredError}
|
|
2969
|
+
*/
|
|
2970
|
+
listthemeHaloRunV1alpha1Theme: (page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2971
|
+
/**
|
|
2972
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
2973
|
+
* @param {string} name Name of theme
|
|
2974
|
+
* @param {Theme} [theme] Updated theme
|
|
2975
|
+
* @param {*} [options] Override http request option.
|
|
2976
|
+
* @throws {RequiredError}
|
|
2977
|
+
*/
|
|
2978
|
+
updatethemeHaloRunV1alpha1Theme: (name: string, theme?: Theme, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
2979
|
+
};
|
|
2980
|
+
/**
|
|
2981
|
+
* ThemeHaloRunV1alpha1ThemeApi - functional programming interface
|
|
2982
|
+
* @export
|
|
2983
|
+
*/
|
|
2984
|
+
declare const ThemeHaloRunV1alpha1ThemeApiFp: (configuration?: Configuration) => {
|
|
2985
|
+
/**
|
|
2986
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
2987
|
+
* @param {Theme} [theme] Fresh theme
|
|
2988
|
+
* @param {*} [options] Override http request option.
|
|
2989
|
+
* @throws {RequiredError}
|
|
2990
|
+
*/
|
|
2991
|
+
createthemeHaloRunV1alpha1Theme(theme?: Theme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
|
|
2992
|
+
/**
|
|
2993
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
2994
|
+
* @param {string} name Name of theme
|
|
2995
|
+
* @param {*} [options] Override http request option.
|
|
2996
|
+
* @throws {RequiredError}
|
|
2997
|
+
*/
|
|
2998
|
+
deletethemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
2999
|
+
/**
|
|
3000
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3001
|
+
* @param {string} name Name of theme
|
|
3002
|
+
* @param {*} [options] Override http request option.
|
|
3003
|
+
* @throws {RequiredError}
|
|
3004
|
+
*/
|
|
3005
|
+
getthemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
|
|
3006
|
+
/**
|
|
3007
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3008
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3009
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3010
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3011
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3012
|
+
* @param {*} [options] Override http request option.
|
|
3013
|
+
* @throws {RequiredError}
|
|
3014
|
+
*/
|
|
3015
|
+
listthemeHaloRunV1alpha1Theme(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ThemeList>>;
|
|
3016
|
+
/**
|
|
3017
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3018
|
+
* @param {string} name Name of theme
|
|
3019
|
+
* @param {Theme} [theme] Updated theme
|
|
3020
|
+
* @param {*} [options] Override http request option.
|
|
3021
|
+
* @throws {RequiredError}
|
|
3022
|
+
*/
|
|
3023
|
+
updatethemeHaloRunV1alpha1Theme(name: string, theme?: Theme, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Theme>>;
|
|
3024
|
+
};
|
|
3025
|
+
/**
|
|
3026
|
+
* ThemeHaloRunV1alpha1ThemeApi - factory interface
|
|
3027
|
+
* @export
|
|
3028
|
+
*/
|
|
3029
|
+
declare const ThemeHaloRunV1alpha1ThemeApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
|
|
3030
|
+
/**
|
|
3031
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
3032
|
+
* @param {Theme} [theme] Fresh theme
|
|
3033
|
+
* @param {*} [options] Override http request option.
|
|
3034
|
+
* @throws {RequiredError}
|
|
3035
|
+
*/
|
|
3036
|
+
createthemeHaloRunV1alpha1Theme(theme?: Theme, options?: any): AxiosPromise<Theme>;
|
|
3037
|
+
/**
|
|
3038
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
3039
|
+
* @param {string} name Name of theme
|
|
3040
|
+
* @param {*} [options] Override http request option.
|
|
3041
|
+
* @throws {RequiredError}
|
|
3042
|
+
*/
|
|
3043
|
+
deletethemeHaloRunV1alpha1Theme(name: string, options?: any): AxiosPromise<void>;
|
|
3044
|
+
/**
|
|
3045
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3046
|
+
* @param {string} name Name of theme
|
|
3047
|
+
* @param {*} [options] Override http request option.
|
|
3048
|
+
* @throws {RequiredError}
|
|
3049
|
+
*/
|
|
3050
|
+
getthemeHaloRunV1alpha1Theme(name: string, options?: any): AxiosPromise<Theme>;
|
|
3051
|
+
/**
|
|
3052
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3053
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3054
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3055
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3056
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3057
|
+
* @param {*} [options] Override http request option.
|
|
3058
|
+
* @throws {RequiredError}
|
|
3059
|
+
*/
|
|
3060
|
+
listthemeHaloRunV1alpha1Theme(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: any): AxiosPromise<ThemeList>;
|
|
3061
|
+
/**
|
|
3062
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3063
|
+
* @param {string} name Name of theme
|
|
3064
|
+
* @param {Theme} [theme] Updated theme
|
|
3065
|
+
* @param {*} [options] Override http request option.
|
|
3066
|
+
* @throws {RequiredError}
|
|
3067
|
+
*/
|
|
3068
|
+
updatethemeHaloRunV1alpha1Theme(name: string, theme?: Theme, options?: any): AxiosPromise<Theme>;
|
|
3069
|
+
};
|
|
3070
|
+
/**
|
|
3071
|
+
* ThemeHaloRunV1alpha1ThemeApi - object-oriented interface
|
|
3072
|
+
* @export
|
|
3073
|
+
* @class ThemeHaloRunV1alpha1ThemeApi
|
|
3074
|
+
* @extends {BaseAPI}
|
|
3075
|
+
*/
|
|
3076
|
+
declare class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
3077
|
+
/**
|
|
3078
|
+
* Create theme.halo.run/v1alpha1/Theme
|
|
3079
|
+
* @param {Theme} [theme] Fresh theme
|
|
3080
|
+
* @param {*} [options] Override http request option.
|
|
3081
|
+
* @throws {RequiredError}
|
|
3082
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3083
|
+
*/
|
|
3084
|
+
createthemeHaloRunV1alpha1Theme(theme?: Theme, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Theme, any>>;
|
|
3085
|
+
/**
|
|
3086
|
+
* Delete theme.halo.run/v1alpha1/Theme
|
|
3087
|
+
* @param {string} name Name of theme
|
|
3088
|
+
* @param {*} [options] Override http request option.
|
|
3089
|
+
* @throws {RequiredError}
|
|
3090
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3091
|
+
*/
|
|
3092
|
+
deletethemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<void, any>>;
|
|
3093
|
+
/**
|
|
3094
|
+
* Get theme.halo.run/v1alpha1/Theme
|
|
3095
|
+
* @param {string} name Name of theme
|
|
3096
|
+
* @param {*} [options] Override http request option.
|
|
3097
|
+
* @throws {RequiredError}
|
|
3098
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3099
|
+
*/
|
|
3100
|
+
getthemeHaloRunV1alpha1Theme(name: string, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Theme, any>>;
|
|
3101
|
+
/**
|
|
3102
|
+
* List theme.halo.run/v1alpha1/Theme
|
|
3103
|
+
* @param {number} [page] The page number. Zero indicates no page.
|
|
3104
|
+
* @param {number} [size] Size of one page. Zero indicates no limit.
|
|
3105
|
+
* @param {Array<string>} [labelSelector] Label selector for filtering.
|
|
3106
|
+
* @param {Array<string>} [fieldSelector] Field selector for filtering.
|
|
3107
|
+
* @param {*} [options] Override http request option.
|
|
3108
|
+
* @throws {RequiredError}
|
|
3109
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3110
|
+
*/
|
|
3111
|
+
listthemeHaloRunV1alpha1Theme(page?: number, size?: number, labelSelector?: Array<string>, fieldSelector?: Array<string>, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<ThemeList, any>>;
|
|
3112
|
+
/**
|
|
3113
|
+
* Update theme.halo.run/v1alpha1/Theme
|
|
3114
|
+
* @param {string} name Name of theme
|
|
3115
|
+
* @param {Theme} [theme] Updated theme
|
|
3116
|
+
* @param {*} [options] Override http request option.
|
|
3117
|
+
* @throws {RequiredError}
|
|
3118
|
+
* @memberof ThemeHaloRunV1alpha1ThemeApi
|
|
3119
|
+
*/
|
|
3120
|
+
updatethemeHaloRunV1alpha1Theme(name: string, theme?: Theme, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<Theme, any>>;
|
|
3121
|
+
}
|
|
2775
3122
|
/**
|
|
2776
3123
|
* V1alpha1ConfigMapApi - axios parameter creator
|
|
2777
3124
|
* @export
|
|
@@ -3895,4 +4242,4 @@ declare class V1alpha1UserApi extends BaseAPI {
|
|
|
3895
4242
|
updatev1alpha1User(name: string, user?: User, options?: AxiosRequestConfig): Promise<axios.AxiosResponse<User, any>>;
|
|
3896
4243
|
}
|
|
3897
4244
|
|
|
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 };
|
|
4245
|
+
export { ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, 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
|
@@ -1244,6 +1244,191 @@ class RunHaloTemplateV1alpha1AppleApi extends BaseAPI {
|
|
|
1244
1244
|
return RunHaloTemplateV1alpha1AppleApiFp(this.configuration).updaterunHaloTemplateV1alpha1Apple(name, apple, options).then((request) => request(this.axios, this.basePath));
|
|
1245
1245
|
}
|
|
1246
1246
|
}
|
|
1247
|
+
const ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
1248
|
+
return {
|
|
1249
|
+
createthemeHaloRunV1alpha1Theme: async (theme, options = {}) => {
|
|
1250
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1251
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1252
|
+
let baseOptions;
|
|
1253
|
+
if (configuration) {
|
|
1254
|
+
baseOptions = configuration.baseOptions;
|
|
1255
|
+
}
|
|
1256
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1257
|
+
const localVarHeaderParameter = {};
|
|
1258
|
+
const localVarQueryParameter = {};
|
|
1259
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1260
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1261
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1262
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1263
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1264
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1265
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1266
|
+
return {
|
|
1267
|
+
url: toPathString(localVarUrlObj),
|
|
1268
|
+
options: localVarRequestOptions
|
|
1269
|
+
};
|
|
1270
|
+
},
|
|
1271
|
+
deletethemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1272
|
+
assertParamExists("deletethemeHaloRunV1alpha1Theme", "name", name);
|
|
1273
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1274
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1275
|
+
let baseOptions;
|
|
1276
|
+
if (configuration) {
|
|
1277
|
+
baseOptions = configuration.baseOptions;
|
|
1278
|
+
}
|
|
1279
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1280
|
+
const localVarHeaderParameter = {};
|
|
1281
|
+
const localVarQueryParameter = {};
|
|
1282
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1283
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1284
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1285
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1286
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1287
|
+
return {
|
|
1288
|
+
url: toPathString(localVarUrlObj),
|
|
1289
|
+
options: localVarRequestOptions
|
|
1290
|
+
};
|
|
1291
|
+
},
|
|
1292
|
+
getthemeHaloRunV1alpha1Theme: async (name, options = {}) => {
|
|
1293
|
+
assertParamExists("getthemeHaloRunV1alpha1Theme", "name", name);
|
|
1294
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1295
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1296
|
+
let baseOptions;
|
|
1297
|
+
if (configuration) {
|
|
1298
|
+
baseOptions = configuration.baseOptions;
|
|
1299
|
+
}
|
|
1300
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1301
|
+
const localVarHeaderParameter = {};
|
|
1302
|
+
const localVarQueryParameter = {};
|
|
1303
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1304
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1305
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1306
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1307
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1308
|
+
return {
|
|
1309
|
+
url: toPathString(localVarUrlObj),
|
|
1310
|
+
options: localVarRequestOptions
|
|
1311
|
+
};
|
|
1312
|
+
},
|
|
1313
|
+
listthemeHaloRunV1alpha1Theme: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1314
|
+
const localVarPath = `/apis/theme.halo.run/v1alpha1/themes`;
|
|
1315
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1316
|
+
let baseOptions;
|
|
1317
|
+
if (configuration) {
|
|
1318
|
+
baseOptions = configuration.baseOptions;
|
|
1319
|
+
}
|
|
1320
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1321
|
+
const localVarHeaderParameter = {};
|
|
1322
|
+
const localVarQueryParameter = {};
|
|
1323
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1324
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1325
|
+
if (page !== void 0) {
|
|
1326
|
+
localVarQueryParameter["page"] = page;
|
|
1327
|
+
}
|
|
1328
|
+
if (size !== void 0) {
|
|
1329
|
+
localVarQueryParameter["size"] = size;
|
|
1330
|
+
}
|
|
1331
|
+
if (labelSelector) {
|
|
1332
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1333
|
+
}
|
|
1334
|
+
if (fieldSelector) {
|
|
1335
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1336
|
+
}
|
|
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
|
+
updatethemeHaloRunV1alpha1Theme: async (name, theme, options = {}) => {
|
|
1346
|
+
assertParamExists("updatethemeHaloRunV1alpha1Theme", "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: "PUT", ...baseOptions, ...options };
|
|
1354
|
+
const localVarHeaderParameter = {};
|
|
1355
|
+
const localVarQueryParameter = {};
|
|
1356
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1357
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1358
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1359
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1360
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1361
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1362
|
+
localVarRequestOptions.data = serializeDataIfNeeded(theme, localVarRequestOptions, configuration);
|
|
1363
|
+
return {
|
|
1364
|
+
url: toPathString(localVarUrlObj),
|
|
1365
|
+
options: localVarRequestOptions
|
|
1366
|
+
};
|
|
1367
|
+
}
|
|
1368
|
+
};
|
|
1369
|
+
};
|
|
1370
|
+
const ThemeHaloRunV1alpha1ThemeApiFp = function(configuration) {
|
|
1371
|
+
const localVarAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator(configuration);
|
|
1372
|
+
return {
|
|
1373
|
+
async createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1374
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createthemeHaloRunV1alpha1Theme(theme, options);
|
|
1375
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1376
|
+
},
|
|
1377
|
+
async deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1378
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletethemeHaloRunV1alpha1Theme(name, options);
|
|
1379
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1380
|
+
},
|
|
1381
|
+
async getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1382
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getthemeHaloRunV1alpha1Theme(name, options);
|
|
1383
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1384
|
+
},
|
|
1385
|
+
async listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1386
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options);
|
|
1387
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1388
|
+
},
|
|
1389
|
+
async updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1390
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatethemeHaloRunV1alpha1Theme(name, theme, options);
|
|
1391
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
1392
|
+
}
|
|
1393
|
+
};
|
|
1394
|
+
};
|
|
1395
|
+
const ThemeHaloRunV1alpha1ThemeApiFactory = function(configuration, basePath, axios) {
|
|
1396
|
+
const localVarFp = ThemeHaloRunV1alpha1ThemeApiFp(configuration);
|
|
1397
|
+
return {
|
|
1398
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1399
|
+
return localVarFp.createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(axios, basePath));
|
|
1400
|
+
},
|
|
1401
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1402
|
+
return localVarFp.deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1403
|
+
},
|
|
1404
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1405
|
+
return localVarFp.getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(axios, basePath));
|
|
1406
|
+
},
|
|
1407
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1408
|
+
return localVarFp.listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1409
|
+
},
|
|
1410
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1411
|
+
return localVarFp.updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(axios, basePath));
|
|
1412
|
+
}
|
|
1413
|
+
};
|
|
1414
|
+
};
|
|
1415
|
+
class ThemeHaloRunV1alpha1ThemeApi extends BaseAPI {
|
|
1416
|
+
createthemeHaloRunV1alpha1Theme(theme, options) {
|
|
1417
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).createthemeHaloRunV1alpha1Theme(theme, options).then((request) => request(this.axios, this.basePath));
|
|
1418
|
+
}
|
|
1419
|
+
deletethemeHaloRunV1alpha1Theme(name, options) {
|
|
1420
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).deletethemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1421
|
+
}
|
|
1422
|
+
getthemeHaloRunV1alpha1Theme(name, options) {
|
|
1423
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).getthemeHaloRunV1alpha1Theme(name, options).then((request) => request(this.axios, this.basePath));
|
|
1424
|
+
}
|
|
1425
|
+
listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options) {
|
|
1426
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).listthemeHaloRunV1alpha1Theme(page, size, labelSelector, fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1427
|
+
}
|
|
1428
|
+
updatethemeHaloRunV1alpha1Theme(name, theme, options) {
|
|
1429
|
+
return ThemeHaloRunV1alpha1ThemeApiFp(this.configuration).updatethemeHaloRunV1alpha1Theme(name, theme, options).then((request) => request(this.axios, this.basePath));
|
|
1430
|
+
}
|
|
1431
|
+
}
|
|
1247
1432
|
const V1alpha1ConfigMapApiAxiosParamCreator = function(configuration) {
|
|
1248
1433
|
return {
|
|
1249
1434
|
createv1alpha1ConfigMap: async (configMap, options = {}) => {
|
|
@@ -2371,4 +2556,4 @@ class Configuration {
|
|
|
2371
2556
|
}
|
|
2372
2557
|
}
|
|
2373
2558
|
|
|
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 };
|
|
2559
|
+
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, 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 };
|