qovery-typescript-axios 1.1.236 → 1.1.237
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 +15 -7
- package/dist/api.d.ts +8 -4
- package/dist/api.js +14 -7
- package/package.json +1 -1
package/api.ts
CHANGED
|
@@ -22835,10 +22835,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22835
22835
|
* @summary Delete a cluster
|
|
22836
22836
|
* @param {string} organizationId Organization ID
|
|
22837
22837
|
* @param {string} clusterId Cluster ID
|
|
22838
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
22838
22839
|
* @param {*} [options] Override http request option.
|
|
22839
22840
|
* @throws {RequiredError}
|
|
22840
22841
|
*/
|
|
22841
|
-
deleteCluster: async (organizationId: string, clusterId: string, options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22842
|
+
deleteCluster: async (organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options: AxiosRequestConfig = {}): Promise<RequestArgs> => {
|
|
22842
22843
|
// verify required parameter 'organizationId' is not null or undefined
|
|
22843
22844
|
assertParamExists('deleteCluster', 'organizationId', organizationId)
|
|
22844
22845
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -22864,6 +22865,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
|
|
|
22864
22865
|
// http bearer authentication required
|
|
22865
22866
|
await setBearerAuthToObject(localVarHeaderParameter, configuration)
|
|
22866
22867
|
|
|
22868
|
+
if (deleteMode !== undefined) {
|
|
22869
|
+
localVarQueryParameter['deleteMode'] = deleteMode;
|
|
22870
|
+
}
|
|
22871
|
+
|
|
22867
22872
|
|
|
22868
22873
|
|
|
22869
22874
|
setSearchParams(localVarUrlObj, localVarQueryParameter);
|
|
@@ -23577,11 +23582,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
|
|
|
23577
23582
|
* @summary Delete a cluster
|
|
23578
23583
|
* @param {string} organizationId Organization ID
|
|
23579
23584
|
* @param {string} clusterId Cluster ID
|
|
23585
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
23580
23586
|
* @param {*} [options] Override http request option.
|
|
23581
23587
|
* @throws {RequiredError}
|
|
23582
23588
|
*/
|
|
23583
|
-
async deleteCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23584
|
-
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, options);
|
|
23589
|
+
async deleteCluster(organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
|
|
23590
|
+
const localVarAxiosArgs = await localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, deleteMode, options);
|
|
23585
23591
|
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
|
|
23586
23592
|
},
|
|
23587
23593
|
/**
|
|
@@ -23790,11 +23796,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
|
|
|
23790
23796
|
* @summary Delete a cluster
|
|
23791
23797
|
* @param {string} organizationId Organization ID
|
|
23792
23798
|
* @param {string} clusterId Cluster ID
|
|
23799
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
23793
23800
|
* @param {*} [options] Override http request option.
|
|
23794
23801
|
* @throws {RequiredError}
|
|
23795
23802
|
*/
|
|
23796
|
-
deleteCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<void> {
|
|
23797
|
-
return localVarFp.deleteCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
23803
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: any): AxiosPromise<void> {
|
|
23804
|
+
return localVarFp.deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(axios, basePath));
|
|
23798
23805
|
},
|
|
23799
23806
|
/**
|
|
23800
23807
|
* allows to deploy a cluster
|
|
@@ -23989,12 +23996,13 @@ export class ClustersApi extends BaseAPI {
|
|
|
23989
23996
|
* @summary Delete a cluster
|
|
23990
23997
|
* @param {string} organizationId Organization ID
|
|
23991
23998
|
* @param {string} clusterId Cluster ID
|
|
23999
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
23992
24000
|
* @param {*} [options] Override http request option.
|
|
23993
24001
|
* @throws {RequiredError}
|
|
23994
24002
|
* @memberof ClustersApi
|
|
23995
24003
|
*/
|
|
23996
|
-
public deleteCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig) {
|
|
23997
|
-
return ClustersApiFp(this.configuration).deleteCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
24004
|
+
public deleteCluster(organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: AxiosRequestConfig) {
|
|
24005
|
+
return ClustersApiFp(this.configuration).deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(this.axios, this.basePath));
|
|
23998
24006
|
}
|
|
23999
24007
|
|
|
24000
24008
|
/**
|
package/dist/api.d.ts
CHANGED
|
@@ -18067,10 +18067,11 @@ export declare const ClustersApiAxiosParamCreator: (configuration?: Configuratio
|
|
|
18067
18067
|
* @summary Delete a cluster
|
|
18068
18068
|
* @param {string} organizationId Organization ID
|
|
18069
18069
|
* @param {string} clusterId Cluster ID
|
|
18070
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
18070
18071
|
* @param {*} [options] Override http request option.
|
|
18071
18072
|
* @throws {RequiredError}
|
|
18072
18073
|
*/
|
|
18073
|
-
deleteCluster: (organizationId: string, clusterId: string, options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18074
|
+
deleteCluster: (organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: AxiosRequestConfig) => Promise<RequestArgs>;
|
|
18074
18075
|
/**
|
|
18075
18076
|
* allows to deploy a cluster
|
|
18076
18077
|
* @summary Deploy a cluster
|
|
@@ -18226,10 +18227,11 @@ export declare const ClustersApiFp: (configuration?: Configuration) => {
|
|
|
18226
18227
|
* @summary Delete a cluster
|
|
18227
18228
|
* @param {string} organizationId Organization ID
|
|
18228
18229
|
* @param {string} clusterId Cluster ID
|
|
18230
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
18229
18231
|
* @param {*} [options] Override http request option.
|
|
18230
18232
|
* @throws {RequiredError}
|
|
18231
18233
|
*/
|
|
18232
|
-
deleteCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
18234
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
|
|
18233
18235
|
/**
|
|
18234
18236
|
* allows to deploy a cluster
|
|
18235
18237
|
* @summary Deploy a cluster
|
|
@@ -18385,10 +18387,11 @@ export declare const ClustersApiFactory: (configuration?: Configuration, basePat
|
|
|
18385
18387
|
* @summary Delete a cluster
|
|
18386
18388
|
* @param {string} organizationId Organization ID
|
|
18387
18389
|
* @param {string} clusterId Cluster ID
|
|
18390
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
18388
18391
|
* @param {*} [options] Override http request option.
|
|
18389
18392
|
* @throws {RequiredError}
|
|
18390
18393
|
*/
|
|
18391
|
-
deleteCluster(organizationId: string, clusterId: string, options?: any): AxiosPromise<void>;
|
|
18394
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: any): AxiosPromise<void>;
|
|
18392
18395
|
/**
|
|
18393
18396
|
* allows to deploy a cluster
|
|
18394
18397
|
* @summary Deploy a cluster
|
|
@@ -18547,11 +18550,12 @@ export declare class ClustersApi extends BaseAPI {
|
|
|
18547
18550
|
* @summary Delete a cluster
|
|
18548
18551
|
* @param {string} organizationId Organization ID
|
|
18549
18552
|
* @param {string} clusterId Cluster ID
|
|
18553
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
18550
18554
|
* @param {*} [options] Override http request option.
|
|
18551
18555
|
* @throws {RequiredError}
|
|
18552
18556
|
* @memberof ClustersApi
|
|
18553
18557
|
*/
|
|
18554
|
-
deleteCluster(organizationId: string, clusterId: string, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
18558
|
+
deleteCluster(organizationId: string, clusterId: string, deleteMode?: 'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG', options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<void>>;
|
|
18555
18559
|
/**
|
|
18556
18560
|
* allows to deploy a cluster
|
|
18557
18561
|
* @summary Deploy a cluster
|
package/dist/api.js
CHANGED
|
@@ -8820,10 +8820,11 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8820
8820
|
* @summary Delete a cluster
|
|
8821
8821
|
* @param {string} organizationId Organization ID
|
|
8822
8822
|
* @param {string} clusterId Cluster ID
|
|
8823
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
8823
8824
|
* @param {*} [options] Override http request option.
|
|
8824
8825
|
* @throws {RequiredError}
|
|
8825
8826
|
*/
|
|
8826
|
-
deleteCluster: (organizationId, clusterId, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8827
|
+
deleteCluster: (organizationId, clusterId, deleteMode, options = {}) => __awaiter(this, void 0, void 0, function* () {
|
|
8827
8828
|
// verify required parameter 'organizationId' is not null or undefined
|
|
8828
8829
|
(0, common_1.assertParamExists)('deleteCluster', 'organizationId', organizationId);
|
|
8829
8830
|
// verify required parameter 'clusterId' is not null or undefined
|
|
@@ -8845,6 +8846,9 @@ const ClustersApiAxiosParamCreator = function (configuration) {
|
|
|
8845
8846
|
// authentication bearerAuth required
|
|
8846
8847
|
// http bearer authentication required
|
|
8847
8848
|
yield (0, common_1.setBearerAuthToObject)(localVarHeaderParameter, configuration);
|
|
8849
|
+
if (deleteMode !== undefined) {
|
|
8850
|
+
localVarQueryParameter['deleteMode'] = deleteMode;
|
|
8851
|
+
}
|
|
8848
8852
|
(0, common_1.setSearchParams)(localVarUrlObj, localVarQueryParameter);
|
|
8849
8853
|
let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
|
|
8850
8854
|
localVarRequestOptions.headers = Object.assign(Object.assign(Object.assign({}, localVarHeaderParameter), headersFromBaseOptions), options.headers);
|
|
@@ -9448,12 +9452,13 @@ const ClustersApiFp = function (configuration) {
|
|
|
9448
9452
|
* @summary Delete a cluster
|
|
9449
9453
|
* @param {string} organizationId Organization ID
|
|
9450
9454
|
* @param {string} clusterId Cluster ID
|
|
9455
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
9451
9456
|
* @param {*} [options] Override http request option.
|
|
9452
9457
|
* @throws {RequiredError}
|
|
9453
9458
|
*/
|
|
9454
|
-
deleteCluster(organizationId, clusterId, options) {
|
|
9459
|
+
deleteCluster(organizationId, clusterId, deleteMode, options) {
|
|
9455
9460
|
return __awaiter(this, void 0, void 0, function* () {
|
|
9456
|
-
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, options);
|
|
9461
|
+
const localVarAxiosArgs = yield localVarAxiosParamCreator.deleteCluster(organizationId, clusterId, deleteMode, options);
|
|
9457
9462
|
return (0, common_1.createRequestFunction)(localVarAxiosArgs, axios_1.default, base_1.BASE_PATH, configuration);
|
|
9458
9463
|
});
|
|
9459
9464
|
},
|
|
@@ -9693,11 +9698,12 @@ const ClustersApiFactory = function (configuration, basePath, axios) {
|
|
|
9693
9698
|
* @summary Delete a cluster
|
|
9694
9699
|
* @param {string} organizationId Organization ID
|
|
9695
9700
|
* @param {string} clusterId Cluster ID
|
|
9701
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
9696
9702
|
* @param {*} [options] Override http request option.
|
|
9697
9703
|
* @throws {RequiredError}
|
|
9698
9704
|
*/
|
|
9699
|
-
deleteCluster(organizationId, clusterId, options) {
|
|
9700
|
-
return localVarFp.deleteCluster(organizationId, clusterId, options).then((request) => request(axios, basePath));
|
|
9705
|
+
deleteCluster(organizationId, clusterId, deleteMode, options) {
|
|
9706
|
+
return localVarFp.deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(axios, basePath));
|
|
9701
9707
|
},
|
|
9702
9708
|
/**
|
|
9703
9709
|
* allows to deploy a cluster
|
|
@@ -9891,12 +9897,13 @@ class ClustersApi extends base_1.BaseAPI {
|
|
|
9891
9897
|
* @summary Delete a cluster
|
|
9892
9898
|
* @param {string} organizationId Organization ID
|
|
9893
9899
|
* @param {string} clusterId Cluster ID
|
|
9900
|
+
* @param {'DEFAULT' | 'DELETE_CLUSTER_AND_QOVERY_CONFIG' | 'DELETE_QOVERY_CONFIG'} [deleteMode]
|
|
9894
9901
|
* @param {*} [options] Override http request option.
|
|
9895
9902
|
* @throws {RequiredError}
|
|
9896
9903
|
* @memberof ClustersApi
|
|
9897
9904
|
*/
|
|
9898
|
-
deleteCluster(organizationId, clusterId, options) {
|
|
9899
|
-
return (0, exports.ClustersApiFp)(this.configuration).deleteCluster(organizationId, clusterId, options).then((request) => request(this.axios, this.basePath));
|
|
9905
|
+
deleteCluster(organizationId, clusterId, deleteMode, options) {
|
|
9906
|
+
return (0, exports.ClustersApiFp)(this.configuration).deleteCluster(organizationId, clusterId, deleteMode, options).then((request) => request(this.axios, this.basePath));
|
|
9900
9907
|
}
|
|
9901
9908
|
/**
|
|
9902
9909
|
* allows to deploy a cluster
|