@halo-dev/api-client 0.0.28 → 0.0.29

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -462,7 +462,7 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
462
462
  options: localVarRequestOptions
463
463
  };
464
464
  },
465
- listPosts: async (sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options = {}) => {
465
+ listPosts: async (sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
466
466
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/posts`;
467
467
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
468
468
  let baseOptions;
@@ -477,6 +477,9 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
477
477
  if (sort !== void 0) {
478
478
  localVarQueryParameter["sort"] = sort;
479
479
  }
480
+ if (contributor) {
481
+ localVarQueryParameter["contributor"] = Array.from(contributor);
482
+ }
480
483
  if (sortOrder !== void 0) {
481
484
  localVarQueryParameter["sortOrder"] = sortOrder;
482
485
  }
@@ -486,17 +489,14 @@ const ApiConsoleHaloRunV1alpha1PostApiAxiosParamCreator = function(configuration
486
489
  if (category) {
487
490
  localVarQueryParameter["category"] = Array.from(category);
488
491
  }
489
- if (contributor) {
490
- localVarQueryParameter["contributor"] = Array.from(contributor);
491
- }
492
- if (keyword !== void 0) {
493
- localVarQueryParameter["keyword"] = keyword;
492
+ if (tag) {
493
+ localVarQueryParameter["tag"] = Array.from(tag);
494
494
  }
495
495
  if (visible !== void 0) {
496
496
  localVarQueryParameter["visible"] = visible;
497
497
  }
498
- if (tag) {
499
- localVarQueryParameter["tag"] = Array.from(tag);
498
+ if (keyword !== void 0) {
499
+ localVarQueryParameter["keyword"] = keyword;
500
500
  }
501
501
  if (size !== void 0) {
502
502
  localVarQueryParameter["size"] = size;
@@ -572,8 +572,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFp = function(configuration) {
572
572
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftPost(postRequest, options);
573
573
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
574
574
  },
575
- async listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
576
- const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options);
575
+ async listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options) {
576
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options);
577
577
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
578
578
  },
579
579
  async publishPost(name, options) {
@@ -592,8 +592,8 @@ const ApiConsoleHaloRunV1alpha1PostApiFactory = function(configuration, basePath
592
592
  draftPost(postRequest, options) {
593
593
  return localVarFp.draftPost(postRequest, options).then((request) => request(axios, basePath));
594
594
  },
595
- listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options) {
596
- return localVarFp.listPosts(sort, sortOrder, publishPhase, category, contributor, keyword, visible, tag, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
595
+ listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options) {
596
+ return localVarFp.listPosts(sort, contributor, sortOrder, publishPhase, category, tag, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
597
597
  },
598
598
  publishPost(name, options) {
599
599
  return localVarFp.publishPost(name, options).then((request) => request(axios, basePath));
@@ -608,7 +608,7 @@ class ApiConsoleHaloRunV1alpha1PostApi extends BaseAPI {
608
608
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).draftPost(requestParameters.postRequest, options).then((request) => request(this.axios, this.basePath));
609
609
  }
610
610
  listPosts(requestParameters = {}, options) {
611
- return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.contributor, requestParameters.keyword, requestParameters.visible, requestParameters.tag, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
611
+ return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).listPosts(requestParameters.sort, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.category, requestParameters.tag, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
612
612
  }
613
613
  publishPost(requestParameters, options) {
614
614
  return ApiConsoleHaloRunV1alpha1PostApiFp(this.configuration).publishPost(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -705,7 +705,7 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
705
705
  options: localVarRequestOptions
706
706
  };
707
707
  },
708
- listSinglePages: async (contributors, size, labelSelector, fieldSelector, page, options = {}) => {
708
+ listSinglePages: async (sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options = {}) => {
709
709
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/singlepages`;
710
710
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
711
711
  let baseOptions;
@@ -717,8 +717,23 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiAxiosParamCreator = function(configu
717
717
  const localVarQueryParameter = {};
718
718
  setBasicAuthToObject(localVarRequestOptions, configuration);
719
719
  await setBearerAuthToObject(localVarHeaderParameter, configuration);
720
- if (contributors) {
721
- localVarQueryParameter["contributors"] = Array.from(contributors);
720
+ if (sort !== void 0) {
721
+ localVarQueryParameter["sort"] = sort;
722
+ }
723
+ if (contributor) {
724
+ localVarQueryParameter["contributor"] = Array.from(contributor);
725
+ }
726
+ if (sortOrder !== void 0) {
727
+ localVarQueryParameter["sortOrder"] = sortOrder;
728
+ }
729
+ if (publishPhase !== void 0) {
730
+ localVarQueryParameter["publishPhase"] = publishPhase;
731
+ }
732
+ if (visible !== void 0) {
733
+ localVarQueryParameter["visible"] = visible;
734
+ }
735
+ if (keyword !== void 0) {
736
+ localVarQueryParameter["keyword"] = keyword;
722
737
  }
723
738
  if (size !== void 0) {
724
739
  localVarQueryParameter["size"] = size;
@@ -794,8 +809,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFp = function(configuration) {
794
809
  const localVarAxiosArgs = await localVarAxiosParamCreator.draftSinglePage(singlePageRequest, options);
795
810
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
796
811
  },
797
- async listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
798
- const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options);
812
+ async listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
813
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options);
799
814
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
800
815
  },
801
816
  async publishSinglePage(name, options) {
@@ -814,8 +829,8 @@ const ApiConsoleHaloRunV1alpha1SinglePageApiFactory = function(configuration, ba
814
829
  draftSinglePage(singlePageRequest, options) {
815
830
  return localVarFp.draftSinglePage(singlePageRequest, options).then((request) => request(axios, basePath));
816
831
  },
817
- listSinglePages(contributors, size, labelSelector, fieldSelector, page, options) {
818
- return localVarFp.listSinglePages(contributors, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
832
+ listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options) {
833
+ return localVarFp.listSinglePages(sort, contributor, sortOrder, publishPhase, visible, keyword, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
819
834
  },
820
835
  publishSinglePage(name, options) {
821
836
  return localVarFp.publishSinglePage(name, options).then((request) => request(axios, basePath));
@@ -830,7 +845,7 @@ class ApiConsoleHaloRunV1alpha1SinglePageApi extends BaseAPI {
830
845
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).draftSinglePage(requestParameters.singlePageRequest, options).then((request) => request(this.axios, this.basePath));
831
846
  }
832
847
  listSinglePages(requestParameters = {}, options) {
833
- return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.contributors, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
848
+ return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).listSinglePages(requestParameters.sort, requestParameters.contributor, requestParameters.sortOrder, requestParameters.publishPhase, requestParameters.visible, requestParameters.keyword, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
834
849
  }
835
850
  publishSinglePage(requestParameters, options) {
836
851
  return ApiConsoleHaloRunV1alpha1SinglePageApiFp(this.configuration).publishSinglePage(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
@@ -1189,12 +1204,12 @@ const ApiHaloRunV1alpha1CommentApiAxiosParamCreator = function(configuration) {
1189
1204
  if (version !== void 0) {
1190
1205
  localVarQueryParameter["version"] = version;
1191
1206
  }
1192
- if (group !== void 0) {
1193
- localVarQueryParameter["group"] = group;
1194
- }
1195
1207
  if (kind !== void 0) {
1196
1208
  localVarQueryParameter["kind"] = kind;
1197
1209
  }
1210
+ if (group !== void 0) {
1211
+ localVarQueryParameter["group"] = group;
1212
+ }
1198
1213
  if (size !== void 0) {
1199
1214
  localVarQueryParameter["size"] = size;
1200
1215
  }
@@ -2576,6 +2591,378 @@ class ContentHaloRunV1alpha1TagApi extends BaseAPI {
2576
2591
  }
2577
2592
  }
2578
2593
 
2594
+ const CoreHaloRunV1alpha1LinkApiAxiosParamCreator = function(configuration) {
2595
+ return {
2596
+ createcoreHaloRunV1alpha1Link: async (link, options = {}) => {
2597
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
2598
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2599
+ let baseOptions;
2600
+ if (configuration) {
2601
+ baseOptions = configuration.baseOptions;
2602
+ }
2603
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2604
+ const localVarHeaderParameter = {};
2605
+ const localVarQueryParameter = {};
2606
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2607
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2608
+ localVarHeaderParameter["Content-Type"] = "application/json";
2609
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2610
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2611
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2612
+ localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
2613
+ return {
2614
+ url: toPathString(localVarUrlObj),
2615
+ options: localVarRequestOptions
2616
+ };
2617
+ },
2618
+ deletecoreHaloRunV1alpha1Link: async (name, options = {}) => {
2619
+ assertParamExists("deletecoreHaloRunV1alpha1Link", "name", name);
2620
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2621
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2622
+ let baseOptions;
2623
+ if (configuration) {
2624
+ baseOptions = configuration.baseOptions;
2625
+ }
2626
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2627
+ const localVarHeaderParameter = {};
2628
+ const localVarQueryParameter = {};
2629
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2630
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2631
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2632
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2633
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2634
+ return {
2635
+ url: toPathString(localVarUrlObj),
2636
+ options: localVarRequestOptions
2637
+ };
2638
+ },
2639
+ getcoreHaloRunV1alpha1Link: async (name, options = {}) => {
2640
+ assertParamExists("getcoreHaloRunV1alpha1Link", "name", name);
2641
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2642
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2643
+ let baseOptions;
2644
+ if (configuration) {
2645
+ baseOptions = configuration.baseOptions;
2646
+ }
2647
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2648
+ const localVarHeaderParameter = {};
2649
+ const localVarQueryParameter = {};
2650
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2651
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2652
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2653
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2654
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2655
+ return {
2656
+ url: toPathString(localVarUrlObj),
2657
+ options: localVarRequestOptions
2658
+ };
2659
+ },
2660
+ listcoreHaloRunV1alpha1Link: async (page, size, labelSelector, fieldSelector, options = {}) => {
2661
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links`;
2662
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2663
+ let baseOptions;
2664
+ if (configuration) {
2665
+ baseOptions = configuration.baseOptions;
2666
+ }
2667
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2668
+ const localVarHeaderParameter = {};
2669
+ const localVarQueryParameter = {};
2670
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2671
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2672
+ if (page !== void 0) {
2673
+ localVarQueryParameter["page"] = page;
2674
+ }
2675
+ if (size !== void 0) {
2676
+ localVarQueryParameter["size"] = size;
2677
+ }
2678
+ if (labelSelector) {
2679
+ localVarQueryParameter["labelSelector"] = labelSelector;
2680
+ }
2681
+ if (fieldSelector) {
2682
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2683
+ }
2684
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2685
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2686
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2687
+ return {
2688
+ url: toPathString(localVarUrlObj),
2689
+ options: localVarRequestOptions
2690
+ };
2691
+ },
2692
+ updatecoreHaloRunV1alpha1Link: async (name, link, options = {}) => {
2693
+ assertParamExists("updatecoreHaloRunV1alpha1Link", "name", name);
2694
+ const localVarPath = `/apis/core.halo.run/v1alpha1/links/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2695
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2696
+ let baseOptions;
2697
+ if (configuration) {
2698
+ baseOptions = configuration.baseOptions;
2699
+ }
2700
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2701
+ const localVarHeaderParameter = {};
2702
+ const localVarQueryParameter = {};
2703
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2704
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2705
+ localVarHeaderParameter["Content-Type"] = "application/json";
2706
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2707
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2708
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2709
+ localVarRequestOptions.data = serializeDataIfNeeded(link, localVarRequestOptions, configuration);
2710
+ return {
2711
+ url: toPathString(localVarUrlObj),
2712
+ options: localVarRequestOptions
2713
+ };
2714
+ }
2715
+ };
2716
+ };
2717
+ const CoreHaloRunV1alpha1LinkApiFp = function(configuration) {
2718
+ const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator(configuration);
2719
+ return {
2720
+ async createcoreHaloRunV1alpha1Link(link, options) {
2721
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1Link(link, options);
2722
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2723
+ },
2724
+ async deletecoreHaloRunV1alpha1Link(name, options) {
2725
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1Link(name, options);
2726
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2727
+ },
2728
+ async getcoreHaloRunV1alpha1Link(name, options) {
2729
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1Link(name, options);
2730
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2731
+ },
2732
+ async listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
2733
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options);
2734
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2735
+ },
2736
+ async updatecoreHaloRunV1alpha1Link(name, link, options) {
2737
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1Link(name, link, options);
2738
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2739
+ }
2740
+ };
2741
+ };
2742
+ const CoreHaloRunV1alpha1LinkApiFactory = function(configuration, basePath, axios) {
2743
+ const localVarFp = CoreHaloRunV1alpha1LinkApiFp(configuration);
2744
+ return {
2745
+ createcoreHaloRunV1alpha1Link(link, options) {
2746
+ return localVarFp.createcoreHaloRunV1alpha1Link(link, options).then((request) => request(axios, basePath));
2747
+ },
2748
+ deletecoreHaloRunV1alpha1Link(name, options) {
2749
+ return localVarFp.deletecoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
2750
+ },
2751
+ getcoreHaloRunV1alpha1Link(name, options) {
2752
+ return localVarFp.getcoreHaloRunV1alpha1Link(name, options).then((request) => request(axios, basePath));
2753
+ },
2754
+ listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options) {
2755
+ return localVarFp.listcoreHaloRunV1alpha1Link(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2756
+ },
2757
+ updatecoreHaloRunV1alpha1Link(name, link, options) {
2758
+ return localVarFp.updatecoreHaloRunV1alpha1Link(name, link, options).then((request) => request(axios, basePath));
2759
+ }
2760
+ };
2761
+ };
2762
+ class CoreHaloRunV1alpha1LinkApi extends BaseAPI {
2763
+ createcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
2764
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).createcoreHaloRunV1alpha1Link(requestParameters.link, options).then((request) => request(this.axios, this.basePath));
2765
+ }
2766
+ deletecoreHaloRunV1alpha1Link(requestParameters, options) {
2767
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).deletecoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2768
+ }
2769
+ getcoreHaloRunV1alpha1Link(requestParameters, options) {
2770
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).getcoreHaloRunV1alpha1Link(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2771
+ }
2772
+ listcoreHaloRunV1alpha1Link(requestParameters = {}, options) {
2773
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).listcoreHaloRunV1alpha1Link(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2774
+ }
2775
+ updatecoreHaloRunV1alpha1Link(requestParameters, options) {
2776
+ return CoreHaloRunV1alpha1LinkApiFp(this.configuration).updatecoreHaloRunV1alpha1Link(requestParameters.name, requestParameters.link, options).then((request) => request(this.axios, this.basePath));
2777
+ }
2778
+ }
2779
+
2780
+ const CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = function(configuration) {
2781
+ return {
2782
+ createcoreHaloRunV1alpha1LinkGroup: async (linkGroup, options = {}) => {
2783
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
2784
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2785
+ let baseOptions;
2786
+ if (configuration) {
2787
+ baseOptions = configuration.baseOptions;
2788
+ }
2789
+ const localVarRequestOptions = { method: "POST", ...baseOptions, ...options };
2790
+ const localVarHeaderParameter = {};
2791
+ const localVarQueryParameter = {};
2792
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2793
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2794
+ localVarHeaderParameter["Content-Type"] = "application/json";
2795
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2796
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2797
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2798
+ localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
2799
+ return {
2800
+ url: toPathString(localVarUrlObj),
2801
+ options: localVarRequestOptions
2802
+ };
2803
+ },
2804
+ deletecoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
2805
+ assertParamExists("deletecoreHaloRunV1alpha1LinkGroup", "name", name);
2806
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2807
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2808
+ let baseOptions;
2809
+ if (configuration) {
2810
+ baseOptions = configuration.baseOptions;
2811
+ }
2812
+ const localVarRequestOptions = { method: "DELETE", ...baseOptions, ...options };
2813
+ const localVarHeaderParameter = {};
2814
+ const localVarQueryParameter = {};
2815
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2816
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2817
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2818
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2819
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2820
+ return {
2821
+ url: toPathString(localVarUrlObj),
2822
+ options: localVarRequestOptions
2823
+ };
2824
+ },
2825
+ getcoreHaloRunV1alpha1LinkGroup: async (name, options = {}) => {
2826
+ assertParamExists("getcoreHaloRunV1alpha1LinkGroup", "name", name);
2827
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2828
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2829
+ let baseOptions;
2830
+ if (configuration) {
2831
+ baseOptions = configuration.baseOptions;
2832
+ }
2833
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2834
+ const localVarHeaderParameter = {};
2835
+ const localVarQueryParameter = {};
2836
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2837
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2838
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2839
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2840
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2841
+ return {
2842
+ url: toPathString(localVarUrlObj),
2843
+ options: localVarRequestOptions
2844
+ };
2845
+ },
2846
+ listcoreHaloRunV1alpha1LinkGroup: async (page, size, labelSelector, fieldSelector, options = {}) => {
2847
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups`;
2848
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2849
+ let baseOptions;
2850
+ if (configuration) {
2851
+ baseOptions = configuration.baseOptions;
2852
+ }
2853
+ const localVarRequestOptions = { method: "GET", ...baseOptions, ...options };
2854
+ const localVarHeaderParameter = {};
2855
+ const localVarQueryParameter = {};
2856
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2857
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2858
+ if (page !== void 0) {
2859
+ localVarQueryParameter["page"] = page;
2860
+ }
2861
+ if (size !== void 0) {
2862
+ localVarQueryParameter["size"] = size;
2863
+ }
2864
+ if (labelSelector) {
2865
+ localVarQueryParameter["labelSelector"] = labelSelector;
2866
+ }
2867
+ if (fieldSelector) {
2868
+ localVarQueryParameter["fieldSelector"] = fieldSelector;
2869
+ }
2870
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2871
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2872
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2873
+ return {
2874
+ url: toPathString(localVarUrlObj),
2875
+ options: localVarRequestOptions
2876
+ };
2877
+ },
2878
+ updatecoreHaloRunV1alpha1LinkGroup: async (name, linkGroup, options = {}) => {
2879
+ assertParamExists("updatecoreHaloRunV1alpha1LinkGroup", "name", name);
2880
+ const localVarPath = `/apis/core.halo.run/v1alpha1/linkgroups/{name}`.replace(`{${"name"}}`, encodeURIComponent(String(name)));
2881
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
2882
+ let baseOptions;
2883
+ if (configuration) {
2884
+ baseOptions = configuration.baseOptions;
2885
+ }
2886
+ const localVarRequestOptions = { method: "PUT", ...baseOptions, ...options };
2887
+ const localVarHeaderParameter = {};
2888
+ const localVarQueryParameter = {};
2889
+ setBasicAuthToObject(localVarRequestOptions, configuration);
2890
+ await setBearerAuthToObject(localVarHeaderParameter, configuration);
2891
+ localVarHeaderParameter["Content-Type"] = "application/json";
2892
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
2893
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
2894
+ localVarRequestOptions.headers = { ...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers };
2895
+ localVarRequestOptions.data = serializeDataIfNeeded(linkGroup, localVarRequestOptions, configuration);
2896
+ return {
2897
+ url: toPathString(localVarUrlObj),
2898
+ options: localVarRequestOptions
2899
+ };
2900
+ }
2901
+ };
2902
+ };
2903
+ const CoreHaloRunV1alpha1LinkGroupApiFp = function(configuration) {
2904
+ const localVarAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator(configuration);
2905
+ return {
2906
+ async createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
2907
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options);
2908
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2909
+ },
2910
+ async deletecoreHaloRunV1alpha1LinkGroup(name, options) {
2911
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deletecoreHaloRunV1alpha1LinkGroup(name, options);
2912
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2913
+ },
2914
+ async getcoreHaloRunV1alpha1LinkGroup(name, options) {
2915
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getcoreHaloRunV1alpha1LinkGroup(name, options);
2916
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2917
+ },
2918
+ async listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
2919
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options);
2920
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2921
+ },
2922
+ async updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
2923
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options);
2924
+ return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
2925
+ }
2926
+ };
2927
+ };
2928
+ const CoreHaloRunV1alpha1LinkGroupApiFactory = function(configuration, basePath, axios) {
2929
+ const localVarFp = CoreHaloRunV1alpha1LinkGroupApiFp(configuration);
2930
+ return {
2931
+ createcoreHaloRunV1alpha1LinkGroup(linkGroup, options) {
2932
+ return localVarFp.createcoreHaloRunV1alpha1LinkGroup(linkGroup, options).then((request) => request(axios, basePath));
2933
+ },
2934
+ deletecoreHaloRunV1alpha1LinkGroup(name, options) {
2935
+ return localVarFp.deletecoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
2936
+ },
2937
+ getcoreHaloRunV1alpha1LinkGroup(name, options) {
2938
+ return localVarFp.getcoreHaloRunV1alpha1LinkGroup(name, options).then((request) => request(axios, basePath));
2939
+ },
2940
+ listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options) {
2941
+ return localVarFp.listcoreHaloRunV1alpha1LinkGroup(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
2942
+ },
2943
+ updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options) {
2944
+ return localVarFp.updatecoreHaloRunV1alpha1LinkGroup(name, linkGroup, options).then((request) => request(axios, basePath));
2945
+ }
2946
+ };
2947
+ };
2948
+ class CoreHaloRunV1alpha1LinkGroupApi extends BaseAPI {
2949
+ createcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
2950
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).createcoreHaloRunV1alpha1LinkGroup(requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
2951
+ }
2952
+ deletecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
2953
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).deletecoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2954
+ }
2955
+ getcoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
2956
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).getcoreHaloRunV1alpha1LinkGroup(requestParameters.name, options).then((request) => request(this.axios, this.basePath));
2957
+ }
2958
+ listcoreHaloRunV1alpha1LinkGroup(requestParameters = {}, options) {
2959
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).listcoreHaloRunV1alpha1LinkGroup(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
2960
+ }
2961
+ updatecoreHaloRunV1alpha1LinkGroup(requestParameters, options) {
2962
+ return CoreHaloRunV1alpha1LinkGroupApiFp(this.configuration).updatecoreHaloRunV1alpha1LinkGroup(requestParameters.name, requestParameters.linkGroup, options).then((request) => request(this.axios, this.basePath));
2963
+ }
2964
+ }
2965
+
2579
2966
  const PluginHaloRunV1alpha1PluginApiAxiosParamCreator = function(configuration) {
2580
2967
  return {
2581
2968
  createpluginHaloRunV1alpha1Plugin: async (plugin, options = {}) => {
@@ -3046,7 +3433,7 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
3046
3433
  options: localVarRequestOptions
3047
3434
  };
3048
3435
  },
3049
- searchAttachments: async (policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options = {}) => {
3436
+ searchAttachments: async (policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options = {}) => {
3050
3437
  const localVarPath = `/apis/api.console.halo.run/v1alpha1/attachments`;
3051
3438
  const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
3052
3439
  let baseOptions;
@@ -3064,12 +3451,12 @@ const StorageHaloRunV1alpha1AttachmentApiAxiosParamCreator = function(configurat
3064
3451
  if (displayName !== void 0) {
3065
3452
  localVarQueryParameter["displayName"] = displayName;
3066
3453
  }
3067
- if (uploadedBy !== void 0) {
3068
- localVarQueryParameter["uploadedBy"] = uploadedBy;
3069
- }
3070
3454
  if (group !== void 0) {
3071
3455
  localVarQueryParameter["group"] = group;
3072
3456
  }
3457
+ if (uploadedBy !== void 0) {
3458
+ localVarQueryParameter["uploadedBy"] = uploadedBy;
3459
+ }
3073
3460
  if (size !== void 0) {
3074
3461
  localVarQueryParameter["size"] = size;
3075
3462
  }
@@ -3168,8 +3555,8 @@ const StorageHaloRunV1alpha1AttachmentApiFp = function(configuration) {
3168
3555
  const localVarAxiosArgs = await localVarAxiosParamCreator.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options);
3169
3556
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
3170
3557
  },
3171
- async searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
3172
- const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options);
3558
+ async searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
3559
+ const localVarAxiosArgs = await localVarAxiosParamCreator.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options);
3173
3560
  return createRequestFunction(localVarAxiosArgs, globalAxios__default, BASE_PATH, configuration);
3174
3561
  },
3175
3562
  async updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
@@ -3197,8 +3584,8 @@ const StorageHaloRunV1alpha1AttachmentApiFactory = function(configuration, baseP
3197
3584
  liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options) {
3198
3585
  return localVarFp.liststorageHaloRunV1alpha1Attachment(page, size, labelSelector, fieldSelector, options).then((request) => request(axios, basePath));
3199
3586
  },
3200
- searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options) {
3201
- return localVarFp.searchAttachments(policy, displayName, uploadedBy, group, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
3587
+ searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options) {
3588
+ return localVarFp.searchAttachments(policy, displayName, group, uploadedBy, size, labelSelector, fieldSelector, page, options).then((request) => request(axios, basePath));
3202
3589
  },
3203
3590
  updatestorageHaloRunV1alpha1Attachment(name, attachment, options) {
3204
3591
  return localVarFp.updatestorageHaloRunV1alpha1Attachment(name, attachment, options).then((request) => request(axios, basePath));
@@ -3222,7 +3609,7 @@ class StorageHaloRunV1alpha1AttachmentApi extends BaseAPI {
3222
3609
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).liststorageHaloRunV1alpha1Attachment(requestParameters.page, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, options).then((request) => request(this.axios, this.basePath));
3223
3610
  }
3224
3611
  searchAttachments(requestParameters = {}, options) {
3225
- 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));
3612
+ return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).searchAttachments(requestParameters.policy, requestParameters.displayName, requestParameters.group, requestParameters.uploadedBy, requestParameters.size, requestParameters.labelSelector, requestParameters.fieldSelector, requestParameters.page, options).then((request) => request(this.axios, this.basePath));
3226
3613
  }
3227
3614
  updatestorageHaloRunV1alpha1Attachment(requestParameters, options) {
3228
3615
  return StorageHaloRunV1alpha1AttachmentApiFp(this.configuration).updatestorageHaloRunV1alpha1Attachment(requestParameters.name, requestParameters.attachment, options).then((request) => request(this.axios, this.basePath));
@@ -5580,6 +5967,14 @@ exports.ContentHaloRunV1alpha1TagApi = ContentHaloRunV1alpha1TagApi;
5580
5967
  exports.ContentHaloRunV1alpha1TagApiAxiosParamCreator = ContentHaloRunV1alpha1TagApiAxiosParamCreator;
5581
5968
  exports.ContentHaloRunV1alpha1TagApiFactory = ContentHaloRunV1alpha1TagApiFactory;
5582
5969
  exports.ContentHaloRunV1alpha1TagApiFp = ContentHaloRunV1alpha1TagApiFp;
5970
+ exports.CoreHaloRunV1alpha1LinkApi = CoreHaloRunV1alpha1LinkApi;
5971
+ exports.CoreHaloRunV1alpha1LinkApiAxiosParamCreator = CoreHaloRunV1alpha1LinkApiAxiosParamCreator;
5972
+ exports.CoreHaloRunV1alpha1LinkApiFactory = CoreHaloRunV1alpha1LinkApiFactory;
5973
+ exports.CoreHaloRunV1alpha1LinkApiFp = CoreHaloRunV1alpha1LinkApiFp;
5974
+ exports.CoreHaloRunV1alpha1LinkGroupApi = CoreHaloRunV1alpha1LinkGroupApi;
5975
+ exports.CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator = CoreHaloRunV1alpha1LinkGroupApiAxiosParamCreator;
5976
+ exports.CoreHaloRunV1alpha1LinkGroupApiFactory = CoreHaloRunV1alpha1LinkGroupApiFactory;
5977
+ exports.CoreHaloRunV1alpha1LinkGroupApiFp = CoreHaloRunV1alpha1LinkGroupApiFp;
5583
5978
  exports.PluginHaloRunV1alpha1PluginApi = PluginHaloRunV1alpha1PluginApi;
5584
5979
  exports.PluginHaloRunV1alpha1PluginApiAxiosParamCreator = PluginHaloRunV1alpha1PluginApiAxiosParamCreator;
5585
5980
  exports.PluginHaloRunV1alpha1PluginApiFactory = PluginHaloRunV1alpha1PluginApiFactory;