@halo-dev/api-client 0.0.16 → 0.0.17
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 +1409 -211
- package/dist/index.d.ts +4652 -1776
- package/dist/index.mjs +1389 -212
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -303,7 +303,30 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
303
303
|
options: localVarRequestOptions
|
|
304
304
|
};
|
|
305
305
|
},
|
|
306
|
-
|
|
306
|
+
draftSinglePage: async (singlePageRequest, options = {}) => {
|
|
307
|
+
assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
|
|
308
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
309
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
310
|
+
let baseOptions;
|
|
311
|
+
if (configuration) {
|
|
312
|
+
baseOptions = configuration.baseOptions;
|
|
313
|
+
}
|
|
314
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
315
|
+
const localVarHeaderParameter = {};
|
|
316
|
+
const localVarQueryParameter = {};
|
|
317
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
318
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
319
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
320
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
321
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
322
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
323
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
324
|
+
return {
|
|
325
|
+
url: toPathString(localVarUrlObj),
|
|
326
|
+
options: localVarRequestOptions
|
|
327
|
+
};
|
|
328
|
+
},
|
|
329
|
+
listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
307
330
|
const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
|
|
308
331
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
309
332
|
let baseOptions;
|
|
@@ -315,8 +338,14 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
315
338
|
const localVarQueryParameter = {};
|
|
316
339
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
317
340
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
318
|
-
if (
|
|
319
|
-
localVarQueryParameter["
|
|
341
|
+
if (contributors) {
|
|
342
|
+
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
343
|
+
}
|
|
344
|
+
if (categories) {
|
|
345
|
+
localVarQueryParameter["categories"] = Array.from(categories);
|
|
346
|
+
}
|
|
347
|
+
if (tags) {
|
|
348
|
+
localVarQueryParameter["tags"] = Array.from(tags);
|
|
320
349
|
}
|
|
321
350
|
if (size !== void 0) {
|
|
322
351
|
localVarQueryParameter["size"] = size;
|
|
@@ -327,14 +356,43 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
327
356
|
if (fieldSelector) {
|
|
328
357
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
329
358
|
}
|
|
359
|
+
if (page !== void 0) {
|
|
360
|
+
localVarQueryParameter["page"] = page;
|
|
361
|
+
}
|
|
362
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
363
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
364
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
365
|
+
return {
|
|
366
|
+
url: toPathString(localVarUrlObj),
|
|
367
|
+
options: localVarRequestOptions
|
|
368
|
+
};
|
|
369
|
+
},
|
|
370
|
+
listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
371
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
|
|
372
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
373
|
+
let baseOptions;
|
|
374
|
+
if (configuration) {
|
|
375
|
+
baseOptions = configuration.baseOptions;
|
|
376
|
+
}
|
|
377
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
378
|
+
const localVarHeaderParameter = {};
|
|
379
|
+
const localVarQueryParameter = {};
|
|
380
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
381
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
330
382
|
if (contributors) {
|
|
331
383
|
localVarQueryParameter["contributors"] = Array.from(contributors);
|
|
332
384
|
}
|
|
333
|
-
if (
|
|
334
|
-
localVarQueryParameter["
|
|
385
|
+
if (size !== void 0) {
|
|
386
|
+
localVarQueryParameter["size"] = size;
|
|
335
387
|
}
|
|
336
|
-
if (
|
|
337
|
-
localVarQueryParameter["
|
|
388
|
+
if (labelSelector) {
|
|
389
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
390
|
+
}
|
|
391
|
+
if (fieldSelector) {
|
|
392
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
393
|
+
}
|
|
394
|
+
if (page !== void 0) {
|
|
395
|
+
localVarQueryParameter["page"] = page;
|
|
338
396
|
}
|
|
339
397
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
340
398
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
@@ -365,6 +423,27 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
365
423
|
options: localVarRequestOptions
|
|
366
424
|
};
|
|
367
425
|
},
|
|
426
|
+
publishSinglePage: async (name, options = {}) => {
|
|
427
|
+
assertParamExists("publishSinglePage", "name", name);
|
|
428
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
429
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
430
|
+
let baseOptions;
|
|
431
|
+
if (configuration) {
|
|
432
|
+
baseOptions = configuration.baseOptions;
|
|
433
|
+
}
|
|
434
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
435
|
+
const localVarHeaderParameter = {};
|
|
436
|
+
const localVarQueryParameter = {};
|
|
437
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
438
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
439
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
440
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
441
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
442
|
+
return {
|
|
443
|
+
url: toPathString(localVarUrlObj),
|
|
444
|
+
options: localVarRequestOptions
|
|
445
|
+
};
|
|
446
|
+
},
|
|
368
447
|
updateDraftPost: async (name, postRequest, options = {}) => {
|
|
369
448
|
assertParamExists("updateDraftPost", "name", name);
|
|
370
449
|
assertParamExists("updateDraftPost", "postRequest", postRequest);
|
|
@@ -388,6 +467,30 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
|
|
|
388
467
|
url: toPathString(localVarUrlObj),
|
|
389
468
|
options: localVarRequestOptions
|
|
390
469
|
};
|
|
470
|
+
},
|
|
471
|
+
updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
|
|
472
|
+
assertParamExists("updateDraftSinglePage", "name", name);
|
|
473
|
+
assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
|
|
474
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
475
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
476
|
+
let baseOptions;
|
|
477
|
+
if (configuration) {
|
|
478
|
+
baseOptions = configuration.baseOptions;
|
|
479
|
+
}
|
|
480
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
481
|
+
const localVarHeaderParameter = {};
|
|
482
|
+
const localVarQueryParameter = {};
|
|
483
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
484
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
485
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
486
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
487
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
488
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
489
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
|
|
490
|
+
return {
|
|
491
|
+
url: toPathString(localVarUrlObj),
|
|
492
|
+
options: localVarRequestOptions
|
|
493
|
+
};
|
|
391
494
|
}
|
|
392
495
|
};
|
|
393
496
|
};
|
|
@@ -398,17 +501,33 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
|
|
|
398
501
|
const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
|
|
399
502
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
400
503
|
},
|
|
401
|
-
async
|
|
402
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
504
|
+
async draftSinglePage(singlePageRequest, options) {
|
|
505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
|
|
506
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
507
|
+
},
|
|
508
|
+
async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
509
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
|
|
510
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
511
|
+
},
|
|
512
|
+
async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
513
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
|
|
403
514
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
404
515
|
},
|
|
405
516
|
async publishPost(name, options) {
|
|
406
517
|
const localVarAxiosArgs = await localVarAxiosParamCreator.publishPost(name, options);
|
|
407
518
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
408
519
|
},
|
|
520
|
+
async publishSinglePage(name, options) {
|
|
521
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.publishSinglePage(name, options);
|
|
522
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
523
|
+
},
|
|
409
524
|
async updateDraftPost(name, postRequest, options) {
|
|
410
525
|
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftPost(name, postRequest, options);
|
|
411
526
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
527
|
+
},
|
|
528
|
+
async updateDraftSinglePage(name, singlePageRequest, options) {
|
|
529
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftSinglePage(name, singlePageRequest, options);
|
|
530
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
412
531
|
}
|
|
413
532
|
};
|
|
414
533
|
};
|
|
@@ -418,14 +537,26 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
|
|
|
418
537
|
draftPost(postRequest, options) {
|
|
419
538
|
return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
|
|
420
539
|
},
|
|
421
|
-
|
|
422
|
-
return localVarFp.
|
|
540
|
+
draftSinglePage(singlePageRequest, options) {
|
|
541
|
+
return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
|
|
542
|
+
},
|
|
543
|
+
listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
|
|
544
|
+
return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
545
|
+
},
|
|
546
|
+
listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
|
|
547
|
+
return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
423
548
|
},
|
|
424
549
|
publishPost(name, options) {
|
|
425
550
|
return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
|
|
426
551
|
},
|
|
552
|
+
publishSinglePage(name, options) {
|
|
553
|
+
return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
|
|
554
|
+
},
|
|
427
555
|
updateDraftPost(name, postRequest, options) {
|
|
428
556
|
return localVarFp.updateDraftPost(name, postRequest, options).then((request) => request(axios, basePath));
|
|
557
|
+
},
|
|
558
|
+
updateDraftSinglePage(name, singlePageRequest, options) {
|
|
559
|
+
return localVarFp.updateDraftSinglePage(name, singlePageRequest, options).then((request) => request(axios, basePath));
|
|
429
560
|
}
|
|
430
561
|
};
|
|
431
562
|
};
|
|
@@ -433,15 +564,27 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
|
|
|
433
564
|
draftPost(requestParameters, options) {
|
|
434
565
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
435
566
|
}
|
|
567
|
+
draftSinglePage(requestParameters, options) {
|
|
568
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
569
|
+
}
|
|
436
570
|
listPosts(requestParameters = {}, options) {
|
|
437
|
-
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.
|
|
571
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.contributors, requestParameters.categories, requestParameters.tags, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
572
|
+
}
|
|
573
|
+
listSinglePages(requestParameters = {}, options) {
|
|
574
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
438
575
|
}
|
|
439
576
|
publishPost(requestParameters, options) {
|
|
440
577
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
441
578
|
}
|
|
579
|
+
publishSinglePage(requestParameters, options) {
|
|
580
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
581
|
+
}
|
|
442
582
|
updateDraftPost(requestParameters, options) {
|
|
443
583
|
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftPost(requestParameters.name, requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
|
|
444
584
|
}
|
|
585
|
+
updateDraftSinglePage(requestParameters, options) {
|
|
586
|
+
return ApiHaloRunV1alpha1PostApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
|
|
587
|
+
}
|
|
445
588
|
}
|
|
446
589
|
|
|
447
590
|
const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
|
|
@@ -1388,6 +1531,192 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
|
|
|
1388
1531
|
}
|
|
1389
1532
|
}
|
|
1390
1533
|
|
|
1534
|
+
const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
|
|
1535
|
+
return {
|
|
1536
|
+
createcontentHaloRunV1alpha1SinglePage: async (singlePage, options = {}) => {
|
|
1537
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
|
|
1538
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1539
|
+
let baseOptions;
|
|
1540
|
+
if (configuration) {
|
|
1541
|
+
baseOptions = configuration.baseOptions;
|
|
1542
|
+
}
|
|
1543
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1544
|
+
const localVarHeaderParameter = {};
|
|
1545
|
+
const localVarQueryParameter = {};
|
|
1546
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1547
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1548
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1549
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1550
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1551
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1552
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
|
|
1553
|
+
return {
|
|
1554
|
+
url: toPathString(localVarUrlObj),
|
|
1555
|
+
options: localVarRequestOptions
|
|
1556
|
+
};
|
|
1557
|
+
},
|
|
1558
|
+
deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
1559
|
+
assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
1560
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1561
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1562
|
+
let baseOptions;
|
|
1563
|
+
if (configuration) {
|
|
1564
|
+
baseOptions = configuration.baseOptions;
|
|
1565
|
+
}
|
|
1566
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1567
|
+
const localVarHeaderParameter = {};
|
|
1568
|
+
const localVarQueryParameter = {};
|
|
1569
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1570
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1571
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1572
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1573
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1574
|
+
return {
|
|
1575
|
+
url: toPathString(localVarUrlObj),
|
|
1576
|
+
options: localVarRequestOptions
|
|
1577
|
+
};
|
|
1578
|
+
},
|
|
1579
|
+
getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
|
|
1580
|
+
assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
|
|
1581
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1582
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1583
|
+
let baseOptions;
|
|
1584
|
+
if (configuration) {
|
|
1585
|
+
baseOptions = configuration.baseOptions;
|
|
1586
|
+
}
|
|
1587
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1588
|
+
const localVarHeaderParameter = {};
|
|
1589
|
+
const localVarQueryParameter = {};
|
|
1590
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1591
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1592
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1593
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1594
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1595
|
+
return {
|
|
1596
|
+
url: toPathString(localVarUrlObj),
|
|
1597
|
+
options: localVarRequestOptions
|
|
1598
|
+
};
|
|
1599
|
+
},
|
|
1600
|
+
listcontentHaloRunV1alpha1SinglePage: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1601
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
|
|
1602
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1603
|
+
let baseOptions;
|
|
1604
|
+
if (configuration) {
|
|
1605
|
+
baseOptions = configuration.baseOptions;
|
|
1606
|
+
}
|
|
1607
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1608
|
+
const localVarHeaderParameter = {};
|
|
1609
|
+
const localVarQueryParameter = {};
|
|
1610
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1611
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1612
|
+
if (page !== void 0) {
|
|
1613
|
+
localVarQueryParameter["page"] = page;
|
|
1614
|
+
}
|
|
1615
|
+
if (size !== void 0) {
|
|
1616
|
+
localVarQueryParameter["size"] = size;
|
|
1617
|
+
}
|
|
1618
|
+
if (labelSelector) {
|
|
1619
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1620
|
+
}
|
|
1621
|
+
if (fieldSelector) {
|
|
1622
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1623
|
+
}
|
|
1624
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1625
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1626
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1627
|
+
return {
|
|
1628
|
+
url: toPathString(localVarUrlObj),
|
|
1629
|
+
options: localVarRequestOptions
|
|
1630
|
+
};
|
|
1631
|
+
},
|
|
1632
|
+
updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
|
|
1633
|
+
assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
|
|
1634
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1635
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1636
|
+
let baseOptions;
|
|
1637
|
+
if (configuration) {
|
|
1638
|
+
baseOptions = configuration.baseOptions;
|
|
1639
|
+
}
|
|
1640
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1641
|
+
const localVarHeaderParameter = {};
|
|
1642
|
+
const localVarQueryParameter = {};
|
|
1643
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1644
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1645
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1646
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1647
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1648
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1649
|
+
localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
|
|
1650
|
+
return {
|
|
1651
|
+
url: toPathString(localVarUrlObj),
|
|
1652
|
+
options: localVarRequestOptions
|
|
1653
|
+
};
|
|
1654
|
+
}
|
|
1655
|
+
};
|
|
1656
|
+
};
|
|
1657
|
+
const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
|
|
1658
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
|
|
1659
|
+
return {
|
|
1660
|
+
async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
1661
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(singlePage, options);
|
|
1662
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1663
|
+
},
|
|
1664
|
+
async deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1665
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1SinglePage(name, options);
|
|
1666
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1667
|
+
},
|
|
1668
|
+
async getcontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1SinglePage(name, options);
|
|
1670
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1671
|
+
},
|
|
1672
|
+
async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
1673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options);
|
|
1674
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1675
|
+
},
|
|
1676
|
+
async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
1677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options);
|
|
1678
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1679
|
+
}
|
|
1680
|
+
};
|
|
1681
|
+
};
|
|
1682
|
+
const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
|
|
1683
|
+
const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
|
|
1684
|
+
return {
|
|
1685
|
+
createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
|
|
1686
|
+
return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
|
|
1687
|
+
},
|
|
1688
|
+
deletecontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1689
|
+
return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
1690
|
+
},
|
|
1691
|
+
getcontentHaloRunV1alpha1SinglePage(name, options) {
|
|
1692
|
+
return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
|
|
1693
|
+
},
|
|
1694
|
+
listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
|
|
1695
|
+
return localVarFp.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1696
|
+
},
|
|
1697
|
+
updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
|
|
1698
|
+
return localVarFp.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options).then((request) => request(axios, basePath));
|
|
1699
|
+
}
|
|
1700
|
+
};
|
|
1701
|
+
};
|
|
1702
|
+
class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
|
|
1703
|
+
createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
1704
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
1705
|
+
}
|
|
1706
|
+
deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
1707
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1708
|
+
}
|
|
1709
|
+
getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
1710
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1711
|
+
}
|
|
1712
|
+
listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
|
|
1713
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1714
|
+
}
|
|
1715
|
+
updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
|
|
1716
|
+
return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
|
|
1717
|
+
}
|
|
1718
|
+
}
|
|
1719
|
+
|
|
1391
1720
|
const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
|
|
1392
1721
|
return {
|
|
1393
1722
|
createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
|
|
@@ -1433,9 +1762,773 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1433
1762
|
options: localVarRequestOptions
|
|
1434
1763
|
};
|
|
1435
1764
|
},
|
|
1436
|
-
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
1437
|
-
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1438
|
-
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1765
|
+
getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
|
|
1766
|
+
assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1767
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1768
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1769
|
+
let baseOptions;
|
|
1770
|
+
if (configuration) {
|
|
1771
|
+
baseOptions = configuration.baseOptions;
|
|
1772
|
+
}
|
|
1773
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1774
|
+
const localVarHeaderParameter = {};
|
|
1775
|
+
const localVarQueryParameter = {};
|
|
1776
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1777
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1778
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1779
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1780
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1781
|
+
return {
|
|
1782
|
+
url: toPathString(localVarUrlObj),
|
|
1783
|
+
options: localVarRequestOptions
|
|
1784
|
+
};
|
|
1785
|
+
},
|
|
1786
|
+
listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1787
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
|
|
1788
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1789
|
+
let baseOptions;
|
|
1790
|
+
if (configuration) {
|
|
1791
|
+
baseOptions = configuration.baseOptions;
|
|
1792
|
+
}
|
|
1793
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1794
|
+
const localVarHeaderParameter = {};
|
|
1795
|
+
const localVarQueryParameter = {};
|
|
1796
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1797
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1798
|
+
if (page !== void 0) {
|
|
1799
|
+
localVarQueryParameter["page"] = page;
|
|
1800
|
+
}
|
|
1801
|
+
if (size !== void 0) {
|
|
1802
|
+
localVarQueryParameter["size"] = size;
|
|
1803
|
+
}
|
|
1804
|
+
if (labelSelector) {
|
|
1805
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1806
|
+
}
|
|
1807
|
+
if (fieldSelector) {
|
|
1808
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1809
|
+
}
|
|
1810
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1811
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1812
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1813
|
+
return {
|
|
1814
|
+
url: toPathString(localVarUrlObj),
|
|
1815
|
+
options: localVarRequestOptions
|
|
1816
|
+
};
|
|
1817
|
+
},
|
|
1818
|
+
updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
|
|
1819
|
+
assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
|
|
1820
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1821
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1822
|
+
let baseOptions;
|
|
1823
|
+
if (configuration) {
|
|
1824
|
+
baseOptions = configuration.baseOptions;
|
|
1825
|
+
}
|
|
1826
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
1827
|
+
const localVarHeaderParameter = {};
|
|
1828
|
+
const localVarQueryParameter = {};
|
|
1829
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1830
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1831
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1832
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1833
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1834
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1835
|
+
localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
|
|
1836
|
+
return {
|
|
1837
|
+
url: toPathString(localVarUrlObj),
|
|
1838
|
+
options: localVarRequestOptions
|
|
1839
|
+
};
|
|
1840
|
+
}
|
|
1841
|
+
};
|
|
1842
|
+
};
|
|
1843
|
+
const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
|
|
1844
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
|
|
1845
|
+
return {
|
|
1846
|
+
async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1847
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
|
|
1848
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1849
|
+
},
|
|
1850
|
+
async deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1851
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
|
|
1852
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1853
|
+
},
|
|
1854
|
+
async getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1855
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
|
|
1856
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1857
|
+
},
|
|
1858
|
+
async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1859
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
|
|
1860
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1861
|
+
},
|
|
1862
|
+
async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1863
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
|
|
1864
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1865
|
+
}
|
|
1866
|
+
};
|
|
1867
|
+
};
|
|
1868
|
+
const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
|
|
1869
|
+
const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
|
|
1870
|
+
return {
|
|
1871
|
+
createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
|
|
1872
|
+
return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
|
|
1873
|
+
},
|
|
1874
|
+
deletecontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1875
|
+
return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
1876
|
+
},
|
|
1877
|
+
getcontentHaloRunV1alpha1Snapshot(name, options) {
|
|
1878
|
+
return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
|
|
1879
|
+
},
|
|
1880
|
+
listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
|
|
1881
|
+
return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1882
|
+
},
|
|
1883
|
+
updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
|
|
1884
|
+
return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
|
|
1885
|
+
}
|
|
1886
|
+
};
|
|
1887
|
+
};
|
|
1888
|
+
class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
|
|
1889
|
+
createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1890
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1891
|
+
}
|
|
1892
|
+
deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1893
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1894
|
+
}
|
|
1895
|
+
getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1896
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1897
|
+
}
|
|
1898
|
+
listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
|
|
1899
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1900
|
+
}
|
|
1901
|
+
updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
|
|
1902
|
+
return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
|
|
1903
|
+
}
|
|
1904
|
+
}
|
|
1905
|
+
|
|
1906
|
+
const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
1907
|
+
return {
|
|
1908
|
+
createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
|
|
1909
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
|
|
1910
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1911
|
+
let baseOptions;
|
|
1912
|
+
if (configuration) {
|
|
1913
|
+
baseOptions = configuration.baseOptions;
|
|
1914
|
+
}
|
|
1915
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
1916
|
+
const localVarHeaderParameter = {};
|
|
1917
|
+
const localVarQueryParameter = {};
|
|
1918
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1919
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1920
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
1921
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1922
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1923
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1924
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
|
|
1925
|
+
return {
|
|
1926
|
+
url: toPathString(localVarUrlObj),
|
|
1927
|
+
options: localVarRequestOptions
|
|
1928
|
+
};
|
|
1929
|
+
},
|
|
1930
|
+
deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
1931
|
+
assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
|
|
1932
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1933
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1934
|
+
let baseOptions;
|
|
1935
|
+
if (configuration) {
|
|
1936
|
+
baseOptions = configuration.baseOptions;
|
|
1937
|
+
}
|
|
1938
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
1939
|
+
const localVarHeaderParameter = {};
|
|
1940
|
+
const localVarQueryParameter = {};
|
|
1941
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1942
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1943
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1944
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1945
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1946
|
+
return {
|
|
1947
|
+
url: toPathString(localVarUrlObj),
|
|
1948
|
+
options: localVarRequestOptions
|
|
1949
|
+
};
|
|
1950
|
+
},
|
|
1951
|
+
getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
|
|
1952
|
+
assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
|
|
1953
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1954
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1955
|
+
let baseOptions;
|
|
1956
|
+
if (configuration) {
|
|
1957
|
+
baseOptions = configuration.baseOptions;
|
|
1958
|
+
}
|
|
1959
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1960
|
+
const localVarHeaderParameter = {};
|
|
1961
|
+
const localVarQueryParameter = {};
|
|
1962
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1963
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1964
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1965
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1966
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1967
|
+
return {
|
|
1968
|
+
url: toPathString(localVarUrlObj),
|
|
1969
|
+
options: localVarRequestOptions
|
|
1970
|
+
};
|
|
1971
|
+
},
|
|
1972
|
+
listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
1973
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
|
|
1974
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1975
|
+
let baseOptions;
|
|
1976
|
+
if (configuration) {
|
|
1977
|
+
baseOptions = configuration.baseOptions;
|
|
1978
|
+
}
|
|
1979
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
1980
|
+
const localVarHeaderParameter = {};
|
|
1981
|
+
const localVarQueryParameter = {};
|
|
1982
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1983
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1984
|
+
if (page !== void 0) {
|
|
1985
|
+
localVarQueryParameter["page"] = page;
|
|
1986
|
+
}
|
|
1987
|
+
if (size !== void 0) {
|
|
1988
|
+
localVarQueryParameter["size"] = size;
|
|
1989
|
+
}
|
|
1990
|
+
if (labelSelector) {
|
|
1991
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
1992
|
+
}
|
|
1993
|
+
if (fieldSelector) {
|
|
1994
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1995
|
+
}
|
|
1996
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1997
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1998
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1999
|
+
return {
|
|
2000
|
+
url: toPathString(localVarUrlObj),
|
|
2001
|
+
options: localVarRequestOptions
|
|
2002
|
+
};
|
|
2003
|
+
},
|
|
2004
|
+
updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
|
|
2005
|
+
assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
|
|
2006
|
+
const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2007
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2008
|
+
let baseOptions;
|
|
2009
|
+
if (configuration) {
|
|
2010
|
+
baseOptions = configuration.baseOptions;
|
|
2011
|
+
}
|
|
2012
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2013
|
+
const localVarHeaderParameter = {};
|
|
2014
|
+
const localVarQueryParameter = {};
|
|
2015
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2016
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2017
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2018
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2019
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2020
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2021
|
+
localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
|
|
2022
|
+
return {
|
|
2023
|
+
url: toPathString(localVarUrlObj),
|
|
2024
|
+
options: localVarRequestOptions
|
|
2025
|
+
};
|
|
2026
|
+
}
|
|
2027
|
+
};
|
|
2028
|
+
};
|
|
2029
|
+
const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
|
|
2030
|
+
const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
|
|
2031
|
+
return {
|
|
2032
|
+
async createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
2033
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
|
|
2034
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2035
|
+
},
|
|
2036
|
+
async deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
2037
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
|
|
2038
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2039
|
+
},
|
|
2040
|
+
async getcontentHaloRunV1alpha1Tag(name, options) {
|
|
2041
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
|
|
2042
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2043
|
+
},
|
|
2044
|
+
async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
2045
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
|
|
2046
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2047
|
+
},
|
|
2048
|
+
async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
2049
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
|
|
2050
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2051
|
+
}
|
|
2052
|
+
};
|
|
2053
|
+
};
|
|
2054
|
+
const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
|
|
2055
|
+
const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
|
|
2056
|
+
return {
|
|
2057
|
+
createcontentHaloRunV1alpha1Tag(tag, options) {
|
|
2058
|
+
return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
|
|
2059
|
+
},
|
|
2060
|
+
deletecontentHaloRunV1alpha1Tag(name, options) {
|
|
2061
|
+
return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
2062
|
+
},
|
|
2063
|
+
getcontentHaloRunV1alpha1Tag(name, options) {
|
|
2064
|
+
return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
|
|
2065
|
+
},
|
|
2066
|
+
listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
|
|
2067
|
+
return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2068
|
+
},
|
|
2069
|
+
updatecontentHaloRunV1alpha1Tag(name, tag, options) {
|
|
2070
|
+
return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
|
|
2071
|
+
}
|
|
2072
|
+
};
|
|
2073
|
+
};
|
|
2074
|
+
class ContentHaloRunV1alpha1TagApi extends BaseAPI {
|
|
2075
|
+
createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
2076
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
2077
|
+
}
|
|
2078
|
+
deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
2079
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2080
|
+
}
|
|
2081
|
+
getcontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
2082
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2083
|
+
}
|
|
2084
|
+
listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
|
|
2085
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2086
|
+
}
|
|
2087
|
+
updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
|
|
2088
|
+
return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
|
|
2092
|
+
const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
|
|
2093
|
+
return {
|
|
2094
|
+
createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
|
|
2095
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2096
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2097
|
+
let baseOptions;
|
|
2098
|
+
if (configuration) {
|
|
2099
|
+
baseOptions = configuration.baseOptions;
|
|
2100
|
+
}
|
|
2101
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2102
|
+
const localVarHeaderParameter = {};
|
|
2103
|
+
const localVarQueryParameter = {};
|
|
2104
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2105
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2106
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2107
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2108
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2109
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2110
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
2111
|
+
return {
|
|
2112
|
+
url: toPathString(localVarUrlObj),
|
|
2113
|
+
options: localVarRequestOptions
|
|
2114
|
+
};
|
|
2115
|
+
},
|
|
2116
|
+
deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
2117
|
+
assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
|
|
2118
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2119
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2120
|
+
let baseOptions;
|
|
2121
|
+
if (configuration) {
|
|
2122
|
+
baseOptions = configuration.baseOptions;
|
|
2123
|
+
}
|
|
2124
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2125
|
+
const localVarHeaderParameter = {};
|
|
2126
|
+
const localVarQueryParameter = {};
|
|
2127
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2128
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2129
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2130
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2131
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2132
|
+
return {
|
|
2133
|
+
url: toPathString(localVarUrlObj),
|
|
2134
|
+
options: localVarRequestOptions
|
|
2135
|
+
};
|
|
2136
|
+
},
|
|
2137
|
+
getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
|
|
2138
|
+
assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
|
|
2139
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2140
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2141
|
+
let baseOptions;
|
|
2142
|
+
if (configuration) {
|
|
2143
|
+
baseOptions = configuration.baseOptions;
|
|
2144
|
+
}
|
|
2145
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2146
|
+
const localVarHeaderParameter = {};
|
|
2147
|
+
const localVarQueryParameter = {};
|
|
2148
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2149
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2150
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2151
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2152
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2153
|
+
return {
|
|
2154
|
+
url: toPathString(localVarUrlObj),
|
|
2155
|
+
options: localVarRequestOptions
|
|
2156
|
+
};
|
|
2157
|
+
},
|
|
2158
|
+
listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2159
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
|
|
2160
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2161
|
+
let baseOptions;
|
|
2162
|
+
if (configuration) {
|
|
2163
|
+
baseOptions = configuration.baseOptions;
|
|
2164
|
+
}
|
|
2165
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2166
|
+
const localVarHeaderParameter = {};
|
|
2167
|
+
const localVarQueryParameter = {};
|
|
2168
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2169
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2170
|
+
if (page !== void 0) {
|
|
2171
|
+
localVarQueryParameter["page"] = page;
|
|
2172
|
+
}
|
|
2173
|
+
if (size !== void 0) {
|
|
2174
|
+
localVarQueryParameter["size"] = size;
|
|
2175
|
+
}
|
|
2176
|
+
if (labelSelector) {
|
|
2177
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2178
|
+
}
|
|
2179
|
+
if (fieldSelector) {
|
|
2180
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2181
|
+
}
|
|
2182
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2183
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2184
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2185
|
+
return {
|
|
2186
|
+
url: toPathString(localVarUrlObj),
|
|
2187
|
+
options: localVarRequestOptions
|
|
2188
|
+
};
|
|
2189
|
+
},
|
|
2190
|
+
updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
|
|
2191
|
+
assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
|
|
2192
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2193
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2194
|
+
let baseOptions;
|
|
2195
|
+
if (configuration) {
|
|
2196
|
+
baseOptions = configuration.baseOptions;
|
|
2197
|
+
}
|
|
2198
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2199
|
+
const localVarHeaderParameter = {};
|
|
2200
|
+
const localVarQueryParameter = {};
|
|
2201
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2202
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2203
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2204
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2205
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2206
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2207
|
+
localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
|
|
2208
|
+
return {
|
|
2209
|
+
url: toPathString(localVarUrlObj),
|
|
2210
|
+
options: localVarRequestOptions
|
|
2211
|
+
};
|
|
2212
|
+
}
|
|
2213
|
+
};
|
|
2214
|
+
};
|
|
2215
|
+
const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
|
|
2216
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
|
|
2217
|
+
return {
|
|
2218
|
+
async createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2219
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
|
|
2220
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2221
|
+
},
|
|
2222
|
+
async deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
|
|
2224
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2225
|
+
},
|
|
2226
|
+
async getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2227
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
|
|
2228
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2229
|
+
},
|
|
2230
|
+
async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2231
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
|
|
2232
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2233
|
+
},
|
|
2234
|
+
async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2235
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
|
|
2236
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2237
|
+
}
|
|
2238
|
+
};
|
|
2239
|
+
};
|
|
2240
|
+
const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
|
|
2241
|
+
const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
|
|
2242
|
+
return {
|
|
2243
|
+
createpluginHaloRunV1alpha1Plugin(plugin, options) {
|
|
2244
|
+
return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
|
|
2245
|
+
},
|
|
2246
|
+
deletepluginHaloRunV1alpha1Plugin(name, options) {
|
|
2247
|
+
return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
2248
|
+
},
|
|
2249
|
+
getpluginHaloRunV1alpha1Plugin(name, options) {
|
|
2250
|
+
return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
|
|
2251
|
+
},
|
|
2252
|
+
listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
|
|
2253
|
+
return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2254
|
+
},
|
|
2255
|
+
updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
|
|
2256
|
+
return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
|
|
2257
|
+
}
|
|
2258
|
+
};
|
|
2259
|
+
};
|
|
2260
|
+
class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
|
|
2261
|
+
createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
2262
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
2263
|
+
}
|
|
2264
|
+
deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
2265
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2266
|
+
}
|
|
2267
|
+
getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
2268
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2269
|
+
}
|
|
2270
|
+
listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
|
|
2271
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2272
|
+
}
|
|
2273
|
+
updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
|
|
2274
|
+
return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
|
|
2275
|
+
}
|
|
2276
|
+
}
|
|
2277
|
+
|
|
2278
|
+
const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
|
|
2279
|
+
return {
|
|
2280
|
+
createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
|
|
2281
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2282
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2283
|
+
let baseOptions;
|
|
2284
|
+
if (configuration) {
|
|
2285
|
+
baseOptions = configuration.baseOptions;
|
|
2286
|
+
}
|
|
2287
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2288
|
+
const localVarHeaderParameter = {};
|
|
2289
|
+
const localVarQueryParameter = {};
|
|
2290
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2291
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2292
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2293
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2294
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2295
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2296
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
2297
|
+
return {
|
|
2298
|
+
url: toPathString(localVarUrlObj),
|
|
2299
|
+
options: localVarRequestOptions
|
|
2300
|
+
};
|
|
2301
|
+
},
|
|
2302
|
+
deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
2303
|
+
assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2304
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2305
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2306
|
+
let baseOptions;
|
|
2307
|
+
if (configuration) {
|
|
2308
|
+
baseOptions = configuration.baseOptions;
|
|
2309
|
+
}
|
|
2310
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2311
|
+
const localVarHeaderParameter = {};
|
|
2312
|
+
const localVarQueryParameter = {};
|
|
2313
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2314
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2315
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2316
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2317
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2318
|
+
return {
|
|
2319
|
+
url: toPathString(localVarUrlObj),
|
|
2320
|
+
options: localVarRequestOptions
|
|
2321
|
+
};
|
|
2322
|
+
},
|
|
2323
|
+
getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
|
|
2324
|
+
assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2325
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2326
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2327
|
+
let baseOptions;
|
|
2328
|
+
if (configuration) {
|
|
2329
|
+
baseOptions = configuration.baseOptions;
|
|
2330
|
+
}
|
|
2331
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2332
|
+
const localVarHeaderParameter = {};
|
|
2333
|
+
const localVarQueryParameter = {};
|
|
2334
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2335
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2336
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2337
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2338
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2339
|
+
return {
|
|
2340
|
+
url: toPathString(localVarUrlObj),
|
|
2341
|
+
options: localVarRequestOptions
|
|
2342
|
+
};
|
|
2343
|
+
},
|
|
2344
|
+
listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2345
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
|
|
2346
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2347
|
+
let baseOptions;
|
|
2348
|
+
if (configuration) {
|
|
2349
|
+
baseOptions = configuration.baseOptions;
|
|
2350
|
+
}
|
|
2351
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2352
|
+
const localVarHeaderParameter = {};
|
|
2353
|
+
const localVarQueryParameter = {};
|
|
2354
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2355
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2356
|
+
if (page !== void 0) {
|
|
2357
|
+
localVarQueryParameter["page"] = page;
|
|
2358
|
+
}
|
|
2359
|
+
if (size !== void 0) {
|
|
2360
|
+
localVarQueryParameter["size"] = size;
|
|
2361
|
+
}
|
|
2362
|
+
if (labelSelector) {
|
|
2363
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2364
|
+
}
|
|
2365
|
+
if (fieldSelector) {
|
|
2366
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2367
|
+
}
|
|
2368
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2369
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2370
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2371
|
+
return {
|
|
2372
|
+
url: toPathString(localVarUrlObj),
|
|
2373
|
+
options: localVarRequestOptions
|
|
2374
|
+
};
|
|
2375
|
+
},
|
|
2376
|
+
updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
|
|
2377
|
+
assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
|
|
2378
|
+
const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2379
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2380
|
+
let baseOptions;
|
|
2381
|
+
if (configuration) {
|
|
2382
|
+
baseOptions = configuration.baseOptions;
|
|
2383
|
+
}
|
|
2384
|
+
const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
|
|
2385
|
+
const localVarHeaderParameter = {};
|
|
2386
|
+
const localVarQueryParameter = {};
|
|
2387
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2388
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2389
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2390
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2391
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2392
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2393
|
+
localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
|
|
2394
|
+
return {
|
|
2395
|
+
url: toPathString(localVarUrlObj),
|
|
2396
|
+
options: localVarRequestOptions
|
|
2397
|
+
};
|
|
2398
|
+
}
|
|
2399
|
+
};
|
|
2400
|
+
};
|
|
2401
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
|
|
2402
|
+
const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
|
|
2403
|
+
return {
|
|
2404
|
+
async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2405
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
|
|
2406
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2407
|
+
},
|
|
2408
|
+
async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2409
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2410
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2411
|
+
},
|
|
2412
|
+
async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2413
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
|
|
2414
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2415
|
+
},
|
|
2416
|
+
async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2417
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
|
|
2418
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2419
|
+
},
|
|
2420
|
+
async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2421
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
|
|
2422
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2423
|
+
}
|
|
2424
|
+
};
|
|
2425
|
+
};
|
|
2426
|
+
const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
|
|
2427
|
+
const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
|
|
2428
|
+
return {
|
|
2429
|
+
createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
|
|
2430
|
+
return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
|
|
2431
|
+
},
|
|
2432
|
+
deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2433
|
+
return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2434
|
+
},
|
|
2435
|
+
getpluginHaloRunV1alpha1ReverseProxy(name, options) {
|
|
2436
|
+
return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
|
|
2437
|
+
},
|
|
2438
|
+
listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
|
|
2439
|
+
return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2440
|
+
},
|
|
2441
|
+
updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
|
|
2442
|
+
return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
|
|
2443
|
+
}
|
|
2444
|
+
};
|
|
2445
|
+
};
|
|
2446
|
+
class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
|
|
2447
|
+
createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2448
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2449
|
+
}
|
|
2450
|
+
deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2451
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2452
|
+
}
|
|
2453
|
+
getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2454
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2455
|
+
}
|
|
2456
|
+
listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
|
|
2457
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2458
|
+
}
|
|
2459
|
+
updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
|
|
2460
|
+
return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
|
|
2461
|
+
}
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
|
|
2465
|
+
return {
|
|
2466
|
+
createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
|
|
2467
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
2468
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2469
|
+
let baseOptions;
|
|
2470
|
+
if (configuration) {
|
|
2471
|
+
baseOptions = configuration.baseOptions;
|
|
2472
|
+
}
|
|
2473
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2474
|
+
const localVarHeaderParameter = {};
|
|
2475
|
+
const localVarQueryParameter = {};
|
|
2476
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2477
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2478
|
+
localVarHeaderParameter["Content-Type"] = "application/json";
|
|
2479
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2480
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2481
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2482
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2483
|
+
return {
|
|
2484
|
+
url: toPathString(localVarUrlObj),
|
|
2485
|
+
options: localVarRequestOptions
|
|
2486
|
+
};
|
|
2487
|
+
},
|
|
2488
|
+
deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2489
|
+
assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2490
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2491
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2492
|
+
let baseOptions;
|
|
2493
|
+
if (configuration) {
|
|
2494
|
+
baseOptions = configuration.baseOptions;
|
|
2495
|
+
}
|
|
2496
|
+
const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
|
|
2497
|
+
const localVarHeaderParameter = {};
|
|
2498
|
+
const localVarQueryParameter = {};
|
|
2499
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2500
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2501
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2502
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2503
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2504
|
+
return {
|
|
2505
|
+
url: toPathString(localVarUrlObj),
|
|
2506
|
+
options: localVarRequestOptions
|
|
2507
|
+
};
|
|
2508
|
+
},
|
|
2509
|
+
getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
|
|
2510
|
+
assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
|
|
2511
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2512
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2513
|
+
let baseOptions;
|
|
2514
|
+
if (configuration) {
|
|
2515
|
+
baseOptions = configuration.baseOptions;
|
|
2516
|
+
}
|
|
2517
|
+
const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
|
|
2518
|
+
const localVarHeaderParameter = {};
|
|
2519
|
+
const localVarQueryParameter = {};
|
|
2520
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2521
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2522
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2523
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2524
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2525
|
+
return {
|
|
2526
|
+
url: toPathString(localVarUrlObj),
|
|
2527
|
+
options: localVarRequestOptions
|
|
2528
|
+
};
|
|
2529
|
+
},
|
|
2530
|
+
liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2531
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
|
|
1439
2532
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1440
2533
|
let baseOptions;
|
|
1441
2534
|
if (configuration) {
|
|
@@ -1446,6 +2539,18 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1446
2539
|
const localVarQueryParameter = {};
|
|
1447
2540
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1448
2541
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2542
|
+
if (page !== void 0) {
|
|
2543
|
+
localVarQueryParameter["page"] = page;
|
|
2544
|
+
}
|
|
2545
|
+
if (size !== void 0) {
|
|
2546
|
+
localVarQueryParameter["size"] = size;
|
|
2547
|
+
}
|
|
2548
|
+
if (labelSelector) {
|
|
2549
|
+
localVarQueryParameter["labelSelector"] = labelSelector;
|
|
2550
|
+
}
|
|
2551
|
+
if (fieldSelector) {
|
|
2552
|
+
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
2553
|
+
}
|
|
1449
2554
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1450
2555
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1451
2556
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1454,8 +2559,8 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1454
2559
|
options: localVarRequestOptions
|
|
1455
2560
|
};
|
|
1456
2561
|
},
|
|
1457
|
-
|
|
1458
|
-
const localVarPath = `/apis/
|
|
2562
|
+
searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
|
|
2563
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
|
|
1459
2564
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1460
2565
|
let baseOptions;
|
|
1461
2566
|
if (configuration) {
|
|
@@ -1466,8 +2571,17 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1466
2571
|
const localVarQueryParameter = {};
|
|
1467
2572
|
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
1468
2573
|
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
1469
|
-
if (
|
|
1470
|
-
localVarQueryParameter["
|
|
2574
|
+
if (policy !== void 0) {
|
|
2575
|
+
localVarQueryParameter["policy"] = policy;
|
|
2576
|
+
}
|
|
2577
|
+
if (displayName !== void 0) {
|
|
2578
|
+
localVarQueryParameter["displayName"] = displayName;
|
|
2579
|
+
}
|
|
2580
|
+
if (uploadedBy !== void 0) {
|
|
2581
|
+
localVarQueryParameter["uploadedBy"] = uploadedBy;
|
|
2582
|
+
}
|
|
2583
|
+
if (group !== void 0) {
|
|
2584
|
+
localVarQueryParameter["group"] = group;
|
|
1471
2585
|
}
|
|
1472
2586
|
if (size !== void 0) {
|
|
1473
2587
|
localVarQueryParameter["size"] = size;
|
|
@@ -1478,6 +2592,9 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1478
2592
|
if (fieldSelector) {
|
|
1479
2593
|
localVarQueryParameter["fieldSelector"] = fieldSelector;
|
|
1480
2594
|
}
|
|
2595
|
+
if (page !== void 0) {
|
|
2596
|
+
localVarQueryParameter["page"] = page;
|
|
2597
|
+
}
|
|
1481
2598
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1482
2599
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1483
2600
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
@@ -1486,9 +2603,9 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1486
2603
|
options: localVarRequestOptions
|
|
1487
2604
|
};
|
|
1488
2605
|
},
|
|
1489
|
-
|
|
1490
|
-
assertParamExists("
|
|
1491
|
-
const localVarPath = `/apis/
|
|
2606
|
+
updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
|
|
2607
|
+
assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
|
|
2608
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1492
2609
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1493
2610
|
let baseOptions;
|
|
1494
2611
|
if (configuration) {
|
|
@@ -1503,7 +2620,41 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1503
2620
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1504
2621
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1505
2622
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1506
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2623
|
+
localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
|
|
2624
|
+
return {
|
|
2625
|
+
url: toPathString(localVarUrlObj),
|
|
2626
|
+
options: localVarRequestOptions
|
|
2627
|
+
};
|
|
2628
|
+
},
|
|
2629
|
+
uploadAttachment: async (file, policyName, groupName, options = {}) => {
|
|
2630
|
+
assertParamExists("uploadAttachment", "file", file);
|
|
2631
|
+
assertParamExists("uploadAttachment", "policyName", policyName);
|
|
2632
|
+
const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
|
|
2633
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2634
|
+
let baseOptions;
|
|
2635
|
+
if (configuration) {
|
|
2636
|
+
baseOptions = configuration.baseOptions;
|
|
2637
|
+
}
|
|
2638
|
+
const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
|
|
2639
|
+
const localVarHeaderParameter = {};
|
|
2640
|
+
const localVarQueryParameter = {};
|
|
2641
|
+
const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
|
|
2642
|
+
setBasicAuthToObject(localVarRequestOptions, configuration);
|
|
2643
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration);
|
|
2644
|
+
if (file !== void 0) {
|
|
2645
|
+
localVarFormParams.append("file", file);
|
|
2646
|
+
}
|
|
2647
|
+
if (policyName !== void 0) {
|
|
2648
|
+
localVarFormParams.append("policyName", policyName);
|
|
2649
|
+
}
|
|
2650
|
+
if (groupName !== void 0) {
|
|
2651
|
+
localVarFormParams.append("groupName", groupName);
|
|
2652
|
+
}
|
|
2653
|
+
localVarHeaderParameter["Content-Type"] = "multipart/form-data";
|
|
2654
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2655
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2656
|
+
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2657
|
+
localVarRequestOptions.data = localVarFormParams;
|
|
1507
2658
|
return {
|
|
1508
2659
|
url: toPathString(localVarUrlObj),
|
|
1509
2660
|
options: localVarRequestOptions
|
|
@@ -1511,73 +2662,93 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
|
|
|
1511
2662
|
}
|
|
1512
2663
|
};
|
|
1513
2664
|
};
|
|
1514
|
-
const
|
|
1515
|
-
const localVarAxiosParamCreator =
|
|
2665
|
+
const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
|
|
2666
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
|
|
1516
2667
|
return {
|
|
1517
|
-
async
|
|
1518
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2668
|
+
async createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2669
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
|
|
1519
2670
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1520
2671
|
},
|
|
1521
|
-
async
|
|
1522
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2672
|
+
async deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2673
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
|
|
1523
2674
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1524
2675
|
},
|
|
1525
|
-
async
|
|
1526
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2676
|
+
async getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2677
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
|
|
1527
2678
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1528
2679
|
},
|
|
1529
|
-
async
|
|
1530
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2680
|
+
async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2681
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
|
|
1531
2682
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1532
2683
|
},
|
|
1533
|
-
async
|
|
1534
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2684
|
+
async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
2685
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
|
|
2686
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2687
|
+
},
|
|
2688
|
+
async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2689
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
|
|
2690
|
+
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2691
|
+
},
|
|
2692
|
+
async uploadAttachment(file, policyName, groupName, options) {
|
|
2693
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
|
|
1535
2694
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1536
2695
|
}
|
|
1537
2696
|
};
|
|
1538
2697
|
};
|
|
1539
|
-
const
|
|
1540
|
-
const localVarFp =
|
|
2698
|
+
const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
|
|
2699
|
+
const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
|
|
1541
2700
|
return {
|
|
1542
|
-
|
|
1543
|
-
return localVarFp.
|
|
2701
|
+
createstorageHaloRunV1alpha1Attachment(attachment, options) {
|
|
2702
|
+
return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
|
|
1544
2703
|
},
|
|
1545
|
-
|
|
1546
|
-
return localVarFp.
|
|
2704
|
+
deletestorageHaloRunV1alpha1Attachment(name, options) {
|
|
2705
|
+
return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
1547
2706
|
},
|
|
1548
|
-
|
|
1549
|
-
return localVarFp.
|
|
2707
|
+
getstorageHaloRunV1alpha1Attachment(name, options) {
|
|
2708
|
+
return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
|
|
1550
2709
|
},
|
|
1551
|
-
|
|
1552
|
-
return localVarFp.
|
|
2710
|
+
liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
|
|
2711
|
+
return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1553
2712
|
},
|
|
1554
|
-
|
|
1555
|
-
return localVarFp.
|
|
2713
|
+
searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
|
|
2714
|
+
return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
|
|
2715
|
+
},
|
|
2716
|
+
updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
|
|
2717
|
+
return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
|
|
2718
|
+
},
|
|
2719
|
+
uploadAttachment(file, policyName, groupName, options) {
|
|
2720
|
+
return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
|
|
1556
2721
|
}
|
|
1557
2722
|
};
|
|
1558
2723
|
};
|
|
1559
|
-
class
|
|
1560
|
-
|
|
1561
|
-
return
|
|
2724
|
+
class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
|
|
2725
|
+
createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2726
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
1562
2727
|
}
|
|
1563
|
-
|
|
1564
|
-
return
|
|
2728
|
+
deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2729
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1565
2730
|
}
|
|
1566
|
-
|
|
1567
|
-
return
|
|
2731
|
+
getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2732
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1568
2733
|
}
|
|
1569
|
-
|
|
1570
|
-
return
|
|
2734
|
+
liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
|
|
2735
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1571
2736
|
}
|
|
1572
|
-
|
|
1573
|
-
return
|
|
2737
|
+
searchAttachments(requestParameters = {}, options) {
|
|
2738
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.uploadedBy, requestParameters.group, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
|
|
2739
|
+
}
|
|
2740
|
+
updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
|
|
2741
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
|
|
2742
|
+
}
|
|
2743
|
+
uploadAttachment(requestParameters, options) {
|
|
2744
|
+
return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
|
|
1574
2745
|
}
|
|
1575
2746
|
}
|
|
1576
2747
|
|
|
1577
|
-
const
|
|
2748
|
+
const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
|
|
1578
2749
|
return {
|
|
1579
|
-
|
|
1580
|
-
const localVarPath = `/apis/
|
|
2750
|
+
createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
|
|
2751
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
1581
2752
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1582
2753
|
let baseOptions;
|
|
1583
2754
|
if (configuration) {
|
|
@@ -1592,15 +2763,15 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
1592
2763
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1593
2764
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1594
2765
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1595
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2766
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
1596
2767
|
return {
|
|
1597
2768
|
url: toPathString(localVarUrlObj),
|
|
1598
2769
|
options: localVarRequestOptions
|
|
1599
2770
|
};
|
|
1600
2771
|
},
|
|
1601
|
-
|
|
1602
|
-
assertParamExists("
|
|
1603
|
-
const localVarPath = `/apis/
|
|
2772
|
+
deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2773
|
+
assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
|
|
2774
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1604
2775
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1605
2776
|
let baseOptions;
|
|
1606
2777
|
if (configuration) {
|
|
@@ -1619,9 +2790,9 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
1619
2790
|
options: localVarRequestOptions
|
|
1620
2791
|
};
|
|
1621
2792
|
},
|
|
1622
|
-
|
|
1623
|
-
assertParamExists("
|
|
1624
|
-
const localVarPath = `/apis/
|
|
2793
|
+
getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
|
|
2794
|
+
assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
|
|
2795
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1625
2796
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1626
2797
|
let baseOptions;
|
|
1627
2798
|
if (configuration) {
|
|
@@ -1640,8 +2811,8 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
1640
2811
|
options: localVarRequestOptions
|
|
1641
2812
|
};
|
|
1642
2813
|
},
|
|
1643
|
-
|
|
1644
|
-
const localVarPath = `/apis/
|
|
2814
|
+
liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
2815
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
|
|
1645
2816
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1646
2817
|
let baseOptions;
|
|
1647
2818
|
if (configuration) {
|
|
@@ -1672,9 +2843,9 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
1672
2843
|
options: localVarRequestOptions
|
|
1673
2844
|
};
|
|
1674
2845
|
},
|
|
1675
|
-
|
|
1676
|
-
assertParamExists("
|
|
1677
|
-
const localVarPath = `/apis/
|
|
2846
|
+
updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
|
|
2847
|
+
assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
|
|
2848
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1678
2849
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1679
2850
|
let baseOptions;
|
|
1680
2851
|
if (configuration) {
|
|
@@ -1689,7 +2860,7 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
1689
2860
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1690
2861
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1691
2862
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1692
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2863
|
+
localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
|
|
1693
2864
|
return {
|
|
1694
2865
|
url: toPathString(localVarUrlObj),
|
|
1695
2866
|
options: localVarRequestOptions
|
|
@@ -1697,73 +2868,73 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
|
|
|
1697
2868
|
}
|
|
1698
2869
|
};
|
|
1699
2870
|
};
|
|
1700
|
-
const
|
|
1701
|
-
const localVarAxiosParamCreator =
|
|
2871
|
+
const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
|
|
2872
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
|
|
1702
2873
|
return {
|
|
1703
|
-
async
|
|
1704
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2874
|
+
async createstorageHaloRunV1alpha1Group(group, options) {
|
|
2875
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
|
|
1705
2876
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1706
2877
|
},
|
|
1707
|
-
async
|
|
1708
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2878
|
+
async deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2879
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
|
|
1709
2880
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1710
2881
|
},
|
|
1711
|
-
async
|
|
1712
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2882
|
+
async getstorageHaloRunV1alpha1Group(name, options) {
|
|
2883
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
|
|
1713
2884
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1714
2885
|
},
|
|
1715
|
-
async
|
|
1716
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2886
|
+
async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2887
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
|
|
1717
2888
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1718
2889
|
},
|
|
1719
|
-
async
|
|
1720
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
2890
|
+
async updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2891
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
|
|
1721
2892
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1722
2893
|
}
|
|
1723
2894
|
};
|
|
1724
2895
|
};
|
|
1725
|
-
const
|
|
1726
|
-
const localVarFp =
|
|
2896
|
+
const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
|
|
2897
|
+
const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
|
|
1727
2898
|
return {
|
|
1728
|
-
|
|
1729
|
-
return localVarFp.
|
|
2899
|
+
createstorageHaloRunV1alpha1Group(group, options) {
|
|
2900
|
+
return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
|
|
1730
2901
|
},
|
|
1731
|
-
|
|
1732
|
-
return localVarFp.
|
|
2902
|
+
deletestorageHaloRunV1alpha1Group(name, options) {
|
|
2903
|
+
return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
1733
2904
|
},
|
|
1734
|
-
|
|
1735
|
-
return localVarFp.
|
|
2905
|
+
getstorageHaloRunV1alpha1Group(name, options) {
|
|
2906
|
+
return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
|
|
1736
2907
|
},
|
|
1737
|
-
|
|
1738
|
-
return localVarFp.
|
|
2908
|
+
liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
|
|
2909
|
+
return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1739
2910
|
},
|
|
1740
|
-
|
|
1741
|
-
return localVarFp.
|
|
2911
|
+
updatestorageHaloRunV1alpha1Group(name, group, options) {
|
|
2912
|
+
return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
|
|
1742
2913
|
}
|
|
1743
2914
|
};
|
|
1744
2915
|
};
|
|
1745
|
-
class
|
|
1746
|
-
|
|
1747
|
-
return
|
|
2916
|
+
class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
|
|
2917
|
+
createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2918
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
1748
2919
|
}
|
|
1749
|
-
|
|
1750
|
-
return
|
|
2920
|
+
deletestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2921
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1751
2922
|
}
|
|
1752
|
-
|
|
1753
|
-
return
|
|
2923
|
+
getstorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2924
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1754
2925
|
}
|
|
1755
|
-
|
|
1756
|
-
return
|
|
2926
|
+
liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
|
|
2927
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1757
2928
|
}
|
|
1758
|
-
|
|
1759
|
-
return
|
|
2929
|
+
updatestorageHaloRunV1alpha1Group(requestParameters, options) {
|
|
2930
|
+
return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
|
|
1760
2931
|
}
|
|
1761
2932
|
}
|
|
1762
2933
|
|
|
1763
|
-
const
|
|
2934
|
+
const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
|
|
1764
2935
|
return {
|
|
1765
|
-
|
|
1766
|
-
const localVarPath = `/apis/
|
|
2936
|
+
createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
|
|
2937
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
1767
2938
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1768
2939
|
let baseOptions;
|
|
1769
2940
|
if (configuration) {
|
|
@@ -1778,15 +2949,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1778
2949
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1779
2950
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1780
2951
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1781
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
2952
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
1782
2953
|
return {
|
|
1783
2954
|
url: toPathString(localVarUrlObj),
|
|
1784
2955
|
options: localVarRequestOptions
|
|
1785
2956
|
};
|
|
1786
2957
|
},
|
|
1787
|
-
|
|
1788
|
-
assertParamExists("
|
|
1789
|
-
const localVarPath = `/apis/
|
|
2958
|
+
deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2959
|
+
assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
|
|
2960
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1790
2961
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1791
2962
|
let baseOptions;
|
|
1792
2963
|
if (configuration) {
|
|
@@ -1805,9 +2976,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1805
2976
|
options: localVarRequestOptions
|
|
1806
2977
|
};
|
|
1807
2978
|
},
|
|
1808
|
-
|
|
1809
|
-
assertParamExists("
|
|
1810
|
-
const localVarPath = `/apis/
|
|
2979
|
+
getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
|
|
2980
|
+
assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
|
|
2981
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1811
2982
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1812
2983
|
let baseOptions;
|
|
1813
2984
|
if (configuration) {
|
|
@@ -1826,8 +2997,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1826
2997
|
options: localVarRequestOptions
|
|
1827
2998
|
};
|
|
1828
2999
|
},
|
|
1829
|
-
|
|
1830
|
-
const localVarPath = `/apis/
|
|
3000
|
+
liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3001
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
|
|
1831
3002
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1832
3003
|
let baseOptions;
|
|
1833
3004
|
if (configuration) {
|
|
@@ -1858,9 +3029,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1858
3029
|
options: localVarRequestOptions
|
|
1859
3030
|
};
|
|
1860
3031
|
},
|
|
1861
|
-
|
|
1862
|
-
assertParamExists("
|
|
1863
|
-
const localVarPath = `/apis/
|
|
3032
|
+
updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
|
|
3033
|
+
assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
|
|
3034
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1864
3035
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1865
3036
|
let baseOptions;
|
|
1866
3037
|
if (configuration) {
|
|
@@ -1875,7 +3046,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1875
3046
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1876
3047
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1877
3048
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1878
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3049
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
|
|
1879
3050
|
return {
|
|
1880
3051
|
url: toPathString(localVarUrlObj),
|
|
1881
3052
|
options: localVarRequestOptions
|
|
@@ -1883,73 +3054,73 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
|
|
|
1883
3054
|
}
|
|
1884
3055
|
};
|
|
1885
3056
|
};
|
|
1886
|
-
const
|
|
1887
|
-
const localVarAxiosParamCreator =
|
|
3057
|
+
const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
|
|
3058
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
|
|
1888
3059
|
return {
|
|
1889
|
-
async
|
|
1890
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3060
|
+
async createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3061
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
|
|
1891
3062
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1892
3063
|
},
|
|
1893
|
-
async
|
|
1894
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3064
|
+
async deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3065
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
|
|
1895
3066
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1896
3067
|
},
|
|
1897
|
-
async
|
|
1898
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3068
|
+
async getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3069
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
|
|
1899
3070
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1900
3071
|
},
|
|
1901
|
-
async
|
|
1902
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3072
|
+
async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3073
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
|
|
1903
3074
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1904
3075
|
},
|
|
1905
|
-
async
|
|
1906
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3076
|
+
async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3077
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
|
|
1907
3078
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
1908
3079
|
}
|
|
1909
3080
|
};
|
|
1910
3081
|
};
|
|
1911
|
-
const
|
|
1912
|
-
const localVarFp =
|
|
3082
|
+
const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
|
|
3083
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
|
|
1913
3084
|
return {
|
|
1914
|
-
|
|
1915
|
-
return localVarFp.
|
|
3085
|
+
createstorageHaloRunV1alpha1Policy(policy, options) {
|
|
3086
|
+
return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
|
|
1916
3087
|
},
|
|
1917
|
-
|
|
1918
|
-
return localVarFp.
|
|
3088
|
+
deletestorageHaloRunV1alpha1Policy(name, options) {
|
|
3089
|
+
return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
1919
3090
|
},
|
|
1920
|
-
|
|
1921
|
-
return localVarFp.
|
|
3091
|
+
getstorageHaloRunV1alpha1Policy(name, options) {
|
|
3092
|
+
return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
|
|
1922
3093
|
},
|
|
1923
|
-
|
|
1924
|
-
return localVarFp.
|
|
3094
|
+
liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
|
|
3095
|
+
return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
1925
3096
|
},
|
|
1926
|
-
|
|
1927
|
-
return localVarFp.
|
|
3097
|
+
updatestorageHaloRunV1alpha1Policy(name, policy, options) {
|
|
3098
|
+
return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
|
|
1928
3099
|
}
|
|
1929
3100
|
};
|
|
1930
3101
|
};
|
|
1931
|
-
class
|
|
1932
|
-
|
|
1933
|
-
return
|
|
3102
|
+
class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
|
|
3103
|
+
createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
3104
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
1934
3105
|
}
|
|
1935
|
-
|
|
1936
|
-
return
|
|
3106
|
+
deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
3107
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1937
3108
|
}
|
|
1938
|
-
|
|
1939
|
-
return
|
|
3109
|
+
getstorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
3110
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
1940
3111
|
}
|
|
1941
|
-
|
|
1942
|
-
return
|
|
3112
|
+
liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
|
|
3113
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
1943
3114
|
}
|
|
1944
|
-
|
|
1945
|
-
return
|
|
3115
|
+
updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
|
|
3116
|
+
return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
|
|
1946
3117
|
}
|
|
1947
3118
|
}
|
|
1948
3119
|
|
|
1949
|
-
const
|
|
3120
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
|
|
1950
3121
|
return {
|
|
1951
|
-
|
|
1952
|
-
const localVarPath = `/apis/
|
|
3122
|
+
createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
|
|
3123
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
1953
3124
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1954
3125
|
let baseOptions;
|
|
1955
3126
|
if (configuration) {
|
|
@@ -1964,15 +3135,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1964
3135
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
1965
3136
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
1966
3137
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
1967
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3138
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
1968
3139
|
return {
|
|
1969
3140
|
url: toPathString(localVarUrlObj),
|
|
1970
3141
|
options: localVarRequestOptions
|
|
1971
3142
|
};
|
|
1972
3143
|
},
|
|
1973
|
-
|
|
1974
|
-
assertParamExists("
|
|
1975
|
-
const localVarPath = `/apis/
|
|
3144
|
+
deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
3145
|
+
assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3146
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1976
3147
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1977
3148
|
let baseOptions;
|
|
1978
3149
|
if (configuration) {
|
|
@@ -1991,9 +3162,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
1991
3162
|
options: localVarRequestOptions
|
|
1992
3163
|
};
|
|
1993
3164
|
},
|
|
1994
|
-
|
|
1995
|
-
assertParamExists("
|
|
1996
|
-
const localVarPath = `/apis/
|
|
3165
|
+
getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
|
|
3166
|
+
assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3167
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
1997
3168
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
1998
3169
|
let baseOptions;
|
|
1999
3170
|
if (configuration) {
|
|
@@ -2012,8 +3183,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2012
3183
|
options: localVarRequestOptions
|
|
2013
3184
|
};
|
|
2014
3185
|
},
|
|
2015
|
-
|
|
2016
|
-
const localVarPath = `/apis/
|
|
3186
|
+
liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
|
|
3187
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
|
|
2017
3188
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2018
3189
|
let baseOptions;
|
|
2019
3190
|
if (configuration) {
|
|
@@ -2044,9 +3215,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2044
3215
|
options: localVarRequestOptions
|
|
2045
3216
|
};
|
|
2046
3217
|
},
|
|
2047
|
-
|
|
2048
|
-
assertParamExists("
|
|
2049
|
-
const localVarPath = `/apis/
|
|
3218
|
+
updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
|
|
3219
|
+
assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
|
|
3220
|
+
const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
|
|
2050
3221
|
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
2051
3222
|
let baseOptions;
|
|
2052
3223
|
if (configuration) {
|
|
@@ -2061,7 +3232,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2061
3232
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
2062
3233
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
2063
3234
|
localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
|
|
2064
|
-
localVarRequestOptions.data = serializeDataIfNeeded(
|
|
3235
|
+
localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
|
|
2065
3236
|
return {
|
|
2066
3237
|
url: toPathString(localVarUrlObj),
|
|
2067
3238
|
options: localVarRequestOptions
|
|
@@ -2069,66 +3240,66 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
|
|
|
2069
3240
|
}
|
|
2070
3241
|
};
|
|
2071
3242
|
};
|
|
2072
|
-
const
|
|
2073
|
-
const localVarAxiosParamCreator =
|
|
3243
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
|
|
3244
|
+
const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
|
|
2074
3245
|
return {
|
|
2075
|
-
async
|
|
2076
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3246
|
+
async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3247
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
|
|
2077
3248
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2078
3249
|
},
|
|
2079
|
-
async
|
|
2080
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3250
|
+
async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3251
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
2081
3252
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2082
3253
|
},
|
|
2083
|
-
async
|
|
2084
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3254
|
+
async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3255
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
|
|
2085
3256
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2086
3257
|
},
|
|
2087
|
-
async
|
|
2088
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3258
|
+
async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3259
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
|
|
2089
3260
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2090
3261
|
},
|
|
2091
|
-
async
|
|
2092
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
3262
|
+
async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3263
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
|
|
2093
3264
|
return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
|
|
2094
3265
|
}
|
|
2095
3266
|
};
|
|
2096
3267
|
};
|
|
2097
|
-
const
|
|
2098
|
-
const localVarFp =
|
|
3268
|
+
const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
|
|
3269
|
+
const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
|
|
2099
3270
|
return {
|
|
2100
|
-
|
|
2101
|
-
return localVarFp.
|
|
3271
|
+
createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
|
|
3272
|
+
return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
|
|
2102
3273
|
},
|
|
2103
|
-
|
|
2104
|
-
return localVarFp.
|
|
3274
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3275
|
+
return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
2105
3276
|
},
|
|
2106
|
-
|
|
2107
|
-
return localVarFp.
|
|
3277
|
+
getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
|
|
3278
|
+
return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
|
|
2108
3279
|
},
|
|
2109
|
-
|
|
2110
|
-
return localVarFp.
|
|
3280
|
+
liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
|
|
3281
|
+
return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
|
|
2111
3282
|
},
|
|
2112
|
-
|
|
2113
|
-
return localVarFp.
|
|
3283
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
|
|
3284
|
+
return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
|
|
2114
3285
|
}
|
|
2115
3286
|
};
|
|
2116
3287
|
};
|
|
2117
|
-
class
|
|
2118
|
-
|
|
2119
|
-
return
|
|
3288
|
+
class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
|
|
3289
|
+
createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
3290
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2120
3291
|
}
|
|
2121
|
-
|
|
2122
|
-
return
|
|
3292
|
+
deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
3293
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2123
3294
|
}
|
|
2124
|
-
|
|
2125
|
-
return
|
|
3295
|
+
getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
3296
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
|
|
2126
3297
|
}
|
|
2127
|
-
|
|
2128
|
-
return
|
|
3298
|
+
liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
|
|
3299
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
|
|
2129
3300
|
}
|
|
2130
|
-
|
|
2131
|
-
return
|
|
3301
|
+
updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
|
|
3302
|
+
return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
|
|
2132
3303
|
}
|
|
2133
3304
|
}
|
|
2134
3305
|
|
|
@@ -3843,6 +5014,12 @@ const PostSpecVisibleEnum = {
|
|
|
3843
5014
|
Private: "PRIVATE"
|
|
3844
5015
|
};
|
|
3845
5016
|
|
|
5017
|
+
const SinglePageSpecVisibleEnum = {
|
|
5018
|
+
Public: "PUBLIC",
|
|
5019
|
+
Internal: "INTERNAL",
|
|
5020
|
+
Private: "PRIVATE"
|
|
5021
|
+
};
|
|
5022
|
+
|
|
3846
5023
|
exports.ApiHaloRunV1alpha1ContentApi = ApiHaloRunV1alpha1ContentApi;
|
|
3847
5024
|
exports.ApiHaloRunV1alpha1ContentApiAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator;
|
|
3848
5025
|
exports.ApiHaloRunV1alpha1ContentApiFactory = ApiHaloRunV1alpha1ContentApiFactory;
|
|
@@ -3881,6 +5058,10 @@ exports.ContentHaloRunV1alpha1ReplyApi = ContentHaloRunV1alpha1ReplyApi;
|
|
|
3881
5058
|
exports.ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = ContentHaloRunV1alpha1ReplyApiAxiosParamCreator;
|
|
3882
5059
|
exports.ContentHaloRunV1alpha1ReplyApiFactory = ContentHaloRunV1alpha1ReplyApiFactory;
|
|
3883
5060
|
exports.ContentHaloRunV1alpha1ReplyApiFp = ContentHaloRunV1alpha1ReplyApiFp;
|
|
5061
|
+
exports.ContentHaloRunV1alpha1SinglePageApi = ContentHaloRunV1alpha1SinglePageApi;
|
|
5062
|
+
exports.ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator;
|
|
5063
|
+
exports.ContentHaloRunV1alpha1SinglePageApiFactory = ContentHaloRunV1alpha1SinglePageApiFactory;
|
|
5064
|
+
exports.ContentHaloRunV1alpha1SinglePageApiFp = ContentHaloRunV1alpha1SinglePageApiFp;
|
|
3884
5065
|
exports.ContentHaloRunV1alpha1SnapshotApi = ContentHaloRunV1alpha1SnapshotApi;
|
|
3885
5066
|
exports.ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator;
|
|
3886
5067
|
exports.ContentHaloRunV1alpha1SnapshotApiFactory = ContentHaloRunV1alpha1SnapshotApiFactory;
|
|
@@ -3899,6 +5080,23 @@ exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1Rever
|
|
|
3899
5080
|
exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
|
|
3900
5081
|
exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
|
|
3901
5082
|
exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
|
|
5083
|
+
exports.SinglePageSpecVisibleEnum = SinglePageSpecVisibleEnum;
|
|
5084
|
+
exports.StorageHaloRunV1alpha1AttachmentApi = StorageHaloRunV1alpha1AttachmentApi;
|
|
5085
|
+
exports.StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator;
|
|
5086
|
+
exports.StorageHaloRunV1alpha1AttachmentApiFactory = StorageHaloRunV1alpha1AttachmentApiFactory;
|
|
5087
|
+
exports.StorageHaloRunV1alpha1AttachmentApiFp = StorageHaloRunV1alpha1AttachmentApiFp;
|
|
5088
|
+
exports.StorageHaloRunV1alpha1GroupApi = StorageHaloRunV1alpha1GroupApi;
|
|
5089
|
+
exports.StorageHaloRunV1alpha1GroupApiAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator;
|
|
5090
|
+
exports.StorageHaloRunV1alpha1GroupApiFactory = StorageHaloRunV1alpha1GroupApiFactory;
|
|
5091
|
+
exports.StorageHaloRunV1alpha1GroupApiFp = StorageHaloRunV1alpha1GroupApiFp;
|
|
5092
|
+
exports.StorageHaloRunV1alpha1PolicyApi = StorageHaloRunV1alpha1PolicyApi;
|
|
5093
|
+
exports.StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator;
|
|
5094
|
+
exports.StorageHaloRunV1alpha1PolicyApiFactory = StorageHaloRunV1alpha1PolicyApiFactory;
|
|
5095
|
+
exports.StorageHaloRunV1alpha1PolicyApiFp = StorageHaloRunV1alpha1PolicyApiFp;
|
|
5096
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApi = StorageHaloRunV1alpha1PolicyTemplateApi;
|
|
5097
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator;
|
|
5098
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiFactory = StorageHaloRunV1alpha1PolicyTemplateApiFactory;
|
|
5099
|
+
exports.StorageHaloRunV1alpha1PolicyTemplateApiFp = StorageHaloRunV1alpha1PolicyTemplateApiFp;
|
|
3902
5100
|
exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
|
|
3903
5101
|
exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
|
|
3904
5102
|
exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;
|