qovery-typescript-axios 1.1.306 → 1.1.308

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/api.ts CHANGED
@@ -7942,7 +7942,14 @@ export interface HelmPortRequestPortsInner {
7942
7942
 
7943
7943
  export const HelmRepositoryKindEnum = {
7944
7944
  HTTPS: 'HTTPS',
7945
- OCI: 'OCI'
7945
+ OCI_PUBLIC: 'OCI_PUBLIC',
7946
+ OCI_ECR: 'OCI_ECR',
7947
+ OCI_SCALEWAY_CR: 'OCI_SCALEWAY_CR',
7948
+ OCI_DOCKER_HUB: 'OCI_DOCKER_HUB',
7949
+ OCI_PUBLIC_ECR: 'OCI_PUBLIC_ECR',
7950
+ OCI_GENERIC_CR: 'OCI_GENERIC_CR',
7951
+ OCI_GITHUB_CR: 'OCI_GITHUB_CR',
7952
+ OCI_GITLAB_CR: 'OCI_GITLAB_CR'
7946
7953
  } as const;
7947
7954
 
7948
7955
  export type HelmRepositoryKindEnum = typeof HelmRepositoryKindEnum[keyof typeof HelmRepositoryKindEnum];
@@ -23015,6 +23022,51 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
23015
23022
 
23016
23023
 
23017
23024
 
23025
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
23026
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23027
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
23028
+
23029
+ return {
23030
+ url: toPathString(localVarUrlObj),
23031
+ options: localVarRequestOptions,
23032
+ };
23033
+ },
23034
+ /**
23035
+ *
23036
+ * @summary Get cluster kubeconfig
23037
+ * @param {string} organizationId Organization ID
23038
+ * @param {string} clusterId Cluster ID
23039
+ * @param {*} [options] Override http request option.
23040
+ * @throws {RequiredError}
23041
+ */
23042
+ getClusterKubeconfig: async (organizationId: string, clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23043
+ // verify required parameter 'organizationId' is not null or undefined
23044
+ assertParamExists('getClusterKubeconfig', 'organizationId', organizationId)
23045
+ // verify required parameter 'clusterId' is not null or undefined
23046
+ assertParamExists('getClusterKubeconfig', 'clusterId', clusterId)
23047
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
23048
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
23049
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
23050
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
23051
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
23052
+ let baseOptions;
23053
+ if (configuration) {
23054
+ baseOptions = configuration.baseOptions;
23055
+ }
23056
+
23057
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
23058
+ const localVarHeaderParameter = {} as any;
23059
+ const localVarQueryParameter = {} as any;
23060
+
23061
+ // authentication ApiKeyAuth required
23062
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
23063
+
23064
+ // authentication bearerAuth required
23065
+ // http bearer authentication required
23066
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
23067
+
23068
+
23069
+
23018
23070
  setSearchParams(localVarUrlObj, localVarQueryParameter);
23019
23071
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
23020
23072
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -23560,6 +23612,18 @@ export const ClustersApiFp = function(configuration?: Configuration) {
23560
23612
  const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterAdvancedSettings(organizationId, clusterId, options);
23561
23613
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23562
23614
  },
23615
+ /**
23616
+ *
23617
+ * @summary Get cluster kubeconfig
23618
+ * @param {string} organizationId Organization ID
23619
+ * @param {string} clusterId Cluster ID
23620
+ * @param {*} [options] Override http request option.
23621
+ * @throws {RequiredError}
23622
+ */
23623
+ async getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
23624
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
23625
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
23626
+ },
23563
23627
  /**
23564
23628
  *
23565
23629
  * @summary Know if a cluster is ready to be deployed or not
@@ -23768,6 +23832,17 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
23768
23832
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings> {
23769
23833
  return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
23770
23834
  },
23835
+ /**
23836
+ *
23837
+ * @summary Get cluster kubeconfig
23838
+ * @param {string} organizationId Organization ID
23839
+ * @param {string} clusterId Cluster ID
23840
+ * @param {*} [options] Override http request option.
23841
+ * @throws {RequiredError}
23842
+ */
23843
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string> {
23844
+ return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
23845
+ },
23771
23846
  /**
23772
23847
  *
23773
23848
  * @summary Know if a cluster is ready to be deployed or not
@@ -23980,6 +24055,19 @@ export class ClustersApi extends BaseAPI {
23980
24055
  return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
23981
24056
  }
23982
24057
 
24058
+ /**
24059
+ *
24060
+ * @summary Get cluster kubeconfig
24061
+ * @param {string} organizationId Organization ID
24062
+ * @param {string} clusterId Cluster ID
24063
+ * @param {*} [options] Override http request option.
24064
+ * @throws {RequiredError}
24065
+ * @memberof ClustersApi
24066
+ */
24067
+ public getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
24068
+ return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
24069
+ }
24070
+
23983
24071
  /**
23984
24072
  *
23985
24073
  * @summary Know if a cluster is ready to be deployed or not
package/dist/api.d.ts CHANGED
@@ -7702,7 +7702,14 @@ export interface HelmPortRequestPortsInner {
7702
7702
  */
7703
7703
  export declare const HelmRepositoryKindEnum: {
7704
7704
  readonly HTTPS: "HTTPS";
7705
- readonly OCI: "OCI";
7705
+ readonly OCI_PUBLIC: "OCI_PUBLIC";
7706
+ readonly OCI_ECR: "OCI_ECR";
7707
+ readonly OCI_SCALEWAY_CR: "OCI_SCALEWAY_CR";
7708
+ readonly OCI_DOCKER_HUB: "OCI_DOCKER_HUB";
7709
+ readonly OCI_PUBLIC_ECR: "OCI_PUBLIC_ECR";
7710
+ readonly OCI_GENERIC_CR: "OCI_GENERIC_CR";
7711
+ readonly OCI_GITHUB_CR: "OCI_GITHUB_CR";
7712
+ readonly OCI_GITLAB_CR: "OCI_GITLAB_CR";
7706
7713
  };
7707
7714
  export type HelmRepositoryKindEnum = typeof HelmRepositoryKindEnum[keyof typeof HelmRepositoryKindEnum];
7708
7715
  /**
@@ -17714,6 +17721,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
17714
17721
  * @throws {RequiredError}
17715
17722
  */
17716
17723
  getClusterAdvancedSettings: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17724
+ /**
17725
+ *
17726
+ * @summary Get cluster kubeconfig
17727
+ * @param {string} organizationId Organization ID
17728
+ * @param {string} clusterId Cluster ID
17729
+ * @param {*} [options] Override http request option.
17730
+ * @throws {RequiredError}
17731
+ */
17732
+ getClusterKubeconfig: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17717
17733
  /**
17718
17734
  *
17719
17735
  * @summary Know if a cluster is ready to be deployed or not
@@ -17874,6 +17890,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
17874
17890
  * @throws {RequiredError}
17875
17891
  */
17876
17892
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
17893
+ /**
17894
+ *
17895
+ * @summary Get cluster kubeconfig
17896
+ * @param {string} organizationId Organization ID
17897
+ * @param {string} clusterId Cluster ID
17898
+ * @param {*} [options] Override http request option.
17899
+ * @throws {RequiredError}
17900
+ */
17901
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
17877
17902
  /**
17878
17903
  *
17879
17904
  * @summary Know if a cluster is ready to be deployed or not
@@ -18034,6 +18059,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
18034
18059
  * @throws {RequiredError}
18035
18060
  */
18036
18061
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings>;
18062
+ /**
18063
+ *
18064
+ * @summary Get cluster kubeconfig
18065
+ * @param {string} organizationId Organization ID
18066
+ * @param {string} clusterId Cluster ID
18067
+ * @param {*} [options] Override http request option.
18068
+ * @throws {RequiredError}
18069
+ */
18070
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string>;
18037
18071
  /**
18038
18072
  *
18039
18073
  * @summary Know if a cluster is ready to be deployed or not
@@ -18203,6 +18237,16 @@ export declare class ClustersApi extends BaseAPI {
18203
18237
  * @memberof ClustersApi
18204
18238
  */
18205
18239
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
18240
+ /**
18241
+ *
18242
+ * @summary Get cluster kubeconfig
18243
+ * @param {string} organizationId Organization ID
18244
+ * @param {string} clusterId Cluster ID
18245
+ * @param {*} [options] Override http request option.
18246
+ * @throws {RequiredError}
18247
+ * @memberof ClustersApi
18248
+ */
18249
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
18206
18250
  /**
18207
18251
  *
18208
18252
  * @summary Know if a cluster is ready to be deployed or not
package/dist/api.js CHANGED
@@ -371,7 +371,14 @@ exports.HelmPortProtocolEnum = {
371
371
  */
372
372
  exports.HelmRepositoryKindEnum = {
373
373
  HTTPS: 'HTTPS',
374
- OCI: 'OCI'
374
+ OCI_PUBLIC: 'OCI_PUBLIC',
375
+ OCI_ECR: 'OCI_ECR',
376
+ OCI_SCALEWAY_CR: 'OCI_SCALEWAY_CR',
377
+ OCI_DOCKER_HUB: 'OCI_DOCKER_HUB',
378
+ OCI_PUBLIC_ECR: 'OCI_PUBLIC_ECR',
379
+ OCI_GENERIC_CR: 'OCI_GENERIC_CR',
380
+ OCI_GITHUB_CR: 'OCI_GITHUB_CR',
381
+ OCI_GITLAB_CR: 'OCI_GITLAB_CR'
375
382
  };
376
383
  /**
377
384
  * deprecated
@@ -8945,6 +8952,44 @@ const ClustersApiAxiosParamCreator = function (configuration) {
8945
8952
  options: localVarRequestOptions,
8946
8953
  };
8947
8954
  }),
8955
+ /**
8956
+ *
8957
+ * @summary Get cluster kubeconfig
8958
+ * @param {string} organizationId Organization ID
8959
+ * @param {string} clusterId Cluster ID
8960
+ * @param {*} [options] Override http request option.
8961
+ * @throws {RequiredError}
8962
+ */
8963
+ getClusterKubeconfig: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
8964
+ // verify required parameter 'organizationId' is not null or undefined
8965
+ (0, common_1.assertParamExists)('getClusterKubeconfig', 'organizationId', organizationId);
8966
+ // verify required parameter 'clusterId' is not null or undefined
8967
+ (0, common_1.assertParamExists)('getClusterKubeconfig', 'clusterId', clusterId);
8968
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
8969
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
8970
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
8971
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8972
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
8973
+ let baseOptions;
8974
+ if (configuration) {
8975
+ baseOptions = configuration.baseOptions;
8976
+ }
8977
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8978
+ const localVarHeaderParameter = {};
8979
+ const localVarQueryParameter = {};
8980
+ // authentication ApiKeyAuth required
8981
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
8982
+ // authentication bearerAuth required
8983
+ // http bearer authentication required
8984
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8985
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8986
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8987
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8988
+ return {
8989
+ url: (0, common_1.toPathString)(localVarUrlObj),
8990
+ options: localVarRequestOptions,
8991
+ };
8992
+ }),
8948
8993
  /**
8949
8994
  *
8950
8995
  * @summary Know if a cluster is ready to be deployed or not
@@ -9424,6 +9469,20 @@ const ClustersApiFp = function (configuration) {
9424
9469
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9425
9470
  });
9426
9471
  },
9472
+ /**
9473
+ *
9474
+ * @summary Get cluster kubeconfig
9475
+ * @param {string} organizationId Organization ID
9476
+ * @param {string} clusterId Cluster ID
9477
+ * @param {*} [options] Override http request option.
9478
+ * @throws {RequiredError}
9479
+ */
9480
+ getClusterKubeconfig(organizationId, clusterId, options) {
9481
+ return __awaiter(this, void 0, void 0, function* () {
9482
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
9483
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9484
+ });
9485
+ },
9427
9486
  /**
9428
9487
  *
9429
9488
  * @summary Know if a cluster is ready to be deployed or not
@@ -9652,6 +9711,17 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
9652
9711
  getClusterAdvancedSettings(organizationId, clusterId, options) {
9653
9712
  return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
9654
9713
  },
9714
+ /**
9715
+ *
9716
+ * @summary Get cluster kubeconfig
9717
+ * @param {string} organizationId Organization ID
9718
+ * @param {string} clusterId Cluster ID
9719
+ * @param {*} [options] Override http request option.
9720
+ * @throws {RequiredError}
9721
+ */
9722
+ getClusterKubeconfig(organizationId, clusterId, options) {
9723
+ return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
9724
+ },
9655
9725
  /**
9656
9726
  *
9657
9727
  * @summary Know if a cluster is ready to be deployed or not
@@ -9857,6 +9927,18 @@ class ClustersApi extends base_1.BaseAPI {
9857
9927
  getClusterAdvancedSettings(organizationId, clusterId, options) {
9858
9928
  return (0, exports.ClustersApiFp)(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
9859
9929
  }
9930
+ /**
9931
+ *
9932
+ * @summary Get cluster kubeconfig
9933
+ * @param {string} organizationId Organization ID
9934
+ * @param {string} clusterId Cluster ID
9935
+ * @param {*} [options] Override http request option.
9936
+ * @throws {RequiredError}
9937
+ * @memberof ClustersApi
9938
+ */
9939
+ getClusterKubeconfig(organizationId, clusterId, options) {
9940
+ return (0, exports.ClustersApiFp)(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
9941
+ }
9860
9942
  /**
9861
9943
  *
9862
9944
  * @summary Know if a cluster is ready to be deployed or not
package/dist/esm/api.d.ts CHANGED
@@ -7702,7 +7702,14 @@ export interface HelmPortRequestPortsInner {
7702
7702
  */
7703
7703
  export declare const HelmRepositoryKindEnum: {
7704
7704
  readonly HTTPS: "HTTPS";
7705
- readonly OCI: "OCI";
7705
+ readonly OCI_PUBLIC: "OCI_PUBLIC";
7706
+ readonly OCI_ECR: "OCI_ECR";
7707
+ readonly OCI_SCALEWAY_CR: "OCI_SCALEWAY_CR";
7708
+ readonly OCI_DOCKER_HUB: "OCI_DOCKER_HUB";
7709
+ readonly OCI_PUBLIC_ECR: "OCI_PUBLIC_ECR";
7710
+ readonly OCI_GENERIC_CR: "OCI_GENERIC_CR";
7711
+ readonly OCI_GITHUB_CR: "OCI_GITHUB_CR";
7712
+ readonly OCI_GITLAB_CR: "OCI_GITLAB_CR";
7706
7713
  };
7707
7714
  export type HelmRepositoryKindEnum = typeof HelmRepositoryKindEnum[keyof typeof HelmRepositoryKindEnum];
7708
7715
  /**
@@ -17714,6 +17721,15 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
17714
17721
  * @throws {RequiredError}
17715
17722
  */
17716
17723
  getClusterAdvancedSettings: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17724
+ /**
17725
+ *
17726
+ * @summary Get cluster kubeconfig
17727
+ * @param {string} organizationId Organization ID
17728
+ * @param {string} clusterId Cluster ID
17729
+ * @param {*} [options] Override http request option.
17730
+ * @throws {RequiredError}
17731
+ */
17732
+ getClusterKubeconfig: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
17717
17733
  /**
17718
17734
  *
17719
17735
  * @summary Know if a cluster is ready to be deployed or not
@@ -17874,6 +17890,15 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
17874
17890
  * @throws {RequiredError}
17875
17891
  */
17876
17892
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterAdvancedSettings>>;
17893
+ /**
17894
+ *
17895
+ * @summary Get cluster kubeconfig
17896
+ * @param {string} organizationId Organization ID
17897
+ * @param {string} clusterId Cluster ID
17898
+ * @param {*} [options] Override http request option.
17899
+ * @throws {RequiredError}
17900
+ */
17901
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
17877
17902
  /**
17878
17903
  *
17879
17904
  * @summary Know if a cluster is ready to be deployed or not
@@ -18034,6 +18059,15 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
18034
18059
  * @throws {RequiredError}
18035
18060
  */
18036
18061
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: any): AxiosPromise<ClusterAdvancedSettings>;
18062
+ /**
18063
+ *
18064
+ * @summary Get cluster kubeconfig
18065
+ * @param {string} organizationId Organization ID
18066
+ * @param {string} clusterId Cluster ID
18067
+ * @param {*} [options] Override http request option.
18068
+ * @throws {RequiredError}
18069
+ */
18070
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string>;
18037
18071
  /**
18038
18072
  *
18039
18073
  * @summary Know if a cluster is ready to be deployed or not
@@ -18203,6 +18237,16 @@ export declare class ClustersApi extends BaseAPI {
18203
18237
  * @memberof ClustersApi
18204
18238
  */
18205
18239
  getClusterAdvancedSettings(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterAdvancedSettings, any>>;
18240
+ /**
18241
+ *
18242
+ * @summary Get cluster kubeconfig
18243
+ * @param {string} organizationId Organization ID
18244
+ * @param {string} clusterId Cluster ID
18245
+ * @param {*} [options] Override http request option.
18246
+ * @throws {RequiredError}
18247
+ * @memberof ClustersApi
18248
+ */
18249
+ getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
18206
18250
  /**
18207
18251
  *
18208
18252
  * @summary Know if a cluster is ready to be deployed or not
package/dist/esm/api.js CHANGED
@@ -361,7 +361,14 @@ export const HelmPortProtocolEnum = {
361
361
  */
362
362
  export const HelmRepositoryKindEnum = {
363
363
  HTTPS: 'HTTPS',
364
- OCI: 'OCI'
364
+ OCI_PUBLIC: 'OCI_PUBLIC',
365
+ OCI_ECR: 'OCI_ECR',
366
+ OCI_SCALEWAY_CR: 'OCI_SCALEWAY_CR',
367
+ OCI_DOCKER_HUB: 'OCI_DOCKER_HUB',
368
+ OCI_PUBLIC_ECR: 'OCI_PUBLIC_ECR',
369
+ OCI_GENERIC_CR: 'OCI_GENERIC_CR',
370
+ OCI_GITHUB_CR: 'OCI_GITHUB_CR',
371
+ OCI_GITLAB_CR: 'OCI_GITLAB_CR'
365
372
  };
366
373
  /**
367
374
  * deprecated
@@ -8875,6 +8882,44 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
8875
8882
  options: localVarRequestOptions,
8876
8883
  };
8877
8884
  }),
8885
+ /**
8886
+ *
8887
+ * @summary Get cluster kubeconfig
8888
+ * @param {string} organizationId Organization ID
8889
+ * @param {string} clusterId Cluster ID
8890
+ * @param {*} [options] Override http request option.
8891
+ * @throws {RequiredError}
8892
+ */
8893
+ getClusterKubeconfig: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
8894
+ // verify required parameter 'organizationId' is not null or undefined
8895
+ assertParamExists('getClusterKubeconfig', 'organizationId', organizationId);
8896
+ // verify required parameter 'clusterId' is not null or undefined
8897
+ assertParamExists('getClusterKubeconfig', 'clusterId', clusterId);
8898
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/kubeconfig`
8899
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
8900
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
8901
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
8902
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
8903
+ let baseOptions;
8904
+ if (configuration) {
8905
+ baseOptions = configuration.baseOptions;
8906
+ }
8907
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
8908
+ const localVarHeaderParameter = {};
8909
+ const localVarQueryParameter = {};
8910
+ // authentication ApiKeyAuth required
8911
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
8912
+ // authentication bearerAuth required
8913
+ // http bearer authentication required
8914
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8915
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
8916
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8917
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
8918
+ return {
8919
+ url: toPathString(localVarUrlObj),
8920
+ options: localVarRequestOptions,
8921
+ };
8922
+ }),
8878
8923
  /**
8879
8924
  *
8880
8925
  * @summary Know if a cluster is ready to be deployed or not
@@ -9353,6 +9398,20 @@ export const ClustersApiFp = function (configuration) {
9353
9398
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9354
9399
  });
9355
9400
  },
9401
+ /**
9402
+ *
9403
+ * @summary Get cluster kubeconfig
9404
+ * @param {string} organizationId Organization ID
9405
+ * @param {string} clusterId Cluster ID
9406
+ * @param {*} [options] Override http request option.
9407
+ * @throws {RequiredError}
9408
+ */
9409
+ getClusterKubeconfig(organizationId, clusterId, options) {
9410
+ return __awaiter(this, void 0, void 0, function* () {
9411
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
9412
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9413
+ });
9414
+ },
9356
9415
  /**
9357
9416
  *
9358
9417
  * @summary Know if a cluster is ready to be deployed or not
@@ -9580,6 +9639,17 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
9580
9639
  getClusterAdvancedSettings(organizationId, clusterId, options) {
9581
9640
  return localVarFp.getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(axios, basePath));
9582
9641
  },
9642
+ /**
9643
+ *
9644
+ * @summary Get cluster kubeconfig
9645
+ * @param {string} organizationId Organization ID
9646
+ * @param {string} clusterId Cluster ID
9647
+ * @param {*} [options] Override http request option.
9648
+ * @throws {RequiredError}
9649
+ */
9650
+ getClusterKubeconfig(organizationId, clusterId, options) {
9651
+ return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
9652
+ },
9583
9653
  /**
9584
9654
  *
9585
9655
  * @summary Know if a cluster is ready to be deployed or not
@@ -9784,6 +9854,18 @@ export class ClustersApi extends BaseAPI {
9784
9854
  getClusterAdvancedSettings(organizationId, clusterId, options) {
9785
9855
  return ClustersApiFp(this.configuration).getClusterAdvancedSettings(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
9786
9856
  }
9857
+ /**
9858
+ *
9859
+ * @summary Get cluster kubeconfig
9860
+ * @param {string} organizationId Organization ID
9861
+ * @param {string} clusterId Cluster ID
9862
+ * @param {*} [options] Override http request option.
9863
+ * @throws {RequiredError}
9864
+ * @memberof ClustersApi
9865
+ */
9866
+ getClusterKubeconfig(organizationId, clusterId, options) {
9867
+ return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
9868
+ }
9787
9869
  /**
9788
9870
  *
9789
9871
  * @summary Know if a cluster is ready to be deployed or not
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.306",
3
+ "version": "v1.1.308",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {