qovery-typescript-axios 1.1.1053 → 1.1.1056

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
@@ -20913,7 +20913,7 @@ export interface JobRequestAllOfScheduleOnStart {
20913
20913
  'entrypoint'?: string;
20914
20914
  }
20915
20915
  /**
20916
- *
20916
+ * Where the job image comes from: - `image`: an image from a container registry; - `docker`: an image that Qovery builds from a Git repository, with a Dockerfile read from the repository (`dockerfile_path`) or sent in the request (`dockerfile_raw`). Send `image` or `docker`, not both: a body with both returns 400, on create and on update. A `null` key counts as not sent. On update (`PUT /job/{jobId}`), sending the other key switches the source in place. The job keeps its id, schedule, lifecycle events and variables. The switch does not deploy: a cron job keeps running its current image on schedule until the next deployment, which uses the new source. - A switch from `docker` to `image` removes the job\'s Git repository link and its Dockerfile settings (`dockerfile_path`, `dockerfile_raw`, `docker_target_build_stage`). When `build_settings` is not sent, it resets the job\'s build settings to the cluster defaults. When `build_settings` is sent, they are saved, as on any edit of an image job. - A switch to `docker` sends `git_repository` and a Dockerfile, as on create. When `build_settings` is not sent, the job keeps its stored build settings, or the cluster defaults when none are stored. - When not sent, `auto_deploy` and `auto_preview` are set to false on any switch, from `image` to `docker` or from `docker` to `image`: a switch never turns a trigger on by itself. - The job gets the missing built-in variables of its new source: `QOVERY_JOB_<ID>_GIT_COMMIT_ID` and `QOVERY_JOB_<ID>_GIT_BRANCH` for `docker`, `QOVERY_JOB_<ID>_TAG` for `image`. Those of the previous source are kept, with empty values. - `<ID>` is the job\'s engine id, the identifier its other built-in variables use, as in `QOVERY_JOB_<ID>_ENVIRONMENT_NAME`: `Z` followed by the first 8 characters of the job id, in upper case. It is not the full job id. With `image`, on create and on update: - a `registry_id` of a registry in another organization returns 404, as for an unknown registry. The response does not name the registry; - an `image_name` with a `tag` not found in the registry returns 400.
20917
20917
  * @export
20918
20918
  * @interface JobRequestAllOfSource
20919
20919
  */
@@ -20981,7 +20981,7 @@ export interface JobRequestAllOfSourceImage {
20981
20981
  */
20982
20982
  'tag'?: string;
20983
20983
  /**
20984
- * tag of the image container
20984
+ * id of the container registry that holds the image
20985
20985
  * @type {string}
20986
20986
  * @memberof JobRequestAllOfSourceImage
20987
20987
  */
@@ -21203,6 +21203,12 @@ export interface KarpenterGpuNodePoolOverride {
21203
21203
  * @memberof KarpenterGpuNodePoolOverride
21204
21204
  */
21205
21205
  'consolidate_after'?: string;
21206
+ /**
21207
+ * EC2 On-Demand Capacity Reservation ids the GPU node pool launches its nodes into. AWS EKS clusters only, and `spot_enabled` must be false when the list is not empty. On update, leaving the field out or sending `null` keeps the saved ids; an empty list clears them. The setting applies at the next cluster update. Adding ids moves no running node: GPU nodes launched afterwards go into the reservation. Removing or changing ids replaces the GPU nodes running in a reservation that is no longer listed, each new node starting before the old one is drained. A reservation that matches no launch (other zone, other instance type, expired) is skipped silently and the nodes fall back to on-demand capacity. The server enforces these rules and rejects a request that breaks them.
21208
+ * @type {Set<string>}
21209
+ * @memberof KarpenterGpuNodePoolOverride
21210
+ */
21211
+ 'capacity_reservation_ids'?: Set<string> | null;
21206
21212
  }
21207
21213
  /**
21208
21214
  *
@@ -24140,6 +24146,44 @@ export interface OrganizationCurrentCost {
24140
24146
  }
24141
24147
 
24142
24148
 
24149
+ /**
24150
+ *
24151
+ * @export
24152
+ * @interface OrganizationCustomDomainCheckListResponse
24153
+ */
24154
+ export interface OrganizationCustomDomainCheckListResponse {
24155
+ /**
24156
+ * One result per domain name of one environment of the page, in the order of `listOrganizationCustomDomain`.
24157
+ * @type {Array<OrganizationCustomDomainCheckResponse>}
24158
+ * @memberof OrganizationCustomDomainCheckListResponse
24159
+ */
24160
+ 'results': Array<OrganizationCustomDomainCheckResponse>;
24161
+ }
24162
+ /**
24163
+ * The DNS checks of one domain name of one environment. `environment_id` and `domain` identify it, as in `OrganizationCustomDomainResponse`.
24164
+ * @export
24165
+ * @interface OrganizationCustomDomainCheckResponse
24166
+ */
24167
+ export interface OrganizationCustomDomainCheckResponse {
24168
+ /**
24169
+ * Id of the environment of the domain.
24170
+ * @type {string}
24171
+ * @memberof OrganizationCustomDomainCheckResponse
24172
+ */
24173
+ 'environment_id': string;
24174
+ /**
24175
+ * The domain name as `listOrganizationCustomDomain` returns it. A wildcard domain keeps its `*.` prefix.
24176
+ * @type {string}
24177
+ * @memberof OrganizationCustomDomainCheckResponse
24178
+ */
24179
+ 'domain': string;
24180
+ /**
24181
+ * One check per service the domain routes to. Empty when no service of the domain can be checked.
24182
+ * @type {Array<OrganizationCustomDomainServiceCheck>}
24183
+ * @memberof OrganizationCustomDomainCheckResponse
24184
+ */
24185
+ 'checks': Array<OrganizationCustomDomainServiceCheck>;
24186
+ }
24143
24187
  /**
24144
24188
  *
24145
24189
  * @export
@@ -24245,6 +24289,39 @@ export interface OrganizationCustomDomainResponseList {
24245
24289
  */
24246
24290
  'results': Array<OrganizationCustomDomainResponse>;
24247
24291
  }
24292
+ /**
24293
+ * The DNS check of a domain for one service it routes to.
24294
+ * @export
24295
+ * @interface OrganizationCustomDomainServiceCheck
24296
+ */
24297
+ export interface OrganizationCustomDomainServiceCheck {
24298
+ /**
24299
+ * Id of the service.
24300
+ * @type {string}
24301
+ * @memberof OrganizationCustomDomainServiceCheck
24302
+ */
24303
+ 'service_id': string;
24304
+ /**
24305
+ * Type of the service. Only `APPLICATION`, `CONTAINER` and `HELM` services have custom domains.
24306
+ * @type {ServiceTypeEnum}
24307
+ * @memberof OrganizationCustomDomainServiceCheck
24308
+ */
24309
+ 'service_type': ServiceTypeEnum;
24310
+ /**
24311
+ * The result of the check. `null` when the check could not run (cluster unreachable, timeout, service never deployed); `error_details` then gives the reason.
24312
+ * @type {CheckedCustomDomainStatus}
24313
+ * @memberof OrganizationCustomDomainServiceCheck
24314
+ */
24315
+ 'status': CheckedCustomDomainStatus | null;
24316
+ /**
24317
+ * Why the check failed or could not run. `null` when the check succeeded.
24318
+ * @type {string}
24319
+ * @memberof OrganizationCustomDomainServiceCheck
24320
+ */
24321
+ 'error_details': string | null;
24322
+ }
24323
+
24324
+
24248
24325
  /**
24249
24326
  *
24250
24327
  * @export
@@ -69534,7 +69611,7 @@ export const JobMainCallsApiAxiosParamCreator = function (configuration?: Config
69534
69611
  };
69535
69612
  },
69536
69613
  /**
69537
- * - To edit the job you must have the admin permission.
69614
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
69538
69615
  * @summary Edit job
69539
69616
  * @param {string} jobId Job ID
69540
69617
  * @param {JobRequest} [jobRequest]
@@ -69736,7 +69813,7 @@ export const JobMainCallsApiFp = function(configuration?: Configuration) {
69736
69813
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
69737
69814
  },
69738
69815
  /**
69739
- * - To edit the job you must have the admin permission.
69816
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
69740
69817
  * @summary Edit job
69741
69818
  * @param {string} jobId Job ID
69742
69819
  * @param {JobRequest} [jobRequest]
@@ -69812,7 +69889,7 @@ export const JobMainCallsApiFactory = function (configuration?: Configuration, b
69812
69889
  return localVarFp.deleteJob(jobId, skipReconcile, options).then((request) => request(axios, basePath));
69813
69890
  },
69814
69891
  /**
69815
- * - To edit the job you must have the admin permission.
69892
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
69816
69893
  * @summary Edit job
69817
69894
  * @param {string} jobId Job ID
69818
69895
  * @param {JobRequest} [jobRequest]
@@ -69878,7 +69955,7 @@ export class JobMainCallsApi extends BaseAPI {
69878
69955
  }
69879
69956
 
69880
69957
  /**
69881
- * - To edit the job you must have the admin permission.
69958
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
69882
69959
  * @summary Edit job
69883
69960
  * @param {string} jobId Job ID
69884
69961
  * @param {JobRequest} [jobRequest]
@@ -70536,7 +70613,7 @@ export const JobsApiAxiosParamCreator = function (configuration?: Configuration)
70536
70613
  };
70537
70614
  },
70538
70615
  /**
70539
- *
70616
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
70540
70617
  * @summary Create a job
70541
70618
  * @param {string} environmentId Environment ID
70542
70619
  * @param {JobRequest} [jobRequest]
@@ -70734,7 +70811,7 @@ export const JobsApiFp = function(configuration?: Configuration) {
70734
70811
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
70735
70812
  },
70736
70813
  /**
70737
- *
70814
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
70738
70815
  * @summary Create a job
70739
70816
  * @param {string} environmentId Environment ID
70740
70817
  * @param {JobRequest} [jobRequest]
@@ -70809,7 +70886,7 @@ export const JobsApiFactory = function (configuration?: Configuration, basePath?
70809
70886
  return localVarFp.cloneJob(jobId, cloneServiceRequest, options).then((request) => request(axios, basePath));
70810
70887
  },
70811
70888
  /**
70812
- *
70889
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
70813
70890
  * @summary Create a job
70814
70891
  * @param {string} environmentId Environment ID
70815
70892
  * @param {JobRequest} [jobRequest]
@@ -70874,7 +70951,7 @@ export class JobsApi extends BaseAPI {
70874
70951
  }
70875
70952
 
70876
70953
  /**
70877
- *
70954
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
70878
70955
  * @summary Create a job
70879
70956
  * @param {string} environmentId Environment ID
70880
70957
  * @param {JobRequest} [jobRequest]
@@ -74898,6 +74975,72 @@ export const OrganizationCustomDomainApiAxiosParamCreator = function (configurat
74898
74975
  options: localVarRequestOptions,
74899
74976
  };
74900
74977
  },
74978
+ /**
74979
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
74980
+ * @summary Check the DNS of the organization\'s custom domains
74981
+ * @param {string} organizationId Organization ID
74982
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
74983
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
74984
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
74985
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
74986
+ * @param {number} [pageSize] The number of domains per page.
74987
+ * @param {*} [options] Override http request option.
74988
+ * @throws {RequiredError}
74989
+ */
74990
+ checkOrganizationCustomDomains: async (organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options: RawAxiosRequestConfig = {}): Promise<RequestArgs> => {
74991
+ // verify required parameter 'organizationId' is not null or undefined
74992
+ assertParamExists('checkOrganizationCustomDomains', 'organizationId', organizationId)
74993
+ const localVarPath = `/organization/{organizationId}/customDomain/check`
74994
+ .replace(`{${"organizationId"}}`, encodeURIComponent(String(organizationId)));
74995
+ // use dummy base URL string because the URL constructor only accepts absolute URLs.
74996
+ const localVarUrlObj = new URL(localVarPath, DUMMY_BASE_URL);
74997
+ let baseOptions;
74998
+ if (configuration) {
74999
+ baseOptions = configuration.baseOptions;
75000
+ }
75001
+
75002
+ const localVarRequestOptions = { method: 'GET', ...baseOptions, ...options};
75003
+ const localVarHeaderParameter = {} as any;
75004
+ const localVarQueryParameter = {} as any;
75005
+
75006
+ // authentication ApiKeyAuth required
75007
+ await setApiKeyToObject(localVarHeaderParameter, "Authorization", configuration)
75008
+
75009
+ // authentication bearerAuth required
75010
+ // http bearer authentication required
75011
+ await setBearerAuthToObject(localVarHeaderParameter, configuration)
75012
+
75013
+ if (projectId !== undefined) {
75014
+ localVarQueryParameter['projectId'] = projectId;
75015
+ }
75016
+
75017
+ if (environmentId !== undefined) {
75018
+ localVarQueryParameter['environmentId'] = environmentId;
75019
+ }
75020
+
75021
+ if (search !== undefined) {
75022
+ localVarQueryParameter['search'] = search;
75023
+ }
75024
+
75025
+ if (page !== undefined) {
75026
+ localVarQueryParameter['page'] = page;
75027
+ }
75028
+
75029
+ if (pageSize !== undefined) {
75030
+ localVarQueryParameter['pageSize'] = pageSize;
75031
+ }
75032
+
75033
+
75034
+
75035
+ setSearchParams(localVarUrlObj, localVarQueryParameter);
75036
+ let headersFromBaseOptions = baseOptions && baseOptions.headers ? baseOptions.headers : {};
75037
+ localVarRequestOptions.headers = {...localVarHeaderParameter, ...headersFromBaseOptions, ...options.headers};
75038
+
75039
+ return {
75040
+ url: toPathString(localVarUrlObj),
75041
+ options: localVarRequestOptions,
75042
+ };
75043
+ },
74901
75044
  /**
74902
75045
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
74903
75046
  * @summary List organization custom domains
@@ -74988,6 +75131,24 @@ export const OrganizationCustomDomainApiFp = function(configuration?: Configurat
74988
75131
  const localVarOperationServerBasePath = operationServerMap['OrganizationCustomDomainApi.bulkDeleteOrganizationCustomDomain']?.[localVarOperationServerIndex]?.url;
74989
75132
  return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
74990
75133
  },
75134
+ /**
75135
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
75136
+ * @summary Check the DNS of the organization\'s custom domains
75137
+ * @param {string} organizationId Organization ID
75138
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
75139
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
75140
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
75141
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
75142
+ * @param {number} [pageSize] The number of domains per page.
75143
+ * @param {*} [options] Override http request option.
75144
+ * @throws {RequiredError}
75145
+ */
75146
+ async checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomDomainCheckListResponse>> {
75147
+ const localVarAxiosArgs = await localVarAxiosParamCreator.checkOrganizationCustomDomains(organizationId, projectId, environmentId, search, page, pageSize, options);
75148
+ const localVarOperationServerIndex = configuration?.serverIndex ?? 0;
75149
+ const localVarOperationServerBasePath = operationServerMap['OrganizationCustomDomainApi.checkOrganizationCustomDomains']?.[localVarOperationServerIndex]?.url;
75150
+ return (axios, basePath) => createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration)(axios, localVarOperationServerBasePath || basePath);
75151
+ },
74991
75152
  /**
74992
75153
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
74993
75154
  * @summary List organization custom domains
@@ -75027,6 +75188,21 @@ export const OrganizationCustomDomainApiFactory = function (configuration?: Conf
75027
75188
  bulkDeleteOrganizationCustomDomain(organizationId: string, customDomainBulkDeleteItemRequest: Array<CustomDomainBulkDeleteItemRequest>, options?: RawAxiosRequestConfig): AxiosPromise<CustomDomainDeletionResponse> {
75028
75189
  return localVarFp.bulkDeleteOrganizationCustomDomain(organizationId, customDomainBulkDeleteItemRequest, options).then((request) => request(axios, basePath));
75029
75190
  },
75191
+ /**
75192
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
75193
+ * @summary Check the DNS of the organization\'s custom domains
75194
+ * @param {string} organizationId Organization ID
75195
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
75196
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
75197
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
75198
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
75199
+ * @param {number} [pageSize] The number of domains per page.
75200
+ * @param {*} [options] Override http request option.
75201
+ * @throws {RequiredError}
75202
+ */
75203
+ checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCustomDomainCheckListResponse> {
75204
+ return localVarFp.checkOrganizationCustomDomains(organizationId, projectId, environmentId, search, page, pageSize, options).then((request) => request(axios, basePath));
75205
+ },
75030
75206
  /**
75031
75207
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
75032
75208
  * @summary List organization custom domains
@@ -75065,6 +75241,23 @@ export class OrganizationCustomDomainApi extends BaseAPI {
75065
75241
  return OrganizationCustomDomainApiFp(this.configuration).bulkDeleteOrganizationCustomDomain(organizationId, customDomainBulkDeleteItemRequest, options).then((request) => request(this.axios, this.basePath));
75066
75242
  }
75067
75243
 
75244
+ /**
75245
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
75246
+ * @summary Check the DNS of the organization\'s custom domains
75247
+ * @param {string} organizationId Organization ID
75248
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
75249
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
75250
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
75251
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
75252
+ * @param {number} [pageSize] The number of domains per page.
75253
+ * @param {*} [options] Override http request option.
75254
+ * @throws {RequiredError}
75255
+ * @memberof OrganizationCustomDomainApi
75256
+ */
75257
+ public checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) {
75258
+ return OrganizationCustomDomainApiFp(this.configuration).checkOrganizationCustomDomains(organizationId, projectId, environmentId, search, page, pageSize, options).then((request) => request(this.axios, this.basePath));
75259
+ }
75260
+
75068
75261
  /**
75069
75262
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
75070
75263
  * @summary List organization custom domains
package/dist/api.d.ts CHANGED
@@ -20297,7 +20297,7 @@ export interface JobRequestAllOfScheduleOnStart {
20297
20297
  'entrypoint'?: string;
20298
20298
  }
20299
20299
  /**
20300
- *
20300
+ * Where the job image comes from: - `image`: an image from a container registry; - `docker`: an image that Qovery builds from a Git repository, with a Dockerfile read from the repository (`dockerfile_path`) or sent in the request (`dockerfile_raw`). Send `image` or `docker`, not both: a body with both returns 400, on create and on update. A `null` key counts as not sent. On update (`PUT /job/{jobId}`), sending the other key switches the source in place. The job keeps its id, schedule, lifecycle events and variables. The switch does not deploy: a cron job keeps running its current image on schedule until the next deployment, which uses the new source. - A switch from `docker` to `image` removes the job\'s Git repository link and its Dockerfile settings (`dockerfile_path`, `dockerfile_raw`, `docker_target_build_stage`). When `build_settings` is not sent, it resets the job\'s build settings to the cluster defaults. When `build_settings` is sent, they are saved, as on any edit of an image job. - A switch to `docker` sends `git_repository` and a Dockerfile, as on create. When `build_settings` is not sent, the job keeps its stored build settings, or the cluster defaults when none are stored. - When not sent, `auto_deploy` and `auto_preview` are set to false on any switch, from `image` to `docker` or from `docker` to `image`: a switch never turns a trigger on by itself. - The job gets the missing built-in variables of its new source: `QOVERY_JOB_<ID>_GIT_COMMIT_ID` and `QOVERY_JOB_<ID>_GIT_BRANCH` for `docker`, `QOVERY_JOB_<ID>_TAG` for `image`. Those of the previous source are kept, with empty values. - `<ID>` is the job\'s engine id, the identifier its other built-in variables use, as in `QOVERY_JOB_<ID>_ENVIRONMENT_NAME`: `Z` followed by the first 8 characters of the job id, in upper case. It is not the full job id. With `image`, on create and on update: - a `registry_id` of a registry in another organization returns 404, as for an unknown registry. The response does not name the registry; - an `image_name` with a `tag` not found in the registry returns 400.
20301
20301
  * @export
20302
20302
  * @interface JobRequestAllOfSource
20303
20303
  */
@@ -20365,7 +20365,7 @@ export interface JobRequestAllOfSourceImage {
20365
20365
  */
20366
20366
  'tag'?: string;
20367
20367
  /**
20368
- * tag of the image container
20368
+ * id of the container registry that holds the image
20369
20369
  * @type {string}
20370
20370
  * @memberof JobRequestAllOfSourceImage
20371
20371
  */
@@ -20579,6 +20579,12 @@ export interface KarpenterGpuNodePoolOverride {
20579
20579
  * @memberof KarpenterGpuNodePoolOverride
20580
20580
  */
20581
20581
  'consolidate_after'?: string;
20582
+ /**
20583
+ * EC2 On-Demand Capacity Reservation ids the GPU node pool launches its nodes into. AWS EKS clusters only, and `spot_enabled` must be false when the list is not empty. On update, leaving the field out or sending `null` keeps the saved ids; an empty list clears them. The setting applies at the next cluster update. Adding ids moves no running node: GPU nodes launched afterwards go into the reservation. Removing or changing ids replaces the GPU nodes running in a reservation that is no longer listed, each new node starting before the old one is drained. A reservation that matches no launch (other zone, other instance type, expired) is skipped silently and the nodes fall back to on-demand capacity. The server enforces these rules and rejects a request that breaks them.
20584
+ * @type {Set<string>}
20585
+ * @memberof KarpenterGpuNodePoolOverride
20586
+ */
20587
+ 'capacity_reservation_ids'?: Set<string> | null;
20582
20588
  }
20583
20589
  /**
20584
20590
  *
@@ -23439,6 +23445,44 @@ export interface OrganizationCurrentCost {
23439
23445
  */
23440
23446
  'cost'?: Cost;
23441
23447
  }
23448
+ /**
23449
+ *
23450
+ * @export
23451
+ * @interface OrganizationCustomDomainCheckListResponse
23452
+ */
23453
+ export interface OrganizationCustomDomainCheckListResponse {
23454
+ /**
23455
+ * One result per domain name of one environment of the page, in the order of `listOrganizationCustomDomain`.
23456
+ * @type {Array<OrganizationCustomDomainCheckResponse>}
23457
+ * @memberof OrganizationCustomDomainCheckListResponse
23458
+ */
23459
+ 'results': Array<OrganizationCustomDomainCheckResponse>;
23460
+ }
23461
+ /**
23462
+ * The DNS checks of one domain name of one environment. `environment_id` and `domain` identify it, as in `OrganizationCustomDomainResponse`.
23463
+ * @export
23464
+ * @interface OrganizationCustomDomainCheckResponse
23465
+ */
23466
+ export interface OrganizationCustomDomainCheckResponse {
23467
+ /**
23468
+ * Id of the environment of the domain.
23469
+ * @type {string}
23470
+ * @memberof OrganizationCustomDomainCheckResponse
23471
+ */
23472
+ 'environment_id': string;
23473
+ /**
23474
+ * The domain name as `listOrganizationCustomDomain` returns it. A wildcard domain keeps its `*.` prefix.
23475
+ * @type {string}
23476
+ * @memberof OrganizationCustomDomainCheckResponse
23477
+ */
23478
+ 'domain': string;
23479
+ /**
23480
+ * One check per service the domain routes to. Empty when no service of the domain can be checked.
23481
+ * @type {Array<OrganizationCustomDomainServiceCheck>}
23482
+ * @memberof OrganizationCustomDomainCheckResponse
23483
+ */
23484
+ 'checks': Array<OrganizationCustomDomainServiceCheck>;
23485
+ }
23442
23486
  /**
23443
23487
  *
23444
23488
  * @export
@@ -23544,6 +23588,37 @@ export interface OrganizationCustomDomainResponseList {
23544
23588
  */
23545
23589
  'results': Array<OrganizationCustomDomainResponse>;
23546
23590
  }
23591
+ /**
23592
+ * The DNS check of a domain for one service it routes to.
23593
+ * @export
23594
+ * @interface OrganizationCustomDomainServiceCheck
23595
+ */
23596
+ export interface OrganizationCustomDomainServiceCheck {
23597
+ /**
23598
+ * Id of the service.
23599
+ * @type {string}
23600
+ * @memberof OrganizationCustomDomainServiceCheck
23601
+ */
23602
+ 'service_id': string;
23603
+ /**
23604
+ * Type of the service. Only `APPLICATION`, `CONTAINER` and `HELM` services have custom domains.
23605
+ * @type {ServiceTypeEnum}
23606
+ * @memberof OrganizationCustomDomainServiceCheck
23607
+ */
23608
+ 'service_type': ServiceTypeEnum;
23609
+ /**
23610
+ * The result of the check. `null` when the check could not run (cluster unreachable, timeout, service never deployed); `error_details` then gives the reason.
23611
+ * @type {CheckedCustomDomainStatus}
23612
+ * @memberof OrganizationCustomDomainServiceCheck
23613
+ */
23614
+ 'status': CheckedCustomDomainStatus | null;
23615
+ /**
23616
+ * Why the check failed or could not run. `null` when the check succeeded.
23617
+ * @type {string}
23618
+ * @memberof OrganizationCustomDomainServiceCheck
23619
+ */
23620
+ 'error_details': string | null;
23621
+ }
23547
23622
  /**
23548
23623
  *
23549
23624
  * @export
@@ -48956,7 +49031,7 @@ export declare const JobMainCallsApiAxiosParamCreator: (configuration?: Configur
48956
49031
  */
48957
49032
  deleteJob: (jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
48958
49033
  /**
48959
- * - To edit the job you must have the admin permission.
49034
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
48960
49035
  * @summary Edit job
48961
49036
  * @param {string} jobId Job ID
48962
49037
  * @param {JobRequest} [jobRequest]
@@ -49006,7 +49081,7 @@ export declare const JobMainCallsApiFp: (configuration?: Configuration) => {
49006
49081
  */
49007
49082
  deleteJob(jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<void>>;
49008
49083
  /**
49009
- * - To edit the job you must have the admin permission.
49084
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49010
49085
  * @summary Edit job
49011
49086
  * @param {string} jobId Job ID
49012
49087
  * @param {JobRequest} [jobRequest]
@@ -49056,7 +49131,7 @@ export declare const JobMainCallsApiFactory: (configuration?: Configuration, bas
49056
49131
  */
49057
49132
  deleteJob(jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): AxiosPromise<void>;
49058
49133
  /**
49059
- * - To edit the job you must have the admin permission.
49134
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49060
49135
  * @summary Edit job
49061
49136
  * @param {string} jobId Job ID
49062
49137
  * @param {JobRequest} [jobRequest]
@@ -49109,7 +49184,7 @@ export declare class JobMainCallsApi extends BaseAPI {
49109
49184
  */
49110
49185
  deleteJob(jobId: string, skipReconcile?: boolean, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<void, any, {}, any>>;
49111
49186
  /**
49112
- * - To edit the job you must have the admin permission.
49187
+ * - To edit the job you must have the admin permission. - `source` can switch the job between `image` and `docker` in place. The job keeps its id, schedule, lifecycle events and variables. A switch from `docker` to `image` removes the job\'s Git repository link and resets its build settings. See `source` in the request body for the details. Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49113
49188
  * @summary Edit job
49114
49189
  * @param {string} jobId Job ID
49115
49190
  * @param {JobRequest} [jobRequest]
@@ -49419,7 +49494,7 @@ export declare const JobsApiAxiosParamCreator: (configuration?: Configuration) =
49419
49494
  */
49420
49495
  cloneJob: (jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
49421
49496
  /**
49422
- *
49497
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49423
49498
  * @summary Create a job
49424
49499
  * @param {string} environmentId Environment ID
49425
49500
  * @param {JobRequest} [jobRequest]
@@ -49468,7 +49543,7 @@ export declare const JobsApiFp: (configuration?: Configuration) => {
49468
49543
  */
49469
49544
  cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<JobResponse>>;
49470
49545
  /**
49471
- *
49546
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49472
49547
  * @summary Create a job
49473
49548
  * @param {string} environmentId Environment ID
49474
49549
  * @param {JobRequest} [jobRequest]
@@ -49517,7 +49592,7 @@ export declare const JobsApiFactory: (configuration?: Configuration, basePath?:
49517
49592
  */
49518
49593
  cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): AxiosPromise<JobResponse>;
49519
49594
  /**
49520
- *
49595
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49521
49596
  * @summary Create a job
49522
49597
  * @param {string} environmentId Environment ID
49523
49598
  * @param {JobRequest} [jobRequest]
@@ -49569,7 +49644,7 @@ export declare class JobsApi extends BaseAPI {
49569
49644
  */
49570
49645
  cloneJob(jobId: string, cloneServiceRequest?: CloneServiceRequest, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<JobResponse, any, {}, any>>;
49571
49646
  /**
49572
- *
49647
+ * Returns 404 when `source.image.registry_id` is a registry of another organization. The response does not name the registry. Returns 400 when: - `source` has both `image` and `docker`; - `source.image.image_name` with `source.image.tag` is not found in the registry.
49573
49648
  * @summary Create a job
49574
49649
  * @param {string} environmentId Environment ID
49575
49650
  * @param {JobRequest} [jobRequest]
@@ -51430,6 +51505,19 @@ export declare const OrganizationCustomDomainApiAxiosParamCreator: (configuratio
51430
51505
  * @throws {RequiredError}
51431
51506
  */
51432
51507
  bulkDeleteOrganizationCustomDomain: (organizationId: string, customDomainBulkDeleteItemRequest: Array<CustomDomainBulkDeleteItemRequest>, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51508
+ /**
51509
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
51510
+ * @summary Check the DNS of the organization\'s custom domains
51511
+ * @param {string} organizationId Organization ID
51512
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
51513
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
51514
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
51515
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
51516
+ * @param {number} [pageSize] The number of domains per page.
51517
+ * @param {*} [options] Override http request option.
51518
+ * @throws {RequiredError}
51519
+ */
51520
+ checkOrganizationCustomDomains: (organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
51433
51521
  /**
51434
51522
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
51435
51523
  * @summary List organization custom domains
@@ -51458,6 +51546,19 @@ export declare const OrganizationCustomDomainApiFp: (configuration?: Configurati
51458
51546
  * @throws {RequiredError}
51459
51547
  */
51460
51548
  bulkDeleteOrganizationCustomDomain(organizationId: string, customDomainBulkDeleteItemRequest: Array<CustomDomainBulkDeleteItemRequest>, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<CustomDomainDeletionResponse>>;
51549
+ /**
51550
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
51551
+ * @summary Check the DNS of the organization\'s custom domains
51552
+ * @param {string} organizationId Organization ID
51553
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
51554
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
51555
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
51556
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
51557
+ * @param {number} [pageSize] The number of domains per page.
51558
+ * @param {*} [options] Override http request option.
51559
+ * @throws {RequiredError}
51560
+ */
51561
+ checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<OrganizationCustomDomainCheckListResponse>>;
51461
51562
  /**
51462
51563
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
51463
51564
  * @summary List organization custom domains
@@ -51486,6 +51587,19 @@ export declare const OrganizationCustomDomainApiFactory: (configuration?: Config
51486
51587
  * @throws {RequiredError}
51487
51588
  */
51488
51589
  bulkDeleteOrganizationCustomDomain(organizationId: string, customDomainBulkDeleteItemRequest: Array<CustomDomainBulkDeleteItemRequest>, options?: RawAxiosRequestConfig): AxiosPromise<CustomDomainDeletionResponse>;
51590
+ /**
51591
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
51592
+ * @summary Check the DNS of the organization\'s custom domains
51593
+ * @param {string} organizationId Organization ID
51594
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
51595
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
51596
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
51597
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
51598
+ * @param {number} [pageSize] The number of domains per page.
51599
+ * @param {*} [options] Override http request option.
51600
+ * @throws {RequiredError}
51601
+ */
51602
+ checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): AxiosPromise<OrganizationCustomDomainCheckListResponse>;
51489
51603
  /**
51490
51604
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
51491
51605
  * @summary List organization custom domains
@@ -51517,6 +51631,20 @@ export declare class OrganizationCustomDomainApi extends BaseAPI {
51517
51631
  * @memberof OrganizationCustomDomainApi
51518
51632
  */
51519
51633
  bulkDeleteOrganizationCustomDomain(organizationId: string, customDomainBulkDeleteItemRequest: Array<CustomDomainBulkDeleteItemRequest>, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<CustomDomainDeletionResponse, any, {}, any>>;
51634
+ /**
51635
+ * Check the DNS of the custom domains of a page of the organization domains list, in one call. Only organization admins can call it. The query parameters are the ones of `listOrganizationCustomDomain`: the same values select the same domains, in the same order. There is one result per domain name of one environment, and one check per service the domain routes to. A check that could not run (cluster unreachable, timeout, service never deployed) has a `null` `status`; the other checks are still returned.
51636
+ * @summary Check the DNS of the organization\'s custom domains
51637
+ * @param {string} organizationId Organization ID
51638
+ * @param {string} [projectId] Only check the domains of this project. A project of another organization gives an empty list.
51639
+ * @param {string} [environmentId] Only check the domains of this environment. An environment of another organization gives an empty list.
51640
+ * @param {string} [search] Only check the domains whose name contains this text, ignoring case. The text is trimmed and matched literally, with no wildcard. A blank value does not filter.
51641
+ * @param {number} [page] The page to check, starting at 1. A page after the last one has no results.
51642
+ * @param {number} [pageSize] The number of domains per page.
51643
+ * @param {*} [options] Override http request option.
51644
+ * @throws {RequiredError}
51645
+ * @memberof OrganizationCustomDomainApi
51646
+ */
51647
+ checkOrganizationCustomDomains(organizationId: string, projectId?: string, environmentId?: string, search?: string, page?: number, pageSize?: number, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<OrganizationCustomDomainCheckListResponse, any, {}, any>>;
51520
51648
  /**
51521
51649
  * List the custom domains of every environment of the organization. Only organization admins can call it. Each result is one domain name of one environment, with every route that serves it: a domain shared by several services of an environment is a single result. Results are sorted by project name, environment name, environment id, then domain. A page never splits a domain.
51522
51650
  * @summary List organization custom domains