qovery-typescript-axios 1.1.634 → 1.1.635
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 +498 -0
- package/dist/api.d.ts +222 -0
- package/dist/api.js +462 -0
- package/dist/esm/api.d.ts +222 -0
- package/dist/esm/api.js +462 -0
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -18620,6 +18620,51 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
|
|
|
18620
18620
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18621
18621
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18622
18622
|
|
|
18623
|
+
return {
|
|
18624
|
+
url: toPathString(localVarUrlObj),
|
|
18625
|
+
options: localVarRequestOptions,
|
|
18626
|
+
};
|
|
18627
|
+
},
|
|
18628
|
+
/**
|
|
18629
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18630
|
+
* @summary Uninstall application
|
|
18631
|
+
* @param {string} applicationId Application ID
|
|
18632
|
+
* @param {object} [body]
|
|
18633
|
+
* @param {*} [options] Override http request option.
|
|
18634
|
+
* @throws {RequiredError}
|
|
18635
|
+
*/
|
|
18636
|
+
uninstallApplication: async (applicationId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
18637
|
+
// verify required parameter 'applicationId' is not null or undefined
|
|
18638
|
+
assertParamExists('uninstallApplication', 'applicationId', applicationId)
|
|
18639
|
+
const localVarPath = `/application/{applicationId}/uninstall`
|
|
18640
|
+
.replace(`{${"applicationId"}}`, encodeURIComponent(String(applicationId)));
|
|
18641
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
18642
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
18643
|
+
let baseOptions;
|
|
18644
|
+
if (configuration) {
|
|
18645
|
+
baseOptions = configuration.baseOptions;
|
|
18646
|
+
}
|
|
18647
|
+
|
|
18648
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
18649
|
+
const localVarHeaderParameter = {} as any;
|
|
18650
|
+
const localVarQueryParameter = {} as any;
|
|
18651
|
+
|
|
18652
|
+
// authentication ApiKeyAuth required
|
|
18653
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
18654
|
+
|
|
18655
|
+
// authentication bearerAuth required
|
|
18656
|
+
// http bearer authentication required
|
|
18657
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
18658
|
+
|
|
18659
|
+
|
|
18660
|
+
|
|
18661
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
18662
|
+
|
|
18663
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
18664
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
18665
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
18666
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
18667
|
+
|
|
18623
18668
|
return {
|
|
18624
18669
|
url: toPathString(localVarUrlObj),
|
|
18625
18670
|
options: localVarRequestOptions,
|
|
@@ -18688,6 +18733,20 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
|
|
|
18688
18733
|
const localVarOperationServerBasePath = operationServerMap['ApplicationActionsApi.stopApplication']?.[localVarOperationServerIndex]?.url;
|
|
18689
18734
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18690
18735
|
},
|
|
18736
|
+
/**
|
|
18737
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18738
|
+
* @summary Uninstall application
|
|
18739
|
+
* @param {string} applicationId Application ID
|
|
18740
|
+
* @param {object} [body]
|
|
18741
|
+
* @param {*} [options] Override http request option.
|
|
18742
|
+
* @throws {RequiredError}
|
|
18743
|
+
*/
|
|
18744
|
+
async uninstallApplication(applicationId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
18745
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallApplication(applicationId, body, options);
|
|
18746
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
18747
|
+
const localVarOperationServerBasePath = operationServerMap['ApplicationActionsApi.uninstallApplication']?.[localVarOperationServerIndex]?.url;
|
|
18748
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
18749
|
+
},
|
|
18691
18750
|
}
|
|
18692
18751
|
};
|
|
18693
18752
|
|
|
@@ -18739,6 +18798,17 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
|
|
|
18739
18798
|
stopApplication(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
18740
18799
|
return localVarFp.stopApplication(applicationId, options).then((request) => request(axios, basePath));
|
|
18741
18800
|
},
|
|
18801
|
+
/**
|
|
18802
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18803
|
+
* @summary Uninstall application
|
|
18804
|
+
* @param {string} applicationId Application ID
|
|
18805
|
+
* @param {object} [body]
|
|
18806
|
+
* @param {*} [options] Override http request option.
|
|
18807
|
+
* @throws {RequiredError}
|
|
18808
|
+
*/
|
|
18809
|
+
uninstallApplication(applicationId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
18810
|
+
return localVarFp.uninstallApplication(applicationId, body, options).then((request) => request(axios, basePath));
|
|
18811
|
+
},
|
|
18742
18812
|
};
|
|
18743
18813
|
};
|
|
18744
18814
|
|
|
@@ -18797,6 +18867,19 @@ export class ApplicationActionsApi extends BaseAPI {
|
|
|
18797
18867
|
public stopApplication(applicationId: string, options?: RawAxiosRequestConfig) {
|
|
18798
18868
|
return ApplicationActionsApiFp(this.configuration).stopApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
|
|
18799
18869
|
}
|
|
18870
|
+
|
|
18871
|
+
/**
|
|
18872
|
+
* Delete the resources of an application but keep the Qovery config.
|
|
18873
|
+
* @summary Uninstall application
|
|
18874
|
+
* @param {string} applicationId Application ID
|
|
18875
|
+
* @param {object} [body]
|
|
18876
|
+
* @param {*} [options] Override http request option.
|
|
18877
|
+
* @throws {RequiredError}
|
|
18878
|
+
* @memberof ApplicationActionsApi
|
|
18879
|
+
*/
|
|
18880
|
+
public uninstallApplication(applicationId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
18881
|
+
return ApplicationActionsApiFp(this.configuration).uninstallApplication(applicationId, body, options).then((request) => request(this.axios, this.basePath));
|
|
18882
|
+
}
|
|
18800
18883
|
}
|
|
18801
18884
|
|
|
18802
18885
|
|
|
@@ -30162,6 +30245,51 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
30162
30245
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30163
30246
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30164
30247
|
|
|
30248
|
+
return {
|
|
30249
|
+
url: toPathString(localVarUrlObj),
|
|
30250
|
+
options: localVarRequestOptions,
|
|
30251
|
+
};
|
|
30252
|
+
},
|
|
30253
|
+
/**
|
|
30254
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30255
|
+
* @summary Uninstall container
|
|
30256
|
+
* @param {string} containerId Container ID
|
|
30257
|
+
* @param {object} [body]
|
|
30258
|
+
* @param {*} [options] Override http request option.
|
|
30259
|
+
* @throws {RequiredError}
|
|
30260
|
+
*/
|
|
30261
|
+
uninstallContainer: async (containerId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
30262
|
+
// verify required parameter 'containerId' is not null or undefined
|
|
30263
|
+
assertParamExists('uninstallContainer', 'containerId', containerId)
|
|
30264
|
+
const localVarPath = `/container/{containerId}/uninstall`
|
|
30265
|
+
.replace(`{${"containerId"}}`, encodeURIComponent(String(containerId)));
|
|
30266
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
30267
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
30268
|
+
let baseOptions;
|
|
30269
|
+
if (configuration) {
|
|
30270
|
+
baseOptions = configuration.baseOptions;
|
|
30271
|
+
}
|
|
30272
|
+
|
|
30273
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
30274
|
+
const localVarHeaderParameter = {} as any;
|
|
30275
|
+
const localVarQueryParameter = {} as any;
|
|
30276
|
+
|
|
30277
|
+
// authentication ApiKeyAuth required
|
|
30278
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
30279
|
+
|
|
30280
|
+
// authentication bearerAuth required
|
|
30281
|
+
// http bearer authentication required
|
|
30282
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
30283
|
+
|
|
30284
|
+
|
|
30285
|
+
|
|
30286
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
30287
|
+
|
|
30288
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
30289
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
30290
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
30291
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
30292
|
+
|
|
30165
30293
|
return {
|
|
30166
30294
|
url: toPathString(localVarUrlObj),
|
|
30167
30295
|
options: localVarRequestOptions,
|
|
@@ -30230,6 +30358,20 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
|
|
|
30230
30358
|
const localVarOperationServerBasePath = operationServerMap['ContainerActionsApi.stopContainer']?.[localVarOperationServerIndex]?.url;
|
|
30231
30359
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30232
30360
|
},
|
|
30361
|
+
/**
|
|
30362
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30363
|
+
* @summary Uninstall container
|
|
30364
|
+
* @param {string} containerId Container ID
|
|
30365
|
+
* @param {object} [body]
|
|
30366
|
+
* @param {*} [options] Override http request option.
|
|
30367
|
+
* @throws {RequiredError}
|
|
30368
|
+
*/
|
|
30369
|
+
async uninstallContainer(containerId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
30370
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallContainer(containerId, body, options);
|
|
30371
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
30372
|
+
const localVarOperationServerBasePath = operationServerMap['ContainerActionsApi.uninstallContainer']?.[localVarOperationServerIndex]?.url;
|
|
30373
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
30374
|
+
},
|
|
30233
30375
|
}
|
|
30234
30376
|
};
|
|
30235
30377
|
|
|
@@ -30281,6 +30423,17 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
|
|
|
30281
30423
|
stopContainer(containerId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
30282
30424
|
return localVarFp.stopContainer(containerId, options).then((request) => request(axios, basePath));
|
|
30283
30425
|
},
|
|
30426
|
+
/**
|
|
30427
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30428
|
+
* @summary Uninstall container
|
|
30429
|
+
* @param {string} containerId Container ID
|
|
30430
|
+
* @param {object} [body]
|
|
30431
|
+
* @param {*} [options] Override http request option.
|
|
30432
|
+
* @throws {RequiredError}
|
|
30433
|
+
*/
|
|
30434
|
+
uninstallContainer(containerId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
30435
|
+
return localVarFp.uninstallContainer(containerId, body, options).then((request) => request(axios, basePath));
|
|
30436
|
+
},
|
|
30284
30437
|
};
|
|
30285
30438
|
};
|
|
30286
30439
|
|
|
@@ -30339,6 +30492,19 @@ export class ContainerActionsApi extends BaseAPI {
|
|
|
30339
30492
|
public stopContainer(containerId: string, options?: RawAxiosRequestConfig) {
|
|
30340
30493
|
return ContainerActionsApiFp(this.configuration).stopContainer(containerId, options).then((request) => request(this.axios, this.basePath));
|
|
30341
30494
|
}
|
|
30495
|
+
|
|
30496
|
+
/**
|
|
30497
|
+
* Delete the resources of the container but keep Qovery configuration
|
|
30498
|
+
* @summary Uninstall container
|
|
30499
|
+
* @param {string} containerId Container ID
|
|
30500
|
+
* @param {object} [body]
|
|
30501
|
+
* @param {*} [options] Override http request option.
|
|
30502
|
+
* @throws {RequiredError}
|
|
30503
|
+
* @memberof ContainerActionsApi
|
|
30504
|
+
*/
|
|
30505
|
+
public uninstallContainer(containerId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
30506
|
+
return ContainerActionsApiFp(this.configuration).uninstallContainer(containerId, body, options).then((request) => request(this.axios, this.basePath));
|
|
30507
|
+
}
|
|
30342
30508
|
}
|
|
30343
30509
|
|
|
30344
30510
|
|
|
@@ -34613,6 +34779,51 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
|
|
|
34613
34779
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34614
34780
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34615
34781
|
|
|
34782
|
+
return {
|
|
34783
|
+
url: toPathString(localVarUrlObj),
|
|
34784
|
+
options: localVarRequestOptions,
|
|
34785
|
+
};
|
|
34786
|
+
},
|
|
34787
|
+
/**
|
|
34788
|
+
*
|
|
34789
|
+
* @summary Uninstall database
|
|
34790
|
+
* @param {string} databaseId Database ID
|
|
34791
|
+
* @param {object} [body]
|
|
34792
|
+
* @param {*} [options] Override http request option.
|
|
34793
|
+
* @throws {RequiredError}
|
|
34794
|
+
*/
|
|
34795
|
+
uninstallDatabase: async (databaseId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
34796
|
+
// verify required parameter 'databaseId' is not null or undefined
|
|
34797
|
+
assertParamExists('uninstallDatabase', 'databaseId', databaseId)
|
|
34798
|
+
const localVarPath = `/database/{databaseId}/uninstall`
|
|
34799
|
+
.replace(`{${"databaseId"}}`, encodeURIComponent(String(databaseId)));
|
|
34800
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
34801
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
34802
|
+
let baseOptions;
|
|
34803
|
+
if (configuration) {
|
|
34804
|
+
baseOptions = configuration.baseOptions;
|
|
34805
|
+
}
|
|
34806
|
+
|
|
34807
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
34808
|
+
const localVarHeaderParameter = {} as any;
|
|
34809
|
+
const localVarQueryParameter = {} as any;
|
|
34810
|
+
|
|
34811
|
+
// authentication ApiKeyAuth required
|
|
34812
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
34813
|
+
|
|
34814
|
+
// authentication bearerAuth required
|
|
34815
|
+
// http bearer authentication required
|
|
34816
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
34817
|
+
|
|
34818
|
+
|
|
34819
|
+
|
|
34820
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
34821
|
+
|
|
34822
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
34823
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
34824
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
34825
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
34826
|
+
|
|
34616
34827
|
return {
|
|
34617
34828
|
url: toPathString(localVarUrlObj),
|
|
34618
34829
|
options: localVarRequestOptions,
|
|
@@ -34680,6 +34891,20 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
|
|
|
34680
34891
|
const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.stopDatabase']?.[localVarOperationServerIndex]?.url;
|
|
34681
34892
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34682
34893
|
},
|
|
34894
|
+
/**
|
|
34895
|
+
*
|
|
34896
|
+
* @summary Uninstall database
|
|
34897
|
+
* @param {string} databaseId Database ID
|
|
34898
|
+
* @param {object} [body]
|
|
34899
|
+
* @param {*} [options] Override http request option.
|
|
34900
|
+
* @throws {RequiredError}
|
|
34901
|
+
*/
|
|
34902
|
+
async uninstallDatabase(databaseId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
34903
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallDatabase(databaseId, body, options);
|
|
34904
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
34905
|
+
const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.uninstallDatabase']?.[localVarOperationServerIndex]?.url;
|
|
34906
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
34907
|
+
},
|
|
34683
34908
|
}
|
|
34684
34909
|
};
|
|
34685
34910
|
|
|
@@ -34730,6 +34955,17 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
|
|
|
34730
34955
|
stopDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
34731
34956
|
return localVarFp.stopDatabase(databaseId, options).then((request) => request(axios, basePath));
|
|
34732
34957
|
},
|
|
34958
|
+
/**
|
|
34959
|
+
*
|
|
34960
|
+
* @summary Uninstall database
|
|
34961
|
+
* @param {string} databaseId Database ID
|
|
34962
|
+
* @param {object} [body]
|
|
34963
|
+
* @param {*} [options] Override http request option.
|
|
34964
|
+
* @throws {RequiredError}
|
|
34965
|
+
*/
|
|
34966
|
+
uninstallDatabase(databaseId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
34967
|
+
return localVarFp.uninstallDatabase(databaseId, body, options).then((request) => request(axios, basePath));
|
|
34968
|
+
},
|
|
34733
34969
|
};
|
|
34734
34970
|
};
|
|
34735
34971
|
|
|
@@ -34787,6 +35023,19 @@ export class DatabaseActionsApi extends BaseAPI {
|
|
|
34787
35023
|
public stopDatabase(databaseId: string, options?: RawAxiosRequestConfig) {
|
|
34788
35024
|
return DatabaseActionsApiFp(this.configuration).stopDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
|
|
34789
35025
|
}
|
|
35026
|
+
|
|
35027
|
+
/**
|
|
35028
|
+
*
|
|
35029
|
+
* @summary Uninstall database
|
|
35030
|
+
* @param {string} databaseId Database ID
|
|
35031
|
+
* @param {object} [body]
|
|
35032
|
+
* @param {*} [options] Override http request option.
|
|
35033
|
+
* @throws {RequiredError}
|
|
35034
|
+
* @memberof DatabaseActionsApi
|
|
35035
|
+
*/
|
|
35036
|
+
public uninstallDatabase(databaseId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
35037
|
+
return DatabaseActionsApiFp(this.configuration).uninstallDatabase(databaseId, body, options).then((request) => request(this.axios, this.basePath));
|
|
35038
|
+
}
|
|
34790
35039
|
}
|
|
34791
35040
|
|
|
34792
35041
|
|
|
@@ -42345,6 +42594,51 @@ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configu
|
|
|
42345
42594
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42346
42595
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42347
42596
|
|
|
42597
|
+
return {
|
|
42598
|
+
url: toPathString(localVarUrlObj),
|
|
42599
|
+
options: localVarRequestOptions,
|
|
42600
|
+
};
|
|
42601
|
+
},
|
|
42602
|
+
/**
|
|
42603
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42604
|
+
* @summary Uninstall helm
|
|
42605
|
+
* @param {string} helmId Helm ID
|
|
42606
|
+
* @param {object} [body]
|
|
42607
|
+
* @param {*} [options] Override http request option.
|
|
42608
|
+
* @throws {RequiredError}
|
|
42609
|
+
*/
|
|
42610
|
+
uninstallHelm: async (helmId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
42611
|
+
// verify required parameter 'helmId' is not null or undefined
|
|
42612
|
+
assertParamExists('uninstallHelm', 'helmId', helmId)
|
|
42613
|
+
const localVarPath = `/helm/{helmId}/uninstall`
|
|
42614
|
+
.replace(`{${"helmId"}}`, encodeURIComponent(String(helmId)));
|
|
42615
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
42616
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
42617
|
+
let baseOptions;
|
|
42618
|
+
if (configuration) {
|
|
42619
|
+
baseOptions = configuration.baseOptions;
|
|
42620
|
+
}
|
|
42621
|
+
|
|
42622
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
42623
|
+
const localVarHeaderParameter = {} as any;
|
|
42624
|
+
const localVarQueryParameter = {} as any;
|
|
42625
|
+
|
|
42626
|
+
// authentication ApiKeyAuth required
|
|
42627
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
42628
|
+
|
|
42629
|
+
// authentication bearerAuth required
|
|
42630
|
+
// http bearer authentication required
|
|
42631
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
42632
|
+
|
|
42633
|
+
|
|
42634
|
+
|
|
42635
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
42636
|
+
|
|
42637
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
42638
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
42639
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
42640
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
42641
|
+
|
|
42348
42642
|
return {
|
|
42349
42643
|
url: toPathString(localVarUrlObj),
|
|
42350
42644
|
options: localVarRequestOptions,
|
|
@@ -42402,6 +42696,20 @@ export const HelmActionsApiFp = function(configuration?: Configuration) {
|
|
|
42402
42696
|
const localVarOperationServerBasePath = operationServerMap['HelmActionsApi.stopHelm']?.[localVarOperationServerIndex]?.url;
|
|
42403
42697
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42404
42698
|
},
|
|
42699
|
+
/**
|
|
42700
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42701
|
+
* @summary Uninstall helm
|
|
42702
|
+
* @param {string} helmId Helm ID
|
|
42703
|
+
* @param {object} [body]
|
|
42704
|
+
* @param {*} [options] Override http request option.
|
|
42705
|
+
* @throws {RequiredError}
|
|
42706
|
+
*/
|
|
42707
|
+
async uninstallHelm(helmId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
42708
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallHelm(helmId, body, options);
|
|
42709
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
42710
|
+
const localVarOperationServerBasePath = operationServerMap['HelmActionsApi.uninstallHelm']?.[localVarOperationServerIndex]?.url;
|
|
42711
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
42712
|
+
},
|
|
42405
42713
|
}
|
|
42406
42714
|
};
|
|
42407
42715
|
|
|
@@ -42445,6 +42753,17 @@ export const HelmActionsApiFactory = function (configuration?: Configuration, ba
|
|
|
42445
42753
|
stopHelm(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
42446
42754
|
return localVarFp.stopHelm(helmId, options).then((request) => request(axios, basePath));
|
|
42447
42755
|
},
|
|
42756
|
+
/**
|
|
42757
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42758
|
+
* @summary Uninstall helm
|
|
42759
|
+
* @param {string} helmId Helm ID
|
|
42760
|
+
* @param {object} [body]
|
|
42761
|
+
* @param {*} [options] Override http request option.
|
|
42762
|
+
* @throws {RequiredError}
|
|
42763
|
+
*/
|
|
42764
|
+
uninstallHelm(helmId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
42765
|
+
return localVarFp.uninstallHelm(helmId, body, options).then((request) => request(axios, basePath));
|
|
42766
|
+
},
|
|
42448
42767
|
};
|
|
42449
42768
|
};
|
|
42450
42769
|
|
|
@@ -42493,6 +42812,19 @@ export class HelmActionsApi extends BaseAPI {
|
|
|
42493
42812
|
public stopHelm(helmId: string, options?: RawAxiosRequestConfig) {
|
|
42494
42813
|
return HelmActionsApiFp(this.configuration).stopHelm(helmId, options).then((request) => request(this.axios, this.basePath));
|
|
42495
42814
|
}
|
|
42815
|
+
|
|
42816
|
+
/**
|
|
42817
|
+
* Delete the resources of the helm but keep Qovery configuration
|
|
42818
|
+
* @summary Uninstall helm
|
|
42819
|
+
* @param {string} helmId Helm ID
|
|
42820
|
+
* @param {object} [body]
|
|
42821
|
+
* @param {*} [options] Override http request option.
|
|
42822
|
+
* @throws {RequiredError}
|
|
42823
|
+
* @memberof HelmActionsApi
|
|
42824
|
+
*/
|
|
42825
|
+
public uninstallHelm(helmId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
42826
|
+
return HelmActionsApiFp(this.configuration).uninstallHelm(helmId, body, options).then((request) => request(this.axios, this.basePath));
|
|
42827
|
+
}
|
|
42496
42828
|
}
|
|
42497
42829
|
|
|
42498
42830
|
|
|
@@ -45675,6 +46007,51 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
|
|
|
45675
46007
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
45676
46008
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
45677
46009
|
|
|
46010
|
+
return {
|
|
46011
|
+
url: toPathString(localVarUrlObj),
|
|
46012
|
+
options: localVarRequestOptions,
|
|
46013
|
+
};
|
|
46014
|
+
},
|
|
46015
|
+
/**
|
|
46016
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46017
|
+
* @summary Uninstall job
|
|
46018
|
+
* @param {string} jobId Job ID
|
|
46019
|
+
* @param {object} [body]
|
|
46020
|
+
* @param {*} [options] Override http request option.
|
|
46021
|
+
* @throws {RequiredError}
|
|
46022
|
+
*/
|
|
46023
|
+
uninstallJob: async (jobId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
46024
|
+
// verify required parameter 'jobId' is not null or undefined
|
|
46025
|
+
assertParamExists('uninstallJob', 'jobId', jobId)
|
|
46026
|
+
const localVarPath = `/job/{jobId}/uninstall`
|
|
46027
|
+
.replace(`{${"jobId"}}`, encodeURIComponent(String(jobId)));
|
|
46028
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
46029
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
46030
|
+
let baseOptions;
|
|
46031
|
+
if (configuration) {
|
|
46032
|
+
baseOptions = configuration.baseOptions;
|
|
46033
|
+
}
|
|
46034
|
+
|
|
46035
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
46036
|
+
const localVarHeaderParameter = {} as any;
|
|
46037
|
+
const localVarQueryParameter = {} as any;
|
|
46038
|
+
|
|
46039
|
+
// authentication ApiKeyAuth required
|
|
46040
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
46041
|
+
|
|
46042
|
+
// authentication bearerAuth required
|
|
46043
|
+
// http bearer authentication required
|
|
46044
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
46045
|
+
|
|
46046
|
+
|
|
46047
|
+
|
|
46048
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
46049
|
+
|
|
46050
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
46051
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
46052
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
46053
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
46054
|
+
|
|
45678
46055
|
return {
|
|
45679
46056
|
url: toPathString(localVarUrlObj),
|
|
45680
46057
|
options: localVarRequestOptions,
|
|
@@ -45745,6 +46122,20 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
|
|
|
45745
46122
|
const localVarOperationServerBasePath = operationServerMap['JobActionsApi.stopJob']?.[localVarOperationServerIndex]?.url;
|
|
45746
46123
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
45747
46124
|
},
|
|
46125
|
+
/**
|
|
46126
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46127
|
+
* @summary Uninstall job
|
|
46128
|
+
* @param {string} jobId Job ID
|
|
46129
|
+
* @param {object} [body]
|
|
46130
|
+
* @param {*} [options] Override http request option.
|
|
46131
|
+
* @throws {RequiredError}
|
|
46132
|
+
*/
|
|
46133
|
+
async uninstallJob(jobId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
46134
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallJob(jobId, body, options);
|
|
46135
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
46136
|
+
const localVarOperationServerBasePath = operationServerMap['JobActionsApi.uninstallJob']?.[localVarOperationServerIndex]?.url;
|
|
46137
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
46138
|
+
},
|
|
45748
46139
|
}
|
|
45749
46140
|
};
|
|
45750
46141
|
|
|
@@ -45798,6 +46189,17 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
|
|
|
45798
46189
|
stopJob(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
45799
46190
|
return localVarFp.stopJob(jobId, options).then((request) => request(axios, basePath));
|
|
45800
46191
|
},
|
|
46192
|
+
/**
|
|
46193
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46194
|
+
* @summary Uninstall job
|
|
46195
|
+
* @param {string} jobId Job ID
|
|
46196
|
+
* @param {object} [body]
|
|
46197
|
+
* @param {*} [options] Override http request option.
|
|
46198
|
+
* @throws {RequiredError}
|
|
46199
|
+
*/
|
|
46200
|
+
uninstallJob(jobId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
46201
|
+
return localVarFp.uninstallJob(jobId, body, options).then((request) => request(axios, basePath));
|
|
46202
|
+
},
|
|
45801
46203
|
};
|
|
45802
46204
|
};
|
|
45803
46205
|
|
|
@@ -45858,6 +46260,19 @@ export class JobActionsApi extends BaseAPI {
|
|
|
45858
46260
|
public stopJob(jobId: string, options?: RawAxiosRequestConfig) {
|
|
45859
46261
|
return JobActionsApiFp(this.configuration).stopJob(jobId, options).then((request) => request(this.axios, this.basePath));
|
|
45860
46262
|
}
|
|
46263
|
+
|
|
46264
|
+
/**
|
|
46265
|
+
* Delete the resources of the job but keep Qovery configuration
|
|
46266
|
+
* @summary Uninstall job
|
|
46267
|
+
* @param {string} jobId Job ID
|
|
46268
|
+
* @param {object} [body]
|
|
46269
|
+
* @param {*} [options] Override http request option.
|
|
46270
|
+
* @throws {RequiredError}
|
|
46271
|
+
* @memberof JobActionsApi
|
|
46272
|
+
*/
|
|
46273
|
+
public uninstallJob(jobId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
46274
|
+
return JobActionsApiFp(this.configuration).uninstallJob(jobId, body, options).then((request) => request(this.axios, this.basePath));
|
|
46275
|
+
}
|
|
45861
46276
|
}
|
|
45862
46277
|
|
|
45863
46278
|
|
|
@@ -56915,6 +57330,51 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration?: Co
|
|
|
56915
57330
|
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
56916
57331
|
localVarRequestOptions.data = serializeDataIfNeeded(terraformDeployRequest, localVarRequestOptions, configuration)
|
|
56917
57332
|
|
|
57333
|
+
return {
|
|
57334
|
+
url: toPathString(localVarUrlObj),
|
|
57335
|
+
options: localVarRequestOptions,
|
|
57336
|
+
};
|
|
57337
|
+
},
|
|
57338
|
+
/**
|
|
57339
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57340
|
+
* @summary Uninstall terraform
|
|
57341
|
+
* @param {string} terraformId Terraform ID
|
|
57342
|
+
* @param {object} [body]
|
|
57343
|
+
* @param {*} [options] Override http request option.
|
|
57344
|
+
* @throws {RequiredError}
|
|
57345
|
+
*/
|
|
57346
|
+
uninstallTerraform: async (terraformId: string, body?: object, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
57347
|
+
// verify required parameter 'terraformId' is not null or undefined
|
|
57348
|
+
assertParamExists('uninstallTerraform', 'terraformId', terraformId)
|
|
57349
|
+
const localVarPath = `/terraform/{terraformId}/uninstall`
|
|
57350
|
+
.replace(`{${"terraformId"}}`, encodeURIComponent(String(terraformId)));
|
|
57351
|
+
// use dummy base URL string because the URL constructor only accepts absolute URLs.
|
|
57352
|
+
const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
|
|
57353
|
+
let baseOptions;
|
|
57354
|
+
if (configuration) {
|
|
57355
|
+
baseOptions = configuration.baseOptions;
|
|
57356
|
+
}
|
|
57357
|
+
|
|
57358
|
+
const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
|
|
57359
|
+
const localVarHeaderParameter = {} as any;
|
|
57360
|
+
const localVarQueryParameter = {} as any;
|
|
57361
|
+
|
|
57362
|
+
// authentication ApiKeyAuth required
|
|
57363
|
+
await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
|
|
57364
|
+
|
|
57365
|
+
// authentication bearerAuth required
|
|
57366
|
+
// http bearer authentication required
|
|
57367
|
+
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
57368
|
+
|
|
57369
|
+
|
|
57370
|
+
|
|
57371
|
+
localVarHeaderParameter['Content-Type'] = 'application/json';
|
|
57372
|
+
|
|
57373
|
+
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
57374
|
+
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
57375
|
+
localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
|
|
57376
|
+
localVarRequestOptions.data = serializeDataIfNeeded(body, localVarRequestOptions, configuration)
|
|
57377
|
+
|
|
56918
57378
|
return {
|
|
56919
57379
|
url: toPathString(localVarUrlObj),
|
|
56920
57380
|
options: localVarRequestOptions,
|
|
@@ -56944,6 +57404,20 @@ export const TerraformActionsApiFp = function(configuration?: Configuration) {
|
|
|
56944
57404
|
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.deployTerraform']?.[localVarOperationServerIndex]?.url;
|
|
56945
57405
|
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
56946
57406
|
},
|
|
57407
|
+
/**
|
|
57408
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57409
|
+
* @summary Uninstall terraform
|
|
57410
|
+
* @param {string} terraformId Terraform ID
|
|
57411
|
+
* @param {object} [body]
|
|
57412
|
+
* @param {*} [options] Override http request option.
|
|
57413
|
+
* @throws {RequiredError}
|
|
57414
|
+
*/
|
|
57415
|
+
async uninstallTerraform(terraformId: string, body?: object, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<object>> {
|
|
57416
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.uninstallTerraform(terraformId, body, options);
|
|
57417
|
+
const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
|
|
57418
|
+
const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.uninstallTerraform']?.[localVarOperationServerIndex]?.url;
|
|
57419
|
+
return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
|
|
57420
|
+
},
|
|
56947
57421
|
}
|
|
56948
57422
|
};
|
|
56949
57423
|
|
|
@@ -56965,6 +57439,17 @@ export const TerraformActionsApiFactory = function (configuration?: Configuratio
|
|
|
56965
57439
|
deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
|
|
56966
57440
|
return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
|
|
56967
57441
|
},
|
|
57442
|
+
/**
|
|
57443
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57444
|
+
* @summary Uninstall terraform
|
|
57445
|
+
* @param {string} terraformId Terraform ID
|
|
57446
|
+
* @param {object} [body]
|
|
57447
|
+
* @param {*} [options] Override http request option.
|
|
57448
|
+
* @throws {RequiredError}
|
|
57449
|
+
*/
|
|
57450
|
+
uninstallTerraform(terraformId: string, body?: object, options?: RawAxiosRequestConfig): AxiosPromise<object> {
|
|
57451
|
+
return localVarFp.uninstallTerraform(terraformId, body, options).then((request) => request(axios, basePath));
|
|
57452
|
+
},
|
|
56968
57453
|
};
|
|
56969
57454
|
};
|
|
56970
57455
|
|
|
@@ -56987,6 +57472,19 @@ export class TerraformActionsApi extends BaseAPI {
|
|
|
56987
57472
|
public deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) {
|
|
56988
57473
|
return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
|
|
56989
57474
|
}
|
|
57475
|
+
|
|
57476
|
+
/**
|
|
57477
|
+
* Delete the resources of the terraform but keep Qovery configuration
|
|
57478
|
+
* @summary Uninstall terraform
|
|
57479
|
+
* @param {string} terraformId Terraform ID
|
|
57480
|
+
* @param {object} [body]
|
|
57481
|
+
* @param {*} [options] Override http request option.
|
|
57482
|
+
* @throws {RequiredError}
|
|
57483
|
+
* @memberof TerraformActionsApi
|
|
57484
|
+
*/
|
|
57485
|
+
public uninstallTerraform(terraformId: string, body?: object, options?: RawAxiosRequestConfig) {
|
|
57486
|
+
return TerraformActionsApiFp(this.configuration).uninstallTerraform(terraformId, body, options).then((request) => request(this.axios, this.basePath));
|
|
57487
|
+
}
|
|
56990
57488
|
}
|
|
56991
57489
|
|
|
56992
57490
|
|