qovery-typescript-axios 1.1.235 → 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 CHANGED
@@ -3631,25 +3631,25 @@ export interface ContainerRegistryProviderDetailsResponse {
3631
3631
  * @type {string}
3632
3632
  * @memberof ContainerRegistryProviderDetailsResponse
3633
3633
  */
3634
- 'id'?: string;
3634
+ 'id': string;
3635
3635
  /**
3636
3636
  *
3637
3637
  * @type {string}
3638
3638
  * @memberof ContainerRegistryProviderDetailsResponse
3639
3639
  */
3640
- 'name'?: string;
3640
+ 'name': string;
3641
3641
  /**
3642
3642
  * URL of the container registry
3643
3643
  * @type {string}
3644
3644
  * @memberof ContainerRegistryProviderDetailsResponse
3645
3645
  */
3646
- 'url'?: string;
3646
+ 'url': string;
3647
3647
  /**
3648
3648
  *
3649
3649
  * @type {ContainerRegistryKindEnum}
3650
3650
  * @memberof ContainerRegistryProviderDetailsResponse
3651
3651
  */
3652
- 'kind'?: ContainerRegistryKindEnum;
3652
+ 'kind': ContainerRegistryKindEnum;
3653
3653
  }
3654
3654
  /**
3655
3655
  *
@@ -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
@@ -3602,25 +3602,25 @@ export interface ContainerRegistryProviderDetailsResponse {
3602
3602
  * @type {string}
3603
3603
  * @memberof ContainerRegistryProviderDetailsResponse
3604
3604
  */
3605
- 'id'?: string;
3605
+ 'id': string;
3606
3606
  /**
3607
3607
  *
3608
3608
  * @type {string}
3609
3609
  * @memberof ContainerRegistryProviderDetailsResponse
3610
3610
  */
3611
- 'name'?: string;
3611
+ 'name': string;
3612
3612
  /**
3613
3613
  * URL of the container registry
3614
3614
  * @type {string}
3615
3615
  * @memberof ContainerRegistryProviderDetailsResponse
3616
3616
  */
3617
- 'url'?: string;
3617
+ 'url': string;
3618
3618
  /**
3619
3619
  *
3620
3620
  * @type {ContainerRegistryKindEnum}
3621
3621
  * @memberof ContainerRegistryProviderDetailsResponse
3622
3622
  */
3623
- 'kind'?: ContainerRegistryKindEnum;
3623
+ 'kind': ContainerRegistryKindEnum;
3624
3624
  }
3625
3625
  /**
3626
3626
  *
@@ -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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.235",
3
+ "version": "v1.1.237",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [