qovery-typescript-axios 1.1.656 → 1.1.658

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
@@ -17394,6 +17394,32 @@ export interface TerraformDeploymentRestrictionResponseList {
17394
17394
  */
17395
17395
  'results'?: Array<TerraformDeploymentRestrictionResponse>;
17396
17396
  }
17397
+ /**
17398
+ *
17399
+ * @export
17400
+ * @interface TerraformFilesSource
17401
+ */
17402
+ export interface TerraformFilesSource {
17403
+ /**
17404
+ *
17405
+ * @type {TerraformFilesSourceGit}
17406
+ * @memberof TerraformFilesSource
17407
+ */
17408
+ 'git'?: TerraformFilesSourceGit;
17409
+ }
17410
+ /**
17411
+ *
17412
+ * @export
17413
+ * @interface TerraformFilesSourceGit
17414
+ */
17415
+ export interface TerraformFilesSourceGit {
17416
+ /**
17417
+ *
17418
+ * @type {ApplicationGitRepository}
17419
+ * @memberof TerraformFilesSourceGit
17420
+ */
17421
+ 'git_repository'?: ApplicationGitRepository;
17422
+ }
17397
17423
  /**
17398
17424
  *
17399
17425
  * @export
@@ -17668,10 +17694,10 @@ export interface TerraformResponse {
17668
17694
  'auto_deploy': boolean;
17669
17695
  /**
17670
17696
  *
17671
- * @type {object}
17697
+ * @type {TerraformResponseAllOfTerraformFilesSource}
17672
17698
  * @memberof TerraformResponse
17673
17699
  */
17674
- 'terraform_files_source'?: object | null;
17700
+ 'terraform_files_source'?: TerraformResponseAllOfTerraformFilesSource;
17675
17701
  /**
17676
17702
  * Icon URI representing the terraform service.
17677
17703
  * @type {string}
@@ -17728,6 +17754,12 @@ export const TerraformResponseProviderEnum = {
17728
17754
 
17729
17755
  export type TerraformResponseProviderEnum = typeof TerraformResponseProviderEnum[keyof typeof TerraformResponseProviderEnum];
17730
17756
 
17757
+ /**
17758
+ * @type TerraformResponseAllOfTerraformFilesSource
17759
+ * @export
17760
+ */
17761
+ export type TerraformResponseAllOfTerraformFilesSource = TerraformFilesSource;
17762
+
17731
17763
  /**
17732
17764
  *
17733
17765
  * @export
@@ -57893,6 +57925,47 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration?: Co
57893
57925
  options: localVarRequestOptions,
57894
57926
  };
57895
57927
  },
57928
+ /**
57929
+ *
57930
+ * @summary Redeploy terraform
57931
+ * @param {string} terraformId
57932
+ * @param {*} [options] Override http request option.
57933
+ * @throws {RequiredError}
57934
+ */
57935
+ redeployTerrraform: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
57936
+ // verify required parameter 'terraformId' is not null or undefined
57937
+ assertParamExists('redeployTerrraform', 'terraformId', terraformId)
57938
+ const localVarPath = `/terraform/{terraformId}/redeploy`
57939
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
57940
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
57941
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
57942
+ let baseOptions;
57943
+ if (configuration) {
57944
+ baseOptions = configuration.baseOptions;
57945
+ }
57946
+
57947
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
57948
+ const localVarHeaderParameter = {} as any;
57949
+ const localVarQueryParameter = {} as any;
57950
+
57951
+ // authentication ApiKeyAuth required
57952
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
57953
+
57954
+ // authentication bearerAuth required
57955
+ // http bearer authentication required
57956
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
57957
+
57958
+
57959
+
57960
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
57961
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
57962
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
57963
+
57964
+ return {
57965
+ url: toPathString(localVarUrlObj),
57966
+ options: localVarRequestOptions,
57967
+ };
57968
+ },
57896
57969
  /**
57897
57970
  * Delete the resources of the terraform but keep Qovery configuration
57898
57971
  * @summary Uninstall terraform
@@ -57962,6 +58035,19 @@ export const TerraformActionsApiFp = function(configuration?: Configuration) {
57962
58035
  const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.deployTerraform']?.[localVarOperationServerIndex]?.url;
57963
58036
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
57964
58037
  },
58038
+ /**
58039
+ *
58040
+ * @summary Redeploy terraform
58041
+ * @param {string} terraformId
58042
+ * @param {*} [options] Override http request option.
58043
+ * @throws {RequiredError}
58044
+ */
58045
+ async redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
58046
+ const localVarAxiosArgs = await localVarAxiosParamCreator.redeployTerrraform(terraformId, options);
58047
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
58048
+ const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.redeployTerrraform']?.[localVarOperationServerIndex]?.url;
58049
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
58050
+ },
57965
58051
  /**
57966
58052
  * Delete the resources of the terraform but keep Qovery configuration
57967
58053
  * @summary Uninstall terraform
@@ -57997,6 +58083,16 @@ export const TerraformActionsApiFactory = function (configuration?: Configuratio
57997
58083
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
57998
58084
  return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
57999
58085
  },
58086
+ /**
58087
+ *
58088
+ * @summary Redeploy terraform
58089
+ * @param {string} terraformId
58090
+ * @param {*} [options] Override http request option.
58091
+ * @throws {RequiredError}
58092
+ */
58093
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
58094
+ return localVarFp.redeployTerrraform(terraformId, options).then((request) => request(axios, basePath));
58095
+ },
58000
58096
  /**
58001
58097
  * Delete the resources of the terraform but keep Qovery configuration
58002
58098
  * @summary Uninstall terraform
@@ -58031,6 +58127,18 @@ export class TerraformActionsApi extends BaseAPI {
58031
58127
  return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
58032
58128
  }
58033
58129
 
58130
+ /**
58131
+ *
58132
+ * @summary Redeploy terraform
58133
+ * @param {string} terraformId
58134
+ * @param {*} [options] Override http request option.
58135
+ * @throws {RequiredError}
58136
+ * @memberof TerraformActionsApi
58137
+ */
58138
+ public redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig) {
58139
+ return TerraformActionsApiFp(this.configuration).redeployTerrraform(terraformId, options).then((request) => request(this.axios, this.basePath));
58140
+ }
58141
+
58034
58142
  /**
58035
58143
  * Delete the resources of the terraform but keep Qovery configuration
58036
58144
  * @summary Uninstall terraform
package/dist/api.d.ts CHANGED
@@ -16830,6 +16830,32 @@ export interface TerraformDeploymentRestrictionResponseList {
16830
16830
  */
16831
16831
  'results'?: Array<TerraformDeploymentRestrictionResponse>;
16832
16832
  }
16833
+ /**
16834
+ *
16835
+ * @export
16836
+ * @interface TerraformFilesSource
16837
+ */
16838
+ export interface TerraformFilesSource {
16839
+ /**
16840
+ *
16841
+ * @type {TerraformFilesSourceGit}
16842
+ * @memberof TerraformFilesSource
16843
+ */
16844
+ 'git'?: TerraformFilesSourceGit;
16845
+ }
16846
+ /**
16847
+ *
16848
+ * @export
16849
+ * @interface TerraformFilesSourceGit
16850
+ */
16851
+ export interface TerraformFilesSourceGit {
16852
+ /**
16853
+ *
16854
+ * @type {ApplicationGitRepository}
16855
+ * @memberof TerraformFilesSourceGit
16856
+ */
16857
+ 'git_repository'?: ApplicationGitRepository;
16858
+ }
16833
16859
  /**
16834
16860
  *
16835
16861
  * @export
@@ -17100,10 +17126,10 @@ export interface TerraformResponse {
17100
17126
  'auto_deploy': boolean;
17101
17127
  /**
17102
17128
  *
17103
- * @type {object}
17129
+ * @type {TerraformResponseAllOfTerraformFilesSource}
17104
17130
  * @memberof TerraformResponse
17105
17131
  */
17106
- 'terraform_files_source'?: object | null;
17132
+ 'terraform_files_source'?: TerraformResponseAllOfTerraformFilesSource;
17107
17133
  /**
17108
17134
  * Icon URI representing the terraform service.
17109
17135
  * @type {string}
@@ -17157,6 +17183,11 @@ export declare const TerraformResponseProviderEnum: {
17157
17183
  readonly TERRAFORM: "TERRAFORM";
17158
17184
  };
17159
17185
  export type TerraformResponseProviderEnum = typeof TerraformResponseProviderEnum[keyof typeof TerraformResponseProviderEnum];
17186
+ /**
17187
+ * @type TerraformResponseAllOfTerraformFilesSource
17188
+ * @export
17189
+ */
17190
+ export type TerraformResponseAllOfTerraformFilesSource = TerraformFilesSource;
17160
17191
  /**
17161
17192
  *
17162
17193
  * @export
@@ -36019,6 +36050,14 @@ export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Conf
36019
36050
  * @throws {RequiredError}
36020
36051
  */
36021
36052
  deployTerraform: (terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36053
+ /**
36054
+ *
36055
+ * @summary Redeploy terraform
36056
+ * @param {string} terraformId
36057
+ * @param {*} [options] Override http request option.
36058
+ * @throws {RequiredError}
36059
+ */
36060
+ redeployTerrraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36022
36061
  /**
36023
36062
  * Delete the resources of the terraform but keep Qovery configuration
36024
36063
  * @summary Uninstall terraform
@@ -36043,6 +36082,14 @@ export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
36043
36082
  * @throws {RequiredError}
36044
36083
  */
36045
36084
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
36085
+ /**
36086
+ *
36087
+ * @summary Redeploy terraform
36088
+ * @param {string} terraformId
36089
+ * @param {*} [options] Override http request option.
36090
+ * @throws {RequiredError}
36091
+ */
36092
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
36046
36093
  /**
36047
36094
  * Delete the resources of the terraform but keep Qovery configuration
36048
36095
  * @summary Uninstall terraform
@@ -36067,6 +36114,14 @@ export declare const TerraformActionsApiFactory: (configuration?: Configuration,
36067
36114
  * @throws {RequiredError}
36068
36115
  */
36069
36116
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
36117
+ /**
36118
+ *
36119
+ * @summary Redeploy terraform
36120
+ * @param {string} terraformId
36121
+ * @param {*} [options] Override http request option.
36122
+ * @throws {RequiredError}
36123
+ */
36124
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
36070
36125
  /**
36071
36126
  * Delete the resources of the terraform but keep Qovery configuration
36072
36127
  * @summary Uninstall terraform
@@ -36094,6 +36149,15 @@ export declare class TerraformActionsApi extends BaseAPI {
36094
36149
  * @memberof TerraformActionsApi
36095
36150
  */
36096
36151
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
36152
+ /**
36153
+ *
36154
+ * @summary Redeploy terraform
36155
+ * @param {string} terraformId
36156
+ * @param {*} [options] Override http request option.
36157
+ * @throws {RequiredError}
36158
+ * @memberof TerraformActionsApi
36159
+ */
36160
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
36097
36161
  /**
36098
36162
  * Delete the resources of the terraform but keep Qovery configuration
36099
36163
  * @summary Uninstall terraform
package/dist/api.js CHANGED
@@ -37944,6 +37944,40 @@ const TerraformActionsApiAxiosParamCreator = function (configuration) {
37944
37944
  options: localVarRequestOptions,
37945
37945
  };
37946
37946
  }),
37947
+ /**
37948
+ *
37949
+ * @summary Redeploy terraform
37950
+ * @param {string} terraformId
37951
+ * @param {*} [options] Override http request option.
37952
+ * @throws {RequiredError}
37953
+ */
37954
+ redeployTerrraform: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
37955
+ // verify required parameter 'terraformId' is not null or undefined
37956
+ (0, common_1.assertParamExists)('redeployTerrraform', 'terraformId', terraformId);
37957
+ const localVarPath = `/terraform/{terraformId}/redeploy`
37958
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
37959
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37960
+ const localVarUrlObj = new URL(localVarPath, common_1.DUMMY_BASE_URL);
37961
+ let baseOptions;
37962
+ if (configuration) {
37963
+ baseOptions = configuration.baseOptions;
37964
+ }
37965
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
37966
+ const localVarHeaderParameter = {};
37967
+ const localVarQueryParameter = {};
37968
+ // authentication ApiKeyAuth required
37969
+ yield (0, common_1.setApiKeyToObject)(localVarHeaderParameter, "Authorization", configuration);
37970
+ // authentication bearerAuth required
37971
+ // http bearer authentication required
37972
+ yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
37973
+ (0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
37974
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37975
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37976
+ return {
37977
+ url: (0, common_1.toPathString)(localVarUrlObj),
37978
+ options: localVarRequestOptions,
37979
+ };
37980
+ }),
37947
37981
  /**
37948
37982
  * Delete the resources of the terraform but keep Qovery configuration
37949
37983
  * @summary Uninstall terraform
@@ -38008,6 +38042,22 @@ const TerraformActionsApiFp = function (configuration) {
38008
38042
  return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38009
38043
  });
38010
38044
  },
38045
+ /**
38046
+ *
38047
+ * @summary Redeploy terraform
38048
+ * @param {string} terraformId
38049
+ * @param {*} [options] Override http request option.
38050
+ * @throws {RequiredError}
38051
+ */
38052
+ redeployTerrraform(terraformId, options) {
38053
+ return __awaiter(this, void 0, void 0, function* () {
38054
+ var _a, _b, _c;
38055
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployTerrraform(terraformId, options);
38056
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
38057
+ const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformActionsApi.redeployTerrraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
38058
+ return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
38059
+ });
38060
+ },
38011
38061
  /**
38012
38062
  * Delete the resources of the terraform but keep Qovery configuration
38013
38063
  * @summary Uninstall terraform
@@ -38046,6 +38096,16 @@ const TerraformActionsApiFactory = function (configuration, basePath, axios) {
38046
38096
  deployTerraform(terraformId, terraformDeployRequest, options) {
38047
38097
  return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
38048
38098
  },
38099
+ /**
38100
+ *
38101
+ * @summary Redeploy terraform
38102
+ * @param {string} terraformId
38103
+ * @param {*} [options] Override http request option.
38104
+ * @throws {RequiredError}
38105
+ */
38106
+ redeployTerrraform(terraformId, options) {
38107
+ return localVarFp.redeployTerrraform(terraformId, options).then((request) => request(axios, basePath));
38108
+ },
38049
38109
  /**
38050
38110
  * Delete the resources of the terraform but keep Qovery configuration
38051
38111
  * @summary Uninstall terraform
@@ -38079,6 +38139,17 @@ class TerraformActionsApi extends base_1.BaseAPI {
38079
38139
  deployTerraform(terraformId, terraformDeployRequest, options) {
38080
38140
  return (0, exports.TerraformActionsApiFp)(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
38081
38141
  }
38142
+ /**
38143
+ *
38144
+ * @summary Redeploy terraform
38145
+ * @param {string} terraformId
38146
+ * @param {*} [options] Override http request option.
38147
+ * @throws {RequiredError}
38148
+ * @memberof TerraformActionsApi
38149
+ */
38150
+ redeployTerrraform(terraformId, options) {
38151
+ return (0, exports.TerraformActionsApiFp)(this.configuration).redeployTerrraform(terraformId, options).then((request) => request(this.axios, this.basePath));
38152
+ }
38082
38153
  /**
38083
38154
  * Delete the resources of the terraform but keep Qovery configuration
38084
38155
  * @summary Uninstall terraform
package/dist/esm/api.d.ts CHANGED
@@ -16830,6 +16830,32 @@ export interface TerraformDeploymentRestrictionResponseList {
16830
16830
  */
16831
16831
  'results'?: Array<TerraformDeploymentRestrictionResponse>;
16832
16832
  }
16833
+ /**
16834
+ *
16835
+ * @export
16836
+ * @interface TerraformFilesSource
16837
+ */
16838
+ export interface TerraformFilesSource {
16839
+ /**
16840
+ *
16841
+ * @type {TerraformFilesSourceGit}
16842
+ * @memberof TerraformFilesSource
16843
+ */
16844
+ 'git'?: TerraformFilesSourceGit;
16845
+ }
16846
+ /**
16847
+ *
16848
+ * @export
16849
+ * @interface TerraformFilesSourceGit
16850
+ */
16851
+ export interface TerraformFilesSourceGit {
16852
+ /**
16853
+ *
16854
+ * @type {ApplicationGitRepository}
16855
+ * @memberof TerraformFilesSourceGit
16856
+ */
16857
+ 'git_repository'?: ApplicationGitRepository;
16858
+ }
16833
16859
  /**
16834
16860
  *
16835
16861
  * @export
@@ -17100,10 +17126,10 @@ export interface TerraformResponse {
17100
17126
  'auto_deploy': boolean;
17101
17127
  /**
17102
17128
  *
17103
- * @type {object}
17129
+ * @type {TerraformResponseAllOfTerraformFilesSource}
17104
17130
  * @memberof TerraformResponse
17105
17131
  */
17106
- 'terraform_files_source'?: object | null;
17132
+ 'terraform_files_source'?: TerraformResponseAllOfTerraformFilesSource;
17107
17133
  /**
17108
17134
  * Icon URI representing the terraform service.
17109
17135
  * @type {string}
@@ -17157,6 +17183,11 @@ export declare const TerraformResponseProviderEnum: {
17157
17183
  readonly TERRAFORM: "TERRAFORM";
17158
17184
  };
17159
17185
  export type TerraformResponseProviderEnum = typeof TerraformResponseProviderEnum[keyof typeof TerraformResponseProviderEnum];
17186
+ /**
17187
+ * @type TerraformResponseAllOfTerraformFilesSource
17188
+ * @export
17189
+ */
17190
+ export type TerraformResponseAllOfTerraformFilesSource = TerraformFilesSource;
17160
17191
  /**
17161
17192
  *
17162
17193
  * @export
@@ -36019,6 +36050,14 @@ export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Conf
36019
36050
  * @throws {RequiredError}
36020
36051
  */
36021
36052
  deployTerraform: (terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36053
+ /**
36054
+ *
36055
+ * @summary Redeploy terraform
36056
+ * @param {string} terraformId
36057
+ * @param {*} [options] Override http request option.
36058
+ * @throws {RequiredError}
36059
+ */
36060
+ redeployTerrraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
36022
36061
  /**
36023
36062
  * Delete the resources of the terraform but keep Qovery configuration
36024
36063
  * @summary Uninstall terraform
@@ -36043,6 +36082,14 @@ export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
36043
36082
  * @throws {RequiredError}
36044
36083
  */
36045
36084
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
36085
+ /**
36086
+ *
36087
+ * @summary Redeploy terraform
36088
+ * @param {string} terraformId
36089
+ * @param {*} [options] Override http request option.
36090
+ * @throws {RequiredError}
36091
+ */
36092
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
36046
36093
  /**
36047
36094
  * Delete the resources of the terraform but keep Qovery configuration
36048
36095
  * @summary Uninstall terraform
@@ -36067,6 +36114,14 @@ export declare const TerraformActionsApiFactory: (configuration?: Configuration,
36067
36114
  * @throws {RequiredError}
36068
36115
  */
36069
36116
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
36117
+ /**
36118
+ *
36119
+ * @summary Redeploy terraform
36120
+ * @param {string} terraformId
36121
+ * @param {*} [options] Override http request option.
36122
+ * @throws {RequiredError}
36123
+ */
36124
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
36070
36125
  /**
36071
36126
  * Delete the resources of the terraform but keep Qovery configuration
36072
36127
  * @summary Uninstall terraform
@@ -36094,6 +36149,15 @@ export declare class TerraformActionsApi extends BaseAPI {
36094
36149
  * @memberof TerraformActionsApi
36095
36150
  */
36096
36151
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
36152
+ /**
36153
+ *
36154
+ * @summary Redeploy terraform
36155
+ * @param {string} terraformId
36156
+ * @param {*} [options] Override http request option.
36157
+ * @throws {RequiredError}
36158
+ * @memberof TerraformActionsApi
36159
+ */
36160
+ redeployTerrraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
36097
36161
  /**
36098
36162
  * Delete the resources of the terraform but keep Qovery configuration
36099
36163
  * @summary Uninstall terraform
package/dist/esm/api.js CHANGED
@@ -37612,6 +37612,40 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration) {
37612
37612
  options: localVarRequestOptions,
37613
37613
  };
37614
37614
  }),
37615
+ /**
37616
+ *
37617
+ * @summary Redeploy terraform
37618
+ * @param {string} terraformId
37619
+ * @param {*} [options] Override http request option.
37620
+ * @throws {RequiredError}
37621
+ */
37622
+ redeployTerrraform: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
37623
+ // verify required parameter 'terraformId' is not null or undefined
37624
+ assertParamExists('redeployTerrraform', 'terraformId', terraformId);
37625
+ const localVarPath = `/terraform/{terraformId}/redeploy`
37626
+ .replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
37627
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
37628
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
37629
+ let baseOptions;
37630
+ if (configuration) {
37631
+ baseOptions = configuration.baseOptions;
37632
+ }
37633
+ const localVarRequestOptions = Object.assign(Object.assign({ method: 'POST' }, baseOptions), options);
37634
+ const localVarHeaderParameter = {};
37635
+ const localVarQueryParameter = {};
37636
+ // authentication ApiKeyAuth required
37637
+ yield setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration);
37638
+ // authentication bearerAuth required
37639
+ // http bearer authentication required
37640
+ yield setBearerAuthToObject(localVarHeaderParameter, configuration);
37641
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
37642
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
37643
+ localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
37644
+ return {
37645
+ url: toPathString(localVarUrlObj),
37646
+ options: localVarRequestOptions,
37647
+ };
37648
+ }),
37615
37649
  /**
37616
37650
  * Delete the resources of the terraform but keep Qovery configuration
37617
37651
  * @summary Uninstall terraform
@@ -37675,6 +37709,22 @@ export const TerraformActionsApiFp = function (configuration) {
37675
37709
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37676
37710
  });
37677
37711
  },
37712
+ /**
37713
+ *
37714
+ * @summary Redeploy terraform
37715
+ * @param {string} terraformId
37716
+ * @param {*} [options] Override http request option.
37717
+ * @throws {RequiredError}
37718
+ */
37719
+ redeployTerrraform(terraformId, options) {
37720
+ return __awaiter(this, void 0, void 0, function* () {
37721
+ var _a, _b, _c;
37722
+ const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployTerrraform(terraformId, options);
37723
+ const localVarOperationServerIndex = (_a = configuration === null || configuration === void 0 ? void 0 : configuration.serverIndex) !== null && _a !== void 0 ? _a : 0;
37724
+ const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformActionsApi.redeployTerrraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
37725
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37726
+ });
37727
+ },
37678
37728
  /**
37679
37729
  * Delete the resources of the terraform but keep Qovery configuration
37680
37730
  * @summary Uninstall terraform
@@ -37712,6 +37762,16 @@ export const TerraformActionsApiFactory = function (configuration, basePath, axi
37712
37762
  deployTerraform(terraformId, terraformDeployRequest, options) {
37713
37763
  return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
37714
37764
  },
37765
+ /**
37766
+ *
37767
+ * @summary Redeploy terraform
37768
+ * @param {string} terraformId
37769
+ * @param {*} [options] Override http request option.
37770
+ * @throws {RequiredError}
37771
+ */
37772
+ redeployTerrraform(terraformId, options) {
37773
+ return localVarFp.redeployTerrraform(terraformId, options).then((request) => request(axios, basePath));
37774
+ },
37715
37775
  /**
37716
37776
  * Delete the resources of the terraform but keep Qovery configuration
37717
37777
  * @summary Uninstall terraform
@@ -37744,6 +37804,17 @@ export class TerraformActionsApi extends BaseAPI {
37744
37804
  deployTerraform(terraformId, terraformDeployRequest, options) {
37745
37805
  return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
37746
37806
  }
37807
+ /**
37808
+ *
37809
+ * @summary Redeploy terraform
37810
+ * @param {string} terraformId
37811
+ * @param {*} [options] Override http request option.
37812
+ * @throws {RequiredError}
37813
+ * @memberof TerraformActionsApi
37814
+ */
37815
+ redeployTerrraform(terraformId, options) {
37816
+ return TerraformActionsApiFp(this.configuration).redeployTerrraform(terraformId, options).then((request) => request(this.axios, this.basePath));
37817
+ }
37747
37818
  /**
37748
37819
  * Delete the resources of the terraform but keep Qovery configuration
37749
37820
  * @summary Uninstall terraform
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.656",
3
+ "version": "v1.1.658",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {