qovery-typescript-axios 1.1.657 → 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 +76 -0
- package/dist/api.d.ts +33 -0
- package/dist/api.js +71 -0
- package/dist/esm/api.d.ts +33 -0
- package/dist/esm/api.js +71 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -57925,6 +57925,47 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
57925
57925
|
options: localVarRequestOptions,
|
|
57926
57926
|
};
|
|
57927
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
|
+
},
|
|
57928
57969
|
/**
|
|
57929
57970
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
57930
57971
|
* @summary Uninstall terraform
|
|
@@ -57994,6 +58035,19 @@ export const TerraformActionsApiFp = function(configuration?: Configuration) {
|
|
|
57994
58035
|
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.deployTerraform']?.[localVarOperationServerIndex]?.url;
|
|
57995
58036
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57996
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
|
+
},
|
|
57997
58051
|
/**
|
|
57998
58052
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
57999
58053
|
* @summary Uninstall terraform
|
|
@@ -58029,6 +58083,16 @@ export const TerraformActionsApiFactory = function (configuration?: Configuratio
|
|
|
58029
58083
|
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
58030
58084
|
return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
|
|
58031
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
|
+
},
|
|
58032
58096
|
/**
|
|
58033
58097
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
58034
58098
|
* @summary Uninstall terraform
|
|
@@ -58063,6 +58127,18 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
58063
58127
|
return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
58064
58128
|
}
|
|
58065
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
|
+
|
|
58066
58142
|
/**
|
|
58067
58143
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
58068
58144
|
* @summary Uninstall terraform
|
package/dist/api.d.ts
CHANGED
|
@@ -36050,6 +36050,14 @@ export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Conf
|
|
|
36050
36050
|
* @throws {RequiredError}
|
|
36051
36051
|
*/
|
|
36052
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>;
|
|
36053
36061
|
/**
|
|
36054
36062
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36055
36063
|
* @summary Uninstall terraform
|
|
@@ -36074,6 +36082,14 @@ export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
|
|
|
36074
36082
|
* @throws {RequiredError}
|
|
36075
36083
|
*/
|
|
36076
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>>;
|
|
36077
36093
|
/**
|
|
36078
36094
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36079
36095
|
* @summary Uninstall terraform
|
|
@@ -36098,6 +36114,14 @@ export declare const TerraformActionsApiFactory: (configuration?: Configuration,
|
|
|
36098
36114
|
* @throws {RequiredError}
|
|
36099
36115
|
*/
|
|
36100
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>;
|
|
36101
36125
|
/**
|
|
36102
36126
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36103
36127
|
* @summary Uninstall terraform
|
|
@@ -36125,6 +36149,15 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
36125
36149
|
* @memberof TerraformActionsApi
|
|
36126
36150
|
*/
|
|
36127
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>>;
|
|
36128
36161
|
/**
|
|
36129
36162
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36130
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
|
@@ -36050,6 +36050,14 @@ export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Conf
|
|
|
36050
36050
|
* @throws {RequiredError}
|
|
36051
36051
|
*/
|
|
36052
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>;
|
|
36053
36061
|
/**
|
|
36054
36062
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36055
36063
|
* @summary Uninstall terraform
|
|
@@ -36074,6 +36082,14 @@ export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
|
|
|
36074
36082
|
* @throws {RequiredError}
|
|
36075
36083
|
*/
|
|
36076
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>>;
|
|
36077
36093
|
/**
|
|
36078
36094
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36079
36095
|
* @summary Uninstall terraform
|
|
@@ -36098,6 +36114,14 @@ export declare const TerraformActionsApiFactory: (configuration?: Configuration,
|
|
|
36098
36114
|
* @throws {RequiredError}
|
|
36099
36115
|
*/
|
|
36100
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>;
|
|
36101
36125
|
/**
|
|
36102
36126
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36103
36127
|
* @summary Uninstall terraform
|
|
@@ -36125,6 +36149,15 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
36125
36149
|
* @memberof TerraformActionsApi
|
|
36126
36150
|
*/
|
|
36127
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>>;
|
|
36128
36161
|
/**
|
|
36129
36162
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36130
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
|