qovery-typescript-axios 1.1.658 → 1.1.660
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 +13 -11
- package/dist/api.d.ts +8 -6
- package/dist/api.js +13 -11
- package/dist/esm/api.d.ts +8 -6
- package/dist/esm/api.js +13 -11
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -14234,6 +14234,7 @@ export const OrganizationEventType = {
|
|
|
14234
14234
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
14235
14235
|
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
14236
14236
|
DELETE_QUEUED: 'DELETE_QUEUED',
|
|
14237
|
+
UNINSTALL_QUEUED: 'UNINSTALL_QUEUED',
|
|
14237
14238
|
MAINTENANCE: 'MAINTENANCE',
|
|
14238
14239
|
DRY_RUN: 'DRY_RUN',
|
|
14239
14240
|
TRIGGER_REDEPLOY: 'TRIGGER_REDEPLOY',
|
|
@@ -14246,8 +14247,8 @@ export const OrganizationEventType = {
|
|
|
14246
14247
|
TRIGGER_STOP: 'TRIGGER_STOP',
|
|
14247
14248
|
TRIGGER_RESTART: 'TRIGGER_RESTART',
|
|
14248
14249
|
TRIGGER_DELETE: 'TRIGGER_DELETE',
|
|
14250
|
+
TRIGGER_UNINSTALL: 'TRIGGER_UNINSTALL',
|
|
14249
14251
|
TRIGGER_DEPLOY_DRY_RUN: 'TRIGGER_DEPLOY_DRY_RUN',
|
|
14250
|
-
TRIGGER_DELETE_RESOURCES_ONLY: 'TRIGGER_DELETE_RESOURCES_ONLY',
|
|
14251
14252
|
TRIGGER_FORCE_RUN: 'TRIGGER_FORCE_RUN',
|
|
14252
14253
|
TRIGGER_FORCE_RUN_DEPLOY: 'TRIGGER_FORCE_RUN_DEPLOY',
|
|
14253
14254
|
TRIGGER_FORCE_RUN_STOP: 'TRIGGER_FORCE_RUN_STOP',
|
|
@@ -14255,12 +14256,13 @@ export const OrganizationEventType = {
|
|
|
14255
14256
|
DEPLOYED: 'DEPLOYED',
|
|
14256
14257
|
STOPPED: 'STOPPED',
|
|
14257
14258
|
DELETED: 'DELETED',
|
|
14259
|
+
UNINSTALLED: 'UNINSTALLED',
|
|
14258
14260
|
RESTARTED: 'RESTARTED',
|
|
14259
14261
|
DEPLOYED_DRY_RUN: 'DEPLOYED_DRY_RUN',
|
|
14260
|
-
DELETE_RESOURCES_ONLY: 'DELETE_RESOURCES_ONLY',
|
|
14261
14262
|
DEPLOY_FAILED: 'DEPLOY_FAILED',
|
|
14262
14263
|
STOP_FAILED: 'STOP_FAILED',
|
|
14263
14264
|
DELETE_FAILED: 'DELETE_FAILED',
|
|
14265
|
+
UNINSTALL_FAILED: 'UNINSTALL_FAILED',
|
|
14264
14266
|
RESTART_FAILED: 'RESTART_FAILED',
|
|
14265
14267
|
DEPLOYED_DRY_RUN_FAILED: 'DEPLOYED_DRY_RUN_FAILED',
|
|
14266
14268
|
SHELL: 'SHELL',
|
|
@@ -57932,9 +57934,9 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
57932
57934
|
* @param {*} [options] Override http request option.
|
|
57933
57935
|
* @throws {RequiredError}
|
|
57934
57936
|
*/
|
|
57935
|
-
|
|
57937
|
+
redeployTerraform: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57936
57938
|
// verify required parameter 'terraformId' is not null or undefined
|
|
57937
|
-
assertParamExists('
|
|
57939
|
+
assertParamExists('redeployTerraform', 'terraformId', terraformId)
|
|
57938
57940
|
const localVarPath = `/terraform/{terraformId}/redeploy`
|
|
57939
57941
|
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
57940
57942
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -58042,10 +58044,10 @@ export const TerraformActionsApiFp = function(configuration?: Configuration) {
|
|
|
58042
58044
|
* @param {*} [options] Override http request option.
|
|
58043
58045
|
* @throws {RequiredError}
|
|
58044
58046
|
*/
|
|
58045
|
-
async
|
|
58046
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.
|
|
58047
|
+
async redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
|
|
58048
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.redeployTerraform(terraformId, options);
|
|
58047
58049
|
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
58048
|
-
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.
|
|
58050
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.redeployTerraform']?.[localVarOperationServerIndex]?.url;
|
|
58049
58051
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
58050
58052
|
},
|
|
58051
58053
|
/**
|
|
@@ -58090,8 +58092,8 @@ export const TerraformActionsApiFactory = function (configuration?: Configuratio
|
|
|
58090
58092
|
* @param {*} [options] Override http request option.
|
|
58091
58093
|
* @throws {RequiredError}
|
|
58092
58094
|
*/
|
|
58093
|
-
|
|
58094
|
-
return localVarFp.
|
|
58095
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
58096
|
+
return localVarFp.redeployTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
58095
58097
|
},
|
|
58096
58098
|
/**
|
|
58097
58099
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
@@ -58135,8 +58137,8 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
58135
58137
|
* @throws {RequiredError}
|
|
58136
58138
|
* @memberof TerraformActionsApi
|
|
58137
58139
|
*/
|
|
58138
|
-
public
|
|
58139
|
-
return TerraformActionsApiFp(this.configuration).
|
|
58140
|
+
public redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig) {
|
|
58141
|
+
return TerraformActionsApiFp(this.configuration).redeployTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
58140
58142
|
}
|
|
58141
58143
|
|
|
58142
58144
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -13816,6 +13816,7 @@ export declare const OrganizationEventType: {
|
|
|
13816
13816
|
readonly STOP_QUEUED: "STOP_QUEUED";
|
|
13817
13817
|
readonly RESTART_QUEUED: "RESTART_QUEUED";
|
|
13818
13818
|
readonly DELETE_QUEUED: "DELETE_QUEUED";
|
|
13819
|
+
readonly UNINSTALL_QUEUED: "UNINSTALL_QUEUED";
|
|
13819
13820
|
readonly MAINTENANCE: "MAINTENANCE";
|
|
13820
13821
|
readonly DRY_RUN: "DRY_RUN";
|
|
13821
13822
|
readonly TRIGGER_REDEPLOY: "TRIGGER_REDEPLOY";
|
|
@@ -13828,8 +13829,8 @@ export declare const OrganizationEventType: {
|
|
|
13828
13829
|
readonly TRIGGER_STOP: "TRIGGER_STOP";
|
|
13829
13830
|
readonly TRIGGER_RESTART: "TRIGGER_RESTART";
|
|
13830
13831
|
readonly TRIGGER_DELETE: "TRIGGER_DELETE";
|
|
13832
|
+
readonly TRIGGER_UNINSTALL: "TRIGGER_UNINSTALL";
|
|
13831
13833
|
readonly TRIGGER_DEPLOY_DRY_RUN: "TRIGGER_DEPLOY_DRY_RUN";
|
|
13832
|
-
readonly TRIGGER_DELETE_RESOURCES_ONLY: "TRIGGER_DELETE_RESOURCES_ONLY";
|
|
13833
13834
|
readonly TRIGGER_FORCE_RUN: "TRIGGER_FORCE_RUN";
|
|
13834
13835
|
readonly TRIGGER_FORCE_RUN_DEPLOY: "TRIGGER_FORCE_RUN_DEPLOY";
|
|
13835
13836
|
readonly TRIGGER_FORCE_RUN_STOP: "TRIGGER_FORCE_RUN_STOP";
|
|
@@ -13837,12 +13838,13 @@ export declare const OrganizationEventType: {
|
|
|
13837
13838
|
readonly DEPLOYED: "DEPLOYED";
|
|
13838
13839
|
readonly STOPPED: "STOPPED";
|
|
13839
13840
|
readonly DELETED: "DELETED";
|
|
13841
|
+
readonly UNINSTALLED: "UNINSTALLED";
|
|
13840
13842
|
readonly RESTARTED: "RESTARTED";
|
|
13841
13843
|
readonly DEPLOYED_DRY_RUN: "DEPLOYED_DRY_RUN";
|
|
13842
|
-
readonly DELETE_RESOURCES_ONLY: "DELETE_RESOURCES_ONLY";
|
|
13843
13844
|
readonly DEPLOY_FAILED: "DEPLOY_FAILED";
|
|
13844
13845
|
readonly STOP_FAILED: "STOP_FAILED";
|
|
13845
13846
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
13847
|
+
readonly UNINSTALL_FAILED: "UNINSTALL_FAILED";
|
|
13846
13848
|
readonly RESTART_FAILED: "RESTART_FAILED";
|
|
13847
13849
|
readonly DEPLOYED_DRY_RUN_FAILED: "DEPLOYED_DRY_RUN_FAILED";
|
|
13848
13850
|
readonly SHELL: "SHELL";
|
|
@@ -36057,7 +36059,7 @@ export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Conf
|
|
|
36057
36059
|
* @param {*} [options] Override http request option.
|
|
36058
36060
|
* @throws {RequiredError}
|
|
36059
36061
|
*/
|
|
36060
|
-
|
|
36062
|
+
redeployTerraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36061
36063
|
/**
|
|
36062
36064
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36063
36065
|
* @summary Uninstall terraform
|
|
@@ -36089,7 +36091,7 @@ export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
|
|
|
36089
36091
|
* @param {*} [options] Override http request option.
|
|
36090
36092
|
* @throws {RequiredError}
|
|
36091
36093
|
*/
|
|
36092
|
-
|
|
36094
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
36093
36095
|
/**
|
|
36094
36096
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36095
36097
|
* @summary Uninstall terraform
|
|
@@ -36121,7 +36123,7 @@ export declare const TerraformActionsApiFactory: (configuration?: Configuration,
|
|
|
36121
36123
|
* @param {*} [options] Override http request option.
|
|
36122
36124
|
* @throws {RequiredError}
|
|
36123
36125
|
*/
|
|
36124
|
-
|
|
36126
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
36125
36127
|
/**
|
|
36126
36128
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36127
36129
|
* @summary Uninstall terraform
|
|
@@ -36157,7 +36159,7 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
36157
36159
|
* @throws {RequiredError}
|
|
36158
36160
|
* @memberof TerraformActionsApi
|
|
36159
36161
|
*/
|
|
36160
|
-
|
|
36162
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
36161
36163
|
/**
|
|
36162
36164
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36163
36165
|
* @summary Uninstall terraform
|
package/dist/api.js
CHANGED
|
@@ -775,6 +775,7 @@ exports.OrganizationEventType = {
|
|
|
775
775
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
776
776
|
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
777
777
|
DELETE_QUEUED: 'DELETE_QUEUED',
|
|
778
|
+
UNINSTALL_QUEUED: 'UNINSTALL_QUEUED',
|
|
778
779
|
MAINTENANCE: 'MAINTENANCE',
|
|
779
780
|
DRY_RUN: 'DRY_RUN',
|
|
780
781
|
TRIGGER_REDEPLOY: 'TRIGGER_REDEPLOY',
|
|
@@ -787,8 +788,8 @@ exports.OrganizationEventType = {
|
|
|
787
788
|
TRIGGER_STOP: 'TRIGGER_STOP',
|
|
788
789
|
TRIGGER_RESTART: 'TRIGGER_RESTART',
|
|
789
790
|
TRIGGER_DELETE: 'TRIGGER_DELETE',
|
|
791
|
+
TRIGGER_UNINSTALL: 'TRIGGER_UNINSTALL',
|
|
790
792
|
TRIGGER_DEPLOY_DRY_RUN: 'TRIGGER_DEPLOY_DRY_RUN',
|
|
791
|
-
TRIGGER_DELETE_RESOURCES_ONLY: 'TRIGGER_DELETE_RESOURCES_ONLY',
|
|
792
793
|
TRIGGER_FORCE_RUN: 'TRIGGER_FORCE_RUN',
|
|
793
794
|
TRIGGER_FORCE_RUN_DEPLOY: 'TRIGGER_FORCE_RUN_DEPLOY',
|
|
794
795
|
TRIGGER_FORCE_RUN_STOP: 'TRIGGER_FORCE_RUN_STOP',
|
|
@@ -796,12 +797,13 @@ exports.OrganizationEventType = {
|
|
|
796
797
|
DEPLOYED: 'DEPLOYED',
|
|
797
798
|
STOPPED: 'STOPPED',
|
|
798
799
|
DELETED: 'DELETED',
|
|
800
|
+
UNINSTALLED: 'UNINSTALLED',
|
|
799
801
|
RESTARTED: 'RESTARTED',
|
|
800
802
|
DEPLOYED_DRY_RUN: 'DEPLOYED_DRY_RUN',
|
|
801
|
-
DELETE_RESOURCES_ONLY: 'DELETE_RESOURCES_ONLY',
|
|
802
803
|
DEPLOY_FAILED: 'DEPLOY_FAILED',
|
|
803
804
|
STOP_FAILED: 'STOP_FAILED',
|
|
804
805
|
DELETE_FAILED: 'DELETE_FAILED',
|
|
806
|
+
UNINSTALL_FAILED: 'UNINSTALL_FAILED',
|
|
805
807
|
RESTART_FAILED: 'RESTART_FAILED',
|
|
806
808
|
DEPLOYED_DRY_RUN_FAILED: 'DEPLOYED_DRY_RUN_FAILED',
|
|
807
809
|
SHELL: 'SHELL',
|
|
@@ -37951,9 +37953,9 @@ const TerraformActionsApiAxiosParamCreator = function (configuration) {
|
|
|
37951
37953
|
* @param {*} [options] Override http request option.
|
|
37952
37954
|
* @throws {RequiredError}
|
|
37953
37955
|
*/
|
|
37954
|
-
|
|
37956
|
+
redeployTerraform: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
37955
37957
|
// verify required parameter 'terraformId' is not null or undefined
|
|
37956
|
-
(0, common_1.assertParamExists)('
|
|
37958
|
+
(0, common_1.assertParamExists)('redeployTerraform', 'terraformId', terraformId);
|
|
37957
37959
|
const localVarPath = `/terraform/{terraformId}/redeploy`
|
|
37958
37960
|
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
37959
37961
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -38049,12 +38051,12 @@ const TerraformActionsApiFp = function (configuration) {
|
|
|
38049
38051
|
* @param {*} [options] Override http request option.
|
|
38050
38052
|
* @throws {RequiredError}
|
|
38051
38053
|
*/
|
|
38052
|
-
|
|
38054
|
+
redeployTerraform(terraformId, options) {
|
|
38053
38055
|
return __awaiter(this, void 0, void 0, function* () {
|
|
38054
38056
|
var _a, _b, _c;
|
|
38055
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
38057
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployTerraform(terraformId, options);
|
|
38056
38058
|
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.
|
|
38059
|
+
const localVarOperationServerBasePath = (_c = (_b = base_1.operationServerMap['TerraformActionsApi.redeployTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
38058
38060
|
return (axios, basePath) => (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38059
38061
|
});
|
|
38060
38062
|
},
|
|
@@ -38103,8 +38105,8 @@ const TerraformActionsApiFactory = function (configuration, basePath, axios) {
|
|
|
38103
38105
|
* @param {*} [options] Override http request option.
|
|
38104
38106
|
* @throws {RequiredError}
|
|
38105
38107
|
*/
|
|
38106
|
-
|
|
38107
|
-
return localVarFp.
|
|
38108
|
+
redeployTerraform(terraformId, options) {
|
|
38109
|
+
return localVarFp.redeployTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
38108
38110
|
},
|
|
38109
38111
|
/**
|
|
38110
38112
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
@@ -38147,8 +38149,8 @@ class TerraformActionsApi extends base_1.BaseAPI {
|
|
|
38147
38149
|
* @throws {RequiredError}
|
|
38148
38150
|
* @memberof TerraformActionsApi
|
|
38149
38151
|
*/
|
|
38150
|
-
|
|
38151
|
-
return (0, exports.TerraformActionsApiFp)(this.configuration).
|
|
38152
|
+
redeployTerraform(terraformId, options) {
|
|
38153
|
+
return (0, exports.TerraformActionsApiFp)(this.configuration).redeployTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
38152
38154
|
}
|
|
38153
38155
|
/**
|
|
38154
38156
|
* Delete the resources of the terraform but keep Qovery configuration
|
package/dist/esm/api.d.ts
CHANGED
|
@@ -13816,6 +13816,7 @@ export declare const OrganizationEventType: {
|
|
|
13816
13816
|
readonly STOP_QUEUED: "STOP_QUEUED";
|
|
13817
13817
|
readonly RESTART_QUEUED: "RESTART_QUEUED";
|
|
13818
13818
|
readonly DELETE_QUEUED: "DELETE_QUEUED";
|
|
13819
|
+
readonly UNINSTALL_QUEUED: "UNINSTALL_QUEUED";
|
|
13819
13820
|
readonly MAINTENANCE: "MAINTENANCE";
|
|
13820
13821
|
readonly DRY_RUN: "DRY_RUN";
|
|
13821
13822
|
readonly TRIGGER_REDEPLOY: "TRIGGER_REDEPLOY";
|
|
@@ -13828,8 +13829,8 @@ export declare const OrganizationEventType: {
|
|
|
13828
13829
|
readonly TRIGGER_STOP: "TRIGGER_STOP";
|
|
13829
13830
|
readonly TRIGGER_RESTART: "TRIGGER_RESTART";
|
|
13830
13831
|
readonly TRIGGER_DELETE: "TRIGGER_DELETE";
|
|
13832
|
+
readonly TRIGGER_UNINSTALL: "TRIGGER_UNINSTALL";
|
|
13831
13833
|
readonly TRIGGER_DEPLOY_DRY_RUN: "TRIGGER_DEPLOY_DRY_RUN";
|
|
13832
|
-
readonly TRIGGER_DELETE_RESOURCES_ONLY: "TRIGGER_DELETE_RESOURCES_ONLY";
|
|
13833
13834
|
readonly TRIGGER_FORCE_RUN: "TRIGGER_FORCE_RUN";
|
|
13834
13835
|
readonly TRIGGER_FORCE_RUN_DEPLOY: "TRIGGER_FORCE_RUN_DEPLOY";
|
|
13835
13836
|
readonly TRIGGER_FORCE_RUN_STOP: "TRIGGER_FORCE_RUN_STOP";
|
|
@@ -13837,12 +13838,13 @@ export declare const OrganizationEventType: {
|
|
|
13837
13838
|
readonly DEPLOYED: "DEPLOYED";
|
|
13838
13839
|
readonly STOPPED: "STOPPED";
|
|
13839
13840
|
readonly DELETED: "DELETED";
|
|
13841
|
+
readonly UNINSTALLED: "UNINSTALLED";
|
|
13840
13842
|
readonly RESTARTED: "RESTARTED";
|
|
13841
13843
|
readonly DEPLOYED_DRY_RUN: "DEPLOYED_DRY_RUN";
|
|
13842
|
-
readonly DELETE_RESOURCES_ONLY: "DELETE_RESOURCES_ONLY";
|
|
13843
13844
|
readonly DEPLOY_FAILED: "DEPLOY_FAILED";
|
|
13844
13845
|
readonly STOP_FAILED: "STOP_FAILED";
|
|
13845
13846
|
readonly DELETE_FAILED: "DELETE_FAILED";
|
|
13847
|
+
readonly UNINSTALL_FAILED: "UNINSTALL_FAILED";
|
|
13846
13848
|
readonly RESTART_FAILED: "RESTART_FAILED";
|
|
13847
13849
|
readonly DEPLOYED_DRY_RUN_FAILED: "DEPLOYED_DRY_RUN_FAILED";
|
|
13848
13850
|
readonly SHELL: "SHELL";
|
|
@@ -36057,7 +36059,7 @@ export declare const TerraformActionsApiAxiosParamCreator: (configuration?: Conf
|
|
|
36057
36059
|
* @param {*} [options] Override http request option.
|
|
36058
36060
|
* @throws {RequiredError}
|
|
36059
36061
|
*/
|
|
36060
|
-
|
|
36062
|
+
redeployTerraform: (terraformId: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
|
|
36061
36063
|
/**
|
|
36062
36064
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36063
36065
|
* @summary Uninstall terraform
|
|
@@ -36089,7 +36091,7 @@ export declare const TerraformActionsApiFp: (configuration?: Configuration) => {
|
|
|
36089
36091
|
* @param {*} [options] Override http request option.
|
|
36090
36092
|
* @throws {RequiredError}
|
|
36091
36093
|
*/
|
|
36092
|
-
|
|
36094
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
|
|
36093
36095
|
/**
|
|
36094
36096
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36095
36097
|
* @summary Uninstall terraform
|
|
@@ -36121,7 +36123,7 @@ export declare const TerraformActionsApiFactory: (configuration?: Configuration,
|
|
|
36121
36123
|
* @param {*} [options] Override http request option.
|
|
36122
36124
|
* @throws {RequiredError}
|
|
36123
36125
|
*/
|
|
36124
|
-
|
|
36126
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status>;
|
|
36125
36127
|
/**
|
|
36126
36128
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36127
36129
|
* @summary Uninstall terraform
|
|
@@ -36157,7 +36159,7 @@ export declare class TerraformActionsApi extends BaseAPI {
|
|
|
36157
36159
|
* @throws {RequiredError}
|
|
36158
36160
|
* @memberof TerraformActionsApi
|
|
36159
36161
|
*/
|
|
36160
|
-
|
|
36162
|
+
redeployTerraform(terraformId: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
|
|
36161
36163
|
/**
|
|
36162
36164
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
36163
36165
|
* @summary Uninstall terraform
|
package/dist/esm/api.js
CHANGED
|
@@ -763,6 +763,7 @@ export const OrganizationEventType = {
|
|
|
763
763
|
STOP_QUEUED: 'STOP_QUEUED',
|
|
764
764
|
RESTART_QUEUED: 'RESTART_QUEUED',
|
|
765
765
|
DELETE_QUEUED: 'DELETE_QUEUED',
|
|
766
|
+
UNINSTALL_QUEUED: 'UNINSTALL_QUEUED',
|
|
766
767
|
MAINTENANCE: 'MAINTENANCE',
|
|
767
768
|
DRY_RUN: 'DRY_RUN',
|
|
768
769
|
TRIGGER_REDEPLOY: 'TRIGGER_REDEPLOY',
|
|
@@ -775,8 +776,8 @@ export const OrganizationEventType = {
|
|
|
775
776
|
TRIGGER_STOP: 'TRIGGER_STOP',
|
|
776
777
|
TRIGGER_RESTART: 'TRIGGER_RESTART',
|
|
777
778
|
TRIGGER_DELETE: 'TRIGGER_DELETE',
|
|
779
|
+
TRIGGER_UNINSTALL: 'TRIGGER_UNINSTALL',
|
|
778
780
|
TRIGGER_DEPLOY_DRY_RUN: 'TRIGGER_DEPLOY_DRY_RUN',
|
|
779
|
-
TRIGGER_DELETE_RESOURCES_ONLY: 'TRIGGER_DELETE_RESOURCES_ONLY',
|
|
780
781
|
TRIGGER_FORCE_RUN: 'TRIGGER_FORCE_RUN',
|
|
781
782
|
TRIGGER_FORCE_RUN_DEPLOY: 'TRIGGER_FORCE_RUN_DEPLOY',
|
|
782
783
|
TRIGGER_FORCE_RUN_STOP: 'TRIGGER_FORCE_RUN_STOP',
|
|
@@ -784,12 +785,13 @@ export const OrganizationEventType = {
|
|
|
784
785
|
DEPLOYED: 'DEPLOYED',
|
|
785
786
|
STOPPED: 'STOPPED',
|
|
786
787
|
DELETED: 'DELETED',
|
|
788
|
+
UNINSTALLED: 'UNINSTALLED',
|
|
787
789
|
RESTARTED: 'RESTARTED',
|
|
788
790
|
DEPLOYED_DRY_RUN: 'DEPLOYED_DRY_RUN',
|
|
789
|
-
DELETE_RESOURCES_ONLY: 'DELETE_RESOURCES_ONLY',
|
|
790
791
|
DEPLOY_FAILED: 'DEPLOY_FAILED',
|
|
791
792
|
STOP_FAILED: 'STOP_FAILED',
|
|
792
793
|
DELETE_FAILED: 'DELETE_FAILED',
|
|
794
|
+
UNINSTALL_FAILED: 'UNINSTALL_FAILED',
|
|
793
795
|
RESTART_FAILED: 'RESTART_FAILED',
|
|
794
796
|
DEPLOYED_DRY_RUN_FAILED: 'DEPLOYED_DRY_RUN_FAILED',
|
|
795
797
|
SHELL: 'SHELL',
|
|
@@ -37619,9 +37621,9 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration) {
|
|
|
37619
37621
|
* @param {*} [options] Override http request option.
|
|
37620
37622
|
* @throws {RequiredError}
|
|
37621
37623
|
*/
|
|
37622
|
-
|
|
37624
|
+
redeployTerraform: (terraformId_1, ...args_1) => __awaiter(this, [terraformId_1, ...args_1], void 0, function* (terraformId, options = {}) {
|
|
37623
37625
|
// verify required parameter 'terraformId' is not null or undefined
|
|
37624
|
-
assertParamExists('
|
|
37626
|
+
assertParamExists('redeployTerraform', 'terraformId', terraformId);
|
|
37625
37627
|
const localVarPath = `/terraform/{terraformId}/redeploy`
|
|
37626
37628
|
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
37627
37629
|
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
@@ -37716,12 +37718,12 @@ export const TerraformActionsApiFp = function (configuration) {
|
|
|
37716
37718
|
* @param {*} [options] Override http request option.
|
|
37717
37719
|
* @throws {RequiredError}
|
|
37718
37720
|
*/
|
|
37719
|
-
|
|
37721
|
+
redeployTerraform(terraformId, options) {
|
|
37720
37722
|
return __awaiter(this, void 0, void 0, function* () {
|
|
37721
37723
|
var _a, _b, _c;
|
|
37722
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.
|
|
37724
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.redeployTerraform(terraformId, options);
|
|
37723
37725
|
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.
|
|
37726
|
+
const localVarOperationServerBasePath = (_c = (_b = operationServerMap['TerraformActionsApi.redeployTerraform']) === null || _b === void 0 ? void 0 : _b[localVarOperationServerIndex]) === null || _c === void 0 ? void 0 : _c.url;
|
|
37725
37727
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
37726
37728
|
});
|
|
37727
37729
|
},
|
|
@@ -37769,8 +37771,8 @@ export const TerraformActionsApiFactory = function (configuration, basePath, axi
|
|
|
37769
37771
|
* @param {*} [options] Override http request option.
|
|
37770
37772
|
* @throws {RequiredError}
|
|
37771
37773
|
*/
|
|
37772
|
-
|
|
37773
|
-
return localVarFp.
|
|
37774
|
+
redeployTerraform(terraformId, options) {
|
|
37775
|
+
return localVarFp.redeployTerraform(terraformId, options).then((request) => request(axios, basePath));
|
|
37774
37776
|
},
|
|
37775
37777
|
/**
|
|
37776
37778
|
* Delete the resources of the terraform but keep Qovery configuration
|
|
@@ -37812,8 +37814,8 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
37812
37814
|
* @throws {RequiredError}
|
|
37813
37815
|
* @memberof TerraformActionsApi
|
|
37814
37816
|
*/
|
|
37815
|
-
|
|
37816
|
-
return TerraformActionsApiFp(this.configuration).
|
|
37817
|
+
redeployTerraform(terraformId, options) {
|
|
37818
|
+
return TerraformActionsApiFp(this.configuration).redeployTerraform(terraformId, options).then((request) => request(this.axios, this.basePath));
|
|
37817
37819
|
}
|
|
37818
37820
|
/**
|
|
37819
37821
|
* Delete the resources of the terraform but keep Qovery configuration
|