qovery-typescript-axios 1.1.953 → 1.1.955

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
@@ -8028,6 +8028,50 @@ export interface ClusterOperatorStatusResponse {
8028
8028
  }
8029
8029
 
8030
8030
 
8031
+ /**
8032
+ *
8033
+ * @export
8034
+ * @interface ClusterOperatorUpdateRequest
8035
+ */
8036
+ export interface ClusterOperatorUpdateRequest {
8037
+ /**
8038
+ * Exact Qovery Operator Helm chart version to install.
8039
+ * @type {string}
8040
+ * @memberof ClusterOperatorUpdateRequest
8041
+ */
8042
+ 'chart_version': string;
8043
+ /**
8044
+ * Optional Operator image tag overriding the image target selected by q-core.
8045
+ * @type {string}
8046
+ * @memberof ClusterOperatorUpdateRequest
8047
+ */
8048
+ 'image_version'?: string | null;
8049
+ }
8050
+ /**
8051
+ *
8052
+ * @export
8053
+ * @interface ClusterOperatorUpdateResponse
8054
+ */
8055
+ export interface ClusterOperatorUpdateResponse {
8056
+ /**
8057
+ * Identifier shared by the queued Engine execution and its infrastructure logs.
8058
+ * @type {string}
8059
+ * @memberof ClusterOperatorUpdateResponse
8060
+ */
8061
+ 'execution_id': string;
8062
+ /**
8063
+ * Operator image tag resolved for this execution.
8064
+ * @type {string}
8065
+ * @memberof ClusterOperatorUpdateResponse
8066
+ */
8067
+ 'image_version': string;
8068
+ /**
8069
+ * Operator Helm chart version resolved for this execution.
8070
+ * @type {string}
8071
+ * @memberof ClusterOperatorUpdateResponse
8072
+ */
8073
+ 'chart_version': string;
8074
+ }
8031
8075
  /**
8032
8076
  *
8033
8077
  * @export
@@ -21583,6 +21627,18 @@ export interface OrganizationPolicyApiToken {
21583
21627
  * @memberof OrganizationPolicyApiToken
21584
21628
  */
21585
21629
  'description'?: string;
21630
+ /**
21631
+ *
21632
+ * @type {string}
21633
+ * @memberof OrganizationPolicyApiToken
21634
+ */
21635
+ 'role_name'?: string;
21636
+ /**
21637
+ * the organization role this token acts as once its policy has allowed a request. Effective access is the intersection of this role and `opa_policy`.
21638
+ * @type {string}
21639
+ * @memberof OrganizationPolicyApiToken
21640
+ */
21641
+ 'role_id'?: string;
21586
21642
  /**
21587
21643
  * the Open Policy Agent (rego) policy evaluated on every request made with this token
21588
21644
  * @type {string}
@@ -21638,6 +21694,18 @@ export interface OrganizationPolicyApiTokenCreate {
21638
21694
  * @memberof OrganizationPolicyApiTokenCreate
21639
21695
  */
21640
21696
  'description'?: string;
21697
+ /**
21698
+ *
21699
+ * @type {string}
21700
+ * @memberof OrganizationPolicyApiTokenCreate
21701
+ */
21702
+ 'role_name'?: string;
21703
+ /**
21704
+ * the organization role this token acts as once its policy has allowed a request. Effective access is the intersection of this role and its policy.
21705
+ * @type {string}
21706
+ * @memberof OrganizationPolicyApiTokenCreate
21707
+ */
21708
+ 'role_id'?: string;
21641
21709
  /**
21642
21710
  * the generated token to send in \'Authorization\' header prefixed by \'Token \'. It is returned only here and cannot be retrieved afterwards.
21643
21711
  * @type {string}
@@ -21687,6 +21755,12 @@ export interface OrganizationPolicyApiTokenCreateRequest {
21687
21755
  * @memberof OrganizationPolicyApiTokenCreateRequest
21688
21756
  */
21689
21757
  'opa_policy': string;
21758
+ /**
21759
+ * the roleId provided by the \"List organization custom roles\" endpoint. The role bounds what the token may do once its policy has allowed a request, so effective access is the intersection of the two. Omit it, or send null, for organization-admin.
21760
+ * @type {string}
21761
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21762
+ */
21763
+ 'role_id'?: string | null;
21690
21764
  /**
21691
21765
  *
21692
21766
  * @type {string}
@@ -40310,6 +40384,57 @@ export const ClusterOperatorApiAxiosParamCreator = function (configuration?: Con
40310
40384
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40311
40385
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40312
40386
 
40387
+ return {
40388
+ url: toPathString(localVarUrlObj),
40389
+ options: localVarRequestOptions,
40390
+ };
40391
+ },
40392
+ /**
40393
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
40394
+ * @summary Update the Qovery Operator on a cluster
40395
+ * @param {string} organizationId Organization ID
40396
+ * @param {string} clusterId Cluster ID
40397
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
40398
+ * @param {*} [options] Override http request option.
40399
+ * @throws {RequiredError}
40400
+ */
40401
+ updateClusterOperator: async (organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
40402
+ // verify required parameter 'organizationId' is not null or undefined
40403
+ assertParamExists('updateClusterOperator', 'organizationId', organizationId)
40404
+ // verify required parameter 'clusterId' is not null or undefined
40405
+ assertParamExists('updateClusterOperator', 'clusterId', clusterId)
40406
+ // verify required parameter 'clusterOperatorUpdateRequest' is not null or undefined
40407
+ assertParamExists('updateClusterOperator', 'clusterOperatorUpdateRequest', clusterOperatorUpdateRequest)
40408
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/operator/update`
40409
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
40410
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
40411
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
40412
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
40413
+ let baseOptions;
40414
+ if (configuration) {
40415
+ baseOptions = configuration.baseOptions;
40416
+ }
40417
+
40418
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
40419
+ const localVarHeaderParameter = {} as any;
40420
+ const localVarQueryParameter = {} as any;
40421
+
40422
+ // authentication ApiKeyAuth required
40423
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
40424
+
40425
+ // authentication bearerAuth required
40426
+ // http bearer authentication required
40427
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
40428
+
40429
+
40430
+
40431
+ localVarHeaderParameter['Content-Type'] = 'application/json';
40432
+
40433
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
40434
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
40435
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
40436
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterOperatorUpdateRequest, localVarRequestOptions, configuration)
40437
+
40313
40438
  return {
40314
40439
  url: toPathString(localVarUrlObj),
40315
40440
  options: localVarRequestOptions,
@@ -40379,6 +40504,21 @@ export const ClusterOperatorApiFp = function(configuration?: Configuration) {
40379
40504
  const localVarOperationServerBasePath = operationServerMap['ClusterOperatorApi.listClusterOperatorFleet']?.[localVarOperationServerIndex]?.url;
40380
40505
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40381
40506
  },
40507
+ /**
40508
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
40509
+ * @summary Update the Qovery Operator on a cluster
40510
+ * @param {string} organizationId Organization ID
40511
+ * @param {string} clusterId Cluster ID
40512
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
40513
+ * @param {*} [options] Override http request option.
40514
+ * @throws {RequiredError}
40515
+ */
40516
+ async updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorUpdateResponse>> {
40517
+ const localVarAxiosArgs = await localVarAxiosParamCreator.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options);
40518
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
40519
+ const localVarOperationServerBasePath = operationServerMap['ClusterOperatorApi.updateClusterOperator']?.[localVarOperationServerIndex]?.url;
40520
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
40521
+ },
40382
40522
  }
40383
40523
  };
40384
40524
 
@@ -40431,6 +40571,18 @@ export const ClusterOperatorApiFactory = function (configuration?: Configuration
40431
40571
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorFleetInventoryResponseList> {
40432
40572
  return localVarFp.listClusterOperatorFleet(options).then((request) => request(axios, basePath));
40433
40573
  },
40574
+ /**
40575
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
40576
+ * @summary Update the Qovery Operator on a cluster
40577
+ * @param {string} organizationId Organization ID
40578
+ * @param {string} clusterId Cluster ID
40579
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
40580
+ * @param {*} [options] Override http request option.
40581
+ * @throws {RequiredError}
40582
+ */
40583
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorUpdateResponse> {
40584
+ return localVarFp.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(axios, basePath));
40585
+ },
40434
40586
  };
40435
40587
  };
40436
40588
 
@@ -40490,6 +40642,20 @@ export class ClusterOperatorApi extends BaseAPI {
40490
40642
  public listClusterOperatorFleet(options?: RawAxiosRequestConfig) {
40491
40643
  return ClusterOperatorApiFp(this.configuration).listClusterOperatorFleet(options).then((request) => request(this.axios, this.basePath));
40492
40644
  }
40645
+
40646
+ /**
40647
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
40648
+ * @summary Update the Qovery Operator on a cluster
40649
+ * @param {string} organizationId Organization ID
40650
+ * @param {string} clusterId Cluster ID
40651
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
40652
+ * @param {*} [options] Override http request option.
40653
+ * @throws {RequiredError}
40654
+ * @memberof ClusterOperatorApi
40655
+ */
40656
+ public updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig) {
40657
+ return ClusterOperatorApiFp(this.configuration).updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(this.axios, this.basePath));
40658
+ }
40493
40659
  }
40494
40660
 
40495
40661
 
package/dist/api.d.ts CHANGED
@@ -7818,6 +7818,50 @@ export interface ClusterOperatorStatusResponse {
7818
7818
  */
7819
7819
  'reported_identity'?: ReportedClusterOperatorIdentity | null;
7820
7820
  }
7821
+ /**
7822
+ *
7823
+ * @export
7824
+ * @interface ClusterOperatorUpdateRequest
7825
+ */
7826
+ export interface ClusterOperatorUpdateRequest {
7827
+ /**
7828
+ * Exact Qovery Operator Helm chart version to install.
7829
+ * @type {string}
7830
+ * @memberof ClusterOperatorUpdateRequest
7831
+ */
7832
+ 'chart_version': string;
7833
+ /**
7834
+ * Optional Operator image tag overriding the image target selected by q-core.
7835
+ * @type {string}
7836
+ * @memberof ClusterOperatorUpdateRequest
7837
+ */
7838
+ 'image_version'?: string | null;
7839
+ }
7840
+ /**
7841
+ *
7842
+ * @export
7843
+ * @interface ClusterOperatorUpdateResponse
7844
+ */
7845
+ export interface ClusterOperatorUpdateResponse {
7846
+ /**
7847
+ * Identifier shared by the queued Engine execution and its infrastructure logs.
7848
+ * @type {string}
7849
+ * @memberof ClusterOperatorUpdateResponse
7850
+ */
7851
+ 'execution_id': string;
7852
+ /**
7853
+ * Operator image tag resolved for this execution.
7854
+ * @type {string}
7855
+ * @memberof ClusterOperatorUpdateResponse
7856
+ */
7857
+ 'image_version': string;
7858
+ /**
7859
+ * Operator Helm chart version resolved for this execution.
7860
+ * @type {string}
7861
+ * @memberof ClusterOperatorUpdateResponse
7862
+ */
7863
+ 'chart_version': string;
7864
+ }
7821
7865
  /**
7822
7866
  *
7823
7867
  * @export
@@ -20962,6 +21006,18 @@ export interface OrganizationPolicyApiToken {
20962
21006
  * @memberof OrganizationPolicyApiToken
20963
21007
  */
20964
21008
  'description'?: string;
21009
+ /**
21010
+ *
21011
+ * @type {string}
21012
+ * @memberof OrganizationPolicyApiToken
21013
+ */
21014
+ 'role_name'?: string;
21015
+ /**
21016
+ * the organization role this token acts as once its policy has allowed a request. Effective access is the intersection of this role and `opa_policy`.
21017
+ * @type {string}
21018
+ * @memberof OrganizationPolicyApiToken
21019
+ */
21020
+ 'role_id'?: string;
20965
21021
  /**
20966
21022
  * the Open Policy Agent (rego) policy evaluated on every request made with this token
20967
21023
  * @type {string}
@@ -21017,6 +21073,18 @@ export interface OrganizationPolicyApiTokenCreate {
21017
21073
  * @memberof OrganizationPolicyApiTokenCreate
21018
21074
  */
21019
21075
  'description'?: string;
21076
+ /**
21077
+ *
21078
+ * @type {string}
21079
+ * @memberof OrganizationPolicyApiTokenCreate
21080
+ */
21081
+ 'role_name'?: string;
21082
+ /**
21083
+ * the organization role this token acts as once its policy has allowed a request. Effective access is the intersection of this role and its policy.
21084
+ * @type {string}
21085
+ * @memberof OrganizationPolicyApiTokenCreate
21086
+ */
21087
+ 'role_id'?: string;
21020
21088
  /**
21021
21089
  * the generated token to send in \'Authorization\' header prefixed by \'Token \'. It is returned only here and cannot be retrieved afterwards.
21022
21090
  * @type {string}
@@ -21066,6 +21134,12 @@ export interface OrganizationPolicyApiTokenCreateRequest {
21066
21134
  * @memberof OrganizationPolicyApiTokenCreateRequest
21067
21135
  */
21068
21136
  'opa_policy': string;
21137
+ /**
21138
+ * the roleId provided by the \"List organization custom roles\" endpoint. The role bounds what the token may do once its policy has allowed a request, so effective access is the intersection of the two. Omit it, or send null, for organization-admin.
21139
+ * @type {string}
21140
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21141
+ */
21142
+ 'role_id'?: string | null;
21069
21143
  /**
21070
21144
  *
21071
21145
  * @type {string}
@@ -32387,6 +32461,16 @@ export declare const ClusterOperatorApiAxiosParamCreator: (configuration?: Confi
32387
32461
  * @throws {RequiredError}
32388
32462
  */
32389
32463
  listClusterOperatorFleet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32464
+ /**
32465
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32466
+ * @summary Update the Qovery Operator on a cluster
32467
+ * @param {string} organizationId Organization ID
32468
+ * @param {string} clusterId Cluster ID
32469
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32470
+ * @param {*} [options] Override http request option.
32471
+ * @throws {RequiredError}
32472
+ */
32473
+ updateClusterOperator: (organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32390
32474
  };
32391
32475
  /**
32392
32476
  * ClusterOperatorApi - functional programming interface
@@ -32427,6 +32511,16 @@ export declare const ClusterOperatorApiFp: (configuration?: Configuration) => {
32427
32511
  * @throws {RequiredError}
32428
32512
  */
32429
32513
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorFleetInventoryResponseList>>;
32514
+ /**
32515
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32516
+ * @summary Update the Qovery Operator on a cluster
32517
+ * @param {string} organizationId Organization ID
32518
+ * @param {string} clusterId Cluster ID
32519
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32520
+ * @param {*} [options] Override http request option.
32521
+ * @throws {RequiredError}
32522
+ */
32523
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorUpdateResponse>>;
32430
32524
  };
32431
32525
  /**
32432
32526
  * ClusterOperatorApi - factory interface
@@ -32467,6 +32561,16 @@ export declare const ClusterOperatorApiFactory: (configuration?: Configuration,
32467
32561
  * @throws {RequiredError}
32468
32562
  */
32469
32563
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorFleetInventoryResponseList>;
32564
+ /**
32565
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32566
+ * @summary Update the Qovery Operator on a cluster
32567
+ * @param {string} organizationId Organization ID
32568
+ * @param {string} clusterId Cluster ID
32569
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32570
+ * @param {*} [options] Override http request option.
32571
+ * @throws {RequiredError}
32572
+ */
32573
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorUpdateResponse>;
32470
32574
  };
32471
32575
  /**
32472
32576
  * ClusterOperatorApi - object-oriented interface
@@ -32513,6 +32617,17 @@ export declare class ClusterOperatorApi extends BaseAPI {
32513
32617
  * @memberof ClusterOperatorApi
32514
32618
  */
32515
32619
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorFleetInventoryResponseList, any, {}>>;
32620
+ /**
32621
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32622
+ * @summary Update the Qovery Operator on a cluster
32623
+ * @param {string} organizationId Organization ID
32624
+ * @param {string} clusterId Cluster ID
32625
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32626
+ * @param {*} [options] Override http request option.
32627
+ * @throws {RequiredError}
32628
+ * @memberof ClusterOperatorApi
32629
+ */
32630
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorUpdateResponse, any, {}>>;
32516
32631
  }
32517
32632
  /**
32518
32633
  * ClustersApi - axios parameter creator
package/dist/api.js CHANGED
@@ -13748,6 +13748,49 @@ const ClusterOperatorApiAxiosParamCreator = function (configuration) {
13748
13748
  options: localVarRequestOptions,
13749
13749
  };
13750
13750
  }),
13751
+ /**
13752
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13753
+ * @summary Update the Qovery Operator on a cluster
13754
+ * @param {string} organizationId Organization ID
13755
+ * @param {string} clusterId Cluster ID
13756
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13757
+ * @param {*} [options] Override http request option.
13758
+ * @throws {RequiredError}
13759
+ */
13760
+ updateClusterOperator: (organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1], void 0, function* (organizationId, clusterId, clusterOperatorUpdateRequest, options = {}) {
13761
+ // verify required parameter 'organizationId' is not null or undefined
13762
+ (0, common_1.assertParamExists)('updateClusterOperator', 'organizationId', organizationId);
13763
+ // verify required parameter 'clusterId' is not null or undefined
13764
+ (0, common_1.assertParamExists)('updateClusterOperator', 'clusterId', clusterId);
13765
+ // verify required parameter 'clusterOperatorUpdateRequest' is not null or undefined
13766
+ (0, common_1.assertParamExists)('updateClusterOperator', 'clusterOperatorUpdateRequest', clusterOperatorUpdateRequest);
13767
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/operator/update`
13768
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
13769
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
13770
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13771
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
13772
+ let baseOptions;
13773
+ if (configuration) {
13774
+ baseOptions = configuration.baseOptions;
13775
+ }
13776
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13777
+ const localVarHeaderParameter = {};
13778
+ const localVarQueryParameter = {};
13779
+ // authentication ApiKeyAuth required
13780
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
13781
+ // authentication bearerAuth required
13782
+ // http bearer authentication required
13783
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
13784
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13785
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
13786
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13787
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13788
+ localVarRequestOptions.data = (0, common_1.serializeDataIfNeeded)(clusterOperatorUpdateRequest, localVarRequestOptions, configuration);
13789
+ return {
13790
+ url: (0, common_1.toPathString)(localVarUrlObj),
13791
+ options: localVarRequestOptions,
13792
+ };
13793
+ }),
13751
13794
  };
13752
13795
  };
13753
13796
  exports.ClusterOperatorApiAxiosParamCreator = ClusterOperatorApiAxiosParamCreator;
@@ -13824,6 +13867,24 @@ const ClusterOperatorApiFp = function (configuration) {
13824
13867
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13825
13868
  });
13826
13869
  },
13870
+ /**
13871
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13872
+ * @summary Update the Qovery Operator on a cluster
13873
+ * @param {string} organizationId Organization ID
13874
+ * @param {string} clusterId Cluster ID
13875
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13876
+ * @param {*} [options] Override http request option.
13877
+ * @throws {RequiredError}
13878
+ */
13879
+ updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
13880
+ return __awaiter(this, void 0, void 0, function* () {
13881
+ var _a, _b, _c;
13882
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options);
13883
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13884
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['ClusterOperatorApi.updateClusterOperator']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13885
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13886
+ });
13887
+ },
13827
13888
  };
13828
13889
  };
13829
13890
  exports.ClusterOperatorApiFp = ClusterOperatorApiFp;
@@ -13876,6 +13937,18 @@ const ClusterOperatorApiFactory = function (configuration, basePath, axios) {
13876
13937
  listClusterOperatorFleet(options) {
13877
13938
  return localVarFp.listClusterOperatorFleet(options).then((request) => request(axios, basePath));
13878
13939
  },
13940
+ /**
13941
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13942
+ * @summary Update the Qovery Operator on a cluster
13943
+ * @param {string} organizationId Organization ID
13944
+ * @param {string} clusterId Cluster ID
13945
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13946
+ * @param {*} [options] Override http request option.
13947
+ * @throws {RequiredError}
13948
+ */
13949
+ updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
13950
+ return localVarFp.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(axios, basePath));
13951
+ },
13879
13952
  };
13880
13953
  };
13881
13954
  exports.ClusterOperatorApiFactory = ClusterOperatorApiFactory;
@@ -13932,6 +14005,19 @@ class ClusterOperatorApi extends base_1.BaseAPI {
13932
14005
  listClusterOperatorFleet(options) {
13933
14006
  return (0, exports.ClusterOperatorApiFp)(this.configuration).listClusterOperatorFleet(options).then((request) => request(this.axios, this.basePath));
13934
14007
  }
14008
+ /**
14009
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
14010
+ * @summary Update the Qovery Operator on a cluster
14011
+ * @param {string} organizationId Organization ID
14012
+ * @param {string} clusterId Cluster ID
14013
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
14014
+ * @param {*} [options] Override http request option.
14015
+ * @throws {RequiredError}
14016
+ * @memberof ClusterOperatorApi
14017
+ */
14018
+ updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
14019
+ return (0, exports.ClusterOperatorApiFp)(this.configuration).updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(this.axios, this.basePath));
14020
+ }
13935
14021
  }
13936
14022
  exports.ClusterOperatorApi = ClusterOperatorApi;
13937
14023
  /**
package/dist/esm/api.d.ts CHANGED
@@ -7818,6 +7818,50 @@ export interface ClusterOperatorStatusResponse {
7818
7818
  */
7819
7819
  'reported_identity'?: ReportedClusterOperatorIdentity | null;
7820
7820
  }
7821
+ /**
7822
+ *
7823
+ * @export
7824
+ * @interface ClusterOperatorUpdateRequest
7825
+ */
7826
+ export interface ClusterOperatorUpdateRequest {
7827
+ /**
7828
+ * Exact Qovery Operator Helm chart version to install.
7829
+ * @type {string}
7830
+ * @memberof ClusterOperatorUpdateRequest
7831
+ */
7832
+ 'chart_version': string;
7833
+ /**
7834
+ * Optional Operator image tag overriding the image target selected by q-core.
7835
+ * @type {string}
7836
+ * @memberof ClusterOperatorUpdateRequest
7837
+ */
7838
+ 'image_version'?: string | null;
7839
+ }
7840
+ /**
7841
+ *
7842
+ * @export
7843
+ * @interface ClusterOperatorUpdateResponse
7844
+ */
7845
+ export interface ClusterOperatorUpdateResponse {
7846
+ /**
7847
+ * Identifier shared by the queued Engine execution and its infrastructure logs.
7848
+ * @type {string}
7849
+ * @memberof ClusterOperatorUpdateResponse
7850
+ */
7851
+ 'execution_id': string;
7852
+ /**
7853
+ * Operator image tag resolved for this execution.
7854
+ * @type {string}
7855
+ * @memberof ClusterOperatorUpdateResponse
7856
+ */
7857
+ 'image_version': string;
7858
+ /**
7859
+ * Operator Helm chart version resolved for this execution.
7860
+ * @type {string}
7861
+ * @memberof ClusterOperatorUpdateResponse
7862
+ */
7863
+ 'chart_version': string;
7864
+ }
7821
7865
  /**
7822
7866
  *
7823
7867
  * @export
@@ -20962,6 +21006,18 @@ export interface OrganizationPolicyApiToken {
20962
21006
  * @memberof OrganizationPolicyApiToken
20963
21007
  */
20964
21008
  'description'?: string;
21009
+ /**
21010
+ *
21011
+ * @type {string}
21012
+ * @memberof OrganizationPolicyApiToken
21013
+ */
21014
+ 'role_name'?: string;
21015
+ /**
21016
+ * the organization role this token acts as once its policy has allowed a request. Effective access is the intersection of this role and `opa_policy`.
21017
+ * @type {string}
21018
+ * @memberof OrganizationPolicyApiToken
21019
+ */
21020
+ 'role_id'?: string;
20965
21021
  /**
20966
21022
  * the Open Policy Agent (rego) policy evaluated on every request made with this token
20967
21023
  * @type {string}
@@ -21017,6 +21073,18 @@ export interface OrganizationPolicyApiTokenCreate {
21017
21073
  * @memberof OrganizationPolicyApiTokenCreate
21018
21074
  */
21019
21075
  'description'?: string;
21076
+ /**
21077
+ *
21078
+ * @type {string}
21079
+ * @memberof OrganizationPolicyApiTokenCreate
21080
+ */
21081
+ 'role_name'?: string;
21082
+ /**
21083
+ * the organization role this token acts as once its policy has allowed a request. Effective access is the intersection of this role and its policy.
21084
+ * @type {string}
21085
+ * @memberof OrganizationPolicyApiTokenCreate
21086
+ */
21087
+ 'role_id'?: string;
21020
21088
  /**
21021
21089
  * the generated token to send in \'Authorization\' header prefixed by \'Token \'. It is returned only here and cannot be retrieved afterwards.
21022
21090
  * @type {string}
@@ -21066,6 +21134,12 @@ export interface OrganizationPolicyApiTokenCreateRequest {
21066
21134
  * @memberof OrganizationPolicyApiTokenCreateRequest
21067
21135
  */
21068
21136
  'opa_policy': string;
21137
+ /**
21138
+ * the roleId provided by the \"List organization custom roles\" endpoint. The role bounds what the token may do once its policy has allowed a request, so effective access is the intersection of the two. Omit it, or send null, for organization-admin.
21139
+ * @type {string}
21140
+ * @memberof OrganizationPolicyApiTokenCreateRequest
21141
+ */
21142
+ 'role_id'?: string | null;
21069
21143
  /**
21070
21144
  *
21071
21145
  * @type {string}
@@ -32387,6 +32461,16 @@ export declare const ClusterOperatorApiAxiosParamCreator: (configuration?: Confi
32387
32461
  * @throws {RequiredError}
32388
32462
  */
32389
32463
  listClusterOperatorFleet: (options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32464
+ /**
32465
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32466
+ * @summary Update the Qovery Operator on a cluster
32467
+ * @param {string} organizationId Organization ID
32468
+ * @param {string} clusterId Cluster ID
32469
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32470
+ * @param {*} [options] Override http request option.
32471
+ * @throws {RequiredError}
32472
+ */
32473
+ updateClusterOperator: (organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
32390
32474
  };
32391
32475
  /**
32392
32476
  * ClusterOperatorApi - functional programming interface
@@ -32427,6 +32511,16 @@ export declare const ClusterOperatorApiFp: (configuration?: Configuration) => {
32427
32511
  * @throws {RequiredError}
32428
32512
  */
32429
32513
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorFleetInventoryResponseList>>;
32514
+ /**
32515
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32516
+ * @summary Update the Qovery Operator on a cluster
32517
+ * @param {string} organizationId Organization ID
32518
+ * @param {string} clusterId Cluster ID
32519
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32520
+ * @param {*} [options] Override http request option.
32521
+ * @throws {RequiredError}
32522
+ */
32523
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ClusterOperatorUpdateResponse>>;
32430
32524
  };
32431
32525
  /**
32432
32526
  * ClusterOperatorApi - factory interface
@@ -32467,6 +32561,16 @@ export declare const ClusterOperatorApiFactory: (configuration?: Configuration,
32467
32561
  * @throws {RequiredError}
32468
32562
  */
32469
32563
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorFleetInventoryResponseList>;
32564
+ /**
32565
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32566
+ * @summary Update the Qovery Operator on a cluster
32567
+ * @param {string} organizationId Organization ID
32568
+ * @param {string} clusterId Cluster ID
32569
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32570
+ * @param {*} [options] Override http request option.
32571
+ * @throws {RequiredError}
32572
+ */
32573
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): AxiosPromise<ClusterOperatorUpdateResponse>;
32470
32574
  };
32471
32575
  /**
32472
32576
  * ClusterOperatorApi - object-oriented interface
@@ -32513,6 +32617,17 @@ export declare class ClusterOperatorApi extends BaseAPI {
32513
32617
  * @memberof ClusterOperatorApi
32514
32618
  */
32515
32619
  listClusterOperatorFleet(options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorFleetInventoryResponseList, any, {}>>;
32620
+ /**
32621
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
32622
+ * @summary Update the Qovery Operator on a cluster
32623
+ * @param {string} organizationId Organization ID
32624
+ * @param {string} clusterId Cluster ID
32625
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
32626
+ * @param {*} [options] Override http request option.
32627
+ * @throws {RequiredError}
32628
+ * @memberof ClusterOperatorApi
32629
+ */
32630
+ updateClusterOperator(organizationId: string, clusterId: string, clusterOperatorUpdateRequest: ClusterOperatorUpdateRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<ClusterOperatorUpdateResponse, any, {}>>;
32516
32631
  }
32517
32632
  /**
32518
32633
  * ClustersApi - axios parameter creator
package/dist/esm/api.js CHANGED
@@ -13650,6 +13650,49 @@ export const ClusterOperatorApiAxiosParamCreator = function (configuration) {
13650
13650
  options: localVarRequestOptions,
13651
13651
  };
13652
13652
  }),
13653
+ /**
13654
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13655
+ * @summary Update the Qovery Operator on a cluster
13656
+ * @param {string} organizationId Organization ID
13657
+ * @param {string} clusterId Cluster ID
13658
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13659
+ * @param {*} [options] Override http request option.
13660
+ * @throws {RequiredError}
13661
+ */
13662
+ updateClusterOperator: (organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1) => __awaiter(this, [organizationId_1, clusterId_1, clusterOperatorUpdateRequest_1, ...args_1], void 0, function* (organizationId, clusterId, clusterOperatorUpdateRequest, options = {}) {
13663
+ // verify required parameter 'organizationId' is not null or undefined
13664
+ assertParamExists('updateClusterOperator', 'organizationId', organizationId);
13665
+ // verify required parameter 'clusterId' is not null or undefined
13666
+ assertParamExists('updateClusterOperator', 'clusterId', clusterId);
13667
+ // verify required parameter 'clusterOperatorUpdateRequest' is not null or undefined
13668
+ assertParamExists('updateClusterOperator', 'clusterOperatorUpdateRequest', clusterOperatorUpdateRequest);
13669
+ const localVarPath = `/organization/{organizationId}/cluster/{clusterId}/operator/update`
13670
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)))
13671
+ .replace(`{${"clusterId"}}`, encodeURIComponent(String(clusterId)));
13672
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
13673
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
13674
+ let baseOptions;
13675
+ if (configuration) {
13676
+ baseOptions = configuration.baseOptions;
13677
+ }
13678
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
13679
+ const localVarHeaderParameter = {};
13680
+ const localVarQueryParameter = {};
13681
+ // authentication ApiKeyAuth required
13682
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
13683
+ // authentication bearerAuth required
13684
+ // http bearer authentication required
13685
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
13686
+ localVarHeaderParameter['Content-Type'] = 'application/json';
13687
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
13688
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
13689
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
13690
+ localVarRequestOptions.data = serializeDataIfNeeded(clusterOperatorUpdateRequest, localVarRequestOptions, configuration);
13691
+ return {
13692
+ url: toPathString(localVarUrlObj),
13693
+ options: localVarRequestOptions,
13694
+ };
13695
+ }),
13653
13696
  };
13654
13697
  };
13655
13698
  /**
@@ -13725,6 +13768,24 @@ export const ClusterOperatorApiFp = function (configuration) {
13725
13768
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13726
13769
  });
13727
13770
  },
13771
+ /**
13772
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13773
+ * @summary Update the Qovery Operator on a cluster
13774
+ * @param {string} organizationId Organization ID
13775
+ * @param {string} clusterId Cluster ID
13776
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13777
+ * @param {*} [options] Override http request option.
13778
+ * @throws {RequiredError}
13779
+ */
13780
+ updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
13781
+ return __awaiter(this, void 0, void 0, function* () {
13782
+ var _a, _b, _c;
13783
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options);
13784
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
13785
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['ClusterOperatorApi.updateClusterOperator']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
13786
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
13787
+ });
13788
+ },
13728
13789
  };
13729
13790
  };
13730
13791
  /**
@@ -13776,6 +13837,18 @@ export const ClusterOperatorApiFactory = function (configuration, basePath, axio
13776
13837
  listClusterOperatorFleet(options) {
13777
13838
  return localVarFp.listClusterOperatorFleet(options).then((request) => request(axios, basePath));
13778
13839
  },
13840
+ /**
13841
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13842
+ * @summary Update the Qovery Operator on a cluster
13843
+ * @param {string} organizationId Organization ID
13844
+ * @param {string} clusterId Cluster ID
13845
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13846
+ * @param {*} [options] Override http request option.
13847
+ * @throws {RequiredError}
13848
+ */
13849
+ updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
13850
+ return localVarFp.updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(axios, basePath));
13851
+ },
13779
13852
  };
13780
13853
  };
13781
13854
  /**
@@ -13831,6 +13904,19 @@ export class ClusterOperatorApi extends BaseAPI {
13831
13904
  listClusterOperatorFleet(options) {
13832
13905
  return ClusterOperatorApiFp(this.configuration).listClusterOperatorFleet(options).then((request) => request(this.axios, this.basePath));
13833
13906
  }
13907
+ /**
13908
+ * Queues an Engine v2 execution containing only the Qovery Operator Helm release. The chart version is required; the optional image version overrides the image target selected by q-core. The current Operator must be attached, connected, and protocol-compatible. A successful response means that the execution was accepted, not that Helm has completed. Cluster administrator permission is required.
13909
+ * @summary Update the Qovery Operator on a cluster
13910
+ * @param {string} organizationId Organization ID
13911
+ * @param {string} clusterId Cluster ID
13912
+ * @param {ClusterOperatorUpdateRequest} clusterOperatorUpdateRequest
13913
+ * @param {*} [options] Override http request option.
13914
+ * @throws {RequiredError}
13915
+ * @memberof ClusterOperatorApi
13916
+ */
13917
+ updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options) {
13918
+ return ClusterOperatorApiFp(this.configuration).updateClusterOperator(organizationId, clusterId, clusterOperatorUpdateRequest, options).then((request) => request(this.axios, this.basePath));
13919
+ }
13834
13920
  }
13835
13921
  /**
13836
13922
  * ClustersApi - axios parameter creator
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.953",
3
+ "version": "v1.1.955",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {