@halo-dev/api-client 0.0.16 → 0.0.17

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