@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.cjs CHANGED
@@ -303,7 +303,7 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
303
303
  options: localVarRequestOptions
304
304
  };
305
305
  },
306
- listPosts: async (page, size, labelSelector, fieldSelector, contributors, categories, tags, options = {}) => {
306
+ listPosts: async (contributors, categories, tags, size, labelSelector, fieldSelector, page, options = {}) => {
307
307
  const localVarPath = `/apis/api.halo.run/v1alpha1/posts`;
308
308
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
309
309
  let baseOptions;
@@ -315,8 +315,14 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
315
315
  const localVarQueryParameter = {};
316
316
  setBasicAuthToObject(localVarRequestOptions, configuration);
317
317
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
318
- if (page !== void 0) {
319
- localVarQueryParameter["page"] = page;
318
+ if (contributors) {
319
+ localVarQueryParameter["contributors"] = Array.from(contributors);
320
+ }
321
+ if (categories) {
322
+ localVarQueryParameter["categories"] = Array.from(categories);
323
+ }
324
+ if (tags) {
325
+ localVarQueryParameter["tags"] = Array.from(tags);
320
326
  }
321
327
  if (size !== void 0) {
322
328
  localVarQueryParameter["size"] = size;
@@ -327,14 +333,8 @@ const ApiHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration) {
327
333
  if (fieldSelector) {
328
334
  localVarQueryParameter["fieldSelector"] = fieldSelector;
329
335
  }
330
- if (contributors) {
331
- localVarQueryParameter["contributors"] = Array.from(contributors);
332
- }
333
- if (categories) {
334
- localVarQueryParameter["categories"] = Array.from(categories);
335
- }
336
- if (tags) {
337
- localVarQueryParameter["tags"] = Array.from(tags);
336
+ if (page !== void 0) {
337
+ localVarQueryParameter["page"] = page;
338
338
  }
339
339
  setSearchParams(localVarUrlObj, localVarQueryParameter);
340
340
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
@@ -398,8 +398,8 @@ const ApiHaloRunV1alpha1PostApiFp = function(configuration) {
398
398
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
399
399
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
400
400
  },
401
- async listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
402
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options);
401
+ async listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
402
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options);
403
403
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
404
404
  },
405
405
  async publishPost(name, options) {
@@ -418,8 +418,8 @@ const ApiHaloRunV1alpha1PostApiFactory = function(configuration, basePath, axios
418
418
  draftPost(postRequest, options) {
419
419
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
420
420
  },
421
- listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options) {
422
- return localVarFp.listPosts(page, size, labelSelector, fieldSelector, contributors, categories, tags, options).then((request) => request(axios, basePath));
421
+ listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options) {
422
+ return localVarFp.listPosts(contributors, categories, tags, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
423
423
  },
424
424
  publishPost(name, options) {
425
425
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -434,7 +434,7 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
434
434
  return ApiHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
435
435
  }
436
436
  listPosts(requestParameters = {}, options) {
437
- 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));
437
+ 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));
438
438
  }
439
439
  publishPost(requestParameters, options) {
440
440
  return ApiHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -444,6 +444,166 @@ class ApiHaloRunV1alpha1PostApi extends BaseAPI {
444
444
  }
445
445
  }
446
446
 
447
+ const ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
448
+ return {
449
+ draftSinglePage: async (singlePageRequest, options = {}) => {
450
+ assertParamExists("draftSinglePage", "singlePageRequest", singlePageRequest);
451
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
452
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
453
+ let baseOptions;
454
+ if (configuration) {
455
+ baseOptions = configuration.baseOptions;
456
+ }
457
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
458
+ const localVarHeaderParameter = {};
459
+ const localVarQueryParameter = {};
460
+ setBasicAuthToObject(localVarRequestOptions, configuration);
461
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
462
+ localVarHeaderParameter["Content-Type"] = "application/json";
463
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
464
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
465
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
466
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
467
+ return {
468
+ url: toPathString(localVarUrlObj),
469
+ options: localVarRequestOptions
470
+ };
471
+ },
472
+ listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
473
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages`;
474
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
475
+ let baseOptions;
476
+ if (configuration) {
477
+ baseOptions = configuration.baseOptions;
478
+ }
479
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
480
+ const localVarHeaderParameter = {};
481
+ const localVarQueryParameter = {};
482
+ setBasicAuthToObject(localVarRequestOptions, configuration);
483
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
484
+ if (contributors) {
485
+ localVarQueryParameter["contributors"] = Array.from(contributors);
486
+ }
487
+ if (size !== void 0) {
488
+ localVarQueryParameter["size"] = size;
489
+ }
490
+ if (labelSelector) {
491
+ localVarQueryParameter["labelSelector"] = labelSelector;
492
+ }
493
+ if (fieldSelector) {
494
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
495
+ }
496
+ if (page !== void 0) {
497
+ localVarQueryParameter["page"] = page;
498
+ }
499
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
500
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
501
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
502
+ return {
503
+ url: toPathString(localVarUrlObj),
504
+ options: localVarRequestOptions
505
+ };
506
+ },
507
+ publishSinglePage: async (name, options = {}) => {
508
+ assertParamExists("publishSinglePage", "name", name);
509
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}/publish`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
510
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
511
+ let baseOptions;
512
+ if (configuration) {
513
+ baseOptions = configuration.baseOptions;
514
+ }
515
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
516
+ const localVarHeaderParameter = {};
517
+ const localVarQueryParameter = {};
518
+ setBasicAuthToObject(localVarRequestOptions, configuration);
519
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
520
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
521
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
522
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
523
+ return {
524
+ url: toPathString(localVarUrlObj),
525
+ options: localVarRequestOptions
526
+ };
527
+ },
528
+ updateDraftSinglePage: async (name, singlePageRequest, options = {}) => {
529
+ assertParamExists("updateDraftSinglePage", "name", name);
530
+ assertParamExists("updateDraftSinglePage", "singlePageRequest", singlePageRequest);
531
+ const localVarPath = `/apis/api.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
532
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
533
+ let baseOptions;
534
+ if (configuration) {
535
+ baseOptions = configuration.baseOptions;
536
+ }
537
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
538
+ const localVarHeaderParameter = {};
539
+ const localVarQueryParameter = {};
540
+ setBasicAuthToObject(localVarRequestOptions, configuration);
541
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
542
+ localVarHeaderParameter["Content-Type"] = "application/json";
543
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
544
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
545
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
546
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePageRequest, localVarRequestOptions, configuration);
547
+ return {
548
+ url: toPathString(localVarUrlObj),
549
+ options: localVarRequestOptions
550
+ };
551
+ }
552
+ };
553
+ };
554
+ const ApiHaloRunV1alpha1SinglePageApiFp = function(configuration) {
555
+ const localVarAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
556
+ return {
557
+ async draftSinglePage(singlePageRequest, options) {
558
+ const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
559
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
560
+ },
561
+ async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
562
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
563
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
564
+ },
565
+ async publishSinglePage(name, options) {
566
+ const localVarAxiosArgs = await localVarAxiosParamCreator.publishSinglePage(name, options);
567
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
568
+ },
569
+ async updateDraftSinglePage(name, singlePageRequest, options) {
570
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateDraftSinglePage(name, singlePageRequest, options);
571
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
572
+ }
573
+ };
574
+ };
575
+ const ApiHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
576
+ const localVarFp = ApiHaloRunV1alpha1SinglePageApiFp(configuration);
577
+ return {
578
+ draftSinglePage(singlePageRequest, options) {
579
+ return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
580
+ },
581
+ listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
582
+ return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
583
+ },
584
+ publishSinglePage(name, options) {
585
+ return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
586
+ },
587
+ updateDraftSinglePage(name, singlePageRequest, options) {
588
+ return localVarFp.updateDraftSinglePage(name, singlePageRequest, options).then((request) => request(axios, basePath));
589
+ }
590
+ };
591
+ };
592
+ class ApiHaloRunV1alpha1SinglePageApi extends BaseAPI {
593
+ draftSinglePage(requestParameters, options) {
594
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
595
+ }
596
+ listSinglePages(requestParameters = {}, options) {
597
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
598
+ }
599
+ publishSinglePage(requestParameters, options) {
600
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
601
+ }
602
+ updateDraftSinglePage(requestParameters, options) {
603
+ return ApiHaloRunV1alpha1SinglePageApiFp(this.configuration).updateDraftSinglePage(requestParameters.name, requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
604
+ }
605
+ }
606
+
447
607
  const ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = function(configuration) {
448
608
  return {
449
609
  installTheme: async (file, options = {}) => {
@@ -1388,10 +1548,10 @@ class ContentHaloRunV1alpha1ReplyApi extends BaseAPI {
1388
1548
  }
1389
1549
  }
1390
1550
 
1391
- const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
1551
+ const ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configuration) {
1392
1552
  return {
1393
- createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
1394
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1553
+ createcontentHaloRunV1alpha1SinglePage: async (singlePage, options = {}) => {
1554
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
1395
1555
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1396
1556
  let baseOptions;
1397
1557
  if (configuration) {
@@ -1406,15 +1566,15 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1406
1566
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1407
1567
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1408
1568
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1409
- localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1569
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
1410
1570
  return {
1411
1571
  url: toPathString(localVarUrlObj),
1412
1572
  options: localVarRequestOptions
1413
1573
  };
1414
1574
  },
1415
- deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1416
- assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
1417
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1575
+ deletecontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
1576
+ assertParamExists("deletecontentHaloRunV1alpha1SinglePage", "name", name);
1577
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1418
1578
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1419
1579
  let baseOptions;
1420
1580
  if (configuration) {
@@ -1433,9 +1593,959 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1433
1593
  options: localVarRequestOptions
1434
1594
  };
1435
1595
  },
1436
- getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1437
- assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
1438
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1596
+ getcontentHaloRunV1alpha1SinglePage: async (name, options = {}) => {
1597
+ assertParamExists("getcontentHaloRunV1alpha1SinglePage", "name", name);
1598
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1599
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1600
+ let baseOptions;
1601
+ if (configuration) {
1602
+ baseOptions = configuration.baseOptions;
1603
+ }
1604
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1605
+ const localVarHeaderParameter = {};
1606
+ const localVarQueryParameter = {};
1607
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1608
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1611
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1612
+ return {
1613
+ url: toPathString(localVarUrlObj),
1614
+ options: localVarRequestOptions
1615
+ };
1616
+ },
1617
+ listcontentHaloRunV1alpha1SinglePage: async (page, size, labelSelector, fieldSelector, options = {}) => {
1618
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages`;
1619
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1620
+ let baseOptions;
1621
+ if (configuration) {
1622
+ baseOptions = configuration.baseOptions;
1623
+ }
1624
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1625
+ const localVarHeaderParameter = {};
1626
+ const localVarQueryParameter = {};
1627
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1628
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1629
+ if (page !== void 0) {
1630
+ localVarQueryParameter["page"] = page;
1631
+ }
1632
+ if (size !== void 0) {
1633
+ localVarQueryParameter["size"] = size;
1634
+ }
1635
+ if (labelSelector) {
1636
+ localVarQueryParameter["labelSelector"] = labelSelector;
1637
+ }
1638
+ if (fieldSelector) {
1639
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1640
+ }
1641
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1643
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1644
+ return {
1645
+ url: toPathString(localVarUrlObj),
1646
+ options: localVarRequestOptions
1647
+ };
1648
+ },
1649
+ updatecontentHaloRunV1alpha1SinglePage: async (name, singlePage, options = {}) => {
1650
+ assertParamExists("updatecontentHaloRunV1alpha1SinglePage", "name", name);
1651
+ const localVarPath = `/apis/content.halo.run/v1alpha1/singlepages/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1652
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1653
+ let baseOptions;
1654
+ if (configuration) {
1655
+ baseOptions = configuration.baseOptions;
1656
+ }
1657
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1658
+ const localVarHeaderParameter = {};
1659
+ const localVarQueryParameter = {};
1660
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1661
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1662
+ localVarHeaderParameter["Content-Type"] = "application/json";
1663
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1664
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1665
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1666
+ localVarRequestOptions.data = serializeDataIfNeeded(singlePage, localVarRequestOptions, configuration);
1667
+ return {
1668
+ url: toPathString(localVarUrlObj),
1669
+ options: localVarRequestOptions
1670
+ };
1671
+ }
1672
+ };
1673
+ };
1674
+ const ContentHaloRunV1alpha1SinglePageApiFp = function(configuration) {
1675
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator(configuration);
1676
+ return {
1677
+ async createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
1678
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1SinglePage(singlePage, options);
1679
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1680
+ },
1681
+ async deletecontentHaloRunV1alpha1SinglePage(name, options) {
1682
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1SinglePage(name, options);
1683
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1684
+ },
1685
+ async getcontentHaloRunV1alpha1SinglePage(name, options) {
1686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1SinglePage(name, options);
1687
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1688
+ },
1689
+ async listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
1690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options);
1691
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1692
+ },
1693
+ async updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
1694
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options);
1695
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1696
+ }
1697
+ };
1698
+ };
1699
+ const ContentHaloRunV1alpha1SinglePageApiFactory = function(configuration, basePath, axios) {
1700
+ const localVarFp = ContentHaloRunV1alpha1SinglePageApiFp(configuration);
1701
+ return {
1702
+ createcontentHaloRunV1alpha1SinglePage(singlePage, options) {
1703
+ return localVarFp.createcontentHaloRunV1alpha1SinglePage(singlePage, options).then((request) => request(axios, basePath));
1704
+ },
1705
+ deletecontentHaloRunV1alpha1SinglePage(name, options) {
1706
+ return localVarFp.deletecontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
1707
+ },
1708
+ getcontentHaloRunV1alpha1SinglePage(name, options) {
1709
+ return localVarFp.getcontentHaloRunV1alpha1SinglePage(name, options).then((request) => request(axios, basePath));
1710
+ },
1711
+ listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options) {
1712
+ return localVarFp.listcontentHaloRunV1alpha1SinglePage(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1713
+ },
1714
+ updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options) {
1715
+ return localVarFp.updatecontentHaloRunV1alpha1SinglePage(name, singlePage, options).then((request) => request(axios, basePath));
1716
+ }
1717
+ };
1718
+ };
1719
+ class ContentHaloRunV1alpha1SinglePageApi extends BaseAPI {
1720
+ createcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
1721
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).createcontentHaloRunV1alpha1SinglePage(requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
1722
+ }
1723
+ deletecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
1724
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).deletecontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1725
+ }
1726
+ getcontentHaloRunV1alpha1SinglePage(requestParameters, options) {
1727
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).getcontentHaloRunV1alpha1SinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1728
+ }
1729
+ listcontentHaloRunV1alpha1SinglePage(requestParameters = {}, options) {
1730
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).listcontentHaloRunV1alpha1SinglePage(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1731
+ }
1732
+ updatecontentHaloRunV1alpha1SinglePage(requestParameters, options) {
1733
+ return ContentHaloRunV1alpha1SinglePageApiFp(this.configuration).updatecontentHaloRunV1alpha1SinglePage(requestParameters.name, requestParameters.singlePage, options).then((request) => request(this.axios, this.basePath));
1734
+ }
1735
+ }
1736
+
1737
+ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuration) {
1738
+ return {
1739
+ createcontentHaloRunV1alpha1Snapshot: async (snapshot, options = {}) => {
1740
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1741
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1742
+ let baseOptions;
1743
+ if (configuration) {
1744
+ baseOptions = configuration.baseOptions;
1745
+ }
1746
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1747
+ const localVarHeaderParameter = {};
1748
+ const localVarQueryParameter = {};
1749
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1750
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1751
+ localVarHeaderParameter["Content-Type"] = "application/json";
1752
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1753
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1754
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1755
+ localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1756
+ return {
1757
+ url: toPathString(localVarUrlObj),
1758
+ options: localVarRequestOptions
1759
+ };
1760
+ },
1761
+ deletecontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1762
+ assertParamExists("deletecontentHaloRunV1alpha1Snapshot", "name", name);
1763
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1764
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1765
+ let baseOptions;
1766
+ if (configuration) {
1767
+ baseOptions = configuration.baseOptions;
1768
+ }
1769
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1770
+ const localVarHeaderParameter = {};
1771
+ const localVarQueryParameter = {};
1772
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1773
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1774
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1775
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1776
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1777
+ return {
1778
+ url: toPathString(localVarUrlObj),
1779
+ options: localVarRequestOptions
1780
+ };
1781
+ },
1782
+ getcontentHaloRunV1alpha1Snapshot: async (name, options = {}) => {
1783
+ assertParamExists("getcontentHaloRunV1alpha1Snapshot", "name", name);
1784
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1785
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1786
+ let baseOptions;
1787
+ if (configuration) {
1788
+ baseOptions = configuration.baseOptions;
1789
+ }
1790
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1791
+ const localVarHeaderParameter = {};
1792
+ const localVarQueryParameter = {};
1793
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1794
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1797
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1798
+ return {
1799
+ url: toPathString(localVarUrlObj),
1800
+ options: localVarRequestOptions
1801
+ };
1802
+ },
1803
+ listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
1804
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
1805
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1806
+ let baseOptions;
1807
+ if (configuration) {
1808
+ baseOptions = configuration.baseOptions;
1809
+ }
1810
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1811
+ const localVarHeaderParameter = {};
1812
+ const localVarQueryParameter = {};
1813
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1814
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1815
+ if (page !== void 0) {
1816
+ localVarQueryParameter["page"] = page;
1817
+ }
1818
+ if (size !== void 0) {
1819
+ localVarQueryParameter["size"] = size;
1820
+ }
1821
+ if (labelSelector) {
1822
+ localVarQueryParameter["labelSelector"] = labelSelector;
1823
+ }
1824
+ if (fieldSelector) {
1825
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
1826
+ }
1827
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1828
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1829
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1830
+ return {
1831
+ url: toPathString(localVarUrlObj),
1832
+ options: localVarRequestOptions
1833
+ };
1834
+ },
1835
+ updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
1836
+ assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
1837
+ const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1838
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1839
+ let baseOptions;
1840
+ if (configuration) {
1841
+ baseOptions = configuration.baseOptions;
1842
+ }
1843
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
1844
+ const localVarHeaderParameter = {};
1845
+ const localVarQueryParameter = {};
1846
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1847
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1848
+ localVarHeaderParameter["Content-Type"] = "application/json";
1849
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1850
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1851
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1852
+ localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
1853
+ return {
1854
+ url: toPathString(localVarUrlObj),
1855
+ options: localVarRequestOptions
1856
+ };
1857
+ }
1858
+ };
1859
+ };
1860
+ const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
1861
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
1862
+ return {
1863
+ async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1864
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
1865
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1866
+ },
1867
+ async deletecontentHaloRunV1alpha1Snapshot(name, options) {
1868
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
1869
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1870
+ },
1871
+ async getcontentHaloRunV1alpha1Snapshot(name, options) {
1872
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
1873
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1874
+ },
1875
+ async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1876
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
1877
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1878
+ },
1879
+ async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1880
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
1881
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1882
+ }
1883
+ };
1884
+ };
1885
+ const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
1886
+ const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
1887
+ return {
1888
+ createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1889
+ return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
1890
+ },
1891
+ deletecontentHaloRunV1alpha1Snapshot(name, options) {
1892
+ return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
1893
+ },
1894
+ getcontentHaloRunV1alpha1Snapshot(name, options) {
1895
+ return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
1896
+ },
1897
+ listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1898
+ return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1899
+ },
1900
+ updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1901
+ return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
1902
+ }
1903
+ };
1904
+ };
1905
+ class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
1906
+ createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1907
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
1908
+ }
1909
+ deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1910
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1911
+ }
1912
+ getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1913
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1914
+ }
1915
+ listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1916
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1917
+ }
1918
+ updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1919
+ return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
1920
+ }
1921
+ }
1922
+
1923
+ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1924
+ return {
1925
+ createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
1926
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
1927
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1928
+ let baseOptions;
1929
+ if (configuration) {
1930
+ baseOptions = configuration.baseOptions;
1931
+ }
1932
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
1933
+ const localVarHeaderParameter = {};
1934
+ const localVarQueryParameter = {};
1935
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1936
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1937
+ localVarHeaderParameter["Content-Type"] = "application/json";
1938
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1939
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1940
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1941
+ localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
1942
+ return {
1943
+ url: toPathString(localVarUrlObj),
1944
+ options: localVarRequestOptions
1945
+ };
1946
+ },
1947
+ deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1948
+ assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
1949
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1950
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1951
+ let baseOptions;
1952
+ if (configuration) {
1953
+ baseOptions = configuration.baseOptions;
1954
+ }
1955
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
1956
+ const localVarHeaderParameter = {};
1957
+ const localVarQueryParameter = {};
1958
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1959
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1960
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1961
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1962
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1963
+ return {
1964
+ url: toPathString(localVarUrlObj),
1965
+ options: localVarRequestOptions
1966
+ };
1967
+ },
1968
+ getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1969
+ assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
1970
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1971
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1972
+ let baseOptions;
1973
+ if (configuration) {
1974
+ baseOptions = configuration.baseOptions;
1975
+ }
1976
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1977
+ const localVarHeaderParameter = {};
1978
+ const localVarQueryParameter = {};
1979
+ setBasicAuthToObject(localVarRequestOptions, configuration);
1980
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
1981
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
1982
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1983
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1984
+ return {
1985
+ url: toPathString(localVarUrlObj),
1986
+ options: localVarRequestOptions
1987
+ };
1988
+ },
1989
+ listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
1990
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
1991
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1992
+ let baseOptions;
1993
+ if (configuration) {
1994
+ baseOptions = configuration.baseOptions;
1995
+ }
1996
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
1997
+ const localVarHeaderParameter = {};
1998
+ const localVarQueryParameter = {};
1999
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2000
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2001
+ if (page !== void 0) {
2002
+ localVarQueryParameter["page"] = page;
2003
+ }
2004
+ if (size !== void 0) {
2005
+ localVarQueryParameter["size"] = size;
2006
+ }
2007
+ if (labelSelector) {
2008
+ localVarQueryParameter["labelSelector"] = labelSelector;
2009
+ }
2010
+ if (fieldSelector) {
2011
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2012
+ }
2013
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2014
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2015
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2016
+ return {
2017
+ url: toPathString(localVarUrlObj),
2018
+ options: localVarRequestOptions
2019
+ };
2020
+ },
2021
+ updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
2022
+ assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
2023
+ const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2024
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2025
+ let baseOptions;
2026
+ if (configuration) {
2027
+ baseOptions = configuration.baseOptions;
2028
+ }
2029
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2030
+ const localVarHeaderParameter = {};
2031
+ const localVarQueryParameter = {};
2032
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2033
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2034
+ localVarHeaderParameter["Content-Type"] = "application/json";
2035
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2036
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2037
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2038
+ localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
2039
+ return {
2040
+ url: toPathString(localVarUrlObj),
2041
+ options: localVarRequestOptions
2042
+ };
2043
+ }
2044
+ };
2045
+ };
2046
+ const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
2047
+ const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
2048
+ return {
2049
+ async createcontentHaloRunV1alpha1Tag(tag, options) {
2050
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
2051
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2052
+ },
2053
+ async deletecontentHaloRunV1alpha1Tag(name, options) {
2054
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
2055
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2056
+ },
2057
+ async getcontentHaloRunV1alpha1Tag(name, options) {
2058
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
2059
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2060
+ },
2061
+ async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
2062
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
2063
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2064
+ },
2065
+ async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
2066
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
2067
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2068
+ }
2069
+ };
2070
+ };
2071
+ const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
2072
+ const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
2073
+ return {
2074
+ createcontentHaloRunV1alpha1Tag(tag, options) {
2075
+ return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
2076
+ },
2077
+ deletecontentHaloRunV1alpha1Tag(name, options) {
2078
+ return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2079
+ },
2080
+ getcontentHaloRunV1alpha1Tag(name, options) {
2081
+ return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2082
+ },
2083
+ listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
2084
+ return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2085
+ },
2086
+ updatecontentHaloRunV1alpha1Tag(name, tag, options) {
2087
+ return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
2088
+ }
2089
+ };
2090
+ };
2091
+ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
2092
+ createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
2093
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2094
+ }
2095
+ deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
2096
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2097
+ }
2098
+ getcontentHaloRunV1alpha1Tag(requestParameters, options) {
2099
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2100
+ }
2101
+ listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
2102
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2103
+ }
2104
+ updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
2105
+ return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2106
+ }
2107
+ }
2108
+
2109
+ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2110
+ return {
2111
+ createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
2112
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2113
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2114
+ let baseOptions;
2115
+ if (configuration) {
2116
+ baseOptions = configuration.baseOptions;
2117
+ }
2118
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2119
+ const localVarHeaderParameter = {};
2120
+ const localVarQueryParameter = {};
2121
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2122
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2123
+ localVarHeaderParameter["Content-Type"] = "application/json";
2124
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2125
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2126
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2127
+ localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2128
+ return {
2129
+ url: toPathString(localVarUrlObj),
2130
+ options: localVarRequestOptions
2131
+ };
2132
+ },
2133
+ deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
2134
+ assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
2135
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2136
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2137
+ let baseOptions;
2138
+ if (configuration) {
2139
+ baseOptions = configuration.baseOptions;
2140
+ }
2141
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2142
+ const localVarHeaderParameter = {};
2143
+ const localVarQueryParameter = {};
2144
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2145
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2146
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2147
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2148
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2149
+ return {
2150
+ url: toPathString(localVarUrlObj),
2151
+ options: localVarRequestOptions
2152
+ };
2153
+ },
2154
+ getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
2155
+ assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
2156
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2157
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2158
+ let baseOptions;
2159
+ if (configuration) {
2160
+ baseOptions = configuration.baseOptions;
2161
+ }
2162
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2163
+ const localVarHeaderParameter = {};
2164
+ const localVarQueryParameter = {};
2165
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2166
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2167
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2168
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2169
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2170
+ return {
2171
+ url: toPathString(localVarUrlObj),
2172
+ options: localVarRequestOptions
2173
+ };
2174
+ },
2175
+ listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
2176
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2177
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2178
+ let baseOptions;
2179
+ if (configuration) {
2180
+ baseOptions = configuration.baseOptions;
2181
+ }
2182
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2183
+ const localVarHeaderParameter = {};
2184
+ const localVarQueryParameter = {};
2185
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2186
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2187
+ if (page !== void 0) {
2188
+ localVarQueryParameter["page"] = page;
2189
+ }
2190
+ if (size !== void 0) {
2191
+ localVarQueryParameter["size"] = size;
2192
+ }
2193
+ if (labelSelector) {
2194
+ localVarQueryParameter["labelSelector"] = labelSelector;
2195
+ }
2196
+ if (fieldSelector) {
2197
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2198
+ }
2199
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2200
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2201
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2202
+ return {
2203
+ url: toPathString(localVarUrlObj),
2204
+ options: localVarRequestOptions
2205
+ };
2206
+ },
2207
+ updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
2208
+ assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
2209
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2210
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2211
+ let baseOptions;
2212
+ if (configuration) {
2213
+ baseOptions = configuration.baseOptions;
2214
+ }
2215
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2216
+ const localVarHeaderParameter = {};
2217
+ const localVarQueryParameter = {};
2218
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2219
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2220
+ localVarHeaderParameter["Content-Type"] = "application/json";
2221
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2222
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2223
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2224
+ localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2225
+ return {
2226
+ url: toPathString(localVarUrlObj),
2227
+ options: localVarRequestOptions
2228
+ };
2229
+ }
2230
+ };
2231
+ };
2232
+ const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
2233
+ const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
2234
+ return {
2235
+ async createpluginHaloRunV1alpha1Plugin(plugin, options) {
2236
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
2237
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2238
+ },
2239
+ async deletepluginHaloRunV1alpha1Plugin(name, options) {
2240
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
2241
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2242
+ },
2243
+ async getpluginHaloRunV1alpha1Plugin(name, options) {
2244
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
2245
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2246
+ },
2247
+ async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2248
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
2249
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2250
+ },
2251
+ async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2252
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
2253
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2254
+ }
2255
+ };
2256
+ };
2257
+ const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
2258
+ const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
2259
+ return {
2260
+ createpluginHaloRunV1alpha1Plugin(plugin, options) {
2261
+ return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
2262
+ },
2263
+ deletepluginHaloRunV1alpha1Plugin(name, options) {
2264
+ return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2265
+ },
2266
+ getpluginHaloRunV1alpha1Plugin(name, options) {
2267
+ return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
2268
+ },
2269
+ listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
2270
+ return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2271
+ },
2272
+ updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
2273
+ return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
2274
+ }
2275
+ };
2276
+ };
2277
+ class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
2278
+ createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
2279
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
2280
+ }
2281
+ deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
2282
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2283
+ }
2284
+ getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
2285
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2286
+ }
2287
+ listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
2288
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2289
+ }
2290
+ updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
2291
+ return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
2292
+ }
2293
+ }
2294
+
2295
+ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
2296
+ return {
2297
+ createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
2298
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2299
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2300
+ let baseOptions;
2301
+ if (configuration) {
2302
+ baseOptions = configuration.baseOptions;
2303
+ }
2304
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2305
+ const localVarHeaderParameter = {};
2306
+ const localVarQueryParameter = {};
2307
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2308
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2309
+ localVarHeaderParameter["Content-Type"] = "application/json";
2310
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2311
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2312
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2313
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2314
+ return {
2315
+ url: toPathString(localVarUrlObj),
2316
+ options: localVarRequestOptions
2317
+ };
2318
+ },
2319
+ deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
2320
+ assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
2321
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2322
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2323
+ let baseOptions;
2324
+ if (configuration) {
2325
+ baseOptions = configuration.baseOptions;
2326
+ }
2327
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2328
+ const localVarHeaderParameter = {};
2329
+ const localVarQueryParameter = {};
2330
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2331
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2332
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2333
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2334
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2335
+ return {
2336
+ url: toPathString(localVarUrlObj),
2337
+ options: localVarRequestOptions
2338
+ };
2339
+ },
2340
+ getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
2341
+ assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
2342
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2343
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2344
+ let baseOptions;
2345
+ if (configuration) {
2346
+ baseOptions = configuration.baseOptions;
2347
+ }
2348
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2349
+ const localVarHeaderParameter = {};
2350
+ const localVarQueryParameter = {};
2351
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2352
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2353
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2354
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2355
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2356
+ return {
2357
+ url: toPathString(localVarUrlObj),
2358
+ options: localVarRequestOptions
2359
+ };
2360
+ },
2361
+ listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
2362
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
2363
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2364
+ let baseOptions;
2365
+ if (configuration) {
2366
+ baseOptions = configuration.baseOptions;
2367
+ }
2368
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2369
+ const localVarHeaderParameter = {};
2370
+ const localVarQueryParameter = {};
2371
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2372
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2373
+ if (page !== void 0) {
2374
+ localVarQueryParameter["page"] = page;
2375
+ }
2376
+ if (size !== void 0) {
2377
+ localVarQueryParameter["size"] = size;
2378
+ }
2379
+ if (labelSelector) {
2380
+ localVarQueryParameter["labelSelector"] = labelSelector;
2381
+ }
2382
+ if (fieldSelector) {
2383
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2384
+ }
2385
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2386
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2387
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2388
+ return {
2389
+ url: toPathString(localVarUrlObj),
2390
+ options: localVarRequestOptions
2391
+ };
2392
+ },
2393
+ updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
2394
+ assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
2395
+ const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2396
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2397
+ let baseOptions;
2398
+ if (configuration) {
2399
+ baseOptions = configuration.baseOptions;
2400
+ }
2401
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2402
+ const localVarHeaderParameter = {};
2403
+ const localVarQueryParameter = {};
2404
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2405
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2406
+ localVarHeaderParameter["Content-Type"] = "application/json";
2407
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2408
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2409
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2410
+ localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
2411
+ return {
2412
+ url: toPathString(localVarUrlObj),
2413
+ options: localVarRequestOptions
2414
+ };
2415
+ }
2416
+ };
2417
+ };
2418
+ const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
2419
+ const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
2420
+ return {
2421
+ async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2422
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
2423
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2424
+ },
2425
+ async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2426
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
2427
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2428
+ },
2429
+ async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2430
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
2431
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2432
+ },
2433
+ async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2434
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
2435
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2436
+ },
2437
+ async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2438
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
2439
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2440
+ }
2441
+ };
2442
+ };
2443
+ const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
2444
+ const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
2445
+ return {
2446
+ createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2447
+ return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
2448
+ },
2449
+ deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2450
+ return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
2451
+ },
2452
+ getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2453
+ return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
2454
+ },
2455
+ listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2456
+ return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2457
+ },
2458
+ updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2459
+ return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
2460
+ }
2461
+ };
2462
+ };
2463
+ class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
2464
+ createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2465
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
2466
+ }
2467
+ deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2468
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2469
+ }
2470
+ getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2471
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2472
+ }
2473
+ listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2474
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2475
+ }
2476
+ updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2477
+ return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
2478
+ }
2479
+ }
2480
+
2481
+ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configuration) {
2482
+ return {
2483
+ createstorageHaloRunV1alpha1Attachment: async (attachment, options = {}) => {
2484
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
2485
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2486
+ let baseOptions;
2487
+ if (configuration) {
2488
+ baseOptions = configuration.baseOptions;
2489
+ }
2490
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2491
+ const localVarHeaderParameter = {};
2492
+ const localVarQueryParameter = {};
2493
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2494
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2495
+ localVarHeaderParameter["Content-Type"] = "application/json";
2496
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2497
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2498
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2499
+ localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
2500
+ return {
2501
+ url: toPathString(localVarUrlObj),
2502
+ options: localVarRequestOptions
2503
+ };
2504
+ },
2505
+ deletestorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
2506
+ assertParamExists("deletestorageHaloRunV1alpha1Attachment", "name", name);
2507
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2508
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2509
+ let baseOptions;
2510
+ if (configuration) {
2511
+ baseOptions = configuration.baseOptions;
2512
+ }
2513
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2514
+ const localVarHeaderParameter = {};
2515
+ const localVarQueryParameter = {};
2516
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2517
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2518
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2519
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2520
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2521
+ return {
2522
+ url: toPathString(localVarUrlObj),
2523
+ options: localVarRequestOptions
2524
+ };
2525
+ },
2526
+ getstorageHaloRunV1alpha1Attachment: async (name, options = {}) => {
2527
+ assertParamExists("getstorageHaloRunV1alpha1Attachment", "name", name);
2528
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2529
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2530
+ let baseOptions;
2531
+ if (configuration) {
2532
+ baseOptions = configuration.baseOptions;
2533
+ }
2534
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2535
+ const localVarHeaderParameter = {};
2536
+ const localVarQueryParameter = {};
2537
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2538
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2539
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2540
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2541
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2542
+ return {
2543
+ url: toPathString(localVarUrlObj),
2544
+ options: localVarRequestOptions
2545
+ };
2546
+ },
2547
+ liststorageHaloRunV1alpha1Attachment: async (page, size, labelSelector, fieldSelector, options = {}) => {
2548
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments`;
1439
2549
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1440
2550
  let baseOptions;
1441
2551
  if (configuration) {
@@ -1446,6 +2556,18 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1446
2556
  const localVarQueryParameter = {};
1447
2557
  setBasicAuthToObject(localVarRequestOptions, configuration);
1448
2558
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
2559
+ if (page !== void 0) {
2560
+ localVarQueryParameter["page"] = page;
2561
+ }
2562
+ if (size !== void 0) {
2563
+ localVarQueryParameter["size"] = size;
2564
+ }
2565
+ if (labelSelector) {
2566
+ localVarQueryParameter["labelSelector"] = labelSelector;
2567
+ }
2568
+ if (fieldSelector) {
2569
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2570
+ }
1449
2571
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1450
2572
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1451
2573
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1454,8 +2576,8 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1454
2576
  options: localVarRequestOptions
1455
2577
  };
1456
2578
  },
1457
- listcontentHaloRunV1alpha1Snapshot: async (page, size, labelSelector, fieldSelector, options = {}) => {
1458
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots`;
2579
+ searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
2580
+ const localVarPath = `/apis/api.halo.run/v1alpha1/attachments`;
1459
2581
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1460
2582
  let baseOptions;
1461
2583
  if (configuration) {
@@ -1466,8 +2588,17 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1466
2588
  const localVarQueryParameter = {};
1467
2589
  setBasicAuthToObject(localVarRequestOptions, configuration);
1468
2590
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
1469
- if (page !== void 0) {
1470
- localVarQueryParameter["page"] = page;
2591
+ if (policy !== void 0) {
2592
+ localVarQueryParameter["policy"] = policy;
2593
+ }
2594
+ if (displayName !== void 0) {
2595
+ localVarQueryParameter["displayName"] = displayName;
2596
+ }
2597
+ if (uploadedBy !== void 0) {
2598
+ localVarQueryParameter["uploadedBy"] = uploadedBy;
2599
+ }
2600
+ if (group !== void 0) {
2601
+ localVarQueryParameter["group"] = group;
1471
2602
  }
1472
2603
  if (size !== void 0) {
1473
2604
  localVarQueryParameter["size"] = size;
@@ -1478,6 +2609,9 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1478
2609
  if (fieldSelector) {
1479
2610
  localVarQueryParameter["fieldSelector"] = fieldSelector;
1480
2611
  }
2612
+ if (page !== void 0) {
2613
+ localVarQueryParameter["page"] = page;
2614
+ }
1481
2615
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1482
2616
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1483
2617
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
@@ -1486,9 +2620,9 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1486
2620
  options: localVarRequestOptions
1487
2621
  };
1488
2622
  },
1489
- updatecontentHaloRunV1alpha1Snapshot: async (name, snapshot, options = {}) => {
1490
- assertParamExists("updatecontentHaloRunV1alpha1Snapshot", "name", name);
1491
- const localVarPath = `/apis/content.halo.run/v1alpha1/snapshots/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2623
+ updatestorageHaloRunV1alpha1Attachment: async (name, attachment, options = {}) => {
2624
+ assertParamExists("updatestorageHaloRunV1alpha1Attachment", "name", name);
2625
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/attachments/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1492
2626
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1493
2627
  let baseOptions;
1494
2628
  if (configuration) {
@@ -1503,7 +2637,41 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1503
2637
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1504
2638
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1505
2639
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1506
- localVarRequestOptions.data = serializeDataIfNeeded(snapshot, localVarRequestOptions, configuration);
2640
+ localVarRequestOptions.data = serializeDataIfNeeded(attachment, localVarRequestOptions, configuration);
2641
+ return {
2642
+ url: toPathString(localVarUrlObj),
2643
+ options: localVarRequestOptions
2644
+ };
2645
+ },
2646
+ uploadAttachment: async (file, policyName, groupName, options = {}) => {
2647
+ assertParamExists("uploadAttachment", "file", file);
2648
+ assertParamExists("uploadAttachment", "policyName", policyName);
2649
+ const localVarPath = `/apis/api.halo.run/v1alpha1/attachments/upload`;
2650
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2651
+ let baseOptions;
2652
+ if (configuration) {
2653
+ baseOptions = configuration.baseOptions;
2654
+ }
2655
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2656
+ const localVarHeaderParameter = {};
2657
+ const localVarQueryParameter = {};
2658
+ const localVarFormParams = new (configuration && configuration.formDataCtor || FormData)();
2659
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2660
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2661
+ if (file !== void 0) {
2662
+ localVarFormParams.append("file", file);
2663
+ }
2664
+ if (policyName !== void 0) {
2665
+ localVarFormParams.append("policyName", policyName);
2666
+ }
2667
+ if (groupName !== void 0) {
2668
+ localVarFormParams.append("groupName", groupName);
2669
+ }
2670
+ localVarHeaderParameter["Content-Type"] = "multipart/form-data";
2671
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2672
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2673
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2674
+ localVarRequestOptions.data = localVarFormParams;
1507
2675
  return {
1508
2676
  url: toPathString(localVarUrlObj),
1509
2677
  options: localVarRequestOptions
@@ -1511,73 +2679,93 @@ const ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = function(configuratio
1511
2679
  }
1512
2680
  };
1513
2681
  };
1514
- const ContentHaloRunV1alpha1SnapshotApiFp = function(configuration) {
1515
- const localVarAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator(configuration);
2682
+ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
2683
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator(configuration);
1516
2684
  return {
1517
- async createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1518
- const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Snapshot(snapshot, options);
2685
+ async createstorageHaloRunV1alpha1Attachment(attachment, options) {
2686
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Attachment(attachment, options);
1519
2687
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1520
2688
  },
1521
- async deletecontentHaloRunV1alpha1Snapshot(name, options) {
1522
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Snapshot(name, options);
2689
+ async deletestorageHaloRunV1alpha1Attachment(name, options) {
2690
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Attachment(name, options);
1523
2691
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1524
2692
  },
1525
- async getcontentHaloRunV1alpha1Snapshot(name, options) {
1526
- const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Snapshot(name, options);
2693
+ async getstorageHaloRunV1alpha1Attachment(name, options) {
2694
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Attachment(name, options);
1527
2695
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1528
2696
  },
1529
- async listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1530
- const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options);
2697
+ async liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2698
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
1531
2699
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1532
2700
  },
1533
- async updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1534
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options);
2701
+ async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2702
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
2703
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2704
+ },
2705
+ async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2706
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Attachment(name, attachment, options);
2707
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2708
+ },
2709
+ async uploadAttachment(file, policyName, groupName, options) {
2710
+ const localVarAxiosArgs = await localVarAxiosParamCreator.uploadAttachment(file, policyName, groupName, options);
1535
2711
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1536
2712
  }
1537
2713
  };
1538
2714
  };
1539
- const ContentHaloRunV1alpha1SnapshotApiFactory = function(configuration, basePath, axios) {
1540
- const localVarFp = ContentHaloRunV1alpha1SnapshotApiFp(configuration);
2715
+ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, basePath, axios) {
2716
+ const localVarFp = StorageHaloRunV1alpha1AttachmentApiFp(configuration);
1541
2717
  return {
1542
- createcontentHaloRunV1alpha1Snapshot(snapshot, options) {
1543
- return localVarFp.createcontentHaloRunV1alpha1Snapshot(snapshot, options).then((request) => request(axios, basePath));
2718
+ createstorageHaloRunV1alpha1Attachment(attachment, options) {
2719
+ return localVarFp.createstorageHaloRunV1alpha1Attachment(attachment, options).then((request) => request(axios, basePath));
1544
2720
  },
1545
- deletecontentHaloRunV1alpha1Snapshot(name, options) {
1546
- return localVarFp.deletecontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
2721
+ deletestorageHaloRunV1alpha1Attachment(name, options) {
2722
+ return localVarFp.deletestorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
1547
2723
  },
1548
- getcontentHaloRunV1alpha1Snapshot(name, options) {
1549
- return localVarFp.getcontentHaloRunV1alpha1Snapshot(name, options).then((request) => request(axios, basePath));
2724
+ getstorageHaloRunV1alpha1Attachment(name, options) {
2725
+ return localVarFp.getstorageHaloRunV1alpha1Attachment(name, options).then((request) => request(axios, basePath));
1550
2726
  },
1551
- listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options) {
1552
- return localVarFp.listcontentHaloRunV1alpha1Snapshot(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2727
+ liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
2728
+ return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1553
2729
  },
1554
- updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options) {
1555
- return localVarFp.updatecontentHaloRunV1alpha1Snapshot(name, snapshot, options).then((request) => request(axios, basePath));
2730
+ searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
2731
+ return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
2732
+ },
2733
+ updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
2734
+ return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
2735
+ },
2736
+ uploadAttachment(file, policyName, groupName, options) {
2737
+ return localVarFp.uploadAttachment(file, policyName, groupName, options).then((request) => request(axios, basePath));
1556
2738
  }
1557
2739
  };
1558
2740
  };
1559
- class ContentHaloRunV1alpha1SnapshotApi extends BaseAPI {
1560
- createcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1561
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).createcontentHaloRunV1alpha1Snapshot(requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
2741
+ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
2742
+ createstorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
2743
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).createstorageHaloRunV1alpha1Attachment(requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
1562
2744
  }
1563
- deletecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1564
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).deletecontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2745
+ deletestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2746
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).deletestorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1565
2747
  }
1566
- getcontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1567
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).getcontentHaloRunV1alpha1Snapshot(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2748
+ getstorageHaloRunV1alpha1Attachment(requestParameters, options) {
2749
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).getstorageHaloRunV1alpha1Attachment(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1568
2750
  }
1569
- listcontentHaloRunV1alpha1Snapshot(requestParameters = {}, options) {
1570
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).listcontentHaloRunV1alpha1Snapshot(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2751
+ liststorageHaloRunV1alpha1Attachment(requestParameters = {}, options) {
2752
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1571
2753
  }
1572
- updatecontentHaloRunV1alpha1Snapshot(requestParameters, options) {
1573
- return ContentHaloRunV1alpha1SnapshotApiFp(this.configuration).updatecontentHaloRunV1alpha1Snapshot(requestParameters.name, requestParameters.snapshot, options).then((request) => request(this.axios, this.basePath));
2754
+ searchAttachments(requestParameters = {}, options) {
2755
+ 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));
2756
+ }
2757
+ updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
2758
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
2759
+ }
2760
+ uploadAttachment(requestParameters, options) {
2761
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).uploadAttachment(requestParameters.file, requestParameters.policyName, requestParameters.groupName, options).then((request) => request(this.axios, this.basePath));
1574
2762
  }
1575
2763
  }
1576
2764
 
1577
- const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
2765
+ const StorageHaloRunV1alpha1GroupApiAxiosParamCreator = function(configuration) {
1578
2766
  return {
1579
- createcontentHaloRunV1alpha1Tag: async (tag, options = {}) => {
1580
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
2767
+ createstorageHaloRunV1alpha1Group: async (group, options = {}) => {
2768
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
1581
2769
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1582
2770
  let baseOptions;
1583
2771
  if (configuration) {
@@ -1592,15 +2780,15 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1592
2780
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1593
2781
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1594
2782
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1595
- localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
2783
+ localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
1596
2784
  return {
1597
2785
  url: toPathString(localVarUrlObj),
1598
2786
  options: localVarRequestOptions
1599
2787
  };
1600
2788
  },
1601
- deletecontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1602
- assertParamExists("deletecontentHaloRunV1alpha1Tag", "name", name);
1603
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2789
+ deletestorageHaloRunV1alpha1Group: async (name, options = {}) => {
2790
+ assertParamExists("deletestorageHaloRunV1alpha1Group", "name", name);
2791
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1604
2792
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1605
2793
  let baseOptions;
1606
2794
  if (configuration) {
@@ -1619,9 +2807,9 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1619
2807
  options: localVarRequestOptions
1620
2808
  };
1621
2809
  },
1622
- getcontentHaloRunV1alpha1Tag: async (name, options = {}) => {
1623
- assertParamExists("getcontentHaloRunV1alpha1Tag", "name", name);
1624
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2810
+ getstorageHaloRunV1alpha1Group: async (name, options = {}) => {
2811
+ assertParamExists("getstorageHaloRunV1alpha1Group", "name", name);
2812
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1625
2813
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1626
2814
  let baseOptions;
1627
2815
  if (configuration) {
@@ -1640,8 +2828,8 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1640
2828
  options: localVarRequestOptions
1641
2829
  };
1642
2830
  },
1643
- listcontentHaloRunV1alpha1Tag: async (page, size, labelSelector, fieldSelector, options = {}) => {
1644
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags`;
2831
+ liststorageHaloRunV1alpha1Group: async (page, size, labelSelector, fieldSelector, options = {}) => {
2832
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups`;
1645
2833
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1646
2834
  let baseOptions;
1647
2835
  if (configuration) {
@@ -1672,9 +2860,9 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1672
2860
  options: localVarRequestOptions
1673
2861
  };
1674
2862
  },
1675
- updatecontentHaloRunV1alpha1Tag: async (name, tag, options = {}) => {
1676
- assertParamExists("updatecontentHaloRunV1alpha1Tag", "name", name);
1677
- const localVarPath = `/apis/content.halo.run/v1alpha1/tags/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2863
+ updatestorageHaloRunV1alpha1Group: async (name, group, options = {}) => {
2864
+ assertParamExists("updatestorageHaloRunV1alpha1Group", "name", name);
2865
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/groups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1678
2866
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1679
2867
  let baseOptions;
1680
2868
  if (configuration) {
@@ -1689,7 +2877,7 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1689
2877
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1690
2878
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1691
2879
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1692
- localVarRequestOptions.data = serializeDataIfNeeded(tag, localVarRequestOptions, configuration);
2880
+ localVarRequestOptions.data = serializeDataIfNeeded(group, localVarRequestOptions, configuration);
1693
2881
  return {
1694
2882
  url: toPathString(localVarUrlObj),
1695
2883
  options: localVarRequestOptions
@@ -1697,73 +2885,73 @@ const ContentHaloRunV1alpha1TagApiAxiosParamCreator = function(configuration) {
1697
2885
  }
1698
2886
  };
1699
2887
  };
1700
- const ContentHaloRunV1alpha1TagApiFp = function(configuration) {
1701
- const localVarAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator(configuration);
2888
+ const StorageHaloRunV1alpha1GroupApiFp = function(configuration) {
2889
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator(configuration);
1702
2890
  return {
1703
- async createcontentHaloRunV1alpha1Tag(tag, options) {
1704
- const localVarAxiosArgs = await localVarAxiosParamCreator.createcontentHaloRunV1alpha1Tag(tag, options);
2891
+ async createstorageHaloRunV1alpha1Group(group, options) {
2892
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Group(group, options);
1705
2893
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1706
2894
  },
1707
- async deletecontentHaloRunV1alpha1Tag(name, options) {
1708
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletecontentHaloRunV1alpha1Tag(name, options);
2895
+ async deletestorageHaloRunV1alpha1Group(name, options) {
2896
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Group(name, options);
1709
2897
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1710
2898
  },
1711
- async getcontentHaloRunV1alpha1Tag(name, options) {
1712
- const localVarAxiosArgs = await localVarAxiosParamCreator.getcontentHaloRunV1alpha1Tag(name, options);
2899
+ async getstorageHaloRunV1alpha1Group(name, options) {
2900
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Group(name, options);
1713
2901
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1714
2902
  },
1715
- async listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1716
- const localVarAxiosArgs = await localVarAxiosParamCreator.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options);
2903
+ async liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2904
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options);
1717
2905
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1718
2906
  },
1719
- async updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1720
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatecontentHaloRunV1alpha1Tag(name, tag, options);
2907
+ async updatestorageHaloRunV1alpha1Group(name, group, options) {
2908
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Group(name, group, options);
1721
2909
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1722
2910
  }
1723
2911
  };
1724
2912
  };
1725
- const ContentHaloRunV1alpha1TagApiFactory = function(configuration, basePath, axios) {
1726
- const localVarFp = ContentHaloRunV1alpha1TagApiFp(configuration);
2913
+ const StorageHaloRunV1alpha1GroupApiFactory = function(configuration, basePath, axios) {
2914
+ const localVarFp = StorageHaloRunV1alpha1GroupApiFp(configuration);
1727
2915
  return {
1728
- createcontentHaloRunV1alpha1Tag(tag, options) {
1729
- return localVarFp.createcontentHaloRunV1alpha1Tag(tag, options).then((request) => request(axios, basePath));
2916
+ createstorageHaloRunV1alpha1Group(group, options) {
2917
+ return localVarFp.createstorageHaloRunV1alpha1Group(group, options).then((request) => request(axios, basePath));
1730
2918
  },
1731
- deletecontentHaloRunV1alpha1Tag(name, options) {
1732
- return localVarFp.deletecontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2919
+ deletestorageHaloRunV1alpha1Group(name, options) {
2920
+ return localVarFp.deletestorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
1733
2921
  },
1734
- getcontentHaloRunV1alpha1Tag(name, options) {
1735
- return localVarFp.getcontentHaloRunV1alpha1Tag(name, options).then((request) => request(axios, basePath));
2922
+ getstorageHaloRunV1alpha1Group(name, options) {
2923
+ return localVarFp.getstorageHaloRunV1alpha1Group(name, options).then((request) => request(axios, basePath));
1736
2924
  },
1737
- listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options) {
1738
- return localVarFp.listcontentHaloRunV1alpha1Tag(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2925
+ liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options) {
2926
+ return localVarFp.liststorageHaloRunV1alpha1Group(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1739
2927
  },
1740
- updatecontentHaloRunV1alpha1Tag(name, tag, options) {
1741
- return localVarFp.updatecontentHaloRunV1alpha1Tag(name, tag, options).then((request) => request(axios, basePath));
2928
+ updatestorageHaloRunV1alpha1Group(name, group, options) {
2929
+ return localVarFp.updatestorageHaloRunV1alpha1Group(name, group, options).then((request) => request(axios, basePath));
1742
2930
  }
1743
2931
  };
1744
2932
  };
1745
- class ContentHaloRunV1alpha1TagApi extends BaseAPI {
1746
- createcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
1747
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).createcontentHaloRunV1alpha1Tag(requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2933
+ class StorageHaloRunV1alpha1GroupApi extends BaseAPI {
2934
+ createstorageHaloRunV1alpha1Group(requestParameters = {}, options) {
2935
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).createstorageHaloRunV1alpha1Group(requestParameters.group, options).then((request) => request(this.axios, this.basePath));
1748
2936
  }
1749
- deletecontentHaloRunV1alpha1Tag(requestParameters, options) {
1750
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).deletecontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2937
+ deletestorageHaloRunV1alpha1Group(requestParameters, options) {
2938
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).deletestorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1751
2939
  }
1752
- getcontentHaloRunV1alpha1Tag(requestParameters, options) {
1753
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).getcontentHaloRunV1alpha1Tag(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2940
+ getstorageHaloRunV1alpha1Group(requestParameters, options) {
2941
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).getstorageHaloRunV1alpha1Group(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1754
2942
  }
1755
- listcontentHaloRunV1alpha1Tag(requestParameters = {}, options) {
1756
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).listcontentHaloRunV1alpha1Tag(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2943
+ liststorageHaloRunV1alpha1Group(requestParameters = {}, options) {
2944
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).liststorageHaloRunV1alpha1Group(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1757
2945
  }
1758
- updatecontentHaloRunV1alpha1Tag(requestParameters, options) {
1759
- return ContentHaloRunV1alpha1TagApiFp(this.configuration).updatecontentHaloRunV1alpha1Tag(requestParameters.name, requestParameters.tag, options).then((request) => request(this.axios, this.basePath));
2946
+ updatestorageHaloRunV1alpha1Group(requestParameters, options) {
2947
+ return StorageHaloRunV1alpha1GroupApiFp(this.configuration).updatestorageHaloRunV1alpha1Group(requestParameters.name, requestParameters.group, options).then((request) => request(this.axios, this.basePath));
1760
2948
  }
1761
2949
  }
1762
2950
 
1763
- const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2951
+ const StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = function(configuration) {
1764
2952
  return {
1765
- createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
1766
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
2953
+ createstorageHaloRunV1alpha1Policy: async (policy, options = {}) => {
2954
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
1767
2955
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1768
2956
  let baseOptions;
1769
2957
  if (configuration) {
@@ -1778,15 +2966,15 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1778
2966
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1779
2967
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1780
2968
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1781
- localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
2969
+ localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
1782
2970
  return {
1783
2971
  url: toPathString(localVarUrlObj),
1784
2972
  options: localVarRequestOptions
1785
2973
  };
1786
2974
  },
1787
- deletepluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
1788
- assertParamExists("deletepluginHaloRunV1alpha1Plugin", "name", name);
1789
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2975
+ deletestorageHaloRunV1alpha1Policy: async (name, options = {}) => {
2976
+ assertParamExists("deletestorageHaloRunV1alpha1Policy", "name", name);
2977
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1790
2978
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1791
2979
  let baseOptions;
1792
2980
  if (configuration) {
@@ -1805,9 +2993,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1805
2993
  options: localVarRequestOptions
1806
2994
  };
1807
2995
  },
1808
- getpluginHaloRunV1alpha1Plugin: async (name, options = {}) => {
1809
- assertParamExists("getpluginHaloRunV1alpha1Plugin", "name", name);
1810
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2996
+ getstorageHaloRunV1alpha1Policy: async (name, options = {}) => {
2997
+ assertParamExists("getstorageHaloRunV1alpha1Policy", "name", name);
2998
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1811
2999
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1812
3000
  let baseOptions;
1813
3001
  if (configuration) {
@@ -1826,8 +3014,8 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1826
3014
  options: localVarRequestOptions
1827
3015
  };
1828
3016
  },
1829
- listpluginHaloRunV1alpha1Plugin: async (page, size, labelSelector, fieldSelector, options = {}) => {
1830
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins`;
3017
+ liststorageHaloRunV1alpha1Policy: async (page, size, labelSelector, fieldSelector, options = {}) => {
3018
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies`;
1831
3019
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1832
3020
  let baseOptions;
1833
3021
  if (configuration) {
@@ -1858,9 +3046,9 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1858
3046
  options: localVarRequestOptions
1859
3047
  };
1860
3048
  },
1861
- updatepluginHaloRunV1alpha1Plugin: async (name, plugin, options = {}) => {
1862
- assertParamExists("updatepluginHaloRunV1alpha1Plugin", "name", name);
1863
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/plugins/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3049
+ updatestorageHaloRunV1alpha1Policy: async (name, policy, options = {}) => {
3050
+ assertParamExists("updatestorageHaloRunV1alpha1Policy", "name", name);
3051
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1864
3052
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1865
3053
  let baseOptions;
1866
3054
  if (configuration) {
@@ -1875,7 +3063,7 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1875
3063
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1876
3064
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1877
3065
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1878
- localVarRequestOptions.data = serializeDataIfNeeded(plugin, localVarRequestOptions, configuration);
3066
+ localVarRequestOptions.data = serializeDataIfNeeded(policy, localVarRequestOptions, configuration);
1879
3067
  return {
1880
3068
  url: toPathString(localVarUrlObj),
1881
3069
  options: localVarRequestOptions
@@ -1883,73 +3071,73 @@ const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration)
1883
3071
  }
1884
3072
  };
1885
3073
  };
1886
- const PluginHaloRunV1alpha1PluginApiFp = function(configuration) {
1887
- const localVarAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator(configuration);
3074
+ const StorageHaloRunV1alpha1PolicyApiFp = function(configuration) {
3075
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator(configuration);
1888
3076
  return {
1889
- async createpluginHaloRunV1alpha1Plugin(plugin, options) {
1890
- const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1Plugin(plugin, options);
3077
+ async createstorageHaloRunV1alpha1Policy(policy, options) {
3078
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1Policy(policy, options);
1891
3079
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1892
3080
  },
1893
- async deletepluginHaloRunV1alpha1Plugin(name, options) {
1894
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1Plugin(name, options);
3081
+ async deletestorageHaloRunV1alpha1Policy(name, options) {
3082
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1Policy(name, options);
1895
3083
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1896
3084
  },
1897
- async getpluginHaloRunV1alpha1Plugin(name, options) {
1898
- const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1Plugin(name, options);
3085
+ async getstorageHaloRunV1alpha1Policy(name, options) {
3086
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1Policy(name, options);
1899
3087
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1900
3088
  },
1901
- async listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
1902
- const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options);
3089
+ async liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3090
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options);
1903
3091
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1904
3092
  },
1905
- async updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
1906
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1Plugin(name, plugin, options);
3093
+ async updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3094
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1Policy(name, policy, options);
1907
3095
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
1908
3096
  }
1909
3097
  };
1910
3098
  };
1911
- const PluginHaloRunV1alpha1PluginApiFactory = function(configuration, basePath, axios) {
1912
- const localVarFp = PluginHaloRunV1alpha1PluginApiFp(configuration);
3099
+ const StorageHaloRunV1alpha1PolicyApiFactory = function(configuration, basePath, axios) {
3100
+ const localVarFp = StorageHaloRunV1alpha1PolicyApiFp(configuration);
1913
3101
  return {
1914
- createpluginHaloRunV1alpha1Plugin(plugin, options) {
1915
- return localVarFp.createpluginHaloRunV1alpha1Plugin(plugin, options).then((request) => request(axios, basePath));
3102
+ createstorageHaloRunV1alpha1Policy(policy, options) {
3103
+ return localVarFp.createstorageHaloRunV1alpha1Policy(policy, options).then((request) => request(axios, basePath));
1916
3104
  },
1917
- deletepluginHaloRunV1alpha1Plugin(name, options) {
1918
- return localVarFp.deletepluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
3105
+ deletestorageHaloRunV1alpha1Policy(name, options) {
3106
+ return localVarFp.deletestorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
1919
3107
  },
1920
- getpluginHaloRunV1alpha1Plugin(name, options) {
1921
- return localVarFp.getpluginHaloRunV1alpha1Plugin(name, options).then((request) => request(axios, basePath));
3108
+ getstorageHaloRunV1alpha1Policy(name, options) {
3109
+ return localVarFp.getstorageHaloRunV1alpha1Policy(name, options).then((request) => request(axios, basePath));
1922
3110
  },
1923
- listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options) {
1924
- return localVarFp.listpluginHaloRunV1alpha1Plugin(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3111
+ liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options) {
3112
+ return localVarFp.liststorageHaloRunV1alpha1Policy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
1925
3113
  },
1926
- updatepluginHaloRunV1alpha1Plugin(name, plugin, options) {
1927
- return localVarFp.updatepluginHaloRunV1alpha1Plugin(name, plugin, options).then((request) => request(axios, basePath));
3114
+ updatestorageHaloRunV1alpha1Policy(name, policy, options) {
3115
+ return localVarFp.updatestorageHaloRunV1alpha1Policy(name, policy, options).then((request) => request(axios, basePath));
1928
3116
  }
1929
3117
  };
1930
3118
  };
1931
- class PluginHaloRunV1alpha1PluginApi extends BaseAPI {
1932
- createpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
1933
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).createpluginHaloRunV1alpha1Plugin(requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
3119
+ class StorageHaloRunV1alpha1PolicyApi extends BaseAPI {
3120
+ createstorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
3121
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).createstorageHaloRunV1alpha1Policy(requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
1934
3122
  }
1935
- deletepluginHaloRunV1alpha1Plugin(requestParameters, options) {
1936
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).deletepluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3123
+ deletestorageHaloRunV1alpha1Policy(requestParameters, options) {
3124
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).deletestorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1937
3125
  }
1938
- getpluginHaloRunV1alpha1Plugin(requestParameters, options) {
1939
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).getpluginHaloRunV1alpha1Plugin(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3126
+ getstorageHaloRunV1alpha1Policy(requestParameters, options) {
3127
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).getstorageHaloRunV1alpha1Policy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
1940
3128
  }
1941
- listpluginHaloRunV1alpha1Plugin(requestParameters = {}, options) {
1942
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).listpluginHaloRunV1alpha1Plugin(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3129
+ liststorageHaloRunV1alpha1Policy(requestParameters = {}, options) {
3130
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).liststorageHaloRunV1alpha1Policy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
1943
3131
  }
1944
- updatepluginHaloRunV1alpha1Plugin(requestParameters, options) {
1945
- return PluginHaloRunV1alpha1PluginApiFp(this.configuration).updatepluginHaloRunV1alpha1Plugin(requestParameters.name, requestParameters.plugin, options).then((request) => request(this.axios, this.basePath));
3132
+ updatestorageHaloRunV1alpha1Policy(requestParameters, options) {
3133
+ return StorageHaloRunV1alpha1PolicyApiFp(this.configuration).updatestorageHaloRunV1alpha1Policy(requestParameters.name, requestParameters.policy, options).then((request) => request(this.axios, this.basePath));
1946
3134
  }
1947
3135
  }
1948
3136
 
1949
- const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configuration) {
3137
+ const StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = function(configuration) {
1950
3138
  return {
1951
- createpluginHaloRunV1alpha1ReverseProxy: async (reverseProxy, options = {}) => {
1952
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
3139
+ createstorageHaloRunV1alpha1PolicyTemplate: async (policyTemplate, options = {}) => {
3140
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
1953
3141
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1954
3142
  let baseOptions;
1955
3143
  if (configuration) {
@@ -1964,15 +3152,15 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1964
3152
  setSearchParams(localVarUrlObj, localVarQueryParameter);
1965
3153
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
1966
3154
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
1967
- localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
3155
+ localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
1968
3156
  return {
1969
3157
  url: toPathString(localVarUrlObj),
1970
3158
  options: localVarRequestOptions
1971
3159
  };
1972
3160
  },
1973
- deletepluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
1974
- assertParamExists("deletepluginHaloRunV1alpha1ReverseProxy", "name", name);
1975
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3161
+ deletestorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
3162
+ assertParamExists("deletestorageHaloRunV1alpha1PolicyTemplate", "name", name);
3163
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1976
3164
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1977
3165
  let baseOptions;
1978
3166
  if (configuration) {
@@ -1991,9 +3179,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
1991
3179
  options: localVarRequestOptions
1992
3180
  };
1993
3181
  },
1994
- getpluginHaloRunV1alpha1ReverseProxy: async (name, options = {}) => {
1995
- assertParamExists("getpluginHaloRunV1alpha1ReverseProxy", "name", name);
1996
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3182
+ getstorageHaloRunV1alpha1PolicyTemplate: async (name, options = {}) => {
3183
+ assertParamExists("getstorageHaloRunV1alpha1PolicyTemplate", "name", name);
3184
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
1997
3185
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
1998
3186
  let baseOptions;
1999
3187
  if (configuration) {
@@ -2012,8 +3200,8 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2012
3200
  options: localVarRequestOptions
2013
3201
  };
2014
3202
  },
2015
- listpluginHaloRunV1alpha1ReverseProxy: async (page, size, labelSelector, fieldSelector, options = {}) => {
2016
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies`;
3203
+ liststorageHaloRunV1alpha1PolicyTemplate: async (page, size, labelSelector, fieldSelector, options = {}) => {
3204
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates`;
2017
3205
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2018
3206
  let baseOptions;
2019
3207
  if (configuration) {
@@ -2044,9 +3232,9 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2044
3232
  options: localVarRequestOptions
2045
3233
  };
2046
3234
  },
2047
- updatepluginHaloRunV1alpha1ReverseProxy: async (name, reverseProxy, options = {}) => {
2048
- assertParamExists("updatepluginHaloRunV1alpha1ReverseProxy", "name", name);
2049
- const localVarPath = `/apis/plugin.halo.run/v1alpha1/reverseproxies/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
3235
+ updatestorageHaloRunV1alpha1PolicyTemplate: async (name, policyTemplate, options = {}) => {
3236
+ assertParamExists("updatestorageHaloRunV1alpha1PolicyTemplate", "name", name);
3237
+ const localVarPath = `/apis/storage.halo.run/v1alpha1/policytemplates/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2050
3238
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2051
3239
  let baseOptions;
2052
3240
  if (configuration) {
@@ -2061,7 +3249,7 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2061
3249
  setSearchParams(localVarUrlObj, localVarQueryParameter);
2062
3250
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2063
3251
  localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2064
- localVarRequestOptions.data = serializeDataIfNeeded(reverseProxy, localVarRequestOptions, configuration);
3252
+ localVarRequestOptions.data = serializeDataIfNeeded(policyTemplate, localVarRequestOptions, configuration);
2065
3253
  return {
2066
3254
  url: toPathString(localVarUrlObj),
2067
3255
  options: localVarRequestOptions
@@ -2069,66 +3257,66 @@ const PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator = function(configura
2069
3257
  }
2070
3258
  };
2071
3259
  };
2072
- const PluginHaloRunV1alpha1ReverseProxyApiFp = function(configuration) {
2073
- const localVarAxiosParamCreator = PluginHaloRunV1alpha1ReverseProxyApiAxiosParamCreator(configuration);
3260
+ const StorageHaloRunV1alpha1PolicyTemplateApiFp = function(configuration) {
3261
+ const localVarAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator(configuration);
2074
3262
  return {
2075
- async createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2076
- const localVarAxiosArgs = await localVarAxiosParamCreator.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options);
3263
+ async createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3264
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options);
2077
3265
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2078
3266
  },
2079
- async deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2080
- const localVarAxiosArgs = await localVarAxiosParamCreator.deletepluginHaloRunV1alpha1ReverseProxy(name, options);
3267
+ async deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3268
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletestorageHaloRunV1alpha1PolicyTemplate(name, options);
2081
3269
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2082
3270
  },
2083
- async getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2084
- const localVarAxiosArgs = await localVarAxiosParamCreator.getpluginHaloRunV1alpha1ReverseProxy(name, options);
3271
+ async getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3272
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getstorageHaloRunV1alpha1PolicyTemplate(name, options);
2085
3273
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2086
3274
  },
2087
- async listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2088
- const localVarAxiosArgs = await localVarAxiosParamCreator.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options);
3275
+ async liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3276
+ const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options);
2089
3277
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2090
3278
  },
2091
- async updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2092
- const localVarAxiosArgs = await localVarAxiosParamCreator.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options);
3279
+ async updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3280
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options);
2093
3281
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2094
3282
  }
2095
3283
  };
2096
3284
  };
2097
- const PluginHaloRunV1alpha1ReverseProxyApiFactory = function(configuration, basePath, axios) {
2098
- const localVarFp = PluginHaloRunV1alpha1ReverseProxyApiFp(configuration);
3285
+ const StorageHaloRunV1alpha1PolicyTemplateApiFactory = function(configuration, basePath, axios) {
3286
+ const localVarFp = StorageHaloRunV1alpha1PolicyTemplateApiFp(configuration);
2099
3287
  return {
2100
- createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options) {
2101
- return localVarFp.createpluginHaloRunV1alpha1ReverseProxy(reverseProxy, options).then((request) => request(axios, basePath));
3288
+ createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options) {
3289
+ return localVarFp.createstorageHaloRunV1alpha1PolicyTemplate(policyTemplate, options).then((request) => request(axios, basePath));
2102
3290
  },
2103
- deletepluginHaloRunV1alpha1ReverseProxy(name, options) {
2104
- return localVarFp.deletepluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
3291
+ deletestorageHaloRunV1alpha1PolicyTemplate(name, options) {
3292
+ return localVarFp.deletestorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
2105
3293
  },
2106
- getpluginHaloRunV1alpha1ReverseProxy(name, options) {
2107
- return localVarFp.getpluginHaloRunV1alpha1ReverseProxy(name, options).then((request) => request(axios, basePath));
3294
+ getstorageHaloRunV1alpha1PolicyTemplate(name, options) {
3295
+ return localVarFp.getstorageHaloRunV1alpha1PolicyTemplate(name, options).then((request) => request(axios, basePath));
2108
3296
  },
2109
- listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options) {
2110
- return localVarFp.listpluginHaloRunV1alpha1ReverseProxy(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3297
+ liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options) {
3298
+ return localVarFp.liststorageHaloRunV1alpha1PolicyTemplate(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2111
3299
  },
2112
- updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options) {
2113
- return localVarFp.updatepluginHaloRunV1alpha1ReverseProxy(name, reverseProxy, options).then((request) => request(axios, basePath));
3300
+ updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options) {
3301
+ return localVarFp.updatestorageHaloRunV1alpha1PolicyTemplate(name, policyTemplate, options).then((request) => request(axios, basePath));
2114
3302
  }
2115
3303
  };
2116
3304
  };
2117
- class PluginHaloRunV1alpha1ReverseProxyApi extends BaseAPI {
2118
- createpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2119
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).createpluginHaloRunV1alpha1ReverseProxy(requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
3305
+ class StorageHaloRunV1alpha1PolicyTemplateApi extends BaseAPI {
3306
+ createstorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
3307
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).createstorageHaloRunV1alpha1PolicyTemplate(requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
2120
3308
  }
2121
- deletepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2122
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).deletepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3309
+ deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
3310
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).deletestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2123
3311
  }
2124
- getpluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2125
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).getpluginHaloRunV1alpha1ReverseProxy(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
3312
+ getstorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
3313
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).getstorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2126
3314
  }
2127
- listpluginHaloRunV1alpha1ReverseProxy(requestParameters = {}, options) {
2128
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).listpluginHaloRunV1alpha1ReverseProxy(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3315
+ liststorageHaloRunV1alpha1PolicyTemplate(requestParameters = {}, options) {
3316
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).liststorageHaloRunV1alpha1PolicyTemplate(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2129
3317
  }
2130
- updatepluginHaloRunV1alpha1ReverseProxy(requestParameters, options) {
2131
- return PluginHaloRunV1alpha1ReverseProxyApiFp(this.configuration).updatepluginHaloRunV1alpha1ReverseProxy(requestParameters.name, requestParameters.reverseProxy, options).then((request) => request(this.axios, this.basePath));
3318
+ updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters, options) {
3319
+ return StorageHaloRunV1alpha1PolicyTemplateApiFp(this.configuration).updatestorageHaloRunV1alpha1PolicyTemplate(requestParameters.name, requestParameters.policyTemplate, options).then((request) => request(this.axios, this.basePath));
2132
3320
  }
2133
3321
  }
2134
3322
 
@@ -3843,6 +5031,12 @@ const PostSpecVisibleEnum = {
3843
5031
  Private: "PRIVATE"
3844
5032
  };
3845
5033
 
5034
+ const SinglePageSpecVisibleEnum = {
5035
+ Public: "PUBLIC",
5036
+ Internal: "INTERNAL",
5037
+ Private: "PRIVATE"
5038
+ };
5039
+
3846
5040
  exports.ApiHaloRunV1alpha1ContentApi = ApiHaloRunV1alpha1ContentApi;
3847
5041
  exports.ApiHaloRunV1alpha1ContentApiAxiosParamCreator = ApiHaloRunV1alpha1ContentApiAxiosParamCreator;
3848
5042
  exports.ApiHaloRunV1alpha1ContentApiFactory = ApiHaloRunV1alpha1ContentApiFactory;
@@ -3855,6 +5049,10 @@ exports.ApiHaloRunV1alpha1PostApi = ApiHaloRunV1alpha1PostApi;
3855
5049
  exports.ApiHaloRunV1alpha1PostApiAxiosParamCreator = ApiHaloRunV1alpha1PostApiAxiosParamCreator;
3856
5050
  exports.ApiHaloRunV1alpha1PostApiFactory = ApiHaloRunV1alpha1PostApiFactory;
3857
5051
  exports.ApiHaloRunV1alpha1PostApiFp = ApiHaloRunV1alpha1PostApiFp;
5052
+ exports.ApiHaloRunV1alpha1SinglePageApi = ApiHaloRunV1alpha1SinglePageApi;
5053
+ exports.ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator = ApiHaloRunV1alpha1SinglePageApiAxiosParamCreator;
5054
+ exports.ApiHaloRunV1alpha1SinglePageApiFactory = ApiHaloRunV1alpha1SinglePageApiFactory;
5055
+ exports.ApiHaloRunV1alpha1SinglePageApiFp = ApiHaloRunV1alpha1SinglePageApiFp;
3858
5056
  exports.ApiHaloRunV1alpha1ThemeApi = ApiHaloRunV1alpha1ThemeApi;
3859
5057
  exports.ApiHaloRunV1alpha1ThemeApiAxiosParamCreator = ApiHaloRunV1alpha1ThemeApiAxiosParamCreator;
3860
5058
  exports.ApiHaloRunV1alpha1ThemeApiFactory = ApiHaloRunV1alpha1ThemeApiFactory;
@@ -3881,6 +5079,10 @@ exports.ContentHaloRunV1alpha1ReplyApi = ContentHaloRunV1alpha1ReplyApi;
3881
5079
  exports.ContentHaloRunV1alpha1ReplyApiAxiosParamCreator = ContentHaloRunV1alpha1ReplyApiAxiosParamCreator;
3882
5080
  exports.ContentHaloRunV1alpha1ReplyApiFactory = ContentHaloRunV1alpha1ReplyApiFactory;
3883
5081
  exports.ContentHaloRunV1alpha1ReplyApiFp = ContentHaloRunV1alpha1ReplyApiFp;
5082
+ exports.ContentHaloRunV1alpha1SinglePageApi = ContentHaloRunV1alpha1SinglePageApi;
5083
+ exports.ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator = ContentHaloRunV1alpha1SinglePageApiAxiosParamCreator;
5084
+ exports.ContentHaloRunV1alpha1SinglePageApiFactory = ContentHaloRunV1alpha1SinglePageApiFactory;
5085
+ exports.ContentHaloRunV1alpha1SinglePageApiFp = ContentHaloRunV1alpha1SinglePageApiFp;
3884
5086
  exports.ContentHaloRunV1alpha1SnapshotApi = ContentHaloRunV1alpha1SnapshotApi;
3885
5087
  exports.ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator = ContentHaloRunV1alpha1SnapshotApiAxiosParamCreator;
3886
5088
  exports.ContentHaloRunV1alpha1SnapshotApiFactory = ContentHaloRunV1alpha1SnapshotApiFactory;
@@ -3899,6 +5101,23 @@ exports.PluginHaloRunV1alpha1ReverseProxyApiFactory = PluginHaloRunV1alpha1Rever
3899
5101
  exports.PluginHaloRunV1alpha1ReverseProxyApiFp = PluginHaloRunV1alpha1ReverseProxyApiFp;
3900
5102
  exports.PluginStatusPhaseEnum = PluginStatusPhaseEnum;
3901
5103
  exports.PostSpecVisibleEnum = PostSpecVisibleEnum;
5104
+ exports.SinglePageSpecVisibleEnum = SinglePageSpecVisibleEnum;
5105
+ exports.StorageHaloRunV1alpha1AttachmentApi = StorageHaloRunV1alpha1AttachmentApi;
5106
+ exports.StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator;
5107
+ exports.StorageHaloRunV1alpha1AttachmentApiFactory = StorageHaloRunV1alpha1AttachmentApiFactory;
5108
+ exports.StorageHaloRunV1alpha1AttachmentApiFp = StorageHaloRunV1alpha1AttachmentApiFp;
5109
+ exports.StorageHaloRunV1alpha1GroupApi = StorageHaloRunV1alpha1GroupApi;
5110
+ exports.StorageHaloRunV1alpha1GroupApiAxiosParamCreator = StorageHaloRunV1alpha1GroupApiAxiosParamCreator;
5111
+ exports.StorageHaloRunV1alpha1GroupApiFactory = StorageHaloRunV1alpha1GroupApiFactory;
5112
+ exports.StorageHaloRunV1alpha1GroupApiFp = StorageHaloRunV1alpha1GroupApiFp;
5113
+ exports.StorageHaloRunV1alpha1PolicyApi = StorageHaloRunV1alpha1PolicyApi;
5114
+ exports.StorageHaloRunV1alpha1PolicyApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyApiAxiosParamCreator;
5115
+ exports.StorageHaloRunV1alpha1PolicyApiFactory = StorageHaloRunV1alpha1PolicyApiFactory;
5116
+ exports.StorageHaloRunV1alpha1PolicyApiFp = StorageHaloRunV1alpha1PolicyApiFp;
5117
+ exports.StorageHaloRunV1alpha1PolicyTemplateApi = StorageHaloRunV1alpha1PolicyTemplateApi;
5118
+ exports.StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator = StorageHaloRunV1alpha1PolicyTemplateApiAxiosParamCreator;
5119
+ exports.StorageHaloRunV1alpha1PolicyTemplateApiFactory = StorageHaloRunV1alpha1PolicyTemplateApiFactory;
5120
+ exports.StorageHaloRunV1alpha1PolicyTemplateApiFp = StorageHaloRunV1alpha1PolicyTemplateApiFp;
3902
5121
  exports.ThemeHaloRunV1alpha1ThemeApi = ThemeHaloRunV1alpha1ThemeApi;
3903
5122
  exports.ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator = ThemeHaloRunV1alpha1ThemeApiAxiosParamCreator;
3904
5123
  exports.ThemeHaloRunV1alpha1ThemeApiFactory = ThemeHaloRunV1alpha1ThemeApiFactory;