qovery-typescript-axios 1.1.429 → 1.1.431

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
@@ -348,6 +348,18 @@ export interface ApplicationAdvancedSettings {
348
348
  * @memberof ApplicationAdvancedSettings
349
349
  */
350
350
  'deployment.antiaffinity.pod'?: ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum;
351
+ /**
352
+ * Allows you to run a command after the application is started. The command should be a shell command or script.
353
+ * @type {Array<string>}
354
+ * @memberof ApplicationAdvancedSettings
355
+ */
356
+ 'deployment.lifecycle.post_start_exec_command'?: Array<string>;
357
+ /**
358
+ * Allows you to run a command before the application is stopped. The command should be a shell command or script. Qovery requires the sh shell by default and sets a sleep of 15 seconds to let Nginx update its config. Avoiding error codes returned during a rolling update.
359
+ * @type {Array<string>}
360
+ * @memberof ApplicationAdvancedSettings
361
+ */
362
+ 'deployment.lifecycle.pre_stop_exec_command'?: Array<string>;
351
363
  /**
352
364
  * * `RollingUpdate` gracefully rollout new versions, and automatically rollback if the new version fails to start * `Recreate` stop all current versions and create new ones once all old ones have been shutdown
353
365
  * @type {string}
@@ -31911,7 +31923,7 @@ export const EnvironmentActionsApiFp = function(configuration?: Configuration) {
31911
31923
  * @param {*} [options] Override http request option.
31912
31924
  * @throws {RequiredError}
31913
31925
  */
31914
- async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>> {
31926
+ async deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>> {
31915
31927
  const localVarAxiosArgs = await localVarAxiosParamCreator.deployAllServices(environmentId, deployAllRequest, options);
31916
31928
  return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
31917
31929
  },
@@ -32022,7 +32034,7 @@ export const EnvironmentActionsApiFactory = function (configuration?: Configurat
32022
32034
  * @param {*} [options] Override http request option.
32023
32035
  * @throws {RequiredError}
32024
32036
  */
32025
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status> {
32037
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<EnvironmentStatus> {
32026
32038
  return localVarFp.deployAllServices(environmentId, deployAllRequest, options).then((request) => request(axios, basePath));
32027
32039
  },
32028
32040
  /**
package/dist/api.d.ts CHANGED
@@ -326,6 +326,18 @@ export interface ApplicationAdvancedSettings {
326
326
  * @memberof ApplicationAdvancedSettings
327
327
  */
328
328
  'deployment.antiaffinity.pod'?: ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum;
329
+ /**
330
+ * Allows you to run a command after the application is started. The command should be a shell command or script.
331
+ * @type {Array<string>}
332
+ * @memberof ApplicationAdvancedSettings
333
+ */
334
+ 'deployment.lifecycle.post_start_exec_command'?: Array<string>;
335
+ /**
336
+ * Allows you to run a command before the application is stopped. The command should be a shell command or script. Qovery requires the sh shell by default and sets a sleep of 15 seconds to let Nginx update its config. Avoiding error codes returned during a rolling update.
337
+ * @type {Array<string>}
338
+ * @memberof ApplicationAdvancedSettings
339
+ */
340
+ 'deployment.lifecycle.pre_stop_exec_command'?: Array<string>;
329
341
  /**
330
342
  * * `RollingUpdate` gracefully rollout new versions, and automatically rollback if the new version fails to start * `Recreate` stop all current versions and create new ones once all old ones have been shutdown
331
343
  * @type {string}
@@ -21926,7 +21938,7 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
21926
21938
  * @param {*} [options] Override http request option.
21927
21939
  * @throws {RequiredError}
21928
21940
  */
21929
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
21941
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>>;
21930
21942
  /**
21931
21943
  * This will deploy all the services of this environment to their latest version.
21932
21944
  * @summary Deploy environment
@@ -22009,7 +22021,7 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
22009
22021
  * @param {*} [options] Override http request option.
22010
22022
  * @throws {RequiredError}
22011
22023
  */
22012
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
22024
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<EnvironmentStatus>;
22013
22025
  /**
22014
22026
  * This will deploy all the services of this environment to their latest version.
22015
22027
  * @summary Deploy environment
@@ -22098,7 +22110,7 @@ export declare class EnvironmentActionsApi extends BaseAPI {
22098
22110
  * @throws {RequiredError}
22099
22111
  * @memberof EnvironmentActionsApi
22100
22112
  */
22101
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
22113
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatus, any>>;
22102
22114
  /**
22103
22115
  * This will deploy all the services of this environment to their latest version.
22104
22116
  * @summary Deploy environment
package/dist/esm/api.d.ts CHANGED
@@ -326,6 +326,18 @@ export interface ApplicationAdvancedSettings {
326
326
  * @memberof ApplicationAdvancedSettings
327
327
  */
328
328
  'deployment.antiaffinity.pod'?: ApplicationAdvancedSettingsDeploymentAntiaffinityPodEnum;
329
+ /**
330
+ * Allows you to run a command after the application is started. The command should be a shell command or script.
331
+ * @type {Array<string>}
332
+ * @memberof ApplicationAdvancedSettings
333
+ */
334
+ 'deployment.lifecycle.post_start_exec_command'?: Array<string>;
335
+ /**
336
+ * Allows you to run a command before the application is stopped. The command should be a shell command or script. Qovery requires the sh shell by default and sets a sleep of 15 seconds to let Nginx update its config. Avoiding error codes returned during a rolling update.
337
+ * @type {Array<string>}
338
+ * @memberof ApplicationAdvancedSettings
339
+ */
340
+ 'deployment.lifecycle.pre_stop_exec_command'?: Array<string>;
329
341
  /**
330
342
  * * `RollingUpdate` gracefully rollout new versions, and automatically rollback if the new version fails to start * `Recreate` stop all current versions and create new ones once all old ones have been shutdown
331
343
  * @type {string}
@@ -21926,7 +21938,7 @@ export declare const EnvironmentActionsApiFp: (configuration?: Configuration) =>
21926
21938
  * @param {*} [options] Override http request option.
21927
21939
  * @throws {RequiredError}
21928
21940
  */
21929
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Status>>;
21941
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<EnvironmentStatus>>;
21930
21942
  /**
21931
21943
  * This will deploy all the services of this environment to their latest version.
21932
21944
  * @summary Deploy environment
@@ -22009,7 +22021,7 @@ export declare const EnvironmentActionsApiFactory: (configuration?: Configuratio
22009
22021
  * @param {*} [options] Override http request option.
22010
22022
  * @throws {RequiredError}
22011
22023
  */
22012
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<Status>;
22024
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: any): AxiosPromise<EnvironmentStatus>;
22013
22025
  /**
22014
22026
  * This will deploy all the services of this environment to their latest version.
22015
22027
  * @summary Deploy environment
@@ -22098,7 +22110,7 @@ export declare class EnvironmentActionsApi extends BaseAPI {
22098
22110
  * @throws {RequiredError}
22099
22111
  * @memberof EnvironmentActionsApi
22100
22112
  */
22101
- deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<Status, any>>;
22113
+ deployAllServices(environmentId: string, deployAllRequest?: DeployAllRequest, options?: AxiosRequestConfig): Promise<import("axios").AxiosResponse<EnvironmentStatus, any>>;
22102
22114
  /**
22103
22115
  * This will deploy all the services of this environment to their latest version.
22104
22116
  * @summary Deploy environment
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "qovery-typescript-axios",
3
- "version": "v1.1.429",
3
+ "version": "v1.1.431",
4
4
  "description": "OpenAPI client for qovery-typescript-axios",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "repository": {