qovery-typescript-axios 1.1.473 → 1.1.474

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
@@ -7596,6 +7596,56 @@ export interface GenericObjectCurrentCost {
7596
7596
  */
7597
7597
  'cost': Cost;
7598
7598
  }
7599
+ /**
7600
+ *
7601
+ * @export
7602
+ * @interface GetClusterTokenByClusterId200Response
7603
+ */
7604
+ export interface GetClusterTokenByClusterId200Response {
7605
+ /**
7606
+ *
7607
+ * @type {string}
7608
+ * @memberof GetClusterTokenByClusterId200Response
7609
+ */
7610
+ 'apiVersion': string;
7611
+ /**
7612
+ *
7613
+ * @type {string}
7614
+ * @memberof GetClusterTokenByClusterId200Response
7615
+ */
7616
+ 'kind': string;
7617
+ /**
7618
+ *
7619
+ * @type {object}
7620
+ * @memberof GetClusterTokenByClusterId200Response
7621
+ */
7622
+ 'spec': object;
7623
+ /**
7624
+ *
7625
+ * @type {GetClusterTokenByClusterId200ResponseStatus}
7626
+ * @memberof GetClusterTokenByClusterId200Response
7627
+ */
7628
+ 'status': GetClusterTokenByClusterId200ResponseStatus;
7629
+ }
7630
+ /**
7631
+ *
7632
+ * @export
7633
+ * @interface GetClusterTokenByClusterId200ResponseStatus
7634
+ */
7635
+ export interface GetClusterTokenByClusterId200ResponseStatus {
7636
+ /**
7637
+ *
7638
+ * @type {string}
7639
+ * @memberof GetClusterTokenByClusterId200ResponseStatus
7640
+ */
7641
+ 'token': string;
7642
+ /**
7643
+ *
7644
+ * @type {string}
7645
+ * @memberof GetClusterTokenByClusterId200ResponseStatus
7646
+ */
7647
+ 'expirationTimestamp': string;
7648
+ }
7599
7649
  /**
7600
7650
  *
7601
7651
  * @export
@@ -23803,10 +23853,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
23803
23853
  * @summary Get cluster kubeconfig
23804
23854
  * @param {string} organizationId Organization ID
23805
23855
  * @param {string} clusterId Cluster ID
23856
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
23806
23857
  * @param {*} [options] Override http request option.
23807
23858
  * @throws {RequiredError}
23808
23859
  */
23809
- getClusterKubeconfig: async (organizationId: string, clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23860
+ getClusterKubeconfig: async (organizationId: string, clusterId: string, withTokenFromCli?: boolean, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
23810
23861
  // verify required parameter 'organizationId' is not null or undefined
23811
23862
  assertParamExists('getClusterKubeconfig', 'organizationId', organizationId)
23812
23863
  // verify required parameter 'clusterId' is not null or undefined
@@ -23832,6 +23883,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
23832
23883
  // http bearer authentication required
23833
23884
  await setBearerAuthToObject(localVarHeaderParameter, configuration)
23834
23885
 
23886
+ if (withTokenFromCli !== undefined) {
23887
+ localVarQueryParameter['withTokenFromCli'] = withTokenFromCli;
23888
+ }
23889
+
23835
23890
 
23836
23891
 
23837
23892
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -24442,11 +24497,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
24442
24497
  * @summary Get cluster kubeconfig
24443
24498
  * @param {string} organizationId Organization ID
24444
24499
  * @param {string} clusterId Cluster ID
24500
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
24445
24501
  * @param {*} [options] Override http request option.
24446
24502
  * @throws {RequiredError}
24447
24503
  */
24448
- async getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
24449
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
24504
+ async getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>> {
24505
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options);
24450
24506
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
24451
24507
  },
24452
24508
  /**
@@ -24686,11 +24742,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
24686
24742
  * @summary Get cluster kubeconfig
24687
24743
  * @param {string} organizationId Organization ID
24688
24744
  * @param {string} clusterId Cluster ID
24745
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
24689
24746
  * @param {*} [options] Override http request option.
24690
24747
  * @throws {RequiredError}
24691
24748
  */
24692
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string> {
24693
- return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
24749
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string> {
24750
+ return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
24694
24751
  },
24695
24752
  /**
24696
24753
  *
@@ -24934,12 +24991,13 @@ export class ClustersApi extends BaseAPI {
24934
24991
  * @summary Get cluster kubeconfig
24935
24992
  * @param {string} organizationId Organization ID
24936
24993
  * @param {string} clusterId Cluster ID
24994
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
24937
24995
  * @param {*} [options] Override http request option.
24938
24996
  * @throws {RequiredError}
24939
24997
  * @memberof ClustersApi
24940
24998
  */
24941
- public getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
24942
- return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
24999
+ public getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig) {
25000
+ return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
24943
25001
  }
24944
25002
 
24945
25003
  /**
@@ -31596,6 +31654,119 @@ export class DatabasesApi extends BaseAPI {
31596
31654
 
31597
31655
 
31598
31656
 
31657
+ /**
31658
+ * DefaultApi - axios parameter creator
31659
+ * @export
31660
+ */
31661
+ export const DefaultApiAxiosParamCreator = function (configuration?: Configuration) {
31662
+ return {
31663
+ /**
31664
+ *
31665
+ * @summary Get cluster token by clusterId
31666
+ * @param {string} clusterId
31667
+ * @param {*} [options] Override http request option.
31668
+ * @throws {RequiredError}
31669
+ */
31670
+ getClusterTokenByClusterId: async (clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
31671
+ // verify required parameter 'clusterId' is not null or undefined
31672
+ assertParamExists('getClusterTokenByClusterId', 'clusterId', clusterId)
31673
+ const localVarPath = `/cluster/{clusterId}/token`
31674
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
31675
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
31676
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
31677
+ let baseOptions;
31678
+ if (configuration) {
31679
+ baseOptions = configuration.baseOptions;
31680
+ }
31681
+
31682
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
31683
+ const localVarHeaderParameter = {} as any;
31684
+ const localVarQueryParameter = {} as any;
31685
+
31686
+ // authentication ApiKeyAuth required
31687
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
31688
+
31689
+ // authentication bearerAuth required
31690
+ // http bearer authentication required
31691
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
31692
+
31693
+
31694
+
31695
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
31696
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
31697
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
31698
+
31699
+ return {
31700
+ url: toPathString(localVarUrlObj),
31701
+ options: localVarRequestOptions,
31702
+ };
31703
+ },
31704
+ }
31705
+ };
31706
+
31707
+ /**
31708
+ * DefaultApi - functional programming interface
31709
+ * @export
31710
+ */
31711
+ export const DefaultApiFp = function(configuration?: Configuration) {
31712
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration)
31713
+ return {
31714
+ /**
31715
+ *
31716
+ * @summary Get cluster token by clusterId
31717
+ * @param {string} clusterId
31718
+ * @param {*} [options] Override http request option.
31719
+ * @throws {RequiredError}
31720
+ */
31721
+ async getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>> {
31722
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
31723
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31724
+ },
31725
+ }
31726
+ };
31727
+
31728
+ /**
31729
+ * DefaultApi - factory interface
31730
+ * @export
31731
+ */
31732
+ export const DefaultApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
31733
+ const localVarFp = DefaultApiFp(configuration)
31734
+ return {
31735
+ /**
31736
+ *
31737
+ * @summary Get cluster token by clusterId
31738
+ * @param {string} clusterId
31739
+ * @param {*} [options] Override http request option.
31740
+ * @throws {RequiredError}
31741
+ */
31742
+ getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response> {
31743
+ return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
31744
+ },
31745
+ };
31746
+ };
31747
+
31748
+ /**
31749
+ * DefaultApi - object-oriented interface
31750
+ * @export
31751
+ * @class DefaultApi
31752
+ * @extends {BaseAPI}
31753
+ */
31754
+ export class DefaultApi extends BaseAPI {
31755
+ /**
31756
+ *
31757
+ * @summary Get cluster token by clusterId
31758
+ * @param {string} clusterId
31759
+ * @param {*} [options] Override http request option.
31760
+ * @throws {RequiredError}
31761
+ * @memberof DefaultApi
31762
+ */
31763
+ public getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig) {
31764
+ return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
31765
+ }
31766
+ }
31767
+
31768
+
31769
+
31599
31770
  /**
31600
31771
  * DeploymentStageMainCallsApi - axios parameter creator
31601
31772
  * @export
package/dist/api.d.ts CHANGED
@@ -7377,6 +7377,56 @@ export interface GenericObjectCurrentCost {
7377
7377
  */
7378
7378
  'cost': Cost;
7379
7379
  }
7380
+ /**
7381
+ *
7382
+ * @export
7383
+ * @interface GetClusterTokenByClusterId200Response
7384
+ */
7385
+ export interface GetClusterTokenByClusterId200Response {
7386
+ /**
7387
+ *
7388
+ * @type {string}
7389
+ * @memberof GetClusterTokenByClusterId200Response
7390
+ */
7391
+ 'apiVersion': string;
7392
+ /**
7393
+ *
7394
+ * @type {string}
7395
+ * @memberof GetClusterTokenByClusterId200Response
7396
+ */
7397
+ 'kind': string;
7398
+ /**
7399
+ *
7400
+ * @type {object}
7401
+ * @memberof GetClusterTokenByClusterId200Response
7402
+ */
7403
+ 'spec': object;
7404
+ /**
7405
+ *
7406
+ * @type {GetClusterTokenByClusterId200ResponseStatus}
7407
+ * @memberof GetClusterTokenByClusterId200Response
7408
+ */
7409
+ 'status': GetClusterTokenByClusterId200ResponseStatus;
7410
+ }
7411
+ /**
7412
+ *
7413
+ * @export
7414
+ * @interface GetClusterTokenByClusterId200ResponseStatus
7415
+ */
7416
+ export interface GetClusterTokenByClusterId200ResponseStatus {
7417
+ /**
7418
+ *
7419
+ * @type {string}
7420
+ * @memberof GetClusterTokenByClusterId200ResponseStatus
7421
+ */
7422
+ 'token': string;
7423
+ /**
7424
+ *
7425
+ * @type {string}
7426
+ * @memberof GetClusterTokenByClusterId200ResponseStatus
7427
+ */
7428
+ 'expirationTimestamp': string;
7429
+ }
7380
7430
  /**
7381
7431
  *
7382
7432
  * @export
@@ -18644,10 +18694,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
18644
18694
  * @summary Get cluster kubeconfig
18645
18695
  * @param {string} organizationId Organization ID
18646
18696
  * @param {string} clusterId Cluster ID
18697
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
18647
18698
  * @param {*} [options] Override http request option.
18648
18699
  * @throws {RequiredError}
18649
18700
  */
18650
- getClusterKubeconfig: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
18701
+ getClusterKubeconfig: (organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
18651
18702
  /**
18652
18703
  *
18653
18704
  * @summary Know if a cluster is ready to be deployed or not
@@ -18832,10 +18883,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
18832
18883
  * @summary Get cluster kubeconfig
18833
18884
  * @param {string} organizationId Organization ID
18834
18885
  * @param {string} clusterId Cluster ID
18886
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
18835
18887
  * @param {*} [options] Override http request option.
18836
18888
  * @throws {RequiredError}
18837
18889
  */
18838
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
18890
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
18839
18891
  /**
18840
18892
  *
18841
18893
  * @summary Know if a cluster is ready to be deployed or not
@@ -19020,10 +19072,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
19020
19072
  * @summary Get cluster kubeconfig
19021
19073
  * @param {string} organizationId Organization ID
19022
19074
  * @param {string} clusterId Cluster ID
19075
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
19023
19076
  * @param {*} [options] Override http request option.
19024
19077
  * @throws {RequiredError}
19025
19078
  */
19026
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string>;
19079
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string>;
19027
19080
  /**
19028
19081
  *
19029
19082
  * @summary Know if a cluster is ready to be deployed or not
@@ -19218,11 +19271,12 @@ export declare class ClustersApi extends BaseAPI {
19218
19271
  * @summary Get cluster kubeconfig
19219
19272
  * @param {string} organizationId Organization ID
19220
19273
  * @param {string} clusterId Cluster ID
19274
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
19221
19275
  * @param {*} [options] Override http request option.
19222
19276
  * @throws {RequiredError}
19223
19277
  * @memberof ClustersApi
19224
19278
  */
19225
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
19279
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
19226
19280
  /**
19227
19281
  *
19228
19282
  * @summary Know if a cluster is ready to be deployed or not
@@ -22410,6 +22464,65 @@ export declare class DatabasesApi extends BaseAPI {
22410
22464
  */
22411
22465
  listEnvironmentDatabaseConfig(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DatabaseConfigurationResponseList, any>>;
22412
22466
  }
22467
+ /**
22468
+ * DefaultApi - axios parameter creator
22469
+ * @export
22470
+ */
22471
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
22472
+ /**
22473
+ *
22474
+ * @summary Get cluster token by clusterId
22475
+ * @param {string} clusterId
22476
+ * @param {*} [options] Override http request option.
22477
+ * @throws {RequiredError}
22478
+ */
22479
+ getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22480
+ };
22481
+ /**
22482
+ * DefaultApi - functional programming interface
22483
+ * @export
22484
+ */
22485
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
22486
+ /**
22487
+ *
22488
+ * @summary Get cluster token by clusterId
22489
+ * @param {string} clusterId
22490
+ * @param {*} [options] Override http request option.
22491
+ * @throws {RequiredError}
22492
+ */
22493
+ getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
22494
+ };
22495
+ /**
22496
+ * DefaultApi - factory interface
22497
+ * @export
22498
+ */
22499
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
22500
+ /**
22501
+ *
22502
+ * @summary Get cluster token by clusterId
22503
+ * @param {string} clusterId
22504
+ * @param {*} [options] Override http request option.
22505
+ * @throws {RequiredError}
22506
+ */
22507
+ getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
22508
+ };
22509
+ /**
22510
+ * DefaultApi - object-oriented interface
22511
+ * @export
22512
+ * @class DefaultApi
22513
+ * @extends {BaseAPI}
22514
+ */
22515
+ export declare class DefaultApi extends BaseAPI {
22516
+ /**
22517
+ *
22518
+ * @summary Get cluster token by clusterId
22519
+ * @param {string} clusterId
22520
+ * @param {*} [options] Override http request option.
22521
+ * @throws {RequiredError}
22522
+ * @memberof DefaultApi
22523
+ */
22524
+ getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
22525
+ }
22413
22526
  /**
22414
22527
  * DeploymentStageMainCallsApi - axios parameter creator
22415
22528
  * @export
package/dist/api.js CHANGED
@@ -26,10 +26,10 @@ exports.LabelsGroupAssociatedItemType = exports.KubernetesEnum = exports.JobSche
26
26
  exports.ApplicationEnvironmentVariableApiFp = exports.ApplicationEnvironmentVariableApiAxiosParamCreator = exports.ApplicationDeploymentRestrictionApi = exports.ApplicationDeploymentRestrictionApiFactory = exports.ApplicationDeploymentRestrictionApiFp = exports.ApplicationDeploymentRestrictionApiAxiosParamCreator = exports.ApplicationDeploymentHistoryApi = exports.ApplicationDeploymentHistoryApiFactory = exports.ApplicationDeploymentHistoryApiFp = exports.ApplicationDeploymentHistoryApiAxiosParamCreator = exports.ApplicationConfigurationApi = exports.ApplicationConfigurationApiFactory = exports.ApplicationConfigurationApiFp = exports.ApplicationConfigurationApiAxiosParamCreator = exports.ApplicationActionsApi = exports.ApplicationActionsApiFactory = exports.ApplicationActionsApiFp = exports.ApplicationActionsApiAxiosParamCreator = exports.AccountInfoApi = exports.AccountInfoApiFactory = exports.AccountInfoApiFp = exports.AccountInfoApiAxiosParamCreator = exports.WeekdayEnum = exports.TypeOfUseEnum = exports.StorageTypeEnum = exports.StepMetricStatusEnum = exports.StatusKindEnum = exports.StateEnum = exports.StageStepMetricNameEnum = exports.ServiceTypeForVariableEnum = exports.ServiceTypeEnum = exports.ServiceStepMetricNameEnum = exports.ServiceDeploymentStatusEnum = exports.ScalewayClusterCredentialsObjectTypeEnum = exports.RewardClaimTypeEnum = exports.RegistryMirroringModeEnum = exports.PortProtocolEnum = exports.PlanEnum = exports.OrganizationWebhookKindEnum = exports.OrganizationWebhookEventEnum = exports.OrganizationEventType = exports.OrganizationEventTargetType = exports.OrganizationEventSubTargetType = exports.OrganizationEventOrigin = exports.OrganizationCustomRoleProjectPermission = exports.OrganizationCustomRoleClusterPermission = exports.OrganizationApiTokenScope = exports.OrganizationAnnotationsGroupScopeEnum = exports.LinkedServiceTypeEnum = exports.LifecycleJobResponseJobTypeEnum = void 0;
27
27
  exports.ContainerCustomDomainApi = exports.ContainerCustomDomainApiFactory = exports.ContainerCustomDomainApiFp = exports.ContainerCustomDomainApiAxiosParamCreator = exports.ContainerConfigurationApi = exports.ContainerConfigurationApiFactory = exports.ContainerConfigurationApiFp = exports.ContainerConfigurationApiAxiosParamCreator = exports.ContainerActionsApi = exports.ContainerActionsApiFactory = exports.ContainerActionsApiFp = exports.ContainerActionsApiAxiosParamCreator = exports.ClustersApi = exports.ClustersApiFactory = exports.ClustersApiFp = exports.ClustersApiAxiosParamCreator = exports.CloudProviderCredentialsApi = exports.CloudProviderCredentialsApiFactory = exports.CloudProviderCredentialsApiFp = exports.CloudProviderCredentialsApiAxiosParamCreator = exports.CloudProviderApi = exports.CloudProviderApiFactory = exports.CloudProviderApiFp = exports.CloudProviderApiAxiosParamCreator = exports.BillingApi = exports.BillingApiFactory = exports.BillingApiFp = exports.BillingApiAxiosParamCreator = exports.BackupsApi = exports.BackupsApiFactory = exports.BackupsApiFp = exports.BackupsApiAxiosParamCreator = exports.ApplicationsApi = exports.ApplicationsApiFactory = exports.ApplicationsApiFp = exports.ApplicationsApiAxiosParamCreator = exports.ApplicationSecretApi = exports.ApplicationSecretApiFactory = exports.ApplicationSecretApiFp = exports.ApplicationSecretApiAxiosParamCreator = exports.ApplicationMainCallsApi = exports.ApplicationMainCallsApiFactory = exports.ApplicationMainCallsApiFp = exports.ApplicationMainCallsApiAxiosParamCreator = exports.ApplicationLogsApi = exports.ApplicationLogsApiFactory = exports.ApplicationLogsApiFp = exports.ApplicationLogsApiAxiosParamCreator = exports.ApplicationEnvironmentVariableApi = exports.ApplicationEnvironmentVariableApiFactory = void 0;
28
28
  exports.DatabasesApiFp = exports.DatabasesApiAxiosParamCreator = exports.DatabaseMainCallsApi = exports.DatabaseMainCallsApiFactory = exports.DatabaseMainCallsApiFp = exports.DatabaseMainCallsApiAxiosParamCreator = exports.DatabaseDeploymentHistoryApi = exports.DatabaseDeploymentHistoryApiFactory = exports.DatabaseDeploymentHistoryApiFp = exports.DatabaseDeploymentHistoryApiAxiosParamCreator = exports.DatabaseApplicationApi = exports.DatabaseApplicationApiFactory = exports.DatabaseApplicationApiFp = exports.DatabaseApplicationApiAxiosParamCreator = exports.DatabaseActionsApi = exports.DatabaseActionsApiFactory = exports.DatabaseActionsApiFp = exports.DatabaseActionsApiAxiosParamCreator = exports.CustomDomainApi = exports.CustomDomainApiFactory = exports.CustomDomainApiFp = exports.CustomDomainApiAxiosParamCreator = exports.ContainersApi = exports.ContainersApiFactory = exports.ContainersApiFp = exports.ContainersApiAxiosParamCreator = exports.ContainerSecretApi = exports.ContainerSecretApiFactory = exports.ContainerSecretApiFp = exports.ContainerSecretApiAxiosParamCreator = exports.ContainerRegistriesApi = exports.ContainerRegistriesApiFactory = exports.ContainerRegistriesApiFp = exports.ContainerRegistriesApiAxiosParamCreator = exports.ContainerMainCallsApi = exports.ContainerMainCallsApiFactory = exports.ContainerMainCallsApiFp = exports.ContainerMainCallsApiAxiosParamCreator = exports.ContainerLogsApi = exports.ContainerLogsApiFactory = exports.ContainerLogsApiFp = exports.ContainerLogsApiAxiosParamCreator = exports.ContainerEnvironmentVariableApi = exports.ContainerEnvironmentVariableApiFactory = exports.ContainerEnvironmentVariableApiFp = exports.ContainerEnvironmentVariableApiAxiosParamCreator = exports.ContainerDeploymentHistoryApi = exports.ContainerDeploymentHistoryApiFactory = exports.ContainerDeploymentHistoryApiFp = exports.ContainerDeploymentHistoryApiAxiosParamCreator = void 0;
29
- exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = void 0;
30
- exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = void 0;
31
- exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = void 0;
32
- exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = void 0;
29
+ exports.EnvironmentsApi = exports.EnvironmentsApiFactory = exports.EnvironmentsApiFp = exports.EnvironmentsApiAxiosParamCreator = exports.EnvironmentVariableApi = exports.EnvironmentVariableApiFactory = exports.EnvironmentVariableApiFp = exports.EnvironmentVariableApiAxiosParamCreator = exports.EnvironmentSecretApi = exports.EnvironmentSecretApiFactory = exports.EnvironmentSecretApiFp = exports.EnvironmentSecretApiAxiosParamCreator = exports.EnvironmentMainCallsApi = exports.EnvironmentMainCallsApiFactory = exports.EnvironmentMainCallsApiFp = exports.EnvironmentMainCallsApiAxiosParamCreator = exports.EnvironmentLogsApi = exports.EnvironmentLogsApiFactory = exports.EnvironmentLogsApiFp = exports.EnvironmentLogsApiAxiosParamCreator = exports.EnvironmentExportApi = exports.EnvironmentExportApiFactory = exports.EnvironmentExportApiFp = exports.EnvironmentExportApiAxiosParamCreator = exports.EnvironmentDeploymentRuleApi = exports.EnvironmentDeploymentRuleApiFactory = exports.EnvironmentDeploymentRuleApiFp = exports.EnvironmentDeploymentRuleApiAxiosParamCreator = exports.EnvironmentDeploymentHistoryApi = exports.EnvironmentDeploymentHistoryApiFactory = exports.EnvironmentDeploymentHistoryApiFp = exports.EnvironmentDeploymentHistoryApiAxiosParamCreator = exports.EnvironmentActionsApi = exports.EnvironmentActionsApiFactory = exports.EnvironmentActionsApiFp = exports.EnvironmentActionsApiAxiosParamCreator = exports.EnvironmentApi = exports.EnvironmentApiFactory = exports.EnvironmentApiFp = exports.EnvironmentApiAxiosParamCreator = exports.DeploymentStageMainCallsApi = exports.DeploymentStageMainCallsApiFactory = exports.DeploymentStageMainCallsApiFp = exports.DeploymentStageMainCallsApiAxiosParamCreator = exports.DefaultApi = exports.DefaultApiFactory = exports.DefaultApiFp = exports.DefaultApiAxiosParamCreator = exports.DatabasesApi = exports.DatabasesApiFactory = void 0;
30
+ exports.JobDeploymentHistoryApiFp = exports.JobDeploymentHistoryApiAxiosParamCreator = exports.JobConfigurationApi = exports.JobConfigurationApiFactory = exports.JobConfigurationApiFp = exports.JobConfigurationApiAxiosParamCreator = exports.JobActionsApi = exports.JobActionsApiFactory = exports.JobActionsApiFp = exports.JobActionsApiAxiosParamCreator = exports.HelmsApi = exports.HelmsApiFactory = exports.HelmsApiFp = exports.HelmsApiAxiosParamCreator = exports.HelmRepositoriesApi = exports.HelmRepositoriesApiFactory = exports.HelmRepositoriesApiFp = exports.HelmRepositoriesApiAxiosParamCreator = exports.HelmMainCallsApi = exports.HelmMainCallsApiFactory = exports.HelmMainCallsApiFp = exports.HelmMainCallsApiAxiosParamCreator = exports.HelmDeploymentRestrictionApi = exports.HelmDeploymentRestrictionApiFactory = exports.HelmDeploymentRestrictionApiFp = exports.HelmDeploymentRestrictionApiAxiosParamCreator = exports.HelmDeploymentHistoryApi = exports.HelmDeploymentHistoryApiFactory = exports.HelmDeploymentHistoryApiFp = exports.HelmDeploymentHistoryApiAxiosParamCreator = exports.HelmCustomDomainApi = exports.HelmCustomDomainApiFactory = exports.HelmCustomDomainApiFp = exports.HelmCustomDomainApiAxiosParamCreator = exports.HelmConfigurationApi = exports.HelmConfigurationApiFactory = exports.HelmConfigurationApiFp = exports.HelmConfigurationApiAxiosParamCreator = exports.HelmActionsApi = exports.HelmActionsApiFactory = exports.HelmActionsApiFp = exports.HelmActionsApiAxiosParamCreator = exports.GithubAppApi = exports.GithubAppApiFactory = exports.GithubAppApiFp = exports.GithubAppApiAxiosParamCreator = exports.GitRepositoriesApi = exports.GitRepositoriesApiFactory = exports.GitRepositoriesApiFp = exports.GitRepositoriesApiAxiosParamCreator = void 0;
31
+ exports.OrganizationEventApi = exports.OrganizationEventApiFactory = exports.OrganizationEventApiFp = exports.OrganizationEventApiAxiosParamCreator = exports.OrganizationCustomRoleApi = exports.OrganizationCustomRoleApiFactory = exports.OrganizationCustomRoleApiFp = exports.OrganizationCustomRoleApiAxiosParamCreator = exports.OrganizationApiTokenApi = exports.OrganizationApiTokenApiFactory = exports.OrganizationApiTokenApiFp = exports.OrganizationApiTokenApiAxiosParamCreator = exports.OrganizationAnnotationsGroupApi = exports.OrganizationAnnotationsGroupApiFactory = exports.OrganizationAnnotationsGroupApiFp = exports.OrganizationAnnotationsGroupApiAxiosParamCreator = exports.OrganizationAccountGitRepositoriesApi = exports.OrganizationAccountGitRepositoriesApiFactory = exports.OrganizationAccountGitRepositoriesApiFp = exports.OrganizationAccountGitRepositoriesApiAxiosParamCreator = exports.MembersApi = exports.MembersApiFactory = exports.MembersApiFp = exports.MembersApiAxiosParamCreator = exports.LifecycleTemplateMainCallsApi = exports.LifecycleTemplateMainCallsApiFactory = exports.LifecycleTemplateMainCallsApiFp = exports.LifecycleTemplateMainCallsApiAxiosParamCreator = exports.JobsApi = exports.JobsApiFactory = exports.JobsApiFp = exports.JobsApiAxiosParamCreator = exports.JobSecretApi = exports.JobSecretApiFactory = exports.JobSecretApiFp = exports.JobSecretApiAxiosParamCreator = exports.JobMainCallsApi = exports.JobMainCallsApiFactory = exports.JobMainCallsApiFp = exports.JobMainCallsApiAxiosParamCreator = exports.JobEnvironmentVariableApi = exports.JobEnvironmentVariableApiFactory = exports.JobEnvironmentVariableApiFp = exports.JobEnvironmentVariableApiAxiosParamCreator = exports.JobDeploymentRestrictionApi = exports.JobDeploymentRestrictionApiFactory = exports.JobDeploymentRestrictionApiFp = exports.JobDeploymentRestrictionApiAxiosParamCreator = exports.JobDeploymentHistoryApi = exports.JobDeploymentHistoryApiFactory = void 0;
32
+ exports.VariableMainCallsApi = exports.VariableMainCallsApiFactory = exports.VariableMainCallsApiFp = exports.VariableMainCallsApiAxiosParamCreator = exports.UserSignUpApi = exports.UserSignUpApiFactory = exports.UserSignUpApiFp = exports.UserSignUpApiAxiosParamCreator = exports.ReferralRewardsApi = exports.ReferralRewardsApiFactory = exports.ReferralRewardsApiFp = exports.ReferralRewardsApiAxiosParamCreator = exports.ProjectsApi = exports.ProjectsApiFactory = exports.ProjectsApiFp = exports.ProjectsApiAxiosParamCreator = exports.ProjectSecretApi = exports.ProjectSecretApiFactory = exports.ProjectSecretApiFp = exports.ProjectSecretApiAxiosParamCreator = exports.ProjectMainCallsApi = exports.ProjectMainCallsApiFactory = exports.ProjectMainCallsApiFp = exports.ProjectMainCallsApiAxiosParamCreator = exports.ProjectEnvironmentVariableApi = exports.ProjectEnvironmentVariableApiFactory = exports.ProjectEnvironmentVariableApiFp = exports.ProjectEnvironmentVariableApiAxiosParamCreator = exports.ProjectDeploymentRuleApi = exports.ProjectDeploymentRuleApiFactory = exports.ProjectDeploymentRuleApiFp = exports.ProjectDeploymentRuleApiAxiosParamCreator = exports.OrganizationWebhookApi = exports.OrganizationWebhookApiFactory = exports.OrganizationWebhookApiFp = exports.OrganizationWebhookApiAxiosParamCreator = exports.OrganizationMainCallsApi = exports.OrganizationMainCallsApiFactory = exports.OrganizationMainCallsApiFp = exports.OrganizationMainCallsApiAxiosParamCreator = exports.OrganizationLabelsGroupApi = exports.OrganizationLabelsGroupApiFactory = exports.OrganizationLabelsGroupApiFp = exports.OrganizationLabelsGroupApiAxiosParamCreator = void 0;
33
33
  const axios_1 = require("axios");
34
34
  // Some imports not used depending on template conditions
35
35
  // @ts-ignore
@@ -8752,10 +8752,11 @@ const ClustersApiAxiosParamCreator = function (configuration) {
8752
8752
  * @summary Get cluster kubeconfig
8753
8753
  * @param {string} organizationId Organization ID
8754
8754
  * @param {string} clusterId Cluster ID
8755
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
8755
8756
  * @param {*} [options] Override http request option.
8756
8757
  * @throws {RequiredError}
8757
8758
  */
8758
- getClusterKubeconfig: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
8759
+ getClusterKubeconfig: (organizationId, clusterId, withTokenFromCli, options = {}) => __awaiter(this, void 0, void 0, function* () {
8759
8760
  // verify required parameter 'organizationId' is not null or undefined
8760
8761
  (0, common_1.assertParamExists)('getClusterKubeconfig', 'organizationId', organizationId);
8761
8762
  // verify required parameter 'clusterId' is not null or undefined
@@ -8777,6 +8778,9 @@ const ClustersApiAxiosParamCreator = function (configuration) {
8777
8778
  // authentication bearerAuth required
8778
8779
  // http bearer authentication required
8779
8780
  yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
8781
+ if (withTokenFromCli !== undefined) {
8782
+ localVarQueryParameter['withTokenFromCli'] = withTokenFromCli;
8783
+ }
8780
8784
  (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
8781
8785
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8782
8786
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9322,12 +9326,13 @@ const ClustersApiFp = function (configuration) {
9322
9326
  * @summary Get cluster kubeconfig
9323
9327
  * @param {string} organizationId Organization ID
9324
9328
  * @param {string} clusterId Cluster ID
9329
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
9325
9330
  * @param {*} [options] Override http request option.
9326
9331
  * @throws {RequiredError}
9327
9332
  */
9328
- getClusterKubeconfig(organizationId, clusterId, options) {
9333
+ getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
9329
9334
  return __awaiter(this, void 0, void 0, function* () {
9330
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
9335
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options);
9331
9336
  return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
9332
9337
  });
9333
9338
  },
@@ -9590,11 +9595,12 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
9590
9595
  * @summary Get cluster kubeconfig
9591
9596
  * @param {string} organizationId Organization ID
9592
9597
  * @param {string} clusterId Cluster ID
9598
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
9593
9599
  * @param {*} [options] Override http request option.
9594
9600
  * @throws {RequiredError}
9595
9601
  */
9596
- getClusterKubeconfig(organizationId, clusterId, options) {
9597
- return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
9602
+ getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
9603
+ return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
9598
9604
  },
9599
9605
  /**
9600
9606
  *
@@ -9830,12 +9836,13 @@ class ClustersApi extends base_1.BaseAPI {
9830
9836
  * @summary Get cluster kubeconfig
9831
9837
  * @param {string} organizationId Organization ID
9832
9838
  * @param {string} clusterId Cluster ID
9839
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
9833
9840
  * @param {*} [options] Override http request option.
9834
9841
  * @throws {RequiredError}
9835
9842
  * @memberof ClustersApi
9836
9843
  */
9837
- getClusterKubeconfig(organizationId, clusterId, options) {
9838
- return (0, exports.ClustersApiFp)(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
9844
+ getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
9845
+ return (0, exports.ClustersApiFp)(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
9839
9846
  }
9840
9847
  /**
9841
9848
  *
@@ -15984,6 +15991,112 @@ class DatabasesApi extends base_1.BaseAPI {
15984
15991
  }
15985
15992
  }
15986
15993
  exports.DatabasesApi = DatabasesApi;
15994
+ /**
15995
+ * DefaultApi - axios parameter creator
15996
+ * @export
15997
+ */
15998
+ const DefaultApiAxiosParamCreator = function (configuration) {
15999
+ return {
16000
+ /**
16001
+ *
16002
+ * @summary Get cluster token by clusterId
16003
+ * @param {string} clusterId
16004
+ * @param {*} [options] Override http request option.
16005
+ * @throws {RequiredError}
16006
+ */
16007
+ getClusterTokenByClusterId: (clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
16008
+ // verify required parameter 'clusterId' is not null or undefined
16009
+ (0, common_1.assertParamExists)('getClusterTokenByClusterId', 'clusterId', clusterId);
16010
+ const localVarPath = `/cluster/{clusterId}/token`
16011
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
16012
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
16013
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
16014
+ let baseOptions;
16015
+ if (configuration) {
16016
+ baseOptions = configuration.baseOptions;
16017
+ }
16018
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
16019
+ const localVarHeaderParameter = {};
16020
+ const localVarQueryParameter = {};
16021
+ // authentication ApiKeyAuth required
16022
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
16023
+ // authentication bearerAuth required
16024
+ // http bearer authentication required
16025
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
16026
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
16027
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
16028
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
16029
+ return {
16030
+ url: (0, common_1.toPathString)(localVarUrlObj),
16031
+ options: localVarRequestOptions,
16032
+ };
16033
+ }),
16034
+ };
16035
+ };
16036
+ exports.DefaultApiAxiosParamCreator = DefaultApiAxiosParamCreator;
16037
+ /**
16038
+ * DefaultApi - functional programming interface
16039
+ * @export
16040
+ */
16041
+ const DefaultApiFp = function (configuration) {
16042
+ const localVarAxiosParamCreator = (0, exports.DefaultApiAxiosParamCreator)(configuration);
16043
+ return {
16044
+ /**
16045
+ *
16046
+ * @summary Get cluster token by clusterId
16047
+ * @param {string} clusterId
16048
+ * @param {*} [options] Override http request option.
16049
+ * @throws {RequiredError}
16050
+ */
16051
+ getClusterTokenByClusterId(clusterId, options) {
16052
+ return __awaiter(this, void 0, void 0, function* () {
16053
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
16054
+ return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
16055
+ });
16056
+ },
16057
+ };
16058
+ };
16059
+ exports.DefaultApiFp = DefaultApiFp;
16060
+ /**
16061
+ * DefaultApi - factory interface
16062
+ * @export
16063
+ */
16064
+ const DefaultApiFactory = function (configuration, basePath, axios) {
16065
+ const localVarFp = (0, exports.DefaultApiFp)(configuration);
16066
+ return {
16067
+ /**
16068
+ *
16069
+ * @summary Get cluster token by clusterId
16070
+ * @param {string} clusterId
16071
+ * @param {*} [options] Override http request option.
16072
+ * @throws {RequiredError}
16073
+ */
16074
+ getClusterTokenByClusterId(clusterId, options) {
16075
+ return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
16076
+ },
16077
+ };
16078
+ };
16079
+ exports.DefaultApiFactory = DefaultApiFactory;
16080
+ /**
16081
+ * DefaultApi - object-oriented interface
16082
+ * @export
16083
+ * @class DefaultApi
16084
+ * @extends {BaseAPI}
16085
+ */
16086
+ class DefaultApi extends base_1.BaseAPI {
16087
+ /**
16088
+ *
16089
+ * @summary Get cluster token by clusterId
16090
+ * @param {string} clusterId
16091
+ * @param {*} [options] Override http request option.
16092
+ * @throws {RequiredError}
16093
+ * @memberof DefaultApi
16094
+ */
16095
+ getClusterTokenByClusterId(clusterId, options) {
16096
+ return (0, exports.DefaultApiFp)(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
16097
+ }
16098
+ }
16099
+ exports.DefaultApi = DefaultApi;
15987
16100
  /**
15988
16101
  * DeploymentStageMainCallsApi - axios parameter creator
15989
16102
  * @export
package/dist/esm/api.d.ts CHANGED
@@ -7377,6 +7377,56 @@ export interface GenericObjectCurrentCost {
7377
7377
  */
7378
7378
  'cost': Cost;
7379
7379
  }
7380
+ /**
7381
+ *
7382
+ * @export
7383
+ * @interface GetClusterTokenByClusterId200Response
7384
+ */
7385
+ export interface GetClusterTokenByClusterId200Response {
7386
+ /**
7387
+ *
7388
+ * @type {string}
7389
+ * @memberof GetClusterTokenByClusterId200Response
7390
+ */
7391
+ 'apiVersion': string;
7392
+ /**
7393
+ *
7394
+ * @type {string}
7395
+ * @memberof GetClusterTokenByClusterId200Response
7396
+ */
7397
+ 'kind': string;
7398
+ /**
7399
+ *
7400
+ * @type {object}
7401
+ * @memberof GetClusterTokenByClusterId200Response
7402
+ */
7403
+ 'spec': object;
7404
+ /**
7405
+ *
7406
+ * @type {GetClusterTokenByClusterId200ResponseStatus}
7407
+ * @memberof GetClusterTokenByClusterId200Response
7408
+ */
7409
+ 'status': GetClusterTokenByClusterId200ResponseStatus;
7410
+ }
7411
+ /**
7412
+ *
7413
+ * @export
7414
+ * @interface GetClusterTokenByClusterId200ResponseStatus
7415
+ */
7416
+ export interface GetClusterTokenByClusterId200ResponseStatus {
7417
+ /**
7418
+ *
7419
+ * @type {string}
7420
+ * @memberof GetClusterTokenByClusterId200ResponseStatus
7421
+ */
7422
+ 'token': string;
7423
+ /**
7424
+ *
7425
+ * @type {string}
7426
+ * @memberof GetClusterTokenByClusterId200ResponseStatus
7427
+ */
7428
+ 'expirationTimestamp': string;
7429
+ }
7380
7430
  /**
7381
7431
  *
7382
7432
  * @export
@@ -18644,10 +18694,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
18644
18694
  * @summary Get cluster kubeconfig
18645
18695
  * @param {string} organizationId Organization ID
18646
18696
  * @param {string} clusterId Cluster ID
18697
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
18647
18698
  * @param {*} [options] Override http request option.
18648
18699
  * @throws {RequiredError}
18649
18700
  */
18650
- getClusterKubeconfig: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
18701
+ getClusterKubeconfig: (organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig) => Promise<RequestArgs>;
18651
18702
  /**
18652
18703
  *
18653
18704
  * @summary Know if a cluster is ready to be deployed or not
@@ -18832,10 +18883,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
18832
18883
  * @summary Get cluster kubeconfig
18833
18884
  * @param {string} organizationId Organization ID
18834
18885
  * @param {string} clusterId Cluster ID
18886
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
18835
18887
  * @param {*} [options] Override http request option.
18836
18888
  * @throws {RequiredError}
18837
18889
  */
18838
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
18890
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<string>>;
18839
18891
  /**
18840
18892
  *
18841
18893
  * @summary Know if a cluster is ready to be deployed or not
@@ -19020,10 +19072,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
19020
19072
  * @summary Get cluster kubeconfig
19021
19073
  * @param {string} organizationId Organization ID
19022
19074
  * @param {string} clusterId Cluster ID
19075
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
19023
19076
  * @param {*} [options] Override http request option.
19024
19077
  * @throws {RequiredError}
19025
19078
  */
19026
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: any): AxiosPromise<string>;
19079
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: any): AxiosPromise<string>;
19027
19080
  /**
19028
19081
  *
19029
19082
  * @summary Know if a cluster is ready to be deployed or not
@@ -19218,11 +19271,12 @@ export declare class ClustersApi extends BaseAPI {
19218
19271
  * @summary Get cluster kubeconfig
19219
19272
  * @param {string} organizationId Organization ID
19220
19273
  * @param {string} clusterId Cluster ID
19274
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
19221
19275
  * @param {*} [options] Override http request option.
19222
19276
  * @throws {RequiredError}
19223
19277
  * @memberof ClustersApi
19224
19278
  */
19225
- getClusterKubeconfig(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
19279
+ getClusterKubeconfig(organizationId: string, clusterId: string, withTokenFromCli?: boolean, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<string, any>>;
19226
19280
  /**
19227
19281
  *
19228
19282
  * @summary Know if a cluster is ready to be deployed or not
@@ -22410,6 +22464,65 @@ export declare class DatabasesApi extends BaseAPI {
22410
22464
  */
22411
22465
  listEnvironmentDatabaseConfig(environmentId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<DatabaseConfigurationResponseList, any>>;
22412
22466
  }
22467
+ /**
22468
+ * DefaultApi - axios parameter creator
22469
+ * @export
22470
+ */
22471
+ export declare const DefaultApiAxiosParamCreator: (configuration?: Configuration) => {
22472
+ /**
22473
+ *
22474
+ * @summary Get cluster token by clusterId
22475
+ * @param {string} clusterId
22476
+ * @param {*} [options] Override http request option.
22477
+ * @throws {RequiredError}
22478
+ */
22479
+ getClusterTokenByClusterId: (clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
22480
+ };
22481
+ /**
22482
+ * DefaultApi - functional programming interface
22483
+ * @export
22484
+ */
22485
+ export declare const DefaultApiFp: (configuration?: Configuration) => {
22486
+ /**
22487
+ *
22488
+ * @summary Get cluster token by clusterId
22489
+ * @param {string} clusterId
22490
+ * @param {*} [options] Override http request option.
22491
+ * @throws {RequiredError}
22492
+ */
22493
+ getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterTokenByClusterId200Response>>;
22494
+ };
22495
+ /**
22496
+ * DefaultApi - factory interface
22497
+ * @export
22498
+ */
22499
+ export declare const DefaultApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
22500
+ /**
22501
+ *
22502
+ * @summary Get cluster token by clusterId
22503
+ * @param {string} clusterId
22504
+ * @param {*} [options] Override http request option.
22505
+ * @throws {RequiredError}
22506
+ */
22507
+ getClusterTokenByClusterId(clusterId: string, options?: any): AxiosPromise<GetClusterTokenByClusterId200Response>;
22508
+ };
22509
+ /**
22510
+ * DefaultApi - object-oriented interface
22511
+ * @export
22512
+ * @class DefaultApi
22513
+ * @extends {BaseAPI}
22514
+ */
22515
+ export declare class DefaultApi extends BaseAPI {
22516
+ /**
22517
+ *
22518
+ * @summary Get cluster token by clusterId
22519
+ * @param {string} clusterId
22520
+ * @param {*} [options] Override http request option.
22521
+ * @throws {RequiredError}
22522
+ * @memberof DefaultApi
22523
+ */
22524
+ getClusterTokenByClusterId(clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<GetClusterTokenByClusterId200Response, any>>;
22525
+ }
22413
22526
  /**
22414
22527
  * DeploymentStageMainCallsApi - axios parameter creator
22415
22528
  * @export
package/dist/esm/api.js CHANGED
@@ -8686,10 +8686,11 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
8686
8686
  * @summary Get cluster kubeconfig
8687
8687
  * @param {string} organizationId Organization ID
8688
8688
  * @param {string} clusterId Cluster ID
8689
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
8689
8690
  * @param {*} [options] Override http request option.
8690
8691
  * @throws {RequiredError}
8691
8692
  */
8692
- getClusterKubeconfig: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
8693
+ getClusterKubeconfig: (organizationId, clusterId, withTokenFromCli, options = {}) => __awaiter(this, void 0, void 0, function* () {
8693
8694
  // verify required parameter 'organizationId' is not null or undefined
8694
8695
  assertParamExists('getClusterKubeconfig', 'organizationId', organizationId);
8695
8696
  // verify required parameter 'clusterId' is not null or undefined
@@ -8711,6 +8712,9 @@ export const ClustersApiAxiosParamCreator = function (configuration) {
8711
8712
  // authentication bearerAuth required
8712
8713
  // http bearer authentication required
8713
8714
  yield setBearerAuthToObject(localVarHeaderParameter, configuration);
8715
+ if (withTokenFromCli !== undefined) {
8716
+ localVarQueryParameter['withTokenFromCli'] = withTokenFromCli;
8717
+ }
8714
8718
  setSearchParams(localVarUrlObj, localVarQueryParameter);
8715
8719
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
8716
8720
  localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
@@ -9255,12 +9259,13 @@ export const ClustersApiFp = function (configuration) {
9255
9259
  * @summary Get cluster kubeconfig
9256
9260
  * @param {string} organizationId Organization ID
9257
9261
  * @param {string} clusterId Cluster ID
9262
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
9258
9263
  * @param {*} [options] Override http request option.
9259
9264
  * @throws {RequiredError}
9260
9265
  */
9261
- getClusterKubeconfig(organizationId, clusterId, options) {
9266
+ getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
9262
9267
  return __awaiter(this, void 0, void 0, function* () {
9263
- const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, options);
9268
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options);
9264
9269
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
9265
9270
  });
9266
9271
  },
@@ -9522,11 +9527,12 @@ export const ClustersApiFactory = function (configuration, basePath, axios) {
9522
9527
  * @summary Get cluster kubeconfig
9523
9528
  * @param {string} organizationId Organization ID
9524
9529
  * @param {string} clusterId Cluster ID
9530
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
9525
9531
  * @param {*} [options] Override http request option.
9526
9532
  * @throws {RequiredError}
9527
9533
  */
9528
- getClusterKubeconfig(organizationId, clusterId, options) {
9529
- return localVarFp.getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(axios, basePath));
9534
+ getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
9535
+ return localVarFp.getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(axios, basePath));
9530
9536
  },
9531
9537
  /**
9532
9538
  *
@@ -9761,12 +9767,13 @@ export class ClustersApi extends BaseAPI {
9761
9767
  * @summary Get cluster kubeconfig
9762
9768
  * @param {string} organizationId Organization ID
9763
9769
  * @param {string} clusterId Cluster ID
9770
+ * @param {boolean} [withTokenFromCli] If true, the user auth part will have an exec command with qovery cli
9764
9771
  * @param {*} [options] Override http request option.
9765
9772
  * @throws {RequiredError}
9766
9773
  * @memberof ClustersApi
9767
9774
  */
9768
- getClusterKubeconfig(organizationId, clusterId, options) {
9769
- return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
9775
+ getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options) {
9776
+ return ClustersApiFp(this.configuration).getClusterKubeconfig(organizationId, clusterId, withTokenFromCli, options).then((request) => request(this.axios, this.basePath));
9770
9777
  }
9771
9778
  /**
9772
9779
  *
@@ -15850,6 +15857,108 @@ export class DatabasesApi extends BaseAPI {
15850
15857
  return DatabasesApiFp(this.configuration).listEnvironmentDatabaseConfig(environmentId, options).then((request) => request(this.axios, this.basePath));
15851
15858
  }
15852
15859
  }
15860
+ /**
15861
+ * DefaultApi - axios parameter creator
15862
+ * @export
15863
+ */
15864
+ export const DefaultApiAxiosParamCreator = function (configuration) {
15865
+ return {
15866
+ /**
15867
+ *
15868
+ * @summary Get cluster token by clusterId
15869
+ * @param {string} clusterId
15870
+ * @param {*} [options] Override http request option.
15871
+ * @throws {RequiredError}
15872
+ */
15873
+ getClusterTokenByClusterId: (clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
15874
+ // verify required parameter 'clusterId' is not null or undefined
15875
+ assertParamExists('getClusterTokenByClusterId', 'clusterId', clusterId);
15876
+ const localVarPath = `/cluster/{clusterId}/token`
15877
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
15878
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
15879
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
15880
+ let baseOptions;
15881
+ if (configuration) {
15882
+ baseOptions = configuration.baseOptions;
15883
+ }
15884
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'GET' }, baseOptions), options);
15885
+ const localVarHeaderParameter = {};
15886
+ const localVarQueryParameter = {};
15887
+ // authentication ApiKeyAuth required
15888
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
15889
+ // authentication bearerAuth required
15890
+ // http bearer authentication required
15891
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
15892
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
15893
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
15894
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
15895
+ return {
15896
+ url: toPathString(localVarUrlObj),
15897
+ options: localVarRequestOptions,
15898
+ };
15899
+ }),
15900
+ };
15901
+ };
15902
+ /**
15903
+ * DefaultApi - functional programming interface
15904
+ * @export
15905
+ */
15906
+ export const DefaultApiFp = function (configuration) {
15907
+ const localVarAxiosParamCreator = DefaultApiAxiosParamCreator(configuration);
15908
+ return {
15909
+ /**
15910
+ *
15911
+ * @summary Get cluster token by clusterId
15912
+ * @param {string} clusterId
15913
+ * @param {*} [options] Override http request option.
15914
+ * @throws {RequiredError}
15915
+ */
15916
+ getClusterTokenByClusterId(clusterId, options) {
15917
+ return __awaiter(this, void 0, void 0, function* () {
15918
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.getClusterTokenByClusterId(clusterId, options);
15919
+ return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
15920
+ });
15921
+ },
15922
+ };
15923
+ };
15924
+ /**
15925
+ * DefaultApi - factory interface
15926
+ * @export
15927
+ */
15928
+ export const DefaultApiFactory = function (configuration, basePath, axios) {
15929
+ const localVarFp = DefaultApiFp(configuration);
15930
+ return {
15931
+ /**
15932
+ *
15933
+ * @summary Get cluster token by clusterId
15934
+ * @param {string} clusterId
15935
+ * @param {*} [options] Override http request option.
15936
+ * @throws {RequiredError}
15937
+ */
15938
+ getClusterTokenByClusterId(clusterId, options) {
15939
+ return localVarFp.getClusterTokenByClusterId(clusterId, options).then((request) => request(axios, basePath));
15940
+ },
15941
+ };
15942
+ };
15943
+ /**
15944
+ * DefaultApi - object-oriented interface
15945
+ * @export
15946
+ * @class DefaultApi
15947
+ * @extends {BaseAPI}
15948
+ */
15949
+ export class DefaultApi extends BaseAPI {
15950
+ /**
15951
+ *
15952
+ * @summary Get cluster token by clusterId
15953
+ * @param {string} clusterId
15954
+ * @param {*} [options] Override http request option.
15955
+ * @throws {RequiredError}
15956
+ * @memberof DefaultApi
15957
+ */
15958
+ getClusterTokenByClusterId(clusterId, options) {
15959
+ return DefaultApiFp(this.configuration).getClusterTokenByClusterId(clusterId, options).then((request) => request(this.axios, this.basePath));
15960
+ }
15961
+ }
15853
15962
  /**
15854
15963
  * DeploymentStageMainCallsApi - axios parameter creator
15855
15964
  * @export
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.473",
3
+ "version": "v1.1.474",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {