qovery-typescript-axios 1.1.1051 → 1.1.1053

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
@@ -11802,13 +11802,13 @@ export interface ContainerRequest {
11802
11802
  */
11803
11803
  'healthchecks': Healthcheck;
11804
11804
  /**
11805
- * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment. On a container with a Git repository source, it must be false or not specified: `true` returns 400. When not specified on a create from, or a switch to, `git_repository`, it is set to false.
11805
+ * Indicates if the \'environment preview option\' is enabled for this container. If enabled, a preview environment will be automatically cloned when `/preview` endpoint is called. If not specified, it takes the value of the `auto_preview` property from the associated environment. On a container with a Git repository source, `true` makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. When not specified: false on a create from, or a switch to, `git_repository`; the stored value on an update that keeps `git_repository`; false on a switch from `git_repository` to an image.
11806
11806
  * @type {boolean}
11807
11807
  * @memberof ContainerRequest
11808
11808
  */
11809
11809
  'auto_preview'?: boolean;
11810
11810
  /**
11811
- * Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the \"Auto Deploy container\" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments On a container with a Git repository source, it must be false or not specified: `true` returns 400. When not specified on a create from, or a switch to, `git_repository`, it is set to false.
11811
+ * Specify if the container will be automatically updated after receiving a new image tag. The new image tag shall be communicated via the \"Auto Deploy container\" endpoint https://api-doc.qovery.com/#tag/Containers/operation/autoDeployContainerEnvironments On a container with a Git repository source, `true` makes a push to the source branch deploy the container: anyone who can push to that branch can deploy it. On a preview\'s copy of the container, `true` makes later pushes to the pull request redeploy it, as for applications. When not specified: false on a create from, or a switch to, `git_repository`; the stored value on an update that keeps `git_repository`.
11812
11812
  * @type {boolean}
11813
11813
  * @memberof ContainerRequest
11814
11814
  */
@@ -12093,7 +12093,7 @@ export interface ContainerSource {
12093
12093
  }
12094
12094
  /**
12095
12095
  * @type ContainerSourceRequest
12096
- * Where the container image comes from. Send exactly one of `image` or `git_repository`; both, or neither, returns 400. A `null` `image` or `git_repository` counts as not sent. - `image`: an image from a container registry, like the flat `registry_id`, `image_name` and `tag` fields. - `git_repository`: a Git repository with a Dockerfile. Qovery builds the image from the deployed commit. Accepted on create (`POST /environment/{environmentId}/container`) and on update (`PUT /container/{containerId}`). Building from Git needs Qovery engine v1.417.0 or later on the cluster: on an older engine, the deployment fails. Switching the source keeps the same container: its id, Kubernetes names, volumes and built-in variables. The switch does not deploy; the next deployment uses the new source. A container with a Git repository source has three more built-in variables. `<ID>` is the identifier its other built-in variables use, as in `QOVERY_CONTAINER_<ID>_HOST_INTERNAL`: - `QOVERY_CONTAINER_<ID>_GIT_COMMIT_ID`: the deployed commit; - `QOVERY_CONTAINER_<ID>_GIT_BRANCH`: the branch configured on the source; - `QOVERY_CONTAINER_<ID>_GIT_REPOSITORY_URL`: the repository URL, without credentials, query or fragment. They are added when missing, when the container is created from, or switched to, a Git repository. A switch back to an image keeps them, with empty values. Rules: - On update (`PUT /container/{containerId}`), `source` is ignored when it repeats the stored source, and the flat `registry_id`, `image_name` and `tag` fields are ignored when every one sent equals the image the container runs (the `registry.id`, `image_name` and `tag` that GET returns). A body built from the GET response is accepted as is; only the side the client changed is applied. - On update, `source` and the flat fields both asking for a change returns 400, unless both name the same image. This includes a `source.git_repository` change sent with changed flat fields. On create, sending `source` together with the flat fields still returns 400. - On update of a container with an image source, `source.image.registry_id` may be omitted: the stored registry is kept. Switching a container with a Git repository source back to an image, and create, require it. - When `source` is not sent, the stored source is kept. Flat fields never switch the source. - On a container with a Git repository source, flat fields equal to the `registry.id`, `image_name` and `tag` that GET returns are accepted and change nothing; different values return 400 unless `source.image` asks for the same image. A deployment that finishes between the GET and the PUT changes these values: get the container again and retry. Send `source.image` to switch back to an image. - A `git_repository` source requires `auto_deploy` and `auto_preview` to be false or not specified: 400 otherwise. When not specified on a create from, or a switch to, `git_repository`, both are set to false.
12096
+ * Where the container image comes from. Send exactly one of `image` or `git_repository`; both, or neither, returns 400. A `null` `image` or `git_repository` counts as not sent. - `image`: an image from a container registry, like the flat `registry_id`, `image_name` and `tag` fields. - `git_repository`: a Git repository with a Dockerfile. Qovery builds the image from the deployed commit. Accepted on create (`POST /environment/{environmentId}/container`) and on update (`PUT /container/{containerId}`). Building from Git needs Qovery engine v1.417.0 or later on the cluster: on an older engine, the deployment fails. Switching the source keeps the same container: its id, Kubernetes names, volumes and built-in variables. The switch does not deploy; the next deployment uses the new source. A container with a Git repository source has three more built-in variables. `<ID>` is the identifier its other built-in variables use, as in `QOVERY_CONTAINER_<ID>_HOST_INTERNAL`: - `QOVERY_CONTAINER_<ID>_GIT_COMMIT_ID`: the deployed commit; - `QOVERY_CONTAINER_<ID>_GIT_BRANCH`: the branch configured on the source; - `QOVERY_CONTAINER_<ID>_GIT_REPOSITORY_URL`: the repository URL, without credentials, query or fragment. They are added when missing, when the container is created from, or switched to, a Git repository. A switch back to an image keeps them, with empty values. Rules: - On update (`PUT /container/{containerId}`), `source` is ignored when it repeats the stored source, and the flat `registry_id`, `image_name` and `tag` fields are ignored when every one sent equals the image the container runs (the `registry.id`, `image_name` and `tag` that GET returns). A body built from the GET response is accepted as is; only the side the client changed is applied. - On update, `source` and the flat fields both asking for a change returns 400, unless both name the same image. This includes a `source.git_repository` change sent with changed flat fields. On create, sending `source` together with the flat fields still returns 400. - On update of a container with an image source, `source.image.registry_id` may be omitted: the stored registry is kept. Switching a container with a Git repository source back to an image, and create, require it. - When `source` is not sent, the stored source is kept. Flat fields never switch the source. - On a container with a Git repository source, flat fields equal to the `registry.id`, `image_name` and `tag` that GET returns are accepted and change nothing; different values return 400 unless `source.image` asks for the same image. A deployment that finishes between the GET and the PUT changes these values: get the container again and retry. Send `source.image` to switch back to an image. - `auto_deploy` and `auto_preview` are accepted with a `git_repository` source. When not sent, they are set to false on a create from, or a switch to, `git_repository`, and keep their stored values on an update that keeps `git_repository`. A switch from `git_repository` to an image without `auto_preview` sets it to false. - With `auto_deploy` true, a push to the source branch deploys the container: anyone who can push to that branch can deploy it. Deployment restrictions (`/service/{serviceId}/deploymentRestriction`) limit which changed paths trigger it. - With `auto_preview` true, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications.
12097
12097
  * @export
12098
12098
  */
12099
12099
  export type ContainerSourceRequest = ContainerSourceRequestOneOf | ContainerSourceRequestOneOf1;
@@ -25797,6 +25797,104 @@ export interface ParseTerraformVariablesFromGitRepo200Response {
25797
25797
  */
25798
25798
  'results'?: Array<TerraformVariableDefinition>;
25799
25799
  }
25800
+ /**
25801
+ * A problem detail (RFC 9457) explaining why the action is refused: the organization\'s plan does not include this action, or its limit is reached, or the subscription or payment does not allow new actions. `title` and `detail` are required; the other RFC 9457 properties (`type`, `status`, `instance`) are always sent too. Clients show `detail`. The pricing properties, from `message` on, can be absent. `offers` and `paywall` are only sent to a caller who can manage the organization\'s billing (the owner, admin and billing roles); other callers get neither.
25802
+ * @export
25803
+ * @interface PaymentRequiredProblemResponse
25804
+ */
25805
+ export interface PaymentRequiredProblemResponse {
25806
+ /**
25807
+ * Always sent, `about:blank`.
25808
+ * @type {string}
25809
+ * @memberof PaymentRequiredProblemResponse
25810
+ */
25811
+ 'type'?: string;
25812
+ /**
25813
+ * Always sent, `Payment Required`.
25814
+ * @type {string}
25815
+ * @memberof PaymentRequiredProblemResponse
25816
+ */
25817
+ 'title': string;
25818
+ /**
25819
+ * Always sent, 402.
25820
+ * @type {number}
25821
+ * @memberof PaymentRequiredProblemResponse
25822
+ */
25823
+ 'status'?: number;
25824
+ /**
25825
+ * Always sent. Plain text to show to the user, saying why the action is refused and what to do: the pricing explanation, or a generic text when there is none.
25826
+ * @type {string}
25827
+ * @memberof PaymentRequiredProblemResponse
25828
+ */
25829
+ 'detail': string;
25830
+ /**
25831
+ * Always sent. The path of the request.
25832
+ * @type {string}
25833
+ * @memberof PaymentRequiredProblemResponse
25834
+ */
25835
+ 'instance'?: string;
25836
+ /**
25837
+ * The same text as `detail`. Absent when the refusal carries no pricing explanation.
25838
+ * @type {string}
25839
+ * @memberof PaymentRequiredProblemResponse
25840
+ */
25841
+ 'message'?: string;
25842
+ /**
25843
+ * The plan item that refused the action. Absent when unknown. New items can appear: do not reject an unknown value.
25844
+ * @type {string}
25845
+ * @memberof PaymentRequiredProblemResponse
25846
+ */
25847
+ 'sku'?: string;
25848
+ /**
25849
+ * The checked action: `member.invite`, `cluster.create`, `cluster.create_self_managed` or `environment.create` (also used for a clone). Absent when unknown. New actions can appear: do not reject an unknown value.
25850
+ * @type {string}
25851
+ * @memberof PaymentRequiredProblemResponse
25852
+ */
25853
+ 'action'?: string;
25854
+ /**
25855
+ *
25856
+ * @type {PaymentRequiredProblemResponseLimit}
25857
+ * @memberof PaymentRequiredProblemResponse
25858
+ */
25859
+ 'limit'?: PaymentRequiredProblemResponseLimit;
25860
+ /**
25861
+ * How many of `sku` the organization uses now. Absent when unknown.
25862
+ * @type {number}
25863
+ * @memberof PaymentRequiredProblemResponse
25864
+ */
25865
+ 'used'?: number;
25866
+ /**
25867
+ * How many of `sku` the action adds. Absent when unknown.
25868
+ * @type {number}
25869
+ * @memberof PaymentRequiredProblemResponse
25870
+ */
25871
+ 'requested'?: number;
25872
+ /**
25873
+ * The console page where a billing role changes the plan, the spend limit or the payment method. Always an `https` URL. Absent when there is no page to send the user to.
25874
+ * @type {string}
25875
+ * @memberof PaymentRequiredProblemResponse
25876
+ */
25877
+ 'upgrade_url'?: string;
25878
+ /**
25879
+ * Ways past the refusal, produced by the pricing service, in the order to show them. Each offer has a `type` (`plan_change`, `addon`, `contact_sales`, `free_up` or `raise_spend_limit`; more can appear) and a `name`; its other properties depend on the type and can change. Absent unless the caller can manage the organization\'s billing.
25880
+ * @type {Array<{ [key: string]: any; }>}
25881
+ * @memberof PaymentRequiredProblemResponse
25882
+ */
25883
+ 'offers'?: Array<{ [key: string]: any; }>;
25884
+ /**
25885
+ * What the refused feature does and the ways to get it, produced by the pricing service for a billing role; its properties can change. Absent unless the caller can manage the organization\'s billing, and absent when the refusal comes from a spend limit.
25886
+ * @type {{ [key: string]: any; }}
25887
+ * @memberof PaymentRequiredProblemResponse
25888
+ */
25889
+ 'paywall'?: { [key: string]: any; };
25890
+ }
25891
+ /**
25892
+ * @type PaymentRequiredProblemResponseLimit
25893
+ * What the plan includes for `sku`: a number of items, `false` when the plan does not include the item at all, `true` when it includes the item without a number, or the string `unlimited`. A refusal by the subscription or the payment carries the plan\'s value whatever it is. Absent when unknown.
25894
+ * @export
25895
+ */
25896
+ export type PaymentRequiredProblemResponseLimit = boolean | number | string;
25897
+
25800
25898
  /**
25801
25899
  * FREE, BUSINESS & PROFESSIONAL are deprecated. 2025 plans are the new plans available.
25802
25900
  * @export
@@ -28675,6 +28773,91 @@ export interface ServiceAnnotationRequest {
28675
28773
  */
28676
28774
  'id': string;
28677
28775
  }
28776
+ /**
28777
+ *
28778
+ * @export
28779
+ * @interface ServiceDeploymentRestrictionRequest
28780
+ */
28781
+ export interface ServiceDeploymentRestrictionRequest {
28782
+ /**
28783
+ *
28784
+ * @type {DeploymentRestrictionModeEnum}
28785
+ * @memberof ServiceDeploymentRestrictionRequest
28786
+ */
28787
+ 'mode': DeploymentRestrictionModeEnum;
28788
+ /**
28789
+ *
28790
+ * @type {DeploymentRestrictionTypeEnum}
28791
+ * @memberof ServiceDeploymentRestrictionRequest
28792
+ */
28793
+ 'type': DeploymentRestrictionTypeEnum;
28794
+ /**
28795
+ * For `PATH` restrictions, the value must not start with `/`
28796
+ * @type {string}
28797
+ * @memberof ServiceDeploymentRestrictionRequest
28798
+ */
28799
+ 'value': string;
28800
+ }
28801
+
28802
+
28803
+ /**
28804
+ *
28805
+ * @export
28806
+ * @interface ServiceDeploymentRestrictionResponse
28807
+ */
28808
+ export interface ServiceDeploymentRestrictionResponse {
28809
+ /**
28810
+ *
28811
+ * @type {string}
28812
+ * @memberof ServiceDeploymentRestrictionResponse
28813
+ */
28814
+ 'id': string;
28815
+ /**
28816
+ *
28817
+ * @type {string}
28818
+ * @memberof ServiceDeploymentRestrictionResponse
28819
+ */
28820
+ 'created_at': string;
28821
+ /**
28822
+ *
28823
+ * @type {string}
28824
+ * @memberof ServiceDeploymentRestrictionResponse
28825
+ */
28826
+ 'updated_at'?: string;
28827
+ /**
28828
+ *
28829
+ * @type {DeploymentRestrictionModeEnum}
28830
+ * @memberof ServiceDeploymentRestrictionResponse
28831
+ */
28832
+ 'mode': DeploymentRestrictionModeEnum;
28833
+ /**
28834
+ *
28835
+ * @type {DeploymentRestrictionTypeEnum}
28836
+ * @memberof ServiceDeploymentRestrictionResponse
28837
+ */
28838
+ 'type': DeploymentRestrictionTypeEnum;
28839
+ /**
28840
+ * For `PATH` restrictions, the value must not start with `/`
28841
+ * @type {string}
28842
+ * @memberof ServiceDeploymentRestrictionResponse
28843
+ */
28844
+ 'value': string;
28845
+ }
28846
+
28847
+
28848
+ /**
28849
+ *
28850
+ * @export
28851
+ * @interface ServiceDeploymentRestrictionResponseList
28852
+ */
28853
+ export interface ServiceDeploymentRestrictionResponseList {
28854
+ /**
28855
+ *
28856
+ * @type {Array<ServiceDeploymentRestrictionResponse>}
28857
+ * @memberof ServiceDeploymentRestrictionResponseList
28858
+ */
28859
+ 'results'?: Array<ServiceDeploymentRestrictionResponse>;
28860
+ }
28678
28861
  /**
28679
28862
  *
28680
28863
  * @export
@@ -37595,11 +37778,12 @@ export class ApplicationDeploymentHistoryApi extends BaseAPI {
37595
37778
  export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
37596
37779
  return {
37597
37780
  /**
37598
- * Create an application deployment restriction
37781
+ * Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37599
37782
  * @summary Create an application deployment restriction
37600
37783
  * @param {string} applicationId Application ID
37601
37784
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37602
37785
  * @param {*} [options] Override http request option.
37786
+ * @deprecated
37603
37787
  * @throws {RequiredError}
37604
37788
  */
37605
37789
  createApplicationDeploymentRestriction: async (applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -37640,11 +37824,12 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
37640
37824
  };
37641
37825
  },
37642
37826
  /**
37643
- * Delete an application deployment restriction
37827
+ * Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37644
37828
  * @summary Delete an application deployment restriction
37645
37829
  * @param {string} applicationId Application ID
37646
37830
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37647
37831
  * @param {*} [options] Override http request option.
37832
+ * @deprecated
37648
37833
  * @throws {RequiredError}
37649
37834
  */
37650
37835
  deleteApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -37685,12 +37870,13 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
37685
37870
  };
37686
37871
  },
37687
37872
  /**
37688
- * Edit an application deployment restriction
37873
+ * Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37689
37874
  * @summary Edit an application deployment restriction
37690
37875
  * @param {string} applicationId Application ID
37691
37876
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37692
37877
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37693
37878
  * @param {*} [options] Override http request option.
37879
+ * @deprecated
37694
37880
  * @throws {RequiredError}
37695
37881
  */
37696
37882
  editApplicationDeploymentRestriction: async (applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -37734,10 +37920,11 @@ export const ApplicationDeploymentRestrictionApiAxiosParamCreator = function (co
37734
37920
  };
37735
37921
  },
37736
37922
  /**
37737
- * Get application deployment restrictions
37923
+ * Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37738
37924
  * @summary Get application deployment restrictions
37739
37925
  * @param {string} applicationId Application ID
37740
37926
  * @param {*} [options] Override http request option.
37927
+ * @deprecated
37741
37928
  * @throws {RequiredError}
37742
37929
  */
37743
37930
  getApplicationDeploymentRestrictions: async (applicationId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -37785,11 +37972,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
37785
37972
  const localVarAxiosParamCreator = ApplicationDeploymentRestrictionApiAxiosParamCreator(configuration)
37786
37973
  return {
37787
37974
  /**
37788
- * Create an application deployment restriction
37975
+ * Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37789
37976
  * @summary Create an application deployment restriction
37790
37977
  * @param {string} applicationId Application ID
37791
37978
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37792
37979
  * @param {*} [options] Override http request option.
37980
+ * @deprecated
37793
37981
  * @throws {RequiredError}
37794
37982
  */
37795
37983
  async createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
@@ -37799,11 +37987,12 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
37799
37987
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37800
37988
  },
37801
37989
  /**
37802
- * Delete an application deployment restriction
37990
+ * Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37803
37991
  * @summary Delete an application deployment restriction
37804
37992
  * @param {string} applicationId Application ID
37805
37993
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37806
37994
  * @param {*} [options] Override http request option.
37995
+ * @deprecated
37807
37996
  * @throws {RequiredError}
37808
37997
  */
37809
37998
  async deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -37813,12 +38002,13 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
37813
38002
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37814
38003
  },
37815
38004
  /**
37816
- * Edit an application deployment restriction
38005
+ * Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37817
38006
  * @summary Edit an application deployment restriction
37818
38007
  * @param {string} applicationId Application ID
37819
38008
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37820
38009
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37821
38010
  * @param {*} [options] Override http request option.
38011
+ * @deprecated
37822
38012
  * @throws {RequiredError}
37823
38013
  */
37824
38014
  async editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestriction>> {
@@ -37828,10 +38018,11 @@ export const ApplicationDeploymentRestrictionApiFp = function(configuration?: Co
37828
38018
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
37829
38019
  },
37830
38020
  /**
37831
- * Get application deployment restrictions
38021
+ * Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37832
38022
  * @summary Get application deployment restrictions
37833
38023
  * @param {string} applicationId Application ID
37834
38024
  * @param {*} [options] Override http request option.
38025
+ * @deprecated
37835
38026
  * @throws {RequiredError}
37836
38027
  */
37837
38028
  async getApplicationDeploymentRestrictions(applicationId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ApplicationDeploymentRestrictionResponseList>> {
@@ -37851,44 +38042,48 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
37851
38042
  const localVarFp = ApplicationDeploymentRestrictionApiFp(configuration)
37852
38043
  return {
37853
38044
  /**
37854
- * Create an application deployment restriction
38045
+ * Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37855
38046
  * @summary Create an application deployment restriction
37856
38047
  * @param {string} applicationId Application ID
37857
38048
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37858
38049
  * @param {*} [options] Override http request option.
38050
+ * @deprecated
37859
38051
  * @throws {RequiredError}
37860
38052
  */
37861
38053
  createApplicationDeploymentRestriction(applicationId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestriction> {
37862
38054
  return localVarFp.createApplicationDeploymentRestriction(applicationId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
37863
38055
  },
37864
38056
  /**
37865
- * Delete an application deployment restriction
38057
+ * Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37866
38058
  * @summary Delete an application deployment restriction
37867
38059
  * @param {string} applicationId Application ID
37868
38060
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37869
38061
  * @param {*} [options] Override http request option.
38062
+ * @deprecated
37870
38063
  * @throws {RequiredError}
37871
38064
  */
37872
38065
  deleteApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
37873
38066
  return localVarFp.deleteApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
37874
38067
  },
37875
38068
  /**
37876
- * Edit an application deployment restriction
38069
+ * Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37877
38070
  * @summary Edit an application deployment restriction
37878
38071
  * @param {string} applicationId Application ID
37879
38072
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37880
38073
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37881
38074
  * @param {*} [options] Override http request option.
38075
+ * @deprecated
37882
38076
  * @throws {RequiredError}
37883
38077
  */
37884
38078
  editApplicationDeploymentRestriction(applicationId: string, deploymentRestrictionId: string, applicationDeploymentRestrictionRequest?: ApplicationDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestriction> {
37885
38079
  return localVarFp.editApplicationDeploymentRestriction(applicationId, deploymentRestrictionId, applicationDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
37886
38080
  },
37887
38081
  /**
37888
- * Get application deployment restrictions
38082
+ * Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37889
38083
  * @summary Get application deployment restrictions
37890
38084
  * @param {string} applicationId Application ID
37891
38085
  * @param {*} [options] Override http request option.
38086
+ * @deprecated
37892
38087
  * @throws {RequiredError}
37893
38088
  */
37894
38089
  getApplicationDeploymentRestrictions(applicationId: string, options?: RawAxiosRequestConfig): AxiosPromise<ApplicationDeploymentRestrictionResponseList> {
@@ -37905,11 +38100,12 @@ export const ApplicationDeploymentRestrictionApiFactory = function (configuratio
37905
38100
  */
37906
38101
  export class ApplicationDeploymentRestrictionApi extends BaseAPI {
37907
38102
  /**
37908
- * Create an application deployment restriction
38103
+ * Create an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37909
38104
  * @summary Create an application deployment restriction
37910
38105
  * @param {string} applicationId Application ID
37911
38106
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37912
38107
  * @param {*} [options] Override http request option.
38108
+ * @deprecated
37913
38109
  * @throws {RequiredError}
37914
38110
  * @memberof ApplicationDeploymentRestrictionApi
37915
38111
  */
@@ -37918,11 +38114,12 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
37918
38114
  }
37919
38115
 
37920
38116
  /**
37921
- * Delete an application deployment restriction
38117
+ * Delete an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37922
38118
  * @summary Delete an application deployment restriction
37923
38119
  * @param {string} applicationId Application ID
37924
38120
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37925
38121
  * @param {*} [options] Override http request option.
38122
+ * @deprecated
37926
38123
  * @throws {RequiredError}
37927
38124
  * @memberof ApplicationDeploymentRestrictionApi
37928
38125
  */
@@ -37931,12 +38128,13 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
37931
38128
  }
37932
38129
 
37933
38130
  /**
37934
- * Edit an application deployment restriction
38131
+ * Edit an application deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37935
38132
  * @summary Edit an application deployment restriction
37936
38133
  * @param {string} applicationId Application ID
37937
38134
  * @param {string} deploymentRestrictionId Deployment Restriction ID
37938
38135
  * @param {ApplicationDeploymentRestrictionRequest} [applicationDeploymentRestrictionRequest]
37939
38136
  * @param {*} [options] Override http request option.
38137
+ * @deprecated
37940
38138
  * @throws {RequiredError}
37941
38139
  * @memberof ApplicationDeploymentRestrictionApi
37942
38140
  */
@@ -37945,10 +38143,11 @@ export class ApplicationDeploymentRestrictionApi extends BaseAPI {
37945
38143
  }
37946
38144
 
37947
38145
  /**
37948
- * Get application deployment restrictions
38146
+ * Get application deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
37949
38147
  * @summary Get application deployment restrictions
37950
38148
  * @param {string} applicationId Application ID
37951
38149
  * @param {*} [options] Override http request option.
38150
+ * @deprecated
37952
38151
  * @throws {RequiredError}
37953
38152
  * @memberof ApplicationDeploymentRestrictionApi
37954
38153
  */
@@ -47369,7 +47568,7 @@ export const ClustersApiAxiosParamCreator = function (configuration?: Configurat
47369
47568
  };
47370
47569
  },
47371
47570
  /**
47372
- * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan is not checked. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
47571
+ * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan, subscription or payment can refuse the creation: it then answers 402 and creates nothing. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
47373
47572
  * @summary Create a self-managed cluster run by the Qovery Operator
47374
47573
  * @param {string} organizationId Organization ID
47375
47574
  * @param {SelfManagedClusterRequest} selfManagedClusterRequest
@@ -49235,7 +49434,7 @@ export const ClustersApiFp = function(configuration?: Configuration) {
49235
49434
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
49236
49435
  },
49237
49436
  /**
49238
- * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan is not checked. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
49437
+ * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan, subscription or payment can refuse the creation: it then answers 402 and creates nothing. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
49239
49438
  * @summary Create a self-managed cluster run by the Qovery Operator
49240
49439
  * @param {string} organizationId Organization ID
49241
49440
  * @param {SelfManagedClusterRequest} selfManagedClusterRequest
@@ -49805,7 +50004,7 @@ export const ClustersApiFactory = function (configuration?: Configuration, baseP
49805
50004
  return localVarFp.createCluster(organizationId, clusterRequest, options).then((request) => request(axios, basePath));
49806
50005
  },
49807
50006
  /**
49808
- * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan is not checked. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
50007
+ * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan, subscription or payment can refuse the creation: it then answers 402 and creates nothing. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
49809
50008
  * @summary Create a self-managed cluster run by the Qovery Operator
49810
50009
  * @param {string} organizationId Organization ID
49811
50010
  * @param {SelfManagedClusterRequest} selfManagedClusterRequest
@@ -50266,7 +50465,7 @@ export class ClustersApi extends BaseAPI {
50266
50465
  }
50267
50466
 
50268
50467
  /**
50269
- * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan is not checked. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
50468
+ * Creates a self-managed cluster on an existing cloud credential of the organization: AWS, GCP or Scaleway, or an on-premise credential for any other Kubernetes (`provider` `ON_PREMISE`, `HETZNER`, `OVH`, `CIVO`, `ORACLE` or `IBM`, in region `on-premise`). The on-premise providers are not generally available yet: they are accepted for a short list of Qovery test organizations and answer 400 for the others. The organization\'s plan, subscription or payment can refuse the creation: it then answers 402 and creates nothing. On AWS the credential only needs ECR permissions for the cluster itself, including `ecr:DescribeRepositories` in `us-east-1`, which Qovery calls to check the credential whatever the cluster region; features that call other AWS services with the credential, such as managed databases or Terraform services using the cluster credentials, need more. Without `platform.templateKey` and `platform.templateVersion`, Qovery selects its self-managed platform template release and the response returns it: `\"platform\": {}` gives that release with its default configuration. Without `clusterInputs`, the cluster has no cluster inputs. The credential, including its registry access in the cluster region, and the platform configuration are checked before anything is created. One transaction then writes the cluster, its Qovery DNS and build providers, its default registry derived from the credential (ECR on AWS, Artifact Registry on GCP, Scaleway Container Registry on Scaleway), its initial deployment status, its platform configuration and its Qovery Operator enrollment. No registry can be derived from an on-premise credential: the cluster gets the registry given in `registry`, or an empty generic registry to configure with the container registry API before the first application deployment. Install the Operator next with the cluster\'s Operator bootstrap.
50270
50469
  * @summary Create a self-managed cluster run by the Qovery Operator
50271
50470
  * @param {string} organizationId Organization ID
50272
50471
  * @param {SelfManagedClusterRequest} selfManagedClusterRequest
@@ -53064,7 +53263,7 @@ export const ContainerMainCallsApiAxiosParamCreator = function (configuration?:
53064
53263
  };
53065
53264
  },
53066
53265
  /**
53067
- * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
53266
+ * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
53068
53267
  * @summary Edit container
53069
53268
  * @param {string} containerId Container ID
53070
53269
  * @param {ContainerRequest} [containerRequest]
@@ -53307,7 +53506,7 @@ export const ContainerMainCallsApiFp = function(configuration?: Configuration) {
53307
53506
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
53308
53507
  },
53309
53508
  /**
53310
- * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
53509
+ * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
53311
53510
  * @summary Edit container
53312
53511
  * @param {string} containerId Container ID
53313
53512
  * @param {ContainerRequest} [containerRequest]
@@ -53396,7 +53595,7 @@ export const ContainerMainCallsApiFactory = function (configuration?: Configurat
53396
53595
  return localVarFp.deleteContainer(containerId, skipReconcile, options).then((request) => request(axios, basePath));
53397
53596
  },
53398
53597
  /**
53399
- * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
53598
+ * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
53400
53599
  * @summary Edit container
53401
53600
  * @param {string} containerId Container ID
53402
53601
  * @param {ContainerRequest} [containerRequest]
@@ -53472,7 +53671,7 @@ export class ContainerMainCallsApi extends BaseAPI {
53472
53671
  }
53473
53672
 
53474
53673
  /**
53475
- * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent, or while the container has a Git repository source and `source` is not sent; - `build_settings` is sent while the container keeps, or switches to, an image source.
53674
+ * - To edit the container you must have the admin permission. - For port edition, if you provide a port id, we will update the corresponding port. If you don\'t we will create a new one. If you remove a port from the payload, we will delete it. - For storage edition, if you provide a storage id, we will update the corresponding storage. If you don\'t we will create a new one. If you remove a storage from the payload, we will delete it. - To switch the container between an image and a Git repository, send `source`. The container keeps its id, Kubernetes names, volumes and built-in variables. When `source` is not sent, the stored source is kept. - A body built from the `GET /container/{containerId}` response is accepted as is: `source` is ignored when it repeats the stored source, and `registry_id`, `image_name` and `tag` when they repeat the image the container runs. Only what changed is applied. To change the image with the flat fields, send all three of `registry_id`, `image_name` and `tag`: GET returns `registry.id`, not `registry_id`. - `auto_deploy` and `auto_preview` when not sent: on a container that keeps its Git repository source, they keep their stored values; on a switch from an image to `git_repository`, they are set to false; on a switch from `git_repository` to an image, `auto_preview` is set to false. - On a container with a Git repository source, `auto_deploy` true lets anyone who can push to the source branch deploy the container. `auto_preview` true makes a pull request start a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` and `registry_id`, `image_name` or `tag` both ask for a change, unless both name the same image; - `source` has both `image` and `git_repository`, or neither; - the container has an image source, only some of `registry_id`, `image_name` and `tag` are sent, and either `source` is not sent or one of them differs from the image the container runs: send all three, or none to keep the image; - the container has a Git repository source, `source.image` is not sent, and `registry_id`, `image_name` or `tag` differ from the `registry.id`, `image_name` and `tag` that `GET /container/{containerId}` returns. A deployment that finishes between the GET and the PUT changes these values, so the PUT gets a 400: get the container again and retry; - `build_settings` is sent while the container keeps, or switches to, an image source.
53476
53675
  * @summary Edit container
53477
53676
  * @param {string} containerId Container ID
53478
53677
  * @param {ContainerRequest} [containerRequest]
@@ -54809,7 +55008,7 @@ export const ContainersApiAxiosParamCreator = function (configuration?: Configur
54809
55008
  };
54810
55009
  },
54811
55010
  /**
54812
- * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55011
+ * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
54813
55012
  * @summary Create a container
54814
55013
  * @param {string} environmentId Environment ID
54815
55014
  * @param {ContainerRequest} [containerRequest]
@@ -55101,7 +55300,7 @@ export const ContainersApiFp = function(configuration?: Configuration) {
55101
55300
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
55102
55301
  },
55103
55302
  /**
55104
- * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55303
+ * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55105
55304
  * @summary Create a container
55106
55305
  * @param {string} environmentId Environment ID
55107
55306
  * @param {ContainerRequest} [containerRequest]
@@ -55213,7 +55412,7 @@ export const ContainersApiFactory = function (configuration?: Configuration, bas
55213
55412
  return localVarFp.cloneContainer(containerId, cloneServiceRequest, options).then((request) => request(axios, basePath));
55214
55413
  },
55215
55414
  /**
55216
- * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55415
+ * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55217
55416
  * @summary Create a container
55218
55417
  * @param {string} environmentId Environment ID
55219
55418
  * @param {ContainerRequest} [containerRequest]
@@ -55311,7 +55510,7 @@ export class ContainersApi extends BaseAPI {
55311
55510
  }
55312
55511
 
55313
55512
  /**
55314
- * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `auto_deploy` or `auto_preview` is `true` while `source.git_repository` is sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55513
+ * A container is created from an image or from a Git repository: - image: send `registry_id`, `image_name` and `tag`, or `source.image`; - Git repository: send `source.git_repository`, and optionally `build_settings`. The repository, its token, the Dockerfile and the build settings go through the same checks, with the same errors, as a switch to `git_repository` with `PUT /container/{containerId}`. Nothing is created when a check fails. On a container created from a Git repository, `auto_deploy` and `auto_preview` are false when not sent. When true: - with `auto_deploy`, a push to the source branch deploys the container, so anyone who can push to that branch can deploy it; - with `auto_preview`, a pull request starts a preview environment that builds the pull request\'s code, pull requests from forks included, and runs it with the environment\'s variables and secrets. Later pushes to the pull request redeploy the preview\'s copy of the container only when that copy has `auto_deploy` true, as for applications. Returns 400 when: - `source` is sent together with `registry_id`, `image_name` or `tag`; - `source` has both `image` and `git_repository`, or neither; - `source` is not sent and `registry_id`, `image_name` and `tag` are not all sent; - `build_settings` is sent with an image source; - `source.git_repository` is sent and the environment\'s cluster has no build registry. Returns 404 when the registry in `registry_id` or `source.image.registry_id` does not exist in the environment\'s organization.
55315
55514
  * @summary Create a container
55316
55515
  * @param {string} environmentId Environment ID
55317
55516
  * @param {ContainerRequest} [containerRequest]
@@ -65015,11 +65214,12 @@ export class HelmDeploymentHistoryApi extends BaseAPI {
65015
65214
  export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
65016
65215
  return {
65017
65216
  /**
65018
- * Create a helm deployment restriction
65217
+ * Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65019
65218
  * @summary Create a helm deployment restriction
65020
65219
  * @param {string} helmId Helm ID
65021
65220
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65022
65221
  * @param {*} [options] Override http request option.
65222
+ * @deprecated
65023
65223
  * @throws {RequiredError}
65024
65224
  */
65025
65225
  createHelmDeploymentRestriction: async (helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -65060,11 +65260,12 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
65060
65260
  };
65061
65261
  },
65062
65262
  /**
65063
- * Delete a helm deployment restriction
65263
+ * Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65064
65264
  * @summary Delete a helm deployment restriction
65065
65265
  * @param {string} helmId Helm ID
65066
65266
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65067
65267
  * @param {*} [options] Override http request option.
65268
+ * @deprecated
65068
65269
  * @throws {RequiredError}
65069
65270
  */
65070
65271
  deleteHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -65105,12 +65306,13 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
65105
65306
  };
65106
65307
  },
65107
65308
  /**
65108
- * Edit a helm deployment restriction
65309
+ * Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65109
65310
  * @summary Edit a helm deployment restriction
65110
65311
  * @param {string} helmId Helm ID
65111
65312
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65112
65313
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65113
65314
  * @param {*} [options] Override http request option.
65315
+ * @deprecated
65114
65316
  * @throws {RequiredError}
65115
65317
  */
65116
65318
  editHelmDeploymentRestriction: async (helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -65154,10 +65356,11 @@ export const HelmDeploymentRestrictionApiAxiosParamCreator = function (configura
65154
65356
  };
65155
65357
  },
65156
65358
  /**
65157
- * Get helm deployment restrictions
65359
+ * Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65158
65360
  * @summary Get helm deployment restrictions
65159
65361
  * @param {string} helmId Helm ID
65160
65362
  * @param {*} [options] Override http request option.
65363
+ * @deprecated
65161
65364
  * @throws {RequiredError}
65162
65365
  */
65163
65366
  getHelmDeploymentRestrictions: async (helmId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -65205,11 +65408,12 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
65205
65408
  const localVarAxiosParamCreator = HelmDeploymentRestrictionApiAxiosParamCreator(configuration)
65206
65409
  return {
65207
65410
  /**
65208
- * Create a helm deployment restriction
65411
+ * Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65209
65412
  * @summary Create a helm deployment restriction
65210
65413
  * @param {string} helmId Helm ID
65211
65414
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65212
65415
  * @param {*} [options] Override http request option.
65416
+ * @deprecated
65213
65417
  * @throws {RequiredError}
65214
65418
  */
65215
65419
  async createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
@@ -65219,11 +65423,12 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
65219
65423
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65220
65424
  },
65221
65425
  /**
65222
- * Delete a helm deployment restriction
65426
+ * Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65223
65427
  * @summary Delete a helm deployment restriction
65224
65428
  * @param {string} helmId Helm ID
65225
65429
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65226
65430
  * @param {*} [options] Override http request option.
65431
+ * @deprecated
65227
65432
  * @throws {RequiredError}
65228
65433
  */
65229
65434
  async deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -65233,12 +65438,13 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
65233
65438
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65234
65439
  },
65235
65440
  /**
65236
- * Edit a helm deployment restriction
65441
+ * Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65237
65442
  * @summary Edit a helm deployment restriction
65238
65443
  * @param {string} helmId Helm ID
65239
65444
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65240
65445
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65241
65446
  * @param {*} [options] Override http request option.
65447
+ * @deprecated
65242
65448
  * @throws {RequiredError}
65243
65449
  */
65244
65450
  async editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponse>> {
@@ -65248,10 +65454,11 @@ export const HelmDeploymentRestrictionApiFp = function(configuration?: Configura
65248
65454
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
65249
65455
  },
65250
65456
  /**
65251
- * Get helm deployment restrictions
65457
+ * Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65252
65458
  * @summary Get helm deployment restrictions
65253
65459
  * @param {string} helmId Helm ID
65254
65460
  * @param {*} [options] Override http request option.
65461
+ * @deprecated
65255
65462
  * @throws {RequiredError}
65256
65463
  */
65257
65464
  async getHelmDeploymentRestrictions(helmId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<HelmDeploymentRestrictionResponseList>> {
@@ -65271,44 +65478,48 @@ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Con
65271
65478
  const localVarFp = HelmDeploymentRestrictionApiFp(configuration)
65272
65479
  return {
65273
65480
  /**
65274
- * Create a helm deployment restriction
65481
+ * Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65275
65482
  * @summary Create a helm deployment restriction
65276
65483
  * @param {string} helmId Helm ID
65277
65484
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65278
65485
  * @param {*} [options] Override http request option.
65486
+ * @deprecated
65279
65487
  * @throws {RequiredError}
65280
65488
  */
65281
65489
  createHelmDeploymentRestriction(helmId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponse> {
65282
65490
  return localVarFp.createHelmDeploymentRestriction(helmId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
65283
65491
  },
65284
65492
  /**
65285
- * Delete a helm deployment restriction
65493
+ * Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65286
65494
  * @summary Delete a helm deployment restriction
65287
65495
  * @param {string} helmId Helm ID
65288
65496
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65289
65497
  * @param {*} [options] Override http request option.
65498
+ * @deprecated
65290
65499
  * @throws {RequiredError}
65291
65500
  */
65292
65501
  deleteHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
65293
65502
  return localVarFp.deleteHelmDeploymentRestriction(helmId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
65294
65503
  },
65295
65504
  /**
65296
- * Edit a helm deployment restriction
65505
+ * Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65297
65506
  * @summary Edit a helm deployment restriction
65298
65507
  * @param {string} helmId Helm ID
65299
65508
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65300
65509
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65301
65510
  * @param {*} [options] Override http request option.
65511
+ * @deprecated
65302
65512
  * @throws {RequiredError}
65303
65513
  */
65304
65514
  editHelmDeploymentRestriction(helmId: string, deploymentRestrictionId: string, helmDeploymentRestrictionRequest?: HelmDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponse> {
65305
65515
  return localVarFp.editHelmDeploymentRestriction(helmId, deploymentRestrictionId, helmDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
65306
65516
  },
65307
65517
  /**
65308
- * Get helm deployment restrictions
65518
+ * Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65309
65519
  * @summary Get helm deployment restrictions
65310
65520
  * @param {string} helmId Helm ID
65311
65521
  * @param {*} [options] Override http request option.
65522
+ * @deprecated
65312
65523
  * @throws {RequiredError}
65313
65524
  */
65314
65525
  getHelmDeploymentRestrictions(helmId: string, options?: RawAxiosRequestConfig): AxiosPromise<HelmDeploymentRestrictionResponseList> {
@@ -65325,11 +65536,12 @@ export const HelmDeploymentRestrictionApiFactory = function (configuration?: Con
65325
65536
  */
65326
65537
  export class HelmDeploymentRestrictionApi extends BaseAPI {
65327
65538
  /**
65328
- * Create a helm deployment restriction
65539
+ * Create a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65329
65540
  * @summary Create a helm deployment restriction
65330
65541
  * @param {string} helmId Helm ID
65331
65542
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65332
65543
  * @param {*} [options] Override http request option.
65544
+ * @deprecated
65333
65545
  * @throws {RequiredError}
65334
65546
  * @memberof HelmDeploymentRestrictionApi
65335
65547
  */
@@ -65338,11 +65550,12 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
65338
65550
  }
65339
65551
 
65340
65552
  /**
65341
- * Delete a helm deployment restriction
65553
+ * Delete a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65342
65554
  * @summary Delete a helm deployment restriction
65343
65555
  * @param {string} helmId Helm ID
65344
65556
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65345
65557
  * @param {*} [options] Override http request option.
65558
+ * @deprecated
65346
65559
  * @throws {RequiredError}
65347
65560
  * @memberof HelmDeploymentRestrictionApi
65348
65561
  */
@@ -65351,12 +65564,13 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
65351
65564
  }
65352
65565
 
65353
65566
  /**
65354
- * Edit a helm deployment restriction
65567
+ * Edit a helm deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65355
65568
  * @summary Edit a helm deployment restriction
65356
65569
  * @param {string} helmId Helm ID
65357
65570
  * @param {string} deploymentRestrictionId Deployment Restriction ID
65358
65571
  * @param {HelmDeploymentRestrictionRequest} [helmDeploymentRestrictionRequest]
65359
65572
  * @param {*} [options] Override http request option.
65573
+ * @deprecated
65360
65574
  * @throws {RequiredError}
65361
65575
  * @memberof HelmDeploymentRestrictionApi
65362
65576
  */
@@ -65365,10 +65579,11 @@ export class HelmDeploymentRestrictionApi extends BaseAPI {
65365
65579
  }
65366
65580
 
65367
65581
  /**
65368
- * Get helm deployment restrictions
65582
+ * Get helm deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
65369
65583
  * @summary Get helm deployment restrictions
65370
65584
  * @param {string} helmId Helm ID
65371
65585
  * @param {*} [options] Override http request option.
65586
+ * @deprecated
65372
65587
  * @throws {RequiredError}
65373
65588
  * @memberof HelmDeploymentRestrictionApi
65374
65589
  */
@@ -68250,11 +68465,12 @@ export class JobDeploymentHistoryApi extends BaseAPI {
68250
68465
  export const JobDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
68251
68466
  return {
68252
68467
  /**
68253
- * Create a job deployment restriction
68468
+ * Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68254
68469
  * @summary Create a job deployment restriction
68255
68470
  * @param {string} jobId Job ID
68256
68471
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68257
68472
  * @param {*} [options] Override http request option.
68473
+ * @deprecated
68258
68474
  * @throws {RequiredError}
68259
68475
  */
68260
68476
  createJobDeploymentRestriction: async (jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -68295,11 +68511,12 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
68295
68511
  };
68296
68512
  },
68297
68513
  /**
68298
- * Delete a job deployment restriction
68514
+ * Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68299
68515
  * @summary Delete a job deployment restriction
68300
68516
  * @param {string} jobId Job ID
68301
68517
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68302
68518
  * @param {*} [options] Override http request option.
68519
+ * @deprecated
68303
68520
  * @throws {RequiredError}
68304
68521
  */
68305
68522
  deleteJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -68340,12 +68557,13 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
68340
68557
  };
68341
68558
  },
68342
68559
  /**
68343
- * Edit a job deployment restriction
68560
+ * Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68344
68561
  * @summary Edit a job deployment restriction
68345
68562
  * @param {string} jobId Job ID
68346
68563
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68347
68564
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68348
68565
  * @param {*} [options] Override http request option.
68566
+ * @deprecated
68349
68567
  * @throws {RequiredError}
68350
68568
  */
68351
68569
  editJobDeploymentRestriction: async (jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -68389,10 +68607,11 @@ export const JobDeploymentRestrictionApiAxiosParamCreator = function (configurat
68389
68607
  };
68390
68608
  },
68391
68609
  /**
68392
- * Get job deployment restrictions
68610
+ * Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68393
68611
  * @summary Get job deployment restrictions
68394
68612
  * @param {string} jobId Job ID
68395
68613
  * @param {*} [options] Override http request option.
68614
+ * @deprecated
68396
68615
  * @throws {RequiredError}
68397
68616
  */
68398
68617
  getJobDeploymentRestrictions: async (jobId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -68440,11 +68659,12 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
68440
68659
  const localVarAxiosParamCreator = JobDeploymentRestrictionApiAxiosParamCreator(configuration)
68441
68660
  return {
68442
68661
  /**
68443
- * Create a job deployment restriction
68662
+ * Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68444
68663
  * @summary Create a job deployment restriction
68445
68664
  * @param {string} jobId Job ID
68446
68665
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68447
68666
  * @param {*} [options] Override http request option.
68667
+ * @deprecated
68448
68668
  * @throws {RequiredError}
68449
68669
  */
68450
68670
  async createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
@@ -68454,11 +68674,12 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
68454
68674
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68455
68675
  },
68456
68676
  /**
68457
- * Delete a job deployment restriction
68677
+ * Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68458
68678
  * @summary Delete a job deployment restriction
68459
68679
  * @param {string} jobId Job ID
68460
68680
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68461
68681
  * @param {*} [options] Override http request option.
68682
+ * @deprecated
68462
68683
  * @throws {RequiredError}
68463
68684
  */
68464
68685
  async deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -68468,12 +68689,13 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
68468
68689
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68469
68690
  },
68470
68691
  /**
68471
- * Edit a job deployment restriction
68692
+ * Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68472
68693
  * @summary Edit a job deployment restriction
68473
68694
  * @param {string} jobId Job ID
68474
68695
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68475
68696
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68476
68697
  * @param {*} [options] Override http request option.
68698
+ * @deprecated
68477
68699
  * @throws {RequiredError}
68478
68700
  */
68479
68701
  async editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponse>> {
@@ -68483,10 +68705,11 @@ export const JobDeploymentRestrictionApiFp = function(configuration?: Configurat
68483
68705
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
68484
68706
  },
68485
68707
  /**
68486
- * Get job deployment restrictions
68708
+ * Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68487
68709
  * @summary Get job deployment restrictions
68488
68710
  * @param {string} jobId Job ID
68489
68711
  * @param {*} [options] Override http request option.
68712
+ * @deprecated
68490
68713
  * @throws {RequiredError}
68491
68714
  */
68492
68715
  async getJobDeploymentRestrictions(jobId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobDeploymentRestrictionResponseList>> {
@@ -68506,44 +68729,48 @@ export const JobDeploymentRestrictionApiFactory = function (configuration?: Conf
68506
68729
  const localVarFp = JobDeploymentRestrictionApiFp(configuration)
68507
68730
  return {
68508
68731
  /**
68509
- * Create a job deployment restriction
68732
+ * Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68510
68733
  * @summary Create a job deployment restriction
68511
68734
  * @param {string} jobId Job ID
68512
68735
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68513
68736
  * @param {*} [options] Override http request option.
68737
+ * @deprecated
68514
68738
  * @throws {RequiredError}
68515
68739
  */
68516
68740
  createJobDeploymentRestriction(jobId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponse> {
68517
68741
  return localVarFp.createJobDeploymentRestriction(jobId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
68518
68742
  },
68519
68743
  /**
68520
- * Delete a job deployment restriction
68744
+ * Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68521
68745
  * @summary Delete a job deployment restriction
68522
68746
  * @param {string} jobId Job ID
68523
68747
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68524
68748
  * @param {*} [options] Override http request option.
68749
+ * @deprecated
68525
68750
  * @throws {RequiredError}
68526
68751
  */
68527
68752
  deleteJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
68528
68753
  return localVarFp.deleteJobDeploymentRestriction(jobId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
68529
68754
  },
68530
68755
  /**
68531
- * Edit a job deployment restriction
68756
+ * Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68532
68757
  * @summary Edit a job deployment restriction
68533
68758
  * @param {string} jobId Job ID
68534
68759
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68535
68760
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68536
68761
  * @param {*} [options] Override http request option.
68762
+ * @deprecated
68537
68763
  * @throws {RequiredError}
68538
68764
  */
68539
68765
  editJobDeploymentRestriction(jobId: string, deploymentRestrictionId: string, jobDeploymentRestrictionRequest?: JobDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponse> {
68540
68766
  return localVarFp.editJobDeploymentRestriction(jobId, deploymentRestrictionId, jobDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
68541
68767
  },
68542
68768
  /**
68543
- * Get job deployment restrictions
68769
+ * Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68544
68770
  * @summary Get job deployment restrictions
68545
68771
  * @param {string} jobId Job ID
68546
68772
  * @param {*} [options] Override http request option.
68773
+ * @deprecated
68547
68774
  * @throws {RequiredError}
68548
68775
  */
68549
68776
  getJobDeploymentRestrictions(jobId: string, options?: RawAxiosRequestConfig): AxiosPromise<JobDeploymentRestrictionResponseList> {
@@ -68560,11 +68787,12 @@ export const JobDeploymentRestrictionApiFactory = function (configuration?: Conf
68560
68787
  */
68561
68788
  export class JobDeploymentRestrictionApi extends BaseAPI {
68562
68789
  /**
68563
- * Create a job deployment restriction
68790
+ * Create a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68564
68791
  * @summary Create a job deployment restriction
68565
68792
  * @param {string} jobId Job ID
68566
68793
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68567
68794
  * @param {*} [options] Override http request option.
68795
+ * @deprecated
68568
68796
  * @throws {RequiredError}
68569
68797
  * @memberof JobDeploymentRestrictionApi
68570
68798
  */
@@ -68573,11 +68801,12 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
68573
68801
  }
68574
68802
 
68575
68803
  /**
68576
- * Delete a job deployment restriction
68804
+ * Delete a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68577
68805
  * @summary Delete a job deployment restriction
68578
68806
  * @param {string} jobId Job ID
68579
68807
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68580
68808
  * @param {*} [options] Override http request option.
68809
+ * @deprecated
68581
68810
  * @throws {RequiredError}
68582
68811
  * @memberof JobDeploymentRestrictionApi
68583
68812
  */
@@ -68586,12 +68815,13 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
68586
68815
  }
68587
68816
 
68588
68817
  /**
68589
- * Edit a job deployment restriction
68818
+ * Edit a job deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68590
68819
  * @summary Edit a job deployment restriction
68591
68820
  * @param {string} jobId Job ID
68592
68821
  * @param {string} deploymentRestrictionId Deployment Restriction ID
68593
68822
  * @param {JobDeploymentRestrictionRequest} [jobDeploymentRestrictionRequest]
68594
68823
  * @param {*} [options] Override http request option.
68824
+ * @deprecated
68595
68825
  * @throws {RequiredError}
68596
68826
  * @memberof JobDeploymentRestrictionApi
68597
68827
  */
@@ -68600,10 +68830,11 @@ export class JobDeploymentRestrictionApi extends BaseAPI {
68600
68830
  }
68601
68831
 
68602
68832
  /**
68603
- * Get job deployment restrictions
68833
+ * Get job deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
68604
68834
  * @summary Get job deployment restrictions
68605
68835
  * @param {string} jobId Job ID
68606
68836
  * @param {*} [options] Override http request option.
68837
+ * @deprecated
68607
68838
  * @throws {RequiredError}
68608
68839
  * @memberof JobDeploymentRestrictionApi
68609
68840
  */
@@ -82702,6 +82933,145 @@ export class SecretManagerAccessApi extends BaseAPI {
82702
82933
  */
82703
82934
  export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Configuration) {
82704
82935
  return {
82936
+ /**
82937
+ * Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
82938
+ * @summary Create a service deployment restriction
82939
+ * @param {string} serviceId Service ID of an application/job/container/database
82940
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
82941
+ * @param {*} [options] Override http request option.
82942
+ * @throws {RequiredError}
82943
+ */
82944
+ createServiceDeploymentRestriction: async (serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
82945
+ // verify required parameter 'serviceId' is not null or undefined
82946
+ assertParamExists('createServiceDeploymentRestriction', 'serviceId', serviceId)
82947
+ const localVarPath = `/service/{serviceId}/deploymentRestriction`
82948
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
82949
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
82950
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
82951
+ let baseOptions;
82952
+ if (configuration) {
82953
+ baseOptions = configuration.baseOptions;
82954
+ }
82955
+
82956
+ const localVarRequestOptions = { method: 'POST', ...baseOptions, ...options};
82957
+ const localVarHeaderParameter = {} as any;
82958
+ const localVarQueryParameter = {} as any;
82959
+
82960
+ // authentication ApiKeyAuth required
82961
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
82962
+
82963
+ // authentication bearerAuth required
82964
+ // http bearer authentication required
82965
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
82966
+
82967
+
82968
+
82969
+ localVarHeaderParameter['Content-Type'] = 'application/json';
82970
+
82971
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
82972
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
82973
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
82974
+ localVarRequestOptions.data = serializeDataIfNeeded(serviceDeploymentRestrictionRequest, localVarRequestOptions, configuration)
82975
+
82976
+ return {
82977
+ url: toPathString(localVarUrlObj),
82978
+ options: localVarRequestOptions,
82979
+ };
82980
+ },
82981
+ /**
82982
+ * Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
82983
+ * @summary Delete a service deployment restriction
82984
+ * @param {string} serviceId Service ID of an application/job/container/database
82985
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
82986
+ * @param {*} [options] Override http request option.
82987
+ * @throws {RequiredError}
82988
+ */
82989
+ deleteServiceDeploymentRestriction: async (serviceId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
82990
+ // verify required parameter 'serviceId' is not null or undefined
82991
+ assertParamExists('deleteServiceDeploymentRestriction', 'serviceId', serviceId)
82992
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
82993
+ assertParamExists('deleteServiceDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
82994
+ const localVarPath = `/service/{serviceId}/deploymentRestriction/{deploymentRestrictionId}`
82995
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
82996
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
82997
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
82998
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
82999
+ let baseOptions;
83000
+ if (configuration) {
83001
+ baseOptions = configuration.baseOptions;
83002
+ }
83003
+
83004
+ const localVarRequestOptions = { method: 'DELETE', ...baseOptions, ...options};
83005
+ const localVarHeaderParameter = {} as any;
83006
+ const localVarQueryParameter = {} as any;
83007
+
83008
+ // authentication ApiKeyAuth required
83009
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
83010
+
83011
+ // authentication bearerAuth required
83012
+ // http bearer authentication required
83013
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
83014
+
83015
+
83016
+
83017
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83018
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83019
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
83020
+
83021
+ return {
83022
+ url: toPathString(localVarUrlObj),
83023
+ options: localVarRequestOptions,
83024
+ };
83025
+ },
83026
+ /**
83027
+ * Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
83028
+ * @summary Edit a service deployment restriction
83029
+ * @param {string} serviceId Service ID of an application/job/container/database
83030
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83031
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83032
+ * @param {*} [options] Override http request option.
83033
+ * @throws {RequiredError}
83034
+ */
83035
+ editServiceDeploymentRestriction: async (serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83036
+ // verify required parameter 'serviceId' is not null or undefined
83037
+ assertParamExists('editServiceDeploymentRestriction', 'serviceId', serviceId)
83038
+ // verify required parameter 'deploymentRestrictionId' is not null or undefined
83039
+ assertParamExists('editServiceDeploymentRestriction', 'deploymentRestrictionId', deploymentRestrictionId)
83040
+ const localVarPath = `/service/{serviceId}/deploymentRestriction/{deploymentRestrictionId}`
83041
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)))
83042
+ .replace(`{${"deploymentRestrictionId"}}`, encodeURIComponent(String(deploymentRestrictionId)));
83043
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83044
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
83045
+ let baseOptions;
83046
+ if (configuration) {
83047
+ baseOptions = configuration.baseOptions;
83048
+ }
83049
+
83050
+ const localVarRequestOptions = { method: 'PUT', ...baseOptions, ...options};
83051
+ const localVarHeaderParameter = {} as any;
83052
+ const localVarQueryParameter = {} as any;
83053
+
83054
+ // authentication ApiKeyAuth required
83055
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
83056
+
83057
+ // authentication bearerAuth required
83058
+ // http bearer authentication required
83059
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
83060
+
83061
+
83062
+
83063
+ localVarHeaderParameter['Content-Type'] = 'application/json';
83064
+
83065
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83066
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83067
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
83068
+ localVarRequestOptions.data = serializeDataIfNeeded(serviceDeploymentRestrictionRequest, localVarRequestOptions, configuration)
83069
+
83070
+ return {
83071
+ url: toPathString(localVarUrlObj),
83072
+ options: localVarRequestOptions,
83073
+ };
83074
+ },
82705
83075
  /**
82706
83076
  * Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
82707
83077
  * @summary Get git webhook status for a service
@@ -82734,6 +83104,47 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
82734
83104
 
82735
83105
 
82736
83106
 
83107
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
83108
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
83109
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
83110
+
83111
+ return {
83112
+ url: toPathString(localVarUrlObj),
83113
+ options: localVarRequestOptions,
83114
+ };
83115
+ },
83116
+ /**
83117
+ * Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83118
+ * @summary List service deployment restrictions
83119
+ * @param {string} serviceId Service ID of an application/job/container/database
83120
+ * @param {*} [options] Override http request option.
83121
+ * @throws {RequiredError}
83122
+ */
83123
+ listServiceDeploymentRestrictions: async (serviceId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
83124
+ // verify required parameter 'serviceId' is not null or undefined
83125
+ assertParamExists('listServiceDeploymentRestrictions', 'serviceId', serviceId)
83126
+ const localVarPath = `/service/{serviceId}/deploymentRestriction`
83127
+ .replace(`{${"serviceId"}}`, encodeURIComponent(String(serviceId)));
83128
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
83129
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
83130
+ let baseOptions;
83131
+ if (configuration) {
83132
+ baseOptions = configuration.baseOptions;
83133
+ }
83134
+
83135
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
83136
+ const localVarHeaderParameter = {} as any;
83137
+ const localVarQueryParameter = {} as any;
83138
+
83139
+ // authentication ApiKeyAuth required
83140
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
83141
+
83142
+ // authentication bearerAuth required
83143
+ // http bearer authentication required
83144
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
83145
+
83146
+
83147
+
82737
83148
  setSearchParams(localVarUrlObj, localVarQueryParameter);
82738
83149
  let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
82739
83150
  localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
@@ -82794,6 +83205,49 @@ export const ServiceMainCallsApiAxiosParamCreator = function (configuration?: Co
82794
83205
  export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
82795
83206
  const localVarAxiosParamCreator = ServiceMainCallsApiAxiosParamCreator(configuration)
82796
83207
  return {
83208
+ /**
83209
+ * Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
83210
+ * @summary Create a service deployment restriction
83211
+ * @param {string} serviceId Service ID of an application/job/container/database
83212
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83213
+ * @param {*} [options] Override http request option.
83214
+ * @throws {RequiredError}
83215
+ */
83216
+ async createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponse>> {
83217
+ const localVarAxiosArgs = await localVarAxiosParamCreator.createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options);
83218
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83219
+ const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.createServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
83220
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83221
+ },
83222
+ /**
83223
+ * Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83224
+ * @summary Delete a service deployment restriction
83225
+ * @param {string} serviceId Service ID of an application/job/container/database
83226
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83227
+ * @param {*} [options] Override http request option.
83228
+ * @throws {RequiredError}
83229
+ */
83230
+ async deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
83231
+ const localVarAxiosArgs = await localVarAxiosParamCreator.deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options);
83232
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83233
+ const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.deleteServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
83234
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83235
+ },
83236
+ /**
83237
+ * Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
83238
+ * @summary Edit a service deployment restriction
83239
+ * @param {string} serviceId Service ID of an application/job/container/database
83240
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83241
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83242
+ * @param {*} [options] Override http request option.
83243
+ * @throws {RequiredError}
83244
+ */
83245
+ async editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponse>> {
83246
+ const localVarAxiosArgs = await localVarAxiosParamCreator.editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options);
83247
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83248
+ const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.editServiceDeploymentRestriction']?.[localVarOperationServerIndex]?.url;
83249
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83250
+ },
82797
83251
  /**
82798
83252
  * Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
82799
83253
  * @summary Get git webhook status for a service
@@ -82807,6 +83261,19 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
82807
83261
  const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.getServiceGitWebhookStatus']?.[localVarOperationServerIndex]?.url;
82808
83262
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
82809
83263
  },
83264
+ /**
83265
+ * Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83266
+ * @summary List service deployment restrictions
83267
+ * @param {string} serviceId Service ID of an application/job/container/database
83268
+ * @param {*} [options] Override http request option.
83269
+ * @throws {RequiredError}
83270
+ */
83271
+ async listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ServiceDeploymentRestrictionResponseList>> {
83272
+ const localVarAxiosArgs = await localVarAxiosParamCreator.listServiceDeploymentRestrictions(serviceId, options);
83273
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
83274
+ const localVarOperationServerBasePath = operationServerMap['ServiceMainCallsApi.listServiceDeploymentRestrictions']?.[localVarOperationServerIndex]?.url;
83275
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
83276
+ },
82810
83277
  /**
82811
83278
  * Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
82812
83279
  * @summary Synchronize git webhook for a service
@@ -82830,6 +83297,40 @@ export const ServiceMainCallsApiFp = function(configuration?: Configuration) {
82830
83297
  export const ServiceMainCallsApiFactory = function (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) {
82831
83298
  const localVarFp = ServiceMainCallsApiFp(configuration)
82832
83299
  return {
83300
+ /**
83301
+ * Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
83302
+ * @summary Create a service deployment restriction
83303
+ * @param {string} serviceId Service ID of an application/job/container/database
83304
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83305
+ * @param {*} [options] Override http request option.
83306
+ * @throws {RequiredError}
83307
+ */
83308
+ createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponse> {
83309
+ return localVarFp.createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
83310
+ },
83311
+ /**
83312
+ * Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83313
+ * @summary Delete a service deployment restriction
83314
+ * @param {string} serviceId Service ID of an application/job/container/database
83315
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83316
+ * @param {*} [options] Override http request option.
83317
+ * @throws {RequiredError}
83318
+ */
83319
+ deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
83320
+ return localVarFp.deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
83321
+ },
83322
+ /**
83323
+ * Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
83324
+ * @summary Edit a service deployment restriction
83325
+ * @param {string} serviceId Service ID of an application/job/container/database
83326
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83327
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83328
+ * @param {*} [options] Override http request option.
83329
+ * @throws {RequiredError}
83330
+ */
83331
+ editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponse> {
83332
+ return localVarFp.editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
83333
+ },
82833
83334
  /**
82834
83335
  * Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
82835
83336
  * @summary Get git webhook status for a service
@@ -82840,6 +83341,16 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
82840
83341
  getServiceGitWebhookStatus(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<GitWebhookStatusResponse> {
82841
83342
  return localVarFp.getServiceGitWebhookStatus(serviceId, options).then((request) => request(axios, basePath));
82842
83343
  },
83344
+ /**
83345
+ * Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83346
+ * @summary List service deployment restrictions
83347
+ * @param {string} serviceId Service ID of an application/job/container/database
83348
+ * @param {*} [options] Override http request option.
83349
+ * @throws {RequiredError}
83350
+ */
83351
+ listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig): AxiosPromise<ServiceDeploymentRestrictionResponseList> {
83352
+ return localVarFp.listServiceDeploymentRestrictions(serviceId, options).then((request) => request(axios, basePath));
83353
+ },
82843
83354
  /**
82844
83355
  * Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
82845
83356
  * @summary Synchronize git webhook for a service
@@ -82860,6 +83371,46 @@ export const ServiceMainCallsApiFactory = function (configuration?: Configuratio
82860
83371
  * @extends {BaseAPI}
82861
83372
  */
82862
83373
  export class ServiceMainCallsApi extends BaseAPI {
83374
+ /**
83375
+ * Creates a deployment restriction on a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Returns 400 when the service cannot have restrictions: a job or container with an image source, a Helm or Terraform service not using a Git repository, or a kind without restrictions: a database or an agentic workflow.
83376
+ * @summary Create a service deployment restriction
83377
+ * @param {string} serviceId Service ID of an application/job/container/database
83378
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83379
+ * @param {*} [options] Override http request option.
83380
+ * @throws {RequiredError}
83381
+ * @memberof ServiceMainCallsApi
83382
+ */
83383
+ public createServiceDeploymentRestriction(serviceId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
83384
+ return ServiceMainCallsApiFp(this.configuration).createServiceDeploymentRestriction(serviceId, serviceDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
83385
+ }
83386
+
83387
+ /**
83388
+ * Deletes a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83389
+ * @summary Delete a service deployment restriction
83390
+ * @param {string} serviceId Service ID of an application/job/container/database
83391
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83392
+ * @param {*} [options] Override http request option.
83393
+ * @throws {RequiredError}
83394
+ * @memberof ServiceMainCallsApi
83395
+ */
83396
+ public deleteServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig) {
83397
+ return ServiceMainCallsApiFp(this.configuration).deleteServiceDeploymentRestriction(serviceId, deploymentRestrictionId, options).then((request) => request(this.axios, this.basePath));
83398
+ }
83399
+
83400
+ /**
83401
+ * Edits a deployment restriction of a service. Works for applications, jobs, Helm, Terraform and containers. Returns 400 when the service is a container with an image source, or a kind that cannot have deployment restrictions: a database or an agentic workflow.
83402
+ * @summary Edit a service deployment restriction
83403
+ * @param {string} serviceId Service ID of an application/job/container/database
83404
+ * @param {string} deploymentRestrictionId Deployment Restriction ID
83405
+ * @param {ServiceDeploymentRestrictionRequest} [serviceDeploymentRestrictionRequest]
83406
+ * @param {*} [options] Override http request option.
83407
+ * @throws {RequiredError}
83408
+ * @memberof ServiceMainCallsApi
83409
+ */
83410
+ public editServiceDeploymentRestriction(serviceId: string, deploymentRestrictionId: string, serviceDeploymentRestrictionRequest?: ServiceDeploymentRestrictionRequest, options?: RawAxiosRequestConfig) {
83411
+ return ServiceMainCallsApiFp(this.configuration).editServiceDeploymentRestriction(serviceId, deploymentRestrictionId, serviceDeploymentRestrictionRequest, options).then((request) => request(this.axios, this.basePath));
83412
+ }
83413
+
82863
83414
  /**
82864
83415
  * Returns the webhook status for a git-based service. Checks if the Qovery webhook is correctly configured on the git provider (GitHub, GitLab, or Bitbucket).
82865
83416
  * @summary Get git webhook status for a service
@@ -82872,6 +83423,18 @@ export class ServiceMainCallsApi extends BaseAPI {
82872
83423
  return ServiceMainCallsApiFp(this.configuration).getServiceGitWebhookStatus(serviceId, options).then((request) => request(this.axios, this.basePath));
82873
83424
  }
82874
83425
 
83426
+ /**
83427
+ * Lists the deployment restrictions of a service. Works for applications, jobs, Helm, Terraform and containers. Restrictions filter which pushes to the source branch deploy the service, by changed file path. Works on any container, whatever its source: a container\'s restrictions survive a switch to an image source, without effect until it switches back to a Git repository source. Returns 400 when the service is a kind that cannot have deployment restrictions: a database or an agentic workflow.
83428
+ * @summary List service deployment restrictions
83429
+ * @param {string} serviceId Service ID of an application/job/container/database
83430
+ * @param {*} [options] Override http request option.
83431
+ * @throws {RequiredError}
83432
+ * @memberof ServiceMainCallsApi
83433
+ */
83434
+ public listServiceDeploymentRestrictions(serviceId: string, options?: RawAxiosRequestConfig) {
83435
+ return ServiceMainCallsApiFp(this.configuration).listServiceDeploymentRestrictions(serviceId, options).then((request) => request(this.axios, this.basePath));
83436
+ }
83437
+
82875
83438
  /**
82876
83439
  * Synchronizes the Qovery webhook configuration for a git-based service. - If no webhook exists, creates one with the correct configuration - If webhook exists but is misconfigured, updates it with the correct events - If webhook is already correctly configured, returns current status Works with GitHub, GitLab, and Bitbucket repositories.
82877
83440
  * @summary Synchronize git webhook for a service
@@ -84483,11 +85046,12 @@ export class TerraformDeploymentHistoryApi extends BaseAPI {
84483
85046
  export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (configuration?: Configuration) {
84484
85047
  return {
84485
85048
  /**
84486
- * Create a terraform deployment restriction
85049
+ * Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84487
85050
  * @summary Create a terraform deployment restriction
84488
85051
  * @param {string} terraformId
84489
85052
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84490
85053
  * @param {*} [options] Override http request option.
85054
+ * @deprecated
84491
85055
  * @throws {RequiredError}
84492
85056
  */
84493
85057
  createTerraformDeploymentRestriction: async (terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -84528,11 +85092,12 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
84528
85092
  };
84529
85093
  },
84530
85094
  /**
84531
- * Delete a terraform deployment restriction
85095
+ * Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84532
85096
  * @summary Delete a terraform deployment restriction
84533
85097
  * @param {string} terraformId
84534
85098
  * @param {string} deploymentRestrictionId
84535
85099
  * @param {*} [options] Override http request option.
85100
+ * @deprecated
84536
85101
  * @throws {RequiredError}
84537
85102
  */
84538
85103
  deleteTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -84573,12 +85138,13 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
84573
85138
  };
84574
85139
  },
84575
85140
  /**
84576
- * Edit a terraform deployment restriction
85141
+ * Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84577
85142
  * @summary Edit a terraform deployment restriction
84578
85143
  * @param {string} terraformId
84579
85144
  * @param {string} deploymentRestrictionId
84580
85145
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84581
85146
  * @param {*} [options] Override http request option.
85147
+ * @deprecated
84582
85148
  * @throws {RequiredError}
84583
85149
  */
84584
85150
  editTerraformDeploymentRestriction: async (terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -84622,10 +85188,11 @@ export const TerraformDeploymentRestrictionApiAxiosParamCreator = function (conf
84622
85188
  };
84623
85189
  },
84624
85190
  /**
84625
- * Get terraform deployment restrictions
85191
+ * Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84626
85192
  * @summary Get terraform deployment restrictions
84627
85193
  * @param {string} terraformId
84628
85194
  * @param {*} [options] Override http request option.
85195
+ * @deprecated
84629
85196
  * @throws {RequiredError}
84630
85197
  */
84631
85198
  getTerraformDeploymentRestrictions: async (terraformId: string, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
@@ -84673,11 +85240,12 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
84673
85240
  const localVarAxiosParamCreator = TerraformDeploymentRestrictionApiAxiosParamCreator(configuration)
84674
85241
  return {
84675
85242
  /**
84676
- * Create a terraform deployment restriction
85243
+ * Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84677
85244
  * @summary Create a terraform deployment restriction
84678
85245
  * @param {string} terraformId
84679
85246
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84680
85247
  * @param {*} [options] Override http request option.
85248
+ * @deprecated
84681
85249
  * @throws {RequiredError}
84682
85250
  */
84683
85251
  async createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
@@ -84687,11 +85255,12 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
84687
85255
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
84688
85256
  },
84689
85257
  /**
84690
- * Delete a terraform deployment restriction
85258
+ * Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84691
85259
  * @summary Delete a terraform deployment restriction
84692
85260
  * @param {string} terraformId
84693
85261
  * @param {string} deploymentRestrictionId
84694
85262
  * @param {*} [options] Override http request option.
85263
+ * @deprecated
84695
85264
  * @throws {RequiredError}
84696
85265
  */
84697
85266
  async deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>> {
@@ -84701,12 +85270,13 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
84701
85270
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
84702
85271
  },
84703
85272
  /**
84704
- * Edit a terraform deployment restriction
85273
+ * Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84705
85274
  * @summary Edit a terraform deployment restriction
84706
85275
  * @param {string} terraformId
84707
85276
  * @param {string} deploymentRestrictionId
84708
85277
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84709
85278
  * @param {*} [options] Override http request option.
85279
+ * @deprecated
84710
85280
  * @throws {RequiredError}
84711
85281
  */
84712
85282
  async editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponse>> {
@@ -84716,10 +85286,11 @@ export const TerraformDeploymentRestrictionApiFp = function(configuration?: Conf
84716
85286
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
84717
85287
  },
84718
85288
  /**
84719
- * Get terraform deployment restrictions
85289
+ * Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84720
85290
  * @summary Get terraform deployment restrictions
84721
85291
  * @param {string} terraformId
84722
85292
  * @param {*} [options] Override http request option.
85293
+ * @deprecated
84723
85294
  * @throws {RequiredError}
84724
85295
  */
84725
85296
  async getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<TerraformDeploymentRestrictionResponseList>> {
@@ -84739,44 +85310,48 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
84739
85310
  const localVarFp = TerraformDeploymentRestrictionApiFp(configuration)
84740
85311
  return {
84741
85312
  /**
84742
- * Create a terraform deployment restriction
85313
+ * Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84743
85314
  * @summary Create a terraform deployment restriction
84744
85315
  * @param {string} terraformId
84745
85316
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84746
85317
  * @param {*} [options] Override http request option.
85318
+ * @deprecated
84747
85319
  * @throws {RequiredError}
84748
85320
  */
84749
85321
  createTerraformDeploymentRestriction(terraformId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
84750
85322
  return localVarFp.createTerraformDeploymentRestriction(terraformId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
84751
85323
  },
84752
85324
  /**
84753
- * Delete a terraform deployment restriction
85325
+ * Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84754
85326
  * @summary Delete a terraform deployment restriction
84755
85327
  * @param {string} terraformId
84756
85328
  * @param {string} deploymentRestrictionId
84757
85329
  * @param {*} [options] Override http request option.
85330
+ * @deprecated
84758
85331
  * @throws {RequiredError}
84759
85332
  */
84760
85333
  deleteTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, options?: RawAxiosRequestConfig): AxiosPromise<void> {
84761
85334
  return localVarFp.deleteTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, options).then((request) => request(axios, basePath));
84762
85335
  },
84763
85336
  /**
84764
- * Edit a terraform deployment restriction
85337
+ * Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84765
85338
  * @summary Edit a terraform deployment restriction
84766
85339
  * @param {string} terraformId
84767
85340
  * @param {string} deploymentRestrictionId
84768
85341
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84769
85342
  * @param {*} [options] Override http request option.
85343
+ * @deprecated
84770
85344
  * @throws {RequiredError}
84771
85345
  */
84772
85346
  editTerraformDeploymentRestriction(terraformId: string, deploymentRestrictionId: string, terraformDeploymentRestrictionRequest?: TerraformDeploymentRestrictionRequest, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponse> {
84773
85347
  return localVarFp.editTerraformDeploymentRestriction(terraformId, deploymentRestrictionId, terraformDeploymentRestrictionRequest, options).then((request) => request(axios, basePath));
84774
85348
  },
84775
85349
  /**
84776
- * Get terraform deployment restrictions
85350
+ * Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84777
85351
  * @summary Get terraform deployment restrictions
84778
85352
  * @param {string} terraformId
84779
85353
  * @param {*} [options] Override http request option.
85354
+ * @deprecated
84780
85355
  * @throws {RequiredError}
84781
85356
  */
84782
85357
  getTerraformDeploymentRestrictions(terraformId: string, options?: RawAxiosRequestConfig): AxiosPromise<TerraformDeploymentRestrictionResponseList> {
@@ -84793,11 +85368,12 @@ export const TerraformDeploymentRestrictionApiFactory = function (configuration?
84793
85368
  */
84794
85369
  export class TerraformDeploymentRestrictionApi extends BaseAPI {
84795
85370
  /**
84796
- * Create a terraform deployment restriction
85371
+ * Create a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84797
85372
  * @summary Create a terraform deployment restriction
84798
85373
  * @param {string} terraformId
84799
85374
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84800
85375
  * @param {*} [options] Override http request option.
85376
+ * @deprecated
84801
85377
  * @throws {RequiredError}
84802
85378
  * @memberof TerraformDeploymentRestrictionApi
84803
85379
  */
@@ -84806,11 +85382,12 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
84806
85382
  }
84807
85383
 
84808
85384
  /**
84809
- * Delete a terraform deployment restriction
85385
+ * Delete a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84810
85386
  * @summary Delete a terraform deployment restriction
84811
85387
  * @param {string} terraformId
84812
85388
  * @param {string} deploymentRestrictionId
84813
85389
  * @param {*} [options] Override http request option.
85390
+ * @deprecated
84814
85391
  * @throws {RequiredError}
84815
85392
  * @memberof TerraformDeploymentRestrictionApi
84816
85393
  */
@@ -84819,12 +85396,13 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
84819
85396
  }
84820
85397
 
84821
85398
  /**
84822
- * Edit a terraform deployment restriction
85399
+ * Edit a terraform deployment restriction Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84823
85400
  * @summary Edit a terraform deployment restriction
84824
85401
  * @param {string} terraformId
84825
85402
  * @param {string} deploymentRestrictionId
84826
85403
  * @param {TerraformDeploymentRestrictionRequest} [terraformDeploymentRestrictionRequest]
84827
85404
  * @param {*} [options] Override http request option.
85405
+ * @deprecated
84828
85406
  * @throws {RequiredError}
84829
85407
  * @memberof TerraformDeploymentRestrictionApi
84830
85408
  */
@@ -84833,10 +85411,11 @@ export class TerraformDeploymentRestrictionApi extends BaseAPI {
84833
85411
  }
84834
85412
 
84835
85413
  /**
84836
- * Get terraform deployment restrictions
85414
+ * Get terraform deployment restrictions Deprecated: use `/service/{serviceId}/deploymentRestriction`, which works for every service kind. This endpoint keeps working.
84837
85415
  * @summary Get terraform deployment restrictions
84838
85416
  * @param {string} terraformId
84839
85417
  * @param {*} [options] Override http request option.
85418
+ * @deprecated
84840
85419
  * @throws {RequiredError}
84841
85420
  * @memberof TerraformDeploymentRestrictionApi
84842
85421
  */