@halo-dev/api-client 0.0.16 → 0.0.19

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.
Files changed (4) hide show
  1. package/dist/index.cjs +1441 -222
  2. package/dist/index.d.ts +4694 -1791
  3. package/dist/index.mjs +1417 -223
  4. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -295,7 +295,7 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
295
295
  options: localVarRequestOptions
296
296
  };
297
297
  },
298
- listPosts: async (page, size, labelSelector, fieldSelector, contributors, categories, tags, options = {}) => {
298
+ listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
299
299
  const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
300
300
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
301
301
  let baseOptions;
@@ -307,8 +307,14 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
307
307
  const localVarQueryParameter = {};
308
308
  setBasicAuthToObject(localVarRequestOptions, configuration);
309
309
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
310
- if (page !== void 0) {
311
- localVarQueryParameter["page"] = page;
310
+ if (contributors) {
311
+ localVarQueryParameter["contributors"] = Array.from(contributors);
312
+ }
313
+ if (categories) {
314
+ localVarQueryParameter["categories"] = Array.from(categories);
315
+ }
316
+ if (tags) {
317
+ localVarQueryParameter["tags"] = Array.from(tags);
312
318
  }
313
319
  if (size !== void 0) {
314
320
  localVarQueryParameter["size"] = size;
@@ -319,14 +325,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
319
325
  if (fieldSelector) {
320
326
  localVarQueryParameter["fieldSelector"] = fieldSelector;
321
327
  }
322
- if (contributors) {
323
- localVarQueryParameter["contributors"] = Array.from(contributors);
324
- }
325
- if (categories) {
326
- localVarQueryParameter["categories"] = Array.from(categories);
327
- }
328
- if (tags) {
329
- localVarQueryParameter["tags"] = Array.from(tags);
328
+ if (page !== void 0) {
329
+ localVarQueryParameter["page"] = page;
330
330
  }
331
331
  setSearchParams(localVarUrlObj, localVarQueryParameter);
332
332
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -390,8 +390,8 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
390
390
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
391
391
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
392
392
  },
393
- async listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
394
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options);
393
+ async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
394
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
395
395
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
396
396
  },
397
397
  async publishPost(name, options) {
@@ -410,8 +410,8 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
410
410
  draftPost(postRequest, options) {
411
411
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
412
412
  },
413
- listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
414
- return localVarFp.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(axios, basePath));
413
+ listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
414
+ return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
415
415
  },
416
416
  publishPost(name, options) {
417
417
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -426,7 +426,7 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
426
426
  return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
427
427
  }
428
428
  listPosts(requestParameters = {}, options) {
429
- return ApiHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.contributors, requestParameters.categories, requestParameters.tags, options).then((request) => request(this.axios, this.basePath));
429
+ 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));
430
430
  }
431
431
  publishPost(requestParameters, options) {
432
432
  return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -436,6 +436,166 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
436
436
  }
437
437
  }
438
438
 
439
+ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
440
+ return {
441
+ draftSinglePage: async (singlePageRequest, options = {}) => {
442
+ assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
443
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
444
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
445
+ let baseOptions;
446
+ if (configuration) {
447
+ baseOptions = configuration.baseOptions;
448
+ }
449
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
450
+ const localVarHeaderParameter = {};
451
+ const localVarQueryParameter = {};
452
+ setBasicAuthToObject(localVarRequestOptions, configuration);
453
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
454
+ localVarHeaderParameter["Content-Type"] = "application/json";
455
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
456
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
457
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
458
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
459
+ return {
460
+ url: toPathString(localVarUrlObj),
461
+ options: localVarRequestOptions
462
+ };
463
+ },
464
+ listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
465
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
466
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
467
+ let baseOptions;
468
+ if (configuration) {
469
+ baseOptions = configuration.baseOptions;
470
+ }
471
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
472
+ const localVarHeaderParameter = {};
473
+ const localVarQueryParameter = {};
474
+ setBasicAuthToObject(localVarRequestOptions, configuration);
475
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
476
+ if (contributors) {
477
+ localVarQueryParameter["contributors"] = Array.from(contributors);
478
+ }
479
+ if (size !== void 0) {
480
+ localVarQueryParameter["size"] = size;
481
+ }
482
+ if (labelSelector) {
483
+ localVarQueryParameter["labelSelector"] = labelSelector;
484
+ }
485
+ if (fieldSelector) {
486
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
487
+ }
488
+ if (page !== void 0) {
489
+ localVarQueryParameter["page"] = page;
490
+ }
491
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
492
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
493
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
494
+ return {
495
+ url: toPathString(localVarUrlObj),
496
+ options: localVarRequestOptions
497
+ };
498
+ },
499
+ publishSinglePage: async (name, options = {}) => {
500
+ assertParamExists("publishSinglePage", "name", name);
501
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
502
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
503
+ let baseOptions;
504
+ if (configuration) {
505
+ baseOptions = configuration.baseOptions;
506
+ }
507
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
508
+ const localVarHeaderParameter = {};
509
+ const localVarQueryParameter = {};
510
+ setBasicAuthToObject(localVarRequestOptions, configuration);
511
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
512
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
513
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
514
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
515
+ return {
516
+ url: toPathString(localVarUrlObj),
517
+ options: localVarRequestOptions
518
+ };
519
+ },
520
+ updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
521
+ assertParamExists("updateDraftSinglePage", "name", name);
522
+ assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
523
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
524
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
525
+ let baseOptions;
526
+ if (configuration) {
527
+ baseOptions = configuration.baseOptions;
528
+ }
529
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
530
+ const localVarHeaderParameter = {};
531
+ const localVarQueryParameter = {};
532
+ setBasicAuthToObject(localVarRequestOptions, configuration);
533
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
534
+ localVarHeaderParameter["Content-Type"] = "application/json";
535
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
536
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
537
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
538
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
539
+ return {
540
+ url: toPathString(localVarUrlObj),
541
+ options: localVarRequestOptions
542
+ };
543
+ }
544
+ };
545
+ };
546
+ const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
547
+ const localVarAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
548
+ return {
549
+ async draftSinglePage(singlePageRequest, options) {
550
+ const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
551
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
552
+ },
553
+ async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
554
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
555
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
556
+ },
557
+ async publishSinglePage(name, options) {
558
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishSinglePage(name, options);
559
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
560
+ },
561
+ async updateDraftSinglePage(name, singlePageRequest, options) {
562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftSinglePage(name, singlePageRequest, options);
563
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
564
+ }
565
+ };
566
+ };
567
+ const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
568
+ const localVarFp = ApiHaloRunV1alpha1SinglePageApiFp(configuration);
569
+ return {
570
+ draftSinglePage(singlePageRequest, options) {
571
+ return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
572
+ },
573
+ listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
574
+ return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
575
+ },
576
+ publishSinglePage(name, options) {
577
+ return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
578
+ },
579
+ updateDraftSinglePage(name, singlePageRequest, options) {
580
+ return localVarFp.updateDraftSinglePage(name, singlePageRequest, options).then((request) => request(axios, basePath));
581
+ }
582
+ };
583
+ };
584
+ class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
585
+ draftSinglePage(requestParameters, options) {
586
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
587
+ }
588
+ listSinglePages(requestParameters = {}, options) {
589
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
590
+ }
591
+ publishSinglePage(requestParameters, options) {
592
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
593
+ }
594
+ updateDraftSinglePage(requestParameters, options) {
595
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
596
+ }
597
+ }
598
+
439
599
  const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
440
600
  return {
441
601
  installTheme: async (file, options = {}) => {
@@ -1380,10 +1540,10 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
1380
1540
  }
1381
1541
  }
1382
1542
 
1383
- const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
1543
+ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
1384
1544
  return {
1385
- createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
1386
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1545
+ createcontentHaloRunV1alpha1SinglePage: async (singlePage, options = {}) => {
1546
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
1387
1547
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1388
1548
  let baseOptions;
1389
1549
  if (configuration) {
@@ -1398,15 +1558,15 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1398
1558
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1399
1559
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1400
1560
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1401
- localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1561
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
1402
1562
  return {
1403
1563
  url: toPathString(localVarUrlObj),
1404
1564
  options: localVarRequestOptions
1405
1565
  };
1406
1566
  },
1407
- deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1408
- assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
1409
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1567
+ deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
1568
+ assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
1569
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1410
1570
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1411
1571
  let baseOptions;
1412
1572
  if (configuration) {
@@ -1425,9 +1585,959 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1425
1585
  options: localVarRequestOptions
1426
1586
  };
1427
1587
  },
1428
- getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1429
- assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
1430
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1588
+ getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
1589
+ assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
1590
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1591
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1592
+ let baseOptions;
1593
+ if (configuration) {
1594
+ baseOptions = configuration.baseOptions;
1595
+ }
1596
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1597
+ const localVarHeaderParameter = {};
1598
+ const localVarQueryParameter = {};
1599
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1600
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1601
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1602
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1603
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1604
+ return {
1605
+ url: toPathString(localVarUrlObj),
1606
+ options: localVarRequestOptions
1607
+ };
1608
+ },
1609
+ listcontentHaloRunV1alpha1SinglePage: async (page, size, labelSelector, fieldSelector, options = {}) => {
1610
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
1611
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1612
+ let baseOptions;
1613
+ if (configuration) {
1614
+ baseOptions = configuration.baseOptions;
1615
+ }
1616
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1617
+ const localVarHeaderParameter = {};
1618
+ const localVarQueryParameter = {};
1619
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1620
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1621
+ if (page !== void 0) {
1622
+ localVarQueryParameter["page"] = page;
1623
+ }
1624
+ if (size !== void 0) {
1625
+ localVarQueryParameter["size"] = size;
1626
+ }
1627
+ if (labelSelector) {
1628
+ localVarQueryParameter["labelSelector"] = labelSelector;
1629
+ }
1630
+ if (fieldSelector) {
1631
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1632
+ }
1633
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1634
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1635
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1636
+ return {
1637
+ url: toPathString(localVarUrlObj),
1638
+ options: localVarRequestOptions
1639
+ };
1640
+ },
1641
+ updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
1642
+ assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
1643
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1644
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1645
+ let baseOptions;
1646
+ if (configuration) {
1647
+ baseOptions = configuration.baseOptions;
1648
+ }
1649
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1650
+ const localVarHeaderParameter = {};
1651
+ const localVarQueryParameter = {};
1652
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1653
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1654
+ localVarHeaderParameter["Content-Type"] = "application/json";
1655
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1656
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1657
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1658
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
1659
+ return {
1660
+ url: toPathString(localVarUrlObj),
1661
+ options: localVarRequestOptions
1662
+ };
1663
+ }
1664
+ };
1665
+ };
1666
+ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
1667
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
1668
+ return {
1669
+ async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
1670
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(singlePage, options);
1671
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1672
+ },
1673
+ async deletecontentHaloRunV1alpha1SinglePage(name, options) {
1674
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1SinglePage(name, options);
1675
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1676
+ },
1677
+ async getcontentHaloRunV1alpha1SinglePage(name, options) {
1678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1SinglePage(name, options);
1679
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1680
+ },
1681
+ async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
1682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options);
1683
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1684
+ },
1685
+ async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
1686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options);
1687
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1688
+ }
1689
+ };
1690
+ };
1691
+ const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
1692
+ const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
1693
+ return {
1694
+ createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
1695
+ return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
1696
+ },
1697
+ deletecontentHaloRunV1alpha1SinglePage(name, options) {
1698
+ return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
1699
+ },
1700
+ getcontentHaloRunV1alpha1SinglePage(name, options) {
1701
+ return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
1702
+ },
1703
+ listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
1704
+ return localVarFp.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1705
+ },
1706
+ updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
1707
+ return localVarFp.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options).then((request) => request(axios, basePath));
1708
+ }
1709
+ };
1710
+ };
1711
+ class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
1712
+ createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
1713
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
1714
+ }
1715
+ deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
1716
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1717
+ }
1718
+ getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
1719
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1720
+ }
1721
+ listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
1722
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1723
+ }
1724
+ updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
1725
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
1726
+ }
1727
+ }
1728
+
1729
+ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
1730
+ return {
1731
+ createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
1732
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1733
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1734
+ let baseOptions;
1735
+ if (configuration) {
1736
+ baseOptions = configuration.baseOptions;
1737
+ }
1738
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1739
+ const localVarHeaderParameter = {};
1740
+ const localVarQueryParameter = {};
1741
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1742
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1743
+ localVarHeaderParameter["Content-Type"] = "application/json";
1744
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1745
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1746
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1747
+ localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1748
+ return {
1749
+ url: toPathString(localVarUrlObj),
1750
+ options: localVarRequestOptions
1751
+ };
1752
+ },
1753
+ deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1754
+ assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
1755
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1756
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1757
+ let baseOptions;
1758
+ if (configuration) {
1759
+ baseOptions = configuration.baseOptions;
1760
+ }
1761
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1762
+ const localVarHeaderParameter = {};
1763
+ const localVarQueryParameter = {};
1764
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1765
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1766
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1767
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1768
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1769
+ return {
1770
+ url: toPathString(localVarUrlObj),
1771
+ options: localVarRequestOptions
1772
+ };
1773
+ },
1774
+ getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1775
+ assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
1776
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1777
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1778
+ let baseOptions;
1779
+ if (configuration) {
1780
+ baseOptions = configuration.baseOptions;
1781
+ }
1782
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1783
+ const localVarHeaderParameter = {};
1784
+ const localVarQueryParameter = {};
1785
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1786
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1787
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1788
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1789
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1790
+ return {
1791
+ url: toPathString(localVarUrlObj),
1792
+ options: localVarRequestOptions
1793
+ };
1794
+ },
1795
+ listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
1796
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1797
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1798
+ let baseOptions;
1799
+ if (configuration) {
1800
+ baseOptions = configuration.baseOptions;
1801
+ }
1802
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1803
+ const localVarHeaderParameter = {};
1804
+ const localVarQueryParameter = {};
1805
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1806
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1807
+ if (page !== void 0) {
1808
+ localVarQueryParameter["page"] = page;
1809
+ }
1810
+ if (size !== void 0) {
1811
+ localVarQueryParameter["size"] = size;
1812
+ }
1813
+ if (labelSelector) {
1814
+ localVarQueryParameter["labelSelector"] = labelSelector;
1815
+ }
1816
+ if (fieldSelector) {
1817
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1818
+ }
1819
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1820
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1821
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1822
+ return {
1823
+ url: toPathString(localVarUrlObj),
1824
+ options: localVarRequestOptions
1825
+ };
1826
+ },
1827
+ updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
1828
+ assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
1829
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1830
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1831
+ let baseOptions;
1832
+ if (configuration) {
1833
+ baseOptions = configuration.baseOptions;
1834
+ }
1835
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1836
+ const localVarHeaderParameter = {};
1837
+ const localVarQueryParameter = {};
1838
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1839
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1840
+ localVarHeaderParameter["Content-Type"] = "application/json";
1841
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1842
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1843
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1844
+ localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1845
+ return {
1846
+ url: toPathString(localVarUrlObj),
1847
+ options: localVarRequestOptions
1848
+ };
1849
+ }
1850
+ };
1851
+ };
1852
+ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
1853
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
1854
+ return {
1855
+ async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1856
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
1857
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1858
+ },
1859
+ async deletecontentHaloRunV1alpha1Snapshot(name, options) {
1860
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
1861
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1862
+ },
1863
+ async getcontentHaloRunV1alpha1Snapshot(name, options) {
1864
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
1865
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1866
+ },
1867
+ async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
1869
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1870
+ },
1871
+ async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
1873
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1874
+ }
1875
+ };
1876
+ };
1877
+ const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
1878
+ const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
1879
+ return {
1880
+ createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1881
+ return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
1882
+ },
1883
+ deletecontentHaloRunV1alpha1Snapshot(name, options) {
1884
+ return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
1885
+ },
1886
+ getcontentHaloRunV1alpha1Snapshot(name, options) {
1887
+ return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
1888
+ },
1889
+ listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1890
+ return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1891
+ },
1892
+ updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1893
+ return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
1894
+ }
1895
+ };
1896
+ };
1897
+ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
1898
+ createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1899
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
1900
+ }
1901
+ deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1902
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1903
+ }
1904
+ getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1905
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1906
+ }
1907
+ listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1908
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1909
+ }
1910
+ updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1911
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
1912
+ }
1913
+ }
1914
+
1915
+ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1916
+ return {
1917
+ createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
1918
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
1919
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1920
+ let baseOptions;
1921
+ if (configuration) {
1922
+ baseOptions = configuration.baseOptions;
1923
+ }
1924
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1925
+ const localVarHeaderParameter = {};
1926
+ const localVarQueryParameter = {};
1927
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1928
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1929
+ localVarHeaderParameter["Content-Type"] = "application/json";
1930
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1931
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1932
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1933
+ localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
1934
+ return {
1935
+ url: toPathString(localVarUrlObj),
1936
+ options: localVarRequestOptions
1937
+ };
1938
+ },
1939
+ deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1940
+ assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
1941
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1942
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1943
+ let baseOptions;
1944
+ if (configuration) {
1945
+ baseOptions = configuration.baseOptions;
1946
+ }
1947
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1948
+ const localVarHeaderParameter = {};
1949
+ const localVarQueryParameter = {};
1950
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1951
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1952
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1953
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1954
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1955
+ return {
1956
+ url: toPathString(localVarUrlObj),
1957
+ options: localVarRequestOptions
1958
+ };
1959
+ },
1960
+ getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1961
+ assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
1962
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1963
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1964
+ let baseOptions;
1965
+ if (configuration) {
1966
+ baseOptions = configuration.baseOptions;
1967
+ }
1968
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1969
+ const localVarHeaderParameter = {};
1970
+ const localVarQueryParameter = {};
1971
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1972
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1973
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1974
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1975
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1976
+ return {
1977
+ url: toPathString(localVarUrlObj),
1978
+ options: localVarRequestOptions
1979
+ };
1980
+ },
1981
+ listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
1982
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
1983
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1984
+ let baseOptions;
1985
+ if (configuration) {
1986
+ baseOptions = configuration.baseOptions;
1987
+ }
1988
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1989
+ const localVarHeaderParameter = {};
1990
+ const localVarQueryParameter = {};
1991
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1992
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1993
+ if (page !== void 0) {
1994
+ localVarQueryParameter["page"] = page;
1995
+ }
1996
+ if (size !== void 0) {
1997
+ localVarQueryParameter["size"] = size;
1998
+ }
1999
+ if (labelSelector) {
2000
+ localVarQueryParameter["labelSelector"] = labelSelector;
2001
+ }
2002
+ if (fieldSelector) {
2003
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2004
+ }
2005
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2006
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2007
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2008
+ return {
2009
+ url: toPathString(localVarUrlObj),
2010
+ options: localVarRequestOptions
2011
+ };
2012
+ },
2013
+ updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
2014
+ assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
2015
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2016
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2017
+ let baseOptions;
2018
+ if (configuration) {
2019
+ baseOptions = configuration.baseOptions;
2020
+ }
2021
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2022
+ const localVarHeaderParameter = {};
2023
+ const localVarQueryParameter = {};
2024
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2025
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2026
+ localVarHeaderParameter["Content-Type"] = "application/json";
2027
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2028
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2029
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2030
+ localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
2031
+ return {
2032
+ url: toPathString(localVarUrlObj),
2033
+ options: localVarRequestOptions
2034
+ };
2035
+ }
2036
+ };
2037
+ };
2038
+ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
2039
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
2040
+ return {
2041
+ async createcontentHaloRunV1alpha1Tag(tag, options) {
2042
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
2043
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2044
+ },
2045
+ async deletecontentHaloRunV1alpha1Tag(name, options) {
2046
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
2047
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2048
+ },
2049
+ async getcontentHaloRunV1alpha1Tag(name, options) {
2050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
2051
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2052
+ },
2053
+ async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
2054
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
2055
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2056
+ },
2057
+ async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
2058
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
2059
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2060
+ }
2061
+ };
2062
+ };
2063
+ const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
2064
+ const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
2065
+ return {
2066
+ createcontentHaloRunV1alpha1Tag(tag, options) {
2067
+ return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
2068
+ },
2069
+ deletecontentHaloRunV1alpha1Tag(name, options) {
2070
+ return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2071
+ },
2072
+ getcontentHaloRunV1alpha1Tag(name, options) {
2073
+ return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2074
+ },
2075
+ listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
2076
+ return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2077
+ },
2078
+ updatecontentHaloRunV1alpha1Tag(name, tag, options) {
2079
+ return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
2080
+ }
2081
+ };
2082
+ };
2083
+ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
2084
+ createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
2085
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2086
+ }
2087
+ deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
2088
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2089
+ }
2090
+ getcontentHaloRunV1alpha1Tag(requestParameters, options) {
2091
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2092
+ }
2093
+ listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
2094
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2095
+ }
2096
+ updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
2097
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2098
+ }
2099
+ }
2100
+
2101
+ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2102
+ return {
2103
+ createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
2104
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2105
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2106
+ let baseOptions;
2107
+ if (configuration) {
2108
+ baseOptions = configuration.baseOptions;
2109
+ }
2110
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2111
+ const localVarHeaderParameter = {};
2112
+ const localVarQueryParameter = {};
2113
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2114
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2115
+ localVarHeaderParameter["Content-Type"] = "application/json";
2116
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2117
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2118
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2119
+ localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2120
+ return {
2121
+ url: toPathString(localVarUrlObj),
2122
+ options: localVarRequestOptions
2123
+ };
2124
+ },
2125
+ deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
2126
+ assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
2127
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2128
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2129
+ let baseOptions;
2130
+ if (configuration) {
2131
+ baseOptions = configuration.baseOptions;
2132
+ }
2133
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2134
+ const localVarHeaderParameter = {};
2135
+ const localVarQueryParameter = {};
2136
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2137
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2138
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2139
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2140
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2141
+ return {
2142
+ url: toPathString(localVarUrlObj),
2143
+ options: localVarRequestOptions
2144
+ };
2145
+ },
2146
+ getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
2147
+ assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
2148
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2149
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2150
+ let baseOptions;
2151
+ if (configuration) {
2152
+ baseOptions = configuration.baseOptions;
2153
+ }
2154
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2155
+ const localVarHeaderParameter = {};
2156
+ const localVarQueryParameter = {};
2157
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2158
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2159
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2160
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2161
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2162
+ return {
2163
+ url: toPathString(localVarUrlObj),
2164
+ options: localVarRequestOptions
2165
+ };
2166
+ },
2167
+ listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
2168
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2169
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2170
+ let baseOptions;
2171
+ if (configuration) {
2172
+ baseOptions = configuration.baseOptions;
2173
+ }
2174
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2175
+ const localVarHeaderParameter = {};
2176
+ const localVarQueryParameter = {};
2177
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2178
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2179
+ if (page !== void 0) {
2180
+ localVarQueryParameter["page"] = page;
2181
+ }
2182
+ if (size !== void 0) {
2183
+ localVarQueryParameter["size"] = size;
2184
+ }
2185
+ if (labelSelector) {
2186
+ localVarQueryParameter["labelSelector"] = labelSelector;
2187
+ }
2188
+ if (fieldSelector) {
2189
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2190
+ }
2191
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2192
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2193
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2194
+ return {
2195
+ url: toPathString(localVarUrlObj),
2196
+ options: localVarRequestOptions
2197
+ };
2198
+ },
2199
+ updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
2200
+ assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
2201
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2202
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2203
+ let baseOptions;
2204
+ if (configuration) {
2205
+ baseOptions = configuration.baseOptions;
2206
+ }
2207
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2208
+ const localVarHeaderParameter = {};
2209
+ const localVarQueryParameter = {};
2210
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2211
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2212
+ localVarHeaderParameter["Content-Type"] = "application/json";
2213
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2214
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2215
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2216
+ localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2217
+ return {
2218
+ url: toPathString(localVarUrlObj),
2219
+ options: localVarRequestOptions
2220
+ };
2221
+ }
2222
+ };
2223
+ };
2224
+ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
2225
+ const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
2226
+ return {
2227
+ async createpluginHaloRunV1alpha1Plugin(plugin, options) {
2228
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
2229
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2230
+ },
2231
+ async deletepluginHaloRunV1alpha1Plugin(name, options) {
2232
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
2233
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2234
+ },
2235
+ async getpluginHaloRunV1alpha1Plugin(name, options) {
2236
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
2237
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2238
+ },
2239
+ async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
2241
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2242
+ },
2243
+ async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2244
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
2245
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2246
+ }
2247
+ };
2248
+ };
2249
+ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
2250
+ const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
2251
+ return {
2252
+ createpluginHaloRunV1alpha1Plugin(plugin, options) {
2253
+ return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
2254
+ },
2255
+ deletepluginHaloRunV1alpha1Plugin(name, options) {
2256
+ return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2257
+ },
2258
+ getpluginHaloRunV1alpha1Plugin(name, options) {
2259
+ return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2260
+ },
2261
+ listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2262
+ return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2263
+ },
2264
+ updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2265
+ return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
2266
+ }
2267
+ };
2268
+ };
2269
+ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
2270
+ createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
2271
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
2272
+ }
2273
+ deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
2274
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2275
+ }
2276
+ getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
2277
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2278
+ }
2279
+ listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
2280
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2281
+ }
2282
+ updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
2283
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
2284
+ }
2285
+ }
2286
+
2287
+ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
2288
+ return {
2289
+ createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
2290
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2291
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2292
+ let baseOptions;
2293
+ if (configuration) {
2294
+ baseOptions = configuration.baseOptions;
2295
+ }
2296
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2297
+ const localVarHeaderParameter = {};
2298
+ const localVarQueryParameter = {};
2299
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2300
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2301
+ localVarHeaderParameter["Content-Type"] = "application/json";
2302
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2303
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2304
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2305
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2306
+ return {
2307
+ url: toPathString(localVarUrlObj),
2308
+ options: localVarRequestOptions
2309
+ };
2310
+ },
2311
+ deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
2312
+ assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
2313
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2314
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2315
+ let baseOptions;
2316
+ if (configuration) {
2317
+ baseOptions = configuration.baseOptions;
2318
+ }
2319
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2320
+ const localVarHeaderParameter = {};
2321
+ const localVarQueryParameter = {};
2322
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2323
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2324
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2325
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2326
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2327
+ return {
2328
+ url: toPathString(localVarUrlObj),
2329
+ options: localVarRequestOptions
2330
+ };
2331
+ },
2332
+ getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
2333
+ assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
2334
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2335
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2336
+ let baseOptions;
2337
+ if (configuration) {
2338
+ baseOptions = configuration.baseOptions;
2339
+ }
2340
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2341
+ const localVarHeaderParameter = {};
2342
+ const localVarQueryParameter = {};
2343
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2344
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2345
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2346
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2347
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2348
+ return {
2349
+ url: toPathString(localVarUrlObj),
2350
+ options: localVarRequestOptions
2351
+ };
2352
+ },
2353
+ listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
2354
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2355
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2356
+ let baseOptions;
2357
+ if (configuration) {
2358
+ baseOptions = configuration.baseOptions;
2359
+ }
2360
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2361
+ const localVarHeaderParameter = {};
2362
+ const localVarQueryParameter = {};
2363
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2364
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2365
+ if (page !== void 0) {
2366
+ localVarQueryParameter["page"] = page;
2367
+ }
2368
+ if (size !== void 0) {
2369
+ localVarQueryParameter["size"] = size;
2370
+ }
2371
+ if (labelSelector) {
2372
+ localVarQueryParameter["labelSelector"] = labelSelector;
2373
+ }
2374
+ if (fieldSelector) {
2375
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2376
+ }
2377
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2378
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2379
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2380
+ return {
2381
+ url: toPathString(localVarUrlObj),
2382
+ options: localVarRequestOptions
2383
+ };
2384
+ },
2385
+ updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
2386
+ assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
2387
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2388
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2389
+ let baseOptions;
2390
+ if (configuration) {
2391
+ baseOptions = configuration.baseOptions;
2392
+ }
2393
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2394
+ const localVarHeaderParameter = {};
2395
+ const localVarQueryParameter = {};
2396
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2397
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2398
+ localVarHeaderParameter["Content-Type"] = "application/json";
2399
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2400
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2401
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2402
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2403
+ return {
2404
+ url: toPathString(localVarUrlObj),
2405
+ options: localVarRequestOptions
2406
+ };
2407
+ }
2408
+ };
2409
+ };
2410
+ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
2411
+ const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
2412
+ return {
2413
+ async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2414
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
2415
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2416
+ },
2417
+ async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2418
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
2419
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2420
+ },
2421
+ async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
2423
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2424
+ },
2425
+ async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2426
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
2427
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2428
+ },
2429
+ async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
2431
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2432
+ }
2433
+ };
2434
+ };
2435
+ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
2436
+ const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
2437
+ return {
2438
+ createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2439
+ return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
2440
+ },
2441
+ deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2442
+ return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
2443
+ },
2444
+ getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2445
+ return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
2446
+ },
2447
+ listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2448
+ return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2449
+ },
2450
+ updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2451
+ return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
2452
+ }
2453
+ };
2454
+ };
2455
+ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
2456
+ createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2457
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
2458
+ }
2459
+ deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2460
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2461
+ }
2462
+ getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2463
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2464
+ }
2465
+ listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2466
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2467
+ }
2468
+ updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2469
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
2470
+ }
2471
+ }
2472
+
2473
+ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
2474
+ return {
2475
+ createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
2476
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
2477
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2478
+ let baseOptions;
2479
+ if (configuration) {
2480
+ baseOptions = configuration.baseOptions;
2481
+ }
2482
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2483
+ const localVarHeaderParameter = {};
2484
+ const localVarQueryParameter = {};
2485
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2486
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2487
+ localVarHeaderParameter["Content-Type"] = "application/json";
2488
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2489
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2490
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2491
+ localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
2492
+ return {
2493
+ url: toPathString(localVarUrlObj),
2494
+ options: localVarRequestOptions
2495
+ };
2496
+ },
2497
+ deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
2498
+ assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
2499
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2500
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2501
+ let baseOptions;
2502
+ if (configuration) {
2503
+ baseOptions = configuration.baseOptions;
2504
+ }
2505
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2506
+ const localVarHeaderParameter = {};
2507
+ const localVarQueryParameter = {};
2508
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2509
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2510
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2511
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2512
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2513
+ return {
2514
+ url: toPathString(localVarUrlObj),
2515
+ options: localVarRequestOptions
2516
+ };
2517
+ },
2518
+ getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
2519
+ assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
2520
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2521
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2522
+ let baseOptions;
2523
+ if (configuration) {
2524
+ baseOptions = configuration.baseOptions;
2525
+ }
2526
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2527
+ const localVarHeaderParameter = {};
2528
+ const localVarQueryParameter = {};
2529
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2530
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2531
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2532
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2533
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2534
+ return {
2535
+ url: toPathString(localVarUrlObj),
2536
+ options: localVarRequestOptions
2537
+ };
2538
+ },
2539
+ liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
2540
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
1431
2541
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1432
2542
  let baseOptions;
1433
2543
  if (configuration) {
@@ -1438,6 +2548,18 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1438
2548
  const localVarQueryParameter = {};
1439
2549
  setBasicAuthToObject(localVarRequestOptions, configuration);
1440
2550
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
2551
+ if (page !== void 0) {
2552
+ localVarQueryParameter["page"] = page;
2553
+ }
2554
+ if (size !== void 0) {
2555
+ localVarQueryParameter["size"] = size;
2556
+ }
2557
+ if (labelSelector) {
2558
+ localVarQueryParameter["labelSelector"] = labelSelector;
2559
+ }
2560
+ if (fieldSelector) {
2561
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2562
+ }
1441
2563
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1442
2564
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1443
2565
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1446,8 +2568,8 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1446
2568
  options: localVarRequestOptions
1447
2569
  };
1448
2570
  },
1449
- listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
1450
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
2571
+ searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2572
+ const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
1451
2573
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1452
2574
  let baseOptions;
1453
2575
  if (configuration) {
@@ -1458,8 +2580,17 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1458
2580
  const localVarQueryParameter = {};
1459
2581
  setBasicAuthToObject(localVarRequestOptions, configuration);
1460
2582
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
1461
- if (page !== void 0) {
1462
- localVarQueryParameter["page"] = page;
2583
+ if (policy !== void 0) {
2584
+ localVarQueryParameter["policy"] = policy;
2585
+ }
2586
+ if (displayName !== void 0) {
2587
+ localVarQueryParameter["displayName"] = displayName;
2588
+ }
2589
+ if (uploadedBy !== void 0) {
2590
+ localVarQueryParameter["uploadedBy"] = uploadedBy;
2591
+ }
2592
+ if (group !== void 0) {
2593
+ localVarQueryParameter["group"] = group;
1463
2594
  }
1464
2595
  if (size !== void 0) {
1465
2596
  localVarQueryParameter["size"] = size;
@@ -1470,6 +2601,9 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1470
2601
  if (fieldSelector) {
1471
2602
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1472
2603
  }
2604
+ if (page !== void 0) {
2605
+ localVarQueryParameter["page"] = page;
2606
+ }
1473
2607
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1474
2608
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1475
2609
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1478,9 +2612,9 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1478
2612
  options: localVarRequestOptions
1479
2613
  };
1480
2614
  },
1481
- updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
1482
- assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
1483
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2615
+ updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
2616
+ assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
2617
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1484
2618
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1485
2619
  let baseOptions;
1486
2620
  if (configuration) {
@@ -1495,7 +2629,41 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1495
2629
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1496
2630
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1497
2631
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1498
- localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
2632
+ localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
2633
+ return {
2634
+ url: toPathString(localVarUrlObj),
2635
+ options: localVarRequestOptions
2636
+ };
2637
+ },
2638
+ uploadAttachment: async (file, policyName, groupName, options = {}) => {
2639
+ assertParamExists("uploadAttachment", "file", file);
2640
+ assertParamExists("uploadAttachment", "policyName", policyName);
2641
+ const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
2642
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2643
+ let baseOptions;
2644
+ if (configuration) {
2645
+ baseOptions = configuration.baseOptions;
2646
+ }
2647
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2648
+ const localVarHeaderParameter = {};
2649
+ const localVarQueryParameter = {};
2650
+ const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
2651
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2652
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2653
+ if (file !== void 0) {
2654
+ localVarFormParams.append("file", file);
2655
+ }
2656
+ if (policyName !== void 0) {
2657
+ localVarFormParams.append("policyName", policyName);
2658
+ }
2659
+ if (groupName !== void 0) {
2660
+ localVarFormParams.append("groupName", groupName);
2661
+ }
2662
+ localVarHeaderParameter["Content-Type"] = "multipart/form-data";
2663
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2664
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2665
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2666
+ localVarRequestOptions.data = localVarFormParams;
1499
2667
  return {
1500
2668
  url: toPathString(localVarUrlObj),
1501
2669
  options: localVarRequestOptions
@@ -1503,73 +2671,93 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1503
2671
  }
1504
2672
  };
1505
2673
  };
1506
- const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
1507
- const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
2674
+ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2675
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
1508
2676
  return {
1509
- async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1510
- const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
2677
+ async createstorageHaloRunV1alpha1Attachment(attachment, options) {
2678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
1511
2679
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1512
2680
  },
1513
- async deletecontentHaloRunV1alpha1Snapshot(name, options) {
1514
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
2681
+ async deletestorageHaloRunV1alpha1Attachment(name, options) {
2682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
1515
2683
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1516
2684
  },
1517
- async getcontentHaloRunV1alpha1Snapshot(name, options) {
1518
- const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
2685
+ async getstorageHaloRunV1alpha1Attachment(name, options) {
2686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
1519
2687
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1520
2688
  },
1521
- async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1522
- const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
2689
+ async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
1523
2691
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1524
2692
  },
1525
- async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1526
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
2693
+ async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2694
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
2695
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2696
+ },
2697
+ async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2698
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
2699
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2700
+ },
2701
+ async uploadAttachment(file, policyName, groupName, options) {
2702
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
1527
2703
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1528
2704
  }
1529
2705
  };
1530
2706
  };
1531
- const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
1532
- const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
2707
+ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
2708
+ const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
1533
2709
  return {
1534
- createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1535
- return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
2710
+ createstorageHaloRunV1alpha1Attachment(attachment, options) {
2711
+ return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
1536
2712
  },
1537
- deletecontentHaloRunV1alpha1Snapshot(name, options) {
1538
- return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
2713
+ deletestorageHaloRunV1alpha1Attachment(name, options) {
2714
+ return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
1539
2715
  },
1540
- getcontentHaloRunV1alpha1Snapshot(name, options) {
1541
- return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
2716
+ getstorageHaloRunV1alpha1Attachment(name, options) {
2717
+ return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
1542
2718
  },
1543
- listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1544
- return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2719
+ liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2720
+ return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1545
2721
  },
1546
- updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1547
- return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
2722
+ searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2723
+ return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
2724
+ },
2725
+ updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2726
+ return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
2727
+ },
2728
+ uploadAttachment(file, policyName, groupName, options) {
2729
+ return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
1548
2730
  }
1549
2731
  };
1550
2732
  };
1551
- class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
1552
- createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1553
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
2733
+ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2734
+ createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
2735
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
1554
2736
  }
1555
- deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1556
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2737
+ deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2738
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1557
2739
  }
1558
- getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1559
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2740
+ getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
2741
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1560
2742
  }
1561
- listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1562
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2743
+ liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
2744
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1563
2745
  }
1564
- updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1565
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
2746
+ searchAttachments(requestParameters = {}, options) {
2747
+ 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));
2748
+ }
2749
+ updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2750
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
2751
+ }
2752
+ uploadAttachment(requestParameters, options) {
2753
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
1566
2754
  }
1567
2755
  }
1568
2756
 
1569
- const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
2757
+ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
1570
2758
  return {
1571
- createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
1572
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
2759
+ createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
2760
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
1573
2761
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1574
2762
  let baseOptions;
1575
2763
  if (configuration) {
@@ -1584,15 +2772,15 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1584
2772
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1585
2773
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1586
2774
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1587
- localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
2775
+ localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
1588
2776
  return {
1589
2777
  url: toPathString(localVarUrlObj),
1590
2778
  options: localVarRequestOptions
1591
2779
  };
1592
2780
  },
1593
- deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1594
- assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
1595
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2781
+ deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
2782
+ assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
2783
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1596
2784
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1597
2785
  let baseOptions;
1598
2786
  if (configuration) {
@@ -1611,9 +2799,9 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1611
2799
  options: localVarRequestOptions
1612
2800
  };
1613
2801
  },
1614
- getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1615
- assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
1616
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2802
+ getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
2803
+ assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
2804
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1617
2805
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1618
2806
  let baseOptions;
1619
2807
  if (configuration) {
@@ -1632,8 +2820,8 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1632
2820
  options: localVarRequestOptions
1633
2821
  };
1634
2822
  },
1635
- listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
1636
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
2823
+ liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
2824
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
1637
2825
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1638
2826
  let baseOptions;
1639
2827
  if (configuration) {
@@ -1664,9 +2852,9 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1664
2852
  options: localVarRequestOptions
1665
2853
  };
1666
2854
  },
1667
- updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
1668
- assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
1669
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2855
+ updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
2856
+ assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
2857
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1670
2858
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1671
2859
  let baseOptions;
1672
2860
  if (configuration) {
@@ -1681,7 +2869,7 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1681
2869
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1682
2870
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1683
2871
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1684
- localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
2872
+ localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
1685
2873
  return {
1686
2874
  url: toPathString(localVarUrlObj),
1687
2875
  options: localVarRequestOptions
@@ -1689,73 +2877,73 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1689
2877
  }
1690
2878
  };
1691
2879
  };
1692
- const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
1693
- const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
2880
+ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
2881
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
1694
2882
  return {
1695
- async createcontentHaloRunV1alpha1Tag(tag, options) {
1696
- const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
2883
+ async createstorageHaloRunV1alpha1Group(group, options) {
2884
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
1697
2885
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1698
2886
  },
1699
- async deletecontentHaloRunV1alpha1Tag(name, options) {
1700
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
2887
+ async deletestorageHaloRunV1alpha1Group(name, options) {
2888
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
1701
2889
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1702
2890
  },
1703
- async getcontentHaloRunV1alpha1Tag(name, options) {
1704
- const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
2891
+ async getstorageHaloRunV1alpha1Group(name, options) {
2892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
1705
2893
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1706
2894
  },
1707
- async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1708
- const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
2895
+ async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2896
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
1709
2897
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1710
2898
  },
1711
- async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1712
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
2899
+ async updatestorageHaloRunV1alpha1Group(name, group, options) {
2900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
1713
2901
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1714
2902
  }
1715
2903
  };
1716
2904
  };
1717
- const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
1718
- const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
2905
+ const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
2906
+ const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
1719
2907
  return {
1720
- createcontentHaloRunV1alpha1Tag(tag, options) {
1721
- return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
2908
+ createstorageHaloRunV1alpha1Group(group, options) {
2909
+ return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
1722
2910
  },
1723
- deletecontentHaloRunV1alpha1Tag(name, options) {
1724
- return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2911
+ deletestorageHaloRunV1alpha1Group(name, options) {
2912
+ return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
1725
2913
  },
1726
- getcontentHaloRunV1alpha1Tag(name, options) {
1727
- return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2914
+ getstorageHaloRunV1alpha1Group(name, options) {
2915
+ return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
1728
2916
  },
1729
- listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1730
- return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2917
+ liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2918
+ return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1731
2919
  },
1732
- updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1733
- return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
2920
+ updatestorageHaloRunV1alpha1Group(name, group, options) {
2921
+ return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
1734
2922
  }
1735
2923
  };
1736
2924
  };
1737
- class ContentHaloRunV1alpha1TagApi extends BaseAPI {
1738
- createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
1739
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2925
+ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
2926
+ createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
2927
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(this.axios, this.basePath));
1740
2928
  }
1741
- deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
1742
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2929
+ deletestorageHaloRunV1alpha1Group(requestParameters, options) {
2930
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1743
2931
  }
1744
- getcontentHaloRunV1alpha1Tag(requestParameters, options) {
1745
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2932
+ getstorageHaloRunV1alpha1Group(requestParameters, options) {
2933
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1746
2934
  }
1747
- listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
1748
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2935
+ liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
2936
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1749
2937
  }
1750
- updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
1751
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2938
+ updatestorageHaloRunV1alpha1Group(requestParameters, options) {
2939
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
1752
2940
  }
1753
2941
  }
1754
2942
 
1755
- const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2943
+ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
1756
2944
  return {
1757
- createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
1758
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2945
+ createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
2946
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
1759
2947
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1760
2948
  let baseOptions;
1761
2949
  if (configuration) {
@@ -1770,15 +2958,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1770
2958
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1771
2959
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1772
2960
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1773
- localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2961
+ localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
1774
2962
  return {
1775
2963
  url: toPathString(localVarUrlObj),
1776
2964
  options: localVarRequestOptions
1777
2965
  };
1778
2966
  },
1779
- deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
1780
- assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
1781
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2967
+ deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
2968
+ assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
2969
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1782
2970
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1783
2971
  let baseOptions;
1784
2972
  if (configuration) {
@@ -1797,9 +2985,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1797
2985
  options: localVarRequestOptions
1798
2986
  };
1799
2987
  },
1800
- getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
1801
- assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
1802
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2988
+ getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
2989
+ assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
2990
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1803
2991
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1804
2992
  let baseOptions;
1805
2993
  if (configuration) {
@@ -1818,8 +3006,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1818
3006
  options: localVarRequestOptions
1819
3007
  };
1820
3008
  },
1821
- listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
1822
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
3009
+ liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
3010
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
1823
3011
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1824
3012
  let baseOptions;
1825
3013
  if (configuration) {
@@ -1850,9 +3038,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1850
3038
  options: localVarRequestOptions
1851
3039
  };
1852
3040
  },
1853
- updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
1854
- assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
1855
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3041
+ updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
3042
+ assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
3043
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1856
3044
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1857
3045
  let baseOptions;
1858
3046
  if (configuration) {
@@ -1867,7 +3055,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1867
3055
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1868
3056
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1869
3057
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1870
- localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
3058
+ localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
1871
3059
  return {
1872
3060
  url: toPathString(localVarUrlObj),
1873
3061
  options: localVarRequestOptions
@@ -1875,73 +3063,73 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1875
3063
  }
1876
3064
  };
1877
3065
  };
1878
- const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
1879
- const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
3066
+ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
3067
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
1880
3068
  return {
1881
- async createpluginHaloRunV1alpha1Plugin(plugin, options) {
1882
- const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
3069
+ async createstorageHaloRunV1alpha1Policy(policy, options) {
3070
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
1883
3071
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1884
3072
  },
1885
- async deletepluginHaloRunV1alpha1Plugin(name, options) {
1886
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
3073
+ async deletestorageHaloRunV1alpha1Policy(name, options) {
3074
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
1887
3075
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1888
3076
  },
1889
- async getpluginHaloRunV1alpha1Plugin(name, options) {
1890
- const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
3077
+ async getstorageHaloRunV1alpha1Policy(name, options) {
3078
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
1891
3079
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1892
3080
  },
1893
- async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
1894
- const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
3081
+ async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3082
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
1895
3083
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1896
3084
  },
1897
- async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
1898
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
3085
+ async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
1899
3087
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
1900
3088
  }
1901
3089
  };
1902
3090
  };
1903
- const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
1904
- const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
3091
+ const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
3092
+ const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
1905
3093
  return {
1906
- createpluginHaloRunV1alpha1Plugin(plugin, options) {
1907
- return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
3094
+ createstorageHaloRunV1alpha1Policy(policy, options) {
3095
+ return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
1908
3096
  },
1909
- deletepluginHaloRunV1alpha1Plugin(name, options) {
1910
- return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
3097
+ deletestorageHaloRunV1alpha1Policy(name, options) {
3098
+ return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
1911
3099
  },
1912
- getpluginHaloRunV1alpha1Plugin(name, options) {
1913
- return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
3100
+ getstorageHaloRunV1alpha1Policy(name, options) {
3101
+ return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
1914
3102
  },
1915
- listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
1916
- return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3103
+ liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3104
+ return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1917
3105
  },
1918
- updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
1919
- return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
3106
+ updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3107
+ return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
1920
3108
  }
1921
3109
  };
1922
3110
  };
1923
- class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
1924
- createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
1925
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
3111
+ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
3112
+ createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
3113
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
1926
3114
  }
1927
- deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
1928
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3115
+ deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
3116
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1929
3117
  }
1930
- getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
1931
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3118
+ getstorageHaloRunV1alpha1Policy(requestParameters, options) {
3119
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1932
3120
  }
1933
- listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
1934
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3121
+ liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
3122
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1935
3123
  }
1936
- updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
1937
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
3124
+ updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
3125
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
1938
3126
  }
1939
3127
  }
1940
3128
 
1941
- const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
3129
+ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
1942
3130
  return {
1943
- createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
1944
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
3131
+ createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
3132
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
1945
3133
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1946
3134
  let baseOptions;
1947
3135
  if (configuration) {
@@ -1956,15 +3144,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1956
3144
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1957
3145
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1958
3146
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1959
- localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
3147
+ localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
1960
3148
  return {
1961
3149
  url: toPathString(localVarUrlObj),
1962
3150
  options: localVarRequestOptions
1963
3151
  };
1964
3152
  },
1965
- deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
1966
- assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
1967
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3153
+ deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
3154
+ assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
3155
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1968
3156
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1969
3157
  let baseOptions;
1970
3158
  if (configuration) {
@@ -1983,9 +3171,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1983
3171
  options: localVarRequestOptions
1984
3172
  };
1985
3173
  },
1986
- getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
1987
- assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
1988
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3174
+ getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
3175
+ assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
3176
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1989
3177
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1990
3178
  let baseOptions;
1991
3179
  if (configuration) {
@@ -2004,8 +3192,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2004
3192
  options: localVarRequestOptions
2005
3193
  };
2006
3194
  },
2007
- listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
2008
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
3195
+ liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
3196
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
2009
3197
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2010
3198
  let baseOptions;
2011
3199
  if (configuration) {
@@ -2036,9 +3224,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2036
3224
  options: localVarRequestOptions
2037
3225
  };
2038
3226
  },
2039
- updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
2040
- assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
2041
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3227
+ updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
3228
+ assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
3229
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2042
3230
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2043
3231
  let baseOptions;
2044
3232
  if (configuration) {
@@ -2053,7 +3241,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2053
3241
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2054
3242
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2055
3243
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2056
- localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
3244
+ localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
2057
3245
  return {
2058
3246
  url: toPathString(localVarUrlObj),
2059
3247
  options: localVarRequestOptions
@@ -2061,66 +3249,66 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2061
3249
  }
2062
3250
  };
2063
3251
  };
2064
- const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
2065
- const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
3252
+ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
3253
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
2066
3254
  return {
2067
- async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2068
- const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
3255
+ async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3256
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
2069
3257
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2070
3258
  },
2071
- async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2072
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
3259
+ async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3260
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
2073
3261
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2074
3262
  },
2075
- async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2076
- const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
3263
+ async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3264
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
2077
3265
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2078
3266
  },
2079
- async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2080
- const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
3267
+ async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3268
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
2081
3269
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2082
3270
  },
2083
- async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2084
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
3271
+ async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3272
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
2085
3273
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
2086
3274
  }
2087
3275
  };
2088
3276
  };
2089
- const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
2090
- const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
3277
+ const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
3278
+ const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
2091
3279
  return {
2092
- createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2093
- return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
3280
+ createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3281
+ return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
2094
3282
  },
2095
- deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2096
- return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
3283
+ deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3284
+ return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
2097
3285
  },
2098
- getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2099
- return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
3286
+ getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3287
+ return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
2100
3288
  },
2101
- listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2102
- return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3289
+ liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3290
+ return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2103
3291
  },
2104
- updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2105
- return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
3292
+ updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3293
+ return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
2106
3294
  }
2107
3295
  };
2108
3296
  };
2109
- class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
2110
- createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2111
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
3297
+ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
3298
+ createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
3299
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
2112
3300
  }
2113
- deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2114
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3301
+ deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
3302
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2115
3303
  }
2116
- getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2117
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3304
+ getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
3305
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2118
3306
  }
2119
- listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2120
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3307
+ liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
3308
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2121
3309
  }
2122
- updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2123
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
3310
+ updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
3311
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
2124
3312
  }
2125
3313
  }
2126
3314
 
@@ -3835,4 +5023,10 @@ const PostSpecVisibleEnum = {
3835
5023
  Private: "PRIVATE"
3836
5024
  };
3837
5025
 
3838
- export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };
5026
+ const SinglePageSpecVisibleEnum = {
5027
+ Public: "PUBLIC",
5028
+ Internal: "INTERNAL",
5029
+ Private: "PRIVATE"
5030
+ };
5031
+
5032
+ export { ApiHaloRunV1alpha1ContentApi, ApiHaloRunV1alpha1ContentApiAxiosParamCreator, ApiHaloRunV1alpha1ContentApiFactory, ApiHaloRunV1alpha1ContentApiFp, ApiHaloRunV1alpha1PluginApi, ApiHaloRunV1alpha1PluginApiAxiosParamCreator, ApiHaloRunV1alpha1PluginApiFactory, ApiHaloRunV1alpha1PluginApiFp, ApiHaloRunV1alpha1PostApi, ApiHaloRunV1alpha1PostApiAxiosParamCreator, ApiHaloRunV1alpha1PostApiFactory, ApiHaloRunV1alpha1PostApiFp, ApiHaloRunV1alpha1SinglePageApi, ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator, ApiHaloRunV1alpha1SinglePageApiFactory, ApiHaloRunV1alpha1SinglePageApiFp, ApiHaloRunV1alpha1ThemeApi, ApiHaloRunV1alpha1ThemeApiAxiosParamCreator, ApiHaloRunV1alpha1ThemeApiFactory, ApiHaloRunV1alpha1ThemeApiFp, ApiHaloRunV1alpha1UserApi, ApiHaloRunV1alpha1UserApiAxiosParamCreator, ApiHaloRunV1alpha1UserApiFactory, ApiHaloRunV1alpha1UserApiFp, ConditionStatusEnum, Configuration, ContentHaloRunV1alpha1CategoryApi, ContentHaloRunV1alpha1CategoryApiAxiosParamCreator, ContentHaloRunV1alpha1CategoryApiFactory, ContentHaloRunV1alpha1CategoryApiFp, ContentHaloRunV1alpha1CommentApi, ContentHaloRunV1alpha1CommentApiAxiosParamCreator, ContentHaloRunV1alpha1CommentApiFactory, ContentHaloRunV1alpha1CommentApiFp, ContentHaloRunV1alpha1PostApi, ContentHaloRunV1alpha1PostApiAxiosParamCreator, ContentHaloRunV1alpha1PostApiFactory, ContentHaloRunV1alpha1PostApiFp, ContentHaloRunV1alpha1ReplyApi, ContentHaloRunV1alpha1ReplyApiAxiosParamCreator, ContentHaloRunV1alpha1ReplyApiFactory, ContentHaloRunV1alpha1ReplyApiFp, ContentHaloRunV1alpha1SinglePageApi, ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator, ContentHaloRunV1alpha1SinglePageApiFactory, ContentHaloRunV1alpha1SinglePageApiFp, ContentHaloRunV1alpha1SnapshotApi, ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator, ContentHaloRunV1alpha1SnapshotApiFactory, ContentHaloRunV1alpha1SnapshotApiFp, ContentHaloRunV1alpha1TagApi, ContentHaloRunV1alpha1TagApiAxiosParamCreator, ContentHaloRunV1alpha1TagApiFactory, ContentHaloRunV1alpha1TagApiFp, PluginHaloRunV1alpha1PluginApi, PluginHaloRunV1alpha1PluginApiAxiosParamCreator, PluginHaloRunV1alpha1PluginApiFactory, PluginHaloRunV1alpha1PluginApiFp, PluginHaloRunV1alpha1ReverseProxyApi, PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator, PluginHaloRunV1alpha1ReverseProxyApiFactory, PluginHaloRunV1alpha1ReverseProxyApiFp, PluginStatusPhaseEnum, PostSpecVisibleEnum, SinglePageSpecVisibleEnum, StorageHaloRunV1alpha1AttachmentApi, StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator, StorageHaloRunV1alpha1AttachmentApiFactory, StorageHaloRunV1alpha1AttachmentApiFp, StorageHaloRunV1alpha1GroupApi, StorageHaloRunV1alpha1GroupApiAxiosParamCreator, StorageHaloRunV1alpha1GroupApiFactory, StorageHaloRunV1alpha1GroupApiFp, StorageHaloRunV1alpha1PolicyApi, StorageHaloRunV1alpha1PolicyApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyApiFactory, StorageHaloRunV1alpha1PolicyApiFp, StorageHaloRunV1alpha1PolicyTemplateApi, StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator, StorageHaloRunV1alpha1PolicyTemplateApiFactory, StorageHaloRunV1alpha1PolicyTemplateApiFp, ThemeHaloRunV1alpha1ThemeApi, ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator, ThemeHaloRunV1alpha1ThemeApiFactory, ThemeHaloRunV1alpha1ThemeApiFp, V1alpha1ConfigMapApi, V1alpha1ConfigMapApiAxiosParamCreator, V1alpha1ConfigMapApiFactory, V1alpha1ConfigMapApiFp, V1alpha1MenuApi, V1alpha1MenuApiAxiosParamCreator, V1alpha1MenuApiFactory, V1alpha1MenuApiFp, V1alpha1MenuItemApi, V1alpha1MenuItemApiAxiosParamCreator, V1alpha1MenuItemApiFactory, V1alpha1MenuItemApiFp, V1alpha1PersonalAccessTokenApi, V1alpha1PersonalAccessTokenApiAxiosParamCreator, V1alpha1PersonalAccessTokenApiFactory, V1alpha1PersonalAccessTokenApiFp, V1alpha1RoleApi, V1alpha1RoleApiAxiosParamCreator, V1alpha1RoleApiFactory, V1alpha1RoleApiFp, V1alpha1RoleBindingApi, V1alpha1RoleBindingApiAxiosParamCreator, V1alpha1RoleBindingApiFactory, V1alpha1RoleBindingApiFp, V1alpha1SettingApi, V1alpha1SettingApiAxiosParamCreator, V1alpha1SettingApiFactory, V1alpha1SettingApiFp, V1alpha1UserApi, V1alpha1UserApiAxiosParamCreator, V1alpha1UserApiFactory, V1alpha1UserApiFp };