@jurislm/coolify-plugin 4.0.3 → 4.0.5

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.
@@ -167,7 +167,7 @@ export declare const componentSchemas: {
167
167
  is_spa: z.ZodOptional<z.ZodBoolean>;
168
168
  is_git_shallow_clone_enabled: z.ZodOptional<z.ZodBoolean>;
169
169
  is_pr_deployments_public_enabled: z.ZodOptional<z.ZodBoolean>;
170
- use_build_secrets: z.ZodOptional<z.ZodBoolean>;
170
+ use_build_secrets: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
171
171
  inject_build_args_to_dockerfile: z.ZodOptional<z.ZodBoolean>;
172
172
  include_source_commit_in_build: z.ZodOptional<z.ZodBoolean>;
173
173
  docker_images_to_keep: z.ZodOptional<z.ZodNumber>;
@@ -238,7 +238,7 @@ export declare const componentSchemas: {
238
238
  is_spa: z.ZodOptional<z.ZodBoolean>;
239
239
  is_git_shallow_clone_enabled: z.ZodOptional<z.ZodBoolean>;
240
240
  is_pr_deployments_public_enabled: z.ZodOptional<z.ZodBoolean>;
241
- use_build_secrets: z.ZodOptional<z.ZodBoolean>;
241
+ use_build_secrets: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
242
242
  inject_build_args_to_dockerfile: z.ZodOptional<z.ZodBoolean>;
243
243
  include_source_commit_in_build: z.ZodOptional<z.ZodBoolean>;
244
244
  docker_images_to_keep: z.ZodOptional<z.ZodNumber>;
@@ -276,7 +276,7 @@ export declare const componentSchemas: {
276
276
  id: z.ZodOptional<z.ZodNumber>;
277
277
  uuid: z.ZodOptional<z.ZodString>;
278
278
  name: z.ZodOptional<z.ZodString>;
279
- description: z.ZodOptional<z.ZodString>;
279
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
280
280
  private_key: z.ZodOptional<z.ZodString>;
281
281
  public_key: z.ZodOptional<z.ZodString>;
282
282
  fingerprint: z.ZodOptional<z.ZodString>;
@@ -437,7 +437,7 @@ export declare const componentSchemas: {
437
437
  connect_to_docker_network: z.ZodOptional<z.ZodBoolean>;
438
438
  is_container_label_escape_enabled: z.ZodOptional<z.ZodBoolean>;
439
439
  is_container_label_readonly_enabled: z.ZodOptional<z.ZodBoolean>;
440
- config_hash: z.ZodOptional<z.ZodString>;
440
+ config_hash: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
441
441
  service_type: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
442
442
  created_at: z.ZodOptional<z.ZodString>;
443
443
  updated_at: z.ZodOptional<z.ZodString>;
@@ -465,7 +465,7 @@ export declare const componentSchemas: {
465
465
  readonly Team: z.ZodObject<{
466
466
  id: z.ZodOptional<z.ZodNumber>;
467
467
  name: z.ZodOptional<z.ZodString>;
468
- description: z.ZodOptional<z.ZodString>;
468
+ description: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
469
469
  personal_team: z.ZodOptional<z.ZodBoolean>;
470
470
  created_at: z.ZodOptional<z.ZodString>;
471
471
  updated_at: z.ZodOptional<z.ZodString>;
@@ -475,11 +475,11 @@ export declare const componentSchemas: {
475
475
  id: z.ZodOptional<z.ZodNumber>;
476
476
  name: z.ZodOptional<z.ZodString>;
477
477
  email: z.ZodOptional<z.ZodString>;
478
- email_verified_at: z.ZodOptional<z.ZodString>;
478
+ email_verified_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
479
479
  created_at: z.ZodOptional<z.ZodString>;
480
480
  updated_at: z.ZodOptional<z.ZodString>;
481
- two_factor_confirmed_at: z.ZodOptional<z.ZodString>;
482
- force_password_reset: z.ZodOptional<z.ZodBoolean>;
481
+ two_factor_confirmed_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
482
+ force_password_reset: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
483
483
  marketing_emails: z.ZodOptional<z.ZodBoolean>;
484
484
  }, z.core.$strip>>>;
485
485
  }, z.core.$strip>;
@@ -487,11 +487,11 @@ export declare const componentSchemas: {
487
487
  id: z.ZodOptional<z.ZodNumber>;
488
488
  name: z.ZodOptional<z.ZodString>;
489
489
  email: z.ZodOptional<z.ZodString>;
490
- email_verified_at: z.ZodOptional<z.ZodString>;
490
+ email_verified_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
491
491
  created_at: z.ZodOptional<z.ZodString>;
492
492
  updated_at: z.ZodOptional<z.ZodString>;
493
- two_factor_confirmed_at: z.ZodOptional<z.ZodString>;
494
- force_password_reset: z.ZodOptional<z.ZodBoolean>;
493
+ two_factor_confirmed_at: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodNull]>>;
494
+ force_password_reset: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodString]>>;
495
495
  marketing_emails: z.ZodOptional<z.ZodBoolean>;
496
496
  }, z.core.$strip>;
497
497
  readonly DatabaseRecord: z.ZodObject<{
@@ -3,22 +3,22 @@ import { z } from "zod";
3
3
  export const componentSchemas = {
4
4
  "VolumeBackupScheduleRequest": z.object({ "frequency": z.string().max(255), "enabled": z.boolean().default(true), "save_s3": z.boolean().default(false), "disable_local_backup": z.boolean().default(false), "stop_during_backup": z.boolean().default(false), "s3_storage_uuid": z.union([z.string(), z.null()]).optional(), "retention_amount_locally": z.number().int().gte(0).lte(10000).default(7), "retention_days_locally": z.number().int().gte(0).lte(2147483647).default(0), "retention_max_storage_locally": z.number().gte(0).lte(9999999999).default(0), "retention_amount_s3": z.number().int().gte(0).lte(10000).default(7), "retention_days_s3": z.number().int().gte(0).lte(2147483647).default(0), "retention_max_storage_s3": z.number().gte(0).lte(9999999999).default(0), "timeout": z.number().int().gte(60).lte(36000).default(3600) }).strict(),
5
5
  "VolumeBackupScheduleResponse": z.object({ "uuid": z.string(), "message": z.string(), "storage_uuid": z.string(), "storage_type": z.enum(["persistent", "directory"]), "frequency": z.string(), "enabled": z.boolean(), "save_s3": z.boolean(), "disable_local_backup": z.boolean(), "stop_during_backup": z.boolean(), "s3_storage_uuid": z.union([z.string(), z.null()]).optional(), "retention_amount_locally": z.number().int(), "retention_days_locally": z.number().int(), "retention_max_storage_locally": z.number(), "retention_amount_s3": z.number().int(), "retention_days_s3": z.number().int(), "retention_max_storage_s3": z.number(), "timeout": z.number().int() }),
6
- "Application": z.object({ "id": z.number().int().describe("The application identifier in the database.").optional(), "description": z.union([z.string().describe("The application description."), z.null()]).optional(), "repository_project_id": z.union([z.number().int().describe("The repository project identifier."), z.null()]).optional(), "uuid": z.string().describe("The application UUID.").optional(), "name": z.string().describe("The application name.").optional(), "fqdn": z.union([z.string().describe("The application domains."), z.null()]).optional(), "noindex_domains": z.union([z.array(z.string()).describe("The subset of the application domains served with an X-Robots-Tag: noindex, nofollow response header."), z.null()]).optional(), "config_hash": z.string().describe("Configuration hash.").optional(), "git_repository": z.string().describe("Git repository URL.").optional(), "git_branch": z.string().describe("Git branch.").optional(), "git_commit_sha": z.string().describe("Git commit SHA.").optional(), "git_full_url": z.union([z.string().describe("Git full URL."), z.null()]).optional(), "docker_registry_image_name": z.union([z.string().describe("Docker registry image name."), z.null()]).optional(), "docker_registry_image_tag": z.union([z.string().describe("Docker registry image tag."), z.null()]).optional(), "build_pack": z.enum(["nixpacks", "railpack", "static", "dockerfile", "dockercompose"]).describe("Build pack.").optional(), "static_image": z.string().describe("Static image used when static site is deployed.").optional(), "install_command": z.union([z.string().describe("Install command."), z.null()]).optional(), "build_command": z.union([z.string().describe("Build command."), z.null()]).optional(), "start_command": z.union([z.string().describe("Start command."), z.null()]).optional(), "ports_exposes": z.string().describe("Ports exposes.").optional(), "ports_mappings": z.union([z.string().describe("Ports mappings."), z.null()]).optional(), "custom_network_aliases": z.union([z.string().describe("Network aliases for Docker container."), z.null()]).optional(), "base_directory": z.string().describe("Base directory for all commands.").optional(), "publish_directory": z.union([z.string().describe("Publish directory."), z.null()]).optional(), "health_check_enabled": z.boolean().describe("Health check enabled.").optional(), "health_check_path": z.string().describe("Health check path.").optional(), "health_check_port": z.union([z.string().describe("Health check port."), z.null()]).optional(), "health_check_host": z.union([z.string().describe("Health check host."), z.null()]).optional(), "health_check_method": z.string().describe("Health check method.").optional(), "health_check_return_code": z.number().int().describe("Health check return code.").optional(), "health_check_scheme": z.string().describe("Health check scheme.").optional(), "health_check_response_text": z.union([z.string().describe("Health check response text."), z.null()]).optional(), "health_check_interval": z.number().int().describe("Health check interval in seconds.").optional(), "health_check_timeout": z.number().int().describe("Health check timeout in seconds.").optional(), "health_check_retries": z.number().int().describe("Health check retries count.").optional(), "health_check_start_period": z.number().int().describe("Health check start period in seconds.").optional(), "health_check_type": z.enum(["http", "cmd"]).describe("Health check type: http or cmd.").optional(), "health_check_command": z.union([z.string().describe("Health check command for CMD type."), z.null()]).optional(), "limits_memory": z.string().describe("Memory limit.").optional(), "limits_memory_swap": z.string().describe("Memory swap limit.").optional(), "limits_memory_swappiness": z.number().int().describe("Memory swappiness.").optional(), "limits_memory_reservation": z.string().describe("Memory reservation.").optional(), "limits_cpus": z.string().describe("CPU limit.").optional(), "limits_cpuset": z.union([z.string().describe("CPU set."), z.null()]).optional(), "limits_cpu_shares": z.number().int().describe("CPU shares.").optional(), "status": z.string().describe("Application status.").optional(), "preview_url_template": z.string().describe("Preview URL template.").optional(), "max_restart_count": z.number().int().describe("Maximum container restart count before stopping.").optional(), "destination_type": z.string().describe("Destination type.").optional(), "destination_id": z.number().int().describe("Destination identifier.").optional(), "source_id": z.union([z.number().int().describe("Source identifier."), z.null()]).optional(), "private_key_id": z.union([z.string().describe("Private key identifier."), z.null()]).optional(), "environment_id": z.number().int().describe("Environment identifier.").optional(), "dockerfile": z.union([z.string().describe("Dockerfile content. Used for dockerfile build pack."), z.null()]).optional(), "dockerfile_location": z.union([z.string().describe("Dockerfile location."), z.null()]).optional(), "custom_labels": z.union([z.string().describe("Custom labels."), z.null()]).optional(), "dockerfile_target_build": z.union([z.string().describe("Dockerfile target build."), z.null()]).optional(), "manual_webhook_secret_github": z.union([z.string().describe("Manual webhook secret for GitHub."), z.null()]).optional(), "manual_webhook_secret_gitlab": z.union([z.string().describe("Manual webhook secret for GitLab."), z.null()]).optional(), "manual_webhook_secret_bitbucket": z.union([z.string().describe("Manual webhook secret for Bitbucket."), z.null()]).optional(), "manual_webhook_secret_gitea": z.union([z.string().describe("Manual webhook secret for Gitea."), z.null()]).optional(), "docker_compose_location": z.string().describe("Docker compose location.").optional(), "docker_compose": z.union([z.string().describe("Docker compose content. Used for docker compose build pack."), z.null()]).optional(), "docker_compose_raw": z.union([z.string().describe("Docker compose raw content."), z.null()]).optional(), "docker_compose_domains": z.union([z.string().describe("Docker compose domains."), z.null()]).optional(), "docker_compose_custom_start_command": z.union([z.string().describe("Docker compose custom start command."), z.null()]).optional(), "docker_compose_custom_build_command": z.union([z.string().describe("Docker compose custom build command."), z.null()]).optional(), "swarm_replicas": z.union([z.number().int().describe("Swarm replicas. Only used for swarm deployments."), z.null()]).optional(), "swarm_placement_constraints": z.union([z.string().describe("Swarm placement constraints. Only used for swarm deployments."), z.null()]).optional(), "custom_docker_run_options": z.union([z.string().describe("Custom docker run options."), z.null()]).optional(), "post_deployment_command": z.union([z.string().describe("Post deployment command."), z.null()]).optional(), "post_deployment_command_container": z.union([z.string().describe("Post deployment command container."), z.null()]).optional(), "pre_deployment_command": z.union([z.string().describe("Pre deployment command."), z.null()]).optional(), "pre_deployment_command_container": z.union([z.string().describe("Pre deployment command container."), z.null()]).optional(), "watch_paths": z.union([z.string().describe("Watch paths."), z.null()]).optional(), "custom_healthcheck_found": z.boolean().describe("Custom healthcheck found.").optional(), "redirect": z.union([z.enum(["www", "non-www", "both"]).describe("How to set redirect with Traefik / Caddy. www<->non-www."), z.null()]).optional(), "created_at": z.string().datetime({ offset: true }).describe("The date and time when the application was created.").optional(), "updated_at": z.string().datetime({ offset: true }).describe("The date and time when the application was last updated.").optional(), "deleted_at": z.union([z.string().datetime({ offset: true }).describe("The date and time when the application was deleted."), z.null()]).optional(), "compose_parsing_version": z.string().describe("How Coolify parse the compose file.").optional(), "custom_nginx_configuration": z.union([z.string().describe("Custom Nginx configuration base64 encoded."), z.null()]).optional(), "is_http_basic_auth_enabled": z.boolean().describe("HTTP Basic Authentication enabled.").optional(), "http_basic_auth_username": z.union([z.string().describe("Username for HTTP Basic Authentication"), z.null()]).optional(), "http_basic_auth_password": z.union([z.string().describe("Password for HTTP Basic Authentication"), z.null()]).optional(), "settings": z.object({ "is_static": z.boolean().optional(), "is_git_submodules_enabled": z.boolean().optional(), "is_git_lfs_enabled": z.boolean().optional(), "is_auto_deploy_enabled": z.boolean().optional(), "is_force_https_enabled": z.boolean().optional(), "is_debug_enabled": z.boolean().optional(), "is_preview_deployments_enabled": z.boolean().optional(), "is_log_drain_enabled": z.boolean().optional(), "is_gpu_enabled": z.boolean().optional(), "gpu_driver": z.union([z.string(), z.null()]).optional(), "gpu_count": z.union([z.string(), z.null()]).optional(), "gpu_device_ids": z.union([z.string(), z.null()]).optional(), "gpu_options": z.union([z.string(), z.null()]).optional(), "is_include_timestamps": z.boolean().optional(), "is_swarm_only_worker_nodes": z.boolean().optional(), "is_raw_compose_deployment_enabled": z.boolean().optional(), "is_build_server_enabled": z.boolean().optional(), "is_consistent_container_name_enabled": z.boolean().optional(), "is_gzip_enabled": z.boolean().optional(), "is_stripprefix_enabled": z.boolean().optional(), "connect_to_docker_network": z.boolean().optional(), "custom_internal_name": z.union([z.string(), z.null()]).optional(), "is_container_label_escape_enabled": z.boolean().optional(), "is_env_sorting_enabled": z.boolean().optional(), "is_container_label_readonly_enabled": z.boolean().optional(), "is_preserve_repository_enabled": z.boolean().optional(), "disable_build_cache": z.boolean().optional(), "is_spa": z.boolean().optional(), "is_git_shallow_clone_enabled": z.boolean().optional(), "is_pr_deployments_public_enabled": z.boolean().optional(), "use_build_secrets": z.boolean().optional(), "inject_build_args_to_dockerfile": z.boolean().optional(), "include_source_commit_in_build": z.boolean().optional(), "docker_images_to_keep": z.number().int().optional(), "stop_grace_period": z.union([z.number().int(), z.null()]).optional() }).describe("Application settings.").optional() }).describe("Application model"),
6
+ "Application": z.object({ "id": z.number().int().describe("The application identifier in the database.").optional(), "description": z.union([z.string().describe("The application description."), z.null()]).optional(), "repository_project_id": z.union([z.number().int().describe("The repository project identifier."), z.null()]).optional(), "uuid": z.string().describe("The application UUID.").optional(), "name": z.string().describe("The application name.").optional(), "fqdn": z.union([z.string().describe("The application domains."), z.null()]).optional(), "noindex_domains": z.union([z.array(z.string()).describe("The subset of the application domains served with an X-Robots-Tag: noindex, nofollow response header."), z.null()]).optional(), "config_hash": z.string().describe("Configuration hash.").optional(), "git_repository": z.string().describe("Git repository URL.").optional(), "git_branch": z.string().describe("Git branch.").optional(), "git_commit_sha": z.string().describe("Git commit SHA.").optional(), "git_full_url": z.union([z.string().describe("Git full URL."), z.null()]).optional(), "docker_registry_image_name": z.union([z.string().describe("Docker registry image name."), z.null()]).optional(), "docker_registry_image_tag": z.union([z.string().describe("Docker registry image tag."), z.null()]).optional(), "build_pack": z.enum(["nixpacks", "railpack", "static", "dockerfile", "dockercompose"]).describe("Build pack.").optional(), "static_image": z.string().describe("Static image used when static site is deployed.").optional(), "install_command": z.union([z.string().describe("Install command."), z.null()]).optional(), "build_command": z.union([z.string().describe("Build command."), z.null()]).optional(), "start_command": z.union([z.string().describe("Start command."), z.null()]).optional(), "ports_exposes": z.string().describe("Ports exposes.").optional(), "ports_mappings": z.union([z.string().describe("Ports mappings."), z.null()]).optional(), "custom_network_aliases": z.union([z.string().describe("Network aliases for Docker container."), z.null()]).optional(), "base_directory": z.string().describe("Base directory for all commands.").optional(), "publish_directory": z.union([z.string().describe("Publish directory."), z.null()]).optional(), "health_check_enabled": z.boolean().describe("Health check enabled.").optional(), "health_check_path": z.string().describe("Health check path.").optional(), "health_check_port": z.union([z.string().describe("Health check port."), z.null()]).optional(), "health_check_host": z.union([z.string().describe("Health check host."), z.null()]).optional(), "health_check_method": z.string().describe("Health check method.").optional(), "health_check_return_code": z.number().int().describe("Health check return code.").optional(), "health_check_scheme": z.string().describe("Health check scheme.").optional(), "health_check_response_text": z.union([z.string().describe("Health check response text."), z.null()]).optional(), "health_check_interval": z.number().int().describe("Health check interval in seconds.").optional(), "health_check_timeout": z.number().int().describe("Health check timeout in seconds.").optional(), "health_check_retries": z.number().int().describe("Health check retries count.").optional(), "health_check_start_period": z.number().int().describe("Health check start period in seconds.").optional(), "health_check_type": z.enum(["http", "cmd"]).describe("Health check type: http or cmd.").optional(), "health_check_command": z.union([z.string().describe("Health check command for CMD type."), z.null()]).optional(), "limits_memory": z.string().describe("Memory limit.").optional(), "limits_memory_swap": z.string().describe("Memory swap limit.").optional(), "limits_memory_swappiness": z.number().int().describe("Memory swappiness.").optional(), "limits_memory_reservation": z.string().describe("Memory reservation.").optional(), "limits_cpus": z.string().describe("CPU limit.").optional(), "limits_cpuset": z.union([z.string().describe("CPU set."), z.null()]).optional(), "limits_cpu_shares": z.number().int().describe("CPU shares.").optional(), "status": z.string().describe("Application status.").optional(), "preview_url_template": z.string().describe("Preview URL template.").optional(), "max_restart_count": z.number().int().describe("Maximum container restart count before stopping.").optional(), "destination_type": z.string().describe("Destination type.").optional(), "destination_id": z.number().int().describe("Destination identifier.").optional(), "source_id": z.union([z.number().int().describe("Source identifier."), z.null()]).optional(), "private_key_id": z.union([z.string().describe("Private key identifier."), z.null()]).optional(), "environment_id": z.number().int().describe("Environment identifier.").optional(), "dockerfile": z.union([z.string().describe("Dockerfile content. Used for dockerfile build pack."), z.null()]).optional(), "dockerfile_location": z.union([z.string().describe("Dockerfile location."), z.null()]).optional(), "custom_labels": z.union([z.string().describe("Custom labels."), z.null()]).optional(), "dockerfile_target_build": z.union([z.string().describe("Dockerfile target build."), z.null()]).optional(), "manual_webhook_secret_github": z.union([z.string().describe("Manual webhook secret for GitHub."), z.null()]).optional(), "manual_webhook_secret_gitlab": z.union([z.string().describe("Manual webhook secret for GitLab."), z.null()]).optional(), "manual_webhook_secret_bitbucket": z.union([z.string().describe("Manual webhook secret for Bitbucket."), z.null()]).optional(), "manual_webhook_secret_gitea": z.union([z.string().describe("Manual webhook secret for Gitea."), z.null()]).optional(), "docker_compose_location": z.string().describe("Docker compose location.").optional(), "docker_compose": z.union([z.string().describe("Docker compose content. Used for docker compose build pack."), z.null()]).optional(), "docker_compose_raw": z.union([z.string().describe("Docker compose raw content."), z.null()]).optional(), "docker_compose_domains": z.union([z.string().describe("Docker compose domains."), z.null()]).optional(), "docker_compose_custom_start_command": z.union([z.string().describe("Docker compose custom start command."), z.null()]).optional(), "docker_compose_custom_build_command": z.union([z.string().describe("Docker compose custom build command."), z.null()]).optional(), "swarm_replicas": z.union([z.number().int().describe("Swarm replicas. Only used for swarm deployments."), z.null()]).optional(), "swarm_placement_constraints": z.union([z.string().describe("Swarm placement constraints. Only used for swarm deployments."), z.null()]).optional(), "custom_docker_run_options": z.union([z.string().describe("Custom docker run options."), z.null()]).optional(), "post_deployment_command": z.union([z.string().describe("Post deployment command."), z.null()]).optional(), "post_deployment_command_container": z.union([z.string().describe("Post deployment command container."), z.null()]).optional(), "pre_deployment_command": z.union([z.string().describe("Pre deployment command."), z.null()]).optional(), "pre_deployment_command_container": z.union([z.string().describe("Pre deployment command container."), z.null()]).optional(), "watch_paths": z.union([z.string().describe("Watch paths."), z.null()]).optional(), "custom_healthcheck_found": z.boolean().describe("Custom healthcheck found.").optional(), "redirect": z.union([z.enum(["www", "non-www", "both"]).describe("How to set redirect with Traefik / Caddy. www<->non-www."), z.null()]).optional(), "created_at": z.string().datetime({ offset: true }).describe("The date and time when the application was created.").optional(), "updated_at": z.string().datetime({ offset: true }).describe("The date and time when the application was last updated.").optional(), "deleted_at": z.union([z.string().datetime({ offset: true }).describe("The date and time when the application was deleted."), z.null()]).optional(), "compose_parsing_version": z.string().describe("How Coolify parse the compose file.").optional(), "custom_nginx_configuration": z.union([z.string().describe("Custom Nginx configuration base64 encoded."), z.null()]).optional(), "is_http_basic_auth_enabled": z.boolean().describe("HTTP Basic Authentication enabled.").optional(), "http_basic_auth_username": z.union([z.string().describe("Username for HTTP Basic Authentication"), z.null()]).optional(), "http_basic_auth_password": z.union([z.string().describe("Password for HTTP Basic Authentication"), z.null()]).optional(), "settings": z.object({ "is_static": z.boolean().optional(), "is_git_submodules_enabled": z.boolean().optional(), "is_git_lfs_enabled": z.boolean().optional(), "is_auto_deploy_enabled": z.boolean().optional(), "is_force_https_enabled": z.boolean().optional(), "is_debug_enabled": z.boolean().optional(), "is_preview_deployments_enabled": z.boolean().optional(), "is_log_drain_enabled": z.boolean().optional(), "is_gpu_enabled": z.boolean().optional(), "gpu_driver": z.union([z.string(), z.null()]).optional(), "gpu_count": z.union([z.string(), z.null()]).optional(), "gpu_device_ids": z.union([z.string(), z.null()]).optional(), "gpu_options": z.union([z.string(), z.null()]).optional(), "is_include_timestamps": z.boolean().optional(), "is_swarm_only_worker_nodes": z.boolean().optional(), "is_raw_compose_deployment_enabled": z.boolean().optional(), "is_build_server_enabled": z.boolean().optional(), "is_consistent_container_name_enabled": z.boolean().optional(), "is_gzip_enabled": z.boolean().optional(), "is_stripprefix_enabled": z.boolean().optional(), "connect_to_docker_network": z.boolean().optional(), "custom_internal_name": z.union([z.string(), z.null()]).optional(), "is_container_label_escape_enabled": z.boolean().optional(), "is_env_sorting_enabled": z.boolean().optional(), "is_container_label_readonly_enabled": z.boolean().optional(), "is_preserve_repository_enabled": z.boolean().optional(), "disable_build_cache": z.boolean().optional(), "is_spa": z.boolean().optional(), "is_git_shallow_clone_enabled": z.boolean().optional(), "is_pr_deployments_public_enabled": z.boolean().optional(), "use_build_secrets": z.union([z.boolean(), z.string()]).optional(), "inject_build_args_to_dockerfile": z.boolean().optional(), "include_source_commit_in_build": z.boolean().optional(), "docker_images_to_keep": z.number().int().optional(), "stop_grace_period": z.union([z.number().int(), z.null()]).optional() }).describe("Application settings.").optional() }).describe("Application model"),
7
7
  "ApplicationDeploymentQueue": z.object({ "id": z.number().int().optional(), "application_id": z.string().optional(), "deployment_uuid": z.string().optional(), "pull_request_id": z.number().int().optional(), "docker_registry_image_tag": z.union([z.string(), z.null()]).optional(), "configuration_hash": z.union([z.string(), z.null()]).optional(), "configuration_snapshot": z.union([z.record(z.string(), z.any()), z.null()]).optional(), "configuration_diff": z.union([z.record(z.string(), z.any()), z.null()]).optional(), "force_rebuild": z.boolean().optional(), "commit": z.string().optional(), "status": z.string().optional(), "is_webhook": z.boolean().optional(), "is_api": z.boolean().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional(), "logs": z.string().optional(), "current_process_id": z.string().optional(), "restart_only": z.boolean().optional(), "git_type": z.union([z.string(), z.null()]).optional(), "server_id": z.number().int().optional(), "application_name": z.string().optional(), "server_name": z.string().optional(), "deployment_url": z.string().optional(), "destination_id": z.string().optional(), "only_this_server": z.boolean().optional(), "rollback": z.boolean().optional(), "commit_message": z.string().optional(), "build_server_id": z.union([z.number().int(), z.null()]).optional(), "horizon_job_id": z.union([z.string(), z.null()]).optional(), "horizon_job_worker": z.union([z.string(), z.null()]).optional(), "finished_at": z.union([z.string(), z.null()]).optional() }).describe("Project model"),
8
- "ApplicationSetting": z.object({ "is_static": z.boolean().optional(), "is_git_submodules_enabled": z.boolean().optional(), "is_git_lfs_enabled": z.boolean().optional(), "is_auto_deploy_enabled": z.boolean().optional(), "is_force_https_enabled": z.boolean().optional(), "is_debug_enabled": z.boolean().optional(), "is_preview_deployments_enabled": z.boolean().optional(), "is_log_drain_enabled": z.boolean().optional(), "is_gpu_enabled": z.boolean().optional(), "gpu_driver": z.union([z.string(), z.null()]).optional(), "gpu_count": z.union([z.string(), z.null()]).optional(), "gpu_device_ids": z.union([z.string(), z.null()]).optional(), "gpu_options": z.union([z.string(), z.null()]).optional(), "is_include_timestamps": z.boolean().optional(), "is_swarm_only_worker_nodes": z.boolean().optional(), "is_raw_compose_deployment_enabled": z.boolean().optional(), "is_build_server_enabled": z.boolean().optional(), "is_consistent_container_name_enabled": z.boolean().optional(), "is_gzip_enabled": z.boolean().optional(), "is_stripprefix_enabled": z.boolean().optional(), "connect_to_docker_network": z.boolean().optional(), "custom_internal_name": z.union([z.string(), z.null()]).optional(), "is_container_label_escape_enabled": z.boolean().optional(), "is_env_sorting_enabled": z.boolean().optional(), "is_container_label_readonly_enabled": z.boolean().optional(), "is_preserve_repository_enabled": z.boolean().optional(), "disable_build_cache": z.boolean().optional(), "is_spa": z.boolean().optional(), "is_git_shallow_clone_enabled": z.boolean().optional(), "is_pr_deployments_public_enabled": z.boolean().optional(), "use_build_secrets": z.boolean().optional(), "inject_build_args_to_dockerfile": z.boolean().optional(), "include_source_commit_in_build": z.boolean().optional(), "docker_images_to_keep": z.number().int().optional(), "stop_grace_period": z.union([z.number().int(), z.null()]).optional() }).describe("Application settings."),
8
+ "ApplicationSetting": z.object({ "is_static": z.boolean().optional(), "is_git_submodules_enabled": z.boolean().optional(), "is_git_lfs_enabled": z.boolean().optional(), "is_auto_deploy_enabled": z.boolean().optional(), "is_force_https_enabled": z.boolean().optional(), "is_debug_enabled": z.boolean().optional(), "is_preview_deployments_enabled": z.boolean().optional(), "is_log_drain_enabled": z.boolean().optional(), "is_gpu_enabled": z.boolean().optional(), "gpu_driver": z.union([z.string(), z.null()]).optional(), "gpu_count": z.union([z.string(), z.null()]).optional(), "gpu_device_ids": z.union([z.string(), z.null()]).optional(), "gpu_options": z.union([z.string(), z.null()]).optional(), "is_include_timestamps": z.boolean().optional(), "is_swarm_only_worker_nodes": z.boolean().optional(), "is_raw_compose_deployment_enabled": z.boolean().optional(), "is_build_server_enabled": z.boolean().optional(), "is_consistent_container_name_enabled": z.boolean().optional(), "is_gzip_enabled": z.boolean().optional(), "is_stripprefix_enabled": z.boolean().optional(), "connect_to_docker_network": z.boolean().optional(), "custom_internal_name": z.union([z.string(), z.null()]).optional(), "is_container_label_escape_enabled": z.boolean().optional(), "is_env_sorting_enabled": z.boolean().optional(), "is_container_label_readonly_enabled": z.boolean().optional(), "is_preserve_repository_enabled": z.boolean().optional(), "disable_build_cache": z.boolean().optional(), "is_spa": z.boolean().optional(), "is_git_shallow_clone_enabled": z.boolean().optional(), "is_pr_deployments_public_enabled": z.boolean().optional(), "use_build_secrets": z.union([z.boolean(), z.string()]).optional(), "inject_build_args_to_dockerfile": z.boolean().optional(), "include_source_commit_in_build": z.boolean().optional(), "docker_images_to_keep": z.number().int().optional(), "stop_grace_period": z.union([z.number().int(), z.null()]).optional() }).describe("Application settings."),
9
9
  "Environment": z.object({ "id": z.number().int().optional(), "name": z.string().optional(), "project_id": z.number().int().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional(), "description": z.union([z.string(), z.null()]).optional() }).describe("Environment model"),
10
10
  "EnvironmentVariable": z.object({ "id": z.number().int().optional(), "uuid": z.string().optional(), "resourceable_type": z.string().optional(), "resourceable_id": z.number().int().optional(), "is_literal": z.boolean().optional(), "is_multiline": z.boolean().optional(), "is_preview": z.boolean().optional(), "is_runtime": z.boolean().optional(), "is_buildtime": z.boolean().optional(), "is_shared": z.boolean().optional(), "is_shown_once": z.boolean().optional(), "key": z.string().optional(), "value": z.string().optional(), "real_value": z.string().optional(), "comment": z.union([z.string(), z.null()]).optional(), "version": z.string().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional() }).describe("Environment Variable model"),
11
- "PrivateKey": z.object({ "id": z.number().int().optional(), "uuid": z.string().optional(), "name": z.string().optional(), "description": z.string().optional(), "private_key": z.string().optional(), "public_key": z.string().describe("The public key of the private key.").optional(), "fingerprint": z.string().describe("The fingerprint of the private key.").optional(), "is_git_related": z.boolean().optional(), "team_id": z.number().int().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional() }).describe("Private Key model"),
11
+ "PrivateKey": z.object({ "id": z.number().int().optional(), "uuid": z.string().optional(), "name": z.string().optional(), "description": z.union([z.string(), z.null()]).optional(), "private_key": z.string().optional(), "public_key": z.string().describe("The public key of the private key.").optional(), "fingerprint": z.string().describe("The fingerprint of the private key.").optional(), "is_git_related": z.boolean().optional(), "team_id": z.number().int().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional() }).describe("Private Key model"),
12
12
  "Project": z.object({ "id": z.number().int().optional(), "uuid": z.string().optional(), "name": z.string().optional(), "description": z.string().optional() }).describe("Project model"),
13
13
  "ScheduledTask": z.object({ "id": z.number().int().describe("The unique identifier of the scheduled task in the database.").optional(), "uuid": z.string().describe("The unique identifier of the scheduled task.").optional(), "enabled": z.boolean().describe("The flag to indicate if the scheduled task is enabled.").optional(), "name": z.string().describe("The name of the scheduled task.").optional(), "command": z.string().describe("The command to execute.").optional(), "frequency": z.string().describe("The frequency of the scheduled task.").optional(), "container": z.union([z.string().describe("The container where the command should be executed."), z.null()]).optional(), "timeout": z.number().int().describe("The timeout of the scheduled task in seconds.").optional(), "created_at": z.string().datetime({ offset: true }).describe("The date and time when the scheduled task was created.").optional(), "updated_at": z.string().datetime({ offset: true }).describe("The date and time when the scheduled task was last updated.").optional() }).describe("Scheduled Task model"),
14
14
  "ScheduledTaskExecution": z.object({ "uuid": z.string().describe("The unique identifier of the execution.").optional(), "status": z.enum(["success", "failed", "running"]).describe("The status of the execution.").optional(), "message": z.union([z.string().describe("The output message of the execution."), z.null()]).optional(), "retry_count": z.number().int().describe("The number of retries.").optional(), "duration": z.union([z.number().describe("Duration in seconds."), z.null()]).optional(), "started_at": z.union([z.string().datetime({ offset: true }).describe("When the execution started."), z.null()]).optional(), "finished_at": z.union([z.string().datetime({ offset: true }).describe("When the execution finished."), z.null()]).optional(), "created_at": z.string().datetime({ offset: true }).describe("When the record was created.").optional(), "updated_at": z.string().datetime({ offset: true }).describe("When the record was last updated.").optional() }).describe("Scheduled Task Execution model"),
15
15
  "Server": z.object({ "id": z.number().int().describe("The server ID.").optional(), "uuid": z.string().describe("The server UUID.").optional(), "name": z.string().describe("The server name.").optional(), "description": z.string().describe("The server description.").optional(), "ip": z.string().describe("The IP address.").optional(), "user": z.string().describe("The user.").optional(), "port": z.number().int().describe("The port number.").optional(), "proxy": z.record(z.string(), z.any()).describe("The proxy configuration.").optional(), "proxy_type": z.enum(["traefik", "caddy", "none"]).describe("The proxy type.").optional(), "high_disk_usage_notification_sent": z.boolean().describe("The flag to indicate if the high disk usage notification has been sent.").optional(), "unreachable_notification_sent": z.boolean().describe("The flag to indicate if the unreachable notification has been sent.").optional(), "unreachable_count": z.number().int().describe("The unreachable count for your server.").optional(), "validation_logs": z.union([z.string().describe("The validation logs."), z.null()]).optional(), "log_drain_notification_sent": z.boolean().describe("The flag to indicate if the log drain notification has been sent.").optional(), "swarm_cluster": z.union([z.string().describe("The swarm cluster configuration."), z.null()]).optional(), "settings": z.object({ "id": z.number().int().optional(), "concurrent_builds": z.number().int().optional(), "deployment_queue_limit": z.number().int().optional(), "dynamic_timeout": z.number().int().optional(), "force_disabled": z.boolean().optional(), "force_server_cleanup": z.boolean().optional(), "is_build_server": z.boolean().optional(), "is_cloudflare_tunnel": z.boolean().optional(), "is_jump_server": z.boolean().optional(), "is_logdrain_axiom_enabled": z.boolean().optional(), "is_logdrain_custom_enabled": z.boolean().optional(), "is_logdrain_highlight_enabled": z.boolean().optional(), "is_logdrain_newrelic_enabled": z.boolean().optional(), "is_metrics_enabled": z.boolean().optional(), "is_reachable": z.boolean().optional(), "is_sentinel_enabled": z.boolean().optional(), "is_swarm_manager": z.boolean().optional(), "is_swarm_worker": z.boolean().optional(), "is_terminal_enabled": z.boolean().optional(), "is_usable": z.boolean().optional(), "logdrain_axiom_api_key": z.union([z.string(), z.null()]).optional(), "logdrain_axiom_dataset_name": z.union([z.string(), z.null()]).optional(), "logdrain_custom_config": z.union([z.string(), z.null()]).optional(), "logdrain_custom_config_parser": z.union([z.string(), z.null()]).optional(), "logdrain_highlight_project_id": z.union([z.string(), z.null()]).optional(), "logdrain_newrelic_base_uri": z.union([z.string(), z.null()]).optional(), "logdrain_newrelic_license_key": z.union([z.string(), z.null()]).optional(), "sentinel_metrics_history_days": z.number().int().optional(), "sentinel_metrics_refresh_rate_seconds": z.number().int().optional(), "sentinel_token": z.string().optional(), "docker_cleanup_frequency": z.string().optional(), "docker_cleanup_threshold": z.number().int().optional(), "server_id": z.number().int().optional(), "wildcard_domain": z.union([z.string(), z.null()]).optional(), "created_at": z.string().optional(), "updated_at": z.string().optional(), "delete_unused_volumes": z.boolean().describe("The flag to indicate if the unused volumes should be deleted.").optional(), "delete_unused_networks": z.boolean().describe("The flag to indicate if the unused networks should be deleted.").optional(), "connection_timeout": z.number().int().describe("SSH connection timeout in seconds.").optional() }).describe("Server Settings model").optional(), "is_reachable": z.boolean().optional(), "is_usable": z.boolean().optional() }).describe("Server model"),
16
16
  "ServerSetting": z.object({ "id": z.number().int().optional(), "concurrent_builds": z.number().int().optional(), "deployment_queue_limit": z.number().int().optional(), "dynamic_timeout": z.number().int().optional(), "force_disabled": z.boolean().optional(), "force_server_cleanup": z.boolean().optional(), "is_build_server": z.boolean().optional(), "is_cloudflare_tunnel": z.boolean().optional(), "is_jump_server": z.boolean().optional(), "is_logdrain_axiom_enabled": z.boolean().optional(), "is_logdrain_custom_enabled": z.boolean().optional(), "is_logdrain_highlight_enabled": z.boolean().optional(), "is_logdrain_newrelic_enabled": z.boolean().optional(), "is_metrics_enabled": z.boolean().optional(), "is_reachable": z.boolean().optional(), "is_sentinel_enabled": z.boolean().optional(), "is_swarm_manager": z.boolean().optional(), "is_swarm_worker": z.boolean().optional(), "is_terminal_enabled": z.boolean().optional(), "is_usable": z.boolean().optional(), "logdrain_axiom_api_key": z.union([z.string(), z.null()]).optional(), "logdrain_axiom_dataset_name": z.union([z.string(), z.null()]).optional(), "logdrain_custom_config": z.union([z.string(), z.null()]).optional(), "logdrain_custom_config_parser": z.union([z.string(), z.null()]).optional(), "logdrain_highlight_project_id": z.union([z.string(), z.null()]).optional(), "logdrain_newrelic_base_uri": z.union([z.string(), z.null()]).optional(), "logdrain_newrelic_license_key": z.union([z.string(), z.null()]).optional(), "sentinel_metrics_history_days": z.number().int().optional(), "sentinel_metrics_refresh_rate_seconds": z.number().int().optional(), "sentinel_token": z.string().optional(), "docker_cleanup_frequency": z.string().optional(), "docker_cleanup_threshold": z.number().int().optional(), "server_id": z.number().int().optional(), "wildcard_domain": z.union([z.string(), z.null()]).optional(), "created_at": z.string().optional(), "updated_at": z.string().optional(), "delete_unused_volumes": z.boolean().describe("The flag to indicate if the unused volumes should be deleted.").optional(), "delete_unused_networks": z.boolean().describe("The flag to indicate if the unused networks should be deleted.").optional(), "connection_timeout": z.number().int().describe("SSH connection timeout in seconds.").optional() }).describe("Server Settings model"),
17
- "Service": z.object({ "id": z.number().int().describe("The unique identifier of the service. Only used for database identification.").optional(), "uuid": z.string().describe("The unique identifier of the service.").optional(), "name": z.string().describe("The name of the service.").optional(), "environment_id": z.number().int().describe("The unique identifier of the environment where the service is attached to.").optional(), "server_id": z.number().int().describe("The unique identifier of the server where the service is running.").optional(), "description": z.string().describe("The description of the service.").optional(), "docker_compose_raw": z.string().describe("The raw docker-compose.yml file of the service.").optional(), "docker_compose": z.string().describe("The docker-compose.yml file that is parsed and modified by Coolify.").optional(), "destination_type": z.string().describe("Destination type.").optional(), "destination_id": z.number().int().describe("The unique identifier of the destination where the service is running.").optional(), "connect_to_docker_network": z.boolean().describe("The flag to connect the service to the predefined Docker network.").optional(), "is_container_label_escape_enabled": z.boolean().describe("The flag to enable the container label escape.").optional(), "is_container_label_readonly_enabled": z.boolean().describe("The flag to enable the container label readonly.").optional(), "config_hash": z.string().describe("The hash of the service configuration.").optional(), "service_type": z.union([z.string().describe("The type of the service."), z.null()]).optional(), "created_at": z.string().describe("The date and time when the service was created.").optional(), "updated_at": z.string().describe("The date and time when the service was last updated.").optional(), "deleted_at": z.union([z.string().describe("The date and time when the service was deleted."), z.null()]).optional(), "status": z.string().optional() }).describe("Service model"),
17
+ "Service": z.object({ "id": z.number().int().describe("The unique identifier of the service. Only used for database identification.").optional(), "uuid": z.string().describe("The unique identifier of the service.").optional(), "name": z.string().describe("The name of the service.").optional(), "environment_id": z.number().int().describe("The unique identifier of the environment where the service is attached to.").optional(), "server_id": z.number().int().describe("The unique identifier of the server where the service is running.").optional(), "description": z.string().describe("The description of the service.").optional(), "docker_compose_raw": z.string().describe("The raw docker-compose.yml file of the service.").optional(), "docker_compose": z.string().describe("The docker-compose.yml file that is parsed and modified by Coolify.").optional(), "destination_type": z.string().describe("Destination type.").optional(), "destination_id": z.number().int().describe("The unique identifier of the destination where the service is running.").optional(), "connect_to_docker_network": z.boolean().describe("The flag to connect the service to the predefined Docker network.").optional(), "is_container_label_escape_enabled": z.boolean().describe("The flag to enable the container label escape.").optional(), "is_container_label_readonly_enabled": z.boolean().describe("The flag to enable the container label readonly.").optional(), "config_hash": z.union([z.string().describe("The hash of the service configuration."), z.null()]).optional(), "service_type": z.union([z.string().describe("The type of the service."), z.null()]).optional(), "created_at": z.string().describe("The date and time when the service was created.").optional(), "updated_at": z.string().describe("The date and time when the service was last updated.").optional(), "deleted_at": z.union([z.string().describe("The date and time when the service was deleted."), z.null()]).optional(), "status": z.string().optional() }).describe("Service model"),
18
18
  "Destination": z.object({ "uuid": z.string().optional(), "name": z.string().optional(), "network": z.string().optional(), "type": z.enum(["standalone", "swarm"]).optional(), "server_uuid": z.string().optional(), "created_at": z.string().datetime({ offset: true }).optional(), "updated_at": z.string().datetime({ offset: true }).optional() }).describe("A Docker network destination attached to a server."),
19
19
  "Tag": z.object({ "uuid": z.string().optional(), "name": z.string().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional() }).describe("Tag model"),
20
- "Team": z.object({ "id": z.number().int().describe("The unique identifier of the team.").optional(), "name": z.string().describe("The name of the team.").optional(), "description": z.string().describe("The description of the team.").optional(), "personal_team": z.boolean().describe("Whether the team is personal or not.").optional(), "created_at": z.string().describe("The date and time the team was created.").optional(), "updated_at": z.string().describe("The date and time the team was last updated.").optional(), "show_boarding": z.boolean().describe("Whether to show the boarding screen or not.").optional(), "custom_server_limit": z.string().describe("The custom server limit.").optional(), "members": z.array(z.object({ "id": z.number().int().describe("The user identifier in the database.").optional(), "name": z.string().describe("The user name.").optional(), "email": z.string().describe("The user email.").optional(), "email_verified_at": z.string().describe("The date when the user email was verified.").optional(), "created_at": z.string().describe("The date when the user was created.").optional(), "updated_at": z.string().describe("The date when the user was updated.").optional(), "two_factor_confirmed_at": z.string().describe("The date when the user two factor was confirmed.").optional(), "force_password_reset": z.boolean().describe("The flag to force the user to reset the password.").optional(), "marketing_emails": z.boolean().describe("The flag to receive marketing emails.").optional() }).describe("User model")).describe("The members of the team.").optional() }).describe("Team model"),
21
- "User": z.object({ "id": z.number().int().describe("The user identifier in the database.").optional(), "name": z.string().describe("The user name.").optional(), "email": z.string().describe("The user email.").optional(), "email_verified_at": z.string().describe("The date when the user email was verified.").optional(), "created_at": z.string().describe("The date when the user was created.").optional(), "updated_at": z.string().describe("The date when the user was updated.").optional(), "two_factor_confirmed_at": z.string().describe("The date when the user two factor was confirmed.").optional(), "force_password_reset": z.boolean().describe("The flag to force the user to reset the password.").optional(), "marketing_emails": z.boolean().describe("The flag to receive marketing emails.").optional() }).describe("User model"),
20
+ "Team": z.object({ "id": z.number().int().describe("The unique identifier of the team.").optional(), "name": z.string().describe("The name of the team.").optional(), "description": z.union([z.string().describe("The description of the team."), z.null()]).optional(), "personal_team": z.boolean().describe("Whether the team is personal or not.").optional(), "created_at": z.string().describe("The date and time the team was created.").optional(), "updated_at": z.string().describe("The date and time the team was last updated.").optional(), "show_boarding": z.boolean().describe("Whether to show the boarding screen or not.").optional(), "custom_server_limit": z.string().describe("The custom server limit.").optional(), "members": z.array(z.object({ "id": z.number().int().describe("The user identifier in the database.").optional(), "name": z.string().describe("The user name.").optional(), "email": z.string().describe("The user email.").optional(), "email_verified_at": z.union([z.string().describe("The date when the user email was verified."), z.null()]).optional(), "created_at": z.string().describe("The date when the user was created.").optional(), "updated_at": z.string().describe("The date when the user was updated.").optional(), "two_factor_confirmed_at": z.union([z.string().describe("The date when the user two factor was confirmed."), z.null()]).optional(), "force_password_reset": z.union([z.boolean().describe("The flag to force the user to reset the password."), z.string().describe("The flag to force the user to reset the password.")]).describe("The flag to force the user to reset the password.").optional(), "marketing_emails": z.boolean().describe("The flag to receive marketing emails.").optional() }).describe("User model")).describe("The members of the team.").optional() }).describe("Team model"),
21
+ "User": z.object({ "id": z.number().int().describe("The user identifier in the database.").optional(), "name": z.string().describe("The user name.").optional(), "email": z.string().describe("The user email.").optional(), "email_verified_at": z.union([z.string().describe("The date when the user email was verified."), z.null()]).optional(), "created_at": z.string().describe("The date when the user was created.").optional(), "updated_at": z.string().describe("The date when the user was updated.").optional(), "two_factor_confirmed_at": z.union([z.string().describe("The date when the user two factor was confirmed."), z.null()]).optional(), "force_password_reset": z.union([z.boolean().describe("The flag to force the user to reset the password."), z.string().describe("The flag to force the user to reset the password.")]).describe("The flag to force the user to reset the password.").optional(), "marketing_emails": z.boolean().describe("The flag to receive marketing emails.").optional() }).describe("User model"),
22
22
  "DatabaseRecord": z.object({ "uuid": z.string(), "name": z.string().optional(), "database_type": z.string().optional(), "environment_id": z.number().int().optional(), "status": z.string().optional() }).catchall(z.any()),
23
23
  "ResourceRecord": z.object({ "uuid": z.string(), "name": z.string().optional(), "type": z.string().optional(), "status": z.string().optional() }).catchall(z.any()),
24
24
  "ApplicationDeploymentCollection": z.object({ "count": z.number().int(), "deployments": z.array(z.object({ "id": z.number().int().optional(), "application_id": z.string().optional(), "deployment_uuid": z.string().optional(), "pull_request_id": z.number().int().optional(), "docker_registry_image_tag": z.union([z.string(), z.null()]).optional(), "configuration_hash": z.union([z.string(), z.null()]).optional(), "configuration_snapshot": z.union([z.record(z.string(), z.any()), z.null()]).optional(), "configuration_diff": z.union([z.record(z.string(), z.any()), z.null()]).optional(), "force_rebuild": z.boolean().optional(), "commit": z.string().optional(), "status": z.string().optional(), "is_webhook": z.boolean().optional(), "is_api": z.boolean().optional(), "created_at": z.string().optional(), "updated_at": z.string().optional(), "logs": z.string().optional(), "current_process_id": z.string().optional(), "restart_only": z.boolean().optional(), "git_type": z.union([z.string(), z.null()]).optional(), "server_id": z.number().int().optional(), "application_name": z.string().optional(), "server_name": z.string().optional(), "deployment_url": z.string().optional(), "destination_id": z.string().optional(), "only_this_server": z.boolean().optional(), "rollback": z.boolean().optional(), "commit_message": z.string().optional(), "build_server_id": z.union([z.number().int(), z.null()]).optional(), "horizon_job_id": z.union([z.string(), z.null()]).optional(), "horizon_job_worker": z.union([z.string(), z.null()]).optional(), "finished_at": z.union([z.string(), z.null()]).optional() }).describe("Project model")) }),