// Generated by src/providers/dokploy/generate.ts from Dokploy/mcp@db18449eafdfc8dbd438d392b95c46292069c658/src/generated/openapi.json.
// Do not edit by hand; update the source OpenAPI document and regenerate.

import type { DokployOperationDefinition } from "../operations.ts";

export const applicationOperations: readonly DokployOperationDefinition[] = [
  {
    name: "application-create",
    operationId: "application-create",
    tag: "application",
    description: "Modify Dokploy state via POST /application.create.",
    method: "POST",
    path: "/application.create",
    pathFields: [],
    queryFields: [],
    bodyFields: ["name", "appName", "description", "environmentId", "serverId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        name: {
          type: "string",
          minLength: 1,
        },
        appName: {
          type: "string",
          minLength: 1,
          maxLength: 63,
          pattern: "^[a-zA-Z0-9._-]+$",
        },
        description: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        environmentId: {
          type: "string",
        },
        serverId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-create.",
      required: ["environmentId", "name"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-one",
    operationId: "application-one",
    tag: "application",
    description: "Read Dokploy data via GET /application.one.",
    method: "GET",
    path: "/application.one",
    pathFields: [],
    queryFields: ["applicationId"],
    bodyFields: [],
    fileFields: [],
    contentType: null,
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-one.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-reload",
    operationId: "application-reload",
    tag: "application",
    description: "Modify Dokploy state via POST /application.reload.",
    method: "POST",
    path: "/application.reload",
    pathFields: [],
    queryFields: [],
    bodyFields: ["appName", "applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        appName: {
          type: "string",
          minLength: 1,
          maxLength: 63,
          pattern: "^[a-zA-Z0-9._-]+$",
        },
        applicationId: {
          type: "string",
        },
      },
      additionalProperties: false,
      description: "Input for application-reload.",
      required: ["appName", "applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-delete",
    operationId: "application-delete",
    tag: "application",
    description:
      "Modify Dokploy state via POST /application.delete. Warning: this operation can remove, stop, or otherwise disrupt resources.",
    method: "POST",
    path: "/application.delete",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-delete.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-stop",
    operationId: "application-stop",
    tag: "application",
    description:
      "Modify Dokploy state via POST /application.stop. Warning: this operation can remove, stop, or otherwise disrupt resources.",
    method: "POST",
    path: "/application.stop",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-stop.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-start",
    operationId: "application-start",
    tag: "application",
    description: "Modify Dokploy state via POST /application.start.",
    method: "POST",
    path: "/application.start",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-start.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-redeploy",
    operationId: "application-redeploy",
    tag: "application",
    description: "Modify Dokploy state via POST /application.redeploy.",
    method: "POST",
    path: "/application.redeploy",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId", "title", "description"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
        title: {
          type: "string",
        },
        description: {
          type: "string",
        },
      },
      additionalProperties: false,
      description: "Input for application-redeploy.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveEnvironment",
    operationId: "application-saveEnvironment",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveEnvironment.",
    method: "POST",
    path: "/application.saveEnvironment",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId", "env", "buildArgs", "buildSecrets", "createEnvFile"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        env: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildArgs: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildSecrets: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        createEnvFile: {
          type: "boolean",
        },
      },
      additionalProperties: false,
      description: "Input for application-saveEnvironment.",
      required: ["applicationId", "buildArgs", "buildSecrets", "createEnvFile", "env"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveBuildType",
    operationId: "application-saveBuildType",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveBuildType.",
    method: "POST",
    path: "/application.saveBuildType",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "applicationId",
      "buildType",
      "dockerfile",
      "dockerContextPath",
      "dockerBuildStage",
      "herokuVersion",
      "railpackVersion",
      "publishDirectory",
      "isStaticSpa",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        buildType: {
          type: "string",
          enum: ["dockerfile", "heroku_buildpacks", "paketo_buildpacks", "nixpacks", "static", "railpack"],
        },
        dockerfile: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        dockerContextPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        dockerBuildStage: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        herokuVersion: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        railpackVersion: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        publishDirectory: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        isStaticSpa: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveBuildType.",
      required: [
        "applicationId",
        "buildType",
        "dockerBuildStage",
        "dockerContextPath",
        "dockerfile",
        "herokuVersion",
        "railpackVersion",
      ],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveGithubProvider",
    operationId: "application-saveGithubProvider",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveGithubProvider.",
    method: "POST",
    path: "/application.saveGithubProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "applicationId",
      "repository",
      "branch",
      "owner",
      "buildPath",
      "githubId",
      "triggerType",
      "enableSubmodules",
      "watchPaths",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        repository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        branch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        owner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        githubId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        triggerType: {
          default: "push",
          type: "string",
          enum: ["push", "tag"],
        },
        enableSubmodules: {
          type: "boolean",
        },
        watchPaths: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveGithubProvider.",
      required: ["applicationId", "branch", "buildPath", "githubId", "owner", "repository", "triggerType"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveGitlabProvider",
    operationId: "application-saveGitlabProvider",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveGitlabProvider.",
    method: "POST",
    path: "/application.saveGitlabProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "applicationId",
      "gitlabBranch",
      "gitlabBuildPath",
      "gitlabOwner",
      "gitlabRepository",
      "gitlabId",
      "gitlabProjectId",
      "gitlabPathNamespace",
      "enableSubmodules",
      "watchPaths",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        gitlabBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabOwner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabRepository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabProjectId: {
          anyOf: [
            {
              type: "number",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabPathNamespace: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        enableSubmodules: {
          type: "boolean",
        },
        watchPaths: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveGitlabProvider.",
      required: [
        "applicationId",
        "gitlabBranch",
        "gitlabBuildPath",
        "gitlabId",
        "gitlabOwner",
        "gitlabPathNamespace",
        "gitlabProjectId",
        "gitlabRepository",
      ],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveBitbucketProvider",
    operationId: "application-saveBitbucketProvider",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveBitbucketProvider.",
    method: "POST",
    path: "/application.saveBitbucketProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "bitbucketBranch",
      "bitbucketBuildPath",
      "bitbucketOwner",
      "bitbucketRepository",
      "bitbucketRepositorySlug",
      "bitbucketId",
      "applicationId",
      "enableSubmodules",
      "watchPaths",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        bitbucketBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketOwner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketRepository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketRepositorySlug: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        applicationId: {
          type: "string",
        },
        enableSubmodules: {
          type: "boolean",
        },
        watchPaths: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveBitbucketProvider.",
      required: [
        "applicationId",
        "bitbucketBranch",
        "bitbucketBuildPath",
        "bitbucketId",
        "bitbucketOwner",
        "bitbucketRepository",
        "bitbucketRepositorySlug",
      ],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveGiteaProvider",
    operationId: "application-saveGiteaProvider",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveGiteaProvider.",
    method: "POST",
    path: "/application.saveGiteaProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "applicationId",
      "giteaBranch",
      "giteaBuildPath",
      "giteaOwner",
      "giteaRepository",
      "giteaId",
      "enableSubmodules",
      "watchPaths",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        giteaBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaOwner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaRepository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        enableSubmodules: {
          type: "boolean",
        },
        watchPaths: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveGiteaProvider.",
      required: ["applicationId", "giteaBranch", "giteaBuildPath", "giteaId", "giteaOwner", "giteaRepository"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveDockerProvider",
    operationId: "application-saveDockerProvider",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveDockerProvider.",
    method: "POST",
    path: "/application.saveDockerProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: ["dockerImage", "applicationId", "username", "password", "registryUrl"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        dockerImage: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        applicationId: {
          type: "string",
        },
        username: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        password: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        registryUrl: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveDockerProvider.",
      required: ["applicationId", "dockerImage", "password", "registryUrl", "username"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-saveGitProvider",
    operationId: "application-saveGitProvider",
    tag: "application",
    description: "Modify Dokploy state via POST /application.saveGitProvider.",
    method: "POST",
    path: "/application.saveGitProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "customGitBranch",
      "applicationId",
      "customGitBuildPath",
      "customGitUrl",
      "watchPaths",
      "enableSubmodules",
      "customGitSSHKeyId",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        customGitBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        applicationId: {
          type: "string",
        },
        customGitBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        customGitUrl: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        watchPaths: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
        enableSubmodules: {
          type: "boolean",
        },
        customGitSSHKeyId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-saveGitProvider.",
      required: ["applicationId", "customGitBranch", "customGitBuildPath", "customGitUrl", "watchPaths"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-disconnectGitProvider",
    operationId: "application-disconnectGitProvider",
    tag: "application",
    description:
      "Modify Dokploy state via POST /application.disconnectGitProvider. Warning: this operation can remove, stop, or otherwise disrupt resources.",
    method: "POST",
    path: "/application.disconnectGitProvider",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-disconnectGitProvider.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-markRunning",
    operationId: "application-markRunning",
    tag: "application",
    description: "Modify Dokploy state via POST /application.markRunning.",
    method: "POST",
    path: "/application.markRunning",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-markRunning.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-update",
    operationId: "application-update",
    tag: "application",
    description: "Modify Dokploy state via POST /application.update.",
    method: "POST",
    path: "/application.update",
    pathFields: [],
    queryFields: [],
    bodyFields: [
      "applicationId",
      "name",
      "appName",
      "description",
      "env",
      "previewEnv",
      "watchPaths",
      "previewBuildArgs",
      "previewBuildSecrets",
      "previewLabels",
      "previewWildcard",
      "previewPort",
      "previewHttps",
      "previewPath",
      "previewCertificateType",
      "previewCustomCertResolver",
      "previewLimit",
      "isPreviewDeploymentsActive",
      "previewRequireCollaboratorPermissions",
      "rollbackActive",
      "buildArgs",
      "buildSecrets",
      "memoryReservation",
      "memoryLimit",
      "cpuReservation",
      "cpuLimit",
      "title",
      "enabled",
      "subtitle",
      "command",
      "args",
      "icon",
      "refreshToken",
      "sourceType",
      "cleanCache",
      "repository",
      "owner",
      "branch",
      "buildPath",
      "triggerType",
      "autoDeploy",
      "gitlabProjectId",
      "gitlabRepository",
      "gitlabOwner",
      "gitlabBranch",
      "gitlabBuildPath",
      "gitlabPathNamespace",
      "giteaRepository",
      "giteaOwner",
      "giteaBranch",
      "giteaBuildPath",
      "bitbucketRepository",
      "bitbucketRepositorySlug",
      "bitbucketOwner",
      "bitbucketBranch",
      "bitbucketBuildPath",
      "username",
      "password",
      "dockerImage",
      "registryUrl",
      "customGitUrl",
      "customGitBranch",
      "customGitBuildPath",
      "customGitSSHKeyId",
      "enableSubmodules",
      "dockerfile",
      "dockerContextPath",
      "dockerBuildStage",
      "dropBuildPath",
      "healthCheckSwarm",
      "restartPolicySwarm",
      "placementSwarm",
      "updateConfigSwarm",
      "rollbackConfigSwarm",
      "modeSwarm",
      "labelsSwarm",
      "networkSwarm",
      "stopGracePeriodSwarm",
      "endpointSpecSwarm",
      "ulimitsSwarm",
      "replicas",
      "applicationStatus",
      "buildType",
      "railpackVersion",
      "herokuVersion",
      "publishDirectory",
      "isStaticSpa",
      "createEnvFile",
      "createdAt",
      "registryId",
      "rollbackRegistryId",
      "environmentId",
      "githubId",
      "gitlabId",
      "giteaId",
      "bitbucketId",
      "buildServerId",
      "buildRegistryId",
    ],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
        name: {
          type: "string",
          minLength: 1,
        },
        appName: {
          type: "string",
          minLength: 1,
          maxLength: 63,
          pattern: "^[a-zA-Z0-9._-]+$",
        },
        description: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        env: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        previewEnv: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        watchPaths: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
        previewBuildArgs: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        previewBuildSecrets: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        previewLabels: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
        previewWildcard: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        previewPort: {
          anyOf: [
            {
              type: "number",
            },
            {
              type: "null",
            },
          ],
        },
        previewHttps: {
          type: "boolean",
        },
        previewPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        previewCertificateType: {
          type: "string",
          enum: ["letsencrypt", "none", "custom"],
        },
        previewCustomCertResolver: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        previewLimit: {
          anyOf: [
            {
              type: "number",
            },
            {
              type: "null",
            },
          ],
        },
        isPreviewDeploymentsActive: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        previewRequireCollaboratorPermissions: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        rollbackActive: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        buildArgs: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildSecrets: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        memoryReservation: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        memoryLimit: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        cpuReservation: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        cpuLimit: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        title: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        enabled: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        subtitle: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        command: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        args: {
          anyOf: [
            {
              type: "array",
              items: {
                type: "string",
              },
            },
            {
              type: "null",
            },
          ],
        },
        icon: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "string",
                  maxLength: 2097152,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        refreshToken: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        sourceType: {
          type: "string",
          enum: ["github", "docker", "git", "gitlab", "bitbucket", "gitea", "drop"],
        },
        cleanCache: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        repository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        owner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        branch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        triggerType: {
          anyOf: [
            {
              type: "string",
              enum: ["push", "tag"],
            },
            {
              type: "null",
            },
          ],
        },
        autoDeploy: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabProjectId: {
          anyOf: [
            {
              type: "number",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabRepository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabOwner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabPathNamespace: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaRepository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaOwner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketRepository: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketRepositorySlug: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketOwner: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        username: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        password: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        dockerImage: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        registryUrl: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        customGitUrl: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        customGitBranch: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        customGitBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        customGitSSHKeyId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        enableSubmodules: {
          type: "boolean",
        },
        dockerfile: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        dockerContextPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        dockerBuildStage: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        dropBuildPath: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        healthCheckSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Test: {
                      type: "array",
                      items: {
                        type: "string",
                      },
                    },
                    Interval: {
                      type: "number",
                    },
                    Timeout: {
                      type: "number",
                    },
                    StartPeriod: {
                      type: "number",
                    },
                    Retries: {
                      type: "number",
                    },
                  },
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        restartPolicySwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Condition: {
                      type: "string",
                    },
                    Delay: {
                      type: "number",
                    },
                    MaxAttempts: {
                      type: "number",
                    },
                    Window: {
                      type: "number",
                    },
                  },
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        placementSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Constraints: {
                      type: "array",
                      items: {
                        type: "string",
                      },
                    },
                    Preferences: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          Spread: {
                            type: "object",
                            properties: {
                              SpreadDescriptor: {
                                type: "string",
                              },
                            },
                            required: ["SpreadDescriptor"],
                          },
                        },
                        required: ["Spread"],
                        additionalProperties: false,
                      },
                    },
                    MaxReplicas: {
                      type: "number",
                    },
                    Platforms: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          Architecture: {
                            type: "string",
                          },
                          OS: {
                            type: "string",
                          },
                        },
                        required: ["Architecture", "OS"],
                        additionalProperties: false,
                      },
                    },
                  },
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        updateConfigSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Parallelism: {
                      type: "number",
                    },
                    Delay: {
                      type: "number",
                    },
                    FailureAction: {
                      type: "string",
                    },
                    Monitor: {
                      type: "number",
                    },
                    MaxFailureRatio: {
                      type: "number",
                    },
                    Order: {
                      type: "string",
                    },
                  },
                  required: ["Parallelism", "Order"],
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        rollbackConfigSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Parallelism: {
                      type: "number",
                    },
                    Delay: {
                      type: "number",
                    },
                    FailureAction: {
                      type: "string",
                    },
                    Monitor: {
                      type: "number",
                    },
                    MaxFailureRatio: {
                      type: "number",
                    },
                    Order: {
                      type: "string",
                    },
                  },
                  required: ["Parallelism", "Order"],
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        modeSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Replicated: {
                      type: "object",
                      properties: {
                        Replicas: {
                          type: "number",
                        },
                      },
                      additionalProperties: false,
                    },
                    Global: {
                      type: "object",
                      properties: {},
                    },
                    ReplicatedJob: {
                      type: "object",
                      properties: {
                        MaxConcurrent: {
                          type: "number",
                        },
                        TotalCompletions: {
                          type: "number",
                        },
                      },
                      additionalProperties: false,
                    },
                    GlobalJob: {
                      type: "object",
                      properties: {},
                    },
                  },
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        labelsSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  propertyNames: {
                    type: "string",
                  },
                  additionalProperties: {
                    type: "string",
                  },
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        networkSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "array",
                  items: {
                    type: "object",
                    properties: {
                      Target: {
                        type: "string",
                      },
                      Aliases: {
                        type: "array",
                        items: {
                          type: "string",
                        },
                      },
                      DriverOpts: {
                        type: "object",
                        propertyNames: {
                          type: "string",
                        },
                        additionalProperties: {
                          type: "string",
                        },
                      },
                    },
                    additionalProperties: false,
                  },
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        stopGracePeriodSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "number",
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        endpointSpecSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "object",
                  properties: {
                    Mode: {
                      type: "string",
                    },
                    Ports: {
                      type: "array",
                      items: {
                        type: "object",
                        properties: {
                          Protocol: {
                            type: "string",
                          },
                          TargetPort: {
                            type: "number",
                          },
                          PublishedPort: {
                            type: "number",
                          },
                          PublishMode: {
                            type: "string",
                          },
                        },
                        additionalProperties: false,
                      },
                    },
                  },
                  additionalProperties: false,
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        ulimitsSwarm: {
          anyOf: [
            {
              anyOf: [
                {
                  type: "array",
                  items: {
                    type: "object",
                    properties: {
                      Name: {
                        type: "string",
                        minLength: 1,
                      },
                      Soft: {
                        type: "integer",
                        minimum: -1,
                        maximum: 9007199254740991,
                      },
                      Hard: {
                        type: "integer",
                        minimum: -1,
                        maximum: 9007199254740991,
                      },
                    },
                    required: ["Name", "Soft", "Hard"],
                    additionalProperties: false,
                  },
                },
                {
                  type: "null",
                },
              ],
            },
            {
              type: "null",
            },
          ],
        },
        replicas: {
          type: "number",
        },
        applicationStatus: {
          type: "string",
          enum: ["idle", "running", "done", "error"],
        },
        buildType: {
          type: "string",
          enum: ["dockerfile", "heroku_buildpacks", "paketo_buildpacks", "nixpacks", "static", "railpack"],
        },
        railpackVersion: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        herokuVersion: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        publishDirectory: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        isStaticSpa: {
          anyOf: [
            {
              type: "boolean",
            },
            {
              type: "null",
            },
          ],
        },
        createEnvFile: {
          type: "boolean",
        },
        createdAt: {
          type: "string",
        },
        registryId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        rollbackRegistryId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        environmentId: {
          type: "string",
        },
        githubId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        gitlabId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        giteaId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        bitbucketId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildServerId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
        buildRegistryId: {
          anyOf: [
            {
              type: "string",
            },
            {
              type: "null",
            },
          ],
        },
      },
      additionalProperties: false,
      description: "Input for application-update.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-refreshToken",
    operationId: "application-refreshToken",
    tag: "application",
    description: "Modify Dokploy state via POST /application.refreshToken.",
    method: "POST",
    path: "/application.refreshToken",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-refreshToken.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-deploy",
    operationId: "application-deploy",
    tag: "application",
    description: "Modify Dokploy state via POST /application.deploy.",
    method: "POST",
    path: "/application.deploy",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId", "title", "description"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
        title: {
          type: "string",
        },
        description: {
          type: "string",
        },
      },
      additionalProperties: false,
      description: "Input for application-deploy.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-cleanQueues",
    operationId: "application-cleanQueues",
    tag: "application",
    description:
      "Modify Dokploy state via POST /application.cleanQueues. Warning: this operation can remove, stop, or otherwise disrupt resources.",
    method: "POST",
    path: "/application.cleanQueues",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-cleanQueues.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-clearDeployments",
    operationId: "application-clearDeployments",
    tag: "application",
    description: "Modify Dokploy state via POST /application.clearDeployments.",
    method: "POST",
    path: "/application.clearDeployments",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-clearDeployments.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-killBuild",
    operationId: "application-killBuild",
    tag: "application",
    description:
      "Modify Dokploy state via POST /application.killBuild. Warning: this operation can remove, stop, or otherwise disrupt resources.",
    method: "POST",
    path: "/application.killBuild",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-killBuild.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-readTraefikConfig",
    operationId: "application-readTraefikConfig",
    tag: "application",
    description: "Read Dokploy data via GET /application.readTraefikConfig.",
    method: "GET",
    path: "/application.readTraefikConfig",
    pathFields: [],
    queryFields: ["applicationId"],
    bodyFields: [],
    fileFields: [],
    contentType: null,
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-readTraefikConfig.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-dropDeployment",
    operationId: "application-dropDeployment",
    tag: "application",
    description:
      "Modify Dokploy state via POST /application.dropDeployment. Warning: this operation can remove, stop, or otherwise disrupt resources.",
    method: "POST",
    path: "/application.dropDeployment",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId", "zip", "dropBuildPath"],
    fileFields: ["zip"],
    contentType: "multipart/form-data",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        zip: {
          type: "object",
          description: "The zip file previously uploaded to the local transit file API.",
          properties: {
            fileId: {
              type: "string",
              minLength: 1,
              description: "The transit file identifier.",
            },
            name: {
              type: "string",
              description: "Optional file name override.",
            },
            mimeType: {
              type: "string",
              description: "Optional MIME type override.",
            },
          },
          required: ["fileId"],
          additionalProperties: false,
        },
        dropBuildPath: {
          type: "string",
        },
      },
      additionalProperties: false,
      description: "Input for application-dropDeployment.",
      required: ["applicationId", "zip"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-updateTraefikConfig",
    operationId: "application-updateTraefikConfig",
    tag: "application",
    description: "Modify Dokploy state via POST /application.updateTraefikConfig.",
    method: "POST",
    path: "/application.updateTraefikConfig",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId", "traefikConfig"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        traefikConfig: {
          type: "string",
        },
      },
      additionalProperties: false,
      description: "Input for application-updateTraefikConfig.",
      required: ["applicationId", "traefikConfig"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-readAppMonitoring",
    operationId: "application-readAppMonitoring",
    tag: "application",
    description: "Read Dokploy data via GET /application.readAppMonitoring.",
    method: "GET",
    path: "/application.readAppMonitoring",
    pathFields: [],
    queryFields: ["appName"],
    bodyFields: [],
    fileFields: [],
    contentType: null,
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        appName: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-readAppMonitoring.",
      required: ["appName"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-move",
    operationId: "application-move",
    tag: "application",
    description: "Modify Dokploy state via POST /application.move.",
    method: "POST",
    path: "/application.move",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId", "targetEnvironmentId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
        },
        targetEnvironmentId: {
          type: "string",
        },
      },
      additionalProperties: false,
      description: "Input for application-move.",
      required: ["applicationId", "targetEnvironmentId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-cancelDeployment",
    operationId: "application-cancelDeployment",
    tag: "application",
    description: "Modify Dokploy state via POST /application.cancelDeployment.",
    method: "POST",
    path: "/application.cancelDeployment",
    pathFields: [],
    queryFields: [],
    bodyFields: ["applicationId"],
    fileFields: [],
    contentType: "application/json",
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
      },
      additionalProperties: false,
      description: "Input for application-cancelDeployment.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-search",
    operationId: "application-search",
    tag: "application",
    description: "Read Dokploy data via GET /application.search.",
    method: "GET",
    path: "/application.search",
    pathFields: [],
    queryFields: [
      "q",
      "name",
      "appName",
      "description",
      "repository",
      "owner",
      "dockerImage",
      "projectId",
      "environmentId",
      "limit",
      "offset",
    ],
    bodyFields: [],
    fileFields: [],
    contentType: null,
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        q: {
          type: "string",
        },
        name: {
          type: "string",
        },
        appName: {
          type: "string",
        },
        description: {
          type: "string",
        },
        repository: {
          type: "string",
        },
        owner: {
          type: "string",
        },
        dockerImage: {
          type: "string",
        },
        projectId: {
          type: "string",
        },
        environmentId: {
          type: "string",
        },
        limit: {
          default: 20,
          type: "number",
          minimum: 1,
          maximum: 100,
        },
        offset: {
          default: 0,
          type: "number",
          minimum: 0,
        },
      },
      additionalProperties: false,
      description: "Input for application-search.",
    },
    outputSchema: {
      description: "Successful response",
    },
  },
  {
    name: "application-readLogs",
    operationId: "application-readLogs",
    tag: "application",
    description: "Read Dokploy data via GET /application.readLogs.",
    method: "GET",
    path: "/application.readLogs",
    pathFields: [],
    queryFields: ["applicationId", "tail", "since", "search"],
    bodyFields: [],
    fileFields: [],
    contentType: null,
    supportStatus: "supported",
    inputSchema: {
      type: "object",
      properties: {
        applicationId: {
          type: "string",
          minLength: 1,
        },
        tail: {
          default: 100,
          type: "integer",
          minimum: 1,
          maximum: 10000,
        },
        since: {
          default: "all",
          type: "string",
          pattern: "^(all|\\d+[smhd])$",
        },
        search: {
          type: "string",
          pattern: "^[a-zA-Z0-9 ._-]{0,500}$",
        },
      },
      additionalProperties: false,
      description: "Input for application-readLogs.",
      required: ["applicationId"],
    },
    outputSchema: {
      description: "Successful response",
    },
  },
];
