qovery-typescript-axios 1.1.634 → 1.1.636
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 +587 -0
- package/dist/api.d.ts +265 -0
- package/dist/api.js +539 -0
- package/dist/esm/api.d.ts +265 -0
- package/dist/esm/api.js +539 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -8062,6 +8062,12 @@ export interface EnvironmentServiceIdsAllRequest {
|
|
|
8062
8062
|
* @memberof EnvironmentServiceIdsAllRequest
|
|
8063
8063
|
*/
|
|
8064
8064
|
'helm_ids'?: Array<string>;
|
|
8065
|
+
/**
|
|
8066
|
+
*
|
|
8067
|
+
* @type {Array<string>}
|
|
8068
|
+
* @memberof EnvironmentServiceIdsAllRequest
|
|
8069
|
+
*/
|
|
8070
|
+
'terraform_ids'?: Array<string>;
|
|
8065
8071
|
}
|
|
8066
8072
|
/**
|
|
8067
8073
|
*
|
|
@@ -18620,6 +18626,51 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
|
|
|
18620
18626
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18621
18627
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18622
18628
|
|
|
18629
|
+
return {
|
|
18630
|
+
url: toPathString(localVarUrlObj),
|
|
18631
|
+
options: localVarRequestOptions,
|
|
18632
|
+
};
|
|
18633
|
+
},
|
|
18634
|
+
/**
|
|
18635
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18636
|
+
* @summary Uninstall application
|
|
18637
|
+
* @param {string} applicationId Application ID
|
|
18638
|
+
* @param {object} [body]
|
|
18639
|
+
* @param {*} [options] Override http request option.
|
|
18640
|
+
* @throws {RequiredError}
|
|
18641
|
+
*/
|
|
18642
|
+
uninstallApplication: async (applicationId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18643
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
18644
|
+
assertParamExists('uninstallApplication', 'applicationId', applicationId)
|
|
18645
|
+
const localVarPath = `/application/{applicationId}/uninstall`
|
|
18646
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
18647
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18648
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18649
|
+
let baseOptions;
|
|
18650
|
+
if (configuration) {
|
|
18651
|
+
baseOptions = configuration.baseOptions;
|
|
18652
|
+
}
|
|
18653
|
+
|
|
18654
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18655
|
+
const localVarHeaderParameter = {} as any;
|
|
18656
|
+
const localVarQueryParameter = {} as any;
|
|
18657
|
+
|
|
18658
|
+
// authentication ApiKeyAuth required
|
|
18659
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
18660
|
+
|
|
18661
|
+
// authentication bearerAuth required
|
|
18662
|
+
// http bearer authentication required
|
|
18663
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18664
|
+
|
|
18665
|
+
|
|
18666
|
+
|
|
18667
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18668
|
+
|
|
18669
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18670
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18671
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18672
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
18673
|
+
|
|
18623
18674
|
return {
|
|
18624
18675
|
url: toPathString(localVarUrlObj),
|
|
18625
18676
|
options: localVarRequestOptions,
|
|
@@ -18688,6 +18739,20 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
|
|
|
18688
18739
|
const localVarOperationServerBasePath = operationServerMap['ApplicationActionsApi.stopApplication']?.[localVarOperationServerIndex]?.url;
|
|
18689
18740
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18690
18741
|
},
|
|
18742
|
+
/**
|
|
18743
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18744
|
+
* @summary Uninstall application
|
|
18745
|
+
* @param {string} applicationId Application ID
|
|
18746
|
+
* @param {object} [body]
|
|
18747
|
+
* @param {*} [options] Override http request option.
|
|
18748
|
+
* @throws {RequiredError}
|
|
18749
|
+
*/
|
|
18750
|
+
async uninstallApplication(applicationId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
18751
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallApplication(applicationId, body, options);
|
|
18752
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18753
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationActionsApi.uninstallApplication']?.[localVarOperationServerIndex]?.url;
|
|
18754
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18755
|
+
},
|
|
18691
18756
|
}
|
|
18692
18757
|
};
|
|
18693
18758
|
|
|
@@ -18739,6 +18804,17 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
|
|
|
18739
18804
|
stopApplication(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
18740
18805
|
return localVarFp.stopApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
18741
18806
|
},
|
|
18807
|
+
/**
|
|
18808
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18809
|
+
* @summary Uninstall application
|
|
18810
|
+
* @param {string} applicationId Application ID
|
|
18811
|
+
* @param {object} [body]
|
|
18812
|
+
* @param {*} [options] Override http request option.
|
|
18813
|
+
* @throws {RequiredError}
|
|
18814
|
+
*/
|
|
18815
|
+
uninstallApplication(applicationId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
18816
|
+
return localVarFp.uninstallApplication(applicationId, body, options).then((request) => request(axios, basePath));
|
|
18817
|
+
},
|
|
18742
18818
|
};
|
|
18743
18819
|
};
|
|
18744
18820
|
|
|
@@ -18797,6 +18873,19 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
18797
18873
|
public stopApplication(applicationId: string, options?: RawAxiosRequestConfig) {
|
|
18798
18874
|
return ApplicationActionsApiFp(this.configuration).stopApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
18799
18875
|
}
|
|
18876
|
+
|
|
18877
|
+
/**
|
|
18878
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18879
|
+
* @summary Uninstall application
|
|
18880
|
+
* @param {string} applicationId Application ID
|
|
18881
|
+
* @param {object} [body]
|
|
18882
|
+
* @param {*} [options] Override http request option.
|
|
18883
|
+
* @throws {RequiredError}
|
|
18884
|
+
* @memberof ApplicationActionsApi
|
|
18885
|
+
*/
|
|
18886
|
+
public uninstallApplication(applicationId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
18887
|
+
return ApplicationActionsApiFp(this.configuration).uninstallApplication(applicationId, body, options).then((request) => request(this.axios, this.basePath));
|
|
18888
|
+
}
|
|
18800
18889
|
}
|
|
18801
18890
|
|
|
18802
18891
|
|
|
@@ -30162,6 +30251,51 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
30162
30251
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30163
30252
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30164
30253
|
|
|
30254
|
+
return {
|
|
30255
|
+
url: toPathString(localVarUrlObj),
|
|
30256
|
+
options: localVarRequestOptions,
|
|
30257
|
+
};
|
|
30258
|
+
},
|
|
30259
|
+
/**
|
|
30260
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30261
|
+
* @summary Uninstall container
|
|
30262
|
+
* @param {string} containerId Container ID
|
|
30263
|
+
* @param {object} [body]
|
|
30264
|
+
* @param {*} [options] Override http request option.
|
|
30265
|
+
* @throws {RequiredError}
|
|
30266
|
+
*/
|
|
30267
|
+
uninstallContainer: async (containerId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30268
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
30269
|
+
assertParamExists('uninstallContainer', 'containerId', containerId)
|
|
30270
|
+
const localVarPath = `/container/{containerId}/uninstall`
|
|
30271
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
30272
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30273
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30274
|
+
let baseOptions;
|
|
30275
|
+
if (configuration) {
|
|
30276
|
+
baseOptions = configuration.baseOptions;
|
|
30277
|
+
}
|
|
30278
|
+
|
|
30279
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30280
|
+
const localVarHeaderParameter = {} as any;
|
|
30281
|
+
const localVarQueryParameter = {} as any;
|
|
30282
|
+
|
|
30283
|
+
// authentication ApiKeyAuth required
|
|
30284
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30285
|
+
|
|
30286
|
+
// authentication bearerAuth required
|
|
30287
|
+
// http bearer authentication required
|
|
30288
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30289
|
+
|
|
30290
|
+
|
|
30291
|
+
|
|
30292
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30293
|
+
|
|
30294
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30295
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30296
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30297
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
30298
|
+
|
|
30165
30299
|
return {
|
|
30166
30300
|
url: toPathString(localVarUrlObj),
|
|
30167
30301
|
options: localVarRequestOptions,
|
|
@@ -30230,6 +30364,20 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
30230
30364
|
const localVarOperationServerBasePath = operationServerMap['ContainerActionsApi.stopContainer']?.[localVarOperationServerIndex]?.url;
|
|
30231
30365
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30232
30366
|
},
|
|
30367
|
+
/**
|
|
30368
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30369
|
+
* @summary Uninstall container
|
|
30370
|
+
* @param {string} containerId Container ID
|
|
30371
|
+
* @param {object} [body]
|
|
30372
|
+
* @param {*} [options] Override http request option.
|
|
30373
|
+
* @throws {RequiredError}
|
|
30374
|
+
*/
|
|
30375
|
+
async uninstallContainer(containerId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
30376
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallContainer(containerId, body, options);
|
|
30377
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30378
|
+
const localVarOperationServerBasePath = operationServerMap['ContainerActionsApi.uninstallContainer']?.[localVarOperationServerIndex]?.url;
|
|
30379
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30380
|
+
},
|
|
30233
30381
|
}
|
|
30234
30382
|
};
|
|
30235
30383
|
|
|
@@ -30281,6 +30429,17 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
30281
30429
|
stopContainer(containerId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
30282
30430
|
return localVarFp.stopContainer(containerId, options).then((request) => request(axios, basePath));
|
|
30283
30431
|
},
|
|
30432
|
+
/**
|
|
30433
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30434
|
+
* @summary Uninstall container
|
|
30435
|
+
* @param {string} containerId Container ID
|
|
30436
|
+
* @param {object} [body]
|
|
30437
|
+
* @param {*} [options] Override http request option.
|
|
30438
|
+
* @throws {RequiredError}
|
|
30439
|
+
*/
|
|
30440
|
+
uninstallContainer(containerId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
30441
|
+
return localVarFp.uninstallContainer(containerId, body, options).then((request) => request(axios, basePath));
|
|
30442
|
+
},
|
|
30284
30443
|
};
|
|
30285
30444
|
};
|
|
30286
30445
|
|
|
@@ -30339,6 +30498,19 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
30339
30498
|
public stopContainer(containerId: string, options?: RawAxiosRequestConfig) {
|
|
30340
30499
|
return ContainerActionsApiFp(this.configuration).stopContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
30341
30500
|
}
|
|
30501
|
+
|
|
30502
|
+
/**
|
|
30503
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30504
|
+
* @summary Uninstall container
|
|
30505
|
+
* @param {string} containerId Container ID
|
|
30506
|
+
* @param {object} [body]
|
|
30507
|
+
* @param {*} [options] Override http request option.
|
|
30508
|
+
* @throws {RequiredError}
|
|
30509
|
+
* @memberof ContainerActionsApi
|
|
30510
|
+
*/
|
|
30511
|
+
public uninstallContainer(containerId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
30512
|
+
return ContainerActionsApiFp(this.configuration).uninstallContainer(containerId, body, options).then((request) => request(this.axios, this.basePath));
|
|
30513
|
+
}
|
|
30342
30514
|
}
|
|
30343
30515
|
|
|
30344
30516
|
|
|
@@ -34613,6 +34785,51 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
34613
34785
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34614
34786
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34615
34787
|
|
|
34788
|
+
return {
|
|
34789
|
+
url: toPathString(localVarUrlObj),
|
|
34790
|
+
options: localVarRequestOptions,
|
|
34791
|
+
};
|
|
34792
|
+
},
|
|
34793
|
+
/**
|
|
34794
|
+
*
|
|
34795
|
+
* @summary Uninstall database
|
|
34796
|
+
* @param {string} databaseId Database ID
|
|
34797
|
+
* @param {object} [body]
|
|
34798
|
+
* @param {*} [options] Override http request option.
|
|
34799
|
+
* @throws {RequiredError}
|
|
34800
|
+
*/
|
|
34801
|
+
uninstallDatabase: async (databaseId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34802
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
34803
|
+
assertParamExists('uninstallDatabase', 'databaseId', databaseId)
|
|
34804
|
+
const localVarPath = `/database/{databaseId}/uninstall`
|
|
34805
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
34806
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34807
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34808
|
+
let baseOptions;
|
|
34809
|
+
if (configuration) {
|
|
34810
|
+
baseOptions = configuration.baseOptions;
|
|
34811
|
+
}
|
|
34812
|
+
|
|
34813
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34814
|
+
const localVarHeaderParameter = {} as any;
|
|
34815
|
+
const localVarQueryParameter = {} as any;
|
|
34816
|
+
|
|
34817
|
+
// authentication ApiKeyAuth required
|
|
34818
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34819
|
+
|
|
34820
|
+
// authentication bearerAuth required
|
|
34821
|
+
// http bearer authentication required
|
|
34822
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34823
|
+
|
|
34824
|
+
|
|
34825
|
+
|
|
34826
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34827
|
+
|
|
34828
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34829
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34830
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34831
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
34832
|
+
|
|
34616
34833
|
return {
|
|
34617
34834
|
url: toPathString(localVarUrlObj),
|
|
34618
34835
|
options: localVarRequestOptions,
|
|
@@ -34680,6 +34897,20 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
34680
34897
|
const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.stopDatabase']?.[localVarOperationServerIndex]?.url;
|
|
34681
34898
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34682
34899
|
},
|
|
34900
|
+
/**
|
|
34901
|
+
*
|
|
34902
|
+
* @summary Uninstall database
|
|
34903
|
+
* @param {string} databaseId Database ID
|
|
34904
|
+
* @param {object} [body]
|
|
34905
|
+
* @param {*} [options] Override http request option.
|
|
34906
|
+
* @throws {RequiredError}
|
|
34907
|
+
*/
|
|
34908
|
+
async uninstallDatabase(databaseId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
34909
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallDatabase(databaseId, body, options);
|
|
34910
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34911
|
+
const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.uninstallDatabase']?.[localVarOperationServerIndex]?.url;
|
|
34912
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34913
|
+
},
|
|
34683
34914
|
}
|
|
34684
34915
|
};
|
|
34685
34916
|
|
|
@@ -34730,6 +34961,17 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
34730
34961
|
stopDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
34731
34962
|
return localVarFp.stopDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
34732
34963
|
},
|
|
34964
|
+
/**
|
|
34965
|
+
*
|
|
34966
|
+
* @summary Uninstall database
|
|
34967
|
+
* @param {string} databaseId Database ID
|
|
34968
|
+
* @param {object} [body]
|
|
34969
|
+
* @param {*} [options] Override http request option.
|
|
34970
|
+
* @throws {RequiredError}
|
|
34971
|
+
*/
|
|
34972
|
+
uninstallDatabase(databaseId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
34973
|
+
return localVarFp.uninstallDatabase(databaseId, body, options).then((request) => request(axios, basePath));
|
|
34974
|
+
},
|
|
34733
34975
|
};
|
|
34734
34976
|
};
|
|
34735
34977
|
|
|
@@ -34787,6 +35029,19 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
34787
35029
|
public stopDatabase(databaseId: string, options?: RawAxiosRequestConfig) {
|
|
34788
35030
|
return DatabaseActionsApiFp(this.configuration).stopDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
34789
35031
|
}
|
|
35032
|
+
|
|
35033
|
+
/**
|
|
35034
|
+
*
|
|
35035
|
+
* @summary Uninstall database
|
|
35036
|
+
* @param {string} databaseId Database ID
|
|
35037
|
+
* @param {object} [body]
|
|
35038
|
+
* @param {*} [options] Override http request option.
|
|
35039
|
+
* @throws {RequiredError}
|
|
35040
|
+
* @memberof DatabaseActionsApi
|
|
35041
|
+
*/
|
|
35042
|
+
public uninstallDatabase(databaseId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
35043
|
+
return DatabaseActionsApiFp(this.configuration).uninstallDatabase(databaseId, body, options).then((request) => request(this.axios, this.basePath));
|
|
35044
|
+
}
|
|
34790
35045
|
}
|
|
34791
35046
|
|
|
34792
35047
|
|
|
@@ -38091,6 +38346,51 @@ export const EnvironmentActionsApiAxiosParamCreator = function (configuration?:
|
|
|
38091
38346
|
|
|
38092
38347
|
|
|
38093
38348
|
|
|
38349
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38350
|
+
|
|
38351
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
38352
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
38353
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
38354
|
+
localVarRequestOptions.data = serializeDataIfNeeded(environmentServiceIdsAllRequest, localVarRequestOptions, configuration)
|
|
38355
|
+
|
|
38356
|
+
return {
|
|
38357
|
+
url: toPathString(localVarUrlObj),
|
|
38358
|
+
options: localVarRequestOptions,
|
|
38359
|
+
};
|
|
38360
|
+
},
|
|
38361
|
+
/**
|
|
38362
|
+
* uninstall selected services
|
|
38363
|
+
* @summary Uninstall services
|
|
38364
|
+
* @param {string} environmentId Environment ID
|
|
38365
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
38366
|
+
* @param {*} [options] Override http request option.
|
|
38367
|
+
* @throws {RequiredError}
|
|
38368
|
+
*/
|
|
38369
|
+
uninstallSelectedServices: async (environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
38370
|
+
// verify required parameter 'environmentId' is not null or undefined
|
|
38371
|
+
assertParamExists('uninstallSelectedServices', 'environmentId', environmentId)
|
|
38372
|
+
const localVarPath = `/environment/{environmentId}/service/uninstall`
|
|
38373
|
+
.replace(`{${"environmentId"}}`, encodeURIComponent(String(environmentId)));
|
|
38374
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
38375
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
38376
|
+
let baseOptions;
|
|
38377
|
+
if (configuration) {
|
|
38378
|
+
baseOptions = configuration.baseOptions;
|
|
38379
|
+
}
|
|
38380
|
+
|
|
38381
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
38382
|
+
const localVarHeaderParameter = {} as any;
|
|
38383
|
+
const localVarQueryParameter = {} as any;
|
|
38384
|
+
|
|
38385
|
+
// authentication ApiKeyAuth required
|
|
38386
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
38387
|
+
|
|
38388
|
+
// authentication bearerAuth required
|
|
38389
|
+
// http bearer authentication required
|
|
38390
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
38391
|
+
|
|
38392
|
+
|
|
38393
|
+
|
|
38094
38394
|
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
38095
38395
|
|
|
38096
38396
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -38250,6 +38550,20 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
|
|
|
38250
38550
|
const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.stopSelectedServices']?.[localVarOperationServerIndex]?.url;
|
|
38251
38551
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38252
38552
|
},
|
|
38553
|
+
/**
|
|
38554
|
+
* uninstall selected services
|
|
38555
|
+
* @summary Uninstall services
|
|
38556
|
+
* @param {string} environmentId Environment ID
|
|
38557
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
38558
|
+
* @param {*} [options] Override http request option.
|
|
38559
|
+
* @throws {RequiredError}
|
|
38560
|
+
*/
|
|
38561
|
+
async uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
38562
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options);
|
|
38563
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
38564
|
+
const localVarOperationServerBasePath = operationServerMap['EnvironmentActionsApi.uninstallSelectedServices']?.[localVarOperationServerIndex]?.url;
|
|
38565
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
38566
|
+
},
|
|
38253
38567
|
}
|
|
38254
38568
|
};
|
|
38255
38569
|
|
|
@@ -38367,6 +38681,17 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
|
|
|
38367
38681
|
stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
38368
38682
|
return localVarFp.stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
38369
38683
|
},
|
|
38684
|
+
/**
|
|
38685
|
+
* uninstall selected services
|
|
38686
|
+
* @summary Uninstall services
|
|
38687
|
+
* @param {string} environmentId Environment ID
|
|
38688
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
38689
|
+
* @param {*} [options] Override http request option.
|
|
38690
|
+
* @throws {RequiredError}
|
|
38691
|
+
*/
|
|
38692
|
+
uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig): AxiosPromise<void> {
|
|
38693
|
+
return localVarFp.uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(axios, basePath));
|
|
38694
|
+
},
|
|
38370
38695
|
};
|
|
38371
38696
|
};
|
|
38372
38697
|
|
|
@@ -38503,6 +38828,19 @@ export class EnvironmentActionsApi extends BaseAPI {
|
|
|
38503
38828
|
public stopSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
|
|
38504
38829
|
return EnvironmentActionsApiFp(this.configuration).stopSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38505
38830
|
}
|
|
38831
|
+
|
|
38832
|
+
/**
|
|
38833
|
+
* uninstall selected services
|
|
38834
|
+
* @summary Uninstall services
|
|
38835
|
+
* @param {string} environmentId Environment ID
|
|
38836
|
+
* @param {EnvironmentServiceIdsAllRequest} [environmentServiceIdsAllRequest]
|
|
38837
|
+
* @param {*} [options] Override http request option.
|
|
38838
|
+
* @throws {RequiredError}
|
|
38839
|
+
* @memberof EnvironmentActionsApi
|
|
38840
|
+
*/
|
|
38841
|
+
public uninstallSelectedServices(environmentId: string, environmentServiceIdsAllRequest?: EnvironmentServiceIdsAllRequest, options?: RawAxiosRequestConfig) {
|
|
38842
|
+
return EnvironmentActionsApiFp(this.configuration).uninstallSelectedServices(environmentId, environmentServiceIdsAllRequest, options).then((request) => request(this.axios, this.basePath));
|
|
38843
|
+
}
|
|
38506
38844
|
}
|
|
38507
38845
|
|
|
38508
38846
|
|
|
@@ -42345,6 +42683,51 @@ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
42345
42683
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42346
42684
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42347
42685
|
|
|
42686
|
+
return {
|
|
42687
|
+
url: toPathString(localVarUrlObj),
|
|
42688
|
+
options: localVarRequestOptions,
|
|
42689
|
+
};
|
|
42690
|
+
},
|
|
42691
|
+
/**
|
|
42692
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42693
|
+
* @summary Uninstall helm
|
|
42694
|
+
* @param {string} helmId Helm ID
|
|
42695
|
+
* @param {object} [body]
|
|
42696
|
+
* @param {*} [options] Override http request option.
|
|
42697
|
+
* @throws {RequiredError}
|
|
42698
|
+
*/
|
|
42699
|
+
uninstallHelm: async (helmId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42700
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
42701
|
+
assertParamExists('uninstallHelm', 'helmId', helmId)
|
|
42702
|
+
const localVarPath = `/helm/{helmId}/uninstall`
|
|
42703
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
42704
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42705
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42706
|
+
let baseOptions;
|
|
42707
|
+
if (configuration) {
|
|
42708
|
+
baseOptions = configuration.baseOptions;
|
|
42709
|
+
}
|
|
42710
|
+
|
|
42711
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
42712
|
+
const localVarHeaderParameter = {} as any;
|
|
42713
|
+
const localVarQueryParameter = {} as any;
|
|
42714
|
+
|
|
42715
|
+
// authentication ApiKeyAuth required
|
|
42716
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42717
|
+
|
|
42718
|
+
// authentication bearerAuth required
|
|
42719
|
+
// http bearer authentication required
|
|
42720
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42721
|
+
|
|
42722
|
+
|
|
42723
|
+
|
|
42724
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42725
|
+
|
|
42726
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42727
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42728
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42729
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
42730
|
+
|
|
42348
42731
|
return {
|
|
42349
42732
|
url: toPathString(localVarUrlObj),
|
|
42350
42733
|
options: localVarRequestOptions,
|
|
@@ -42402,6 +42785,20 @@ export const HelmActionsApiFp = function(configuration?: Configuration) {
|
|
|
42402
42785
|
const localVarOperationServerBasePath = operationServerMap['HelmActionsApi.stopHelm']?.[localVarOperationServerIndex]?.url;
|
|
42403
42786
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42404
42787
|
},
|
|
42788
|
+
/**
|
|
42789
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42790
|
+
* @summary Uninstall helm
|
|
42791
|
+
* @param {string} helmId Helm ID
|
|
42792
|
+
* @param {object} [body]
|
|
42793
|
+
* @param {*} [options] Override http request option.
|
|
42794
|
+
* @throws {RequiredError}
|
|
42795
|
+
*/
|
|
42796
|
+
async uninstallHelm(helmId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
42797
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallHelm(helmId, body, options);
|
|
42798
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42799
|
+
const localVarOperationServerBasePath = operationServerMap['HelmActionsApi.uninstallHelm']?.[localVarOperationServerIndex]?.url;
|
|
42800
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42801
|
+
},
|
|
42405
42802
|
}
|
|
42406
42803
|
};
|
|
42407
42804
|
|
|
@@ -42445,6 +42842,17 @@ export const HelmActionsApiFactory = function (configuration?: Configuration, ba
|
|
|
42445
42842
|
stopHelm(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
42446
42843
|
return localVarFp.stopHelm(helmId, options).then((request) => request(axios, basePath));
|
|
42447
42844
|
},
|
|
42845
|
+
/**
|
|
42846
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42847
|
+
* @summary Uninstall helm
|
|
42848
|
+
* @param {string} helmId Helm ID
|
|
42849
|
+
* @param {object} [body]
|
|
42850
|
+
* @param {*} [options] Override http request option.
|
|
42851
|
+
* @throws {RequiredError}
|
|
42852
|
+
*/
|
|
42853
|
+
uninstallHelm(helmId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
42854
|
+
return localVarFp.uninstallHelm(helmId, body, options).then((request) => request(axios, basePath));
|
|
42855
|
+
},
|
|
42448
42856
|
};
|
|
42449
42857
|
};
|
|
42450
42858
|
|
|
@@ -42493,6 +42901,19 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
42493
42901
|
public stopHelm(helmId: string, options?: RawAxiosRequestConfig) {
|
|
42494
42902
|
return HelmActionsApiFp(this.configuration).stopHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
42495
42903
|
}
|
|
42904
|
+
|
|
42905
|
+
/**
|
|
42906
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42907
|
+
* @summary Uninstall helm
|
|
42908
|
+
* @param {string} helmId Helm ID
|
|
42909
|
+
* @param {object} [body]
|
|
42910
|
+
* @param {*} [options] Override http request option.
|
|
42911
|
+
* @throws {RequiredError}
|
|
42912
|
+
* @memberof HelmActionsApi
|
|
42913
|
+
*/
|
|
42914
|
+
public uninstallHelm(helmId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
42915
|
+
return HelmActionsApiFp(this.configuration).uninstallHelm(helmId, body, options).then((request) => request(this.axios, this.basePath));
|
|
42916
|
+
}
|
|
42496
42917
|
}
|
|
42497
42918
|
|
|
42498
42919
|
|
|
@@ -45675,6 +46096,51 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
45675
46096
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45676
46097
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45677
46098
|
|
|
46099
|
+
return {
|
|
46100
|
+
url: toPathString(localVarUrlObj),
|
|
46101
|
+
options: localVarRequestOptions,
|
|
46102
|
+
};
|
|
46103
|
+
},
|
|
46104
|
+
/**
|
|
46105
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46106
|
+
* @summary Uninstall job
|
|
46107
|
+
* @param {string} jobId Job ID
|
|
46108
|
+
* @param {object} [body]
|
|
46109
|
+
* @param {*} [options] Override http request option.
|
|
46110
|
+
* @throws {RequiredError}
|
|
46111
|
+
*/
|
|
46112
|
+
uninstallJob: async (jobId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46113
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
46114
|
+
assertParamExists('uninstallJob', 'jobId', jobId)
|
|
46115
|
+
const localVarPath = `/job/{jobId}/uninstall`
|
|
46116
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
46117
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46118
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46119
|
+
let baseOptions;
|
|
46120
|
+
if (configuration) {
|
|
46121
|
+
baseOptions = configuration.baseOptions;
|
|
46122
|
+
}
|
|
46123
|
+
|
|
46124
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
46125
|
+
const localVarHeaderParameter = {} as any;
|
|
46126
|
+
const localVarQueryParameter = {} as any;
|
|
46127
|
+
|
|
46128
|
+
// authentication ApiKeyAuth required
|
|
46129
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
46130
|
+
|
|
46131
|
+
// authentication bearerAuth required
|
|
46132
|
+
// http bearer authentication required
|
|
46133
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
46134
|
+
|
|
46135
|
+
|
|
46136
|
+
|
|
46137
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
46138
|
+
|
|
46139
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46140
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46141
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
46142
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
46143
|
+
|
|
45678
46144
|
return {
|
|
45679
46145
|
url: toPathString(localVarUrlObj),
|
|
45680
46146
|
options: localVarRequestOptions,
|
|
@@ -45745,6 +46211,20 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
45745
46211
|
const localVarOperationServerBasePath = operationServerMap['JobActionsApi.stopJob']?.[localVarOperationServerIndex]?.url;
|
|
45746
46212
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45747
46213
|
},
|
|
46214
|
+
/**
|
|
46215
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46216
|
+
* @summary Uninstall job
|
|
46217
|
+
* @param {string} jobId Job ID
|
|
46218
|
+
* @param {object} [body]
|
|
46219
|
+
* @param {*} [options] Override http request option.
|
|
46220
|
+
* @throws {RequiredError}
|
|
46221
|
+
*/
|
|
46222
|
+
async uninstallJob(jobId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
46223
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallJob(jobId, body, options);
|
|
46224
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
46225
|
+
const localVarOperationServerBasePath = operationServerMap['JobActionsApi.uninstallJob']?.[localVarOperationServerIndex]?.url;
|
|
46226
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46227
|
+
},
|
|
45748
46228
|
}
|
|
45749
46229
|
};
|
|
45750
46230
|
|
|
@@ -45798,6 +46278,17 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
45798
46278
|
stopJob(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
45799
46279
|
return localVarFp.stopJob(jobId, options).then((request) => request(axios, basePath));
|
|
45800
46280
|
},
|
|
46281
|
+
/**
|
|
46282
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46283
|
+
* @summary Uninstall job
|
|
46284
|
+
* @param {string} jobId Job ID
|
|
46285
|
+
* @param {object} [body]
|
|
46286
|
+
* @param {*} [options] Override http request option.
|
|
46287
|
+
* @throws {RequiredError}
|
|
46288
|
+
*/
|
|
46289
|
+
uninstallJob(jobId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
46290
|
+
return localVarFp.uninstallJob(jobId, body, options).then((request) => request(axios, basePath));
|
|
46291
|
+
},
|
|
45801
46292
|
};
|
|
45802
46293
|
};
|
|
45803
46294
|
|
|
@@ -45858,6 +46349,19 @@ export class JobActionsApi extends BaseAPI {
|
|
|
45858
46349
|
public stopJob(jobId: string, options?: RawAxiosRequestConfig) {
|
|
45859
46350
|
return JobActionsApiFp(this.configuration).stopJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
45860
46351
|
}
|
|
46352
|
+
|
|
46353
|
+
/**
|
|
46354
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46355
|
+
* @summary Uninstall job
|
|
46356
|
+
* @param {string} jobId Job ID
|
|
46357
|
+
* @param {object} [body]
|
|
46358
|
+
* @param {*} [options] Override http request option.
|
|
46359
|
+
* @throws {RequiredError}
|
|
46360
|
+
* @memberof JobActionsApi
|
|
46361
|
+
*/
|
|
46362
|
+
public uninstallJob(jobId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
46363
|
+
return JobActionsApiFp(this.configuration).uninstallJob(jobId, body, options).then((request) => request(this.axios, this.basePath));
|
|
46364
|
+
}
|
|
45861
46365
|
}
|
|
45862
46366
|
|
|
45863
46367
|
|
|
@@ -56915,6 +57419,51 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
56915
57419
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56916
57420
|
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeployRequest, localVarRequestOptions, configuration)
|
|
56917
57421
|
|
|
57422
|
+
return {
|
|
57423
|
+
url: toPathString(localVarUrlObj),
|
|
57424
|
+
options: localVarRequestOptions,
|
|
57425
|
+
};
|
|
57426
|
+
},
|
|
57427
|
+
/**
|
|
57428
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57429
|
+
* @summary Uninstall terraform
|
|
57430
|
+
* @param {string} terraformId Terraform ID
|
|
57431
|
+
* @param {object} [body]
|
|
57432
|
+
* @param {*} [options] Override http request option.
|
|
57433
|
+
* @throws {RequiredError}
|
|
57434
|
+
*/
|
|
57435
|
+
uninstallTerraform: async (terraformId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57436
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57437
|
+
assertParamExists('uninstallTerraform', 'terraformId', terraformId)
|
|
57438
|
+
const localVarPath = `/terraform/{terraformId}/uninstall`
|
|
57439
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
57440
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57441
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57442
|
+
let baseOptions;
|
|
57443
|
+
if (configuration) {
|
|
57444
|
+
baseOptions = configuration.baseOptions;
|
|
57445
|
+
}
|
|
57446
|
+
|
|
57447
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
57448
|
+
const localVarHeaderParameter = {} as any;
|
|
57449
|
+
const localVarQueryParameter = {} as any;
|
|
57450
|
+
|
|
57451
|
+
// authentication ApiKeyAuth required
|
|
57452
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57453
|
+
|
|
57454
|
+
// authentication bearerAuth required
|
|
57455
|
+
// http bearer authentication required
|
|
57456
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57457
|
+
|
|
57458
|
+
|
|
57459
|
+
|
|
57460
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57461
|
+
|
|
57462
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57463
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57464
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57465
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
57466
|
+
|
|
56918
57467
|
return {
|
|
56919
57468
|
url: toPathString(localVarUrlObj),
|
|
56920
57469
|
options: localVarRequestOptions,
|
|
@@ -56944,6 +57493,20 @@ export const TerraformActionsApiFp = function(configuration?: Configuration) {
|
|
|
56944
57493
|
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.deployTerraform']?.[localVarOperationServerIndex]?.url;
|
|
56945
57494
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
56946
57495
|
},
|
|
57496
|
+
/**
|
|
57497
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57498
|
+
* @summary Uninstall terraform
|
|
57499
|
+
* @param {string} terraformId Terraform ID
|
|
57500
|
+
* @param {object} [body]
|
|
57501
|
+
* @param {*} [options] Override http request option.
|
|
57502
|
+
* @throws {RequiredError}
|
|
57503
|
+
*/
|
|
57504
|
+
async uninstallTerraform(terraformId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
57505
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallTerraform(terraformId, body, options);
|
|
57506
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57507
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.uninstallTerraform']?.[localVarOperationServerIndex]?.url;
|
|
57508
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57509
|
+
},
|
|
56947
57510
|
}
|
|
56948
57511
|
};
|
|
56949
57512
|
|
|
@@ -56965,6 +57528,17 @@ export const TerraformActionsApiFactory = function (configuration?: Configuratio
|
|
|
56965
57528
|
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
56966
57529
|
return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
|
|
56967
57530
|
},
|
|
57531
|
+
/**
|
|
57532
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57533
|
+
* @summary Uninstall terraform
|
|
57534
|
+
* @param {string} terraformId Terraform ID
|
|
57535
|
+
* @param {object} [body]
|
|
57536
|
+
* @param {*} [options] Override http request option.
|
|
57537
|
+
* @throws {RequiredError}
|
|
57538
|
+
*/
|
|
57539
|
+
uninstallTerraform(terraformId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
57540
|
+
return localVarFp.uninstallTerraform(terraformId, body, options).then((request) => request(axios, basePath));
|
|
57541
|
+
},
|
|
56968
57542
|
};
|
|
56969
57543
|
};
|
|
56970
57544
|
|
|
@@ -56987,6 +57561,19 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
56987
57561
|
public deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) {
|
|
56988
57562
|
return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
56989
57563
|
}
|
|
57564
|
+
|
|
57565
|
+
/**
|
|
57566
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57567
|
+
* @summary Uninstall terraform
|
|
57568
|
+
* @param {string} terraformId Terraform ID
|
|
57569
|
+
* @param {object} [body]
|
|
57570
|
+
* @param {*} [options] Override http request option.
|
|
57571
|
+
* @throws {RequiredError}
|
|
57572
|
+
* @memberof TerraformActionsApi
|
|
57573
|
+
*/
|
|
57574
|
+
public uninstallTerraform(terraformId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
57575
|
+
return TerraformActionsApiFp(this.configuration).uninstallTerraform(terraformId, body, options).then((request) => request(this.axios, this.basePath));
|
|
57576
|
+
}
|
|
56990
57577
|
}
|
|
56991
57578
|
|
|
56992
57579
|
|