qovery-typescript-axios 1.1.633 → 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 CHANGED
@@ -8722,6 +8722,30 @@ export interface GetClusterKubernetesEvents200ResponseResultsInner {
8722
8722
  * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8723
8723
  */
8724
8724
  'type'?: string;
8725
+ /**
8726
+ *
8727
+ * @type {string}
8728
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8729
+ */
8730
+ 'reporting_component'?: string;
8731
+ /**
8732
+ *
8733
+ * @type {number}
8734
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8735
+ */
8736
+ 'count'?: number;
8737
+ /**
8738
+ *
8739
+ * @type {string}
8740
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8741
+ */
8742
+ 'first_occurrence'?: string;
8743
+ /**
8744
+ *
8745
+ * @type {string}
8746
+ * @memberof GetClusterKubernetesEvents200ResponseResultsInner
8747
+ */
8748
+ 'last_occurrence'?: string;
8725
8749
  }
8726
8750
  /**
8727
8751
  *
@@ -18596,6 +18620,51 @@ export const ApplicationActionsApiAxiosParamCreator = function (configuration?:
18596
18620
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
18597
18621
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
18598
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
+
18599
18668
  return {
18600
18669
  url: toPathString(localVarUrlObj),
18601
18670
  options: localVarRequestOptions,
@@ -18664,6 +18733,20 @@ export const ApplicationActionsApiFp = function(configuration?: Configuration) {
18664
18733
  const localVarOperationServerBasePath = operationServerMap['ApplicationActionsApi.stopApplication']?.[localVarOperationServerIndex]?.url;
18665
18734
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
18666
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
+ },
18667
18750
  }
18668
18751
  };
18669
18752
 
@@ -18715,6 +18798,17 @@ export const ApplicationActionsApiFactory = function (configuration?: Configurat
18715
18798
  stopApplication(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
18716
18799
  return localVarFp.stopApplication(applicationId, options).then((request) => request(axios, basePath));
18717
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
+ },
18718
18812
  };
18719
18813
  };
18720
18814
 
@@ -18773,6 +18867,19 @@ export class ApplicationActionsApi extends BaseAPI {
18773
18867
  public stopApplication(applicationId: string, options?: RawAxiosRequestConfig) {
18774
18868
  return ApplicationActionsApiFp(this.configuration).stopApplication(applicationId, options).then((request) => request(this.axios, this.basePath));
18775
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
+ }
18776
18883
  }
18777
18884
 
18778
18885
 
@@ -28092,10 +28199,11 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
28092
28199
  * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
28093
28200
  * @param {string} [nodeName] The name of the node to fetch event from
28094
28201
  * @param {string} [podName] The name of the pod to fetch event from
28202
+ * @param {string} [reportingComponent] The name of the reporting component used to filter events.
28095
28203
  * @param {*} [options] Override http request option.
28096
28204
  * @throws {RequiredError}
28097
28205
  */
28098
- getClusterKubernetesEvents: async (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28206
+ getClusterKubernetesEvents: async (clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
28099
28207
  // verify required parameter 'clusterId' is not null or undefined
28100
28208
  assertParamExists('getClusterKubernetesEvents', 'clusterId', clusterId)
28101
28209
  // verify required parameter 'fromDateTime' is not null or undefined
@@ -28138,6 +28246,10 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
28138
28246
  localVarQueryParameter['pod_name'] = podName;
28139
28247
  }
28140
28248
 
28249
+ if (reportingComponent !== undefined) {
28250
+ localVarQueryParameter['reporting_component'] = reportingComponent;
28251
+ }
28252
+
28141
28253
 
28142
28254
 
28143
28255
  setSearchParams(localVarUrlObj, localVarQueryParameter);
@@ -29049,11 +29161,12 @@ export const ClustersApiFp = function(configuration?: Configuration) {
29049
29161
  * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
29050
29162
  * @param {string} [nodeName] The name of the node to fetch event from
29051
29163
  * @param {string} [podName] The name of the pod to fetch event from
29164
+ * @param {string} [reportingComponent] The name of the reporting component used to filter events.
29052
29165
  * @param {*} [options] Override http request option.
29053
29166
  * @throws {RequiredError}
29054
29167
  */
29055
- async getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
29056
- const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options);
29168
+ async getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<GetClusterKubernetesEvents200Response>> {
29169
+ const localVarAxiosArgs = await localVarAxiosParamCreator.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options);
29057
29170
  const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
29058
29171
  const localVarOperationServerBasePath = operationServerMap['ClustersApi.getClusterKubernetesEvents']?.[localVarOperationServerIndex]?.url;
29059
29172
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
@@ -29410,11 +29523,12 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
29410
29523
  * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
29411
29524
  * @param {string} [nodeName] The name of the node to fetch event from
29412
29525
  * @param {string} [podName] The name of the pod to fetch event from
29526
+ * @param {string} [reportingComponent] The name of the reporting component used to filter events.
29413
29527
  * @param {*} [options] Override http request option.
29414
29528
  * @throws {RequiredError}
29415
29529
  */
29416
- getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetClusterKubernetesEvents200Response> {
29417
- return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(axios, basePath));
29530
+ getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig): AxiosPromise<GetClusterKubernetesEvents200Response> {
29531
+ return localVarFp.getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options).then((request) => request(axios, basePath));
29418
29532
  },
29419
29533
  /**
29420
29534
  * Fetch cluster metrics
@@ -29738,12 +29852,13 @@ export class ClustersApi extends BaseAPI {
29738
29852
  * @param {string} toDateTime The end date time to fetch events from, following ISO-8601 format. The &#x60;+&#x60; character must be escaped (&#x60;%2B&#x60;)
29739
29853
  * @param {string} [nodeName] The name of the node to fetch event from
29740
29854
  * @param {string} [podName] The name of the pod to fetch event from
29855
+ * @param {string} [reportingComponent] The name of the reporting component used to filter events.
29741
29856
  * @param {*} [options] Override http request option.
29742
29857
  * @throws {RequiredError}
29743
29858
  * @memberof ClustersApi
29744
29859
  */
29745
- public getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, options?: RawAxiosRequestConfig) {
29746
- return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, options).then((request) => request(this.axios, this.basePath));
29860
+ public getClusterKubernetesEvents(clusterId: string, fromDateTime: string, toDateTime: string, nodeName?: string, podName?: string, reportingComponent?: string, options?: RawAxiosRequestConfig) {
29861
+ return ClustersApiFp(this.configuration).getClusterKubernetesEvents(clusterId, fromDateTime, toDateTime, nodeName, podName, reportingComponent, options).then((request) => request(this.axios, this.basePath));
29747
29862
  }
29748
29863
 
29749
29864
  /**
@@ -30130,6 +30245,51 @@ export const ContainerActionsApiAxiosParamCreator = function (configuration?: Co
30130
30245
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
30131
30246
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
30132
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
+
30133
30293
  return {
30134
30294
  url: toPathString(localVarUrlObj),
30135
30295
  options: localVarRequestOptions,
@@ -30198,6 +30358,20 @@ export const ContainerActionsApiFp = function(configuration?: Configuration) {
30198
30358
  const localVarOperationServerBasePath = operationServerMap['ContainerActionsApi.stopContainer']?.[localVarOperationServerIndex]?.url;
30199
30359
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
30200
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
+ },
30201
30375
  }
30202
30376
  };
30203
30377
 
@@ -30249,6 +30423,17 @@ export const ContainerActionsApiFactory = function (configuration?: Configuratio
30249
30423
  stopContainer(containerId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
30250
30424
  return localVarFp.stopContainer(containerId, options).then((request) => request(axios, basePath));
30251
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
+ },
30252
30437
  };
30253
30438
  };
30254
30439
 
@@ -30307,6 +30492,19 @@ export class ContainerActionsApi extends BaseAPI {
30307
30492
  public stopContainer(containerId: string, options?: RawAxiosRequestConfig) {
30308
30493
  return ContainerActionsApiFp(this.configuration).stopContainer(containerId, options).then((request) => request(this.axios, this.basePath));
30309
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
+ }
30310
30508
  }
30311
30509
 
30312
30510
 
@@ -34581,6 +34779,51 @@ export const DatabaseActionsApiAxiosParamCreator = function (configuration?: Con
34581
34779
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
34582
34780
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
34583
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
+
34584
34827
  return {
34585
34828
  url: toPathString(localVarUrlObj),
34586
34829
  options: localVarRequestOptions,
@@ -34648,6 +34891,20 @@ export const DatabaseActionsApiFp = function(configuration?: Configuration) {
34648
34891
  const localVarOperationServerBasePath = operationServerMap['DatabaseActionsApi.stopDatabase']?.[localVarOperationServerIndex]?.url;
34649
34892
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
34650
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
+ },
34651
34908
  }
34652
34909
  };
34653
34910
 
@@ -34698,6 +34955,17 @@ export const DatabaseActionsApiFactory = function (configuration?: Configuration
34698
34955
  stopDatabase(databaseId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
34699
34956
  return localVarFp.stopDatabase(databaseId, options).then((request) => request(axios, basePath));
34700
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
+ },
34701
34969
  };
34702
34970
  };
34703
34971
 
@@ -34755,6 +35023,19 @@ export class DatabaseActionsApi extends BaseAPI {
34755
35023
  public stopDatabase(databaseId: string, options?: RawAxiosRequestConfig) {
34756
35024
  return DatabaseActionsApiFp(this.configuration).stopDatabase(databaseId, options).then((request) => request(this.axios, this.basePath));
34757
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
+ }
34758
35039
  }
34759
35040
 
34760
35041
 
@@ -42313,6 +42594,51 @@ export const HelmActionsApiAxiosParamCreator = function (configuration?: Configu
42313
42594
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
42314
42595
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
42315
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
+
42316
42642
  return {
42317
42643
  url: toPathString(localVarUrlObj),
42318
42644
  options: localVarRequestOptions,
@@ -42370,6 +42696,20 @@ export const HelmActionsApiFp = function(configuration?: Configuration) {
42370
42696
  const localVarOperationServerBasePath = operationServerMap['HelmActionsApi.stopHelm']?.[localVarOperationServerIndex]?.url;
42371
42697
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
42372
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
+ },
42373
42713
  }
42374
42714
  };
42375
42715
 
@@ -42413,6 +42753,17 @@ export const HelmActionsApiFactory = function (configuration?: Configuration, ba
42413
42753
  stopHelm(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
42414
42754
  return localVarFp.stopHelm(helmId, options).then((request) => request(axios, basePath));
42415
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
+ },
42416
42767
  };
42417
42768
  };
42418
42769
 
@@ -42461,6 +42812,19 @@ export class HelmActionsApi extends BaseAPI {
42461
42812
  public stopHelm(helmId: string, options?: RawAxiosRequestConfig) {
42462
42813
  return HelmActionsApiFp(this.configuration).stopHelm(helmId, options).then((request) => request(this.axios, this.basePath));
42463
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
+ }
42464
42828
  }
42465
42829
 
42466
42830
 
@@ -45643,6 +46007,51 @@ export const JobActionsApiAxiosParamCreator = function (configuration?: Configur
45643
46007
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
45644
46008
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
45645
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
+
45646
46055
  return {
45647
46056
  url: toPathString(localVarUrlObj),
45648
46057
  options: localVarRequestOptions,
@@ -45713,6 +46122,20 @@ export const JobActionsApiFp = function(configuration?: Configuration) {
45713
46122
  const localVarOperationServerBasePath = operationServerMap['JobActionsApi.stopJob']?.[localVarOperationServerIndex]?.url;
45714
46123
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
45715
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
+ },
45716
46139
  }
45717
46140
  };
45718
46141
 
@@ -45766,6 +46189,17 @@ export const JobActionsApiFactory = function (configuration?: Configuration, bas
45766
46189
  stopJob(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
45767
46190
  return localVarFp.stopJob(jobId, options).then((request) => request(axios, basePath));
45768
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
+ },
45769
46203
  };
45770
46204
  };
45771
46205
 
@@ -45826,6 +46260,19 @@ export class JobActionsApi extends BaseAPI {
45826
46260
  public stopJob(jobId: string, options?: RawAxiosRequestConfig) {
45827
46261
  return JobActionsApiFp(this.configuration).stopJob(jobId, options).then((request) => request(this.axios, this.basePath));
45828
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
+ }
45829
46276
  }
45830
46277
 
45831
46278
 
@@ -56883,6 +57330,51 @@ export const TerraformActionsApiAxiosParamCreator = function (configuration?: Co
56883
57330
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
56884
57331
  localVarRequestOptions.data = serializeDataIfNeeded(terraformDeployRequest, localVarRequestOptions, configuration)
56885
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
+
56886
57378
  return {
56887
57379
  url: toPathString(localVarUrlObj),
56888
57380
  options: localVarRequestOptions,
@@ -56912,6 +57404,20 @@ export const TerraformActionsApiFp = function(configuration?: Configuration) {
56912
57404
  const localVarOperationServerBasePath = operationServerMap['TerraformActionsApi.deployTerraform']?.[localVarOperationServerIndex]?.url;
56913
57405
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
56914
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
+ },
56915
57421
  }
56916
57422
  };
56917
57423
 
@@ -56933,6 +57439,17 @@ export const TerraformActionsApiFactory = function (configuration?: Configuratio
56933
57439
  deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig): AxiosPromise<Status> {
56934
57440
  return localVarFp.deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(axios, basePath));
56935
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
+ },
56936
57453
  };
56937
57454
  };
56938
57455
 
@@ -56955,6 +57472,19 @@ export class TerraformActionsApi extends BaseAPI {
56955
57472
  public deployTerraform(terraformId: string, terraformDeployRequest?: TerraformDeployRequest, options?: RawAxiosRequestConfig) {
56956
57473
  return TerraformActionsApiFp(this.configuration).deployTerraform(terraformId, terraformDeployRequest, options).then((request) => request(this.axios, this.basePath));
56957
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
+ }
56958
57488
  }
56959
57489
 
56960
57490