interface ResponseGetAuthV1BackgroundRequestsRequestId202 { requestId: string; status: string; } interface ResponseGetAuthV1BackgroundRequestsRequestId404 { message: string; } interface ResponseGetAuthV1BackgroundTest200 { ok: boolean; message: string; sleptSecs: number; finishedAt: string; } interface ResponseGetAuthV1BackgroundTest400 { message: string; } interface ResponseGetAuthV1Whoami200 { accountId: string; identityId?: string | null; } interface ResponseGetDnsV1Records200 { records: { kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS"; name: string; value: string; ttl: string; priority?: number | null; managed: boolean; }[]; } interface ResponseGetDnsV1Records400 { message: string; } interface ResponsePostDnsV1Records200 { record: { kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS"; name: string; value: string; ttl: string; priority?: number | null; managed: boolean; }; } interface ResponsePostDnsV1Records403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostDnsV1Records500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDnsV1Records200 { message: string; } interface ResponseDeleteDnsV1Records403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDnsV1Records500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostDomainsV1CertsDomainWildcard200 { domain: string; } interface ResponsePostDomainsV1CertsDomainWildcard400 { message: string; } type ResponseGetDomainsV1Domains200 = { domain: string; accountId: string; createdAt: string; id: string; verifiedDns: boolean; implicitlyOwned: boolean; deployToDomain: boolean; manageDns: boolean; deployToSubdomains: boolean; }[]; interface ResponseGetDomainsV1Domains400 { message: string; } type ResponseGetDomainsV1Mappings200 = { id: string; domain: string; deploymentId?: string | null; vmId?: string | null; vmPort?: number | null; ownershipId: string; createdAt: string; unmappedAt?: string | null; }[]; interface ResponsePostDomainsV1MappingsDomain200 { id: string; domain: string; deploymentId?: string | null; vmId?: string | null; vmPort?: number | null; ownershipId: string; createdAt: string; unmappedAt?: string | null; } /** * Public API error wrapper. Mark public APIs with `Public` to ensure private error * details aren't exposed. */ interface ResponsePostDomainsV1MappingsDomain4XX { error: { FailedToCheckDomainMappingPermissions: { message: string; }; } | { FailedPermissionsCheck: { domain: string; }; } | { FailedRemoveDomainMapping: { message: string; }; } | { FailedToInsertOwnership: { message: string; }; } | { DomainAlreadyExists: { domain: string; }; } | { InvalidRequest: { message: string; }; } | { FailedInsertDomainMapping: { message: string; }; } | { FailedToProvisionCertificateForMapping: { message: string; }; } | { DeploymentAccessDenied: { deployment_id: string; }; } | { VmAccessDeniedForMapping: { vm_id: string; }; } | { DomainOwnershipNotVerified: { domain: string; }; }; headers?: { [k: string]: string; } | null; context?: { [k: string]: unknown; } | null; } /** * Public API error wrapper. Mark public APIs with `Public` to ensure private error * details aren't exposed. */ interface ResponsePostDomainsV1MappingsDomain5XX { error: { FailedToCheckDomainMappingPermissions: { message: string; }; } | { FailedPermissionsCheck: { domain: string; }; } | { FailedRemoveDomainMapping: { message: string; }; } | { FailedToInsertOwnership: { message: string; }; } | { DomainAlreadyExists: { domain: string; }; } | { InvalidRequest: { message: string; }; } | { FailedInsertDomainMapping: { message: string; }; } | { FailedToProvisionCertificateForMapping: { message: string; }; } | { DeploymentAccessDenied: { deployment_id: string; }; } | { VmAccessDeniedForMapping: { vm_id: string; }; } | { DomainOwnershipNotVerified: { domain: string; }; }; headers?: { [k: string]: string; } | null; context?: { [k: string]: unknown; } | null; } interface ResponseDeleteDomainsV1MappingsDomain200 { } interface ResponseDeleteDomainsV1MappingsDomain400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDomainsV1MappingsDomain401 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDomainsV1MappingsDomain422 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDomainsV1MappingsDomain500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDomainsV1MappingsDomain502 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type ResponseGetDomainsV1Verifications200 = { verificationCode: string; domain: string; createdAt: string; }[]; interface ResponseGetDomainsV1Verifications400 { message: string; } interface ResponsePostDomainsV1Verifications200 { id: string; domain: string; accountId: string; verificationCode: string; createdAt: string; } interface ResponsePostDomainsV1Verifications400 { message: string; } interface ResponsePutDomainsV1Verifications200 { domain: string; } interface ResponsePutDomainsV1Verifications400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutDomainsV1Verifications401 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutDomainsV1Verifications403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutDomainsV1Verifications404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutDomainsV1Verifications422 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutDomainsV1Verifications500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutDomainsV1Verifications502 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteDomainsV1Verifications200 { verificationCode: string; domain: string; } interface ResponseDeleteDomainsV1Verifications400 { message: string; } interface ResponseGetExecuteV1Deployments200 { entries: { deployment: string; accountId: string; provisionedAt: string; startedAt?: string | null; duration?: string | null; state: "starting" | "running" | "complete"; envVars: { [k: string]: string; }; }[]; total: number; offset: number; } interface ResponseGetExecuteV1Deployments500 { message: string; } interface ResponseGetExecuteV1DeploymentsDeployment200 { metadata: { deployment: string; accountId: string; provisionedAt: string; startedAt?: string | null; duration?: string | null; state: "starting" | "running" | "complete"; envVars: { [k: string]: string; }; }; code?: null | { code: string; nodeModules: { [k: string]: string; }; }; } /** * Unauthorized access */ interface ResponseGetExecuteV1DeploymentsDeployment401 { message: string; } /** * Not found */ interface ResponseGetExecuteV1DeploymentsDeployment404 { message: string; } /** * Internal server error */ interface ResponseGetExecuteV1DeploymentsDeployment500 { message: string; } interface ResponsePostExecuteV1Script200 { /** * The return value of the default export of the script */ result: { [k: string]: unknown; }; logs: { /** * The log message */ message: string; /** * The log level */ type: string; }[]; } interface ResponsePostExecuteV1Script400 { error: string; logs?: { /** * The log message */ message: string; /** * The log level */ type: string; }[] | null; } interface ResponsePostExecuteV1Script500 { error: string; logs?: { /** * The log message */ message: string; /** * The log level */ type: string; }[] | null; } /** * Success result from script execution */ interface ResponsePostExecuteV2Script200 { result: unknown; logs: ({ message: string; callstack?: string | null; type: "log"; } | { message: string; callstack?: string | null; type: "error"; })[]; } interface ResponsePostExecuteV2Script403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } /** * Success result from script execution */ interface ResponsePostExecuteV3Script200 { result: unknown; logs: ({ message: string; callstack?: string | null; type: "log"; } | { message: string; callstack?: string | null; type: "error"; })[]; } interface ResponsePostExecuteV3Script403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1Identity200 { identities: { id: string; managed: boolean; }[]; offset: number; total: number; } interface ResponsePostGitV1Identity200 { id: string; managed: boolean; } interface ResponseDeleteGitV1IdentityIdentity200 { } interface ResponseDeleteGitV1IdentityIdentity403 { message: string; } interface ResponseDeleteGitV1IdentityIdentity404 { message: string; } interface ResponseDeleteGitV1IdentityIdentity500 { message: string; } interface ResponseGetGitV1IdentityIdentityPermissions200 { repositories: { id: string; name?: string | null; accountId: string; permissions: "read" | "write"; visibility: "public" | "private"; }[]; } interface ResponseGetGitV1IdentityIdentityPermissions403 { message: string; } interface ResponseGetGitV1IdentityIdentityPermissions404 { message: string; } interface ResponseGetGitV1IdentityIdentityPermissions500 { message: string; } interface ResponseGetGitV1IdentityIdentityPermissionsRepo200 { identity: string; repo: string; accessLevel?: null | ("read" | "write"); } interface ResponseGetGitV1IdentityIdentityPermissionsRepo403 { message: string; } interface ResponseGetGitV1IdentityIdentityPermissionsRepo404 { message: string; } interface ResponseGetGitV1IdentityIdentityPermissionsRepo500 { message: string; } interface ResponsePostGitV1IdentityIdentityPermissionsRepo200 { } interface ResponsePostGitV1IdentityIdentityPermissionsRepo403 { message: string; } interface ResponsePostGitV1IdentityIdentityPermissionsRepo404 { message: string; } interface ResponsePostGitV1IdentityIdentityPermissionsRepo500 { message: string; } interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo200 { } interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo403 { message: string; } interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo404 { message: string; } interface ResponseDeleteGitV1IdentityIdentityPermissionsRepo500 { message: string; } interface ResponseGetGitV1IdentityIdentityTokens200 { tokens: { id: string; }[]; } interface ResponseGetGitV1IdentityIdentityTokens403 { message: string; } interface ResponseGetGitV1IdentityIdentityTokens404 { message: string; } interface ResponseGetGitV1IdentityIdentityTokens500 { message: string; } interface ResponsePostGitV1IdentityIdentityTokens200 { id: string; token: string; } interface ResponsePostGitV1IdentityIdentityTokens403 { message: string; } interface ResponsePostGitV1IdentityIdentityTokens404 { message: string; } interface ResponsePostGitV1IdentityIdentityTokens500 { message: string; } interface ResponseDeleteGitV1IdentityIdentityTokens200 { } interface ResponseDeleteGitV1IdentityIdentityTokens403 { message: string; } interface ResponseDeleteGitV1IdentityIdentityTokens404 { message: string; } interface ResponseDeleteGitV1IdentityIdentityTokens500 { message: string; } interface ResponseGetGitV1Repo200 { repositories: { branches: { [k: string]: { default: boolean; name: string; target?: string | null; }; }; tags: { [k: string]: { name: string; target: string; message?: string | null; }; }; defaultBranch: string; }[]; total: number; offset: number; } interface ResponseGetGitV1Repo500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1Repo200 { repoId: string; } interface ResponsePostGitV1Repo403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1Repo500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoIdDefaultBranch200 { defaultBranch: string; } interface ResponseGetGitV1RepoRepoIdDefaultBranch403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoIdDefaultBranch500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutGitV1RepoRepoIdDefaultBranch200 { } interface ResponsePutGitV1RepoRepoIdDefaultBranch403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutGitV1RepoRepoIdDefaultBranch500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoIdGithubSync200 { githubRepoName: string; } interface ResponseGetGitV1RepoRepoIdVisibility200 { visibility: "public" | "private"; } interface ResponseGetGitV1RepoRepoIdVisibility403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoIdVisibility500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutGitV1RepoRepoIdVisibility200 { } interface ResponsePutGitV1RepoRepoIdVisibility403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutGitV1RepoRepoIdVisibility500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepo200 { id: string; name?: string | null; accountId: string; visibility: "public" | "private"; defaultBranch: string; createdAt: string; } interface ResponseDeleteGitV1RepoRepo200 { } interface ResponseDeleteGitV1RepoRepo403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteGitV1RepoRepo500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1RepoRepoCommits200 { /** * The created commit object */ commit: { /** * The author of the commit */ author: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The committer */ committer: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The commit message */ message: string; /** * The ID of the tree pointed to by this commit */ tree: { /** * The tree's hash ID */ sha: string; }; /** * Parent commit(s) of this commit */ parents: { /** * The commit's hash ID */ sha: string; }[]; /** * The commit's hash ID */ sha: string; }; } interface ResponsePostGitV1RepoRepoCommits403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1RepoRepoCommits500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } /** * Response containing the comparison between two commits */ interface ResponseGetGitV1RepoRepoCompare200 { /** * Status of the comparison */ status: "identical" | "ahead" | "behind" | "diverged"; /** * Number of commits the head is ahead of base */ ahead_by: number; /** * Number of commits the head is behind base */ behind_by: number; /** * Total number of commits in the comparison */ total_commits: number; /** * List of changed files */ files: { /** * The blob SHA of the file */ sha?: string | null; /** * The file path */ filename: string; /** * The status of the file (added, removed, modified, renamed, copied, changed, unchanged) */ status: "added" | "removed" | "modified" | "renamed" | "copied" | "changed" | "unchanged"; /** * Number of lines added */ additions: number; /** * Number of lines deleted */ deletions: number; /** * Total number of changes (additions + deletions) */ changes: number; /** * Previous filename (for renamed/copied files) */ previous_filename?: string | null; }[]; } type ResponseGetGitV1RepoRepoContentsPath200 = ResponseGetGitV1RepoRepoContentsPath200File | ResponseGetGitV1RepoRepoContentsPath200Directory; interface ResponseGetGitV1RepoRepoContentsPath200File { name: string; path: string; /** * The hash / object ID of the file. */ sha: string; size: number; /** * Base64-encoded content. */ content: string; type: "file"; } interface ResponseGetGitV1RepoRepoContentsPath200Directory { name: string; path: string; /** * The hash / object ID of the directory. */ sha: string; entries: (ResponseGetGitV1RepoRepoContentsPath200FileEntry | ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry)[]; type: "dir"; } interface ResponseGetGitV1RepoRepoContentsPath200FileEntry { name: string; path: string; /** * The hash / object ID of the file. */ sha: string; size: number; type: "file"; } /** * Directory */ interface ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry { name: string; path: string; /** * The hash / object ID of the directory. */ sha: string; entries: (ResponseGetGitV1RepoRepoContentsPath200FileEntry1 | ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive)[]; type: "dir"; } interface ResponseGetGitV1RepoRepoContentsPath200FileEntry1 { } interface ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive { } /** * Blob object */ interface ResponseGetGitV1RepoRepoGitBlobsHash200 { /** * The content of the blob, base64 encoded. */ content: string; /** * The encoding of the blob. Always `base64`. */ encoding: "base64"; /** * The object's hash. */ sha: string; /** * The blob's size in bytes */ size: number; } /** * The selector used for this query (echoed back) */ type ResponseGetGitV1RepoRepoGitCommits200CommitsSelector = ResponseGetGitV1RepoRepoGitCommits200Range | ResponseGetGitV1RepoRepoGitCommits200Since | ResponseGetGitV1RepoRepoGitCommits200Until; interface ResponseGetGitV1RepoRepoGitCommits200 { /** * List of commits */ commits: { /** * The author of the commit */ author: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The committer */ committer: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The commit message */ message: string; /** * The ID of the tree pointed to by this commit */ tree: { /** * The tree's hash ID */ sha: string; }; /** * Parent commit(s) of this commit */ parents: { /** * The commit's hash ID */ sha: string; }[]; /** * The commit's hash ID */ sha: string; }[]; /** * Number of commits returned in this page */ count: number; /** * Number of commits skipped (offset) - deprecated, use `since`/`until` selectors instead */ offset?: number | null; /** * Maximum number of commits requested (limit) */ limit: number; /** * Total number of commits available in the branch/range */ total: number; /** * Sort order for commit listing */ order: "desc" | "asc"; selector?: null | ResponseGetGitV1RepoRepoGitCommits200CommitsSelector; /** * SHA of the next commit for pagination. None if there are no more commits. * - For `order=desc`: use `until=next_commit` to get the next page * - For `order=asc`: use `since=next_commit` to get the next page */ next_commit?: string | null; } /** * Select commits in a range (like git's A..B) */ interface ResponseGetGitV1RepoRepoGitCommits200Range { /** * Select commits in a range (like git's A..B) */ Range: { /** * Exclude this commit and its ancestors */ since: string; /** * Start from this commit (inclusive) */ until: string; }; } /** * Select commits since this commit SHA (exclusive) */ interface ResponseGetGitV1RepoRepoGitCommits200Since { /** * Select commits since this commit SHA (exclusive) */ Since: string; } /** * Select commits until this commit SHA (inclusive) */ interface ResponseGetGitV1RepoRepoGitCommits200Until { /** * Select commits until this commit SHA (inclusive) */ Until: string; } interface ResponseGetGitV1RepoRepoGitCommits403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoGitCommits500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1RepoRepoGitCommits200 { /** * Commit object */ commit: { /** * The author of the commit */ author: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The committer */ committer: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The commit message */ message: string; /** * The ID of the tree pointed to by this commit */ tree: { /** * The tree's hash ID */ sha: string; }; /** * Parent commit(s) of this commit */ parents: { /** * The commit's hash ID */ sha: string; }[]; /** * The commit's hash ID */ sha: string; }; } interface ResponsePostGitV1RepoRepoGitCommits403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1RepoRepoGitCommits500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } /** * Commit object */ interface ResponseGetGitV1RepoRepoGitCommitsHash200 { /** * The author of the commit */ author: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The committer */ committer: { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The commit message */ message: string; /** * The ID of the tree pointed to by this commit */ tree: { /** * The tree's hash ID */ sha: string; }; /** * Parent commit(s) of this commit */ parents: { /** * The commit's hash ID */ sha: string; }[]; /** * The commit's hash ID */ sha: string; } interface ResponseGetGitV1RepoRepoGitRefsHeads200 { branches: { name: string; /** * The latest commit ID on this branch. Null if the branch is empty. */ commit?: string | null; }[]; } interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch200 { /** * The name of the created branch */ name: string; /** * The SHA of the commit the branch points to */ sha: string; } interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostGitV1RepoRepoGitRefsHeadsBranch500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } /** * A reference to a Git object */ interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch200 { /** * The name of the ref (e.g., "refs/heads/main" or "refs/tags/v1.0.0") */ name: string; /** * The SHA-1 hash of the Git object this reference points to */ sha: string; } interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoGitRefsHeadsBranch500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoGitRefsTags200 { tags: { /** * The tag name */ name: string; tagger?: null | { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The tag message */ message?: string | null; /** * The object this tag points to */ target: { /** * The target object's hash ID */ sha: string; }; /** * The tag's hash ID */ sha: string; }[]; } /** * Tag object */ interface ResponseGetGitV1RepoRepoGitRefsTagsTag200 { /** * The tag name */ name: string; tagger?: null | { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The tag message */ message?: string | null; /** * The object this tag points to */ target: { /** * The target object's hash ID */ sha: string; }; /** * The tag's hash ID */ sha: string; } interface ResponseGetGitV1RepoRepoGitRefsTagsTag400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoGitRefsTagsTag403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetGitV1RepoRepoGitRefsTagsTag500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } /** * Tag object */ interface ResponseGetGitV1RepoRepoGitTagsHash200 { /** * The tag name */ name: string; tagger?: null | { /** * The date marker for this signature */ date: string; name: string; email: string; }; /** * The tag message */ message?: string | null; /** * The object this tag points to */ target: { /** * The target object's hash ID */ sha: string; }; /** * The tag's hash ID */ sha: string; } /** * Tree object */ interface ResponseGetGitV1RepoRepoGitTreesHash200 { /** * The tree's entries */ tree: (ResponseGetGitV1RepoRepoGitTreesHash200Blob | ResponseGetGitV1RepoRepoGitTreesHash200Tree)[]; /** * The tree's hash ID */ sha: string; } interface ResponseGetGitV1RepoRepoGitTreesHash200Blob { path: string; sha: string; size: number; type: "blob"; } interface ResponseGetGitV1RepoRepoGitTreesHash200Tree { path: string; sha: string; type: "tree"; } interface ResponseGetGitV1RepoRepoSearch200 { /** * Total number of files with matches (before pagination). */ totalFiles: number; /** * Total number of individual line matches across all files (before pagination). */ totalMatches: number; /** * Whether there are more results beyond the current page. */ hasMore: boolean; /** * The matching files with their line matches (paginated). */ files: { /** * The file path relative to the repository root. */ path: string; /** * The file extension (e.g. "rs", "ts"), if any. */ extension?: string | null; /** * The size of the file in bytes. */ size: number; /** * The matches found in this file. */ matches: { /** * 1-based line number of the match. */ lineNumber: number; /** * The full text of the matching line. */ line: string; /** * 0-based column offset of the first match in the line. */ startColumn: number; /** * 0-based column offset of the end of the first match in the line. */ endColumn: number; /** * Context lines before the match. */ contextBefore: string[]; /** * Context lines after the match. */ contextAfter: string[]; }[]; }[]; } interface ResponseGetGitV1RepoRepoSearchCommits200 { /** * Total number of matching commits found. */ totalCommits: number; /** * Whether there are more results beyond those returned. */ hasMore: boolean; /** * The matching commits. */ commits: { /** * The commit SHA. */ sha: string; /** * The commit message (first line / summary). */ message: string; /** * The full commit message. */ fullMessage: string; /** * The author name. */ authorName: string; /** * The author email. */ authorEmail: string; /** * The commit timestamp (ISO 8601). */ timestamp: string; }[]; } /** * Diff content search results. */ interface ResponseGetGitV1RepoRepoSearchDiffs200 { /** * Total number of commits with matching changes (before pagination). */ totalCommits: number; /** * Whether there are more results beyond the current page. */ hasMore: boolean; /** * The matching commits with their file-level diff matches. */ commits: { /** * The commit SHA. */ sha: string; /** * The commit message summary (first line). */ message: string; /** * The author name. */ authorName: string; /** * The author email. */ authorEmail: string; /** * The commit timestamp (ISO 8601). */ timestamp: string; /** * Files in this commit with matching changed content. */ files: { /** * The file path relative to the repository root. */ path: string; /** * The matching lines in the diff for this file. */ matches: { /** * The matched line content (without the leading +/- prefix). */ line: string; /** * 1-based line number in the new file (for additions) or old file (for deletions). */ lineNumber: number; /** * 0-based byte offset of the match start within the line. */ startColumn: number; /** * 0-based byte offset of the match end within the line. */ endColumn: number; /** * Whether this was an added line (true) or a deleted line (false). */ isAddition: boolean; }[]; }[]; }[]; } interface ResponseGetGitV1RepoRepoSearchFiles200 { /** * Total number of matching files. */ totalFiles: number; /** * Whether the results were truncated. */ hasMore: boolean; /** * The matching file paths. */ files: { /** * The full file path relative to the repository root. */ path: string; /** * The file extension (e.g. "rs", "ts"), if any. */ extension?: string | null; /** * The file size in bytes. */ size: number; }[]; } interface ResponseGetGitV1RepoRepoTrigger200 { triggers: { repositoryId: string; trigger: { branches?: string[] | null; globs?: string[] | null; event: "push"; }; action: { endpoint: string; action: "webhook"; }; managed: boolean; id: string; createdAt: string; }[]; } interface ResponseGetGitV1RepoRepoTrigger400 { message: string; } interface ResponseGetGitV1RepoRepoTrigger403 { message: string; } interface ResponseGetGitV1RepoRepoTrigger404 { message: string; } interface ResponseGetGitV1RepoRepoTrigger500 { message: string; } interface ResponsePostGitV1RepoRepoTrigger200 { triggerId: string; } interface ResponsePostGitV1RepoRepoTrigger400 { message: string; } interface ResponsePostGitV1RepoRepoTrigger403 { message: string; } interface ResponsePostGitV1RepoRepoTrigger404 { message: string; } interface ResponsePostGitV1RepoRepoTrigger500 { message: string; } interface ResponseDeleteGitV1RepoRepoTriggerTrigger200 { } interface ResponseDeleteGitV1RepoRepoTriggerTrigger400 { message: string; } interface ResponseDeleteGitV1RepoRepoTriggerTrigger403 { message: string; } interface ResponseDeleteGitV1RepoRepoTriggerTrigger404 { } interface ResponseDeleteGitV1RepoRepoTriggerTrigger500 { message: string; } interface ResponseGetIdentityV1Identities200 { identities: { id: string; managed: boolean; }[]; offset: number; total: number; } interface ResponsePostIdentityV1Identities200 { id: string; managed: boolean; } interface ResponseDeleteIdentityV1IdentitiesIdentity200 { } interface ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200 { repositories: { id: string; name?: string | null; accountId: string; permissions: "read" | "write"; visibility: "public" | "private"; }[]; } interface ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200 { identity: string; repo: string; accessLevel?: null | ("read" | "write"); } interface ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200 { } interface ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200 { } interface ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200 { } interface ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200 { permissions: { id: string; vmId: string; identityId: string; allowedUsers?: string[] | null; grantedAt: string; grantedBy: string; }[]; offset: number; total: number; } /** * Full VM permission record */ interface ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200 { id: string; vmId: string; identityId: string; allowedUsers?: string[] | null; grantedAt: string; grantedBy: string; } /** * Full VM permission record */ interface ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200 { id: string; vmId: string; identityId: string; allowedUsers?: string[] | null; grantedAt: string; grantedBy: string; } /** * Full VM permission record */ interface ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200 { id: string; vmId: string; identityId: string; allowedUsers?: string[] | null; grantedAt: string; grantedBy: string; } interface ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200 { } interface ResponseGetIdentityV1IdentitiesIdentityTokens200 { tokens: { id: string; }[]; } interface ResponsePostIdentityV1IdentitiesIdentityTokens200 { id: string; token: string; } interface ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200 { } interface ResponseGetObservabilityV1Logs200 { logs: { message: string; timestamp: string; source?: string | null; resourceType?: string | null; origin?: string | null; resourceId?: string | null; instanceId?: string | null; level?: string | null; vmService?: string | null; }[]; nextPageToken?: string | null; } interface ResponseGetV1CronSchedules200 { schedules: ({ id: string; accountId: string; deploymentId: string; path?: string | null; cron: string; timezone: string; payload: unknown; active: boolean; createdAt: string; updatedAt: string; } & { successRate?: number | null; averageLatencyMs?: number | null; executionCount?: number | null; })[]; } interface ResponsePostV1CronSchedules200 { schedule: { id: string; accountId: string; deploymentId: string; path?: string | null; cron: string; timezone: string; payload: unknown; active: boolean; createdAt: string; updatedAt: string; }; } interface ResponseGetV1CronSchedulesId200 { schedule: { id: string; accountId: string; deploymentId: string; path?: string | null; cron: string; timezone: string; payload: unknown; active: boolean; createdAt: string; updatedAt: string; }; } interface ResponseDeleteV1CronSchedulesId200 { success: boolean; } interface ResponsePatchV1CronSchedulesId200 { success: boolean; } interface ResponseGetV1CronSchedulesIdExecutions200 { executions: { id: string; scheduleId: string; deploymentId: string; runAt: string; status: "queued" | "running" | "succeeded" | "failed" | "retry"; attempts: number; maxAttempts: number; lockedAt?: string | null; lockOwner?: string | null; lastError?: string | null; instanceId?: string | null; createdAt: string; updatedAt: string; }[]; total: number; offset: number; limit: number; } interface ResponseGetV1CronSchedulesIdMetricsTimeline200 { scheduleId: string; dataPoints: { timestamp: string; executionCount: number; succeededCount: number; failedCount: number; averageLatencyMs?: number | null; }[]; start: string; end: string; } interface ResponseGetV1CronSchedulesIdSuccessRate200 { total: number; succeeded: number; failed: number; successRate: number; start: string; end: string; averageLatencyMs?: number | null; } interface ResponseGetV1Vms200 { vms: { /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ id: string; vmInstanceId?: null | string; state: "starting" | "running" | "suspending" | "suspended" | "stopped"; metrics?: null | { wallTimeSeconds: number; billingDay: string; isActiveToday: boolean; }; createdAt?: string | null; lastNetworkActivity?: string | null; cpuTimeSeconds?: number | null; persistence?: null | ({ /** * Priority for eviction when storage quota is reached. Higher values * mean the VM is less likely to be evicted. Range is 0-10, default is * 5. */ priority?: number | null; type: "sticky"; } | { deleteEvent?: null | ("OnStop" | "OnSuspend"); type: "ephemeral"; } | { type: "persistent"; }); snapshotId?: null | string; deleted?: boolean; createdDeclaratively?: boolean; }[]; totalCount: number; runningCount: number; startingCount: number; suspendedCount: number; stoppedCount: number; userId?: string | null; } interface ResponseGetV1Vms500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1Vms200 { id: string; domains: string[]; consoleUrl?: string | null; snapshotId?: null | string; } interface ResponseGetV1VmsSnapshots200 { snapshots: { /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ snapshotId: string; /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ sourceVmId: string; accountId?: null | string; /** * When the snapshot was created */ createdAt: string; /** * Optional name for the snapshot */ name?: string | null; /** * Whether the snapshot creation failed */ failed: boolean; /** * Reason for failure if applicable */ failureReason?: string | null; /** * Whether the snapshot has been soft-deleted */ deleted: boolean; /** * Snapshot persistence strategy */ snapshotPersistence: { priority?: number | null; type: "sticky"; } | { type: "persistent"; }; /** * Number of vCPUs configured at snapshot time */ vcpuCount?: number | null; /** * Memory size in MiB configured at snapshot time */ memSizeMib?: number | null; /** * Root filesystem size in MB */ rootfsSizeMb?: number | null; }[]; totalCount: number; failedCount: number; deletedCount: number; } interface ResponseGetV1VmsSnapshots400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsSnapshots500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsSnapshots200 { /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ snapshotId: string; } type ResponseDeleteV1VmsSnapshotsSnapshotId200 = { /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ snapshot_id: string; }; interface ResponseDeleteV1VmsSnapshotsSnapshotId404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteV1VmsSnapshotsSnapshotId409 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteV1VmsSnapshotsSnapshotId500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type ResponsePatchV1VmsSnapshotsSnapshotId200 = { /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ snapshot_id: string; name?: string | null; }; interface ResponsePatchV1VmsSnapshotsSnapshotId404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePatchV1VmsSnapshotsSnapshotId500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsIdResize200 { } interface ResponsePostV1VmsIdResize400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsIdResize404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsIdResize500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmId200 { /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ id: string; vmInstanceId?: null | string; lastNetworkActivity?: string | null; state: "starting" | "running" | "suspending" | "suspended" | "stopped"; cpuTimeSeconds?: number | null; } interface ResponseGetV1VmsVmId500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type ResponseDeleteV1VmsVmId200 = { id: string; }; interface ResponseDeleteV1VmsVmId500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdAwait200 { /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ id: string; exitStatus: string; } interface ResponsePostV1VmsVmIdAwait500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdExecAwait200 { stdout?: string | null; stderr?: string | null; statusCode?: number | null; } interface ResponsePostV1VmsVmIdExecAwait500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type ResponseGetV1VmsVmIdFilesFilepath200 = { content: string; /** * File content encoding */ encoding?: "utf8" | "base64"; } | { files: { name: string; kind: "file" | "directory"; }[]; }; interface ResponseGetV1VmsVmIdFilesFilepath400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdFilesFilepath404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdFilesFilepath500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type ResponsePutV1VmsVmIdFilesFilepath200 = {}; interface ResponsePutV1VmsVmIdFilesFilepath400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutV1VmsVmIdFilesFilepath404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePutV1VmsVmIdFilesFilepath500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdFork200 { vmId: string; forks: { id: string; domains: string[]; consoleUrl?: string | null; }[]; } interface ResponsePostV1VmsVmIdFork403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdKill200 { /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ id: string; } interface ResponsePostV1VmsVmIdKill500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdOptimize200 { id: string; message: string; } interface ResponsePostV1VmsVmIdOptimize500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSnapshot200 { /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ snapshotId: string; /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ sourceVmId: string; sourceVmInstanceId?: null | string; } interface ResponsePostV1VmsVmIdStart200 { id: string; domains: string[]; console_url?: string | null; } interface ResponsePostV1VmsVmIdStop200 { /** * VM ID — always 20 alphanumeric lowercase characters. * New IDs are fully random. Legacy short IDs are right-padded with '0' on parse. */ vmId: string; vmInstanceId: string; } interface ResponsePostV1VmsVmIdStop400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdStop500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSuspend200 { /** * The ID of the VM that was suspended */ id: string; /** * The ID of the VM instance that was suspended */ vmInstanceId: string; /** * The ID of the snapshot layer created for this VM — if a layer was created */ snapshotLayerId: string; } interface ResponsePostV1VmsVmIdSuspend500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSystemdRestart200 { results: { serviceId: string; success: boolean; message: string; }[]; } interface ResponsePostV1VmsVmIdSystemdRestart500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdSystemdServices200 { services: { name: string; }[]; } interface ResponseGetV1VmsVmIdSystemdServices500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSystemdServices200 { success: boolean; message: string; serviceName: string; } interface ResponsePostV1VmsVmIdSystemdServices409 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSystemdServices500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteV1VmsVmIdSystemdServicesServiceId200 { success: boolean; message: string; } interface ResponseDeleteV1VmsVmIdSystemdServicesServiceId404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseDeleteV1VmsVmIdSystemdServicesServiceId500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200 { logs: { message: string; timestamp: string; priority?: string | null; unit?: string | null; }[]; } interface ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200 { name: string; activeState: string; subState: string; loadState: string; description: string; } interface ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSystemdStart200 { results: { serviceId: string; success: boolean; message: string; }[]; } interface ResponsePostV1VmsVmIdSystemdStart500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostV1VmsVmIdSystemdStop200 { results: { serviceId: string; success: boolean; message: string; }[]; } interface ResponsePostV1VmsVmIdSystemdStop500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdTerminals200 { terminals: { name: string; status: string; created?: string | null; }[]; } interface ResponseGetV1VmsVmIdTerminals500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200 { logs: { line: string; timestamp?: string | null; }[]; } interface ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200 { output: string; } interface ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type ResponsePostWebV1Deploy200 = { deploymentId: string; /** * @deprecated */ projectId: string; domains?: string[] | null; /** * The entrypoint file for the website. If not specified we try to automatically detect it. * For static-only deployments (static: true), this will be None. */ entrypoint?: string | null; } | { deploymentId: string; }; interface ResponsePostWebV1Deploy400 { message: string; } type ResponsePostWebV1Deployment200 = { deploymentId: string; /** * @deprecated */ projectId: string; domains?: string[] | null; /** * The entrypoint file for the website. If not specified we try to automatically detect it. * For static-only deployments (static: true), this will be None. */ entrypoint?: string | null; } | { deploymentId: string; }; interface ResponsePostWebV1Deployment400 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostWebV1Deployment403 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostWebV1Deployment404 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostWebV1Deployment500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponsePostWebV1Deployment502 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } interface ResponseGetWebV1Deployments200 { entries: { deploymentId: string; accountId: string; provisionedAt: string; timeout: string; state: "provisioning" | "deployed" | "failed"; deployedAt?: string | null; domains: string[]; envVars: { [k: string]: string; }; }[]; total: number; offset: number; } interface ResponseGetWebV1Deployments500 { /** * Error code in SCREAMING_SNAKE_CASE */ error: string; /** * Human-readable error message */ message: string; } type responses_ResponseDeleteDnsV1Records200 = ResponseDeleteDnsV1Records200; type responses_ResponseDeleteDnsV1Records403 = ResponseDeleteDnsV1Records403; type responses_ResponseDeleteDnsV1Records500 = ResponseDeleteDnsV1Records500; type responses_ResponseDeleteDomainsV1MappingsDomain200 = ResponseDeleteDomainsV1MappingsDomain200; type responses_ResponseDeleteDomainsV1MappingsDomain400 = ResponseDeleteDomainsV1MappingsDomain400; type responses_ResponseDeleteDomainsV1MappingsDomain401 = ResponseDeleteDomainsV1MappingsDomain401; type responses_ResponseDeleteDomainsV1MappingsDomain422 = ResponseDeleteDomainsV1MappingsDomain422; type responses_ResponseDeleteDomainsV1MappingsDomain500 = ResponseDeleteDomainsV1MappingsDomain500; type responses_ResponseDeleteDomainsV1MappingsDomain502 = ResponseDeleteDomainsV1MappingsDomain502; type responses_ResponseDeleteDomainsV1Verifications200 = ResponseDeleteDomainsV1Verifications200; type responses_ResponseDeleteDomainsV1Verifications400 = ResponseDeleteDomainsV1Verifications400; type responses_ResponseDeleteGitV1IdentityIdentity200 = ResponseDeleteGitV1IdentityIdentity200; type responses_ResponseDeleteGitV1IdentityIdentity403 = ResponseDeleteGitV1IdentityIdentity403; type responses_ResponseDeleteGitV1IdentityIdentity404 = ResponseDeleteGitV1IdentityIdentity404; type responses_ResponseDeleteGitV1IdentityIdentity500 = ResponseDeleteGitV1IdentityIdentity500; type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo200 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo200; type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo403 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo403; type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo404 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo404; type responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo500 = ResponseDeleteGitV1IdentityIdentityPermissionsRepo500; type responses_ResponseDeleteGitV1IdentityIdentityTokens200 = ResponseDeleteGitV1IdentityIdentityTokens200; type responses_ResponseDeleteGitV1IdentityIdentityTokens403 = ResponseDeleteGitV1IdentityIdentityTokens403; type responses_ResponseDeleteGitV1IdentityIdentityTokens404 = ResponseDeleteGitV1IdentityIdentityTokens404; type responses_ResponseDeleteGitV1IdentityIdentityTokens500 = ResponseDeleteGitV1IdentityIdentityTokens500; type responses_ResponseDeleteGitV1RepoRepo200 = ResponseDeleteGitV1RepoRepo200; type responses_ResponseDeleteGitV1RepoRepo403 = ResponseDeleteGitV1RepoRepo403; type responses_ResponseDeleteGitV1RepoRepo500 = ResponseDeleteGitV1RepoRepo500; type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger200 = ResponseDeleteGitV1RepoRepoTriggerTrigger200; type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger400 = ResponseDeleteGitV1RepoRepoTriggerTrigger400; type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger403 = ResponseDeleteGitV1RepoRepoTriggerTrigger403; type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger404 = ResponseDeleteGitV1RepoRepoTriggerTrigger404; type responses_ResponseDeleteGitV1RepoRepoTriggerTrigger500 = ResponseDeleteGitV1RepoRepoTriggerTrigger500; type responses_ResponseDeleteIdentityV1IdentitiesIdentity200 = ResponseDeleteIdentityV1IdentitiesIdentity200; type responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200; type responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200; type responses_ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200 = ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200; type responses_ResponseDeleteV1CronSchedulesId200 = ResponseDeleteV1CronSchedulesId200; type responses_ResponseDeleteV1VmsSnapshotsSnapshotId200 = ResponseDeleteV1VmsSnapshotsSnapshotId200; type responses_ResponseDeleteV1VmsSnapshotsSnapshotId404 = ResponseDeleteV1VmsSnapshotsSnapshotId404; type responses_ResponseDeleteV1VmsSnapshotsSnapshotId409 = ResponseDeleteV1VmsSnapshotsSnapshotId409; type responses_ResponseDeleteV1VmsSnapshotsSnapshotId500 = ResponseDeleteV1VmsSnapshotsSnapshotId500; type responses_ResponseDeleteV1VmsVmId200 = ResponseDeleteV1VmsVmId200; type responses_ResponseDeleteV1VmsVmId500 = ResponseDeleteV1VmsVmId500; type responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId200 = ResponseDeleteV1VmsVmIdSystemdServicesServiceId200; type responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId404 = ResponseDeleteV1VmsVmIdSystemdServicesServiceId404; type responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId500 = ResponseDeleteV1VmsVmIdSystemdServicesServiceId500; type responses_ResponseGetAuthV1BackgroundRequestsRequestId202 = ResponseGetAuthV1BackgroundRequestsRequestId202; type responses_ResponseGetAuthV1BackgroundRequestsRequestId404 = ResponseGetAuthV1BackgroundRequestsRequestId404; type responses_ResponseGetAuthV1BackgroundTest200 = ResponseGetAuthV1BackgroundTest200; type responses_ResponseGetAuthV1BackgroundTest400 = ResponseGetAuthV1BackgroundTest400; type responses_ResponseGetAuthV1Whoami200 = ResponseGetAuthV1Whoami200; type responses_ResponseGetDnsV1Records200 = ResponseGetDnsV1Records200; type responses_ResponseGetDnsV1Records400 = ResponseGetDnsV1Records400; type responses_ResponseGetDomainsV1Domains200 = ResponseGetDomainsV1Domains200; type responses_ResponseGetDomainsV1Domains400 = ResponseGetDomainsV1Domains400; type responses_ResponseGetDomainsV1Mappings200 = ResponseGetDomainsV1Mappings200; type responses_ResponseGetDomainsV1Verifications200 = ResponseGetDomainsV1Verifications200; type responses_ResponseGetDomainsV1Verifications400 = ResponseGetDomainsV1Verifications400; type responses_ResponseGetExecuteV1Deployments200 = ResponseGetExecuteV1Deployments200; type responses_ResponseGetExecuteV1Deployments500 = ResponseGetExecuteV1Deployments500; type responses_ResponseGetExecuteV1DeploymentsDeployment200 = ResponseGetExecuteV1DeploymentsDeployment200; type responses_ResponseGetExecuteV1DeploymentsDeployment401 = ResponseGetExecuteV1DeploymentsDeployment401; type responses_ResponseGetExecuteV1DeploymentsDeployment404 = ResponseGetExecuteV1DeploymentsDeployment404; type responses_ResponseGetExecuteV1DeploymentsDeployment500 = ResponseGetExecuteV1DeploymentsDeployment500; type responses_ResponseGetGitV1Identity200 = ResponseGetGitV1Identity200; type responses_ResponseGetGitV1IdentityIdentityPermissions200 = ResponseGetGitV1IdentityIdentityPermissions200; type responses_ResponseGetGitV1IdentityIdentityPermissions403 = ResponseGetGitV1IdentityIdentityPermissions403; type responses_ResponseGetGitV1IdentityIdentityPermissions404 = ResponseGetGitV1IdentityIdentityPermissions404; type responses_ResponseGetGitV1IdentityIdentityPermissions500 = ResponseGetGitV1IdentityIdentityPermissions500; type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo200 = ResponseGetGitV1IdentityIdentityPermissionsRepo200; type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo403 = ResponseGetGitV1IdentityIdentityPermissionsRepo403; type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo404 = ResponseGetGitV1IdentityIdentityPermissionsRepo404; type responses_ResponseGetGitV1IdentityIdentityPermissionsRepo500 = ResponseGetGitV1IdentityIdentityPermissionsRepo500; type responses_ResponseGetGitV1IdentityIdentityTokens200 = ResponseGetGitV1IdentityIdentityTokens200; type responses_ResponseGetGitV1IdentityIdentityTokens403 = ResponseGetGitV1IdentityIdentityTokens403; type responses_ResponseGetGitV1IdentityIdentityTokens404 = ResponseGetGitV1IdentityIdentityTokens404; type responses_ResponseGetGitV1IdentityIdentityTokens500 = ResponseGetGitV1IdentityIdentityTokens500; type responses_ResponseGetGitV1Repo200 = ResponseGetGitV1Repo200; type responses_ResponseGetGitV1Repo500 = ResponseGetGitV1Repo500; type responses_ResponseGetGitV1RepoRepo200 = ResponseGetGitV1RepoRepo200; type responses_ResponseGetGitV1RepoRepoCompare200 = ResponseGetGitV1RepoRepoCompare200; type responses_ResponseGetGitV1RepoRepoContentsPath200 = ResponseGetGitV1RepoRepoContentsPath200; type responses_ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive = ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive; type responses_ResponseGetGitV1RepoRepoContentsPath200Directory = ResponseGetGitV1RepoRepoContentsPath200Directory; type responses_ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry = ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry; type responses_ResponseGetGitV1RepoRepoContentsPath200File = ResponseGetGitV1RepoRepoContentsPath200File; type responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry = ResponseGetGitV1RepoRepoContentsPath200FileEntry; type responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry1 = ResponseGetGitV1RepoRepoContentsPath200FileEntry1; type responses_ResponseGetGitV1RepoRepoGitBlobsHash200 = ResponseGetGitV1RepoRepoGitBlobsHash200; type responses_ResponseGetGitV1RepoRepoGitCommits200 = ResponseGetGitV1RepoRepoGitCommits200; type responses_ResponseGetGitV1RepoRepoGitCommits200CommitsSelector = ResponseGetGitV1RepoRepoGitCommits200CommitsSelector; type responses_ResponseGetGitV1RepoRepoGitCommits200Range = ResponseGetGitV1RepoRepoGitCommits200Range; type responses_ResponseGetGitV1RepoRepoGitCommits200Since = ResponseGetGitV1RepoRepoGitCommits200Since; type responses_ResponseGetGitV1RepoRepoGitCommits200Until = ResponseGetGitV1RepoRepoGitCommits200Until; type responses_ResponseGetGitV1RepoRepoGitCommits403 = ResponseGetGitV1RepoRepoGitCommits403; type responses_ResponseGetGitV1RepoRepoGitCommits500 = ResponseGetGitV1RepoRepoGitCommits500; type responses_ResponseGetGitV1RepoRepoGitCommitsHash200 = ResponseGetGitV1RepoRepoGitCommitsHash200; type responses_ResponseGetGitV1RepoRepoGitRefsHeads200 = ResponseGetGitV1RepoRepoGitRefsHeads200; type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch200 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch200; type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch400 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch400; type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch403 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch403; type responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch500 = ResponseGetGitV1RepoRepoGitRefsHeadsBranch500; type responses_ResponseGetGitV1RepoRepoGitRefsTags200 = ResponseGetGitV1RepoRepoGitRefsTags200; type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag200 = ResponseGetGitV1RepoRepoGitRefsTagsTag200; type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag400 = ResponseGetGitV1RepoRepoGitRefsTagsTag400; type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag403 = ResponseGetGitV1RepoRepoGitRefsTagsTag403; type responses_ResponseGetGitV1RepoRepoGitRefsTagsTag500 = ResponseGetGitV1RepoRepoGitRefsTagsTag500; type responses_ResponseGetGitV1RepoRepoGitTagsHash200 = ResponseGetGitV1RepoRepoGitTagsHash200; type responses_ResponseGetGitV1RepoRepoGitTreesHash200 = ResponseGetGitV1RepoRepoGitTreesHash200; type responses_ResponseGetGitV1RepoRepoGitTreesHash200Blob = ResponseGetGitV1RepoRepoGitTreesHash200Blob; type responses_ResponseGetGitV1RepoRepoGitTreesHash200Tree = ResponseGetGitV1RepoRepoGitTreesHash200Tree; type responses_ResponseGetGitV1RepoRepoIdDefaultBranch200 = ResponseGetGitV1RepoRepoIdDefaultBranch200; type responses_ResponseGetGitV1RepoRepoIdDefaultBranch403 = ResponseGetGitV1RepoRepoIdDefaultBranch403; type responses_ResponseGetGitV1RepoRepoIdDefaultBranch500 = ResponseGetGitV1RepoRepoIdDefaultBranch500; type responses_ResponseGetGitV1RepoRepoIdGithubSync200 = ResponseGetGitV1RepoRepoIdGithubSync200; type responses_ResponseGetGitV1RepoRepoIdVisibility200 = ResponseGetGitV1RepoRepoIdVisibility200; type responses_ResponseGetGitV1RepoRepoIdVisibility403 = ResponseGetGitV1RepoRepoIdVisibility403; type responses_ResponseGetGitV1RepoRepoIdVisibility500 = ResponseGetGitV1RepoRepoIdVisibility500; type responses_ResponseGetGitV1RepoRepoSearch200 = ResponseGetGitV1RepoRepoSearch200; type responses_ResponseGetGitV1RepoRepoSearchCommits200 = ResponseGetGitV1RepoRepoSearchCommits200; type responses_ResponseGetGitV1RepoRepoSearchDiffs200 = ResponseGetGitV1RepoRepoSearchDiffs200; type responses_ResponseGetGitV1RepoRepoSearchFiles200 = ResponseGetGitV1RepoRepoSearchFiles200; type responses_ResponseGetGitV1RepoRepoTrigger200 = ResponseGetGitV1RepoRepoTrigger200; type responses_ResponseGetGitV1RepoRepoTrigger400 = ResponseGetGitV1RepoRepoTrigger400; type responses_ResponseGetGitV1RepoRepoTrigger403 = ResponseGetGitV1RepoRepoTrigger403; type responses_ResponseGetGitV1RepoRepoTrigger404 = ResponseGetGitV1RepoRepoTrigger404; type responses_ResponseGetGitV1RepoRepoTrigger500 = ResponseGetGitV1RepoRepoTrigger500; type responses_ResponseGetIdentityV1Identities200 = ResponseGetIdentityV1Identities200; type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200; type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200; type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200; type responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200; type responses_ResponseGetIdentityV1IdentitiesIdentityTokens200 = ResponseGetIdentityV1IdentitiesIdentityTokens200; type responses_ResponseGetObservabilityV1Logs200 = ResponseGetObservabilityV1Logs200; type responses_ResponseGetV1CronSchedules200 = ResponseGetV1CronSchedules200; type responses_ResponseGetV1CronSchedulesId200 = ResponseGetV1CronSchedulesId200; type responses_ResponseGetV1CronSchedulesIdExecutions200 = ResponseGetV1CronSchedulesIdExecutions200; type responses_ResponseGetV1CronSchedulesIdMetricsTimeline200 = ResponseGetV1CronSchedulesIdMetricsTimeline200; type responses_ResponseGetV1CronSchedulesIdSuccessRate200 = ResponseGetV1CronSchedulesIdSuccessRate200; type responses_ResponseGetV1Vms200 = ResponseGetV1Vms200; type responses_ResponseGetV1Vms500 = ResponseGetV1Vms500; type responses_ResponseGetV1VmsSnapshots200 = ResponseGetV1VmsSnapshots200; type responses_ResponseGetV1VmsSnapshots400 = ResponseGetV1VmsSnapshots400; type responses_ResponseGetV1VmsSnapshots500 = ResponseGetV1VmsSnapshots500; type responses_ResponseGetV1VmsVmId200 = ResponseGetV1VmsVmId200; type responses_ResponseGetV1VmsVmId500 = ResponseGetV1VmsVmId500; type responses_ResponseGetV1VmsVmIdFilesFilepath200 = ResponseGetV1VmsVmIdFilesFilepath200; type responses_ResponseGetV1VmsVmIdFilesFilepath400 = ResponseGetV1VmsVmIdFilesFilepath400; type responses_ResponseGetV1VmsVmIdFilesFilepath404 = ResponseGetV1VmsVmIdFilesFilepath404; type responses_ResponseGetV1VmsVmIdFilesFilepath500 = ResponseGetV1VmsVmIdFilesFilepath500; type responses_ResponseGetV1VmsVmIdSystemdServices200 = ResponseGetV1VmsVmIdSystemdServices200; type responses_ResponseGetV1VmsVmIdSystemdServices500 = ResponseGetV1VmsVmIdSystemdServices500; type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200 = ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200; type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404 = ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404; type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500 = ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500; type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200 = ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200; type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404 = ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404; type responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500 = ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500; type responses_ResponseGetV1VmsVmIdTerminals200 = ResponseGetV1VmsVmIdTerminals200; type responses_ResponseGetV1VmsVmIdTerminals500 = ResponseGetV1VmsVmIdTerminals500; type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200 = ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200; type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500 = ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500; type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200 = ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200; type responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500 = ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500; type responses_ResponseGetWebV1Deployments200 = ResponseGetWebV1Deployments200; type responses_ResponseGetWebV1Deployments500 = ResponseGetWebV1Deployments500; type responses_ResponsePatchV1CronSchedulesId200 = ResponsePatchV1CronSchedulesId200; type responses_ResponsePatchV1VmsSnapshotsSnapshotId200 = ResponsePatchV1VmsSnapshotsSnapshotId200; type responses_ResponsePatchV1VmsSnapshotsSnapshotId404 = ResponsePatchV1VmsSnapshotsSnapshotId404; type responses_ResponsePatchV1VmsSnapshotsSnapshotId500 = ResponsePatchV1VmsSnapshotsSnapshotId500; type responses_ResponsePostDnsV1Records200 = ResponsePostDnsV1Records200; type responses_ResponsePostDnsV1Records403 = ResponsePostDnsV1Records403; type responses_ResponsePostDnsV1Records500 = ResponsePostDnsV1Records500; type responses_ResponsePostDomainsV1CertsDomainWildcard200 = ResponsePostDomainsV1CertsDomainWildcard200; type responses_ResponsePostDomainsV1CertsDomainWildcard400 = ResponsePostDomainsV1CertsDomainWildcard400; type responses_ResponsePostDomainsV1MappingsDomain200 = ResponsePostDomainsV1MappingsDomain200; type responses_ResponsePostDomainsV1MappingsDomain4XX = ResponsePostDomainsV1MappingsDomain4XX; type responses_ResponsePostDomainsV1MappingsDomain5XX = ResponsePostDomainsV1MappingsDomain5XX; type responses_ResponsePostDomainsV1Verifications200 = ResponsePostDomainsV1Verifications200; type responses_ResponsePostDomainsV1Verifications400 = ResponsePostDomainsV1Verifications400; type responses_ResponsePostExecuteV1Script200 = ResponsePostExecuteV1Script200; type responses_ResponsePostExecuteV1Script400 = ResponsePostExecuteV1Script400; type responses_ResponsePostExecuteV1Script500 = ResponsePostExecuteV1Script500; type responses_ResponsePostExecuteV2Script200 = ResponsePostExecuteV2Script200; type responses_ResponsePostExecuteV2Script403 = ResponsePostExecuteV2Script403; type responses_ResponsePostExecuteV3Script200 = ResponsePostExecuteV3Script200; type responses_ResponsePostExecuteV3Script403 = ResponsePostExecuteV3Script403; type responses_ResponsePostGitV1Identity200 = ResponsePostGitV1Identity200; type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo200 = ResponsePostGitV1IdentityIdentityPermissionsRepo200; type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo403 = ResponsePostGitV1IdentityIdentityPermissionsRepo403; type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo404 = ResponsePostGitV1IdentityIdentityPermissionsRepo404; type responses_ResponsePostGitV1IdentityIdentityPermissionsRepo500 = ResponsePostGitV1IdentityIdentityPermissionsRepo500; type responses_ResponsePostGitV1IdentityIdentityTokens200 = ResponsePostGitV1IdentityIdentityTokens200; type responses_ResponsePostGitV1IdentityIdentityTokens403 = ResponsePostGitV1IdentityIdentityTokens403; type responses_ResponsePostGitV1IdentityIdentityTokens404 = ResponsePostGitV1IdentityIdentityTokens404; type responses_ResponsePostGitV1IdentityIdentityTokens500 = ResponsePostGitV1IdentityIdentityTokens500; type responses_ResponsePostGitV1Repo200 = ResponsePostGitV1Repo200; type responses_ResponsePostGitV1Repo403 = ResponsePostGitV1Repo403; type responses_ResponsePostGitV1Repo500 = ResponsePostGitV1Repo500; type responses_ResponsePostGitV1RepoRepoCommits200 = ResponsePostGitV1RepoRepoCommits200; type responses_ResponsePostGitV1RepoRepoCommits403 = ResponsePostGitV1RepoRepoCommits403; type responses_ResponsePostGitV1RepoRepoCommits500 = ResponsePostGitV1RepoRepoCommits500; type responses_ResponsePostGitV1RepoRepoGitCommits200 = ResponsePostGitV1RepoRepoGitCommits200; type responses_ResponsePostGitV1RepoRepoGitCommits403 = ResponsePostGitV1RepoRepoGitCommits403; type responses_ResponsePostGitV1RepoRepoGitCommits500 = ResponsePostGitV1RepoRepoGitCommits500; type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch200 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch200; type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch400 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch400; type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch403 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch403; type responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch500 = ResponsePostGitV1RepoRepoGitRefsHeadsBranch500; type responses_ResponsePostGitV1RepoRepoTrigger200 = ResponsePostGitV1RepoRepoTrigger200; type responses_ResponsePostGitV1RepoRepoTrigger400 = ResponsePostGitV1RepoRepoTrigger400; type responses_ResponsePostGitV1RepoRepoTrigger403 = ResponsePostGitV1RepoRepoTrigger403; type responses_ResponsePostGitV1RepoRepoTrigger404 = ResponsePostGitV1RepoRepoTrigger404; type responses_ResponsePostGitV1RepoRepoTrigger500 = ResponsePostGitV1RepoRepoTrigger500; type responses_ResponsePostIdentityV1Identities200 = ResponsePostIdentityV1Identities200; type responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200; type responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200; type responses_ResponsePostIdentityV1IdentitiesIdentityTokens200 = ResponsePostIdentityV1IdentitiesIdentityTokens200; type responses_ResponsePostV1CronSchedules200 = ResponsePostV1CronSchedules200; type responses_ResponsePostV1Vms200 = ResponsePostV1Vms200; type responses_ResponsePostV1VmsIdResize200 = ResponsePostV1VmsIdResize200; type responses_ResponsePostV1VmsIdResize400 = ResponsePostV1VmsIdResize400; type responses_ResponsePostV1VmsIdResize404 = ResponsePostV1VmsIdResize404; type responses_ResponsePostV1VmsIdResize500 = ResponsePostV1VmsIdResize500; type responses_ResponsePostV1VmsSnapshots200 = ResponsePostV1VmsSnapshots200; type responses_ResponsePostV1VmsVmIdAwait200 = ResponsePostV1VmsVmIdAwait200; type responses_ResponsePostV1VmsVmIdAwait500 = ResponsePostV1VmsVmIdAwait500; type responses_ResponsePostV1VmsVmIdExecAwait200 = ResponsePostV1VmsVmIdExecAwait200; type responses_ResponsePostV1VmsVmIdExecAwait500 = ResponsePostV1VmsVmIdExecAwait500; type responses_ResponsePostV1VmsVmIdFork200 = ResponsePostV1VmsVmIdFork200; type responses_ResponsePostV1VmsVmIdFork403 = ResponsePostV1VmsVmIdFork403; type responses_ResponsePostV1VmsVmIdKill200 = ResponsePostV1VmsVmIdKill200; type responses_ResponsePostV1VmsVmIdKill500 = ResponsePostV1VmsVmIdKill500; type responses_ResponsePostV1VmsVmIdOptimize200 = ResponsePostV1VmsVmIdOptimize200; type responses_ResponsePostV1VmsVmIdOptimize500 = ResponsePostV1VmsVmIdOptimize500; type responses_ResponsePostV1VmsVmIdSnapshot200 = ResponsePostV1VmsVmIdSnapshot200; type responses_ResponsePostV1VmsVmIdStart200 = ResponsePostV1VmsVmIdStart200; type responses_ResponsePostV1VmsVmIdStop200 = ResponsePostV1VmsVmIdStop200; type responses_ResponsePostV1VmsVmIdStop400 = ResponsePostV1VmsVmIdStop400; type responses_ResponsePostV1VmsVmIdStop500 = ResponsePostV1VmsVmIdStop500; type responses_ResponsePostV1VmsVmIdSuspend200 = ResponsePostV1VmsVmIdSuspend200; type responses_ResponsePostV1VmsVmIdSuspend500 = ResponsePostV1VmsVmIdSuspend500; type responses_ResponsePostV1VmsVmIdSystemdRestart200 = ResponsePostV1VmsVmIdSystemdRestart200; type responses_ResponsePostV1VmsVmIdSystemdRestart500 = ResponsePostV1VmsVmIdSystemdRestart500; type responses_ResponsePostV1VmsVmIdSystemdServices200 = ResponsePostV1VmsVmIdSystemdServices200; type responses_ResponsePostV1VmsVmIdSystemdServices409 = ResponsePostV1VmsVmIdSystemdServices409; type responses_ResponsePostV1VmsVmIdSystemdServices500 = ResponsePostV1VmsVmIdSystemdServices500; type responses_ResponsePostV1VmsVmIdSystemdStart200 = ResponsePostV1VmsVmIdSystemdStart200; type responses_ResponsePostV1VmsVmIdSystemdStart500 = ResponsePostV1VmsVmIdSystemdStart500; type responses_ResponsePostV1VmsVmIdSystemdStop200 = ResponsePostV1VmsVmIdSystemdStop200; type responses_ResponsePostV1VmsVmIdSystemdStop500 = ResponsePostV1VmsVmIdSystemdStop500; type responses_ResponsePostWebV1Deploy200 = ResponsePostWebV1Deploy200; type responses_ResponsePostWebV1Deploy400 = ResponsePostWebV1Deploy400; type responses_ResponsePostWebV1Deployment200 = ResponsePostWebV1Deployment200; type responses_ResponsePostWebV1Deployment400 = ResponsePostWebV1Deployment400; type responses_ResponsePostWebV1Deployment403 = ResponsePostWebV1Deployment403; type responses_ResponsePostWebV1Deployment404 = ResponsePostWebV1Deployment404; type responses_ResponsePostWebV1Deployment500 = ResponsePostWebV1Deployment500; type responses_ResponsePostWebV1Deployment502 = ResponsePostWebV1Deployment502; type responses_ResponsePutDomainsV1Verifications200 = ResponsePutDomainsV1Verifications200; type responses_ResponsePutDomainsV1Verifications400 = ResponsePutDomainsV1Verifications400; type responses_ResponsePutDomainsV1Verifications401 = ResponsePutDomainsV1Verifications401; type responses_ResponsePutDomainsV1Verifications403 = ResponsePutDomainsV1Verifications403; type responses_ResponsePutDomainsV1Verifications404 = ResponsePutDomainsV1Verifications404; type responses_ResponsePutDomainsV1Verifications422 = ResponsePutDomainsV1Verifications422; type responses_ResponsePutDomainsV1Verifications500 = ResponsePutDomainsV1Verifications500; type responses_ResponsePutDomainsV1Verifications502 = ResponsePutDomainsV1Verifications502; type responses_ResponsePutGitV1RepoRepoIdDefaultBranch200 = ResponsePutGitV1RepoRepoIdDefaultBranch200; type responses_ResponsePutGitV1RepoRepoIdDefaultBranch403 = ResponsePutGitV1RepoRepoIdDefaultBranch403; type responses_ResponsePutGitV1RepoRepoIdDefaultBranch500 = ResponsePutGitV1RepoRepoIdDefaultBranch500; type responses_ResponsePutGitV1RepoRepoIdVisibility200 = ResponsePutGitV1RepoRepoIdVisibility200; type responses_ResponsePutGitV1RepoRepoIdVisibility403 = ResponsePutGitV1RepoRepoIdVisibility403; type responses_ResponsePutGitV1RepoRepoIdVisibility500 = ResponsePutGitV1RepoRepoIdVisibility500; type responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200 = ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200; type responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200 = ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200; type responses_ResponsePutV1VmsVmIdFilesFilepath200 = ResponsePutV1VmsVmIdFilesFilepath200; type responses_ResponsePutV1VmsVmIdFilesFilepath400 = ResponsePutV1VmsVmIdFilesFilepath400; type responses_ResponsePutV1VmsVmIdFilesFilepath404 = ResponsePutV1VmsVmIdFilesFilepath404; type responses_ResponsePutV1VmsVmIdFilesFilepath500 = ResponsePutV1VmsVmIdFilesFilepath500; declare namespace responses { export type { responses_ResponseDeleteDnsV1Records200 as ResponseDeleteDnsV1Records200, responses_ResponseDeleteDnsV1Records403 as ResponseDeleteDnsV1Records403, responses_ResponseDeleteDnsV1Records500 as ResponseDeleteDnsV1Records500, responses_ResponseDeleteDomainsV1MappingsDomain200 as ResponseDeleteDomainsV1MappingsDomain200, responses_ResponseDeleteDomainsV1MappingsDomain400 as ResponseDeleteDomainsV1MappingsDomain400, responses_ResponseDeleteDomainsV1MappingsDomain401 as ResponseDeleteDomainsV1MappingsDomain401, responses_ResponseDeleteDomainsV1MappingsDomain422 as ResponseDeleteDomainsV1MappingsDomain422, responses_ResponseDeleteDomainsV1MappingsDomain500 as ResponseDeleteDomainsV1MappingsDomain500, responses_ResponseDeleteDomainsV1MappingsDomain502 as ResponseDeleteDomainsV1MappingsDomain502, responses_ResponseDeleteDomainsV1Verifications200 as ResponseDeleteDomainsV1Verifications200, responses_ResponseDeleteDomainsV1Verifications400 as ResponseDeleteDomainsV1Verifications400, responses_ResponseDeleteGitV1IdentityIdentity200 as ResponseDeleteGitV1IdentityIdentity200, responses_ResponseDeleteGitV1IdentityIdentity403 as ResponseDeleteGitV1IdentityIdentity403, responses_ResponseDeleteGitV1IdentityIdentity404 as ResponseDeleteGitV1IdentityIdentity404, responses_ResponseDeleteGitV1IdentityIdentity500 as ResponseDeleteGitV1IdentityIdentity500, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo200 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo200, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo403 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo403, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo404 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo404, responses_ResponseDeleteGitV1IdentityIdentityPermissionsRepo500 as ResponseDeleteGitV1IdentityIdentityPermissionsRepo500, responses_ResponseDeleteGitV1IdentityIdentityTokens200 as ResponseDeleteGitV1IdentityIdentityTokens200, responses_ResponseDeleteGitV1IdentityIdentityTokens403 as ResponseDeleteGitV1IdentityIdentityTokens403, responses_ResponseDeleteGitV1IdentityIdentityTokens404 as ResponseDeleteGitV1IdentityIdentityTokens404, responses_ResponseDeleteGitV1IdentityIdentityTokens500 as ResponseDeleteGitV1IdentityIdentityTokens500, responses_ResponseDeleteGitV1RepoRepo200 as ResponseDeleteGitV1RepoRepo200, responses_ResponseDeleteGitV1RepoRepo403 as ResponseDeleteGitV1RepoRepo403, responses_ResponseDeleteGitV1RepoRepo500 as ResponseDeleteGitV1RepoRepo500, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger200 as ResponseDeleteGitV1RepoRepoTriggerTrigger200, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger400 as ResponseDeleteGitV1RepoRepoTriggerTrigger400, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger403 as ResponseDeleteGitV1RepoRepoTriggerTrigger403, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger404 as ResponseDeleteGitV1RepoRepoTriggerTrigger404, responses_ResponseDeleteGitV1RepoRepoTriggerTrigger500 as ResponseDeleteGitV1RepoRepoTriggerTrigger500, responses_ResponseDeleteIdentityV1IdentitiesIdentity200 as ResponseDeleteIdentityV1IdentitiesIdentity200, responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200 as ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200, responses_ResponseDeleteV1CronSchedulesId200 as ResponseDeleteV1CronSchedulesId200, responses_ResponseDeleteV1VmsSnapshotsSnapshotId200 as ResponseDeleteV1VmsSnapshotsSnapshotId200, responses_ResponseDeleteV1VmsSnapshotsSnapshotId404 as ResponseDeleteV1VmsSnapshotsSnapshotId404, responses_ResponseDeleteV1VmsSnapshotsSnapshotId409 as ResponseDeleteV1VmsSnapshotsSnapshotId409, responses_ResponseDeleteV1VmsSnapshotsSnapshotId500 as ResponseDeleteV1VmsSnapshotsSnapshotId500, responses_ResponseDeleteV1VmsVmId200 as ResponseDeleteV1VmsVmId200, responses_ResponseDeleteV1VmsVmId500 as ResponseDeleteV1VmsVmId500, responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId200 as ResponseDeleteV1VmsVmIdSystemdServicesServiceId200, responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId404 as ResponseDeleteV1VmsVmIdSystemdServicesServiceId404, responses_ResponseDeleteV1VmsVmIdSystemdServicesServiceId500 as ResponseDeleteV1VmsVmIdSystemdServicesServiceId500, responses_ResponseGetAuthV1BackgroundRequestsRequestId202 as ResponseGetAuthV1BackgroundRequestsRequestId202, responses_ResponseGetAuthV1BackgroundRequestsRequestId404 as ResponseGetAuthV1BackgroundRequestsRequestId404, responses_ResponseGetAuthV1BackgroundTest200 as ResponseGetAuthV1BackgroundTest200, responses_ResponseGetAuthV1BackgroundTest400 as ResponseGetAuthV1BackgroundTest400, responses_ResponseGetAuthV1Whoami200 as ResponseGetAuthV1Whoami200, responses_ResponseGetDnsV1Records200 as ResponseGetDnsV1Records200, responses_ResponseGetDnsV1Records400 as ResponseGetDnsV1Records400, responses_ResponseGetDomainsV1Domains200 as ResponseGetDomainsV1Domains200, responses_ResponseGetDomainsV1Domains400 as ResponseGetDomainsV1Domains400, responses_ResponseGetDomainsV1Mappings200 as ResponseGetDomainsV1Mappings200, responses_ResponseGetDomainsV1Verifications200 as ResponseGetDomainsV1Verifications200, responses_ResponseGetDomainsV1Verifications400 as ResponseGetDomainsV1Verifications400, responses_ResponseGetExecuteV1Deployments200 as ResponseGetExecuteV1Deployments200, responses_ResponseGetExecuteV1Deployments500 as ResponseGetExecuteV1Deployments500, responses_ResponseGetExecuteV1DeploymentsDeployment200 as ResponseGetExecuteV1DeploymentsDeployment200, responses_ResponseGetExecuteV1DeploymentsDeployment401 as ResponseGetExecuteV1DeploymentsDeployment401, responses_ResponseGetExecuteV1DeploymentsDeployment404 as ResponseGetExecuteV1DeploymentsDeployment404, responses_ResponseGetExecuteV1DeploymentsDeployment500 as ResponseGetExecuteV1DeploymentsDeployment500, responses_ResponseGetGitV1Identity200 as ResponseGetGitV1Identity200, responses_ResponseGetGitV1IdentityIdentityPermissions200 as ResponseGetGitV1IdentityIdentityPermissions200, responses_ResponseGetGitV1IdentityIdentityPermissions403 as ResponseGetGitV1IdentityIdentityPermissions403, responses_ResponseGetGitV1IdentityIdentityPermissions404 as ResponseGetGitV1IdentityIdentityPermissions404, responses_ResponseGetGitV1IdentityIdentityPermissions500 as ResponseGetGitV1IdentityIdentityPermissions500, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo200 as ResponseGetGitV1IdentityIdentityPermissionsRepo200, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo403 as ResponseGetGitV1IdentityIdentityPermissionsRepo403, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo404 as ResponseGetGitV1IdentityIdentityPermissionsRepo404, responses_ResponseGetGitV1IdentityIdentityPermissionsRepo500 as ResponseGetGitV1IdentityIdentityPermissionsRepo500, responses_ResponseGetGitV1IdentityIdentityTokens200 as ResponseGetGitV1IdentityIdentityTokens200, responses_ResponseGetGitV1IdentityIdentityTokens403 as ResponseGetGitV1IdentityIdentityTokens403, responses_ResponseGetGitV1IdentityIdentityTokens404 as ResponseGetGitV1IdentityIdentityTokens404, responses_ResponseGetGitV1IdentityIdentityTokens500 as ResponseGetGitV1IdentityIdentityTokens500, responses_ResponseGetGitV1Repo200 as ResponseGetGitV1Repo200, responses_ResponseGetGitV1Repo500 as ResponseGetGitV1Repo500, responses_ResponseGetGitV1RepoRepo200 as ResponseGetGitV1RepoRepo200, responses_ResponseGetGitV1RepoRepoCompare200 as ResponseGetGitV1RepoRepoCompare200, responses_ResponseGetGitV1RepoRepoContentsPath200 as ResponseGetGitV1RepoRepoContentsPath200, responses_ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive as ResponseGetGitV1RepoRepoContentsPath200DirEntryRecursive, responses_ResponseGetGitV1RepoRepoContentsPath200Directory as ResponseGetGitV1RepoRepoContentsPath200Directory, responses_ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry as ResponseGetGitV1RepoRepoContentsPath200DirectoryEntry, responses_ResponseGetGitV1RepoRepoContentsPath200File as ResponseGetGitV1RepoRepoContentsPath200File, responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry as ResponseGetGitV1RepoRepoContentsPath200FileEntry, responses_ResponseGetGitV1RepoRepoContentsPath200FileEntry1 as ResponseGetGitV1RepoRepoContentsPath200FileEntry1, responses_ResponseGetGitV1RepoRepoGitBlobsHash200 as ResponseGetGitV1RepoRepoGitBlobsHash200, responses_ResponseGetGitV1RepoRepoGitCommits200 as ResponseGetGitV1RepoRepoGitCommits200, responses_ResponseGetGitV1RepoRepoGitCommits200CommitsSelector as ResponseGetGitV1RepoRepoGitCommits200CommitsSelector, responses_ResponseGetGitV1RepoRepoGitCommits200Range as ResponseGetGitV1RepoRepoGitCommits200Range, responses_ResponseGetGitV1RepoRepoGitCommits200Since as ResponseGetGitV1RepoRepoGitCommits200Since, responses_ResponseGetGitV1RepoRepoGitCommits200Until as ResponseGetGitV1RepoRepoGitCommits200Until, responses_ResponseGetGitV1RepoRepoGitCommits403 as ResponseGetGitV1RepoRepoGitCommits403, responses_ResponseGetGitV1RepoRepoGitCommits500 as ResponseGetGitV1RepoRepoGitCommits500, responses_ResponseGetGitV1RepoRepoGitCommitsHash200 as ResponseGetGitV1RepoRepoGitCommitsHash200, responses_ResponseGetGitV1RepoRepoGitRefsHeads200 as ResponseGetGitV1RepoRepoGitRefsHeads200, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch200 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch200, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch400 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch400, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch403 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch403, responses_ResponseGetGitV1RepoRepoGitRefsHeadsBranch500 as ResponseGetGitV1RepoRepoGitRefsHeadsBranch500, responses_ResponseGetGitV1RepoRepoGitRefsTags200 as ResponseGetGitV1RepoRepoGitRefsTags200, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag200 as ResponseGetGitV1RepoRepoGitRefsTagsTag200, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag400 as ResponseGetGitV1RepoRepoGitRefsTagsTag400, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag403 as ResponseGetGitV1RepoRepoGitRefsTagsTag403, responses_ResponseGetGitV1RepoRepoGitRefsTagsTag500 as ResponseGetGitV1RepoRepoGitRefsTagsTag500, responses_ResponseGetGitV1RepoRepoGitTagsHash200 as ResponseGetGitV1RepoRepoGitTagsHash200, responses_ResponseGetGitV1RepoRepoGitTreesHash200 as ResponseGetGitV1RepoRepoGitTreesHash200, responses_ResponseGetGitV1RepoRepoGitTreesHash200Blob as ResponseGetGitV1RepoRepoGitTreesHash200Blob, responses_ResponseGetGitV1RepoRepoGitTreesHash200Tree as ResponseGetGitV1RepoRepoGitTreesHash200Tree, responses_ResponseGetGitV1RepoRepoIdDefaultBranch200 as ResponseGetGitV1RepoRepoIdDefaultBranch200, responses_ResponseGetGitV1RepoRepoIdDefaultBranch403 as ResponseGetGitV1RepoRepoIdDefaultBranch403, responses_ResponseGetGitV1RepoRepoIdDefaultBranch500 as ResponseGetGitV1RepoRepoIdDefaultBranch500, responses_ResponseGetGitV1RepoRepoIdGithubSync200 as ResponseGetGitV1RepoRepoIdGithubSync200, responses_ResponseGetGitV1RepoRepoIdVisibility200 as ResponseGetGitV1RepoRepoIdVisibility200, responses_ResponseGetGitV1RepoRepoIdVisibility403 as ResponseGetGitV1RepoRepoIdVisibility403, responses_ResponseGetGitV1RepoRepoIdVisibility500 as ResponseGetGitV1RepoRepoIdVisibility500, responses_ResponseGetGitV1RepoRepoSearch200 as ResponseGetGitV1RepoRepoSearch200, responses_ResponseGetGitV1RepoRepoSearchCommits200 as ResponseGetGitV1RepoRepoSearchCommits200, responses_ResponseGetGitV1RepoRepoSearchDiffs200 as ResponseGetGitV1RepoRepoSearchDiffs200, responses_ResponseGetGitV1RepoRepoSearchFiles200 as ResponseGetGitV1RepoRepoSearchFiles200, responses_ResponseGetGitV1RepoRepoTrigger200 as ResponseGetGitV1RepoRepoTrigger200, responses_ResponseGetGitV1RepoRepoTrigger400 as ResponseGetGitV1RepoRepoTrigger400, responses_ResponseGetGitV1RepoRepoTrigger403 as ResponseGetGitV1RepoRepoTrigger403, responses_ResponseGetGitV1RepoRepoTrigger404 as ResponseGetGitV1RepoRepoTrigger404, responses_ResponseGetGitV1RepoRepoTrigger500 as ResponseGetGitV1RepoRepoTrigger500, responses_ResponseGetIdentityV1Identities200 as ResponseGetIdentityV1Identities200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200, responses_ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponseGetIdentityV1IdentitiesIdentityTokens200 as ResponseGetIdentityV1IdentitiesIdentityTokens200, responses_ResponseGetObservabilityV1Logs200 as ResponseGetObservabilityV1Logs200, responses_ResponseGetV1CronSchedules200 as ResponseGetV1CronSchedules200, responses_ResponseGetV1CronSchedulesId200 as ResponseGetV1CronSchedulesId200, responses_ResponseGetV1CronSchedulesIdExecutions200 as ResponseGetV1CronSchedulesIdExecutions200, responses_ResponseGetV1CronSchedulesIdMetricsTimeline200 as ResponseGetV1CronSchedulesIdMetricsTimeline200, responses_ResponseGetV1CronSchedulesIdSuccessRate200 as ResponseGetV1CronSchedulesIdSuccessRate200, responses_ResponseGetV1Vms200 as ResponseGetV1Vms200, responses_ResponseGetV1Vms500 as ResponseGetV1Vms500, responses_ResponseGetV1VmsSnapshots200 as ResponseGetV1VmsSnapshots200, responses_ResponseGetV1VmsSnapshots400 as ResponseGetV1VmsSnapshots400, responses_ResponseGetV1VmsSnapshots500 as ResponseGetV1VmsSnapshots500, responses_ResponseGetV1VmsVmId200 as ResponseGetV1VmsVmId200, responses_ResponseGetV1VmsVmId500 as ResponseGetV1VmsVmId500, responses_ResponseGetV1VmsVmIdFilesFilepath200 as ResponseGetV1VmsVmIdFilesFilepath200, responses_ResponseGetV1VmsVmIdFilesFilepath400 as ResponseGetV1VmsVmIdFilesFilepath400, responses_ResponseGetV1VmsVmIdFilesFilepath404 as ResponseGetV1VmsVmIdFilesFilepath404, responses_ResponseGetV1VmsVmIdFilesFilepath500 as ResponseGetV1VmsVmIdFilesFilepath500, responses_ResponseGetV1VmsVmIdSystemdServices200 as ResponseGetV1VmsVmIdSystemdServices200, responses_ResponseGetV1VmsVmIdSystemdServices500 as ResponseGetV1VmsVmIdSystemdServices500, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200 as ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404 as ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs404, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500 as ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs500, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200 as ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404 as ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus404, responses_ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500 as ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus500, responses_ResponseGetV1VmsVmIdTerminals200 as ResponseGetV1VmsVmIdTerminals200, responses_ResponseGetV1VmsVmIdTerminals500 as ResponseGetV1VmsVmIdTerminals500, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200 as ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500 as ResponseGetV1VmsVmIdTerminalsTerminalIdLogs500, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200 as ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200, responses_ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500 as ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color500, responses_ResponseGetWebV1Deployments200 as ResponseGetWebV1Deployments200, responses_ResponseGetWebV1Deployments500 as ResponseGetWebV1Deployments500, responses_ResponsePatchV1CronSchedulesId200 as ResponsePatchV1CronSchedulesId200, responses_ResponsePatchV1VmsSnapshotsSnapshotId200 as ResponsePatchV1VmsSnapshotsSnapshotId200, responses_ResponsePatchV1VmsSnapshotsSnapshotId404 as ResponsePatchV1VmsSnapshotsSnapshotId404, responses_ResponsePatchV1VmsSnapshotsSnapshotId500 as ResponsePatchV1VmsSnapshotsSnapshotId500, responses_ResponsePostDnsV1Records200 as ResponsePostDnsV1Records200, responses_ResponsePostDnsV1Records403 as ResponsePostDnsV1Records403, responses_ResponsePostDnsV1Records500 as ResponsePostDnsV1Records500, responses_ResponsePostDomainsV1CertsDomainWildcard200 as ResponsePostDomainsV1CertsDomainWildcard200, responses_ResponsePostDomainsV1CertsDomainWildcard400 as ResponsePostDomainsV1CertsDomainWildcard400, responses_ResponsePostDomainsV1MappingsDomain200 as ResponsePostDomainsV1MappingsDomain200, responses_ResponsePostDomainsV1MappingsDomain4XX as ResponsePostDomainsV1MappingsDomain4XX, responses_ResponsePostDomainsV1MappingsDomain5XX as ResponsePostDomainsV1MappingsDomain5XX, responses_ResponsePostDomainsV1Verifications200 as ResponsePostDomainsV1Verifications200, responses_ResponsePostDomainsV1Verifications400 as ResponsePostDomainsV1Verifications400, responses_ResponsePostExecuteV1Script200 as ResponsePostExecuteV1Script200, responses_ResponsePostExecuteV1Script400 as ResponsePostExecuteV1Script400, responses_ResponsePostExecuteV1Script500 as ResponsePostExecuteV1Script500, responses_ResponsePostExecuteV2Script200 as ResponsePostExecuteV2Script200, responses_ResponsePostExecuteV2Script403 as ResponsePostExecuteV2Script403, responses_ResponsePostExecuteV3Script200 as ResponsePostExecuteV3Script200, responses_ResponsePostExecuteV3Script403 as ResponsePostExecuteV3Script403, responses_ResponsePostGitV1Identity200 as ResponsePostGitV1Identity200, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo200 as ResponsePostGitV1IdentityIdentityPermissionsRepo200, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo403 as ResponsePostGitV1IdentityIdentityPermissionsRepo403, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo404 as ResponsePostGitV1IdentityIdentityPermissionsRepo404, responses_ResponsePostGitV1IdentityIdentityPermissionsRepo500 as ResponsePostGitV1IdentityIdentityPermissionsRepo500, responses_ResponsePostGitV1IdentityIdentityTokens200 as ResponsePostGitV1IdentityIdentityTokens200, responses_ResponsePostGitV1IdentityIdentityTokens403 as ResponsePostGitV1IdentityIdentityTokens403, responses_ResponsePostGitV1IdentityIdentityTokens404 as ResponsePostGitV1IdentityIdentityTokens404, responses_ResponsePostGitV1IdentityIdentityTokens500 as ResponsePostGitV1IdentityIdentityTokens500, responses_ResponsePostGitV1Repo200 as ResponsePostGitV1Repo200, responses_ResponsePostGitV1Repo403 as ResponsePostGitV1Repo403, responses_ResponsePostGitV1Repo500 as ResponsePostGitV1Repo500, responses_ResponsePostGitV1RepoRepoCommits200 as ResponsePostGitV1RepoRepoCommits200, responses_ResponsePostGitV1RepoRepoCommits403 as ResponsePostGitV1RepoRepoCommits403, responses_ResponsePostGitV1RepoRepoCommits500 as ResponsePostGitV1RepoRepoCommits500, responses_ResponsePostGitV1RepoRepoGitCommits200 as ResponsePostGitV1RepoRepoGitCommits200, responses_ResponsePostGitV1RepoRepoGitCommits403 as ResponsePostGitV1RepoRepoGitCommits403, responses_ResponsePostGitV1RepoRepoGitCommits500 as ResponsePostGitV1RepoRepoGitCommits500, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch200 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch200, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch400 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch400, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch403 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch403, responses_ResponsePostGitV1RepoRepoGitRefsHeadsBranch500 as ResponsePostGitV1RepoRepoGitRefsHeadsBranch500, responses_ResponsePostGitV1RepoRepoTrigger200 as ResponsePostGitV1RepoRepoTrigger200, responses_ResponsePostGitV1RepoRepoTrigger400 as ResponsePostGitV1RepoRepoTrigger400, responses_ResponsePostGitV1RepoRepoTrigger403 as ResponsePostGitV1RepoRepoTrigger403, responses_ResponsePostGitV1RepoRepoTrigger404 as ResponsePostGitV1RepoRepoTrigger404, responses_ResponsePostGitV1RepoRepoTrigger500 as ResponsePostGitV1RepoRepoTrigger500, responses_ResponsePostIdentityV1Identities200 as ResponsePostIdentityV1Identities200, responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponsePostIdentityV1IdentitiesIdentityTokens200 as ResponsePostIdentityV1IdentitiesIdentityTokens200, responses_ResponsePostV1CronSchedules200 as ResponsePostV1CronSchedules200, responses_ResponsePostV1Vms200 as ResponsePostV1Vms200, responses_ResponsePostV1VmsIdResize200 as ResponsePostV1VmsIdResize200, responses_ResponsePostV1VmsIdResize400 as ResponsePostV1VmsIdResize400, responses_ResponsePostV1VmsIdResize404 as ResponsePostV1VmsIdResize404, responses_ResponsePostV1VmsIdResize500 as ResponsePostV1VmsIdResize500, responses_ResponsePostV1VmsSnapshots200 as ResponsePostV1VmsSnapshots200, responses_ResponsePostV1VmsVmIdAwait200 as ResponsePostV1VmsVmIdAwait200, responses_ResponsePostV1VmsVmIdAwait500 as ResponsePostV1VmsVmIdAwait500, responses_ResponsePostV1VmsVmIdExecAwait200 as ResponsePostV1VmsVmIdExecAwait200, responses_ResponsePostV1VmsVmIdExecAwait500 as ResponsePostV1VmsVmIdExecAwait500, responses_ResponsePostV1VmsVmIdFork200 as ResponsePostV1VmsVmIdFork200, responses_ResponsePostV1VmsVmIdFork403 as ResponsePostV1VmsVmIdFork403, responses_ResponsePostV1VmsVmIdKill200 as ResponsePostV1VmsVmIdKill200, responses_ResponsePostV1VmsVmIdKill500 as ResponsePostV1VmsVmIdKill500, responses_ResponsePostV1VmsVmIdOptimize200 as ResponsePostV1VmsVmIdOptimize200, responses_ResponsePostV1VmsVmIdOptimize500 as ResponsePostV1VmsVmIdOptimize500, responses_ResponsePostV1VmsVmIdSnapshot200 as ResponsePostV1VmsVmIdSnapshot200, responses_ResponsePostV1VmsVmIdStart200 as ResponsePostV1VmsVmIdStart200, responses_ResponsePostV1VmsVmIdStop200 as ResponsePostV1VmsVmIdStop200, responses_ResponsePostV1VmsVmIdStop400 as ResponsePostV1VmsVmIdStop400, responses_ResponsePostV1VmsVmIdStop500 as ResponsePostV1VmsVmIdStop500, responses_ResponsePostV1VmsVmIdSuspend200 as ResponsePostV1VmsVmIdSuspend200, responses_ResponsePostV1VmsVmIdSuspend500 as ResponsePostV1VmsVmIdSuspend500, responses_ResponsePostV1VmsVmIdSystemdRestart200 as ResponsePostV1VmsVmIdSystemdRestart200, responses_ResponsePostV1VmsVmIdSystemdRestart500 as ResponsePostV1VmsVmIdSystemdRestart500, responses_ResponsePostV1VmsVmIdSystemdServices200 as ResponsePostV1VmsVmIdSystemdServices200, responses_ResponsePostV1VmsVmIdSystemdServices409 as ResponsePostV1VmsVmIdSystemdServices409, responses_ResponsePostV1VmsVmIdSystemdServices500 as ResponsePostV1VmsVmIdSystemdServices500, responses_ResponsePostV1VmsVmIdSystemdStart200 as ResponsePostV1VmsVmIdSystemdStart200, responses_ResponsePostV1VmsVmIdSystemdStart500 as ResponsePostV1VmsVmIdSystemdStart500, responses_ResponsePostV1VmsVmIdSystemdStop200 as ResponsePostV1VmsVmIdSystemdStop200, responses_ResponsePostV1VmsVmIdSystemdStop500 as ResponsePostV1VmsVmIdSystemdStop500, responses_ResponsePostWebV1Deploy200 as ResponsePostWebV1Deploy200, responses_ResponsePostWebV1Deploy400 as ResponsePostWebV1Deploy400, responses_ResponsePostWebV1Deployment200 as ResponsePostWebV1Deployment200, responses_ResponsePostWebV1Deployment400 as ResponsePostWebV1Deployment400, responses_ResponsePostWebV1Deployment403 as ResponsePostWebV1Deployment403, responses_ResponsePostWebV1Deployment404 as ResponsePostWebV1Deployment404, responses_ResponsePostWebV1Deployment500 as ResponsePostWebV1Deployment500, responses_ResponsePostWebV1Deployment502 as ResponsePostWebV1Deployment502, responses_ResponsePutDomainsV1Verifications200 as ResponsePutDomainsV1Verifications200, responses_ResponsePutDomainsV1Verifications400 as ResponsePutDomainsV1Verifications400, responses_ResponsePutDomainsV1Verifications401 as ResponsePutDomainsV1Verifications401, responses_ResponsePutDomainsV1Verifications403 as ResponsePutDomainsV1Verifications403, responses_ResponsePutDomainsV1Verifications404 as ResponsePutDomainsV1Verifications404, responses_ResponsePutDomainsV1Verifications422 as ResponsePutDomainsV1Verifications422, responses_ResponsePutDomainsV1Verifications500 as ResponsePutDomainsV1Verifications500, responses_ResponsePutDomainsV1Verifications502 as ResponsePutDomainsV1Verifications502, responses_ResponsePutGitV1RepoRepoIdDefaultBranch200 as ResponsePutGitV1RepoRepoIdDefaultBranch200, responses_ResponsePutGitV1RepoRepoIdDefaultBranch403 as ResponsePutGitV1RepoRepoIdDefaultBranch403, responses_ResponsePutGitV1RepoRepoIdDefaultBranch500 as ResponsePutGitV1RepoRepoIdDefaultBranch500, responses_ResponsePutGitV1RepoRepoIdVisibility200 as ResponsePutGitV1RepoRepoIdVisibility200, responses_ResponsePutGitV1RepoRepoIdVisibility403 as ResponsePutGitV1RepoRepoIdVisibility403, responses_ResponsePutGitV1RepoRepoIdVisibility500 as ResponsePutGitV1RepoRepoIdVisibility500, responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200 as ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200, responses_ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200 as ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200, responses_ResponsePutV1VmsVmIdFilesFilepath200 as ResponsePutV1VmsVmIdFilesFilepath200, responses_ResponsePutV1VmsVmIdFilesFilepath400 as ResponsePutV1VmsVmIdFilesFilepath400, responses_ResponsePutV1VmsVmIdFilesFilepath404 as ResponsePutV1VmsVmIdFilesFilepath404, responses_ResponsePutV1VmsVmIdFilesFilepath500 as ResponsePutV1VmsVmIdFilesFilepath500 }; } interface GetAuthV1BackgroundRequestsRequestIdPathParams { /** * Background request ID */ request_id: string; } interface GetAuthV1BackgroundTestQueryParams { sleepSecs?: number; message?: string; } interface GetDnsV1RecordsQueryParams { domain: string; } interface PostDnsV1RecordsRequestBody { domain: string; record: { kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS"; name: string; value: string; ttl?: string | null; priority?: number | null; }; } interface DeleteDnsV1RecordsQueryParams { domain: string; record: { kind: "A" | "AAAA" | "CNAME" | "TXT" | "NS"; name: string; value: string; ttl: string; priority?: number | null; managed: boolean; }; } interface PostDomainsV1CertsDomainWildcardPathParams { domain: string; } interface GetDomainsV1DomainsQueryParams { limit?: number | null; offset?: number | null; implicitlyOwned?: boolean | null; } interface GetDomainsV1MappingsQueryParams { offset?: number | null; limit?: number | null; domainOwnership?: string | null; domain?: string | null; } interface PostDomainsV1MappingsDomainPathParams { domain: string; } interface PostDomainsV1MappingsDomainRequestBody { deploymentId?: string | null; vmId?: null | string; vmPort?: number | null; } interface DeleteDomainsV1MappingsDomainPathParams { domain: string; } interface PostDomainsV1VerificationsRequestBody { /** * The domain to create a verification code for */ domain: string; } /** * Verify a domain verification request, can either be done for a domain, or for a specific request */ type PutDomainsV1VerificationsRequestBody = { domain: string; } | { id: string; }; interface DeleteDomainsV1VerificationsRequestBody { /** * The domain to create a verification code for */ domain: string; /** * The verification code */ verificationCode: string; } interface GetExecuteV1DeploymentsQueryParams { limit?: number | null; offset?: number | null; } interface GetExecuteV1DeploymentsDeploymentPathParams { deployment: string; } interface PostExecuteV1ScriptRequestBody { /** * The JavaScript or TypeScript script to execute */ script: string; config?: { /** * The environment variables to set for the script */ envVars?: { [k: string]: string; }; /** * The node modules to install for the script */ nodeModules?: { [k: string]: string; }; /** * Tags for you to organize your scripts, useful for tracking what you're running */ tags?: string[]; /** * The script timeout */ timeout?: number | null; /** * If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified. */ peerDependencyResolution?: boolean; networkPermissions?: (({ query: string; behavior?: "regex" | "exact"; } & { action: "allow"; }) | ({ query: string; behavior?: "regex" | "exact"; } & { action: "deny"; }))[] | null; /** * These headers will be added to every fetch request made through the script */ customHeaders?: { [k: string]: string; }; /** * Proxy all outgoing requests through this URL */ proxy?: string | null; /** * If true, Freestyle will not retain the code, any logs, environment variables, or results from this execution. */ zeroRetention?: boolean | null; }; } interface PostExecuteV2ScriptRequestBody { /** * The JavaScript or TypeScript script to execute */ script: string; config?: { /** * The environment variables to set for the script */ envVars?: { [k: string]: string; }; /** * The node modules to install for the script */ nodeModules?: { [k: string]: string; }; /** * Tags for you to organize your scripts, useful for tracking what you're running */ tags?: string[]; /** * The script timeout */ timeout?: number | null; /** * If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified. */ peerDependencyResolution?: boolean; networkPermissions?: (({ query: string; behavior?: "regex" | "exact"; } & { action: "allow"; }) | ({ query: string; behavior?: "regex" | "exact"; } & { action: "deny"; }))[] | null; /** * These headers will be added to every fetch request made through the script */ customHeaders?: { [k: string]: string; }; /** * Proxy all outgoing requests through this URL */ proxy?: string | null; /** * If true, Freestyle will not retain the code, any logs, environment variables, or results from this execution. */ zeroRetention?: boolean | null; }; } interface PostExecuteV3ScriptRequestBody { /** * The JavaScript or TypeScript script to execute */ script: string; config?: { /** * The environment variables to set for the script */ envVars?: { [k: string]: string; }; /** * The node modules to install for the script */ nodeModules?: { [k: string]: string; }; /** * Tags for you to organize your scripts, useful for tracking what you're running */ tags?: string[]; /** * The script timeout */ timeout?: number | null; /** * If false, we'll not resolve peer dependencies for the packages given, this can speed up execute performance, but will break packages with peers unless the peers are manually specified. */ peerDependencyResolution?: boolean; networkPermissions?: (({ query: string; behavior?: "regex" | "exact"; } & { action: "allow"; }) | ({ query: string; behavior?: "regex" | "exact"; } & { action: "deny"; }))[] | null; /** * These headers will be added to every fetch request made through the script */ customHeaders?: { [k: string]: string; }; /** * Proxy all outgoing requests through this URL */ proxy?: string | null; /** * If true, Freestyle will not retain the code, any logs, environment variables, or results from this execution. */ zeroRetention?: boolean | null; }; } interface GetGitV1IdentityQueryParams { limit?: number | null; offset?: number | null; includeManaged?: boolean | null; } interface DeleteGitV1IdentityIdentityPathParams { identity: string; } interface GetGitV1IdentityIdentityPermissionsPathParams { identity: string; } interface GetGitV1IdentityIdentityPermissionsQueryParams { /** * Maximum number of repositories to return */ limit?: number; /** * Offset for the list of repositories */ offset?: number; } interface GetGitV1IdentityIdentityPermissionsRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PostGitV1IdentityIdentityPermissionsRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PostGitV1IdentityIdentityPermissionsRepoRequestBody { permission: "read" | "write"; } interface DeleteGitV1IdentityIdentityPermissionsRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PatchGitV1IdentityIdentityPermissionsRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PatchGitV1IdentityIdentityPermissionsRepoRequestBody { permission: "read" | "write"; } interface GetGitV1IdentityIdentityTokensPathParams { identity: string; } interface PostGitV1IdentityIdentityTokensPathParams { identity: string; } interface DeleteGitV1IdentityIdentityTokensPathParams { identity: string; } interface DeleteGitV1IdentityIdentityTokensRequestBody { tokenId: string; } interface GetGitV1RepoQueryParams { /** * Maximum number of repositories to return */ limit?: number; /** * Offset for the list of repositories */ offset?: number; } interface PostGitV1RepoRequestBody { /** * This name is not visible to users, and is only accessible to you via API and in the * dashboard. Mostly useful for observability. */ name?: string | null; public?: boolean; /** * The default branch name for the repository. Defaults to "main" if not specified. */ defaultBranch?: string | null; /** * Fork from another Git repository. Cannot be used with `import`. */ source?: { url: string; /** * @deprecated */ branch?: string | null; /** * The revision (branch, tag, or commit hash) to checkout from the source repo. * The given revision will be used as the new repository's default branch. * * This field supersedes 'branch'. */ rev?: string | null; depth?: number | null; /** * If true, all branches and tags will be fetched from the source repository. * Defaults to false, which only fetches the default branch (unless `rev` is set). */ allBranches?: boolean | null; }; /** * Import static content with an initial commit. Cannot be used with `source`. */ import?: PostGitV1RepoFiles | PostGitV1RepoTar | PostGitV1RepoZip | PostGitV1RepoGit; } interface PostGitV1RepoFiles { files: PostGitV1RepoFiles1; commitMessage: string; authorName?: string | null; authorEmail?: string | null; type: "files"; } /** * A map of file names to their contents. */ interface PostGitV1RepoFiles1 { [k: string]: string; } interface PostGitV1RepoTar { url: string; dir?: string | null; commitMessage: string; authorName?: string | null; authorEmail?: string | null; type: "tar"; } interface PostGitV1RepoZip { url: string; dir?: string | null; commitMessage: string; authorName?: string | null; authorEmail?: string | null; type: "zip"; } interface PostGitV1RepoGit { url: string; /** * @deprecated */ branch?: string | null; /** * The revision (branch, tag, or commit hash) to checkout from the source repo. * * This field supersedes 'branch'. */ rev?: string | null; dir?: string | null; commitMessage: string; authorName?: string | null; authorEmail?: string | null; type: "git"; } interface GetGitV1RepoRepoIdDefaultBranchPathParams { /** * The repository ID */ repo_id: string; } interface PutGitV1RepoRepoIdDefaultBranchPathParams { /** * The repository ID */ repo_id: string; } interface PutGitV1RepoRepoIdDefaultBranchRequestBody { defaultBranch: string; } interface GetGitV1RepoRepoIdGithubSyncPathParams { /** * Repository ID */ repo_id: string; } interface PostGitV1RepoRepoIdGithubSyncPathParams { /** * Repository ID */ repo_id: string; } interface PostGitV1RepoRepoIdGithubSyncRequestBody { /** * The GitHub repository name in "owner/repo" format */ githubRepoName: string; } interface DeleteGitV1RepoRepoIdGithubSyncPathParams { /** * Repository ID */ repo_id: string; } interface GetGitV1RepoRepoIdVisibilityPathParams { /** * The repository ID */ repo_id: string; } interface PutGitV1RepoRepoIdVisibilityPathParams { /** * The repository ID */ repo_id: string; } interface PutGitV1RepoRepoIdVisibilityRequestBody { visibility: "public" | "private"; } interface GetGitV1RepoRepoPathParams { /** * The repository id */ repo: string; } interface DeleteGitV1RepoRepoPathParams { /** * The repository id */ repo: string; } interface PostGitV1RepoRepoCommitsPathParams { /** * The repository id */ repo: string; } interface PostGitV1RepoRepoCommitsRequestBody { /** * The commit message */ message: string; /** * Files to add, modify, or delete in this commit */ files: { /** * The path of the file in the repository (e.g., "src/main.rs") */ path: string; /** * The content of the file. Mutually exclusive with `deleted`. * If encoding is base64, this should be a base64-encoded string. */ content?: string | null; encoding?: null | ("utf8" | "base64"); /** * Whether to delete this file. Mutually exclusive with `content`. */ deleted?: boolean | null; }[]; /** * The branch to commit to (e.g., "main"). If not provided, commits to the default branch. * If the branch does not exist, it is created as an orphan branch with this commit as its root. */ branch?: string | null; author?: null | { /** * The name of the author/committer */ name: string; /** * The email of the author/committer */ email: string; }; /** * Optional expected parent SHA for optimistic concurrency control. * If provided, the commit will only be created if the current branch tip (or parent) matches this SHA. * This prevents race conditions when multiple commits are being created concurrently. * Returns a conflict error if the check fails. */ expectedSha?: string | null; } interface GetGitV1RepoRepoComparePathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoCompareQueryParams { /** * Base revision (commit SHA, branch name, tag, or any valid Git revision) */ base: string; /** * Head revision (commit SHA, branch name, tag, or any valid Git revision) */ head: string; } interface GetGitV1RepoRepoContentsPathPathParams { /** * The repository ID. */ repo: string; /** * The path to the file or directory. Empty for root. */ path: string | null; } interface GetGitV1RepoRepoContentsPathQueryParams { /** * The git revision (branch name, commit SHA, etc.). Defaults to HEAD. */ rev?: string; } interface GetGitV1RepoRepoGitBlobsHashPathParams { /** * The repository id */ repo: string; /** * The object's hash */ hash: string; } interface GetGitV1RepoRepoGitCommitsPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoGitCommitsQueryParams { /** * Branch name (defaults to HEAD) */ branch?: string | null; /** * Maximum number of commits to return (default: 50, max: 500) */ limit?: number | null; /** * Number of commits to skip (default: 0) */ offset?: number | null; /** * Sort order: "desc" (newest first, default) or "asc" (oldest first) */ order?: null | ("desc" | "asc"); /** * Start point (older commit) for filtering/pagination (commit SHA) * - When used alone with order=desc: Returns commits newer than this (exclusive). Use for "what's new since X?" * - When used alone with order=asc: Starts from this commit (inclusive). Use with next_commit for pagination. * - When used with `until`: Defines the base of a range (like git's A..B where this is A) */ since?: string | null; /** * End point (newer commit) for filtering/pagination (commit SHA) * - When used alone with order=desc: Starts from this commit (inclusive). Use with next_commit for pagination. * - When used alone with order=asc: Returns commits up to and including this commit. * - When used with `since`: Defines the head of a range (like git's A..B where this is B) * * When both `since` and `until` are provided, `until` must be a descendant of `since`. */ until?: string | null; } interface PostGitV1RepoRepoGitCommitsPathParams { /** * The repository id */ repo: string; } interface PostGitV1RepoRepoGitCommitsRequestBody { /** * The commit message */ message: string; /** * The SHA of the tree for this commit */ tree: string; /** * The SHAs of the parent commits (empty array for initial commit) */ parents: string[]; author?: null | { /** * The name of the author/committer */ name: string; /** * The email of the author/committer */ email: string; /** * Optional date (if not provided, uses current time) */ date?: string | null; }; committer?: null | { /** * The name of the author/committer */ name: string; /** * The email of the author/committer */ email: string; /** * Optional date (if not provided, uses current time) */ date?: string | null; }; } interface GetGitV1RepoRepoGitCommitsHashPathParams { /** * The repository id */ repo: string; /** * The object's hash */ hash: string; } interface GetGitV1RepoRepoGitRefsHeadsPathParams { /** * The repository id */ repo: string; } interface PostGitV1RepoRepoGitRefsHeadsBranchPathParams { /** * The repository id */ repo: string; /** * The branch's name */ branch: string; } interface PostGitV1RepoRepoGitRefsHeadsBranchRequestBody { /** * The SHA of the commit this branch should point to. * If not provided, the branch will be created from the default branch. */ sha?: string | null; } interface GetGitV1RepoRepoGitRefsHeadsBranchPathParams { /** * The repository id */ repo: string; /** * The branch's name */ branch: string; } interface GetGitV1RepoRepoGitRefsTagsPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoGitRefsTagsTagPathParams { /** * The repository id */ repo: string; /** * The tag's name */ tag: string; } interface GetGitV1RepoRepoGitTagsHashPathParams { /** * The repository id */ repo: string; /** * The object's hash */ hash: string; } interface GetGitV1RepoRepoGitTreesHashPathParams { /** * The repository id */ repo: string; /** * The object's hash */ hash: string; } interface GetGitV1RepoRepoSearchPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoSearchQueryParams { /** * The text (or regex pattern) to search for in file contents. */ query: string; /** * The git revision (branch name, commit SHA, etc.). Defaults to HEAD. */ rev?: string; /** * Optional glob pattern to filter included file paths (e.g. "*.rs", "src/** /*.ts"). */ pathPattern?: string; /** * Optional glob pattern to exclude file paths (e.g. "node_modules/**", "*.min.js"). */ excludePattern?: string; /** * Maximum number of matching files to return. Defaults to 100, max 1000. */ maxResults?: number; /** * Whether the query is a case-sensitive search. Defaults to false. */ caseSensitive?: boolean; /** * Whether the query is a regex pattern. Defaults to false. */ isRegex?: boolean; /** * Whether to match whole words only. Defaults to false. */ wholeWord?: boolean; /** * Number of results to skip for pagination. Defaults to 0. */ offset?: number; } interface GetGitV1RepoRepoSearchCommitsPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoSearchCommitsQueryParams { /** * The text (or regex pattern) to search for in commit messages. */ query: string; /** * The git revision to start walking from. Defaults to HEAD. */ rev?: string; /** * Maximum number of matching commits to return. Defaults to 100, max 1000. */ maxResults?: number; /** * Whether the query is a regex. Defaults to false. */ isRegex?: boolean; /** * Whether the query is case-sensitive. Defaults to false. */ caseSensitive?: boolean; } interface GetGitV1RepoRepoSearchDiffsPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoSearchDiffsQueryParams { /** * The text (or regex pattern) to search for in changed file content. */ query: string; /** * The git revision to start walking from. Defaults to HEAD. */ rev?: string; /** * Optional glob pattern to filter included file paths. */ pathPattern?: string; /** * Optional glob pattern to exclude file paths. */ excludePattern?: string; /** * Maximum number of matching commits to return. Defaults to 100, max 1000. */ maxResults?: number; /** * Whether the query is case-sensitive. Defaults to false. */ caseSensitive?: boolean; /** * Whether the query is a regex pattern. Defaults to false. */ isRegex?: boolean; /** * Whether to match whole words only. Defaults to false. */ wholeWord?: boolean; /** * Number of results to skip for pagination. Defaults to 0. */ offset?: number; } interface GetGitV1RepoRepoSearchFilesPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoSearchFilesQueryParams { /** * The filename pattern to search for (matched against full paths). */ query: string; /** * The git revision (branch name, commit SHA, etc.). Defaults to HEAD. */ rev?: string; /** * Maximum number of results. Defaults to 100, max 1000. */ maxResults?: number; /** * Whether the query is a regex. Defaults to false (glob-style matching). */ isRegex?: boolean; /** * Whether the query is case-sensitive. Defaults to false. */ caseSensitive?: boolean; } interface GetGitV1RepoRepoTarballPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoTarballQueryParams { /** * The git revision (branch name, commit SHA, etc.). Defaults to HEAD. */ rev?: string; } interface GetGitV1RepoRepoTriggerPathParams { /** * The repository id */ repo: string; } interface PostGitV1RepoRepoTriggerPathParams { /** * The repository id */ repo: string; } interface PostGitV1RepoRepoTriggerRequestBody { trigger: { branches?: string[] | null; globs?: string[] | null; event: "push"; }; action: { endpoint: string; action: "webhook"; }; } interface DeleteGitV1RepoRepoTriggerTriggerPathParams { /** * The repository id */ repo: string; /** * The trigger id */ trigger: string; } interface GetGitV1RepoRepoZipPathParams { /** * The repository id */ repo: string; } interface GetGitV1RepoRepoZipQueryParams { /** * The git revision (branch name, commit SHA, etc.). Defaults to HEAD. */ rev?: string; } interface GetIdentityV1IdentitiesQueryParams { limit?: number | null; offset?: number | null; includeManaged?: boolean | null; } interface DeleteIdentityV1IdentitiesIdentityPathParams { identity: string; } interface GetIdentityV1IdentitiesIdentityPermissionsGitPathParams { identity: string; } interface GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams { /** * Maximum number of repositories to return */ limit?: number; /** * Offset for the list of repositories */ offset?: number; } interface GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody { permission: "read" | "write"; } interface PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody { permission: "read" | "write"; } interface DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams { /** * The git identity ID */ identity: string; /** * The git repository ID */ repo: string; } interface GetIdentityV1IdentitiesIdentityPermissionsVmPathParams { identity: string; } interface GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams { limit?: number | null; offset?: number | null; } interface GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams { /** * The git identity ID */ identity: string; /** * The VM ID */ vm_id: string; } interface PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams { /** * The git identity ID */ identity: string; /** * The VM ID */ vm_id: string; } interface PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody { /** * List of allowed Linux users. If null, identity can SSH as any user. * If specified, identity can only SSH as users in this list. */ allowedUsers?: string[] | null; } interface PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams { /** * The git identity ID */ identity: string; /** * The VM ID */ vm_id: string; } interface PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody { /** * List of allowed Linux users. If null, identity can SSH as any user. * If specified, identity can only SSH as users in this list. */ allowedUsers?: string[] | null; } interface DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams { /** * The git identity ID */ identity: string; /** * The VM ID */ vm_id: string; } interface GetIdentityV1IdentitiesIdentityTokensPathParams { identity: string; } interface PostIdentityV1IdentitiesIdentityTokensPathParams { identity: string; } interface DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams { identity: string; token: string; } interface GetObservabilityV1LogsQueryParams { deploymentId?: string | null; requestId?: string | null; instanceId?: string | null; domain?: string | null; vmId?: string | null; vmService?: string | null; pageToken?: string | null; pageSize?: number | null; /** * Start time in RFC3339 format (e.g., "2024-01-01T00:00:00Z"). Defaults to 24 hours ago if not specified. */ startTime?: string | null; /** * End time in RFC3339 format (e.g., "2024-01-02T00:00:00Z"). Defaults to now if not specified. */ endTime?: string | null; } interface GetV1CronSchedulesQueryParams { deploymentId?: string | null; metricsStart?: string | null; metricsEnd?: string | null; } interface PostV1CronSchedulesRequestBody { deploymentId: string; path?: string | null; cron: string; timezone?: string; payload?: unknown; } interface GetV1CronSchedulesIdPathParams { /** * Schedule ID */ id: string; } interface DeleteV1CronSchedulesIdPathParams { /** * Schedule ID */ id: string; } interface PatchV1CronSchedulesIdPathParams { /** * Schedule ID */ id: string; } interface PatchV1CronSchedulesIdRequestBody { deploymentId?: string | null; active?: boolean | null; path?: string | null; cron?: string | null; timezone?: string | null; payload?: unknown; } interface GetV1CronSchedulesIdExecutionsPathParams { /** * Schedule ID */ id: string; } interface GetV1CronSchedulesIdExecutionsQueryParams { limit?: number | null; offset?: number | null; } interface GetV1CronSchedulesIdMetricsTimelinePathParams { /** * Schedule ID */ id: string; } interface GetV1CronSchedulesIdMetricsTimelineQueryParams { start: string; end: string; bucketMinutes?: number | null; } interface GetV1CronSchedulesIdSuccessRatePathParams { /** * Schedule ID */ id: string; } interface GetV1CronSchedulesIdSuccessRateQueryParams { start: string; end: string; } interface GetV1VmsQueryParams { includeDeleted?: boolean | null; } interface PostV1VmsRequestBody { idleTimeoutSeconds?: number | null; /** * Optional list of ports to expose externally. If not provided, port 3000 * will be exposed on port 443 by default. Pass an empty array to disable * external ports. Only ports 8081 and 443 can be configured externally for * now. Any target port is allowed. */ ports?: { port: number; targetPort: number; }[] | null; /** * Whether the api request should wait for the VM to be ready before * returning. By default, the VM is considered ready when the serial * console is ready for login. */ waitForReadySignal?: boolean | null; /** * How long to wait for the ready signal before timing out. Defaults to 120 * seconds if not provided. */ readySignalTimeoutSeconds?: number | null; /** * Optional working directory for the VM. File system and shell commands * will be executed in this directory. */ workdir?: string | null; persistence?: null | ({ /** * Priority for eviction when storage quota is reached. Higher values * mean the VM is less likely to be evicted. Range is 0-10, default is * 5. */ priority?: number | null; type: "sticky"; } | { deleteEvent?: null | ("OnStop" | "OnSuspend"); type: "ephemeral"; } | { type: "persistent"; }); systemd?: null | { services?: { /** * Unique slug; becomes unit name ".service". */ name: string; /** * "oneshot" (run and exit) or "service" (long-running/healing). */ mode: "oneshot" | "service"; /** * Executable to run (can specify multiple commands that run sequentially). */ exec: string[]; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * For oneshot: remain active after exit (default: true). * When false, the service can be started again even if it already ran. */ remainAfterExit?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; patchedServices?: { /** * Unique slug; becomes unit name ".service". */ name: string; mode?: null | ("oneshot" | "service"); /** * Executable to run (can specify multiple commands that run sequentially). */ exec?: string[] | null; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; }; users?: { /** * Unique username */ name: string; /** * Optional fixed UID; if None, allocate */ uid?: number | null; /** * GECOS field (descriptive string, e.g., full name) */ gecos?: string | null; /** * Groups to add user to (all groups use 'm' membership lines) */ groups?: string[]; /** * Home directory path (optional, defaults to /home/{username} for regular users, / for system users) */ home?: string | null; /** * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users) */ shell?: string | null; /** * System user (allocator uses system range) */ system?: boolean | null; }[] | null; groups?: { /** * Unique group name */ name: string; /** * Optional fixed GID; if None, allocate */ gid?: number | null; /** * System group (allocator uses system range) */ system?: boolean | null; }[] | null; additionalFiles?: { [k: string]: { /** * The content of the file */ content: string; /** * The encoding of the file. Either **utf-8** or **base64** */ encoding?: string; /** * Whether the file should be marked executable after being written */ executable?: boolean; }; } | null; snapshotId?: null | string; template?: null | { snapshotId?: null | string; baseImage?: null | { /** * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`). */ dockerfileContent: string; }; rootfsSizeGb?: number | null; memSizeGb?: number | null; vcpuCount?: number | null; /** * Optional working directory for the VM. If not provided, the default to '/' */ workdir?: string | null; /** * Idle timeout in seconds. If set, the VM will be automatically suspended * after this many seconds of no network activity. Defaults to 300 seconds * (5 minutes) if not provided or the last used timeout for the forked VM. */ idleTimeoutSeconds?: number | null; waitForReadySignal?: boolean | null; readySignalTimeoutSeconds?: number | null; persistence?: null | ({ /** * Priority for eviction when storage quota is reached. Higher values * mean the VM is less likely to be evicted. Range is 0-10, default is * 5. */ priority?: number | null; type: "sticky"; } | { deleteEvent?: null | ("OnStop" | "OnSuspend"); type: "ephemeral"; } | { type: "persistent"; }); /** * Optional list of ports to expose externally. If not provided, port 3000 * will be exposed on port 443 by default. Pass an empty array to disable * external ports. Only ports 8081 and 443 can be configured externally for * now. Any target port is allowed. */ ports?: { port: number; targetPort: number; }[] | null; systemd?: null | { services?: { /** * Unique slug; becomes unit name ".service". */ name: string; /** * "oneshot" (run and exit) or "service" (long-running/healing). */ mode: "oneshot" | "service"; /** * Executable to run (can specify multiple commands that run sequentially). */ exec: string[]; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * For oneshot: remain active after exit (default: true). * When false, the service can be started again even if it already ran. */ remainAfterExit?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; patchedServices?: { /** * Unique slug; becomes unit name ".service". */ name: string; mode?: null | ("oneshot" | "service"); /** * Executable to run (can specify multiple commands that run sequentially). */ exec?: string[] | null; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; }; /** * Linux users to create on VM startup */ users?: { /** * Unique username */ name: string; /** * Optional fixed UID; if None, allocate */ uid?: number | null; /** * GECOS field (descriptive string, e.g., full name) */ gecos?: string | null; /** * Groups to add user to (all groups use 'm' membership lines) */ groups?: string[]; /** * Home directory path (optional, defaults to /home/{username} for regular users, / for system users) */ home?: string | null; /** * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users) */ shell?: string | null; /** * System user (allocator uses system range) */ system?: boolean | null; }[] | null; /** * Linux groups to create on VM startup */ groups?: { /** * Unique group name */ name: string; /** * Optional fixed GID; if None, allocate */ gid?: number | null; /** * System group (allocator uses system range) */ system?: boolean | null; }[] | null; additionalFiles?: { [k: string]: { /** * The content of the file */ content: string; /** * The encoding of the file. Either **utf-8** or **base64** */ encoding?: string; /** * Whether the file should be marked executable after being written */ executable?: boolean; }; } | null; /** * @deprecated */ gitRepos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; git?: null | { config: { user?: null | { name?: string | null; email?: string | null; signingkey?: string | null; }; }; repos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; }; /** * Optional discriminator to differentiate snapshots with otherwise identical configurations */ discriminator?: string | null; /** * Optional list of apt packages to install when setting up the VM. * These packages will be installed using `apt-get install` on VM startup. */ aptDeps?: string[] | null; /** * When true, bypasses the snapshot cache and always creates a new snapshot. * The new snapshot still stores the template hash, so it becomes the updated cache entry * for future requests that do not set skip_cache. */ skipCache?: boolean | null; }; /** * @deprecated */ gitRepos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; git?: null | { config: { user?: null | { name?: string | null; email?: string | null; signingkey?: string | null; }; }; repos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; }; /** * If true, the VM can be recreated if it is deleted. The VM will keep the same ID * and be recreated with the same configuration when something tries to start it. */ recreate?: boolean | null; /** * Optional list of apt packages to install when setting up the VM. * These packages will be installed using `apt-get install` on VM startup. */ aptDeps?: string[] | null; /** * Optional list of custom domains to map to this VM. Each domain can optionally * specify a vm port. If vm_port is not specified, defaults to 443. * Domains must be verified and owned by the account before they can be mapped. */ domains?: { /** * The domain name to map to the VM */ domain: string; /** * The port on the VM to route traffic to. Defaults to 443 if not specified. */ vmPort?: number | null; }[] | null; activityThresholdBytes?: number | null; } interface GetV1VmsSnapshotsQueryParams { includeDeleted?: boolean | null; includeFailed?: boolean | null; } interface PostV1VmsSnapshotsRequestBody { name?: string | null; template: { snapshotId?: null | string; baseImage?: null | { /** * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`). */ dockerfileContent: string; }; rootfsSizeGb?: number | null; memSizeGb?: number | null; vcpuCount?: number | null; /** * Optional working directory for the VM. If not provided, the default to '/' */ workdir?: string | null; /** * Idle timeout in seconds. If set, the VM will be automatically suspended * after this many seconds of no network activity. Defaults to 300 seconds * (5 minutes) if not provided or the last used timeout for the forked VM. */ idleTimeoutSeconds?: number | null; waitForReadySignal?: boolean | null; readySignalTimeoutSeconds?: number | null; persistence?: null | ({ /** * Priority for eviction when storage quota is reached. Higher values * mean the VM is less likely to be evicted. Range is 0-10, default is * 5. */ priority?: number | null; type: "sticky"; } | { deleteEvent?: null | ("OnStop" | "OnSuspend"); type: "ephemeral"; } | { type: "persistent"; }); /** * Optional list of ports to expose externally. If not provided, port 3000 * will be exposed on port 443 by default. Pass an empty array to disable * external ports. Only ports 8081 and 443 can be configured externally for * now. Any target port is allowed. */ ports?: { port: number; targetPort: number; }[] | null; systemd?: null | { services?: { /** * Unique slug; becomes unit name ".service". */ name: string; /** * "oneshot" (run and exit) or "service" (long-running/healing). */ mode: "oneshot" | "service"; /** * Executable to run (can specify multiple commands that run sequentially). */ exec: string[]; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * For oneshot: remain active after exit (default: true). * When false, the service can be started again even if it already ran. */ remainAfterExit?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; patchedServices?: { /** * Unique slug; becomes unit name ".service". */ name: string; mode?: null | ("oneshot" | "service"); /** * Executable to run (can specify multiple commands that run sequentially). */ exec?: string[] | null; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; }; /** * Linux users to create on VM startup */ users?: { /** * Unique username */ name: string; /** * Optional fixed UID; if None, allocate */ uid?: number | null; /** * GECOS field (descriptive string, e.g., full name) */ gecos?: string | null; /** * Groups to add user to (all groups use 'm' membership lines) */ groups?: string[]; /** * Home directory path (optional, defaults to /home/{username} for regular users, / for system users) */ home?: string | null; /** * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users) */ shell?: string | null; /** * System user (allocator uses system range) */ system?: boolean | null; }[] | null; /** * Linux groups to create on VM startup */ groups?: { /** * Unique group name */ name: string; /** * Optional fixed GID; if None, allocate */ gid?: number | null; /** * System group (allocator uses system range) */ system?: boolean | null; }[] | null; additionalFiles?: { [k: string]: { /** * The content of the file */ content: string; /** * The encoding of the file. Either **utf-8** or **base64** */ encoding?: string; /** * Whether the file should be marked executable after being written */ executable?: boolean; }; } | null; /** * @deprecated */ gitRepos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; git?: null | { config: { user?: null | { name?: string | null; email?: string | null; signingkey?: string | null; }; }; repos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; }; /** * Optional discriminator to differentiate snapshots with otherwise identical configurations */ discriminator?: string | null; /** * Optional list of apt packages to install when setting up the VM. * These packages will be installed using `apt-get install` on VM startup. */ aptDeps?: string[] | null; /** * When true, bypasses the snapshot cache and always creates a new snapshot. * The new snapshot still stores the template hash, so it becomes the updated cache entry * for future requests that do not set skip_cache. */ skipCache?: boolean | null; }; persistence?: null | ({ priority?: number | null; type: "sticky"; } | { type: "persistent"; }); } interface DeleteV1VmsSnapshotsSnapshotIdPathParams { /** * The ID of the snapshot to delete */ snapshot_id: string; } interface PatchV1VmsSnapshotsSnapshotIdPathParams { /** * The ID of the snapshot to update */ snapshot_id: string; } interface PatchV1VmsSnapshotsSnapshotIdRequestBody { name?: string | null; } interface PostV1VmsIdResizePathParams { id: string; } interface PostV1VmsIdResizeRequestBody { rootfsSizeGb?: number | null; memSizeGb?: number | null; vcpuCount?: number | null; } interface GetV1VmsVmIdPathParams { vm_id: string; } interface DeleteV1VmsVmIdPathParams { /** * The ID of the VM to delete */ vm_id: string; } interface PostV1VmsVmIdAwaitPathParams { /** * The ID of the VM to wait for */ vm_id: string; } interface PostV1VmsVmIdExecAwaitPathParams { /** * The ID of the VM to execute the command in */ vm_id: string; } interface PostV1VmsVmIdExecAwaitRequestBody { command: string; terminal?: string | null; timeoutMs?: number | null; } interface GetV1VmsVmIdFilesFilepathPathParams { /** * The ID of the VM to get the file from */ vm_id: string; /** * The path of the file to get */ filepath: string; } interface PutV1VmsVmIdFilesFilepathPathParams { /** * The ID of the VM to put the file to */ vm_id: string; /** * The path of the file to put */ filepath: string; } interface PutV1VmsVmIdFilesFilepathRequestBody { content: string; /** * File content encoding */ encoding?: "utf8" | "base64"; } interface PostV1VmsVmIdForkPathParams { vm_id: string; } interface PostV1VmsVmIdForkRequestBody { count?: number | null; } interface PostV1VmsVmIdKillPathParams { /** * The ID of the VM to kill */ vm_id: string; } interface PostV1VmsVmIdOptimizePathParams { /** * The ID of the VM to optimize */ vm_id: string; } interface PostV1VmsVmIdSnapshotPathParams { vm_id: string; } interface PostV1VmsVmIdSnapshotRequestBody { /** * Optional name/label for the snapshot */ name?: string | null; persistence?: null | ({ priority?: number | null; type: "sticky"; } | { type: "persistent"; }); } interface PostV1VmsVmIdStartPathParams { vm_id: string; } interface PostV1VmsVmIdStartRequestBody { idleTimeoutSeconds?: number | null; readySignalTimeoutSeconds?: number | null; waitForReadySignal?: boolean | null; activityThresholdBytes?: number | null; } interface PostV1VmsVmIdStopPathParams { /** * The ID of the VM to stop */ vm_id: string; } interface PostV1VmsVmIdSuspendPathParams { /** * The ID of the VM to suspend */ vm_id: string; } interface PostV1VmsVmIdSystemdRestartPathParams { /** * The ID of the VM */ vm_id: string; } interface PostV1VmsVmIdSystemdRestartRequestBody { services: { id: string; }[]; } interface GetV1VmsVmIdSystemdServicesPathParams { /** * The ID of the VM */ vm_id: string; } interface PostV1VmsVmIdSystemdServicesPathParams { /** * The ID of the VM */ vm_id: string; } interface PostV1VmsVmIdSystemdServicesRequestBody { /** * Unique slug; becomes unit name ".service". */ name: string; /** * "oneshot" (run and exit) or "service" (long-running/healing). */ mode: "oneshot" | "service"; /** * Executable to run (can specify multiple commands that run sequentially). */ exec: string[]; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * For oneshot: remain active after exit (default: true). * When false, the service can be started again even if it already ran. */ remainAfterExit?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; } interface DeleteV1VmsVmIdSystemdServicesServiceIdPathParams { /** * The ID of the VM */ vm_id: string; /** * The ID of the service */ service_id: string; } interface GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams { /** * The ID of the VM */ vm_id: string; /** * The ID of the service */ service_id: string; } interface GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams { /** * Number of log lines to return */ lines?: number; /** * Only show logs since this timestamp */ since?: string; } interface GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams { /** * The ID of the VM */ vm_id: string; /** * The ID of the service */ service_id: string; } interface PostV1VmsVmIdSystemdStartPathParams { /** * The ID of the VM */ vm_id: string; } interface PostV1VmsVmIdSystemdStartRequestBody { services: { id: string; }[]; } interface PostV1VmsVmIdSystemdStopPathParams { /** * The ID of the VM */ vm_id: string; } interface PostV1VmsVmIdSystemdStopRequestBody { services: { id: string; }[]; } interface GetV1VmsVmIdTerminalsPathParams { /** * The ID of the VM */ vm_id: string; } interface GetV1VmsVmIdTerminalsTerminalIdLogsPathParams { /** * The ID of the VM */ vm_id: string; /** * The ID of the terminal session */ terminal_id: string; } interface GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams { /** * The ID of the VM */ vm_id: string; /** * The ID of the terminal session */ terminal_id: string; } interface PostV1VmsVmIdWatchFilesPathParams { /** * The ID of the VM to watch files for */ vm_id: string; } interface PostWebV1DeployRequestBody { /** * The files to deploy, a map of file paths to file contents, e.g. { \"index.js\": {\"content\": \"your main\", \"encoding\": \"utf-8\"}, \"file2.js\": {\"content\": \"your helper\" } } * * **Do not include node modules in this bundle, they will not work**. Instead, includes a package-lock.json, bun.lockb, pnpm-lock.yaml, or yarn.lock, the node modules for the project will be installed from that lock file, or use the node_modules field in the configuration to specify the node modules to install. */ files: { [k: string]: { /** * The content of the file */ content: string; /** * The encoding of the file. Either **utf-8** or **base64** */ encoding?: string; /** * Whether the file should be marked executable after being written */ executable?: boolean; }; }; config?: { domains?: string[] | null; entrypoint?: string | null; envVars?: { [k: string]: string; } | null; nodeModules?: { [k: string]: string; } | null; /** * The amount of milliseconds after with no traffic we kill your server. For rate limiting purposes we count any started server as active for the 5 seconds after the last request. */ timeout?: number | null; serverStartCheck?: boolean | null; networkPermissions?: (({ query: string; behavior?: "regex" | "exact"; } & { action: "allow"; }) | ({ query: string; behavior?: "regex" | "exact"; } & { action: "deny"; }))[] | null; build?: null | (boolean | { command: string; outDir?: string | null; envVars?: { [k: string]: string; } | null; }); await?: boolean | null; /** * Directory containing static files to be served directly (e.g., ".next/static", "_next/static"). * Files are served at the URL path specified by static_path_prefix (defaults to root "/"). */ staticDir?: string | null; /** * URL path prefix where static files are served (e.g., "/_next/static"). Defaults to "/" (root). * When set, only requests matching this prefix will be served from static_dir. */ staticPathPrefix?: string | null; /** * Directory containing public files to be served at the root of the domain (e.g., "public"). * These files are served without any path prefix - a file at public/favicon.ico is served at /favicon.ico. */ publicDir?: string | null; /** * Directory containing prerendered HTML files (e.g., ".next/standalone/.next/server/app" for Next.js). * Files are served as: ${prerender_dir}/${path}.html or ${prerender_dir}/index.html for root. */ prerenderDir?: string | null; /** * Set to true for static-only deployments (no dynamic server/entrypoint required) */ staticOnly?: boolean; /** * Redirects (permanent or temporary) */ redirects?: { /** * Source pattern (can be exact path or regex) */ source: string; /** * Destination path or URL */ destination: string; /** * HTTP status code for redirect (301, 302, 307, 308). Takes precedence over `permanent`. * If neither `status_code` nor `permanent` is provided, defaults to 308. */ statusCode?: number | null; /** * If true, uses 308 (permanent redirect). If false, uses 307 (temporary redirect). * Ignored if `status_code` is explicitly set. Vercel-compatible alternative to `status_code`. */ permanent?: boolean | null; }[]; /** * Rewrites (internal URL rewrites with capture groups) */ rewrites?: { /** * Source pattern (regex pattern) */ source: string; /** * Destination path with optional capture group substitution ($1, $2, etc.) */ destination: string; }[]; /** * Dynamic routes that should be handled by the worker */ dynamic?: { /** * Source pattern (regex or glob pattern like "/api/.*" or "/api/**") */ source: string; /** * HTTP methods this route applies to (if None, applies to all methods) */ methods?: string[] | null; }[]; /** * Custom headers for matching paths */ headers?: { /** * Source pattern (regex pattern) */ source: string; /** * Headers to set (array of key-value pairs) */ headers: { /** * Header name */ key: string; /** * Header value */ value: string; }[]; }[]; /** * When true, all HTML files will have their extension removed. Visiting a path with .html will redirect to extensionless path (308). * For example, a static file named about.html will be served when visiting /about. Visiting /about.html will redirect to /about. */ cleanUrls?: boolean; /** * When false, visiting a path with a trailing slash will redirect (308) to path without trailing slash. * When true, opposite behavior occurs. When None (default), no automatic redirects based on trailing slash. */ trailingSlash?: boolean | null; experimental?: null | { nextjsOptimization?: boolean; }; }; } interface PostWebV1DeploymentRequestBody { source: PostWebV1DeploymentFiles | PostWebV1DeploymentTar | PostWebV1DeploymentGit; config: { domains?: string[] | null; entrypoint?: string | null; envVars?: { [k: string]: string; } | null; nodeModules?: { [k: string]: string; } | null; /** * The amount of milliseconds after with no traffic we kill your server. For rate limiting purposes we count any started server as active for the 5 seconds after the last request. */ timeout?: number | null; serverStartCheck?: boolean | null; networkPermissions?: (({ query: string; behavior?: "regex" | "exact"; } & { action: "allow"; }) | ({ query: string; behavior?: "regex" | "exact"; } & { action: "deny"; }))[] | null; build?: null | (boolean | { command: string; outDir?: string | null; envVars?: { [k: string]: string; } | null; }); await?: boolean | null; /** * Directory containing static files to be served directly (e.g., ".next/static", "_next/static"). * Files are served at the URL path specified by static_path_prefix (defaults to root "/"). */ staticDir?: string | null; /** * URL path prefix where static files are served (e.g., "/_next/static"). Defaults to "/" (root). * When set, only requests matching this prefix will be served from static_dir. */ staticPathPrefix?: string | null; /** * Directory containing public files to be served at the root of the domain (e.g., "public"). * These files are served without any path prefix - a file at public/favicon.ico is served at /favicon.ico. */ publicDir?: string | null; /** * Directory containing prerendered HTML files (e.g., ".next/standalone/.next/server/app" for Next.js). * Files are served as: ${prerender_dir}/${path}.html or ${prerender_dir}/index.html for root. */ prerenderDir?: string | null; /** * Set to true for static-only deployments (no dynamic server/entrypoint required) */ staticOnly?: boolean; /** * Redirects (permanent or temporary) */ redirects?: { /** * Source pattern (can be exact path or regex) */ source: string; /** * Destination path or URL */ destination: string; /** * HTTP status code for redirect (301, 302, 307, 308). Takes precedence over `permanent`. * If neither `status_code` nor `permanent` is provided, defaults to 308. */ statusCode?: number | null; /** * If true, uses 308 (permanent redirect). If false, uses 307 (temporary redirect). * Ignored if `status_code` is explicitly set. Vercel-compatible alternative to `status_code`. */ permanent?: boolean | null; }[]; /** * Rewrites (internal URL rewrites with capture groups) */ rewrites?: { /** * Source pattern (regex pattern) */ source: string; /** * Destination path with optional capture group substitution ($1, $2, etc.) */ destination: string; }[]; /** * Dynamic routes that should be handled by the worker */ dynamic?: { /** * Source pattern (regex or glob pattern like "/api/.*" or "/api/**") */ source: string; /** * HTTP methods this route applies to (if None, applies to all methods) */ methods?: string[] | null; }[]; /** * Custom headers for matching paths */ headers?: { /** * Source pattern (regex pattern) */ source: string; /** * Headers to set (array of key-value pairs) */ headers: { /** * Header name */ key: string; /** * Header value */ value: string; }[]; }[]; /** * When true, all HTML files will have their extension removed. Visiting a path with .html will redirect to extensionless path (308). * For example, a static file named about.html will be served when visiting /about. Visiting /about.html will redirect to /about. */ cleanUrls?: boolean; /** * When false, visiting a path with a trailing slash will redirect (308) to path without trailing slash. * When true, opposite behavior occurs. When None (default), no automatic redirects based on trailing slash. */ trailingSlash?: boolean | null; experimental?: null | { nextjsOptimization?: boolean; }; }; } interface PostWebV1DeploymentFiles { files: { [k: string]: { /** * The content of the file */ content: string; /** * The encoding of the file. Either **utf-8** or **base64** */ encoding?: string; /** * Whether the file should be marked executable after being written */ executable?: boolean; }; }; kind: "files"; } interface PostWebV1DeploymentTar { url: string; kind: "tar"; } /** * `dir` is the Directory to deploy from. If not provided, the root of the repository will be used. */ interface PostWebV1DeploymentGit { url: string; branch?: string | null; dir?: string | null; kind: "git"; } interface GetWebV1DeploymentsQueryParams { /** * Maximum number of deployments to return */ limit: number; /** * Offset for pagination */ offset: number; /** * Search by deployment ID or domain */ search: string; } interface GetWebV1DeploymentsDeploymentIdPathParams { deployment_id: string; } interface GetWebV1DeploymentsDeploymentIdFetchPathParams { /** * Deployment ID */ deployment_id: string; } interface PostWebV1DeploymentsDeploymentIdFetchPathParams { /** * Deployment ID */ deployment_id: string; } interface PutWebV1DeploymentsDeploymentIdFetchPathParams { /** * Deployment ID */ deployment_id: string; } interface DeleteWebV1DeploymentsDeploymentIdFetchPathParams { /** * Deployment ID */ deployment_id: string; } interface PatchWebV1DeploymentsDeploymentIdFetchPathParams { /** * Deployment ID */ deployment_id: string; } type requests_DeleteDnsV1RecordsQueryParams = DeleteDnsV1RecordsQueryParams; type requests_DeleteDomainsV1MappingsDomainPathParams = DeleteDomainsV1MappingsDomainPathParams; type requests_DeleteDomainsV1VerificationsRequestBody = DeleteDomainsV1VerificationsRequestBody; type requests_DeleteGitV1IdentityIdentityPathParams = DeleteGitV1IdentityIdentityPathParams; type requests_DeleteGitV1IdentityIdentityPermissionsRepoPathParams = DeleteGitV1IdentityIdentityPermissionsRepoPathParams; type requests_DeleteGitV1IdentityIdentityTokensPathParams = DeleteGitV1IdentityIdentityTokensPathParams; type requests_DeleteGitV1IdentityIdentityTokensRequestBody = DeleteGitV1IdentityIdentityTokensRequestBody; type requests_DeleteGitV1RepoRepoIdGithubSyncPathParams = DeleteGitV1RepoRepoIdGithubSyncPathParams; type requests_DeleteGitV1RepoRepoPathParams = DeleteGitV1RepoRepoPathParams; type requests_DeleteGitV1RepoRepoTriggerTriggerPathParams = DeleteGitV1RepoRepoTriggerTriggerPathParams; type requests_DeleteIdentityV1IdentitiesIdentityPathParams = DeleteIdentityV1IdentitiesIdentityPathParams; type requests_DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; type requests_DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; type requests_DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams = DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams; type requests_DeleteV1CronSchedulesIdPathParams = DeleteV1CronSchedulesIdPathParams; type requests_DeleteV1VmsSnapshotsSnapshotIdPathParams = DeleteV1VmsSnapshotsSnapshotIdPathParams; type requests_DeleteV1VmsVmIdPathParams = DeleteV1VmsVmIdPathParams; type requests_DeleteV1VmsVmIdSystemdServicesServiceIdPathParams = DeleteV1VmsVmIdSystemdServicesServiceIdPathParams; type requests_DeleteWebV1DeploymentsDeploymentIdFetchPathParams = DeleteWebV1DeploymentsDeploymentIdFetchPathParams; type requests_GetAuthV1BackgroundRequestsRequestIdPathParams = GetAuthV1BackgroundRequestsRequestIdPathParams; type requests_GetAuthV1BackgroundTestQueryParams = GetAuthV1BackgroundTestQueryParams; type requests_GetDnsV1RecordsQueryParams = GetDnsV1RecordsQueryParams; type requests_GetDomainsV1DomainsQueryParams = GetDomainsV1DomainsQueryParams; type requests_GetDomainsV1MappingsQueryParams = GetDomainsV1MappingsQueryParams; type requests_GetExecuteV1DeploymentsDeploymentPathParams = GetExecuteV1DeploymentsDeploymentPathParams; type requests_GetExecuteV1DeploymentsQueryParams = GetExecuteV1DeploymentsQueryParams; type requests_GetGitV1IdentityIdentityPermissionsPathParams = GetGitV1IdentityIdentityPermissionsPathParams; type requests_GetGitV1IdentityIdentityPermissionsQueryParams = GetGitV1IdentityIdentityPermissionsQueryParams; type requests_GetGitV1IdentityIdentityPermissionsRepoPathParams = GetGitV1IdentityIdentityPermissionsRepoPathParams; type requests_GetGitV1IdentityIdentityTokensPathParams = GetGitV1IdentityIdentityTokensPathParams; type requests_GetGitV1IdentityQueryParams = GetGitV1IdentityQueryParams; type requests_GetGitV1RepoQueryParams = GetGitV1RepoQueryParams; type requests_GetGitV1RepoRepoComparePathParams = GetGitV1RepoRepoComparePathParams; type requests_GetGitV1RepoRepoCompareQueryParams = GetGitV1RepoRepoCompareQueryParams; type requests_GetGitV1RepoRepoContentsPathPathParams = GetGitV1RepoRepoContentsPathPathParams; type requests_GetGitV1RepoRepoContentsPathQueryParams = GetGitV1RepoRepoContentsPathQueryParams; type requests_GetGitV1RepoRepoGitBlobsHashPathParams = GetGitV1RepoRepoGitBlobsHashPathParams; type requests_GetGitV1RepoRepoGitCommitsHashPathParams = GetGitV1RepoRepoGitCommitsHashPathParams; type requests_GetGitV1RepoRepoGitCommitsPathParams = GetGitV1RepoRepoGitCommitsPathParams; type requests_GetGitV1RepoRepoGitCommitsQueryParams = GetGitV1RepoRepoGitCommitsQueryParams; type requests_GetGitV1RepoRepoGitRefsHeadsBranchPathParams = GetGitV1RepoRepoGitRefsHeadsBranchPathParams; type requests_GetGitV1RepoRepoGitRefsHeadsPathParams = GetGitV1RepoRepoGitRefsHeadsPathParams; type requests_GetGitV1RepoRepoGitRefsTagsPathParams = GetGitV1RepoRepoGitRefsTagsPathParams; type requests_GetGitV1RepoRepoGitRefsTagsTagPathParams = GetGitV1RepoRepoGitRefsTagsTagPathParams; type requests_GetGitV1RepoRepoGitTagsHashPathParams = GetGitV1RepoRepoGitTagsHashPathParams; type requests_GetGitV1RepoRepoGitTreesHashPathParams = GetGitV1RepoRepoGitTreesHashPathParams; type requests_GetGitV1RepoRepoIdDefaultBranchPathParams = GetGitV1RepoRepoIdDefaultBranchPathParams; type requests_GetGitV1RepoRepoIdGithubSyncPathParams = GetGitV1RepoRepoIdGithubSyncPathParams; type requests_GetGitV1RepoRepoIdVisibilityPathParams = GetGitV1RepoRepoIdVisibilityPathParams; type requests_GetGitV1RepoRepoPathParams = GetGitV1RepoRepoPathParams; type requests_GetGitV1RepoRepoSearchCommitsPathParams = GetGitV1RepoRepoSearchCommitsPathParams; type requests_GetGitV1RepoRepoSearchCommitsQueryParams = GetGitV1RepoRepoSearchCommitsQueryParams; type requests_GetGitV1RepoRepoSearchDiffsPathParams = GetGitV1RepoRepoSearchDiffsPathParams; type requests_GetGitV1RepoRepoSearchDiffsQueryParams = GetGitV1RepoRepoSearchDiffsQueryParams; type requests_GetGitV1RepoRepoSearchFilesPathParams = GetGitV1RepoRepoSearchFilesPathParams; type requests_GetGitV1RepoRepoSearchFilesQueryParams = GetGitV1RepoRepoSearchFilesQueryParams; type requests_GetGitV1RepoRepoSearchPathParams = GetGitV1RepoRepoSearchPathParams; type requests_GetGitV1RepoRepoSearchQueryParams = GetGitV1RepoRepoSearchQueryParams; type requests_GetGitV1RepoRepoTarballPathParams = GetGitV1RepoRepoTarballPathParams; type requests_GetGitV1RepoRepoTarballQueryParams = GetGitV1RepoRepoTarballQueryParams; type requests_GetGitV1RepoRepoTriggerPathParams = GetGitV1RepoRepoTriggerPathParams; type requests_GetGitV1RepoRepoZipPathParams = GetGitV1RepoRepoZipPathParams; type requests_GetGitV1RepoRepoZipQueryParams = GetGitV1RepoRepoZipQueryParams; type requests_GetIdentityV1IdentitiesIdentityPermissionsGitPathParams = GetIdentityV1IdentitiesIdentityPermissionsGitPathParams; type requests_GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams = GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams; type requests_GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; type requests_GetIdentityV1IdentitiesIdentityPermissionsVmPathParams = GetIdentityV1IdentitiesIdentityPermissionsVmPathParams; type requests_GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams = GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams; type requests_GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; type requests_GetIdentityV1IdentitiesIdentityTokensPathParams = GetIdentityV1IdentitiesIdentityTokensPathParams; type requests_GetIdentityV1IdentitiesQueryParams = GetIdentityV1IdentitiesQueryParams; type requests_GetObservabilityV1LogsQueryParams = GetObservabilityV1LogsQueryParams; type requests_GetV1CronSchedulesIdExecutionsPathParams = GetV1CronSchedulesIdExecutionsPathParams; type requests_GetV1CronSchedulesIdExecutionsQueryParams = GetV1CronSchedulesIdExecutionsQueryParams; type requests_GetV1CronSchedulesIdMetricsTimelinePathParams = GetV1CronSchedulesIdMetricsTimelinePathParams; type requests_GetV1CronSchedulesIdMetricsTimelineQueryParams = GetV1CronSchedulesIdMetricsTimelineQueryParams; type requests_GetV1CronSchedulesIdPathParams = GetV1CronSchedulesIdPathParams; type requests_GetV1CronSchedulesIdSuccessRatePathParams = GetV1CronSchedulesIdSuccessRatePathParams; type requests_GetV1CronSchedulesIdSuccessRateQueryParams = GetV1CronSchedulesIdSuccessRateQueryParams; type requests_GetV1CronSchedulesQueryParams = GetV1CronSchedulesQueryParams; type requests_GetV1VmsQueryParams = GetV1VmsQueryParams; type requests_GetV1VmsSnapshotsQueryParams = GetV1VmsSnapshotsQueryParams; type requests_GetV1VmsVmIdFilesFilepathPathParams = GetV1VmsVmIdFilesFilepathPathParams; type requests_GetV1VmsVmIdPathParams = GetV1VmsVmIdPathParams; type requests_GetV1VmsVmIdSystemdServicesPathParams = GetV1VmsVmIdSystemdServicesPathParams; type requests_GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams = GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams; type requests_GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams = GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams; type requests_GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams = GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams; type requests_GetV1VmsVmIdTerminalsPathParams = GetV1VmsVmIdTerminalsPathParams; type requests_GetV1VmsVmIdTerminalsTerminalIdLogsPathParams = GetV1VmsVmIdTerminalsTerminalIdLogsPathParams; type requests_GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams = GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams; type requests_GetWebV1DeploymentsDeploymentIdFetchPathParams = GetWebV1DeploymentsDeploymentIdFetchPathParams; type requests_GetWebV1DeploymentsDeploymentIdPathParams = GetWebV1DeploymentsDeploymentIdPathParams; type requests_GetWebV1DeploymentsQueryParams = GetWebV1DeploymentsQueryParams; type requests_PatchGitV1IdentityIdentityPermissionsRepoPathParams = PatchGitV1IdentityIdentityPermissionsRepoPathParams; type requests_PatchGitV1IdentityIdentityPermissionsRepoRequestBody = PatchGitV1IdentityIdentityPermissionsRepoRequestBody; type requests_PatchV1CronSchedulesIdPathParams = PatchV1CronSchedulesIdPathParams; type requests_PatchV1CronSchedulesIdRequestBody = PatchV1CronSchedulesIdRequestBody; type requests_PatchV1VmsSnapshotsSnapshotIdPathParams = PatchV1VmsSnapshotsSnapshotIdPathParams; type requests_PatchV1VmsSnapshotsSnapshotIdRequestBody = PatchV1VmsSnapshotsSnapshotIdRequestBody; type requests_PatchWebV1DeploymentsDeploymentIdFetchPathParams = PatchWebV1DeploymentsDeploymentIdFetchPathParams; type requests_PostDnsV1RecordsRequestBody = PostDnsV1RecordsRequestBody; type requests_PostDomainsV1CertsDomainWildcardPathParams = PostDomainsV1CertsDomainWildcardPathParams; type requests_PostDomainsV1MappingsDomainPathParams = PostDomainsV1MappingsDomainPathParams; type requests_PostDomainsV1MappingsDomainRequestBody = PostDomainsV1MappingsDomainRequestBody; type requests_PostDomainsV1VerificationsRequestBody = PostDomainsV1VerificationsRequestBody; type requests_PostExecuteV1ScriptRequestBody = PostExecuteV1ScriptRequestBody; type requests_PostExecuteV2ScriptRequestBody = PostExecuteV2ScriptRequestBody; type requests_PostExecuteV3ScriptRequestBody = PostExecuteV3ScriptRequestBody; type requests_PostGitV1IdentityIdentityPermissionsRepoPathParams = PostGitV1IdentityIdentityPermissionsRepoPathParams; type requests_PostGitV1IdentityIdentityPermissionsRepoRequestBody = PostGitV1IdentityIdentityPermissionsRepoRequestBody; type requests_PostGitV1IdentityIdentityTokensPathParams = PostGitV1IdentityIdentityTokensPathParams; type requests_PostGitV1RepoFiles = PostGitV1RepoFiles; type requests_PostGitV1RepoFiles1 = PostGitV1RepoFiles1; type requests_PostGitV1RepoGit = PostGitV1RepoGit; type requests_PostGitV1RepoRepoCommitsPathParams = PostGitV1RepoRepoCommitsPathParams; type requests_PostGitV1RepoRepoCommitsRequestBody = PostGitV1RepoRepoCommitsRequestBody; type requests_PostGitV1RepoRepoGitCommitsPathParams = PostGitV1RepoRepoGitCommitsPathParams; type requests_PostGitV1RepoRepoGitCommitsRequestBody = PostGitV1RepoRepoGitCommitsRequestBody; type requests_PostGitV1RepoRepoGitRefsHeadsBranchPathParams = PostGitV1RepoRepoGitRefsHeadsBranchPathParams; type requests_PostGitV1RepoRepoGitRefsHeadsBranchRequestBody = PostGitV1RepoRepoGitRefsHeadsBranchRequestBody; type requests_PostGitV1RepoRepoIdGithubSyncPathParams = PostGitV1RepoRepoIdGithubSyncPathParams; type requests_PostGitV1RepoRepoIdGithubSyncRequestBody = PostGitV1RepoRepoIdGithubSyncRequestBody; type requests_PostGitV1RepoRepoTriggerPathParams = PostGitV1RepoRepoTriggerPathParams; type requests_PostGitV1RepoRepoTriggerRequestBody = PostGitV1RepoRepoTriggerRequestBody; type requests_PostGitV1RepoRequestBody = PostGitV1RepoRequestBody; type requests_PostGitV1RepoTar = PostGitV1RepoTar; type requests_PostGitV1RepoZip = PostGitV1RepoZip; type requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; type requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody = PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody; type requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; type requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody = PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody; type requests_PostIdentityV1IdentitiesIdentityTokensPathParams = PostIdentityV1IdentitiesIdentityTokensPathParams; type requests_PostV1CronSchedulesRequestBody = PostV1CronSchedulesRequestBody; type requests_PostV1VmsIdResizePathParams = PostV1VmsIdResizePathParams; type requests_PostV1VmsIdResizeRequestBody = PostV1VmsIdResizeRequestBody; type requests_PostV1VmsRequestBody = PostV1VmsRequestBody; type requests_PostV1VmsSnapshotsRequestBody = PostV1VmsSnapshotsRequestBody; type requests_PostV1VmsVmIdAwaitPathParams = PostV1VmsVmIdAwaitPathParams; type requests_PostV1VmsVmIdExecAwaitPathParams = PostV1VmsVmIdExecAwaitPathParams; type requests_PostV1VmsVmIdExecAwaitRequestBody = PostV1VmsVmIdExecAwaitRequestBody; type requests_PostV1VmsVmIdForkPathParams = PostV1VmsVmIdForkPathParams; type requests_PostV1VmsVmIdForkRequestBody = PostV1VmsVmIdForkRequestBody; type requests_PostV1VmsVmIdKillPathParams = PostV1VmsVmIdKillPathParams; type requests_PostV1VmsVmIdOptimizePathParams = PostV1VmsVmIdOptimizePathParams; type requests_PostV1VmsVmIdSnapshotPathParams = PostV1VmsVmIdSnapshotPathParams; type requests_PostV1VmsVmIdSnapshotRequestBody = PostV1VmsVmIdSnapshotRequestBody; type requests_PostV1VmsVmIdStartPathParams = PostV1VmsVmIdStartPathParams; type requests_PostV1VmsVmIdStartRequestBody = PostV1VmsVmIdStartRequestBody; type requests_PostV1VmsVmIdStopPathParams = PostV1VmsVmIdStopPathParams; type requests_PostV1VmsVmIdSuspendPathParams = PostV1VmsVmIdSuspendPathParams; type requests_PostV1VmsVmIdSystemdRestartPathParams = PostV1VmsVmIdSystemdRestartPathParams; type requests_PostV1VmsVmIdSystemdRestartRequestBody = PostV1VmsVmIdSystemdRestartRequestBody; type requests_PostV1VmsVmIdSystemdServicesPathParams = PostV1VmsVmIdSystemdServicesPathParams; type requests_PostV1VmsVmIdSystemdServicesRequestBody = PostV1VmsVmIdSystemdServicesRequestBody; type requests_PostV1VmsVmIdSystemdStartPathParams = PostV1VmsVmIdSystemdStartPathParams; type requests_PostV1VmsVmIdSystemdStartRequestBody = PostV1VmsVmIdSystemdStartRequestBody; type requests_PostV1VmsVmIdSystemdStopPathParams = PostV1VmsVmIdSystemdStopPathParams; type requests_PostV1VmsVmIdSystemdStopRequestBody = PostV1VmsVmIdSystemdStopRequestBody; type requests_PostV1VmsVmIdWatchFilesPathParams = PostV1VmsVmIdWatchFilesPathParams; type requests_PostWebV1DeployRequestBody = PostWebV1DeployRequestBody; type requests_PostWebV1DeploymentFiles = PostWebV1DeploymentFiles; type requests_PostWebV1DeploymentGit = PostWebV1DeploymentGit; type requests_PostWebV1DeploymentRequestBody = PostWebV1DeploymentRequestBody; type requests_PostWebV1DeploymentTar = PostWebV1DeploymentTar; type requests_PostWebV1DeploymentsDeploymentIdFetchPathParams = PostWebV1DeploymentsDeploymentIdFetchPathParams; type requests_PutDomainsV1VerificationsRequestBody = PutDomainsV1VerificationsRequestBody; type requests_PutGitV1RepoRepoIdDefaultBranchPathParams = PutGitV1RepoRepoIdDefaultBranchPathParams; type requests_PutGitV1RepoRepoIdDefaultBranchRequestBody = PutGitV1RepoRepoIdDefaultBranchRequestBody; type requests_PutGitV1RepoRepoIdVisibilityPathParams = PutGitV1RepoRepoIdVisibilityPathParams; type requests_PutGitV1RepoRepoIdVisibilityRequestBody = PutGitV1RepoRepoIdVisibilityRequestBody; type requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams = PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; type requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody = PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody; type requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams = PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; type requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody = PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody; type requests_PutV1VmsVmIdFilesFilepathPathParams = PutV1VmsVmIdFilesFilepathPathParams; type requests_PutV1VmsVmIdFilesFilepathRequestBody = PutV1VmsVmIdFilesFilepathRequestBody; type requests_PutWebV1DeploymentsDeploymentIdFetchPathParams = PutWebV1DeploymentsDeploymentIdFetchPathParams; declare namespace requests { export type { requests_DeleteDnsV1RecordsQueryParams as DeleteDnsV1RecordsQueryParams, requests_DeleteDomainsV1MappingsDomainPathParams as DeleteDomainsV1MappingsDomainPathParams, requests_DeleteDomainsV1VerificationsRequestBody as DeleteDomainsV1VerificationsRequestBody, requests_DeleteGitV1IdentityIdentityPathParams as DeleteGitV1IdentityIdentityPathParams, requests_DeleteGitV1IdentityIdentityPermissionsRepoPathParams as DeleteGitV1IdentityIdentityPermissionsRepoPathParams, requests_DeleteGitV1IdentityIdentityTokensPathParams as DeleteGitV1IdentityIdentityTokensPathParams, requests_DeleteGitV1IdentityIdentityTokensRequestBody as DeleteGitV1IdentityIdentityTokensRequestBody, requests_DeleteGitV1RepoRepoIdGithubSyncPathParams as DeleteGitV1RepoRepoIdGithubSyncPathParams, requests_DeleteGitV1RepoRepoPathParams as DeleteGitV1RepoRepoPathParams, requests_DeleteGitV1RepoRepoTriggerTriggerPathParams as DeleteGitV1RepoRepoTriggerTriggerPathParams, requests_DeleteIdentityV1IdentitiesIdentityPathParams as DeleteIdentityV1IdentitiesIdentityPathParams, requests_DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams as DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams, requests_DeleteV1CronSchedulesIdPathParams as DeleteV1CronSchedulesIdPathParams, requests_DeleteV1VmsSnapshotsSnapshotIdPathParams as DeleteV1VmsSnapshotsSnapshotIdPathParams, requests_DeleteV1VmsVmIdPathParams as DeleteV1VmsVmIdPathParams, requests_DeleteV1VmsVmIdSystemdServicesServiceIdPathParams as DeleteV1VmsVmIdSystemdServicesServiceIdPathParams, requests_DeleteWebV1DeploymentsDeploymentIdFetchPathParams as DeleteWebV1DeploymentsDeploymentIdFetchPathParams, requests_GetAuthV1BackgroundRequestsRequestIdPathParams as GetAuthV1BackgroundRequestsRequestIdPathParams, requests_GetAuthV1BackgroundTestQueryParams as GetAuthV1BackgroundTestQueryParams, requests_GetDnsV1RecordsQueryParams as GetDnsV1RecordsQueryParams, requests_GetDomainsV1DomainsQueryParams as GetDomainsV1DomainsQueryParams, requests_GetDomainsV1MappingsQueryParams as GetDomainsV1MappingsQueryParams, requests_GetExecuteV1DeploymentsDeploymentPathParams as GetExecuteV1DeploymentsDeploymentPathParams, requests_GetExecuteV1DeploymentsQueryParams as GetExecuteV1DeploymentsQueryParams, requests_GetGitV1IdentityIdentityPermissionsPathParams as GetGitV1IdentityIdentityPermissionsPathParams, requests_GetGitV1IdentityIdentityPermissionsQueryParams as GetGitV1IdentityIdentityPermissionsQueryParams, requests_GetGitV1IdentityIdentityPermissionsRepoPathParams as GetGitV1IdentityIdentityPermissionsRepoPathParams, requests_GetGitV1IdentityIdentityTokensPathParams as GetGitV1IdentityIdentityTokensPathParams, requests_GetGitV1IdentityQueryParams as GetGitV1IdentityQueryParams, requests_GetGitV1RepoQueryParams as GetGitV1RepoQueryParams, requests_GetGitV1RepoRepoComparePathParams as GetGitV1RepoRepoComparePathParams, requests_GetGitV1RepoRepoCompareQueryParams as GetGitV1RepoRepoCompareQueryParams, requests_GetGitV1RepoRepoContentsPathPathParams as GetGitV1RepoRepoContentsPathPathParams, requests_GetGitV1RepoRepoContentsPathQueryParams as GetGitV1RepoRepoContentsPathQueryParams, requests_GetGitV1RepoRepoGitBlobsHashPathParams as GetGitV1RepoRepoGitBlobsHashPathParams, requests_GetGitV1RepoRepoGitCommitsHashPathParams as GetGitV1RepoRepoGitCommitsHashPathParams, requests_GetGitV1RepoRepoGitCommitsPathParams as GetGitV1RepoRepoGitCommitsPathParams, requests_GetGitV1RepoRepoGitCommitsQueryParams as GetGitV1RepoRepoGitCommitsQueryParams, requests_GetGitV1RepoRepoGitRefsHeadsBranchPathParams as GetGitV1RepoRepoGitRefsHeadsBranchPathParams, requests_GetGitV1RepoRepoGitRefsHeadsPathParams as GetGitV1RepoRepoGitRefsHeadsPathParams, requests_GetGitV1RepoRepoGitRefsTagsPathParams as GetGitV1RepoRepoGitRefsTagsPathParams, requests_GetGitV1RepoRepoGitRefsTagsTagPathParams as GetGitV1RepoRepoGitRefsTagsTagPathParams, requests_GetGitV1RepoRepoGitTagsHashPathParams as GetGitV1RepoRepoGitTagsHashPathParams, requests_GetGitV1RepoRepoGitTreesHashPathParams as GetGitV1RepoRepoGitTreesHashPathParams, requests_GetGitV1RepoRepoIdDefaultBranchPathParams as GetGitV1RepoRepoIdDefaultBranchPathParams, requests_GetGitV1RepoRepoIdGithubSyncPathParams as GetGitV1RepoRepoIdGithubSyncPathParams, requests_GetGitV1RepoRepoIdVisibilityPathParams as GetGitV1RepoRepoIdVisibilityPathParams, requests_GetGitV1RepoRepoPathParams as GetGitV1RepoRepoPathParams, requests_GetGitV1RepoRepoSearchCommitsPathParams as GetGitV1RepoRepoSearchCommitsPathParams, requests_GetGitV1RepoRepoSearchCommitsQueryParams as GetGitV1RepoRepoSearchCommitsQueryParams, requests_GetGitV1RepoRepoSearchDiffsPathParams as GetGitV1RepoRepoSearchDiffsPathParams, requests_GetGitV1RepoRepoSearchDiffsQueryParams as GetGitV1RepoRepoSearchDiffsQueryParams, requests_GetGitV1RepoRepoSearchFilesPathParams as GetGitV1RepoRepoSearchFilesPathParams, requests_GetGitV1RepoRepoSearchFilesQueryParams as GetGitV1RepoRepoSearchFilesQueryParams, requests_GetGitV1RepoRepoSearchPathParams as GetGitV1RepoRepoSearchPathParams, requests_GetGitV1RepoRepoSearchQueryParams as GetGitV1RepoRepoSearchQueryParams, requests_GetGitV1RepoRepoTarballPathParams as GetGitV1RepoRepoTarballPathParams, requests_GetGitV1RepoRepoTarballQueryParams as GetGitV1RepoRepoTarballQueryParams, requests_GetGitV1RepoRepoTriggerPathParams as GetGitV1RepoRepoTriggerPathParams, requests_GetGitV1RepoRepoZipPathParams as GetGitV1RepoRepoZipPathParams, requests_GetGitV1RepoRepoZipQueryParams as GetGitV1RepoRepoZipQueryParams, requests_GetIdentityV1IdentitiesIdentityPermissionsGitPathParams as GetIdentityV1IdentitiesIdentityPermissionsGitPathParams, requests_GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams as GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams, requests_GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_GetIdentityV1IdentitiesIdentityPermissionsVmPathParams as GetIdentityV1IdentitiesIdentityPermissionsVmPathParams, requests_GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams as GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams, requests_GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_GetIdentityV1IdentitiesIdentityTokensPathParams as GetIdentityV1IdentitiesIdentityTokensPathParams, requests_GetIdentityV1IdentitiesQueryParams as GetIdentityV1IdentitiesQueryParams, requests_GetObservabilityV1LogsQueryParams as GetObservabilityV1LogsQueryParams, requests_GetV1CronSchedulesIdExecutionsPathParams as GetV1CronSchedulesIdExecutionsPathParams, requests_GetV1CronSchedulesIdExecutionsQueryParams as GetV1CronSchedulesIdExecutionsQueryParams, requests_GetV1CronSchedulesIdMetricsTimelinePathParams as GetV1CronSchedulesIdMetricsTimelinePathParams, requests_GetV1CronSchedulesIdMetricsTimelineQueryParams as GetV1CronSchedulesIdMetricsTimelineQueryParams, requests_GetV1CronSchedulesIdPathParams as GetV1CronSchedulesIdPathParams, requests_GetV1CronSchedulesIdSuccessRatePathParams as GetV1CronSchedulesIdSuccessRatePathParams, requests_GetV1CronSchedulesIdSuccessRateQueryParams as GetV1CronSchedulesIdSuccessRateQueryParams, requests_GetV1CronSchedulesQueryParams as GetV1CronSchedulesQueryParams, requests_GetV1VmsQueryParams as GetV1VmsQueryParams, requests_GetV1VmsSnapshotsQueryParams as GetV1VmsSnapshotsQueryParams, requests_GetV1VmsVmIdFilesFilepathPathParams as GetV1VmsVmIdFilesFilepathPathParams, requests_GetV1VmsVmIdPathParams as GetV1VmsVmIdPathParams, requests_GetV1VmsVmIdSystemdServicesPathParams as GetV1VmsVmIdSystemdServicesPathParams, requests_GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams as GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams, requests_GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams as GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams, requests_GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams as GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams, requests_GetV1VmsVmIdTerminalsPathParams as GetV1VmsVmIdTerminalsPathParams, requests_GetV1VmsVmIdTerminalsTerminalIdLogsPathParams as GetV1VmsVmIdTerminalsTerminalIdLogsPathParams, requests_GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams as GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams, requests_GetWebV1DeploymentsDeploymentIdFetchPathParams as GetWebV1DeploymentsDeploymentIdFetchPathParams, requests_GetWebV1DeploymentsDeploymentIdPathParams as GetWebV1DeploymentsDeploymentIdPathParams, requests_GetWebV1DeploymentsQueryParams as GetWebV1DeploymentsQueryParams, requests_PatchGitV1IdentityIdentityPermissionsRepoPathParams as PatchGitV1IdentityIdentityPermissionsRepoPathParams, requests_PatchGitV1IdentityIdentityPermissionsRepoRequestBody as PatchGitV1IdentityIdentityPermissionsRepoRequestBody, requests_PatchV1CronSchedulesIdPathParams as PatchV1CronSchedulesIdPathParams, requests_PatchV1CronSchedulesIdRequestBody as PatchV1CronSchedulesIdRequestBody, requests_PatchV1VmsSnapshotsSnapshotIdPathParams as PatchV1VmsSnapshotsSnapshotIdPathParams, requests_PatchV1VmsSnapshotsSnapshotIdRequestBody as PatchV1VmsSnapshotsSnapshotIdRequestBody, requests_PatchWebV1DeploymentsDeploymentIdFetchPathParams as PatchWebV1DeploymentsDeploymentIdFetchPathParams, requests_PostDnsV1RecordsRequestBody as PostDnsV1RecordsRequestBody, requests_PostDomainsV1CertsDomainWildcardPathParams as PostDomainsV1CertsDomainWildcardPathParams, requests_PostDomainsV1MappingsDomainPathParams as PostDomainsV1MappingsDomainPathParams, requests_PostDomainsV1MappingsDomainRequestBody as PostDomainsV1MappingsDomainRequestBody, requests_PostDomainsV1VerificationsRequestBody as PostDomainsV1VerificationsRequestBody, requests_PostExecuteV1ScriptRequestBody as PostExecuteV1ScriptRequestBody, requests_PostExecuteV2ScriptRequestBody as PostExecuteV2ScriptRequestBody, requests_PostExecuteV3ScriptRequestBody as PostExecuteV3ScriptRequestBody, requests_PostGitV1IdentityIdentityPermissionsRepoPathParams as PostGitV1IdentityIdentityPermissionsRepoPathParams, requests_PostGitV1IdentityIdentityPermissionsRepoRequestBody as PostGitV1IdentityIdentityPermissionsRepoRequestBody, requests_PostGitV1IdentityIdentityTokensPathParams as PostGitV1IdentityIdentityTokensPathParams, requests_PostGitV1RepoFiles as PostGitV1RepoFiles, requests_PostGitV1RepoFiles1 as PostGitV1RepoFiles1, requests_PostGitV1RepoGit as PostGitV1RepoGit, requests_PostGitV1RepoRepoCommitsPathParams as PostGitV1RepoRepoCommitsPathParams, requests_PostGitV1RepoRepoCommitsRequestBody as PostGitV1RepoRepoCommitsRequestBody, requests_PostGitV1RepoRepoGitCommitsPathParams as PostGitV1RepoRepoGitCommitsPathParams, requests_PostGitV1RepoRepoGitCommitsRequestBody as PostGitV1RepoRepoGitCommitsRequestBody, requests_PostGitV1RepoRepoGitRefsHeadsBranchPathParams as PostGitV1RepoRepoGitRefsHeadsBranchPathParams, requests_PostGitV1RepoRepoGitRefsHeadsBranchRequestBody as PostGitV1RepoRepoGitRefsHeadsBranchRequestBody, requests_PostGitV1RepoRepoIdGithubSyncPathParams as PostGitV1RepoRepoIdGithubSyncPathParams, requests_PostGitV1RepoRepoIdGithubSyncRequestBody as PostGitV1RepoRepoIdGithubSyncRequestBody, requests_PostGitV1RepoRepoTriggerPathParams as PostGitV1RepoRepoTriggerPathParams, requests_PostGitV1RepoRepoTriggerRequestBody as PostGitV1RepoRepoTriggerRequestBody, requests_PostGitV1RepoRequestBody as PostGitV1RepoRequestBody, requests_PostGitV1RepoTar as PostGitV1RepoTar, requests_PostGitV1RepoZip as PostGitV1RepoZip, requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody as PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody, requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody as PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody, requests_PostIdentityV1IdentitiesIdentityTokensPathParams as PostIdentityV1IdentitiesIdentityTokensPathParams, requests_PostV1CronSchedulesRequestBody as PostV1CronSchedulesRequestBody, requests_PostV1VmsIdResizePathParams as PostV1VmsIdResizePathParams, requests_PostV1VmsIdResizeRequestBody as PostV1VmsIdResizeRequestBody, requests_PostV1VmsRequestBody as PostV1VmsRequestBody, requests_PostV1VmsSnapshotsRequestBody as PostV1VmsSnapshotsRequestBody, requests_PostV1VmsVmIdAwaitPathParams as PostV1VmsVmIdAwaitPathParams, requests_PostV1VmsVmIdExecAwaitPathParams as PostV1VmsVmIdExecAwaitPathParams, requests_PostV1VmsVmIdExecAwaitRequestBody as PostV1VmsVmIdExecAwaitRequestBody, requests_PostV1VmsVmIdForkPathParams as PostV1VmsVmIdForkPathParams, requests_PostV1VmsVmIdForkRequestBody as PostV1VmsVmIdForkRequestBody, requests_PostV1VmsVmIdKillPathParams as PostV1VmsVmIdKillPathParams, requests_PostV1VmsVmIdOptimizePathParams as PostV1VmsVmIdOptimizePathParams, requests_PostV1VmsVmIdSnapshotPathParams as PostV1VmsVmIdSnapshotPathParams, requests_PostV1VmsVmIdSnapshotRequestBody as PostV1VmsVmIdSnapshotRequestBody, requests_PostV1VmsVmIdStartPathParams as PostV1VmsVmIdStartPathParams, requests_PostV1VmsVmIdStartRequestBody as PostV1VmsVmIdStartRequestBody, requests_PostV1VmsVmIdStopPathParams as PostV1VmsVmIdStopPathParams, requests_PostV1VmsVmIdSuspendPathParams as PostV1VmsVmIdSuspendPathParams, requests_PostV1VmsVmIdSystemdRestartPathParams as PostV1VmsVmIdSystemdRestartPathParams, requests_PostV1VmsVmIdSystemdRestartRequestBody as PostV1VmsVmIdSystemdRestartRequestBody, requests_PostV1VmsVmIdSystemdServicesPathParams as PostV1VmsVmIdSystemdServicesPathParams, requests_PostV1VmsVmIdSystemdServicesRequestBody as PostV1VmsVmIdSystemdServicesRequestBody, requests_PostV1VmsVmIdSystemdStartPathParams as PostV1VmsVmIdSystemdStartPathParams, requests_PostV1VmsVmIdSystemdStartRequestBody as PostV1VmsVmIdSystemdStartRequestBody, requests_PostV1VmsVmIdSystemdStopPathParams as PostV1VmsVmIdSystemdStopPathParams, requests_PostV1VmsVmIdSystemdStopRequestBody as PostV1VmsVmIdSystemdStopRequestBody, requests_PostV1VmsVmIdWatchFilesPathParams as PostV1VmsVmIdWatchFilesPathParams, requests_PostWebV1DeployRequestBody as PostWebV1DeployRequestBody, requests_PostWebV1DeploymentFiles as PostWebV1DeploymentFiles, requests_PostWebV1DeploymentGit as PostWebV1DeploymentGit, requests_PostWebV1DeploymentRequestBody as PostWebV1DeploymentRequestBody, requests_PostWebV1DeploymentTar as PostWebV1DeploymentTar, requests_PostWebV1DeploymentsDeploymentIdFetchPathParams as PostWebV1DeploymentsDeploymentIdFetchPathParams, requests_PutDomainsV1VerificationsRequestBody as PutDomainsV1VerificationsRequestBody, requests_PutGitV1RepoRepoIdDefaultBranchPathParams as PutGitV1RepoRepoIdDefaultBranchPathParams, requests_PutGitV1RepoRepoIdDefaultBranchRequestBody as PutGitV1RepoRepoIdDefaultBranchRequestBody, requests_PutGitV1RepoRepoIdVisibilityPathParams as PutGitV1RepoRepoIdVisibilityPathParams, requests_PutGitV1RepoRepoIdVisibilityRequestBody as PutGitV1RepoRepoIdVisibilityRequestBody, requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams as PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams, requests_PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody as PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody, requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams as PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams, requests_PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody as PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody, requests_PutV1VmsVmIdFilesFilepathPathParams as PutV1VmsVmIdFilesFilepathPathParams, requests_PutV1VmsVmIdFilesFilepathRequestBody as PutV1VmsVmIdFilesFilepathRequestBody, requests_PutWebV1DeploymentsDeploymentIdFetchPathParams as PutWebV1DeploymentsDeploymentIdFetchPathParams }; } type GetPathMap = { "/auth/v1/background-requests/{request_id}": { options: { params: GetAuthV1BackgroundRequestsRequestIdPathParams; headers?: Record; }; response: void; }; "/auth/v1/background-test": { options: { query?: GetAuthV1BackgroundTestQueryParams; headers?: Record; }; response: ResponseGetAuthV1BackgroundTest200; }; "/auth/v1/whoami": { options?: { headers?: Record; }; response: ResponseGetAuthV1Whoami200; }; "/dns/v1/records": { options: { query?: GetDnsV1RecordsQueryParams; headers?: Record; }; response: ResponseGetDnsV1Records200; }; "/domains/v1/domains": { options: { query?: GetDomainsV1DomainsQueryParams; headers?: Record; }; response: ResponseGetDomainsV1Domains200; }; "/domains/v1/mappings": { options: { query?: GetDomainsV1MappingsQueryParams; headers?: Record; }; response: ResponseGetDomainsV1Mappings200; }; "/domains/v1/verifications": { options?: { headers?: Record; }; response: ResponseGetDomainsV1Verifications200; }; "/execute/v1/deployments": { options: { query?: GetExecuteV1DeploymentsQueryParams; headers?: Record; }; response: ResponseGetExecuteV1Deployments200; }; "/execute/v1/deployments/{deployment}": { options: { params: GetExecuteV1DeploymentsDeploymentPathParams; headers?: Record; }; response: ResponseGetExecuteV1DeploymentsDeployment200; }; "/git/v1/identity": { options: { query?: GetGitV1IdentityQueryParams; headers?: Record; }; response: ResponseGetGitV1Identity200; }; "/git/v1/identity/{identity}/permissions": { options: { params: GetGitV1IdentityIdentityPermissionsPathParams; query?: GetGitV1IdentityIdentityPermissionsQueryParams; headers?: Record; }; response: ResponseGetGitV1IdentityIdentityPermissions200; }; "/git/v1/identity/{identity}/permissions/{repo}": { options: { params: GetGitV1IdentityIdentityPermissionsRepoPathParams; headers?: Record; }; response: ResponseGetGitV1IdentityIdentityPermissionsRepo200; }; "/git/v1/identity/{identity}/tokens": { options: { params: GetGitV1IdentityIdentityTokensPathParams; headers?: Record; }; response: ResponseGetGitV1IdentityIdentityTokens200; }; "/git/v1/repo": { options: { query?: GetGitV1RepoQueryParams; headers?: Record; }; response: ResponseGetGitV1Repo200; }; "/git/v1/repo/{repo_id}/default-branch": { options: { params: GetGitV1RepoRepoIdDefaultBranchPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoIdDefaultBranch200; }; "/git/v1/repo/{repo_id}/github-sync": { options: { params: GetGitV1RepoRepoIdGithubSyncPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoIdGithubSync200; }; "/git/v1/repo/{repo_id}/visibility": { options: { params: GetGitV1RepoRepoIdVisibilityPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoIdVisibility200; }; "/git/v1/repo/{repo}": { options: { params: GetGitV1RepoRepoPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepo200; }; "/git/v1/repo/{repo}/compare": { options: { params: GetGitV1RepoRepoComparePathParams; query?: GetGitV1RepoRepoCompareQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoCompare200; }; "/git/v1/repo/{repo}/contents/{path}": { options: { params: GetGitV1RepoRepoContentsPathPathParams; query?: GetGitV1RepoRepoContentsPathQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoContentsPath200; }; "/git/v1/repo/{repo}/git/blobs/{hash}": { options: { params: GetGitV1RepoRepoGitBlobsHashPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitBlobsHash200; }; "/git/v1/repo/{repo}/git/commits": { options: { params: GetGitV1RepoRepoGitCommitsPathParams; query?: GetGitV1RepoRepoGitCommitsQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitCommits200; }; "/git/v1/repo/{repo}/git/commits/{hash}": { options: { params: GetGitV1RepoRepoGitCommitsHashPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitCommitsHash200; }; "/git/v1/repo/{repo}/git/refs/heads/": { options: { params: GetGitV1RepoRepoGitRefsHeadsPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitRefsHeads200; }; "/git/v1/repo/{repo}/git/refs/heads/{branch}": { options: { params: GetGitV1RepoRepoGitRefsHeadsBranchPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitRefsHeadsBranch200; }; "/git/v1/repo/{repo}/git/refs/tags/": { options: { params: GetGitV1RepoRepoGitRefsTagsPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitRefsTags200; }; "/git/v1/repo/{repo}/git/refs/tags/{tag}": { options: { params: GetGitV1RepoRepoGitRefsTagsTagPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitRefsTagsTag200; }; "/git/v1/repo/{repo}/git/tags/{hash}": { options: { params: GetGitV1RepoRepoGitTagsHashPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitTagsHash200; }; "/git/v1/repo/{repo}/git/trees/{hash}": { options: { params: GetGitV1RepoRepoGitTreesHashPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoGitTreesHash200; }; "/git/v1/repo/{repo}/search": { options: { params: GetGitV1RepoRepoSearchPathParams; query?: GetGitV1RepoRepoSearchQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoSearch200; }; "/git/v1/repo/{repo}/search/commits": { options: { params: GetGitV1RepoRepoSearchCommitsPathParams; query?: GetGitV1RepoRepoSearchCommitsQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoSearchCommits200; }; "/git/v1/repo/{repo}/search/diffs": { options: { params: GetGitV1RepoRepoSearchDiffsPathParams; query?: GetGitV1RepoRepoSearchDiffsQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoSearchDiffs200; }; "/git/v1/repo/{repo}/search/files": { options: { params: GetGitV1RepoRepoSearchFilesPathParams; query?: GetGitV1RepoRepoSearchFilesQueryParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoSearchFiles200; }; "/git/v1/repo/{repo}/tarball": { options: { params: GetGitV1RepoRepoTarballPathParams; query?: GetGitV1RepoRepoTarballQueryParams; headers?: Record; }; response: void; }; "/git/v1/repo/{repo}/trigger": { options: { params: GetGitV1RepoRepoTriggerPathParams; headers?: Record; }; response: ResponseGetGitV1RepoRepoTrigger200; }; "/git/v1/repo/{repo}/zip": { options: { params: GetGitV1RepoRepoZipPathParams; query?: GetGitV1RepoRepoZipQueryParams; headers?: Record; }; response: void; }; "/identity/v1/identities": { options: { query?: GetIdentityV1IdentitiesQueryParams; headers?: Record; }; response: ResponseGetIdentityV1Identities200; }; "/identity/v1/identities/{identity}/permissions/git": { options: { params: GetIdentityV1IdentitiesIdentityPermissionsGitPathParams; query?: GetIdentityV1IdentitiesIdentityPermissionsGitQueryParams; headers?: Record; }; response: ResponseGetIdentityV1IdentitiesIdentityPermissionsGit200; }; "/identity/v1/identities/{identity}/permissions/git/{repo}": { options: { params: GetIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; headers?: Record; }; response: ResponseGetIdentityV1IdentitiesIdentityPermissionsGitRepo200; }; "/identity/v1/identities/{identity}/permissions/vm": { options: { params: GetIdentityV1IdentitiesIdentityPermissionsVmPathParams; query?: GetIdentityV1IdentitiesIdentityPermissionsVmQueryParams; headers?: Record; }; response: ResponseGetIdentityV1IdentitiesIdentityPermissionsVm200; }; "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": { options: { params: GetIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; headers?: Record; }; response: ResponseGetIdentityV1IdentitiesIdentityPermissionsVmVmId200; }; "/identity/v1/identities/{identity}/tokens": { options: { params: GetIdentityV1IdentitiesIdentityTokensPathParams; headers?: Record; }; response: ResponseGetIdentityV1IdentitiesIdentityTokens200; }; "/observability/v1/logs": { options: { query?: GetObservabilityV1LogsQueryParams; headers?: Record; }; response: ResponseGetObservabilityV1Logs200; }; "/v1/cron/schedules": { options: { query?: GetV1CronSchedulesQueryParams; headers?: Record; }; response: ResponseGetV1CronSchedules200; }; "/v1/cron/schedules/{id}": { options: { params: GetV1CronSchedulesIdPathParams; headers?: Record; }; response: ResponseGetV1CronSchedulesId200; }; "/v1/cron/schedules/{id}/executions": { options: { params: GetV1CronSchedulesIdExecutionsPathParams; query?: GetV1CronSchedulesIdExecutionsQueryParams; headers?: Record; }; response: ResponseGetV1CronSchedulesIdExecutions200; }; "/v1/cron/schedules/{id}/metrics-timeline": { options: { params: GetV1CronSchedulesIdMetricsTimelinePathParams; query?: GetV1CronSchedulesIdMetricsTimelineQueryParams; headers?: Record; }; response: ResponseGetV1CronSchedulesIdMetricsTimeline200; }; "/v1/cron/schedules/{id}/success-rate": { options: { params: GetV1CronSchedulesIdSuccessRatePathParams; query?: GetV1CronSchedulesIdSuccessRateQueryParams; headers?: Record; }; response: ResponseGetV1CronSchedulesIdSuccessRate200; }; "/v1/vms": { options: { query?: GetV1VmsQueryParams; headers?: Record; }; response: ResponseGetV1Vms200; }; "/v1/vms/snapshots": { options: { query?: GetV1VmsSnapshotsQueryParams; headers?: Record; }; response: ResponseGetV1VmsSnapshots200; }; "/v1/vms/{vm_id}": { options: { params: GetV1VmsVmIdPathParams; headers?: Record; }; response: ResponseGetV1VmsVmId200; }; "/v1/vms/{vm_id}/files/{filepath}": { options: { params: GetV1VmsVmIdFilesFilepathPathParams; headers?: Record; }; response: ResponseGetV1VmsVmIdFilesFilepath200; }; "/v1/vms/{vm_id}/systemd/services": { options: { params: GetV1VmsVmIdSystemdServicesPathParams; headers?: Record; }; response: ResponseGetV1VmsVmIdSystemdServices200; }; "/v1/vms/{vm_id}/systemd/services/{service_id}/logs": { options: { params: GetV1VmsVmIdSystemdServicesServiceIdLogsPathParams; query?: GetV1VmsVmIdSystemdServicesServiceIdLogsQueryParams; headers?: Record; }; response: ResponseGetV1VmsVmIdSystemdServicesServiceIdLogs200; }; "/v1/vms/{vm_id}/systemd/services/{service_id}/status": { options: { params: GetV1VmsVmIdSystemdServicesServiceIdStatusPathParams; headers?: Record; }; response: ResponseGetV1VmsVmIdSystemdServicesServiceIdStatus200; }; "/v1/vms/{vm_id}/terminals": { options: { params: GetV1VmsVmIdTerminalsPathParams; headers?: Record; }; response: ResponseGetV1VmsVmIdTerminals200; }; "/v1/vms/{vm_id}/terminals/{terminal_id}/logs": { options: { params: GetV1VmsVmIdTerminalsTerminalIdLogsPathParams; headers?: Record; }; response: ResponseGetV1VmsVmIdTerminalsTerminalIdLogs200; }; "/v1/vms/{vm_id}/terminals/{terminal_id}/xterm-256color": { options: { params: GetV1VmsVmIdTerminalsTerminalIdXterm_256ColorPathParams; headers?: Record; }; response: ResponseGetV1VmsVmIdTerminalsTerminalIdXterm_256Color200; }; "/web/v1/deployments": { options: { query?: GetWebV1DeploymentsQueryParams; headers?: Record; }; response: ResponseGetWebV1Deployments200; }; "/web/v1/deployments/{deployment_id}": { options: { params: GetWebV1DeploymentsDeploymentIdPathParams; headers?: Record; }; response: void; }; "/web/v1/deployments/{deployment_id}/fetch": { options: { params: GetWebV1DeploymentsDeploymentIdFetchPathParams; headers?: Record; }; response: void; }; }; type PostPathMap = { "/dns/v1/records": { options: { body: PostDnsV1RecordsRequestBody; headers?: Record; }; response: ResponsePostDnsV1Records200; }; "/domains/v1/certs/{domain}/wildcard": { options: { params: PostDomainsV1CertsDomainWildcardPathParams; headers?: Record; }; response: ResponsePostDomainsV1CertsDomainWildcard200; }; "/domains/v1/mappings/{domain}": { options: { params: PostDomainsV1MappingsDomainPathParams; body: PostDomainsV1MappingsDomainRequestBody; headers?: Record; }; response: ResponsePostDomainsV1MappingsDomain200; }; "/domains/v1/verifications": { options: { body: PostDomainsV1VerificationsRequestBody; headers?: Record; }; response: ResponsePostDomainsV1Verifications200; }; "/execute/v1/script": { options: { body: PostExecuteV1ScriptRequestBody; headers?: Record; }; response: ResponsePostExecuteV1Script200; }; "/execute/v2/script": { options: { body: PostExecuteV2ScriptRequestBody; headers?: Record; }; response: ResponsePostExecuteV2Script200; }; "/execute/v3/script": { options: { body: PostExecuteV3ScriptRequestBody; headers?: Record; }; response: ResponsePostExecuteV3Script200; }; "/git/v1/identity": { options?: { headers?: Record; }; response: ResponsePostGitV1Identity200; }; "/git/v1/identity/{identity}/permissions/{repo}": { options: { params: PostGitV1IdentityIdentityPermissionsRepoPathParams; body: PostGitV1IdentityIdentityPermissionsRepoRequestBody; headers?: Record; }; response: ResponsePostGitV1IdentityIdentityPermissionsRepo200; }; "/git/v1/identity/{identity}/tokens": { options: { params: PostGitV1IdentityIdentityTokensPathParams; headers?: Record; }; response: ResponsePostGitV1IdentityIdentityTokens200; }; "/git/v1/repo": { options: { body: PostGitV1RepoRequestBody; headers?: Record; }; response: ResponsePostGitV1Repo200; }; "/git/v1/repo/{repo_id}/github-sync": { options: { params: PostGitV1RepoRepoIdGithubSyncPathParams; body: PostGitV1RepoRepoIdGithubSyncRequestBody; headers?: Record; }; response: void; }; "/git/v1/repo/{repo}/commits": { options: { params: PostGitV1RepoRepoCommitsPathParams; body: PostGitV1RepoRepoCommitsRequestBody; headers?: Record; }; response: ResponsePostGitV1RepoRepoCommits200; }; "/git/v1/repo/{repo}/git/commits": { options: { params: PostGitV1RepoRepoGitCommitsPathParams; body: PostGitV1RepoRepoGitCommitsRequestBody; headers?: Record; }; response: ResponsePostGitV1RepoRepoGitCommits200; }; "/git/v1/repo/{repo}/git/refs/heads/{*branch}": { options: { params: PostGitV1RepoRepoGitRefsHeadsBranchPathParams; body: PostGitV1RepoRepoGitRefsHeadsBranchRequestBody; headers?: Record; }; response: ResponsePostGitV1RepoRepoGitRefsHeadsBranch200; }; "/git/v1/repo/{repo}/trigger": { options: { params: PostGitV1RepoRepoTriggerPathParams; body: PostGitV1RepoRepoTriggerRequestBody; headers?: Record; }; response: ResponsePostGitV1RepoRepoTrigger200; }; "/identity/v1/identities": { options?: { headers?: Record; }; response: ResponsePostIdentityV1Identities200; }; "/identity/v1/identities/{identity}/permissions/git/{repo}": { options: { params: PostIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; body: PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody; headers?: Record; }; response: ResponsePostIdentityV1IdentitiesIdentityPermissionsGitRepo200; }; "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": { options: { params: PostIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; body: PostIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody; headers?: Record; }; response: ResponsePostIdentityV1IdentitiesIdentityPermissionsVmVmId200; }; "/identity/v1/identities/{identity}/tokens": { options: { params: PostIdentityV1IdentitiesIdentityTokensPathParams; headers?: Record; }; response: ResponsePostIdentityV1IdentitiesIdentityTokens200; }; "/v1/cron/schedules": { options: { body: PostV1CronSchedulesRequestBody; headers?: Record; }; response: ResponsePostV1CronSchedules200; }; "/v1/vms": { options: { body: PostV1VmsRequestBody; headers?: Record; }; response: ResponsePostV1Vms200; }; "/v1/vms/snapshots": { options: { body: PostV1VmsSnapshotsRequestBody; headers?: Record; }; response: ResponsePostV1VmsSnapshots200; }; "/v1/vms/{id}/resize": { options: { params: PostV1VmsIdResizePathParams; body: PostV1VmsIdResizeRequestBody; headers?: Record; }; response: ResponsePostV1VmsIdResize200; }; "/v1/vms/{vm_id}/await": { options: { params: PostV1VmsVmIdAwaitPathParams; headers?: Record; }; response: ResponsePostV1VmsVmIdAwait200; }; "/v1/vms/{vm_id}/exec-await": { options: { params: PostV1VmsVmIdExecAwaitPathParams; body: PostV1VmsVmIdExecAwaitRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdExecAwait200; }; "/v1/vms/{vm_id}/fork": { options: { params: PostV1VmsVmIdForkPathParams; body: PostV1VmsVmIdForkRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdFork200; }; "/v1/vms/{vm_id}/kill": { options: { params: PostV1VmsVmIdKillPathParams; headers?: Record; }; response: ResponsePostV1VmsVmIdKill200; }; "/v1/vms/{vm_id}/optimize": { options: { params: PostV1VmsVmIdOptimizePathParams; headers?: Record; }; response: ResponsePostV1VmsVmIdOptimize200; }; "/v1/vms/{vm_id}/snapshot": { options: { params: PostV1VmsVmIdSnapshotPathParams; body: PostV1VmsVmIdSnapshotRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdSnapshot200; }; "/v1/vms/{vm_id}/start": { options: { params: PostV1VmsVmIdStartPathParams; body: PostV1VmsVmIdStartRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdStart200; }; "/v1/vms/{vm_id}/stop": { options: { params: PostV1VmsVmIdStopPathParams; headers?: Record; }; response: ResponsePostV1VmsVmIdStop200; }; "/v1/vms/{vm_id}/suspend": { options: { params: PostV1VmsVmIdSuspendPathParams; headers?: Record; }; response: ResponsePostV1VmsVmIdSuspend200; }; "/v1/vms/{vm_id}/systemd/restart": { options: { params: PostV1VmsVmIdSystemdRestartPathParams; body: PostV1VmsVmIdSystemdRestartRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdSystemdRestart200; }; "/v1/vms/{vm_id}/systemd/services": { options: { params: PostV1VmsVmIdSystemdServicesPathParams; body: PostV1VmsVmIdSystemdServicesRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdSystemdServices200; }; "/v1/vms/{vm_id}/systemd/start": { options: { params: PostV1VmsVmIdSystemdStartPathParams; body: PostV1VmsVmIdSystemdStartRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdSystemdStart200; }; "/v1/vms/{vm_id}/systemd/stop": { options: { params: PostV1VmsVmIdSystemdStopPathParams; body: PostV1VmsVmIdSystemdStopRequestBody; headers?: Record; }; response: ResponsePostV1VmsVmIdSystemdStop200; }; "/v1/vms/{vm_id}/watch-files": { options: { params: PostV1VmsVmIdWatchFilesPathParams; headers?: Record; }; response: void; }; "/web/v1/deploy": { options: { body: PostWebV1DeployRequestBody; headers?: Record; }; response: ResponsePostWebV1Deploy200; }; "/web/v1/deployment": { options: { body: PostWebV1DeploymentRequestBody; headers?: Record; }; response: ResponsePostWebV1Deployment200; }; "/web/v1/deployments/{deployment_id}/fetch": { options: { params: PostWebV1DeploymentsDeploymentIdFetchPathParams; headers?: Record; }; response: void; }; }; type PutPathMap = { "/domains/v1/verifications": { options: { body: PutDomainsV1VerificationsRequestBody; headers?: Record; }; response: ResponsePutDomainsV1Verifications200; }; "/git/v1/repo/{repo_id}/default-branch": { options: { params: PutGitV1RepoRepoIdDefaultBranchPathParams; body: PutGitV1RepoRepoIdDefaultBranchRequestBody; headers?: Record; }; response: ResponsePutGitV1RepoRepoIdDefaultBranch200; }; "/git/v1/repo/{repo_id}/visibility": { options: { params: PutGitV1RepoRepoIdVisibilityPathParams; body: PutGitV1RepoRepoIdVisibilityRequestBody; headers?: Record; }; response: ResponsePutGitV1RepoRepoIdVisibility200; }; "/identity/v1/identities/{identity}/permissions/git/{repo}": { options: { params: PutIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; body: PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody; headers?: Record; }; response: ResponsePutIdentityV1IdentitiesIdentityPermissionsGitRepo200; }; "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": { options: { params: PutIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; body: PutIdentityV1IdentitiesIdentityPermissionsVmVmIdRequestBody; headers?: Record; }; response: ResponsePutIdentityV1IdentitiesIdentityPermissionsVmVmId200; }; "/v1/vms/{vm_id}/files/{filepath}": { options: { params: PutV1VmsVmIdFilesFilepathPathParams; body: PutV1VmsVmIdFilesFilepathRequestBody; headers?: Record; }; response: ResponsePutV1VmsVmIdFilesFilepath200; }; "/web/v1/deployments/{deployment_id}/fetch": { options: { params: PutWebV1DeploymentsDeploymentIdFetchPathParams; headers?: Record; }; response: void; }; }; type DeletePathMap = { "/dns/v1/records": { options: { query?: DeleteDnsV1RecordsQueryParams; headers?: Record; }; response: ResponseDeleteDnsV1Records200; }; "/domains/v1/mappings/{domain}": { options: { params: DeleteDomainsV1MappingsDomainPathParams; headers?: Record; }; response: ResponseDeleteDomainsV1MappingsDomain200; }; "/domains/v1/verifications": { options: { body: DeleteDomainsV1VerificationsRequestBody; headers?: Record; }; response: ResponseDeleteDomainsV1Verifications200; }; "/git/v1/identity/{identity}": { options: { params: DeleteGitV1IdentityIdentityPathParams; headers?: Record; }; response: ResponseDeleteGitV1IdentityIdentity200; }; "/git/v1/identity/{identity}/permissions/{repo}": { options: { params: DeleteGitV1IdentityIdentityPermissionsRepoPathParams; headers?: Record; }; response: ResponseDeleteGitV1IdentityIdentityPermissionsRepo200; }; "/git/v1/identity/{identity}/tokens": { options: { params: DeleteGitV1IdentityIdentityTokensPathParams; body: DeleteGitV1IdentityIdentityTokensRequestBody; headers?: Record; }; response: ResponseDeleteGitV1IdentityIdentityTokens200; }; "/git/v1/repo/{repo_id}/github-sync": { options: { params: DeleteGitV1RepoRepoIdGithubSyncPathParams; headers?: Record; }; response: void; }; "/git/v1/repo/{repo}": { options: { params: DeleteGitV1RepoRepoPathParams; headers?: Record; }; response: ResponseDeleteGitV1RepoRepo200; }; "/git/v1/repo/{repo}/trigger/{trigger}": { options: { params: DeleteGitV1RepoRepoTriggerTriggerPathParams; headers?: Record; }; response: ResponseDeleteGitV1RepoRepoTriggerTrigger200; }; "/identity/v1/identities/{identity}": { options: { params: DeleteIdentityV1IdentitiesIdentityPathParams; headers?: Record; }; response: ResponseDeleteIdentityV1IdentitiesIdentity200; }; "/identity/v1/identities/{identity}/permissions/git/{repo}": { options: { params: DeleteIdentityV1IdentitiesIdentityPermissionsGitRepoPathParams; headers?: Record; }; response: ResponseDeleteIdentityV1IdentitiesIdentityPermissionsGitRepo200; }; "/identity/v1/identities/{identity}/permissions/vm/{vm_id}": { options: { params: DeleteIdentityV1IdentitiesIdentityPermissionsVmVmIdPathParams; headers?: Record; }; response: ResponseDeleteIdentityV1IdentitiesIdentityPermissionsVmVmId200; }; "/identity/v1/identities/{identity}/tokens/{token}": { options: { params: DeleteIdentityV1IdentitiesIdentityTokensTokenPathParams; headers?: Record; }; response: ResponseDeleteIdentityV1IdentitiesIdentityTokensToken200; }; "/v1/cron/schedules/{id}": { options: { params: DeleteV1CronSchedulesIdPathParams; headers?: Record; }; response: ResponseDeleteV1CronSchedulesId200; }; "/v1/vms/snapshots/{snapshot_id}": { options: { params: DeleteV1VmsSnapshotsSnapshotIdPathParams; headers?: Record; }; response: ResponseDeleteV1VmsSnapshotsSnapshotId200; }; "/v1/vms/{vm_id}": { options: { params: DeleteV1VmsVmIdPathParams; headers?: Record; }; response: ResponseDeleteV1VmsVmId200; }; "/v1/vms/{vm_id}/systemd/services/{service_id}": { options: { params: DeleteV1VmsVmIdSystemdServicesServiceIdPathParams; headers?: Record; }; response: ResponseDeleteV1VmsVmIdSystemdServicesServiceId200; }; "/web/v1/deployments/{deployment_id}/fetch": { options: { params: DeleteWebV1DeploymentsDeploymentIdFetchPathParams; headers?: Record; }; response: void; }; }; type PatchPathMap = { "/git/v1/identity/{identity}/permissions/{repo}": { options: { params: PatchGitV1IdentityIdentityPermissionsRepoPathParams; body: PatchGitV1IdentityIdentityPermissionsRepoRequestBody; headers?: Record; }; response: void; }; "/v1/cron/schedules/{id}": { options: { params: PatchV1CronSchedulesIdPathParams; body: PatchV1CronSchedulesIdRequestBody; headers?: Record; }; response: ResponsePatchV1CronSchedulesId200; }; "/v1/vms/snapshots/{snapshot_id}": { options: { params: PatchV1VmsSnapshotsSnapshotIdPathParams; body: PatchV1VmsSnapshotsSnapshotIdRequestBody; headers?: Record; }; response: ResponsePatchV1VmsSnapshotsSnapshotId200; }; "/web/v1/deployments/{deployment_id}/fetch": { options: { params: PatchWebV1DeploymentsDeploymentIdFetchPathParams; headers?: Record; }; response: void; }; }; type ApiClientConfig = { apiKey?: string; accessToken?: never; baseUrl?: string; fetch?: typeof fetch; } | { accessToken: string; apiKey?: never; baseUrl?: string; fetch?: typeof fetch; }; declare class ApiClient { private baseUrl; private apiKey; private accessToken; private fetchFn; constructor(config?: ApiClientConfig); private buildUrl; private getDefaultHeaders; private requestRaw; private request; fetch(url: string, options?: RequestInit): Promise; resolveUrl(path: string, params?: Record, query?: Record): string; getRaw

(path: P, options?: GetPathMap[P]["options"]): Promise; postRaw

(path: P, ...args: PostPathMap[P]["options"] extends undefined ? [options?: PostPathMap[P]["options"]] : [options: PostPathMap[P]["options"]]): Promise; get

(path: P, ...args: GetPathMap[P]["options"] extends undefined ? [options?: GetPathMap[P]["options"]] : [options: GetPathMap[P]["options"]]): Promise; post

(path: P, ...args: PostPathMap[P]["options"] extends undefined ? [options?: PostPathMap[P]["options"]] : [options: PostPathMap[P]["options"]]): Promise; put

(path: P, ...args: PutPathMap[P]["options"] extends undefined ? [options?: PutPathMap[P]["options"]] : [options: PutPathMap[P]["options"]]): Promise; delete

(path: P, ...args: DeletePathMap[P]["options"] extends undefined ? [options?: DeletePathMap[P]["options"]] : [options: DeletePathMap[P]["options"]]): Promise; patch

(path: P, ...args: PatchPathMap[P]["options"] extends undefined ? [options?: PatchPathMap[P]["options"]] : [options: PatchPathMap[P]["options"]]): Promise; } interface FreestyleError { code: keyof typeof FREESTYLE_ERROR_CODE_MAP; message: string; } declare function errorFromJSON(body: object & FreestyleError): Error; declare class BadParseError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class BadTimestampError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class BadSignatureError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class BadHeaderError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class BadKeyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GitErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SuspendFailedAndStopFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SuspendFailedAndStoppedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface InvalidGitRepoSpecErrorPublic { message: string; [k: string]: unknown; } declare class InvalidGitRepoSpecErrorError extends Error { body: InvalidGitRepoSpecErrorPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: InvalidGitRepoSpecErrorPublic & FreestyleError); } declare class InternalErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicForkVmNotFound { forkVmId: string; [k: string]: unknown; } declare class ForkVmNotFoundError extends Error { body: PublicForkVmNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicForkVmNotFound & FreestyleError); } interface PublicCreateSnapshotBadRequest { message: string; [k: string]: unknown; } declare class CreateSnapshotBadRequestError extends Error { body: PublicCreateSnapshotBadRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCreateSnapshotBadRequest & FreestyleError); } interface PublicSnapshotNotFound { snapshotId: SnapshotId; [k: string]: unknown; } declare class SnapshotNotFoundError extends Error { body: PublicSnapshotNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSnapshotNotFound & FreestyleError); } declare class ResumedVmNonResponsiveError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SnapshotLoadTimeoutError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UffdTimeoutErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class KernelPanicError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmDeletedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ReqwestError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class FirecrackerPidNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class FirecrackerApiSocketNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class InvalidSnapshotIdError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmStartTimeoutError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmIsSuspendingError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmExitDuringStartError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmAccessDeniedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class FailedToSpawnUffdError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmSpawnProcessError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmSubnetNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicSnapshotSetupFailed { snapshotId: SnapshotId; failedReason: string; [k: string]: unknown; } declare class SnapshotSetupFailedError extends Error { body: PublicSnapshotSetupFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSnapshotSetupFailed & FreestyleError); } interface PublicSnapshotVmBadRequest { message: string; [k: string]: unknown; } declare class SnapshotVmBadRequestError extends Error { body: PublicSnapshotVmBadRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSnapshotVmBadRequest & FreestyleError); } interface PublicSnapshotIsAccountDefault { snapshotId: SnapshotId; [k: string]: unknown; } declare class SnapshotIsAccountDefaultError extends Error { body: PublicSnapshotIsAccountDefault & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSnapshotIsAccountDefault & FreestyleError); } /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ type SnapshotId = string; /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ type SnapshotId = string; /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ type SnapshotId = string; /** * Branded snapshot ID in the format `sc-<20 lowercase alphanumeric chars>`. * Unlike `VmShortId`, this is a plain `String` wrapper with no fixed-size array or padding. */ type SnapshotId = string; interface PublicSnapshotAlreadyDeleted { snapshotId: SnapshotId; [k: string]: unknown; } declare class SnapshotAlreadyDeletedError extends Error { body: PublicSnapshotAlreadyDeleted & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSnapshotAlreadyDeleted & FreestyleError); } declare class VmNotFoundInFsError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class VmNotRunningError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface VmNotFoundPublic { vmId: VmId; [k: string]: unknown; } declare class VmNotFoundError extends Error { body: VmNotFoundPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: VmNotFoundPublic & FreestyleError); } interface PublicInternalForkVmNotFound { forkVmId: VmId; [k: string]: unknown; } declare class InternalForkVmNotFoundError extends Error { body: PublicInternalForkVmNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInternalForkVmNotFound & FreestyleError); } interface PublicBadRequest { message: string; [k: string]: unknown; } declare class BadRequestError extends Error { body: PublicBadRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicBadRequest & FreestyleError); } interface PublicInternalVmNotFound { vmId: VmId; [k: string]: unknown; } declare class InternalVmNotFoundError extends Error { body: PublicInternalVmNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInternalVmNotFound & FreestyleError); } declare class NoDefaultSnapshotAvailableError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class DockerSnapshotFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SetDefaultSnapshotFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SnapshotLayerCreationFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SnapshotDirNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SubvolumeCreationFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GetDefaultSnapshotFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicUserAlreadyExists { userName: string; [k: string]: unknown; } declare class UserAlreadyExistsError extends Error { body: PublicUserAlreadyExists & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicUserAlreadyExists & FreestyleError); } declare class ValidationErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GroupNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicGroupAlreadyExists { groupName: string; [k: string]: unknown; } declare class GroupAlreadyExistsError extends Error { body: PublicGroupAlreadyExists & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGroupAlreadyExists & FreestyleError); } declare class DuplicateUserNameError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserGroupEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserSystemFlagMismatchError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserUidOutOfRangeError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserHomeInvalidError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserShellInvalidError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class DuplicateGroupNameError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GroupNameReservedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GroupNameInvalidCharsError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GroupNameTooLongError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GroupNameEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ActiveTransactionErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SwapVmTapError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class RootfsCopyErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class PartitionNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicFileNotFound { path: string; [k: string]: unknown; } declare class FileNotFoundError extends Error { body: PublicFileNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFileNotFound & FreestyleError); } interface PublicFilesBadRequest { message: string; [k: string]: unknown; } declare class FilesBadRequestError extends Error { body: PublicFilesBadRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFilesBadRequest & FreestyleError); } declare class DatabaseErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicInvalidVmId { vmId: string; details: string; [k: string]: unknown; } declare class InvalidVmIdError extends Error { body: PublicInvalidVmId & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidVmId & FreestyleError); } interface VmOperationDeniedDuringTransactionPublic { vmId: VmId; transactionId: string; [k: string]: unknown; } declare class VmOperationDeniedDuringTransactionError extends Error { body: VmOperationDeniedDuringTransactionPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: VmOperationDeniedDuringTransactionPublic & FreestyleError); } type VmId = string; type VmId = string; type VmId = string; type VmId = string; type VmId = string; interface VmTransactionIdMismatchPublic { vmId: VmId; expectedTransactionId: string; providedTransactionId: string; [k: string]: unknown; } declare class VmTransactionIdMismatchError extends Error { body: VmTransactionIdMismatchPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: VmTransactionIdMismatchPublic & FreestyleError); } declare class VmNotInTransactionError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicCreateVmBadRequest { message: string; [k: string]: unknown; } declare class CreateVmBadRequestError extends Error { body: PublicCreateVmBadRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCreateVmBadRequest & FreestyleError); } interface VmSetupFailedPublic { snapshotId?: string | null; failedReason: string; diagnostics?: PostBootDiagnostics | null; [k: string]: unknown; } interface PostBootDiagnostics { /** * Summary of all systemd service states grouped by (active_state, sub_state) */ serviceStates: ServiceStateGroup[]; /** * Journald logs for all services in a failed state */ failedServiceLogs: ServiceLog[]; [k: string]: unknown; } interface ServiceStateGroup { activeState: string; subState: string; services: string[]; [k: string]: unknown; } interface ServiceLog { unitName: string; log: string; [k: string]: unknown; } declare class VmSetupFailedError extends Error { body: VmSetupFailedPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: VmSetupFailedPublic & FreestyleError); } declare class WantedByEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class WorkdirEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GroupEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UserEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class OnFailureArrayContainsEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class RequiresArrayContainsEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class AfterArrayContainsEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class EnvKeyContainsEqualsError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class EnvKeyEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ExecEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ServiceNameTooLongError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ServiceNameInvalidPrefixError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ServiceNameInvalidCharsError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ServiceNameEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicServiceAlreadyExists { serviceName: string; [k: string]: unknown; } declare class ServiceAlreadyExistsError extends Error { body: PublicServiceAlreadyExists & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicServiceAlreadyExists & FreestyleError); } declare class ServiceNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class InvalidRequestError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class RepoNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } type JavascriptLog = { message: string; callstack?: string | null; type: "log"; [k: string]: unknown; } | { message: string; callstack?: string | null; type: "error"; [k: string]: unknown; }; interface PublicRuntimeError { message: string; logs: JavascriptLog[]; stack?: string | null; [k: string]: unknown; } declare class RuntimeErrorError extends Error { body: PublicRuntimeError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRuntimeError & FreestyleError); } declare class SyntaxErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class InternalError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class SigningError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class InvalidSignatureError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class InvalidParametersError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class MaxUsesExceededError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ExpiredError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicBranchNotFound { branch: string; [k: string]: unknown; } declare class BranchNotFoundError extends Error { body: PublicBranchNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicBranchNotFound & FreestyleError); } interface PublicBranchAlreadyExists { branch: string; [k: string]: unknown; } declare class BranchAlreadyExistsError extends Error { body: PublicBranchAlreadyExists & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicBranchAlreadyExists & FreestyleError); } declare class NoDefaultBranchError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicCommitNotFound { sha: string; [k: string]: unknown; } declare class CommitNotFoundError extends Error { body: PublicCommitNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCommitNotFound & FreestyleError); } interface PublicParentNotFound { sha: string; [k: string]: unknown; } declare class ParentNotFoundError extends Error { body: PublicParentNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicParentNotFound & FreestyleError); } interface PublicTreeNotFound { sha: string; [k: string]: unknown; } declare class TreeNotFoundError extends Error { body: PublicTreeNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicTreeNotFound & FreestyleError); } declare class PackfileError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicInvalidRevision { revision: string; [k: string]: unknown; } declare class InvalidRevisionError extends Error { body: PublicInvalidRevision & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidRevision & FreestyleError); } declare class ForbiddenError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class UnauthorizedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicPathNotFound { path: string; [k: string]: unknown; } declare class PathNotFoundError extends Error { body: PublicPathNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicPathNotFound & FreestyleError); } interface PublicReferenceNotFound { reference: string; [k: string]: unknown; } declare class ReferenceNotFoundError extends Error { body: PublicReferenceNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicReferenceNotFound & FreestyleError); } interface PublicAmbiguous { rev: string; [k: string]: unknown; } declare class AmbiguousError extends Error { body: PublicAmbiguous & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicAmbiguous & FreestyleError); } interface PublicNotFound { rev: string; [k: string]: unknown; } declare class NotFoundError extends Error { body: PublicNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicNotFound & FreestyleError); } interface PublicInvalid { rev: string; [k: string]: unknown; } declare class InvalidError extends Error { body: PublicInvalid & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalid & FreestyleError); } interface PublicDiffInvalidPathPattern { reason: string; [k: string]: unknown; } declare class DiffInvalidPathPatternError extends Error { body: PublicDiffInvalidPathPattern & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDiffInvalidPathPattern & FreestyleError); } interface PublicDiffInvalidRegex { reason: string; [k: string]: unknown; } declare class DiffInvalidRegexError extends Error { body: PublicDiffInvalidRegex & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDiffInvalidRegex & FreestyleError); } declare class DiffEmptyQueryError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicCommitInvalidRegex { reason: string; [k: string]: unknown; } declare class CommitInvalidRegexError extends Error { body: PublicCommitInvalidRegex & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCommitInvalidRegex & FreestyleError); } declare class CommitEmptyQueryError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicFilenameInvalidPattern { reason: string; [k: string]: unknown; } declare class FilenameInvalidPatternError extends Error { body: PublicFilenameInvalidPattern & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFilenameInvalidPattern & FreestyleError); } declare class FilenameEmptyQueryError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicInvalidRegex { reason: string; [k: string]: unknown; } declare class InvalidRegexError extends Error { body: PublicInvalidRegex & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidRegex & FreestyleError); } interface PublicInvalidPathPattern { reason: string; [k: string]: unknown; } declare class InvalidPathPatternError extends Error { body: PublicInvalidPathPattern & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidPathPattern & FreestyleError); } declare class EmptyQueryError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ConflictError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicInvalidBase64Content { path: string; [k: string]: unknown; } declare class InvalidBase64ContentError extends Error { body: PublicInvalidBase64Content & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidBase64Content & FreestyleError); } interface PublicInvalidFileChange { path: string; [k: string]: unknown; } declare class InvalidFileChangeError extends Error { body: PublicInvalidFileChange & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidFileChange & FreestyleError); } interface PublicInvalidFilePath { path: string; [k: string]: unknown; } declare class InvalidFilePathError extends Error { body: PublicInvalidFilePath & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidFilePath & FreestyleError); } interface PublicConflictingParent { expected: string; actual?: string | null; [k: string]: unknown; } declare class ConflictingParentError extends Error { body: PublicConflictingParent & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicConflictingParent & FreestyleError); } interface PublicInvalidAccountId { accountId: string; [k: string]: unknown; } declare class InvalidAccountIdError extends Error { body: PublicInvalidAccountId & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidAccountId & FreestyleError); } declare class SourceImportConflictError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicSourceUnauthorized { url: string; [k: string]: unknown; } declare class SourceUnauthorizedError extends Error { body: PublicSourceUnauthorized & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSourceUnauthorized & FreestyleError); } interface PublicSourceNotFound { url: string; [k: string]: unknown; } declare class SourceNotFoundError extends Error { body: PublicSourceNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSourceNotFound & FreestyleError); } interface PublicImportSubdirNotFound { /** * The resource type, e.g. "tar archive" or "zip archive" */ source: string; dir: string; [k: string]: unknown; } declare class ImportSubdirNotFoundError extends Error { body: PublicImportSubdirNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicImportSubdirNotFound & FreestyleError); } interface PublicRepoAlreadyExists { repoId: string; [k: string]: unknown; } declare class RepoAlreadyExistsError extends Error { body: PublicRepoAlreadyExists & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRepoAlreadyExists & FreestyleError); } declare class SendErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicInvalidRange { since: string; until: string; [k: string]: unknown; } declare class InvalidRangeError extends Error { body: PublicInvalidRange & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidRange & FreestyleError); } declare class OffsetWithSelectorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicCommitNotInBranch { sha: string; branch: string; [k: string]: unknown; } declare class CommitNotInBranchError extends Error { body: PublicCommitNotInBranch & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCommitNotInBranch & FreestyleError); } interface PublicTagNotFound { hash: string; [k: string]: unknown; } declare class TagNotFoundError extends Error { body: PublicTagNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicTagNotFound & FreestyleError); } declare class InvalidServiceError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ExpectedServiceError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GitHubSyncConflictError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface InvalidObjectIdPublic { hash: string; [k: string]: unknown; } declare class InvalidObjectIdError extends Error { body: InvalidObjectIdPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: InvalidObjectIdPublic & FreestyleError); } type LfsTransferAdapter = ("basic" | "multipart" | "ssh") | { other: string; }; interface PublicUnsupportedTransfer { requested: LfsTransferAdapter[]; supported: LfsTransferAdapter[]; [k: string]: unknown; } declare class UnsupportedTransferError extends Error { body: PublicUnsupportedTransfer & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicUnsupportedTransfer & FreestyleError); } interface PublicBlobNotFound { hash: string; [k: string]: unknown; } declare class BlobNotFoundError extends Error { body: PublicBlobNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicBlobNotFound & FreestyleError); } declare class UnavailableError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ScheduleNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ServiceUnavailableError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class ExecuteLimitExceededError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class AccessDeniedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicCloudstateInternalError { message: string; [k: string]: unknown; } declare class CloudstateInternalErrorError extends Error { body: PublicCloudstateInternalError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCloudstateInternalError & FreestyleError); } interface PublicCloudstateDatabaseError { message: string; [k: string]: unknown; } declare class CloudstateDatabaseErrorError extends Error { body: PublicCloudstateDatabaseError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCloudstateDatabaseError & FreestyleError); } interface PublicCloudstateAccessDenied { projectId: string; [k: string]: unknown; } declare class CloudstateAccessDeniedError extends Error { body: PublicCloudstateAccessDenied & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCloudstateAccessDenied & FreestyleError); } interface PublicRestoreFailed { message: string; [k: string]: unknown; } declare class RestoreFailedError extends Error { body: PublicRestoreFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRestoreFailed & FreestyleError); } interface PublicCreateBackupFailed { message: string; [k: string]: unknown; } declare class CreateBackupFailedError extends Error { body: PublicCreateBackupFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCreateBackupFailed & FreestyleError); } interface PublicBackupFailed { message: string; [k: string]: unknown; } declare class BackupFailedError extends Error { body: PublicBackupFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicBackupFailed & FreestyleError); } interface PublicDeploymentFailed { message: string; [k: string]: unknown; } declare class DeploymentFailedError extends Error { body: PublicDeploymentFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDeploymentFailed & FreestyleError); } interface PublicInvalidDeploymentRequest { message: string; [k: string]: unknown; } declare class InvalidDeploymentRequestError extends Error { body: PublicInvalidDeploymentRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidDeploymentRequest & FreestyleError); } interface PublicProjectNotFound { projectId: string; [k: string]: unknown; } declare class ProjectNotFoundError extends Error { body: PublicProjectNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicProjectNotFound & FreestyleError); } interface PublicBuildFailed { logs: string; vmId: string; [k: string]: unknown; } declare class BuildFailedError extends Error { body: PublicBuildFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicBuildFailed & FreestyleError); } declare class ServerDeploymentFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicLockfileError { message: string; [k: string]: unknown; } declare class LockfileErrorError extends Error { body: PublicLockfileError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicLockfileError & FreestyleError); } declare class UploadErrorError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicDomainMappingError { domain: string; [k: string]: unknown; } declare class DomainMappingErrorError extends Error { body: PublicDomainMappingError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDomainMappingError & FreestyleError); } interface PublicCertificateProvisioningError { domain: string; reason?: string | null; [k: string]: unknown; } declare class CertificateProvisioningErrorError extends Error { body: PublicCertificateProvisioningError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCertificateProvisioningError & FreestyleError); } declare class NoEntrypointFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicEntrypointNotFound { entrypoint: string; [k: string]: unknown; } declare class EntrypointNotFoundError extends Error { body: PublicEntrypointNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicEntrypointNotFound & FreestyleError); } interface PublicNoDomainOwnership { domain: string; [k: string]: unknown; } declare class NoDomainOwnershipError extends Error { body: PublicNoDomainOwnership & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicNoDomainOwnership & FreestyleError); } interface PublicInvalidDomains { domains: string[]; [k: string]: unknown; } declare class InvalidDomainsError extends Error { body: PublicInvalidDomains & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidDomains & FreestyleError); } interface PublicWebDeploymentBadRequest { message: string; [k: string]: unknown; } declare class WebDeploymentBadRequestError extends Error { body: PublicWebDeploymentBadRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicWebDeploymentBadRequest & FreestyleError); } interface PublicTimeoutLimitExceeded { requestedMs: number; maxMs: number; [k: string]: unknown; } declare class TimeoutLimitExceededError extends Error { body: PublicTimeoutLimitExceeded & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicTimeoutLimitExceeded & FreestyleError); } interface PublicDeploymentLimitExceeded { limit: number; current: number; [k: string]: unknown; } declare class DeploymentLimitExceededError extends Error { body: PublicDeploymentLimitExceeded & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDeploymentLimitExceeded & FreestyleError); } declare class DeploymentNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicResizeFailed { message: string; [k: string]: unknown; } declare class ResizeFailedError extends Error { body: PublicResizeFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicResizeFailed & FreestyleError); } declare class InternalResizeVmNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class BranchNameEmptyError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicSnapshotLimitExceeded { limit: number; current: number; [k: string]: unknown; } declare class SnapshotLimitExceededError extends Error { body: PublicSnapshotLimitExceeded & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSnapshotLimitExceeded & FreestyleError); } declare class PersistentVmsNotAllowedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicTotalVmLimitExceeded { limit: number; current: number; [k: string]: unknown; } declare class TotalVmLimitExceededError extends Error { body: PublicTotalVmLimitExceeded & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicTotalVmLimitExceeded & FreestyleError); } interface PublicVmLimitExceeded { limit: number; current: number; [k: string]: unknown; } declare class VmLimitExceededError extends Error { body: PublicVmLimitExceeded & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicVmLimitExceeded & FreestyleError); } interface PublicObservabilityDatabaseError { message: string; [k: string]: unknown; } declare class ObservabilityDatabaseErrorError extends Error { body: PublicObservabilityDatabaseError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicObservabilityDatabaseError & FreestyleError); } interface PublicObservabilityAccessDenied { deploymentId: string; [k: string]: unknown; } declare class ObservabilityAccessDeniedError extends Error { body: PublicObservabilityAccessDenied & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicObservabilityAccessDenied & FreestyleError); } interface PublicParseLogsFailed { message: string; [k: string]: unknown; } declare class ParseLogsFailedError extends Error { body: PublicParseLogsFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicParseLogsFailed & FreestyleError); } interface PublicRetrieveLogsFailed { message: string; [k: string]: unknown; } declare class RetrieveLogsFailedError extends Error { body: PublicRetrieveLogsFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRetrieveLogsFailed & FreestyleError); } interface PublicInvalidQuery { message: string; [k: string]: unknown; } declare class InvalidQueryError extends Error { body: PublicInvalidQuery & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidQuery & FreestyleError); } interface PublicLogsNotFound { deploymentId: string; [k: string]: unknown; } declare class LogsNotFoundError extends Error { body: PublicLogsNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicLogsNotFound & FreestyleError); } interface PublicDomainOwnershipNotVerified { domain: string; [k: string]: unknown; } declare class DomainOwnershipNotVerifiedError extends Error { body: PublicDomainOwnershipNotVerified & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDomainOwnershipNotVerified & FreestyleError); } interface PublicVmAccessDeniedForMapping { vmId: string; [k: string]: unknown; } declare class VmAccessDeniedForMappingError extends Error { body: PublicVmAccessDeniedForMapping & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicVmAccessDeniedForMapping & FreestyleError); } interface PublicDeploymentAccessDenied { deploymentId: string; [k: string]: unknown; } declare class DeploymentAccessDeniedError extends Error { body: PublicDeploymentAccessDenied & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDeploymentAccessDenied & FreestyleError); } interface PublicFailedToProvisionCertificateForMapping { message: string; [k: string]: unknown; } declare class FailedToProvisionCertificateForMappingError extends Error { body: PublicFailedToProvisionCertificateForMapping & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToProvisionCertificateForMapping & FreestyleError); } interface PublicFailedInsertDomainMapping { message: string; [k: string]: unknown; } declare class FailedInsertDomainMappingError extends Error { body: PublicFailedInsertDomainMapping & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedInsertDomainMapping & FreestyleError); } interface PublicDomainAlreadyExists { domain: string; [k: string]: unknown; } declare class DomainAlreadyExistsError extends Error { body: PublicDomainAlreadyExists & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDomainAlreadyExists & FreestyleError); } interface PublicFailedToInsertOwnership { message: string; [k: string]: unknown; } declare class FailedToInsertOwnershipError extends Error { body: PublicFailedToInsertOwnership & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToInsertOwnership & FreestyleError); } interface PublicFailedRemoveDomainMapping { message: string; [k: string]: unknown; } declare class FailedRemoveDomainMappingError extends Error { body: PublicFailedRemoveDomainMapping & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedRemoveDomainMapping & FreestyleError); } interface PublicFailedPermissionsCheck { domain: string; [k: string]: unknown; } declare class FailedPermissionsCheckError extends Error { body: PublicFailedPermissionsCheck & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedPermissionsCheck & FreestyleError); } interface PublicFailedToCheckDomainMappingPermissions { message: string; [k: string]: unknown; } declare class FailedToCheckDomainMappingPermissionsError extends Error { body: PublicFailedToCheckDomainMappingPermissions & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToCheckDomainMappingPermissions & FreestyleError); } declare class DomainOwnershipVerificationFailedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicErrorDeletingRecord { domain: string; name: string; message: string; [k: string]: unknown; } declare class ErrorDeletingRecordError extends Error { body: PublicErrorDeletingRecord & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicErrorDeletingRecord & FreestyleError); } interface PublicRecordOwnershipError { recordId: string; accountId: string; [k: string]: unknown; } declare class RecordOwnershipErrorError extends Error { body: PublicRecordOwnershipError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRecordOwnershipError & FreestyleError); } interface PublicErrorCreatingRecord { message: string; [k: string]: unknown; } declare class ErrorCreatingRecordError extends Error { body: PublicErrorCreatingRecord & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicErrorCreatingRecord & FreestyleError); } interface PublicDomainOwnershipError { domain: string; accountId: string; [k: string]: unknown; } declare class DomainOwnershipErrorError extends Error { body: PublicDomainOwnershipError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDomainOwnershipError & FreestyleError); } interface PublicTriggerError { message: string; [k: string]: unknown; } declare class TriggerErrorError extends Error { body: PublicTriggerError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicTriggerError & FreestyleError); } interface PublicTokenError { message: string; [k: string]: unknown; } declare class TokenErrorError extends Error { body: PublicTokenError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicTokenError & FreestyleError); } interface PublicPermissionError { message: string; [k: string]: unknown; } declare class PermissionErrorError extends Error { body: PublicPermissionError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicPermissionError & FreestyleError); } interface PublicIdentityError { message: string; [k: string]: unknown; } declare class IdentityErrorError extends Error { body: PublicIdentityError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicIdentityError & FreestyleError); } interface PublicGetContentFailed { message: string; [k: string]: unknown; } declare class GetContentFailedError extends Error { body: PublicGetContentFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGetContentFailed & FreestyleError); } interface PublicContentNotFound { path: string; [k: string]: unknown; } declare class ContentNotFoundError extends Error { body: PublicContentNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicContentNotFound & FreestyleError); } interface PublicDownloadFailed { message: string; [k: string]: unknown; } declare class DownloadFailedError extends Error { body: PublicDownloadFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDownloadFailed & FreestyleError); } interface PublicGitServerError { message: string; [k: string]: unknown; } declare class GitServerErrorError extends Error { body: PublicGitServerError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGitServerError & FreestyleError); } interface PublicParseResponseError { message: string; [k: string]: unknown; } declare class ParseResponseErrorError extends Error { body: PublicParseResponseError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicParseResponseError & FreestyleError); } declare class RepositoryAccessDeniedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicGitHubSyncFailed { message: string; [k: string]: unknown; } declare class GitHubSyncFailedError extends Error { body: PublicGitHubSyncFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGitHubSyncFailed & FreestyleError); } interface PublicUpdateDefaultBranchFailed { message: string; [k: string]: unknown; } declare class UpdateDefaultBranchFailedError extends Error { body: PublicUpdateDefaultBranchFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicUpdateDefaultBranchFailed & FreestyleError); } interface PublicGetRepositoryInfoFailed { message: string; [k: string]: unknown; } declare class GetRepositoryInfoFailedError extends Error { body: PublicGetRepositoryInfoFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGetRepositoryInfoFailed & FreestyleError); } interface PublicListRepositoriesFailed { message: string; [k: string]: unknown; } declare class ListRepositoriesFailedError extends Error { body: PublicListRepositoriesFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicListRepositoriesFailed & FreestyleError); } interface PublicDeleteRepositoryFailed { message: string; [k: string]: unknown; } declare class DeleteRepositoryFailedError extends Error { body: PublicDeleteRepositoryFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDeleteRepositoryFailed & FreestyleError); } interface PublicCreateRepositoryFailed { message: string; [k: string]: unknown; } declare class CreateRepositoryFailedError extends Error { body: PublicCreateRepositoryFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCreateRepositoryFailed & FreestyleError); } interface PublicSerializationError { message: string; [k: string]: unknown; } declare class SerializationErrorError extends Error { body: PublicSerializationError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicSerializationError & FreestyleError); } interface PublicGitInvalidRequest { message: string; [k: string]: unknown; } declare class GitInvalidRequestError extends Error { body: PublicGitInvalidRequest & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGitInvalidRequest & FreestyleError); } interface PublicRepositoryNotFound { repoId: string; [k: string]: unknown; } declare class RepositoryNotFoundError extends Error { body: PublicRepositoryNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRepositoryNotFound & FreestyleError); } interface PublicExecuteInternalError { message: string; [k: string]: unknown; } declare class ExecuteInternalErrorError extends Error { body: PublicExecuteInternalError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicExecuteInternalError & FreestyleError); } declare class ExecuteAccessDeniedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicListRunsFailed { message: string; [k: string]: unknown; } declare class ListRunsFailedError extends Error { body: PublicListRunsFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicListRunsFailed & FreestyleError); } interface PublicExecutionError { message: string; [k: string]: unknown; } declare class ExecutionErrorError extends Error { body: PublicExecutionError & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicExecutionError & FreestyleError); } interface PublicConnectionFailed { message: string; [k: string]: unknown; } declare class ConnectionFailedError extends Error { body: PublicConnectionFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicConnectionFailed & FreestyleError); } interface PublicMetadataWriteFailed { message: string; [k: string]: unknown; } declare class MetadataWriteFailedError extends Error { body: PublicMetadataWriteFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicMetadataWriteFailed & FreestyleError); } interface PublicNodeModulesInstallFailed { message: string; [k: string]: unknown; } declare class NodeModulesInstallFailedError extends Error { body: PublicNodeModulesInstallFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicNodeModulesInstallFailed & FreestyleError); } interface PublicNodeModulesDownloadFailed { message: string; [k: string]: unknown; } declare class NodeModulesDownloadFailedError extends Error { body: PublicNodeModulesDownloadFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicNodeModulesDownloadFailed & FreestyleError); } interface PublicLockGenerationFailed { message: string; [k: string]: unknown; } declare class LockGenerationFailedError extends Error { body: PublicLockGenerationFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicLockGenerationFailed & FreestyleError); } interface PublicWriteScriptFailed { message: string; [k: string]: unknown; } declare class WriteScriptFailedError extends Error { body: PublicWriteScriptFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicWriteScriptFailed & FreestyleError); } interface PublicDirectoryCreationFailed { message: string; [k: string]: unknown; } declare class DirectoryCreationFailedError extends Error { body: PublicDirectoryCreationFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDirectoryCreationFailed & FreestyleError); } interface PublicNetworkPermissionsFailed { message: string; [k: string]: unknown; } declare class NetworkPermissionsFailedError extends Error { body: PublicNetworkPermissionsFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicNetworkPermissionsFailed & FreestyleError); } interface PublicLoggingFailed { message: string; [k: string]: unknown; } declare class LoggingFailedError extends Error { body: PublicLoggingFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicLoggingFailed & FreestyleError); } interface PublicRunNotFound { runId: string; [k: string]: unknown; } declare class RunNotFoundError extends Error { body: PublicRunNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRunNotFound & FreestyleError); } interface UnauthorizedErrorPublic { route: string; reason?: string | null; [k: string]: unknown; } declare class UnauthorizedErrorError extends Error { body: UnauthorizedErrorPublic & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: UnauthorizedErrorPublic & FreestyleError); } declare class GitRepoLimitExceededError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class EmptyTagError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class PermissionAlreadyExistsError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicListTokensFailed { message: string; [k: string]: unknown; } declare class ListTokensFailedError extends Error { body: PublicListTokensFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicListTokensFailed & FreestyleError); } interface PublicRevokeTokenFailed { message: string; [k: string]: unknown; } declare class RevokeTokenFailedError extends Error { body: PublicRevokeTokenFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRevokeTokenFailed & FreestyleError); } interface PublicCreateTokenFailed { message: string; [k: string]: unknown; } declare class CreateTokenFailedError extends Error { body: PublicCreateTokenFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCreateTokenFailed & FreestyleError); } interface PublicListPermissionsFailed { message: string; [k: string]: unknown; } declare class ListPermissionsFailedError extends Error { body: PublicListPermissionsFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicListPermissionsFailed & FreestyleError); } interface PublicGetPermissionFailed { message: string; [k: string]: unknown; } declare class GetPermissionFailedError extends Error { body: PublicGetPermissionFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGetPermissionFailed & FreestyleError); } interface PublicUpdatePermissionFailed { message: string; [k: string]: unknown; } declare class UpdatePermissionFailedError extends Error { body: PublicUpdatePermissionFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicUpdatePermissionFailed & FreestyleError); } interface PublicRevokePermissionFailed { message: string; [k: string]: unknown; } declare class RevokePermissionFailedError extends Error { body: PublicRevokePermissionFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicRevokePermissionFailed & FreestyleError); } interface PublicGrantPermissionFailed { message: string; [k: string]: unknown; } declare class GrantPermissionFailedError extends Error { body: PublicGrantPermissionFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicGrantPermissionFailed & FreestyleError); } interface PublicListIdentitiesFailed { message: string; [k: string]: unknown; } declare class ListIdentitiesFailedError extends Error { body: PublicListIdentitiesFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicListIdentitiesFailed & FreestyleError); } interface PublicDeleteIdentityFailed { message: string; [k: string]: unknown; } declare class DeleteIdentityFailedError extends Error { body: PublicDeleteIdentityFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicDeleteIdentityFailed & FreestyleError); } interface PublicCreateIdentityFailed { message: string; [k: string]: unknown; } declare class CreateIdentityFailedError extends Error { body: PublicCreateIdentityFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicCreateIdentityFailed & FreestyleError); } declare class VmPermissionNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class PermissionNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GitRepositoryAccessDeniedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class GitRepositoryNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class CannotDeleteManagedIdentityError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class CannotModifyManagedIdentityError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class IdentityAccessDeniedError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } declare class IdentityNotFoundError extends Error { body: unknown & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: unknown & FreestyleError); } interface PublicLimitExceeded { limit: number; current: number; [k: string]: unknown; } declare class LimitExceededError extends Error { body: PublicLimitExceeded & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicLimitExceeded & FreestyleError); } interface PublicFailedToProvisionCertificate { message: string; [k: string]: unknown; } declare class FailedToProvisionCertificateError extends Error { body: PublicFailedToProvisionCertificate & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToProvisionCertificate & FreestyleError); } interface PublicFailedToInsertDomainMapping { message: string; [k: string]: unknown; } declare class FailedToInsertDomainMappingError extends Error { body: PublicFailedToInsertDomainMapping & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToInsertDomainMapping & FreestyleError); } interface PublicPermissionDenied { message: string; [k: string]: unknown; } declare class PermissionDeniedError extends Error { body: PublicPermissionDenied & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicPermissionDenied & FreestyleError); } interface PublicFailedToCheckPermissions { message: string; [k: string]: unknown; } declare class FailedToCheckPermissionsError extends Error { body: PublicFailedToCheckPermissions & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToCheckPermissions & FreestyleError); } interface PublicFailedToListDomains { message: string; [k: string]: unknown; } declare class FailedToListDomainsError extends Error { body: PublicFailedToListDomains & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToListDomains & FreestyleError); } interface PublicFailedToListVerifications { message: string; [k: string]: unknown; } declare class FailedToListVerificationsError extends Error { body: PublicFailedToListVerifications & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToListVerifications & FreestyleError); } interface PublicFailedToVerifyDomain { message: string; [k: string]: unknown; } declare class FailedToVerifyDomainError extends Error { body: PublicFailedToVerifyDomain & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToVerifyDomain & FreestyleError); } interface PublicVerificationFailed { message: string; [k: string]: unknown; } declare class VerificationFailedError extends Error { body: PublicVerificationFailed & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicVerificationFailed & FreestyleError); } interface PublicFailedToDeleteVerification { message: string; [k: string]: unknown; } declare class FailedToDeleteVerificationError extends Error { body: PublicFailedToDeleteVerification & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToDeleteVerification & FreestyleError); } interface PublicVerificationNotFound { domain: string; [k: string]: unknown; } declare class VerificationNotFoundError extends Error { body: PublicVerificationNotFound & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicVerificationNotFound & FreestyleError); } interface PublicFailedToCreateVerificationCode { message: string; [k: string]: unknown; } declare class FailedToCreateVerificationCodeError extends Error { body: PublicFailedToCreateVerificationCode & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicFailedToCreateVerificationCode & FreestyleError); } interface PublicInvalidDomain { domain: string; [k: string]: unknown; } declare class InvalidDomainError extends Error { body: PublicInvalidDomain & FreestyleError; static readonly code: string; static readonly statusCode: number; static readonly description: string; constructor(body: PublicInvalidDomain & FreestyleError); } declare const FREESTYLE_ERROR_CODE_MAP: { BAD_PARSE: typeof BadParseError; BAD_TIMESTAMP: typeof BadTimestampError; BAD_SIGNATURE: typeof BadSignatureError; BAD_HEADER: typeof BadHeaderError; BAD_KEY: typeof BadKeyError; GIT_ERROR: typeof GitErrorError; SUSPEND_FAILED_AND_STOP_FAILED: typeof SuspendFailedAndStopFailedError; SUSPEND_FAILED_AND_STOPPED: typeof SuspendFailedAndStoppedError; INVALID_GIT_REPO_SPEC_ERROR: typeof InvalidGitRepoSpecErrorError; INTERNAL_ERROR: typeof InternalErrorError; FORK_VM_NOT_FOUND: typeof ForkVmNotFoundError; CREATE_SNAPSHOT_BAD_REQUEST: typeof CreateSnapshotBadRequestError; SNAPSHOT_NOT_FOUND: typeof SnapshotNotFoundError; RESUMED_VM_NON_RESPONSIVE: typeof ResumedVmNonResponsiveError; SNAPSHOT_LOAD_TIMEOUT: typeof SnapshotLoadTimeoutError; UFFD_TIMEOUT_ERROR: typeof UffdTimeoutErrorError; KERNEL_PANIC: typeof KernelPanicError; VM_DELETED: typeof VmDeletedError; REQWEST: typeof ReqwestError; FIRECRACKER_PID_NOT_FOUND: typeof FirecrackerPidNotFoundError; FIRECRACKER_API_SOCKET_NOT_FOUND: typeof FirecrackerApiSocketNotFoundError; INVALID_SNAPSHOT_ID: typeof InvalidSnapshotIdError; VM_START_TIMEOUT: typeof VmStartTimeoutError; VM_IS_SUSPENDING: typeof VmIsSuspendingError; VM_EXIT_DURING_START: typeof VmExitDuringStartError; VM_ACCESS_DENIED: typeof VmAccessDeniedError; FAILED_TO_SPAWN_UFFD: typeof FailedToSpawnUffdError; VM_SPAWN_PROCESS: typeof VmSpawnProcessError; VM_SUBNET_NOT_FOUND: typeof VmSubnetNotFoundError; SNAPSHOT_SETUP_FAILED: typeof SnapshotSetupFailedError; SNAPSHOT_VM_BAD_REQUEST: typeof SnapshotVmBadRequestError; SNAPSHOT_IS_ACCOUNT_DEFAULT: typeof SnapshotIsAccountDefaultError; SNAPSHOT_ALREADY_DELETED: typeof SnapshotAlreadyDeletedError; VM_NOT_FOUND_IN_FS: typeof VmNotFoundInFsError; VM_NOT_RUNNING: typeof VmNotRunningError; VM_NOT_FOUND: typeof VmNotFoundError; INTERNAL_FORK_VM_NOT_FOUND: typeof InternalForkVmNotFoundError; BAD_REQUEST: typeof BadRequestError; INTERNAL_VM_NOT_FOUND: typeof InternalVmNotFoundError; NO_DEFAULT_SNAPSHOT_AVAILABLE: typeof NoDefaultSnapshotAvailableError; DOCKER_SNAPSHOT_FAILED: typeof DockerSnapshotFailedError; SET_DEFAULT_SNAPSHOT_FAILED: typeof SetDefaultSnapshotFailedError; SNAPSHOT_LAYER_CREATION_FAILED: typeof SnapshotLayerCreationFailedError; SNAPSHOT_DIR_NOT_FOUND: typeof SnapshotDirNotFoundError; SUBVOLUME_CREATION_FAILED: typeof SubvolumeCreationFailedError; GET_DEFAULT_SNAPSHOT_FAILED: typeof GetDefaultSnapshotFailedError; USER_NOT_FOUND: typeof UserNotFoundError; USER_ALREADY_EXISTS: typeof UserAlreadyExistsError; VALIDATION_ERROR: typeof ValidationErrorError; GROUP_NOT_FOUND: typeof GroupNotFoundError; GROUP_ALREADY_EXISTS: typeof GroupAlreadyExistsError; DUPLICATE_USER_NAME: typeof DuplicateUserNameError; USER_GROUP_EMPTY: typeof UserGroupEmptyError; USER_SYSTEM_FLAG_MISMATCH: typeof UserSystemFlagMismatchError; USER_UID_OUT_OF_RANGE: typeof UserUidOutOfRangeError; USER_HOME_INVALID: typeof UserHomeInvalidError; USER_SHELL_INVALID: typeof UserShellInvalidError; DUPLICATE_GROUP_NAME: typeof DuplicateGroupNameError; GROUP_NAME_RESERVED: typeof GroupNameReservedError; GROUP_NAME_INVALID_CHARS: typeof GroupNameInvalidCharsError; GROUP_NAME_TOO_LONG: typeof GroupNameTooLongError; GROUP_NAME_EMPTY: typeof GroupNameEmptyError; ACTIVE_TRANSACTION_ERROR: typeof ActiveTransactionErrorError; SWAP_VM_TAP: typeof SwapVmTapError; ROOTFS_COPY_ERROR: typeof RootfsCopyErrorError; PARTITION_NOT_FOUND: typeof PartitionNotFoundError; FILE_NOT_FOUND: typeof FileNotFoundError; FILES_BAD_REQUEST: typeof FilesBadRequestError; DATABASE_ERROR: typeof DatabaseErrorError; INVALID_VM_ID: typeof InvalidVmIdError; VM_OPERATION_DENIED_DURING_TRANSACTION: typeof VmOperationDeniedDuringTransactionError; VM_TRANSACTION_ID_MISMATCH: typeof VmTransactionIdMismatchError; VM_NOT_IN_TRANSACTION: typeof VmNotInTransactionError; CREATE_VM_BAD_REQUEST: typeof CreateVmBadRequestError; VM_SETUP_FAILED: typeof VmSetupFailedError; WANTED_BY_EMPTY: typeof WantedByEmptyError; WORKDIR_EMPTY: typeof WorkdirEmptyError; GROUP_EMPTY: typeof GroupEmptyError; USER_EMPTY: typeof UserEmptyError; ON_FAILURE_ARRAY_CONTAINS_EMPTY: typeof OnFailureArrayContainsEmptyError; REQUIRES_ARRAY_CONTAINS_EMPTY: typeof RequiresArrayContainsEmptyError; AFTER_ARRAY_CONTAINS_EMPTY: typeof AfterArrayContainsEmptyError; ENV_KEY_CONTAINS_EQUALS: typeof EnvKeyContainsEqualsError; ENV_KEY_EMPTY: typeof EnvKeyEmptyError; EXEC_EMPTY: typeof ExecEmptyError; SERVICE_NAME_TOO_LONG: typeof ServiceNameTooLongError; SERVICE_NAME_INVALID_PREFIX: typeof ServiceNameInvalidPrefixError; SERVICE_NAME_INVALID_CHARS: typeof ServiceNameInvalidCharsError; SERVICE_NAME_EMPTY: typeof ServiceNameEmptyError; SERVICE_ALREADY_EXISTS: typeof ServiceAlreadyExistsError; SERVICE_NOT_FOUND: typeof ServiceNotFoundError; INVALID_REQUEST: typeof InvalidRequestError; REPO_NOT_FOUND: typeof RepoNotFoundError; RUNTIME_ERROR: typeof RuntimeErrorError; SYNTAX_ERROR: typeof SyntaxErrorError; INTERNAL: typeof InternalError; SIGNING: typeof SigningError; INVALID_SIGNATURE: typeof InvalidSignatureError; INVALID_PARAMETERS: typeof InvalidParametersError; MAX_USES_EXCEEDED: typeof MaxUsesExceededError; EXPIRED: typeof ExpiredError; BRANCH_NOT_FOUND: typeof BranchNotFoundError; BRANCH_ALREADY_EXISTS: typeof BranchAlreadyExistsError; NO_DEFAULT_BRANCH: typeof NoDefaultBranchError; COMMIT_NOT_FOUND: typeof CommitNotFoundError; PARENT_NOT_FOUND: typeof ParentNotFoundError; TREE_NOT_FOUND: typeof TreeNotFoundError; PACKFILE: typeof PackfileError; INVALID_REVISION: typeof InvalidRevisionError; FORBIDDEN: typeof ForbiddenError; UNAUTHORIZED: typeof UnauthorizedError; PATH_NOT_FOUND: typeof PathNotFoundError; REFERENCE_NOT_FOUND: typeof ReferenceNotFoundError; AMBIGUOUS: typeof AmbiguousError; NOT_FOUND: typeof NotFoundError; INVALID: typeof InvalidError; DIFF_INVALID_PATH_PATTERN: typeof DiffInvalidPathPatternError; DIFF_INVALID_REGEX: typeof DiffInvalidRegexError; DIFF_EMPTY_QUERY: typeof DiffEmptyQueryError; COMMIT_INVALID_REGEX: typeof CommitInvalidRegexError; COMMIT_EMPTY_QUERY: typeof CommitEmptyQueryError; FILENAME_INVALID_PATTERN: typeof FilenameInvalidPatternError; FILENAME_EMPTY_QUERY: typeof FilenameEmptyQueryError; INVALID_REGEX: typeof InvalidRegexError; INVALID_PATH_PATTERN: typeof InvalidPathPatternError; EMPTY_QUERY: typeof EmptyQueryError; CONFLICT: typeof ConflictError; INVALID_BASE64_CONTENT: typeof InvalidBase64ContentError; INVALID_FILE_CHANGE: typeof InvalidFileChangeError; INVALID_FILE_PATH: typeof InvalidFilePathError; CONFLICTING_PARENT: typeof ConflictingParentError; INVALID_ACCOUNT_ID: typeof InvalidAccountIdError; SOURCE_IMPORT_CONFLICT: typeof SourceImportConflictError; SOURCE_UNAUTHORIZED: typeof SourceUnauthorizedError; SOURCE_NOT_FOUND: typeof SourceNotFoundError; IMPORT_SUBDIR_NOT_FOUND: typeof ImportSubdirNotFoundError; REPO_ALREADY_EXISTS: typeof RepoAlreadyExistsError; SEND_ERROR: typeof SendErrorError; INVALID_RANGE: typeof InvalidRangeError; OFFSET_WITH_SELECTOR: typeof OffsetWithSelectorError; COMMIT_NOT_IN_BRANCH: typeof CommitNotInBranchError; TAG_NOT_FOUND: typeof TagNotFoundError; INVALID_SERVICE: typeof InvalidServiceError; EXPECTED_SERVICE: typeof ExpectedServiceError; GIT_HUB_SYNC_CONFLICT: typeof GitHubSyncConflictError; INVALID_OBJECT_ID: typeof InvalidObjectIdError; UNSUPPORTED_TRANSFER: typeof UnsupportedTransferError; BLOB_NOT_FOUND: typeof BlobNotFoundError; UNAVAILABLE: typeof UnavailableError; SCHEDULE_NOT_FOUND: typeof ScheduleNotFoundError; SERVICE_UNAVAILABLE: typeof ServiceUnavailableError; EXECUTE_LIMIT_EXCEEDED: typeof ExecuteLimitExceededError; ACCESS_DENIED: typeof AccessDeniedError; CLOUDSTATE_INTERNAL_ERROR: typeof CloudstateInternalErrorError; CLOUDSTATE_DATABASE_ERROR: typeof CloudstateDatabaseErrorError; CLOUDSTATE_ACCESS_DENIED: typeof CloudstateAccessDeniedError; RESTORE_FAILED: typeof RestoreFailedError; CREATE_BACKUP_FAILED: typeof CreateBackupFailedError; BACKUP_FAILED: typeof BackupFailedError; DEPLOYMENT_FAILED: typeof DeploymentFailedError; INVALID_DEPLOYMENT_REQUEST: typeof InvalidDeploymentRequestError; PROJECT_NOT_FOUND: typeof ProjectNotFoundError; BUILD_FAILED: typeof BuildFailedError; SERVER_DEPLOYMENT_FAILED: typeof ServerDeploymentFailedError; LOCKFILE_ERROR: typeof LockfileErrorError; UPLOAD_ERROR: typeof UploadErrorError; DOMAIN_MAPPING_ERROR: typeof DomainMappingErrorError; CERTIFICATE_PROVISIONING_ERROR: typeof CertificateProvisioningErrorError; NO_ENTRYPOINT_FOUND: typeof NoEntrypointFoundError; ENTRYPOINT_NOT_FOUND: typeof EntrypointNotFoundError; NO_DOMAIN_OWNERSHIP: typeof NoDomainOwnershipError; INVALID_DOMAINS: typeof InvalidDomainsError; WEB_DEPLOYMENT_BAD_REQUEST: typeof WebDeploymentBadRequestError; TIMEOUT_LIMIT_EXCEEDED: typeof TimeoutLimitExceededError; DEPLOYMENT_LIMIT_EXCEEDED: typeof DeploymentLimitExceededError; DEPLOYMENT_NOT_FOUND: typeof DeploymentNotFoundError; RESIZE_FAILED: typeof ResizeFailedError; INTERNAL_RESIZE_VM_NOT_FOUND: typeof InternalResizeVmNotFoundError; BRANCH_NAME_EMPTY: typeof BranchNameEmptyError; SNAPSHOT_LIMIT_EXCEEDED: typeof SnapshotLimitExceededError; PERSISTENT_VMS_NOT_ALLOWED: typeof PersistentVmsNotAllowedError; TOTAL_VM_LIMIT_EXCEEDED: typeof TotalVmLimitExceededError; VM_LIMIT_EXCEEDED: typeof VmLimitExceededError; OBSERVABILITY_DATABASE_ERROR: typeof ObservabilityDatabaseErrorError; OBSERVABILITY_ACCESS_DENIED: typeof ObservabilityAccessDeniedError; PARSE_LOGS_FAILED: typeof ParseLogsFailedError; RETRIEVE_LOGS_FAILED: typeof RetrieveLogsFailedError; INVALID_QUERY: typeof InvalidQueryError; LOGS_NOT_FOUND: typeof LogsNotFoundError; DOMAIN_OWNERSHIP_NOT_VERIFIED: typeof DomainOwnershipNotVerifiedError; VM_ACCESS_DENIED_FOR_MAPPING: typeof VmAccessDeniedForMappingError; DEPLOYMENT_ACCESS_DENIED: typeof DeploymentAccessDeniedError; FAILED_TO_PROVISION_CERTIFICATE_FOR_MAPPING: typeof FailedToProvisionCertificateForMappingError; FAILED_INSERT_DOMAIN_MAPPING: typeof FailedInsertDomainMappingError; DOMAIN_ALREADY_EXISTS: typeof DomainAlreadyExistsError; FAILED_TO_INSERT_OWNERSHIP: typeof FailedToInsertOwnershipError; FAILED_REMOVE_DOMAIN_MAPPING: typeof FailedRemoveDomainMappingError; FAILED_PERMISSIONS_CHECK: typeof FailedPermissionsCheckError; FAILED_TO_CHECK_DOMAIN_MAPPING_PERMISSIONS: typeof FailedToCheckDomainMappingPermissionsError; DOMAIN_OWNERSHIP_VERIFICATION_FAILED: typeof DomainOwnershipVerificationFailedError; ERROR_DELETING_RECORD: typeof ErrorDeletingRecordError; RECORD_OWNERSHIP_ERROR: typeof RecordOwnershipErrorError; ERROR_CREATING_RECORD: typeof ErrorCreatingRecordError; DOMAIN_OWNERSHIP_ERROR: typeof DomainOwnershipErrorError; TRIGGER_ERROR: typeof TriggerErrorError; TOKEN_ERROR: typeof TokenErrorError; PERMISSION_ERROR: typeof PermissionErrorError; IDENTITY_ERROR: typeof IdentityErrorError; GET_CONTENT_FAILED: typeof GetContentFailedError; CONTENT_NOT_FOUND: typeof ContentNotFoundError; DOWNLOAD_FAILED: typeof DownloadFailedError; GIT_SERVER_ERROR: typeof GitServerErrorError; PARSE_RESPONSE_ERROR: typeof ParseResponseErrorError; REPOSITORY_ACCESS_DENIED: typeof RepositoryAccessDeniedError; GIT_HUB_SYNC_FAILED: typeof GitHubSyncFailedError; UPDATE_DEFAULT_BRANCH_FAILED: typeof UpdateDefaultBranchFailedError; GET_REPOSITORY_INFO_FAILED: typeof GetRepositoryInfoFailedError; LIST_REPOSITORIES_FAILED: typeof ListRepositoriesFailedError; DELETE_REPOSITORY_FAILED: typeof DeleteRepositoryFailedError; CREATE_REPOSITORY_FAILED: typeof CreateRepositoryFailedError; SERIALIZATION_ERROR: typeof SerializationErrorError; GIT_INVALID_REQUEST: typeof GitInvalidRequestError; REPOSITORY_NOT_FOUND: typeof RepositoryNotFoundError; EXECUTE_INTERNAL_ERROR: typeof ExecuteInternalErrorError; EXECUTE_ACCESS_DENIED: typeof ExecuteAccessDeniedError; LIST_RUNS_FAILED: typeof ListRunsFailedError; EXECUTION_ERROR: typeof ExecutionErrorError; CONNECTION_FAILED: typeof ConnectionFailedError; METADATA_WRITE_FAILED: typeof MetadataWriteFailedError; NODE_MODULES_INSTALL_FAILED: typeof NodeModulesInstallFailedError; NODE_MODULES_DOWNLOAD_FAILED: typeof NodeModulesDownloadFailedError; LOCK_GENERATION_FAILED: typeof LockGenerationFailedError; WRITE_SCRIPT_FAILED: typeof WriteScriptFailedError; DIRECTORY_CREATION_FAILED: typeof DirectoryCreationFailedError; NETWORK_PERMISSIONS_FAILED: typeof NetworkPermissionsFailedError; LOGGING_FAILED: typeof LoggingFailedError; RUN_NOT_FOUND: typeof RunNotFoundError; UNAUTHORIZED_ERROR: typeof UnauthorizedErrorError; GIT_REPO_LIMIT_EXCEEDED: typeof GitRepoLimitExceededError; EMPTY_TAG: typeof EmptyTagError; PERMISSION_ALREADY_EXISTS: typeof PermissionAlreadyExistsError; LIST_TOKENS_FAILED: typeof ListTokensFailedError; REVOKE_TOKEN_FAILED: typeof RevokeTokenFailedError; CREATE_TOKEN_FAILED: typeof CreateTokenFailedError; LIST_PERMISSIONS_FAILED: typeof ListPermissionsFailedError; GET_PERMISSION_FAILED: typeof GetPermissionFailedError; UPDATE_PERMISSION_FAILED: typeof UpdatePermissionFailedError; REVOKE_PERMISSION_FAILED: typeof RevokePermissionFailedError; GRANT_PERMISSION_FAILED: typeof GrantPermissionFailedError; LIST_IDENTITIES_FAILED: typeof ListIdentitiesFailedError; DELETE_IDENTITY_FAILED: typeof DeleteIdentityFailedError; CREATE_IDENTITY_FAILED: typeof CreateIdentityFailedError; VM_PERMISSION_NOT_FOUND: typeof VmPermissionNotFoundError; PERMISSION_NOT_FOUND: typeof PermissionNotFoundError; GIT_REPOSITORY_ACCESS_DENIED: typeof GitRepositoryAccessDeniedError; GIT_REPOSITORY_NOT_FOUND: typeof GitRepositoryNotFoundError; CANNOT_DELETE_MANAGED_IDENTITY: typeof CannotDeleteManagedIdentityError; CANNOT_MODIFY_MANAGED_IDENTITY: typeof CannotModifyManagedIdentityError; IDENTITY_ACCESS_DENIED: typeof IdentityAccessDeniedError; IDENTITY_NOT_FOUND: typeof IdentityNotFoundError; LIMIT_EXCEEDED: typeof LimitExceededError; FAILED_TO_PROVISION_CERTIFICATE: typeof FailedToProvisionCertificateError; FAILED_TO_INSERT_DOMAIN_MAPPING: typeof FailedToInsertDomainMappingError; PERMISSION_DENIED: typeof PermissionDeniedError; FAILED_TO_CHECK_PERMISSIONS: typeof FailedToCheckPermissionsError; FAILED_TO_LIST_DOMAINS: typeof FailedToListDomainsError; FAILED_TO_LIST_VERIFICATIONS: typeof FailedToListVerificationsError; FAILED_TO_VERIFY_DOMAIN: typeof FailedToVerifyDomainError; VERIFICATION_FAILED: typeof VerificationFailedError; FAILED_TO_DELETE_VERIFICATION: typeof FailedToDeleteVerificationError; VERIFICATION_NOT_FOUND: typeof VerificationNotFoundError; FAILED_TO_CREATE_VERIFICATION_CODE: typeof FailedToCreateVerificationCodeError; INVALID_DOMAIN: typeof InvalidDomainError; }; type errors_AccessDeniedError = AccessDeniedError; declare const errors_AccessDeniedError: typeof AccessDeniedError; type errors_ActiveTransactionErrorError = ActiveTransactionErrorError; declare const errors_ActiveTransactionErrorError: typeof ActiveTransactionErrorError; type errors_AfterArrayContainsEmptyError = AfterArrayContainsEmptyError; declare const errors_AfterArrayContainsEmptyError: typeof AfterArrayContainsEmptyError; type errors_AmbiguousError = AmbiguousError; declare const errors_AmbiguousError: typeof AmbiguousError; type errors_BackupFailedError = BackupFailedError; declare const errors_BackupFailedError: typeof BackupFailedError; type errors_BadHeaderError = BadHeaderError; declare const errors_BadHeaderError: typeof BadHeaderError; type errors_BadKeyError = BadKeyError; declare const errors_BadKeyError: typeof BadKeyError; type errors_BadParseError = BadParseError; declare const errors_BadParseError: typeof BadParseError; type errors_BadRequestError = BadRequestError; declare const errors_BadRequestError: typeof BadRequestError; type errors_BadSignatureError = BadSignatureError; declare const errors_BadSignatureError: typeof BadSignatureError; type errors_BadTimestampError = BadTimestampError; declare const errors_BadTimestampError: typeof BadTimestampError; type errors_BlobNotFoundError = BlobNotFoundError; declare const errors_BlobNotFoundError: typeof BlobNotFoundError; type errors_BranchAlreadyExistsError = BranchAlreadyExistsError; declare const errors_BranchAlreadyExistsError: typeof BranchAlreadyExistsError; type errors_BranchNameEmptyError = BranchNameEmptyError; declare const errors_BranchNameEmptyError: typeof BranchNameEmptyError; type errors_BranchNotFoundError = BranchNotFoundError; declare const errors_BranchNotFoundError: typeof BranchNotFoundError; type errors_BuildFailedError = BuildFailedError; declare const errors_BuildFailedError: typeof BuildFailedError; type errors_CannotDeleteManagedIdentityError = CannotDeleteManagedIdentityError; declare const errors_CannotDeleteManagedIdentityError: typeof CannotDeleteManagedIdentityError; type errors_CannotModifyManagedIdentityError = CannotModifyManagedIdentityError; declare const errors_CannotModifyManagedIdentityError: typeof CannotModifyManagedIdentityError; type errors_CertificateProvisioningErrorError = CertificateProvisioningErrorError; declare const errors_CertificateProvisioningErrorError: typeof CertificateProvisioningErrorError; type errors_CloudstateAccessDeniedError = CloudstateAccessDeniedError; declare const errors_CloudstateAccessDeniedError: typeof CloudstateAccessDeniedError; type errors_CloudstateDatabaseErrorError = CloudstateDatabaseErrorError; declare const errors_CloudstateDatabaseErrorError: typeof CloudstateDatabaseErrorError; type errors_CloudstateInternalErrorError = CloudstateInternalErrorError; declare const errors_CloudstateInternalErrorError: typeof CloudstateInternalErrorError; type errors_CommitEmptyQueryError = CommitEmptyQueryError; declare const errors_CommitEmptyQueryError: typeof CommitEmptyQueryError; type errors_CommitInvalidRegexError = CommitInvalidRegexError; declare const errors_CommitInvalidRegexError: typeof CommitInvalidRegexError; type errors_CommitNotFoundError = CommitNotFoundError; declare const errors_CommitNotFoundError: typeof CommitNotFoundError; type errors_CommitNotInBranchError = CommitNotInBranchError; declare const errors_CommitNotInBranchError: typeof CommitNotInBranchError; type errors_ConflictError = ConflictError; declare const errors_ConflictError: typeof ConflictError; type errors_ConflictingParentError = ConflictingParentError; declare const errors_ConflictingParentError: typeof ConflictingParentError; type errors_ConnectionFailedError = ConnectionFailedError; declare const errors_ConnectionFailedError: typeof ConnectionFailedError; type errors_ContentNotFoundError = ContentNotFoundError; declare const errors_ContentNotFoundError: typeof ContentNotFoundError; type errors_CreateBackupFailedError = CreateBackupFailedError; declare const errors_CreateBackupFailedError: typeof CreateBackupFailedError; type errors_CreateIdentityFailedError = CreateIdentityFailedError; declare const errors_CreateIdentityFailedError: typeof CreateIdentityFailedError; type errors_CreateRepositoryFailedError = CreateRepositoryFailedError; declare const errors_CreateRepositoryFailedError: typeof CreateRepositoryFailedError; type errors_CreateSnapshotBadRequestError = CreateSnapshotBadRequestError; declare const errors_CreateSnapshotBadRequestError: typeof CreateSnapshotBadRequestError; type errors_CreateTokenFailedError = CreateTokenFailedError; declare const errors_CreateTokenFailedError: typeof CreateTokenFailedError; type errors_CreateVmBadRequestError = CreateVmBadRequestError; declare const errors_CreateVmBadRequestError: typeof CreateVmBadRequestError; type errors_DatabaseErrorError = DatabaseErrorError; declare const errors_DatabaseErrorError: typeof DatabaseErrorError; type errors_DeleteIdentityFailedError = DeleteIdentityFailedError; declare const errors_DeleteIdentityFailedError: typeof DeleteIdentityFailedError; type errors_DeleteRepositoryFailedError = DeleteRepositoryFailedError; declare const errors_DeleteRepositoryFailedError: typeof DeleteRepositoryFailedError; type errors_DeploymentAccessDeniedError = DeploymentAccessDeniedError; declare const errors_DeploymentAccessDeniedError: typeof DeploymentAccessDeniedError; type errors_DeploymentFailedError = DeploymentFailedError; declare const errors_DeploymentFailedError: typeof DeploymentFailedError; type errors_DeploymentLimitExceededError = DeploymentLimitExceededError; declare const errors_DeploymentLimitExceededError: typeof DeploymentLimitExceededError; type errors_DeploymentNotFoundError = DeploymentNotFoundError; declare const errors_DeploymentNotFoundError: typeof DeploymentNotFoundError; type errors_DiffEmptyQueryError = DiffEmptyQueryError; declare const errors_DiffEmptyQueryError: typeof DiffEmptyQueryError; type errors_DiffInvalidPathPatternError = DiffInvalidPathPatternError; declare const errors_DiffInvalidPathPatternError: typeof DiffInvalidPathPatternError; type errors_DiffInvalidRegexError = DiffInvalidRegexError; declare const errors_DiffInvalidRegexError: typeof DiffInvalidRegexError; type errors_DirectoryCreationFailedError = DirectoryCreationFailedError; declare const errors_DirectoryCreationFailedError: typeof DirectoryCreationFailedError; type errors_DockerSnapshotFailedError = DockerSnapshotFailedError; declare const errors_DockerSnapshotFailedError: typeof DockerSnapshotFailedError; type errors_DomainAlreadyExistsError = DomainAlreadyExistsError; declare const errors_DomainAlreadyExistsError: typeof DomainAlreadyExistsError; type errors_DomainMappingErrorError = DomainMappingErrorError; declare const errors_DomainMappingErrorError: typeof DomainMappingErrorError; type errors_DomainOwnershipErrorError = DomainOwnershipErrorError; declare const errors_DomainOwnershipErrorError: typeof DomainOwnershipErrorError; type errors_DomainOwnershipNotVerifiedError = DomainOwnershipNotVerifiedError; declare const errors_DomainOwnershipNotVerifiedError: typeof DomainOwnershipNotVerifiedError; type errors_DomainOwnershipVerificationFailedError = DomainOwnershipVerificationFailedError; declare const errors_DomainOwnershipVerificationFailedError: typeof DomainOwnershipVerificationFailedError; type errors_DownloadFailedError = DownloadFailedError; declare const errors_DownloadFailedError: typeof DownloadFailedError; type errors_DuplicateGroupNameError = DuplicateGroupNameError; declare const errors_DuplicateGroupNameError: typeof DuplicateGroupNameError; type errors_DuplicateUserNameError = DuplicateUserNameError; declare const errors_DuplicateUserNameError: typeof DuplicateUserNameError; type errors_EmptyQueryError = EmptyQueryError; declare const errors_EmptyQueryError: typeof EmptyQueryError; type errors_EmptyTagError = EmptyTagError; declare const errors_EmptyTagError: typeof EmptyTagError; type errors_EntrypointNotFoundError = EntrypointNotFoundError; declare const errors_EntrypointNotFoundError: typeof EntrypointNotFoundError; type errors_EnvKeyContainsEqualsError = EnvKeyContainsEqualsError; declare const errors_EnvKeyContainsEqualsError: typeof EnvKeyContainsEqualsError; type errors_EnvKeyEmptyError = EnvKeyEmptyError; declare const errors_EnvKeyEmptyError: typeof EnvKeyEmptyError; type errors_ErrorCreatingRecordError = ErrorCreatingRecordError; declare const errors_ErrorCreatingRecordError: typeof ErrorCreatingRecordError; type errors_ErrorDeletingRecordError = ErrorDeletingRecordError; declare const errors_ErrorDeletingRecordError: typeof ErrorDeletingRecordError; type errors_ExecEmptyError = ExecEmptyError; declare const errors_ExecEmptyError: typeof ExecEmptyError; type errors_ExecuteAccessDeniedError = ExecuteAccessDeniedError; declare const errors_ExecuteAccessDeniedError: typeof ExecuteAccessDeniedError; type errors_ExecuteInternalErrorError = ExecuteInternalErrorError; declare const errors_ExecuteInternalErrorError: typeof ExecuteInternalErrorError; type errors_ExecuteLimitExceededError = ExecuteLimitExceededError; declare const errors_ExecuteLimitExceededError: typeof ExecuteLimitExceededError; type errors_ExecutionErrorError = ExecutionErrorError; declare const errors_ExecutionErrorError: typeof ExecutionErrorError; type errors_ExpectedServiceError = ExpectedServiceError; declare const errors_ExpectedServiceError: typeof ExpectedServiceError; type errors_ExpiredError = ExpiredError; declare const errors_ExpiredError: typeof ExpiredError; declare const errors_FREESTYLE_ERROR_CODE_MAP: typeof FREESTYLE_ERROR_CODE_MAP; type errors_FailedInsertDomainMappingError = FailedInsertDomainMappingError; declare const errors_FailedInsertDomainMappingError: typeof FailedInsertDomainMappingError; type errors_FailedPermissionsCheckError = FailedPermissionsCheckError; declare const errors_FailedPermissionsCheckError: typeof FailedPermissionsCheckError; type errors_FailedRemoveDomainMappingError = FailedRemoveDomainMappingError; declare const errors_FailedRemoveDomainMappingError: typeof FailedRemoveDomainMappingError; type errors_FailedToCheckDomainMappingPermissionsError = FailedToCheckDomainMappingPermissionsError; declare const errors_FailedToCheckDomainMappingPermissionsError: typeof FailedToCheckDomainMappingPermissionsError; type errors_FailedToCheckPermissionsError = FailedToCheckPermissionsError; declare const errors_FailedToCheckPermissionsError: typeof FailedToCheckPermissionsError; type errors_FailedToCreateVerificationCodeError = FailedToCreateVerificationCodeError; declare const errors_FailedToCreateVerificationCodeError: typeof FailedToCreateVerificationCodeError; type errors_FailedToDeleteVerificationError = FailedToDeleteVerificationError; declare const errors_FailedToDeleteVerificationError: typeof FailedToDeleteVerificationError; type errors_FailedToInsertDomainMappingError = FailedToInsertDomainMappingError; declare const errors_FailedToInsertDomainMappingError: typeof FailedToInsertDomainMappingError; type errors_FailedToInsertOwnershipError = FailedToInsertOwnershipError; declare const errors_FailedToInsertOwnershipError: typeof FailedToInsertOwnershipError; type errors_FailedToListDomainsError = FailedToListDomainsError; declare const errors_FailedToListDomainsError: typeof FailedToListDomainsError; type errors_FailedToListVerificationsError = FailedToListVerificationsError; declare const errors_FailedToListVerificationsError: typeof FailedToListVerificationsError; type errors_FailedToProvisionCertificateError = FailedToProvisionCertificateError; declare const errors_FailedToProvisionCertificateError: typeof FailedToProvisionCertificateError; type errors_FailedToProvisionCertificateForMappingError = FailedToProvisionCertificateForMappingError; declare const errors_FailedToProvisionCertificateForMappingError: typeof FailedToProvisionCertificateForMappingError; type errors_FailedToSpawnUffdError = FailedToSpawnUffdError; declare const errors_FailedToSpawnUffdError: typeof FailedToSpawnUffdError; type errors_FailedToVerifyDomainError = FailedToVerifyDomainError; declare const errors_FailedToVerifyDomainError: typeof FailedToVerifyDomainError; type errors_FileNotFoundError = FileNotFoundError; declare const errors_FileNotFoundError: typeof FileNotFoundError; type errors_FilenameEmptyQueryError = FilenameEmptyQueryError; declare const errors_FilenameEmptyQueryError: typeof FilenameEmptyQueryError; type errors_FilenameInvalidPatternError = FilenameInvalidPatternError; declare const errors_FilenameInvalidPatternError: typeof FilenameInvalidPatternError; type errors_FilesBadRequestError = FilesBadRequestError; declare const errors_FilesBadRequestError: typeof FilesBadRequestError; type errors_FirecrackerApiSocketNotFoundError = FirecrackerApiSocketNotFoundError; declare const errors_FirecrackerApiSocketNotFoundError: typeof FirecrackerApiSocketNotFoundError; type errors_FirecrackerPidNotFoundError = FirecrackerPidNotFoundError; declare const errors_FirecrackerPidNotFoundError: typeof FirecrackerPidNotFoundError; type errors_ForbiddenError = ForbiddenError; declare const errors_ForbiddenError: typeof ForbiddenError; type errors_ForkVmNotFoundError = ForkVmNotFoundError; declare const errors_ForkVmNotFoundError: typeof ForkVmNotFoundError; type errors_FreestyleError = FreestyleError; type errors_GetContentFailedError = GetContentFailedError; declare const errors_GetContentFailedError: typeof GetContentFailedError; type errors_GetDefaultSnapshotFailedError = GetDefaultSnapshotFailedError; declare const errors_GetDefaultSnapshotFailedError: typeof GetDefaultSnapshotFailedError; type errors_GetPermissionFailedError = GetPermissionFailedError; declare const errors_GetPermissionFailedError: typeof GetPermissionFailedError; type errors_GetRepositoryInfoFailedError = GetRepositoryInfoFailedError; declare const errors_GetRepositoryInfoFailedError: typeof GetRepositoryInfoFailedError; type errors_GitErrorError = GitErrorError; declare const errors_GitErrorError: typeof GitErrorError; type errors_GitHubSyncConflictError = GitHubSyncConflictError; declare const errors_GitHubSyncConflictError: typeof GitHubSyncConflictError; type errors_GitHubSyncFailedError = GitHubSyncFailedError; declare const errors_GitHubSyncFailedError: typeof GitHubSyncFailedError; type errors_GitInvalidRequestError = GitInvalidRequestError; declare const errors_GitInvalidRequestError: typeof GitInvalidRequestError; type errors_GitRepoLimitExceededError = GitRepoLimitExceededError; declare const errors_GitRepoLimitExceededError: typeof GitRepoLimitExceededError; type errors_GitRepositoryAccessDeniedError = GitRepositoryAccessDeniedError; declare const errors_GitRepositoryAccessDeniedError: typeof GitRepositoryAccessDeniedError; type errors_GitRepositoryNotFoundError = GitRepositoryNotFoundError; declare const errors_GitRepositoryNotFoundError: typeof GitRepositoryNotFoundError; type errors_GitServerErrorError = GitServerErrorError; declare const errors_GitServerErrorError: typeof GitServerErrorError; type errors_GrantPermissionFailedError = GrantPermissionFailedError; declare const errors_GrantPermissionFailedError: typeof GrantPermissionFailedError; type errors_GroupAlreadyExistsError = GroupAlreadyExistsError; declare const errors_GroupAlreadyExistsError: typeof GroupAlreadyExistsError; type errors_GroupEmptyError = GroupEmptyError; declare const errors_GroupEmptyError: typeof GroupEmptyError; type errors_GroupNameEmptyError = GroupNameEmptyError; declare const errors_GroupNameEmptyError: typeof GroupNameEmptyError; type errors_GroupNameInvalidCharsError = GroupNameInvalidCharsError; declare const errors_GroupNameInvalidCharsError: typeof GroupNameInvalidCharsError; type errors_GroupNameReservedError = GroupNameReservedError; declare const errors_GroupNameReservedError: typeof GroupNameReservedError; type errors_GroupNameTooLongError = GroupNameTooLongError; declare const errors_GroupNameTooLongError: typeof GroupNameTooLongError; type errors_GroupNotFoundError = GroupNotFoundError; declare const errors_GroupNotFoundError: typeof GroupNotFoundError; type errors_IdentityAccessDeniedError = IdentityAccessDeniedError; declare const errors_IdentityAccessDeniedError: typeof IdentityAccessDeniedError; type errors_IdentityErrorError = IdentityErrorError; declare const errors_IdentityErrorError: typeof IdentityErrorError; type errors_IdentityNotFoundError = IdentityNotFoundError; declare const errors_IdentityNotFoundError: typeof IdentityNotFoundError; type errors_ImportSubdirNotFoundError = ImportSubdirNotFoundError; declare const errors_ImportSubdirNotFoundError: typeof ImportSubdirNotFoundError; type errors_InternalError = InternalError; declare const errors_InternalError: typeof InternalError; type errors_InternalErrorError = InternalErrorError; declare const errors_InternalErrorError: typeof InternalErrorError; type errors_InternalForkVmNotFoundError = InternalForkVmNotFoundError; declare const errors_InternalForkVmNotFoundError: typeof InternalForkVmNotFoundError; type errors_InternalResizeVmNotFoundError = InternalResizeVmNotFoundError; declare const errors_InternalResizeVmNotFoundError: typeof InternalResizeVmNotFoundError; type errors_InternalVmNotFoundError = InternalVmNotFoundError; declare const errors_InternalVmNotFoundError: typeof InternalVmNotFoundError; type errors_InvalidAccountIdError = InvalidAccountIdError; declare const errors_InvalidAccountIdError: typeof InvalidAccountIdError; type errors_InvalidBase64ContentError = InvalidBase64ContentError; declare const errors_InvalidBase64ContentError: typeof InvalidBase64ContentError; type errors_InvalidDeploymentRequestError = InvalidDeploymentRequestError; declare const errors_InvalidDeploymentRequestError: typeof InvalidDeploymentRequestError; type errors_InvalidDomainError = InvalidDomainError; declare const errors_InvalidDomainError: typeof InvalidDomainError; type errors_InvalidDomainsError = InvalidDomainsError; declare const errors_InvalidDomainsError: typeof InvalidDomainsError; type errors_InvalidError = InvalidError; declare const errors_InvalidError: typeof InvalidError; type errors_InvalidFileChangeError = InvalidFileChangeError; declare const errors_InvalidFileChangeError: typeof InvalidFileChangeError; type errors_InvalidFilePathError = InvalidFilePathError; declare const errors_InvalidFilePathError: typeof InvalidFilePathError; type errors_InvalidGitRepoSpecErrorError = InvalidGitRepoSpecErrorError; declare const errors_InvalidGitRepoSpecErrorError: typeof InvalidGitRepoSpecErrorError; type errors_InvalidGitRepoSpecErrorPublic = InvalidGitRepoSpecErrorPublic; type errors_InvalidObjectIdError = InvalidObjectIdError; declare const errors_InvalidObjectIdError: typeof InvalidObjectIdError; type errors_InvalidObjectIdPublic = InvalidObjectIdPublic; type errors_InvalidParametersError = InvalidParametersError; declare const errors_InvalidParametersError: typeof InvalidParametersError; type errors_InvalidPathPatternError = InvalidPathPatternError; declare const errors_InvalidPathPatternError: typeof InvalidPathPatternError; type errors_InvalidQueryError = InvalidQueryError; declare const errors_InvalidQueryError: typeof InvalidQueryError; type errors_InvalidRangeError = InvalidRangeError; declare const errors_InvalidRangeError: typeof InvalidRangeError; type errors_InvalidRegexError = InvalidRegexError; declare const errors_InvalidRegexError: typeof InvalidRegexError; type errors_InvalidRequestError = InvalidRequestError; declare const errors_InvalidRequestError: typeof InvalidRequestError; type errors_InvalidRevisionError = InvalidRevisionError; declare const errors_InvalidRevisionError: typeof InvalidRevisionError; type errors_InvalidServiceError = InvalidServiceError; declare const errors_InvalidServiceError: typeof InvalidServiceError; type errors_InvalidSignatureError = InvalidSignatureError; declare const errors_InvalidSignatureError: typeof InvalidSignatureError; type errors_InvalidSnapshotIdError = InvalidSnapshotIdError; declare const errors_InvalidSnapshotIdError: typeof InvalidSnapshotIdError; type errors_InvalidVmIdError = InvalidVmIdError; declare const errors_InvalidVmIdError: typeof InvalidVmIdError; type errors_JavascriptLog = JavascriptLog; type errors_KernelPanicError = KernelPanicError; declare const errors_KernelPanicError: typeof KernelPanicError; type errors_LfsTransferAdapter = LfsTransferAdapter; type errors_LimitExceededError = LimitExceededError; declare const errors_LimitExceededError: typeof LimitExceededError; type errors_ListIdentitiesFailedError = ListIdentitiesFailedError; declare const errors_ListIdentitiesFailedError: typeof ListIdentitiesFailedError; type errors_ListPermissionsFailedError = ListPermissionsFailedError; declare const errors_ListPermissionsFailedError: typeof ListPermissionsFailedError; type errors_ListRepositoriesFailedError = ListRepositoriesFailedError; declare const errors_ListRepositoriesFailedError: typeof ListRepositoriesFailedError; type errors_ListRunsFailedError = ListRunsFailedError; declare const errors_ListRunsFailedError: typeof ListRunsFailedError; type errors_ListTokensFailedError = ListTokensFailedError; declare const errors_ListTokensFailedError: typeof ListTokensFailedError; type errors_LockGenerationFailedError = LockGenerationFailedError; declare const errors_LockGenerationFailedError: typeof LockGenerationFailedError; type errors_LockfileErrorError = LockfileErrorError; declare const errors_LockfileErrorError: typeof LockfileErrorError; type errors_LoggingFailedError = LoggingFailedError; declare const errors_LoggingFailedError: typeof LoggingFailedError; type errors_LogsNotFoundError = LogsNotFoundError; declare const errors_LogsNotFoundError: typeof LogsNotFoundError; type errors_MaxUsesExceededError = MaxUsesExceededError; declare const errors_MaxUsesExceededError: typeof MaxUsesExceededError; type errors_MetadataWriteFailedError = MetadataWriteFailedError; declare const errors_MetadataWriteFailedError: typeof MetadataWriteFailedError; type errors_NetworkPermissionsFailedError = NetworkPermissionsFailedError; declare const errors_NetworkPermissionsFailedError: typeof NetworkPermissionsFailedError; type errors_NoDefaultBranchError = NoDefaultBranchError; declare const errors_NoDefaultBranchError: typeof NoDefaultBranchError; type errors_NoDefaultSnapshotAvailableError = NoDefaultSnapshotAvailableError; declare const errors_NoDefaultSnapshotAvailableError: typeof NoDefaultSnapshotAvailableError; type errors_NoDomainOwnershipError = NoDomainOwnershipError; declare const errors_NoDomainOwnershipError: typeof NoDomainOwnershipError; type errors_NoEntrypointFoundError = NoEntrypointFoundError; declare const errors_NoEntrypointFoundError: typeof NoEntrypointFoundError; type errors_NodeModulesDownloadFailedError = NodeModulesDownloadFailedError; declare const errors_NodeModulesDownloadFailedError: typeof NodeModulesDownloadFailedError; type errors_NodeModulesInstallFailedError = NodeModulesInstallFailedError; declare const errors_NodeModulesInstallFailedError: typeof NodeModulesInstallFailedError; type errors_NotFoundError = NotFoundError; declare const errors_NotFoundError: typeof NotFoundError; type errors_ObservabilityAccessDeniedError = ObservabilityAccessDeniedError; declare const errors_ObservabilityAccessDeniedError: typeof ObservabilityAccessDeniedError; type errors_ObservabilityDatabaseErrorError = ObservabilityDatabaseErrorError; declare const errors_ObservabilityDatabaseErrorError: typeof ObservabilityDatabaseErrorError; type errors_OffsetWithSelectorError = OffsetWithSelectorError; declare const errors_OffsetWithSelectorError: typeof OffsetWithSelectorError; type errors_OnFailureArrayContainsEmptyError = OnFailureArrayContainsEmptyError; declare const errors_OnFailureArrayContainsEmptyError: typeof OnFailureArrayContainsEmptyError; type errors_PackfileError = PackfileError; declare const errors_PackfileError: typeof PackfileError; type errors_ParentNotFoundError = ParentNotFoundError; declare const errors_ParentNotFoundError: typeof ParentNotFoundError; type errors_ParseLogsFailedError = ParseLogsFailedError; declare const errors_ParseLogsFailedError: typeof ParseLogsFailedError; type errors_ParseResponseErrorError = ParseResponseErrorError; declare const errors_ParseResponseErrorError: typeof ParseResponseErrorError; type errors_PartitionNotFoundError = PartitionNotFoundError; declare const errors_PartitionNotFoundError: typeof PartitionNotFoundError; type errors_PathNotFoundError = PathNotFoundError; declare const errors_PathNotFoundError: typeof PathNotFoundError; type errors_PermissionAlreadyExistsError = PermissionAlreadyExistsError; declare const errors_PermissionAlreadyExistsError: typeof PermissionAlreadyExistsError; type errors_PermissionDeniedError = PermissionDeniedError; declare const errors_PermissionDeniedError: typeof PermissionDeniedError; type errors_PermissionErrorError = PermissionErrorError; declare const errors_PermissionErrorError: typeof PermissionErrorError; type errors_PermissionNotFoundError = PermissionNotFoundError; declare const errors_PermissionNotFoundError: typeof PermissionNotFoundError; type errors_PersistentVmsNotAllowedError = PersistentVmsNotAllowedError; declare const errors_PersistentVmsNotAllowedError: typeof PersistentVmsNotAllowedError; type errors_PostBootDiagnostics = PostBootDiagnostics; type errors_ProjectNotFoundError = ProjectNotFoundError; declare const errors_ProjectNotFoundError: typeof ProjectNotFoundError; type errors_PublicAmbiguous = PublicAmbiguous; type errors_PublicBackupFailed = PublicBackupFailed; type errors_PublicBadRequest = PublicBadRequest; type errors_PublicBlobNotFound = PublicBlobNotFound; type errors_PublicBranchAlreadyExists = PublicBranchAlreadyExists; type errors_PublicBranchNotFound = PublicBranchNotFound; type errors_PublicBuildFailed = PublicBuildFailed; type errors_PublicCertificateProvisioningError = PublicCertificateProvisioningError; type errors_PublicCloudstateAccessDenied = PublicCloudstateAccessDenied; type errors_PublicCloudstateDatabaseError = PublicCloudstateDatabaseError; type errors_PublicCloudstateInternalError = PublicCloudstateInternalError; type errors_PublicCommitInvalidRegex = PublicCommitInvalidRegex; type errors_PublicCommitNotFound = PublicCommitNotFound; type errors_PublicCommitNotInBranch = PublicCommitNotInBranch; type errors_PublicConflictingParent = PublicConflictingParent; type errors_PublicConnectionFailed = PublicConnectionFailed; type errors_PublicContentNotFound = PublicContentNotFound; type errors_PublicCreateBackupFailed = PublicCreateBackupFailed; type errors_PublicCreateIdentityFailed = PublicCreateIdentityFailed; type errors_PublicCreateRepositoryFailed = PublicCreateRepositoryFailed; type errors_PublicCreateSnapshotBadRequest = PublicCreateSnapshotBadRequest; type errors_PublicCreateTokenFailed = PublicCreateTokenFailed; type errors_PublicCreateVmBadRequest = PublicCreateVmBadRequest; type errors_PublicDeleteIdentityFailed = PublicDeleteIdentityFailed; type errors_PublicDeleteRepositoryFailed = PublicDeleteRepositoryFailed; type errors_PublicDeploymentAccessDenied = PublicDeploymentAccessDenied; type errors_PublicDeploymentFailed = PublicDeploymentFailed; type errors_PublicDeploymentLimitExceeded = PublicDeploymentLimitExceeded; type errors_PublicDiffInvalidPathPattern = PublicDiffInvalidPathPattern; type errors_PublicDiffInvalidRegex = PublicDiffInvalidRegex; type errors_PublicDirectoryCreationFailed = PublicDirectoryCreationFailed; type errors_PublicDomainAlreadyExists = PublicDomainAlreadyExists; type errors_PublicDomainMappingError = PublicDomainMappingError; type errors_PublicDomainOwnershipError = PublicDomainOwnershipError; type errors_PublicDomainOwnershipNotVerified = PublicDomainOwnershipNotVerified; type errors_PublicDownloadFailed = PublicDownloadFailed; type errors_PublicEntrypointNotFound = PublicEntrypointNotFound; type errors_PublicErrorCreatingRecord = PublicErrorCreatingRecord; type errors_PublicErrorDeletingRecord = PublicErrorDeletingRecord; type errors_PublicExecuteInternalError = PublicExecuteInternalError; type errors_PublicExecutionError = PublicExecutionError; type errors_PublicFailedInsertDomainMapping = PublicFailedInsertDomainMapping; type errors_PublicFailedPermissionsCheck = PublicFailedPermissionsCheck; type errors_PublicFailedRemoveDomainMapping = PublicFailedRemoveDomainMapping; type errors_PublicFailedToCheckDomainMappingPermissions = PublicFailedToCheckDomainMappingPermissions; type errors_PublicFailedToCheckPermissions = PublicFailedToCheckPermissions; type errors_PublicFailedToCreateVerificationCode = PublicFailedToCreateVerificationCode; type errors_PublicFailedToDeleteVerification = PublicFailedToDeleteVerification; type errors_PublicFailedToInsertDomainMapping = PublicFailedToInsertDomainMapping; type errors_PublicFailedToInsertOwnership = PublicFailedToInsertOwnership; type errors_PublicFailedToListDomains = PublicFailedToListDomains; type errors_PublicFailedToListVerifications = PublicFailedToListVerifications; type errors_PublicFailedToProvisionCertificate = PublicFailedToProvisionCertificate; type errors_PublicFailedToProvisionCertificateForMapping = PublicFailedToProvisionCertificateForMapping; type errors_PublicFailedToVerifyDomain = PublicFailedToVerifyDomain; type errors_PublicFileNotFound = PublicFileNotFound; type errors_PublicFilenameInvalidPattern = PublicFilenameInvalidPattern; type errors_PublicFilesBadRequest = PublicFilesBadRequest; type errors_PublicForkVmNotFound = PublicForkVmNotFound; type errors_PublicGetContentFailed = PublicGetContentFailed; type errors_PublicGetPermissionFailed = PublicGetPermissionFailed; type errors_PublicGetRepositoryInfoFailed = PublicGetRepositoryInfoFailed; type errors_PublicGitHubSyncFailed = PublicGitHubSyncFailed; type errors_PublicGitInvalidRequest = PublicGitInvalidRequest; type errors_PublicGitServerError = PublicGitServerError; type errors_PublicGrantPermissionFailed = PublicGrantPermissionFailed; type errors_PublicGroupAlreadyExists = PublicGroupAlreadyExists; type errors_PublicIdentityError = PublicIdentityError; type errors_PublicImportSubdirNotFound = PublicImportSubdirNotFound; type errors_PublicInternalForkVmNotFound = PublicInternalForkVmNotFound; type errors_PublicInternalVmNotFound = PublicInternalVmNotFound; type errors_PublicInvalid = PublicInvalid; type errors_PublicInvalidAccountId = PublicInvalidAccountId; type errors_PublicInvalidBase64Content = PublicInvalidBase64Content; type errors_PublicInvalidDeploymentRequest = PublicInvalidDeploymentRequest; type errors_PublicInvalidDomain = PublicInvalidDomain; type errors_PublicInvalidDomains = PublicInvalidDomains; type errors_PublicInvalidFileChange = PublicInvalidFileChange; type errors_PublicInvalidFilePath = PublicInvalidFilePath; type errors_PublicInvalidPathPattern = PublicInvalidPathPattern; type errors_PublicInvalidQuery = PublicInvalidQuery; type errors_PublicInvalidRange = PublicInvalidRange; type errors_PublicInvalidRegex = PublicInvalidRegex; type errors_PublicInvalidRevision = PublicInvalidRevision; type errors_PublicInvalidVmId = PublicInvalidVmId; type errors_PublicLimitExceeded = PublicLimitExceeded; type errors_PublicListIdentitiesFailed = PublicListIdentitiesFailed; type errors_PublicListPermissionsFailed = PublicListPermissionsFailed; type errors_PublicListRepositoriesFailed = PublicListRepositoriesFailed; type errors_PublicListRunsFailed = PublicListRunsFailed; type errors_PublicListTokensFailed = PublicListTokensFailed; type errors_PublicLockGenerationFailed = PublicLockGenerationFailed; type errors_PublicLockfileError = PublicLockfileError; type errors_PublicLoggingFailed = PublicLoggingFailed; type errors_PublicLogsNotFound = PublicLogsNotFound; type errors_PublicMetadataWriteFailed = PublicMetadataWriteFailed; type errors_PublicNetworkPermissionsFailed = PublicNetworkPermissionsFailed; type errors_PublicNoDomainOwnership = PublicNoDomainOwnership; type errors_PublicNodeModulesDownloadFailed = PublicNodeModulesDownloadFailed; type errors_PublicNodeModulesInstallFailed = PublicNodeModulesInstallFailed; type errors_PublicNotFound = PublicNotFound; type errors_PublicObservabilityAccessDenied = PublicObservabilityAccessDenied; type errors_PublicObservabilityDatabaseError = PublicObservabilityDatabaseError; type errors_PublicParentNotFound = PublicParentNotFound; type errors_PublicParseLogsFailed = PublicParseLogsFailed; type errors_PublicParseResponseError = PublicParseResponseError; type errors_PublicPathNotFound = PublicPathNotFound; type errors_PublicPermissionDenied = PublicPermissionDenied; type errors_PublicPermissionError = PublicPermissionError; type errors_PublicProjectNotFound = PublicProjectNotFound; type errors_PublicRecordOwnershipError = PublicRecordOwnershipError; type errors_PublicReferenceNotFound = PublicReferenceNotFound; type errors_PublicRepoAlreadyExists = PublicRepoAlreadyExists; type errors_PublicRepositoryNotFound = PublicRepositoryNotFound; type errors_PublicResizeFailed = PublicResizeFailed; type errors_PublicRestoreFailed = PublicRestoreFailed; type errors_PublicRetrieveLogsFailed = PublicRetrieveLogsFailed; type errors_PublicRevokePermissionFailed = PublicRevokePermissionFailed; type errors_PublicRevokeTokenFailed = PublicRevokeTokenFailed; type errors_PublicRunNotFound = PublicRunNotFound; type errors_PublicRuntimeError = PublicRuntimeError; type errors_PublicSerializationError = PublicSerializationError; type errors_PublicServiceAlreadyExists = PublicServiceAlreadyExists; type errors_PublicSnapshotAlreadyDeleted = PublicSnapshotAlreadyDeleted; type errors_PublicSnapshotIsAccountDefault = PublicSnapshotIsAccountDefault; type errors_PublicSnapshotLimitExceeded = PublicSnapshotLimitExceeded; type errors_PublicSnapshotNotFound = PublicSnapshotNotFound; type errors_PublicSnapshotSetupFailed = PublicSnapshotSetupFailed; type errors_PublicSnapshotVmBadRequest = PublicSnapshotVmBadRequest; type errors_PublicSourceNotFound = PublicSourceNotFound; type errors_PublicSourceUnauthorized = PublicSourceUnauthorized; type errors_PublicTagNotFound = PublicTagNotFound; type errors_PublicTimeoutLimitExceeded = PublicTimeoutLimitExceeded; type errors_PublicTokenError = PublicTokenError; type errors_PublicTotalVmLimitExceeded = PublicTotalVmLimitExceeded; type errors_PublicTreeNotFound = PublicTreeNotFound; type errors_PublicTriggerError = PublicTriggerError; type errors_PublicUnsupportedTransfer = PublicUnsupportedTransfer; type errors_PublicUpdateDefaultBranchFailed = PublicUpdateDefaultBranchFailed; type errors_PublicUpdatePermissionFailed = PublicUpdatePermissionFailed; type errors_PublicUserAlreadyExists = PublicUserAlreadyExists; type errors_PublicVerificationFailed = PublicVerificationFailed; type errors_PublicVerificationNotFound = PublicVerificationNotFound; type errors_PublicVmAccessDeniedForMapping = PublicVmAccessDeniedForMapping; type errors_PublicVmLimitExceeded = PublicVmLimitExceeded; type errors_PublicWebDeploymentBadRequest = PublicWebDeploymentBadRequest; type errors_PublicWriteScriptFailed = PublicWriteScriptFailed; type errors_RecordOwnershipErrorError = RecordOwnershipErrorError; declare const errors_RecordOwnershipErrorError: typeof RecordOwnershipErrorError; type errors_ReferenceNotFoundError = ReferenceNotFoundError; declare const errors_ReferenceNotFoundError: typeof ReferenceNotFoundError; type errors_RepoAlreadyExistsError = RepoAlreadyExistsError; declare const errors_RepoAlreadyExistsError: typeof RepoAlreadyExistsError; type errors_RepoNotFoundError = RepoNotFoundError; declare const errors_RepoNotFoundError: typeof RepoNotFoundError; type errors_RepositoryAccessDeniedError = RepositoryAccessDeniedError; declare const errors_RepositoryAccessDeniedError: typeof RepositoryAccessDeniedError; type errors_RepositoryNotFoundError = RepositoryNotFoundError; declare const errors_RepositoryNotFoundError: typeof RepositoryNotFoundError; type errors_RequiresArrayContainsEmptyError = RequiresArrayContainsEmptyError; declare const errors_RequiresArrayContainsEmptyError: typeof RequiresArrayContainsEmptyError; type errors_ReqwestError = ReqwestError; declare const errors_ReqwestError: typeof ReqwestError; type errors_ResizeFailedError = ResizeFailedError; declare const errors_ResizeFailedError: typeof ResizeFailedError; type errors_RestoreFailedError = RestoreFailedError; declare const errors_RestoreFailedError: typeof RestoreFailedError; type errors_ResumedVmNonResponsiveError = ResumedVmNonResponsiveError; declare const errors_ResumedVmNonResponsiveError: typeof ResumedVmNonResponsiveError; type errors_RetrieveLogsFailedError = RetrieveLogsFailedError; declare const errors_RetrieveLogsFailedError: typeof RetrieveLogsFailedError; type errors_RevokePermissionFailedError = RevokePermissionFailedError; declare const errors_RevokePermissionFailedError: typeof RevokePermissionFailedError; type errors_RevokeTokenFailedError = RevokeTokenFailedError; declare const errors_RevokeTokenFailedError: typeof RevokeTokenFailedError; type errors_RootfsCopyErrorError = RootfsCopyErrorError; declare const errors_RootfsCopyErrorError: typeof RootfsCopyErrorError; type errors_RunNotFoundError = RunNotFoundError; declare const errors_RunNotFoundError: typeof RunNotFoundError; type errors_RuntimeErrorError = RuntimeErrorError; declare const errors_RuntimeErrorError: typeof RuntimeErrorError; type errors_ScheduleNotFoundError = ScheduleNotFoundError; declare const errors_ScheduleNotFoundError: typeof ScheduleNotFoundError; type errors_SendErrorError = SendErrorError; declare const errors_SendErrorError: typeof SendErrorError; type errors_SerializationErrorError = SerializationErrorError; declare const errors_SerializationErrorError: typeof SerializationErrorError; type errors_ServerDeploymentFailedError = ServerDeploymentFailedError; declare const errors_ServerDeploymentFailedError: typeof ServerDeploymentFailedError; type errors_ServiceAlreadyExistsError = ServiceAlreadyExistsError; declare const errors_ServiceAlreadyExistsError: typeof ServiceAlreadyExistsError; type errors_ServiceLog = ServiceLog; type errors_ServiceNameEmptyError = ServiceNameEmptyError; declare const errors_ServiceNameEmptyError: typeof ServiceNameEmptyError; type errors_ServiceNameInvalidCharsError = ServiceNameInvalidCharsError; declare const errors_ServiceNameInvalidCharsError: typeof ServiceNameInvalidCharsError; type errors_ServiceNameInvalidPrefixError = ServiceNameInvalidPrefixError; declare const errors_ServiceNameInvalidPrefixError: typeof ServiceNameInvalidPrefixError; type errors_ServiceNameTooLongError = ServiceNameTooLongError; declare const errors_ServiceNameTooLongError: typeof ServiceNameTooLongError; type errors_ServiceNotFoundError = ServiceNotFoundError; declare const errors_ServiceNotFoundError: typeof ServiceNotFoundError; type errors_ServiceStateGroup = ServiceStateGroup; type errors_ServiceUnavailableError = ServiceUnavailableError; declare const errors_ServiceUnavailableError: typeof ServiceUnavailableError; type errors_SetDefaultSnapshotFailedError = SetDefaultSnapshotFailedError; declare const errors_SetDefaultSnapshotFailedError: typeof SetDefaultSnapshotFailedError; type errors_SigningError = SigningError; declare const errors_SigningError: typeof SigningError; type errors_SnapshotAlreadyDeletedError = SnapshotAlreadyDeletedError; declare const errors_SnapshotAlreadyDeletedError: typeof SnapshotAlreadyDeletedError; type errors_SnapshotDirNotFoundError = SnapshotDirNotFoundError; declare const errors_SnapshotDirNotFoundError: typeof SnapshotDirNotFoundError; type errors_SnapshotId = SnapshotId; type errors_SnapshotIsAccountDefaultError = SnapshotIsAccountDefaultError; declare const errors_SnapshotIsAccountDefaultError: typeof SnapshotIsAccountDefaultError; type errors_SnapshotLayerCreationFailedError = SnapshotLayerCreationFailedError; declare const errors_SnapshotLayerCreationFailedError: typeof SnapshotLayerCreationFailedError; type errors_SnapshotLimitExceededError = SnapshotLimitExceededError; declare const errors_SnapshotLimitExceededError: typeof SnapshotLimitExceededError; type errors_SnapshotLoadTimeoutError = SnapshotLoadTimeoutError; declare const errors_SnapshotLoadTimeoutError: typeof SnapshotLoadTimeoutError; type errors_SnapshotNotFoundError = SnapshotNotFoundError; declare const errors_SnapshotNotFoundError: typeof SnapshotNotFoundError; type errors_SnapshotSetupFailedError = SnapshotSetupFailedError; declare const errors_SnapshotSetupFailedError: typeof SnapshotSetupFailedError; type errors_SnapshotVmBadRequestError = SnapshotVmBadRequestError; declare const errors_SnapshotVmBadRequestError: typeof SnapshotVmBadRequestError; type errors_SourceImportConflictError = SourceImportConflictError; declare const errors_SourceImportConflictError: typeof SourceImportConflictError; type errors_SourceNotFoundError = SourceNotFoundError; declare const errors_SourceNotFoundError: typeof SourceNotFoundError; type errors_SourceUnauthorizedError = SourceUnauthorizedError; declare const errors_SourceUnauthorizedError: typeof SourceUnauthorizedError; type errors_SubvolumeCreationFailedError = SubvolumeCreationFailedError; declare const errors_SubvolumeCreationFailedError: typeof SubvolumeCreationFailedError; type errors_SuspendFailedAndStopFailedError = SuspendFailedAndStopFailedError; declare const errors_SuspendFailedAndStopFailedError: typeof SuspendFailedAndStopFailedError; type errors_SuspendFailedAndStoppedError = SuspendFailedAndStoppedError; declare const errors_SuspendFailedAndStoppedError: typeof SuspendFailedAndStoppedError; type errors_SwapVmTapError = SwapVmTapError; declare const errors_SwapVmTapError: typeof SwapVmTapError; type errors_SyntaxErrorError = SyntaxErrorError; declare const errors_SyntaxErrorError: typeof SyntaxErrorError; type errors_TagNotFoundError = TagNotFoundError; declare const errors_TagNotFoundError: typeof TagNotFoundError; type errors_TimeoutLimitExceededError = TimeoutLimitExceededError; declare const errors_TimeoutLimitExceededError: typeof TimeoutLimitExceededError; type errors_TokenErrorError = TokenErrorError; declare const errors_TokenErrorError: typeof TokenErrorError; type errors_TotalVmLimitExceededError = TotalVmLimitExceededError; declare const errors_TotalVmLimitExceededError: typeof TotalVmLimitExceededError; type errors_TreeNotFoundError = TreeNotFoundError; declare const errors_TreeNotFoundError: typeof TreeNotFoundError; type errors_TriggerErrorError = TriggerErrorError; declare const errors_TriggerErrorError: typeof TriggerErrorError; type errors_UffdTimeoutErrorError = UffdTimeoutErrorError; declare const errors_UffdTimeoutErrorError: typeof UffdTimeoutErrorError; type errors_UnauthorizedError = UnauthorizedError; declare const errors_UnauthorizedError: typeof UnauthorizedError; type errors_UnauthorizedErrorError = UnauthorizedErrorError; declare const errors_UnauthorizedErrorError: typeof UnauthorizedErrorError; type errors_UnauthorizedErrorPublic = UnauthorizedErrorPublic; type errors_UnavailableError = UnavailableError; declare const errors_UnavailableError: typeof UnavailableError; type errors_UnsupportedTransferError = UnsupportedTransferError; declare const errors_UnsupportedTransferError: typeof UnsupportedTransferError; type errors_UpdateDefaultBranchFailedError = UpdateDefaultBranchFailedError; declare const errors_UpdateDefaultBranchFailedError: typeof UpdateDefaultBranchFailedError; type errors_UpdatePermissionFailedError = UpdatePermissionFailedError; declare const errors_UpdatePermissionFailedError: typeof UpdatePermissionFailedError; type errors_UploadErrorError = UploadErrorError; declare const errors_UploadErrorError: typeof UploadErrorError; type errors_UserAlreadyExistsError = UserAlreadyExistsError; declare const errors_UserAlreadyExistsError: typeof UserAlreadyExistsError; type errors_UserEmptyError = UserEmptyError; declare const errors_UserEmptyError: typeof UserEmptyError; type errors_UserGroupEmptyError = UserGroupEmptyError; declare const errors_UserGroupEmptyError: typeof UserGroupEmptyError; type errors_UserHomeInvalidError = UserHomeInvalidError; declare const errors_UserHomeInvalidError: typeof UserHomeInvalidError; type errors_UserNotFoundError = UserNotFoundError; declare const errors_UserNotFoundError: typeof UserNotFoundError; type errors_UserShellInvalidError = UserShellInvalidError; declare const errors_UserShellInvalidError: typeof UserShellInvalidError; type errors_UserSystemFlagMismatchError = UserSystemFlagMismatchError; declare const errors_UserSystemFlagMismatchError: typeof UserSystemFlagMismatchError; type errors_UserUidOutOfRangeError = UserUidOutOfRangeError; declare const errors_UserUidOutOfRangeError: typeof UserUidOutOfRangeError; type errors_ValidationErrorError = ValidationErrorError; declare const errors_ValidationErrorError: typeof ValidationErrorError; type errors_VerificationFailedError = VerificationFailedError; declare const errors_VerificationFailedError: typeof VerificationFailedError; type errors_VerificationNotFoundError = VerificationNotFoundError; declare const errors_VerificationNotFoundError: typeof VerificationNotFoundError; type errors_VmAccessDeniedError = VmAccessDeniedError; declare const errors_VmAccessDeniedError: typeof VmAccessDeniedError; type errors_VmAccessDeniedForMappingError = VmAccessDeniedForMappingError; declare const errors_VmAccessDeniedForMappingError: typeof VmAccessDeniedForMappingError; type errors_VmDeletedError = VmDeletedError; declare const errors_VmDeletedError: typeof VmDeletedError; type errors_VmExitDuringStartError = VmExitDuringStartError; declare const errors_VmExitDuringStartError: typeof VmExitDuringStartError; type errors_VmId = VmId; type errors_VmIsSuspendingError = VmIsSuspendingError; declare const errors_VmIsSuspendingError: typeof VmIsSuspendingError; type errors_VmLimitExceededError = VmLimitExceededError; declare const errors_VmLimitExceededError: typeof VmLimitExceededError; type errors_VmNotFoundError = VmNotFoundError; declare const errors_VmNotFoundError: typeof VmNotFoundError; type errors_VmNotFoundInFsError = VmNotFoundInFsError; declare const errors_VmNotFoundInFsError: typeof VmNotFoundInFsError; type errors_VmNotFoundPublic = VmNotFoundPublic; type errors_VmNotInTransactionError = VmNotInTransactionError; declare const errors_VmNotInTransactionError: typeof VmNotInTransactionError; type errors_VmNotRunningError = VmNotRunningError; declare const errors_VmNotRunningError: typeof VmNotRunningError; type errors_VmOperationDeniedDuringTransactionError = VmOperationDeniedDuringTransactionError; declare const errors_VmOperationDeniedDuringTransactionError: typeof VmOperationDeniedDuringTransactionError; type errors_VmOperationDeniedDuringTransactionPublic = VmOperationDeniedDuringTransactionPublic; type errors_VmPermissionNotFoundError = VmPermissionNotFoundError; declare const errors_VmPermissionNotFoundError: typeof VmPermissionNotFoundError; type errors_VmSetupFailedError = VmSetupFailedError; declare const errors_VmSetupFailedError: typeof VmSetupFailedError; type errors_VmSetupFailedPublic = VmSetupFailedPublic; type errors_VmSpawnProcessError = VmSpawnProcessError; declare const errors_VmSpawnProcessError: typeof VmSpawnProcessError; type errors_VmStartTimeoutError = VmStartTimeoutError; declare const errors_VmStartTimeoutError: typeof VmStartTimeoutError; type errors_VmSubnetNotFoundError = VmSubnetNotFoundError; declare const errors_VmSubnetNotFoundError: typeof VmSubnetNotFoundError; type errors_VmTransactionIdMismatchError = VmTransactionIdMismatchError; declare const errors_VmTransactionIdMismatchError: typeof VmTransactionIdMismatchError; type errors_VmTransactionIdMismatchPublic = VmTransactionIdMismatchPublic; type errors_WantedByEmptyError = WantedByEmptyError; declare const errors_WantedByEmptyError: typeof WantedByEmptyError; type errors_WebDeploymentBadRequestError = WebDeploymentBadRequestError; declare const errors_WebDeploymentBadRequestError: typeof WebDeploymentBadRequestError; type errors_WorkdirEmptyError = WorkdirEmptyError; declare const errors_WorkdirEmptyError: typeof WorkdirEmptyError; type errors_WriteScriptFailedError = WriteScriptFailedError; declare const errors_WriteScriptFailedError: typeof WriteScriptFailedError; declare const errors_errorFromJSON: typeof errorFromJSON; declare namespace errors { export { errors_AccessDeniedError as AccessDeniedError, errors_ActiveTransactionErrorError as ActiveTransactionErrorError, errors_AfterArrayContainsEmptyError as AfterArrayContainsEmptyError, errors_AmbiguousError as AmbiguousError, errors_BackupFailedError as BackupFailedError, errors_BadHeaderError as BadHeaderError, errors_BadKeyError as BadKeyError, errors_BadParseError as BadParseError, errors_BadRequestError as BadRequestError, errors_BadSignatureError as BadSignatureError, errors_BadTimestampError as BadTimestampError, errors_BlobNotFoundError as BlobNotFoundError, errors_BranchAlreadyExistsError as BranchAlreadyExistsError, errors_BranchNameEmptyError as BranchNameEmptyError, errors_BranchNotFoundError as BranchNotFoundError, errors_BuildFailedError as BuildFailedError, errors_CannotDeleteManagedIdentityError as CannotDeleteManagedIdentityError, errors_CannotModifyManagedIdentityError as CannotModifyManagedIdentityError, errors_CertificateProvisioningErrorError as CertificateProvisioningErrorError, errors_CloudstateAccessDeniedError as CloudstateAccessDeniedError, errors_CloudstateDatabaseErrorError as CloudstateDatabaseErrorError, errors_CloudstateInternalErrorError as CloudstateInternalErrorError, errors_CommitEmptyQueryError as CommitEmptyQueryError, errors_CommitInvalidRegexError as CommitInvalidRegexError, errors_CommitNotFoundError as CommitNotFoundError, errors_CommitNotInBranchError as CommitNotInBranchError, errors_ConflictError as ConflictError, errors_ConflictingParentError as ConflictingParentError, errors_ConnectionFailedError as ConnectionFailedError, errors_ContentNotFoundError as ContentNotFoundError, errors_CreateBackupFailedError as CreateBackupFailedError, errors_CreateIdentityFailedError as CreateIdentityFailedError, errors_CreateRepositoryFailedError as CreateRepositoryFailedError, errors_CreateSnapshotBadRequestError as CreateSnapshotBadRequestError, errors_CreateTokenFailedError as CreateTokenFailedError, errors_CreateVmBadRequestError as CreateVmBadRequestError, errors_DatabaseErrorError as DatabaseErrorError, errors_DeleteIdentityFailedError as DeleteIdentityFailedError, errors_DeleteRepositoryFailedError as DeleteRepositoryFailedError, errors_DeploymentAccessDeniedError as DeploymentAccessDeniedError, errors_DeploymentFailedError as DeploymentFailedError, errors_DeploymentLimitExceededError as DeploymentLimitExceededError, errors_DeploymentNotFoundError as DeploymentNotFoundError, errors_DiffEmptyQueryError as DiffEmptyQueryError, errors_DiffInvalidPathPatternError as DiffInvalidPathPatternError, errors_DiffInvalidRegexError as DiffInvalidRegexError, errors_DirectoryCreationFailedError as DirectoryCreationFailedError, errors_DockerSnapshotFailedError as DockerSnapshotFailedError, errors_DomainAlreadyExistsError as DomainAlreadyExistsError, errors_DomainMappingErrorError as DomainMappingErrorError, errors_DomainOwnershipErrorError as DomainOwnershipErrorError, errors_DomainOwnershipNotVerifiedError as DomainOwnershipNotVerifiedError, errors_DomainOwnershipVerificationFailedError as DomainOwnershipVerificationFailedError, errors_DownloadFailedError as DownloadFailedError, errors_DuplicateGroupNameError as DuplicateGroupNameError, errors_DuplicateUserNameError as DuplicateUserNameError, errors_EmptyQueryError as EmptyQueryError, errors_EmptyTagError as EmptyTagError, errors_EntrypointNotFoundError as EntrypointNotFoundError, errors_EnvKeyContainsEqualsError as EnvKeyContainsEqualsError, errors_EnvKeyEmptyError as EnvKeyEmptyError, errors_ErrorCreatingRecordError as ErrorCreatingRecordError, errors_ErrorDeletingRecordError as ErrorDeletingRecordError, errors_ExecEmptyError as ExecEmptyError, errors_ExecuteAccessDeniedError as ExecuteAccessDeniedError, errors_ExecuteInternalErrorError as ExecuteInternalErrorError, errors_ExecuteLimitExceededError as ExecuteLimitExceededError, errors_ExecutionErrorError as ExecutionErrorError, errors_ExpectedServiceError as ExpectedServiceError, errors_ExpiredError as ExpiredError, errors_FREESTYLE_ERROR_CODE_MAP as FREESTYLE_ERROR_CODE_MAP, errors_FailedInsertDomainMappingError as FailedInsertDomainMappingError, errors_FailedPermissionsCheckError as FailedPermissionsCheckError, errors_FailedRemoveDomainMappingError as FailedRemoveDomainMappingError, errors_FailedToCheckDomainMappingPermissionsError as FailedToCheckDomainMappingPermissionsError, errors_FailedToCheckPermissionsError as FailedToCheckPermissionsError, errors_FailedToCreateVerificationCodeError as FailedToCreateVerificationCodeError, errors_FailedToDeleteVerificationError as FailedToDeleteVerificationError, errors_FailedToInsertDomainMappingError as FailedToInsertDomainMappingError, errors_FailedToInsertOwnershipError as FailedToInsertOwnershipError, errors_FailedToListDomainsError as FailedToListDomainsError, errors_FailedToListVerificationsError as FailedToListVerificationsError, errors_FailedToProvisionCertificateError as FailedToProvisionCertificateError, errors_FailedToProvisionCertificateForMappingError as FailedToProvisionCertificateForMappingError, errors_FailedToSpawnUffdError as FailedToSpawnUffdError, errors_FailedToVerifyDomainError as FailedToVerifyDomainError, errors_FileNotFoundError as FileNotFoundError, errors_FilenameEmptyQueryError as FilenameEmptyQueryError, errors_FilenameInvalidPatternError as FilenameInvalidPatternError, errors_FilesBadRequestError as FilesBadRequestError, errors_FirecrackerApiSocketNotFoundError as FirecrackerApiSocketNotFoundError, errors_FirecrackerPidNotFoundError as FirecrackerPidNotFoundError, errors_ForbiddenError as ForbiddenError, errors_ForkVmNotFoundError as ForkVmNotFoundError, errors_GetContentFailedError as GetContentFailedError, errors_GetDefaultSnapshotFailedError as GetDefaultSnapshotFailedError, errors_GetPermissionFailedError as GetPermissionFailedError, errors_GetRepositoryInfoFailedError as GetRepositoryInfoFailedError, errors_GitErrorError as GitErrorError, errors_GitHubSyncConflictError as GitHubSyncConflictError, errors_GitHubSyncFailedError as GitHubSyncFailedError, errors_GitInvalidRequestError as GitInvalidRequestError, errors_GitRepoLimitExceededError as GitRepoLimitExceededError, errors_GitRepositoryAccessDeniedError as GitRepositoryAccessDeniedError, errors_GitRepositoryNotFoundError as GitRepositoryNotFoundError, errors_GitServerErrorError as GitServerErrorError, errors_GrantPermissionFailedError as GrantPermissionFailedError, errors_GroupAlreadyExistsError as GroupAlreadyExistsError, errors_GroupEmptyError as GroupEmptyError, errors_GroupNameEmptyError as GroupNameEmptyError, errors_GroupNameInvalidCharsError as GroupNameInvalidCharsError, errors_GroupNameReservedError as GroupNameReservedError, errors_GroupNameTooLongError as GroupNameTooLongError, errors_GroupNotFoundError as GroupNotFoundError, errors_IdentityAccessDeniedError as IdentityAccessDeniedError, errors_IdentityErrorError as IdentityErrorError, errors_IdentityNotFoundError as IdentityNotFoundError, errors_ImportSubdirNotFoundError as ImportSubdirNotFoundError, errors_InternalError as InternalError, errors_InternalErrorError as InternalErrorError, errors_InternalForkVmNotFoundError as InternalForkVmNotFoundError, errors_InternalResizeVmNotFoundError as InternalResizeVmNotFoundError, errors_InternalVmNotFoundError as InternalVmNotFoundError, errors_InvalidAccountIdError as InvalidAccountIdError, errors_InvalidBase64ContentError as InvalidBase64ContentError, errors_InvalidDeploymentRequestError as InvalidDeploymentRequestError, errors_InvalidDomainError as InvalidDomainError, errors_InvalidDomainsError as InvalidDomainsError, errors_InvalidError as InvalidError, errors_InvalidFileChangeError as InvalidFileChangeError, errors_InvalidFilePathError as InvalidFilePathError, errors_InvalidGitRepoSpecErrorError as InvalidGitRepoSpecErrorError, errors_InvalidObjectIdError as InvalidObjectIdError, errors_InvalidParametersError as InvalidParametersError, errors_InvalidPathPatternError as InvalidPathPatternError, errors_InvalidQueryError as InvalidQueryError, errors_InvalidRangeError as InvalidRangeError, errors_InvalidRegexError as InvalidRegexError, errors_InvalidRequestError as InvalidRequestError, errors_InvalidRevisionError as InvalidRevisionError, errors_InvalidServiceError as InvalidServiceError, errors_InvalidSignatureError as InvalidSignatureError, errors_InvalidSnapshotIdError as InvalidSnapshotIdError, errors_InvalidVmIdError as InvalidVmIdError, errors_KernelPanicError as KernelPanicError, errors_LimitExceededError as LimitExceededError, errors_ListIdentitiesFailedError as ListIdentitiesFailedError, errors_ListPermissionsFailedError as ListPermissionsFailedError, errors_ListRepositoriesFailedError as ListRepositoriesFailedError, errors_ListRunsFailedError as ListRunsFailedError, errors_ListTokensFailedError as ListTokensFailedError, errors_LockGenerationFailedError as LockGenerationFailedError, errors_LockfileErrorError as LockfileErrorError, errors_LoggingFailedError as LoggingFailedError, errors_LogsNotFoundError as LogsNotFoundError, errors_MaxUsesExceededError as MaxUsesExceededError, errors_MetadataWriteFailedError as MetadataWriteFailedError, errors_NetworkPermissionsFailedError as NetworkPermissionsFailedError, errors_NoDefaultBranchError as NoDefaultBranchError, errors_NoDefaultSnapshotAvailableError as NoDefaultSnapshotAvailableError, errors_NoDomainOwnershipError as NoDomainOwnershipError, errors_NoEntrypointFoundError as NoEntrypointFoundError, errors_NodeModulesDownloadFailedError as NodeModulesDownloadFailedError, errors_NodeModulesInstallFailedError as NodeModulesInstallFailedError, errors_NotFoundError as NotFoundError, errors_ObservabilityAccessDeniedError as ObservabilityAccessDeniedError, errors_ObservabilityDatabaseErrorError as ObservabilityDatabaseErrorError, errors_OffsetWithSelectorError as OffsetWithSelectorError, errors_OnFailureArrayContainsEmptyError as OnFailureArrayContainsEmptyError, errors_PackfileError as PackfileError, errors_ParentNotFoundError as ParentNotFoundError, errors_ParseLogsFailedError as ParseLogsFailedError, errors_ParseResponseErrorError as ParseResponseErrorError, errors_PartitionNotFoundError as PartitionNotFoundError, errors_PathNotFoundError as PathNotFoundError, errors_PermissionAlreadyExistsError as PermissionAlreadyExistsError, errors_PermissionDeniedError as PermissionDeniedError, errors_PermissionErrorError as PermissionErrorError, errors_PermissionNotFoundError as PermissionNotFoundError, errors_PersistentVmsNotAllowedError as PersistentVmsNotAllowedError, errors_ProjectNotFoundError as ProjectNotFoundError, errors_RecordOwnershipErrorError as RecordOwnershipErrorError, errors_ReferenceNotFoundError as ReferenceNotFoundError, errors_RepoAlreadyExistsError as RepoAlreadyExistsError, errors_RepoNotFoundError as RepoNotFoundError, errors_RepositoryAccessDeniedError as RepositoryAccessDeniedError, errors_RepositoryNotFoundError as RepositoryNotFoundError, errors_RequiresArrayContainsEmptyError as RequiresArrayContainsEmptyError, errors_ReqwestError as ReqwestError, errors_ResizeFailedError as ResizeFailedError, errors_RestoreFailedError as RestoreFailedError, errors_ResumedVmNonResponsiveError as ResumedVmNonResponsiveError, errors_RetrieveLogsFailedError as RetrieveLogsFailedError, errors_RevokePermissionFailedError as RevokePermissionFailedError, errors_RevokeTokenFailedError as RevokeTokenFailedError, errors_RootfsCopyErrorError as RootfsCopyErrorError, errors_RunNotFoundError as RunNotFoundError, errors_RuntimeErrorError as RuntimeErrorError, errors_ScheduleNotFoundError as ScheduleNotFoundError, errors_SendErrorError as SendErrorError, errors_SerializationErrorError as SerializationErrorError, errors_ServerDeploymentFailedError as ServerDeploymentFailedError, errors_ServiceAlreadyExistsError as ServiceAlreadyExistsError, errors_ServiceNameEmptyError as ServiceNameEmptyError, errors_ServiceNameInvalidCharsError as ServiceNameInvalidCharsError, errors_ServiceNameInvalidPrefixError as ServiceNameInvalidPrefixError, errors_ServiceNameTooLongError as ServiceNameTooLongError, errors_ServiceNotFoundError as ServiceNotFoundError, errors_ServiceUnavailableError as ServiceUnavailableError, errors_SetDefaultSnapshotFailedError as SetDefaultSnapshotFailedError, errors_SigningError as SigningError, errors_SnapshotAlreadyDeletedError as SnapshotAlreadyDeletedError, errors_SnapshotDirNotFoundError as SnapshotDirNotFoundError, errors_SnapshotIsAccountDefaultError as SnapshotIsAccountDefaultError, errors_SnapshotLayerCreationFailedError as SnapshotLayerCreationFailedError, errors_SnapshotLimitExceededError as SnapshotLimitExceededError, errors_SnapshotLoadTimeoutError as SnapshotLoadTimeoutError, errors_SnapshotNotFoundError as SnapshotNotFoundError, errors_SnapshotSetupFailedError as SnapshotSetupFailedError, errors_SnapshotVmBadRequestError as SnapshotVmBadRequestError, errors_SourceImportConflictError as SourceImportConflictError, errors_SourceNotFoundError as SourceNotFoundError, errors_SourceUnauthorizedError as SourceUnauthorizedError, errors_SubvolumeCreationFailedError as SubvolumeCreationFailedError, errors_SuspendFailedAndStopFailedError as SuspendFailedAndStopFailedError, errors_SuspendFailedAndStoppedError as SuspendFailedAndStoppedError, errors_SwapVmTapError as SwapVmTapError, errors_SyntaxErrorError as SyntaxErrorError, errors_TagNotFoundError as TagNotFoundError, errors_TimeoutLimitExceededError as TimeoutLimitExceededError, errors_TokenErrorError as TokenErrorError, errors_TotalVmLimitExceededError as TotalVmLimitExceededError, errors_TreeNotFoundError as TreeNotFoundError, errors_TriggerErrorError as TriggerErrorError, errors_UffdTimeoutErrorError as UffdTimeoutErrorError, errors_UnauthorizedError as UnauthorizedError, errors_UnauthorizedErrorError as UnauthorizedErrorError, errors_UnavailableError as UnavailableError, errors_UnsupportedTransferError as UnsupportedTransferError, errors_UpdateDefaultBranchFailedError as UpdateDefaultBranchFailedError, errors_UpdatePermissionFailedError as UpdatePermissionFailedError, errors_UploadErrorError as UploadErrorError, errors_UserAlreadyExistsError as UserAlreadyExistsError, errors_UserEmptyError as UserEmptyError, errors_UserGroupEmptyError as UserGroupEmptyError, errors_UserHomeInvalidError as UserHomeInvalidError, errors_UserNotFoundError as UserNotFoundError, errors_UserShellInvalidError as UserShellInvalidError, errors_UserSystemFlagMismatchError as UserSystemFlagMismatchError, errors_UserUidOutOfRangeError as UserUidOutOfRangeError, errors_ValidationErrorError as ValidationErrorError, errors_VerificationFailedError as VerificationFailedError, errors_VerificationNotFoundError as VerificationNotFoundError, errors_VmAccessDeniedError as VmAccessDeniedError, errors_VmAccessDeniedForMappingError as VmAccessDeniedForMappingError, errors_VmDeletedError as VmDeletedError, errors_VmExitDuringStartError as VmExitDuringStartError, errors_VmIsSuspendingError as VmIsSuspendingError, errors_VmLimitExceededError as VmLimitExceededError, errors_VmNotFoundError as VmNotFoundError, errors_VmNotFoundInFsError as VmNotFoundInFsError, errors_VmNotInTransactionError as VmNotInTransactionError, errors_VmNotRunningError as VmNotRunningError, errors_VmOperationDeniedDuringTransactionError as VmOperationDeniedDuringTransactionError, errors_VmPermissionNotFoundError as VmPermissionNotFoundError, errors_VmSetupFailedError as VmSetupFailedError, errors_VmSpawnProcessError as VmSpawnProcessError, errors_VmStartTimeoutError as VmStartTimeoutError, errors_VmSubnetNotFoundError as VmSubnetNotFoundError, errors_VmTransactionIdMismatchError as VmTransactionIdMismatchError, errors_WantedByEmptyError as WantedByEmptyError, errors_WebDeploymentBadRequestError as WebDeploymentBadRequestError, errors_WorkdirEmptyError as WorkdirEmptyError, errors_WriteScriptFailedError as WriteScriptFailedError, errors_errorFromJSON as errorFromJSON }; export type { errors_FreestyleError as FreestyleError, errors_InvalidGitRepoSpecErrorPublic as InvalidGitRepoSpecErrorPublic, errors_InvalidObjectIdPublic as InvalidObjectIdPublic, errors_JavascriptLog as JavascriptLog, errors_LfsTransferAdapter as LfsTransferAdapter, errors_PostBootDiagnostics as PostBootDiagnostics, errors_PublicAmbiguous as PublicAmbiguous, errors_PublicBackupFailed as PublicBackupFailed, errors_PublicBadRequest as PublicBadRequest, errors_PublicBlobNotFound as PublicBlobNotFound, errors_PublicBranchAlreadyExists as PublicBranchAlreadyExists, errors_PublicBranchNotFound as PublicBranchNotFound, errors_PublicBuildFailed as PublicBuildFailed, errors_PublicCertificateProvisioningError as PublicCertificateProvisioningError, errors_PublicCloudstateAccessDenied as PublicCloudstateAccessDenied, errors_PublicCloudstateDatabaseError as PublicCloudstateDatabaseError, errors_PublicCloudstateInternalError as PublicCloudstateInternalError, errors_PublicCommitInvalidRegex as PublicCommitInvalidRegex, errors_PublicCommitNotFound as PublicCommitNotFound, errors_PublicCommitNotInBranch as PublicCommitNotInBranch, errors_PublicConflictingParent as PublicConflictingParent, errors_PublicConnectionFailed as PublicConnectionFailed, errors_PublicContentNotFound as PublicContentNotFound, errors_PublicCreateBackupFailed as PublicCreateBackupFailed, errors_PublicCreateIdentityFailed as PublicCreateIdentityFailed, errors_PublicCreateRepositoryFailed as PublicCreateRepositoryFailed, errors_PublicCreateSnapshotBadRequest as PublicCreateSnapshotBadRequest, errors_PublicCreateTokenFailed as PublicCreateTokenFailed, errors_PublicCreateVmBadRequest as PublicCreateVmBadRequest, errors_PublicDeleteIdentityFailed as PublicDeleteIdentityFailed, errors_PublicDeleteRepositoryFailed as PublicDeleteRepositoryFailed, errors_PublicDeploymentAccessDenied as PublicDeploymentAccessDenied, errors_PublicDeploymentFailed as PublicDeploymentFailed, errors_PublicDeploymentLimitExceeded as PublicDeploymentLimitExceeded, errors_PublicDiffInvalidPathPattern as PublicDiffInvalidPathPattern, errors_PublicDiffInvalidRegex as PublicDiffInvalidRegex, errors_PublicDirectoryCreationFailed as PublicDirectoryCreationFailed, errors_PublicDomainAlreadyExists as PublicDomainAlreadyExists, errors_PublicDomainMappingError as PublicDomainMappingError, errors_PublicDomainOwnershipError as PublicDomainOwnershipError, errors_PublicDomainOwnershipNotVerified as PublicDomainOwnershipNotVerified, errors_PublicDownloadFailed as PublicDownloadFailed, errors_PublicEntrypointNotFound as PublicEntrypointNotFound, errors_PublicErrorCreatingRecord as PublicErrorCreatingRecord, errors_PublicErrorDeletingRecord as PublicErrorDeletingRecord, errors_PublicExecuteInternalError as PublicExecuteInternalError, errors_PublicExecutionError as PublicExecutionError, errors_PublicFailedInsertDomainMapping as PublicFailedInsertDomainMapping, errors_PublicFailedPermissionsCheck as PublicFailedPermissionsCheck, errors_PublicFailedRemoveDomainMapping as PublicFailedRemoveDomainMapping, errors_PublicFailedToCheckDomainMappingPermissions as PublicFailedToCheckDomainMappingPermissions, errors_PublicFailedToCheckPermissions as PublicFailedToCheckPermissions, errors_PublicFailedToCreateVerificationCode as PublicFailedToCreateVerificationCode, errors_PublicFailedToDeleteVerification as PublicFailedToDeleteVerification, errors_PublicFailedToInsertDomainMapping as PublicFailedToInsertDomainMapping, errors_PublicFailedToInsertOwnership as PublicFailedToInsertOwnership, errors_PublicFailedToListDomains as PublicFailedToListDomains, errors_PublicFailedToListVerifications as PublicFailedToListVerifications, errors_PublicFailedToProvisionCertificate as PublicFailedToProvisionCertificate, errors_PublicFailedToProvisionCertificateForMapping as PublicFailedToProvisionCertificateForMapping, errors_PublicFailedToVerifyDomain as PublicFailedToVerifyDomain, errors_PublicFileNotFound as PublicFileNotFound, errors_PublicFilenameInvalidPattern as PublicFilenameInvalidPattern, errors_PublicFilesBadRequest as PublicFilesBadRequest, errors_PublicForkVmNotFound as PublicForkVmNotFound, errors_PublicGetContentFailed as PublicGetContentFailed, errors_PublicGetPermissionFailed as PublicGetPermissionFailed, errors_PublicGetRepositoryInfoFailed as PublicGetRepositoryInfoFailed, errors_PublicGitHubSyncFailed as PublicGitHubSyncFailed, errors_PublicGitInvalidRequest as PublicGitInvalidRequest, errors_PublicGitServerError as PublicGitServerError, errors_PublicGrantPermissionFailed as PublicGrantPermissionFailed, errors_PublicGroupAlreadyExists as PublicGroupAlreadyExists, errors_PublicIdentityError as PublicIdentityError, errors_PublicImportSubdirNotFound as PublicImportSubdirNotFound, errors_PublicInternalForkVmNotFound as PublicInternalForkVmNotFound, errors_PublicInternalVmNotFound as PublicInternalVmNotFound, errors_PublicInvalid as PublicInvalid, errors_PublicInvalidAccountId as PublicInvalidAccountId, errors_PublicInvalidBase64Content as PublicInvalidBase64Content, errors_PublicInvalidDeploymentRequest as PublicInvalidDeploymentRequest, errors_PublicInvalidDomain as PublicInvalidDomain, errors_PublicInvalidDomains as PublicInvalidDomains, errors_PublicInvalidFileChange as PublicInvalidFileChange, errors_PublicInvalidFilePath as PublicInvalidFilePath, errors_PublicInvalidPathPattern as PublicInvalidPathPattern, errors_PublicInvalidQuery as PublicInvalidQuery, errors_PublicInvalidRange as PublicInvalidRange, errors_PublicInvalidRegex as PublicInvalidRegex, errors_PublicInvalidRevision as PublicInvalidRevision, errors_PublicInvalidVmId as PublicInvalidVmId, errors_PublicLimitExceeded as PublicLimitExceeded, errors_PublicListIdentitiesFailed as PublicListIdentitiesFailed, errors_PublicListPermissionsFailed as PublicListPermissionsFailed, errors_PublicListRepositoriesFailed as PublicListRepositoriesFailed, errors_PublicListRunsFailed as PublicListRunsFailed, errors_PublicListTokensFailed as PublicListTokensFailed, errors_PublicLockGenerationFailed as PublicLockGenerationFailed, errors_PublicLockfileError as PublicLockfileError, errors_PublicLoggingFailed as PublicLoggingFailed, errors_PublicLogsNotFound as PublicLogsNotFound, errors_PublicMetadataWriteFailed as PublicMetadataWriteFailed, errors_PublicNetworkPermissionsFailed as PublicNetworkPermissionsFailed, errors_PublicNoDomainOwnership as PublicNoDomainOwnership, errors_PublicNodeModulesDownloadFailed as PublicNodeModulesDownloadFailed, errors_PublicNodeModulesInstallFailed as PublicNodeModulesInstallFailed, errors_PublicNotFound as PublicNotFound, errors_PublicObservabilityAccessDenied as PublicObservabilityAccessDenied, errors_PublicObservabilityDatabaseError as PublicObservabilityDatabaseError, errors_PublicParentNotFound as PublicParentNotFound, errors_PublicParseLogsFailed as PublicParseLogsFailed, errors_PublicParseResponseError as PublicParseResponseError, errors_PublicPathNotFound as PublicPathNotFound, errors_PublicPermissionDenied as PublicPermissionDenied, errors_PublicPermissionError as PublicPermissionError, errors_PublicProjectNotFound as PublicProjectNotFound, errors_PublicRecordOwnershipError as PublicRecordOwnershipError, errors_PublicReferenceNotFound as PublicReferenceNotFound, errors_PublicRepoAlreadyExists as PublicRepoAlreadyExists, errors_PublicRepositoryNotFound as PublicRepositoryNotFound, errors_PublicResizeFailed as PublicResizeFailed, errors_PublicRestoreFailed as PublicRestoreFailed, errors_PublicRetrieveLogsFailed as PublicRetrieveLogsFailed, errors_PublicRevokePermissionFailed as PublicRevokePermissionFailed, errors_PublicRevokeTokenFailed as PublicRevokeTokenFailed, errors_PublicRunNotFound as PublicRunNotFound, errors_PublicRuntimeError as PublicRuntimeError, errors_PublicSerializationError as PublicSerializationError, errors_PublicServiceAlreadyExists as PublicServiceAlreadyExists, errors_PublicSnapshotAlreadyDeleted as PublicSnapshotAlreadyDeleted, errors_PublicSnapshotIsAccountDefault as PublicSnapshotIsAccountDefault, errors_PublicSnapshotLimitExceeded as PublicSnapshotLimitExceeded, errors_PublicSnapshotNotFound as PublicSnapshotNotFound, errors_PublicSnapshotSetupFailed as PublicSnapshotSetupFailed, errors_PublicSnapshotVmBadRequest as PublicSnapshotVmBadRequest, errors_PublicSourceNotFound as PublicSourceNotFound, errors_PublicSourceUnauthorized as PublicSourceUnauthorized, errors_PublicTagNotFound as PublicTagNotFound, errors_PublicTimeoutLimitExceeded as PublicTimeoutLimitExceeded, errors_PublicTokenError as PublicTokenError, errors_PublicTotalVmLimitExceeded as PublicTotalVmLimitExceeded, errors_PublicTreeNotFound as PublicTreeNotFound, errors_PublicTriggerError as PublicTriggerError, errors_PublicUnsupportedTransfer as PublicUnsupportedTransfer, errors_PublicUpdateDefaultBranchFailed as PublicUpdateDefaultBranchFailed, errors_PublicUpdatePermissionFailed as PublicUpdatePermissionFailed, errors_PublicUserAlreadyExists as PublicUserAlreadyExists, errors_PublicVerificationFailed as PublicVerificationFailed, errors_PublicVerificationNotFound as PublicVerificationNotFound, errors_PublicVmAccessDeniedForMapping as PublicVmAccessDeniedForMapping, errors_PublicVmLimitExceeded as PublicVmLimitExceeded, errors_PublicWebDeploymentBadRequest as PublicWebDeploymentBadRequest, errors_PublicWriteScriptFailed as PublicWriteScriptFailed, errors_ServiceLog as ServiceLog, errors_ServiceStateGroup as ServiceStateGroup, errors_SnapshotId as SnapshotId, errors_UnauthorizedErrorPublic as UnauthorizedErrorPublic, errors_VmId as VmId, errors_VmNotFoundPublic as VmNotFoundPublic, errors_VmOperationDeniedDuringTransactionPublic as VmOperationDeniedDuringTransactionPublic, errors_VmSetupFailedPublic as VmSetupFailedPublic, errors_VmTransactionIdMismatchPublic as VmTransactionIdMismatchPublic }; } /** * Domain verifications namespace. */ declare class DomainVerificationsNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create a domain verification request. */ create({ domain }: { domain: string; }): Promise<{ verificationId: string; instructions: string; record: { type: string; name: string; value: string; }; }>; /** * Complete a domain verification by domain or verification ID. */ complete(options: { domain: string; } | { verificationId: string; }): Promise; /** * List domain verification requests. */ list(): Promise; /** * Cancel a domain verification request. */ cancel({ domain, verificationCode, }: { domain: string; verificationCode: string; }): Promise; } /** * Domain certificates namespace. */ declare class DomainCertificatesNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Provision a wildcard certificate for a domain. */ createWildcard({ domain, }: { domain: string; }): Promise; } /** * Domain mappings namespace. */ declare class DomainMappingsNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create a domain mapping to a deployment. */ create(mapping: { domain: string; } & ({ deploymentId: string; } | { vmId: string; vmPort: number; })): Promise; /** * Delete a domain mapping. */ delete({ domain, }: { domain: string; }): Promise; /** * List domain mappings. */ list({ domain, domainOwnership, limit, cursor, }?: { domain?: string; domainOwnership?: string; limit?: number; cursor?: string; }): Promise<{ mappings: ResponseGetDomainsV1Mappings200; }>; } /** * Domains namespace. */ declare class DomainsNamespace { private apiClient; readonly verifications: DomainVerificationsNamespace; readonly certificates: DomainCertificatesNamespace; readonly mappings: DomainMappingsNamespace; constructor(apiClient: ApiClient); /** * List verified domains. */ list({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise; } /** * A single matching line within a file, including surrounding context. */ interface GitSearchLineMatch { /** 1-based line number of the match. */ lineNumber: number; /** The full text of the matching line. */ line: string; /** 0-based column offset of the first match in the line. */ startColumn: number; /** 0-based column offset of the end of the first match in the line. */ endColumn: number; /** Context lines before the match. */ contextBefore: string[]; /** Context lines after the match. */ contextAfter: string[]; } /** * Search results for a single file. */ interface GitSearchFileResult { /** The file path relative to the repository root. */ path: string; /** The file extension (e.g. "rs", "ts"), if any. */ extension: string | null; /** The file size in bytes. */ size: number; /** The matches found in this file. */ matches: GitSearchLineMatch[]; } /** * Full-text search results across a repository. */ interface GitSearchResult { /** Total number of files with matches (before pagination). */ totalFiles: number; /** Total number of individual line matches across all files (before pagination). */ totalMatches: number; /** Whether there are more results beyond the current page. */ hasMore: boolean; /** The matching files with their line matches. */ files: GitSearchFileResult[]; } /** * A file entry returned from filename search. */ interface GitFilenameEntry { /** The full file path relative to the repository root. */ path: string; /** The file extension (e.g. "rs", "ts"), if any. */ extension: string | null; /** The file size in bytes. */ size: number; } /** * Filename search results. */ interface GitFilenameSearchResult { /** Total number of matching files. */ totalFiles: number; /** Whether there are more results beyond those returned. */ hasMore: boolean; /** The matching file entries. */ files: GitFilenameEntry[]; } /** * A commit entry returned from commit message search. */ interface GitCommitSearchEntry { /** The commit SHA. */ sha: string; /** The commit message (first line / summary). */ message: string; /** The full commit message. */ fullMessage: string; /** The author name. */ authorName: string; /** The author email. */ authorEmail: string; /** The commit timestamp (ISO 8601). */ timestamp: string; } /** * Commit message search results. */ interface GitCommitSearchResult { /** Total number of matching commits found. */ totalCommits: number; /** Whether there are more results beyond those returned. */ hasMore: boolean; /** The matching commits. */ commits: GitCommitSearchEntry[]; } /** * A line that was added or changed in a diff that matched the search query. */ interface GitDiffLineMatch { /** The matched line content. */ line: string; /** 1-based line number in the new file (for additions) or old file (for deletions). */ lineNumber: number; /** 0-based byte offset of the match start within the line. */ startColumn: number; /** 0-based byte offset of the match end within the line. */ endColumn: number; /** Whether this was an added line (true) or a deleted line (false). */ isAddition: boolean; } /** * A file within a commit that contained matching changed content. */ interface GitDiffFileMatch { /** The file path relative to the repository root. */ path: string; /** The matching lines in the diff for this file. */ matches: GitDiffLineMatch[]; } /** * A commit that contained matching diff content. */ interface GitDiffSearchCommit { /** The commit SHA. */ sha: string; /** The commit message summary (first line). */ message: string; /** The author name. */ authorName: string; /** The author email. */ authorEmail: string; /** The commit timestamp (ISO 8601). */ timestamp: string; /** Files in this commit with matching changed content. */ files: GitDiffFileMatch[]; } /** * Diff content search results. */ interface GitDiffSearchResult { /** Total number of commits with matching changes (before pagination). */ totalCommits: number; /** Whether there are more results beyond the current page. */ hasMore: boolean; /** The matching commits with their file-level diff matches. */ commits: GitDiffSearchCommit[]; } /** * Namespace for managing branches within a Git repository. * * Provides methods to list branches, get branch details, create branches, and manage the default branch. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // List all branches * const branches = await repo.branches.list(); * * // Create a new branch from the default branch * const { name, sha } = await repo.branches.create({ * name: "feature/something" * }); * * // Get the default branch * const { defaultBranch } = await repo.branches.getDefaultBranch(); * ``` */ declare class GitRepoBranchesNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * Get the default branch for this repository. */ getDefaultBranch(): Promise; /** * Set the default branch for this repository. */ setDefaultBranch({ defaultBranch, }: { defaultBranch: string; }): Promise; /** * List all branches in this repository. */ list(): Promise; /** * Get a specific branch by name. */ get({ branchName, }: { branchName: string; }): Promise; /** * Create a new branch. * * If no SHA is provided, the branch will be created from the default branch. * * @param name - The name of the branch to create * @param sha - Optional commit SHA to branch from. If not provided, branches from the default branch. * * @example * ```ts * // Create a branch from the default branch * const newBranch = await repo.branches.create({ * name: "feature/something" * }); * * // Create a branch from a specific commit * const newBranch = await repo.branches.create({ * name: "feature-xyz", * sha: "abc123..." * }); * ``` */ create({ name, sha, }: { name: string; sha?: string; }): Promise; } /** * Namespace for managing GitHub synchronization for a repository. * * Enables bidirectional sync between a Freestyle Git repository and a GitHub repository. * When enabled, pushes to either repository are automatically synced to the other. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Enable sync with a GitHub repository * await repo.githubSync.enable({ githubRepoName: "owner/repo" }); * * // Check sync status * const config = await repo.githubSync.get(); * * // Disable sync * await repo.githubSync.disable(); * ``` */ declare class GitRepoGitHubSyncNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * Get the GitHub sync configuration for this repository. * Returns null if GitHub sync is not configured. */ get(): Promise; /** * Enable GitHub sync for this repository. */ enable({ githubRepoName }: { githubRepoName: string; }): Promise; /** * Disable GitHub sync for this repository. */ disable(): Promise; } /** * Namespace for managing Git triggers (webhooks) for a repository. * * Triggers allow you to receive webhook notifications when events occur in your * repository, such as pushes to specific branches or changes to specific files. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Create a trigger for push events on main branch * const { triggerId } = await repo.triggers.create({ * trigger: { event: "push", branch: ["main"] }, * action: { type: "webhook", url: "https://your-webhook-url.com" } * }); * * // List all triggers * const triggers = await repo.triggers.list(); * * // Delete a trigger * await repo.triggers.delete({ triggerId }); * ``` */ declare class GitRepoTriggersNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * List git triggers for this repository. */ list(): Promise; /** * Create a git trigger for this repository. */ create({ trigger, action, }: { trigger: PostGitV1RepoRepoTriggerRequestBody["trigger"]; action: PostGitV1RepoRepoTriggerRequestBody["action"]; }): Promise<{ triggerId: string; }>; /** * Delete a git trigger. */ delete({ triggerId, }: { triggerId: string; }): Promise; } /** * Namespace for accessing blob objects in the Git object database. * * Blobs represent the raw content of files in Git. Content is returned base64-encoded. * * This is a low-level API for working with Git objects directly. For most use cases, * you'll want to use the higher-level `contents` API. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Get a blob by its SHA hash * const blob = await repo.odb.blobs.get({ sha: "abc123..." }); * const content = atob(blob.content); // Decode base64 content * ``` */ declare class GitRepoOdbBlobsNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); get({ sha, }: { sha: string; }): Promise; } /** * Namespace for accessing tree objects in the Git object database. * * Trees represent directories in Git. Each tree contains entries pointing to * blobs (files) or other trees (subdirectories). * * This is a low-level API for working with Git objects directly. For most use cases, * you'll want to use the higher-level `contents` API. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Get a tree by its SHA hash * const tree = await repo.odb.trees.get({ sha: "def456..." }); * for (const entry of tree.tree) { * console.log(`${entry.type}: ${entry.path}`); * } * ``` */ declare class GitRepoOdbTreesNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); get({ sha, }: { sha: string; }): Promise; } /** * Namespace for accessing repository contents. * * Provides methods to retrieve file and directory contents at specific revisions, * and download repository archives as tarball or zip. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Get file contents at HEAD * const file = await repo.contents.get({ path: "README.md" }); * const content = atob(file.content); * * // Get contents at a specific commit * const file = await repo.contents.get({ * path: "src/index.ts", * rev: "abc123..." * }); * * // Get directory listing * const dir = await repo.contents.get({ path: "src" }); * * // Download as tarball * const tarball = await repo.contents.downloadTarball({ rev: "main" }); * * // Download as zip * const zip = await repo.contents.downloadZip({ rev: "main" }); * ``` */ declare class GitRepoContentsNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * Get the contents of a file or directory at a specific path and revision. * * @param path - The path to the file or directory (empty string for root) * @param rev - The revision (branch, tag, or commit SHA) to get contents from * @returns File contents (base64 encoded) or directory listing */ get({ path, rev, }?: { path?: string; /** * The revision (branch, tag, or commit SHA) to get contents from. */ rev?: string; }): Promise; /** * Download repository contents as a tarball archive. * * @param rev - The revision (branch, tag, or commit SHA) to download * @returns The tarball as an ArrayBuffer * * @example * ```ts * const tarball = await repo.contents.downloadTarball({ rev: "main" }); * await fs.writeFile("repo.tar", Buffer.from(tarball)); * ``` */ downloadTarball({ rev, }?: { /** * The revision (branch, tag, or commit SHA) to download. */ rev?: string; }): Promise; /** * Download repository contents as a zip archive. * * @param rev - The revision (branch, tag, or commit SHA) to download * @returns The zip file as an ArrayBuffer * * @example * ```ts * const zip = await repo.contents.downloadZip({ rev: "main" }); * await fs.writeFile("repo.zip", Buffer.from(zip)); * ``` */ downloadZip({ rev, }?: { /** * The revision (branch, tag, or commit SHA) to download. */ rev?: string; }): Promise; } /** * Namespace for accessing commits in a Git repository. * * Provides methods to retrieve individual commits by SHA, list commits, * and create new commits with files. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Get a specific commit * const commit = await repo.commits.get({ sha: "abc123..." }); * console.log(commit.message); * console.log(commit.author.name); * * // List recent commits * const commits = await repo.commits.list(); * * // Create a new commit * const { commit } = await repo.commits.create({ * message: "Add new feature", * branch: "main", * files: [ * { path: "src/feature.ts", content: "..." } * ] * }); * ``` */ declare class GitRepoCommitsNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * Get a specific commit by SHA. */ get({ sha, }: { sha: string; }): Promise; /** * List commits in this repository with optional filtering. */ list({ branch, limit, order, since, until, offset, }?: { /** * List commits from a specific branch. */ branch?: string; /** * Maximum number of commits to return (default 50, max 500). */ limit?: number; /** * Sort order: "desc" (newest first, default) or "asc" (oldest first) */ order?: "asc" | "desc"; /** * Start point (older commit) for filtering/pagination (commit SHA) * - When used alone with order=desc: Returns commits newer than this (exclusive). Use for "what's new since X?" * - When used alone with order=asc: Starts from this commit (inclusive). Use with next_commit for pagination. * - When used with `until`: Defines the base of a range (like git's A..B where this is A) */ since?: string; /** * End point (newer commit) for filtering/pagination (commit SHA) * - When used alone with order=desc: Starts from this commit (inclusive). Use with next_commit for pagination. * - When used alone with order=asc: Returns commits up to and including this commit. * - When used with `since`: Defines the head of a range (like git's A..B where this is B) * * When both `since` and `until` are provided, `until` must be a descendant of `since`. */ until?: string; /** * Number of commits to skip (default 0). * * @deprecated Use `since`/`until` to specify the starting point for commits. */ offset?: number; }): Promise; /** * Create a new commit with files. * * Supports text files (UTF-8) and binary files (base64-encoded). * Files can be added, modified, or deleted. * Includes optimistic concurrency control via `expectedSha` to prevent race conditions. * * @example * ```ts * // Create a commit with text files * const { commit } = await repo.commits.create({ * message: "Initial commit", * branch: "main", * files: [ * { path: "README.md", content: "# My Project" }, * { path: "src/index.ts", content: "console.log('Hello!');" } * ], * author: { name: "John Doe", email: "john@example.com" } * }); * * // Create a commit with a binary file (base64-encoded) * const imageBuffer = await fs.readFile("image.png"); * const base64Image = imageBuffer.toString("base64"); * await repo.commits.create({ * message: "Add logo", * branch: "main", * files: [ * { path: "assets/logo.png", content: base64Image, encoding: "base64" } * ] * }); * * // Delete a file * await repo.commits.create({ * message: "Remove deprecated file", * branch: "main", * files: [ * { path: "old/deprecated.ts", deleted: true } * ] * }); * * // Use optimistic concurrency control (CAS) * const branchInfo = await repo.branches.get({ name: "main" }); * await repo.commits.create({ * message: "Update with CAS", * branch: "main", * files: [{ path: "version.txt", content: "2.0.0" }], * expectedSha: branchInfo.commit.sha // Will fail if branch tip changed * }); * ``` */ create({ message, files, branch, author, expectedSha, }: { /** * The commit message */ message: string; /** * Files to add, modify, or delete in this commit */ files: Array<{ /** * The file path (e.g., "src/index.ts") */ path: string; /** * The file content (UTF-8 text or base64-encoded binary). */ content: string; /** * The encoding of the content. Defaults to "utf8". * Use "base64" for binary files. */ encoding?: "utf8" | "base64"; /** * Must be undefined when content is provided */ deleted?: never; } | { /** * The file path (e.g., "src/index.ts") */ path: string; /** * Must be undefined when deleted is true */ content?: never; /** * Must be undefined when deleted is true */ encoding?: never; /** * Delete this file */ deleted: true; }>; /** * The branch to commit to (e.g., "main"). * If not provided, commits to the default branch. * If the branch does not exist, it is created as an orphan branch with this commit as its root. */ branch?: string; /** * Optional author information */ author?: { name: string; email: string; }; /** * Optional expected SHA for optimistic concurrency control (CAS). * If provided, the commit will only be created if the current branch tip * matches this SHA. This prevents race conditions when multiple * commits are being created concurrently. Returns a 409 Conflict error if the check fails. */ expectedSha?: string; }): Promise; } /** * Namespace for accessing tags in a Git repository. * * Provides methods to list tags, get tag references by name, and retrieve * annotated tag objects by their SHA. * * @example * ```ts * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // List all tags * const tags = await repo.tags.list(); * * // Get a tag by name * const tag = await repo.tags.get({ tagName: "v1.0.0" }); * * // Get an annotated tag object by SHA * const tagObject = await repo.tags.getByHash({ sha: "abc123..." }); * ``` */ declare class GitRepoTagsNamespace { private repoId; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * List all tags in this repository. */ list(): Promise; /** * Get a tag by name. */ get({ tagName, }: { tagName: string; }): Promise; /** * Get an annotated tag object by its SHA. */ getByHash({ sha, }: { sha: string; }): Promise; } /** * Represents a Freestyle Git repository. * * Provides access to repository contents, branches, commits, tags, triggers, * and GitHub sync configuration through nested namespaces. * * @example * ```ts * // Get a reference to an existing repository * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Access repository contents * const file = await repo.contents.get({ path: "src/index.ts", rev: "main" }); * const content = atob(file.content); * * // Compare two commits * const diff = await repo.compare({ base: "main", head: "feature-branch" }); * * // Access nested namespaces * const branches = await repo.branches.list(); * const commits = await repo.commits.list(); * ``` */ declare class GitRepo { readonly repoId: string; /** * Manage branches in this repository. * * @example * ```ts * // List all branches * const branches = await repo.branches.list(); * * // Get a specific branch * const main = await repo.branches.get({ branchName: "main" }); * * // Get/set default branch * const { defaultBranch } = await repo.branches.getDefaultBranch(); * await repo.branches.setDefaultBranch({ defaultBranch: "develop" }); * ``` */ readonly branches: GitRepoBranchesNamespace; /** * Access repository contents (files and directories). * * @example * ```ts * // Get file contents * const file = await repo.contents.get({ path: "README.md" }); * const content = atob(file.content); * * // Get contents at a specific commit/branch/tag * const file = await repo.contents.get({ * path: "src/index.ts", * rev: "main" * }); * * // Get directory listing * const dir = await repo.contents.get({ path: "src" }); * * // Download repository as tarball or zip * const tarball = await repo.contents.downloadTarball({ rev: "main" }); * const zip = await repo.contents.downloadZip({ rev: "main" }); * ``` */ readonly contents: GitRepoContentsNamespace; /** * Access commits in this repository. * * @example * ```ts * // Get a specific commit by SHA * const commit = await repo.commits.get({ sha: "abc123..." }); * console.log(commit.message); * console.log(commit.author.name); * * // List recent commits * const commits = await repo.commits.list(); * ``` */ readonly commits: GitRepoCommitsNamespace; /** * Access tags in this repository. * * @example * ```ts * // List all tags * const tags = await repo.tags.list(); * * // Get a tag by name * const tag = await repo.tags.get({ tagName: "v1.0.0" }); * * // Get an annotated tag object by SHA * const tagObject = await repo.tags.getByHash({ sha: "abc123..." }); * ``` */ readonly tags: GitRepoTagsNamespace; /** * Manage webhook triggers for this repository. * * Triggers send HTTP POST requests to your URL when events occur, * such as pushes to specific branches or changes to specific files. * * @example * ```ts * // Create a trigger for pushes to main * const { triggerId } = await repo.triggers.create({ * trigger: { event: "push", branch: ["main"] }, * action: { type: "webhook", url: "https://your-server.com/webhook" } * }); * * // List all triggers * const triggers = await repo.triggers.list(); * * // Delete a trigger * await repo.triggers.delete({ triggerId }); * ``` */ readonly triggers: GitRepoTriggersNamespace; /** * Manage GitHub synchronization for this repository. * * When enabled, pushes to either your Freestyle repository or the linked * GitHub repository are automatically synced to the other. * * @example * ```ts * // Enable sync with a GitHub repository * await repo.githubSync.enable({ githubRepoName: "owner/repo" }); * * // Check sync configuration * const config = await repo.githubSync.get(); * * // Disable sync * await repo.githubSync.disable(); * ``` */ readonly githubSync: GitRepoGitHubSyncNamespace; /** * Access blob objects in the Git object database. * * Blobs represent raw file contents. Content is returned base64-encoded * for binary safety. * * @example * ```ts * // Get a blob by its SHA hash * const blob = await repo.blobs.get({ sha: "abc123..." }); * * // Decode the base64 content * const content = atob(blob.content); * console.log(content); * ``` */ readonly blobs: GitRepoOdbBlobsNamespace; /** * Access tree objects in the Git object database. * * Trees represent directories in Git. Each tree contains entries * pointing to blobs (files) or other trees (subdirectories). * * @example * ```ts * // Get the root tree from a commit * const commit = await repo.commits.get({ sha: "abc123..." }); * const tree = await repo.trees.get({ sha: commit.tree.sha }); * * // Iterate over entries * for (const entry of tree.tree) { * if (entry.type === "blob") { * console.log(`File: ${entry.path}`); * } else { * console.log(`Directory: ${entry.path}`); * } * } * ``` */ readonly trees: GitRepoOdbTreesNamespace; private apiClient; constructor({ repoId, apiClient }: { repoId: string; apiClient: ApiClient; }); /** * Compare two revs in this repository. * * Head and base can be branch names, tags, or commit SHAs. */ compare({ base, head, }: { base: string; head: string; }): Promise; /** * Full-text search across all files in this repository. * * Walks the entire tree at the given revision and searches each text file * for the query string, returning matching lines with context. * * @param query - The text to search for in file contents * @param rev - The revision (branch, tag, or commit SHA) to search. Defaults to HEAD. * @param pathPattern - Optional glob pattern to filter file paths (e.g. "*.ts", "src/**") * @param maxResults - Maximum number of matching files to return (default 100, max 1000) * @param caseSensitive - Whether to perform a case-sensitive search (default false) * * @example * ```ts * // Search for a string across the whole repo * const results = await repo.search({ query: "TODO" }); * console.log(`Found ${results.totalMatches} matches in ${results.totalFiles} files`); * * // Search only TypeScript files on a specific branch * const results = await repo.search({ * query: "handleRequest", * rev: "main", * pathPattern: "**\/*.ts", * }); * * // Case-sensitive search * const results = await repo.search({ * query: "MyClass", * caseSensitive: true, * }); * * for (const file of results.files) { * console.log(`${file.path}:`); * for (const match of file.matches) { * console.log(` L${match.lineNumber}: ${match.line}`); * } * } * ``` */ search({ query, rev, pathPattern, excludePattern, maxResults, caseSensitive, isRegex, wholeWord, offset, }: { /** The search query string. */ query: string; /** Git ref to search (branch, tag, or commit SHA). Defaults to HEAD. */ rev?: string; /** Glob pattern to filter file paths (e.g. "*.rs", "src/**"). */ pathPattern?: string; /** Glob pattern to exclude file paths (e.g. "*.lock", "node_modules/**"). */ excludePattern?: string; /** Maximum number of file results to return (default 50). */ maxResults?: number; /** Whether the search is case-sensitive (default false). */ caseSensitive?: boolean; /** Treat the query as a regular expression. */ isRegex?: boolean; /** Match whole words only. */ wholeWord?: boolean; /** Offset for pagination (number of file results to skip). */ offset?: number; }): Promise; /** * Search for files by name or path pattern. * * @example * ```ts * const result = await repo.searchFiles({ query: "main" }); * for (const file of result.files) { * console.log(`${file.path} (${file.size} bytes)`); * } * ``` */ searchFiles({ query, rev, pathPattern, excludePattern, maxResults, caseSensitive, isRegex, offset, }: { /** The filename/path query string. */ query: string; /** Git ref to search (branch, tag, or commit SHA). Defaults to HEAD. */ rev?: string; /** Glob pattern to filter file paths. */ pathPattern?: string; /** Glob pattern to exclude file paths. */ excludePattern?: string; /** Maximum number of results to return (default 100). */ maxResults?: number; /** Whether the search is case-sensitive (default false). */ caseSensitive?: boolean; /** Treat the query as a regular expression. */ isRegex?: boolean; /** Offset for pagination. */ offset?: number; }): Promise; /** * Search commit messages. * * @example * ```ts * const result = await repo.searchCommits({ query: "fix bug" }); * for (const commit of result.commits) { * console.log(`${commit.sha.slice(0, 7)} ${commit.message}`); * } * ``` */ searchCommits({ query, rev, maxResults, caseSensitive, isRegex, offset, }: { /** The commit message query string. */ query: string; /** Git ref to start searching from (default HEAD). */ rev?: string; /** Maximum number of results to return (default 50). */ maxResults?: number; /** Whether the search is case-sensitive (default false). */ caseSensitive?: boolean; /** Treat the query as a regular expression. */ isRegex?: boolean; /** Offset for pagination. */ offset?: number; }): Promise; /** * Search file content changes across commits (git log -S/-G equivalent). * * Returns commits where matching content was added or removed, along with * the specific changed lines and which files they were in. * * @example * ```ts * const result = await repo.searchDiffs({ query: "TODO" }); * for (const commit of result.commits) { * console.log(`${commit.sha.slice(0, 7)} ${commit.message}`); * for (const file of commit.files) { * for (const match of file.matches) { * const prefix = match.isAddition ? "+" : "-"; * console.log(` ${file.path}:${match.lineNumber} ${prefix} ${match.line}`); * } * } * } * ``` */ searchDiffs({ query, rev, pathPattern, excludePattern, maxResults, caseSensitive, isRegex, wholeWord, offset, }: { /** The search query string. */ query: string; /** Git ref to start searching from (default HEAD). */ rev?: string; /** Glob pattern to filter file paths (e.g. "*.rs", "src/**"). */ pathPattern?: string; /** Glob pattern to exclude file paths (e.g. "*.lock", "node_modules/**"). */ excludePattern?: string; /** Maximum number of commit results to return (default 100). */ maxResults?: number; /** Whether the search is case-sensitive (default false). */ caseSensitive?: boolean; /** Treat the query as a regular expression. */ isRegex?: boolean; /** Match whole words only. */ wholeWord?: boolean; /** Offset for pagination (number of commit results to skip). */ offset?: number; }): Promise; } /** * Namespace for managing Git repositories. * * Provides methods to create, list, delete, and get references to repositories. * * @example * ```ts * // Create a new empty repository * const { repoId, repo } = await freestyle.git.repos.create({}); * * // Create a repository from a GitHub URL * const { repo } = await freestyle.git.repos.create({ * source: { url: "https://github.com/owner/repo" } * }); * * // List repositories * const repos = await freestyle.git.repos.list({ limit: 10 }); * * // Get a reference to an existing repository * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Delete a repository * await freestyle.git.repos.delete({ repoId: "your-repo-id" }); * ``` */ declare class GitReposNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create a new git repository. */ create({ ...body }: PostGitV1RepoRequestBody): Promise<{ repoId: string; repo: GitRepo; }>; /** * List git repositories. */ list({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise; /** * Get a repository instance by ID. */ ref({ repoId }: { repoId: string; }): GitRepo; /** * Delete a git repository. */ delete({ repoId, }: { repoId: string; }): Promise; } /** * Root namespace for Freestyle Git operations. * * Freestyle Git provides multi-tenant Git repository hosting with a full API, * bidirectional GitHub sync, webhook triggers, and fine-grained access control. * * @example * ```ts * import { freestyle } from "freestyle-sandboxes"; * * // Access the Git namespace * const git = freestyle.git; * * // Create a new repository * const { repoId, repo } = await git.repos.create({}); * * // Clone from an existing Git URL * const { repo } = await git.repos.create({ * source: { url: "https://github.com/owner/repo" } * }); * * // Work with an existing repository * const repo = git.repos.ref({ repoId: "your-repo-id" }); * const contents = await repo.contents.get({ path: "README.md" }); * ``` */ declare class GitNamespace { private apiClient; private freestyle?; /** * Manage Git repositories. * * Create, list, delete, and get references to repositories. * * @example * ```ts * // Create a new empty repository * const { repoId, repo } = await freestyle.git.repos.create({}); * * // Create from a GitHub URL * const { repo } = await freestyle.git.repos.create({ * source: { url: "https://github.com/owner/repo" } * }); * * // List repositories * const repos = await freestyle.git.repos.list({ limit: 10 }); * * // Get a reference to an existing repository * const repo = freestyle.git.repos.ref({ repoId: "your-repo-id" }); * * // Delete a repository * await freestyle.git.repos.delete({ repoId: "your-repo-id" }); * ``` */ readonly repos: GitReposNamespace; constructor(apiClient: ApiClient, freestyle?: any | undefined); } declare class Identity { readonly identityId: string; permissions: IdentityPermissions; tokens: IdentityTokens; private apiClient; constructor({ identityId, apiClient, }: { identityId: string; apiClient: ApiClient; }); } declare class IdentityTokens { private identityId; private apiClient; constructor({ identityId, apiClient, }: { identityId: string; apiClient: ApiClient; }); /** * Create a new access token for this identity. */ create(): Promise<{ tokenId: string; token: string; }>; /** * Revoke an access token. */ revoke({ tokenId, }: { tokenId: string; }): Promise; /** * List access tokens for this identity. */ list(): Promise; } declare class IdentityPermissions { git: GitPermissions; vms: VmPermissions; private identityId; private apiClient; constructor({ identityId, apiClient, }: { identityId: string; apiClient: ApiClient; }); } declare class GitPermissions { private identityId; private apiClient; constructor({ identityId, apiClient, }: { identityId: string; apiClient: ApiClient; }); /** * List all git repository access permissions for this identity. */ list({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise; /** * Get this identity's permission level for a specific repository. */ get({ repoId, }: { repoId: string; }): Promise; /** * Update this identity's access to a repository. */ update({ repoId, permission, }: { repoId: string; permission: PutIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody["permission"]; }): Promise; /** * Grant this identity access to a repository. */ grant({ repoId, permission, }: { repoId: string; permission: PostIdentityV1IdentitiesIdentityPermissionsGitRepoRequestBody["permission"]; }): Promise; /** * Revoke this identity's access to a repository. */ revoke({ repoId, }: { repoId: string; }): Promise; } declare class VmPermissions { private identityId; private apiClient; constructor({ identityId, apiClient, }: { identityId: string; apiClient: ApiClient; }); /** * List all VM access permissions for this identity. */ list({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise; /** * Get this identity's permission level for a specific VM. */ get({ vmId, }: { vmId: string; }): Promise; /** * Update this identity's access to a VM. */ update({ vmId, allowedUsers, }: { vmId: string; allowedUsers?: string[] | null; }): Promise; /** * Grant this identity access to a VM. */ grant({ vmId, allowedUsers, }: { vmId: string; allowedUsers?: string[] | null; }): Promise; /** * Revoke this identity's access to a VM. */ revoke({ vmId, }: { vmId: string; }): Promise; } declare class IdentitiesNamespace { private apiClient; constructor(apiClient: ApiClient); /** * List all identities. */ list({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise; /** * Create a new identity. * Identities are global entities that can be granted permissions to access git repositories and VMs. */ create({}?: {}): Promise<{ identityId: string; identity: Identity; }>; /** * Create an identity instance by ID without making an api call. */ ref({ identityId }: { identityId: string; }): Identity; /** * Delete an identity. */ delete({ identityId, }: { identityId: string; }): Promise; } /** * DNS records namespace. */ declare class DnsRecordsNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create DNS records. */ create({ ...body }: PostDnsV1RecordsRequestBody): Promise; /** * List DNS records. */ list({ ...query }?: GetDnsV1RecordsQueryParams): Promise; /** * Delete DNS records. */ delete({ ...query }?: DeleteDnsV1RecordsQueryParams): Promise; } /** * DNS namespace. */ declare class DnsNamespace { private apiClient; readonly records: DnsRecordsNamespace; constructor(apiClient: ApiClient); } type CreateWebDeploymentSource = { repo: string; branch?: string; rootPath?: string; } | { code: string; } | { files: Files; } | { tarUrl: string; }; type Files = { path: string; content: string; encoding?: "utf-8" | "base64"; }[]; /** * Redirect configuration for permanent or temporary redirects (Vercel-compatible) */ type RedirectConfig = { /** Source pattern (can be exact path or regex) */ source: string; /** Destination path or URL */ destination: string; /** HTTP status code for redirect (301, 302, 307, 308). Takes precedence over `permanent`. */ statusCode?: number; /** If true, uses 308 (permanent redirect). If false, uses 307 (temporary redirect). */ permanent?: boolean; }; /** * Rewrite configuration for URL rewrites (internal, not visible to client) */ type RewriteConfig = { /** Source pattern (regex pattern) */ source: string; /** Destination path with optional capture group substitution ($1, $2, etc.) */ destination: string; }; /** * Dynamic route configuration for paths that should be handled by the worker */ type DynamicConfig = { /** Source pattern (regex or glob pattern like "/api/.*" or "/api/**") */ source: string; /** HTTP methods this route applies to (if undefined, applies to all methods) */ methods?: string[]; }; /** * Header configuration for setting custom headers on matching paths */ type HeaderConfig = { /** Source pattern (regex pattern) */ source: string; /** Headers to set (array of key-value pairs) */ headers: { key: string; value: string; }[]; }; type ExperimentalServerlessConfig = { /** * Experimental Next.js optimization. When enabled, deploy auto-detects * Next.js manifest metadata (redirects/rewrites/dynamic/headers) and * inferred directories/entrypoint when available. */ nextjsOptimization?: boolean; }; type ServerlessConfig = { /** * Network permissions for the serverless environment. */ networkPermissions?: { action: "allow" | "deny"; domain: string; behavior: "exact" | "regex"; }[]; /** * Environment variables to set in the serverless environment. */ envVars?: Record; /** * NPM packages to include in the serverless runtime. * * Packages are cached globally for performance. Cache misses may result in longer cold starts, * but sunsequent invocations using the same package are instant. In reality, most popular packages are * already cached so you shouldn't need to worry about this much. * * Format: { "package-name": "version" } */ nodeModules?: Record; /** * Optional timeout in milliseconds. */ timeoutMs?: number; }; type CreateDeployment = CreateWebDeploymentSource & ServerlessConfig & { build?: boolean | { command: string; outDir?: string | null; envVars?: { [k: string]: string; } | null; }; /** Wait for the deployment to be fully rolled out before returning. */ waitForRollout?: boolean; domains?: string[]; /** * Directory containing public files to be served at the root of the domain (e.g., "public"). * These files are served without any path prefix - a file at public/favicon.ico is served at /favicon.ico. */ publicDir?: string; /** * Directory containing static files to be served directly (e.g., ".next/static"). * Files are served at the URL path specified by staticPathPrefix (defaults to root "/"). */ staticDir?: string; /** * URL path prefix where static files are served (e.g., "/_next/static"). Defaults to "/" (root). * When set, only requests matching this prefix will be served from staticDir. */ staticPathPrefix?: string; /** * Directory containing prerendered HTML files (e.g., ".next/standalone/.next/server/app" for Next.js). * Files are served as: ${prerenderDir}/${path}.html or ${prerenderDir}/index.html for root. */ prerenderDir?: string; /** Set to true for static-only deployments (no dynamic server/entrypoint required) */ staticOnly?: boolean; /** * Redirects (permanent or temporary). Source patterns are regex. * @example [{ source: "^/old-page$", destination: "/new-page", permanent: true }] */ redirects?: RedirectConfig[]; /** * URL rewrites (internal, not visible to client). Source patterns are regex. * @example [{ source: "^/api/(.*)$", destination: "/backend/$1" }] */ rewrites?: RewriteConfig[]; /** * Dynamic routes that should be handled by the worker (not served statically). * Source patterns are regex. * @example [{ source: "^/api/.*$" }, { source: "^/blog/[^/]+$" }] */ dynamic?: DynamicConfig[]; /** * Custom headers for matching paths. Source patterns are regex. * @example [{ source: "^/assets/.*$", headers: [{ key: "Cache-Control", value: "max-age=31536000" }] }] */ headers?: HeaderConfig[]; /** * When true, all HTML files will have their extension removed. * Visiting a path with .html will redirect to extensionless path (308). * For example, a static file named about.html will be served when visiting /about. */ cleanUrls?: boolean; /** * When false, visiting a path with a trailing slash will redirect (308) to path without trailing slash. * When true, opposite behavior occurs. When undefined (default), no automatic redirects based on trailing slash. */ trailingSlash?: boolean; /** * Experimental feature flags. */ experimental?: ExperimentalServerlessConfig; }; /** * Represents a deployment on the serverless platform (web or execute). */ declare class Deployment { readonly deploymentId: string; private apiClient; constructor({ deploymentId, apiClient, }: { deploymentId: string; apiClient: ApiClient; }); /** * Get details of this deployment (execute type). */ getDetails(): Promise<{ info: { deploymentId: string; accountId: string; envVars: Record; timeout: number; state: string; deployedAt?: string; domains: string[]; }; events: any[]; }>; /** * Get logs for this deployment. */ getLogs(options?: { instanceId?: string; }): Promise; /** * Fetch content from this deployment. * Makes a request directly to nginx-web with the deployment ID header. * * @param url - The URL path to fetch (e.g., "/api/hello" or "https://example.com/path") * @param init - Fetch options (headers, method, body, etc.) * @returns The response from the deployment * * @example * // Relative path * await deployment.fetch("/api/hello") * * @example * // Absolute URL (domain is ignored, only path is used) * await deployment.fetch("https://example.com/api/hello") * * @example * // With custom headers and method * await deployment.fetch("/api/data", { * method: "POST", * headers: { "Content-Type": "application/json" }, * body: JSON.stringify({ key: "value" }) * }) */ fetch(url: string, init?: RequestInit): Promise; } /** * Deployments namespace for serverless web deployments. */ declare class DeploymentsNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create a serverless web deployment */ create({ ...body }: CreateDeployment & { /** * Optional entrypoint path. */ entrypointPath?: string; }): Promise<{ deploymentId: string; deployment: Deployment; domains: string[]; }>; /** * List web deployments. */ list({ limit, cursor, search, }?: { limit?: number; cursor?: string; search?: string; }): Promise; /** * Get a deployment instance by ID. */ ref({ deploymentId }: { deploymentId: string; }): Deployment; } /** * Runs namespace for serverless script execution. */ declare class RunsNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create and execute a script run. */ create({ code, ...config }: { code: string; } & PostExecuteV3ScriptRequestBody["config"]): Promise; /** * List execution runs. */ list({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise<{ runs: { runId: string; createdAt: string; startedAt?: string; status: "starting" | "running" | "complete"; }[]; nextCursor?: string; totalCount?: number; }>; } /** * Serverless namespace for serverless compute operations. */ declare class ServerlessNamespace { private apiClient; readonly deployments: DeploymentsNamespace; readonly runs: RunsNamespace; constructor(apiClient: ApiClient); } interface CreateSnapshotRequest { name?: string | null; template: { snapshotId?: null | string; baseImage?: null | { /** * The text content of a Dockerfile (e.g., `"FROM debian:trixie-slim"`). */ dockerfileContent: string; }; rootfsSizeGb?: number | null; memSizeGb?: number | null; vcpuCount?: number | null; /** * Optional working directory for the VM. If not provided, the default to '/' */ workdir?: string | null; /** * Idle timeout in seconds. If set, the VM will be automatically suspended * after this many seconds of no network activity. Defaults to 300 seconds * (5 minutes) if not provided or the last used timeout for the forked VM. */ idleTimeoutSeconds?: number | null; waitForReadySignal?: boolean | null; readySignalTimeoutSeconds?: number | null; persistence?: null | ({ /** * Priority for eviction when storage quota is reached. Higher values * mean the VM is less likely to be evicted. Range is 0-10, default is * 5. */ priority?: number | null; type: "sticky"; } | { deleteEvent?: null | ("OnStop" | "OnSuspend"); type: "ephemeral"; } | { type: "persistent"; }); /** * Optional list of ports to expose externally. If not provided, port 3000 * will be exposed on port 443 by default. Pass an empty array to disable * external ports. Only ports 8081 and 443 can be configured externally for * now. Any target port is allowed. */ ports?: { port: number; targetPort: number; }[] | null; systemd?: null | { services?: { /** * Unique slug; becomes unit name ".service". */ name: string; /** * "oneshot" (run and exit) or "service" (long-running/healing). */ mode: "oneshot" | "service"; /** * Executable to run (can specify multiple commands that run sequentially). */ exec: string[]; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * For oneshot: remain active after exit (default: true). * When false, the service can be started again even if it already ran. */ remainAfterExit?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; patchedServices?: { /** * Unique slug; becomes unit name ".service". */ name: string; mode?: null | ("oneshot" | "service"); /** * Executable to run (can specify multiple commands that run sequentially). */ exec?: string[] | null; /** * Environment variables. */ env?: { [k: string]: string; } | null; /** * Linux user to run the service as. */ user?: string | null; /** * Linux group to run the service in. */ group?: string | null; /** * Working directory. */ workdir?: string | null; /** * Establishes an ordering dependency. The current unit will start only * after the units listed in After= have started. This is useful for * ensuring that certain services are up and running before the current * service begins its operation. */ after?: string[] | null; /** * Establishes a strong dependency. If the required unit fails to * start or stops unexpectedly, the current unit will also be stopped. This * ensures that a service critical to the functioning of the current unit * is running and stable. Units listed in Requires= are activated along * with the current unit. If the required unit is not active, systemd will * attempt to start it. This directive signifies a tight coupling between * services, where the current service cannot function without the required * service. */ requires?: string[] | null; /** * Units to activate when this unit enters a failed state. This is useful * for triggering recovery actions, notifications, or cleanup services when * the current service fails. */ onFailure?: string[] | null; /** * Target used when enabling (default: multi-user.target). */ wantedBy?: string[] | null; /** * Whether to enable this service (calls `systemctl enable `). * When enabled, the service will start automatically at boot. */ enable?: boolean | null; /** * Overall start/stop timeout. */ timeoutSec?: number | null; /** * For oneshot: remove unit on success. */ deleteAfterSuccess?: boolean | null; /** * Use sd_notify; maps to Type=notify. */ readySignal?: boolean | null; /** * Enable systemd watchdog (seconds). */ watchdogSec?: number | null; restartPolicy?: null | { /** * "no" | "on-failure" | "always" | "on-abnormal" */ policy: "no" | "on-failure" | "always" | "on-abnormal"; restartSec?: number | null; startLimitBurst?: number | null; startLimitIntervalSec?: number | null; }; }[] | null; }; /** * Linux users to create on VM startup */ users?: { /** * Unique username */ name: string; /** * Optional fixed UID; if None, allocate */ uid?: number | null; /** * GECOS field (descriptive string, e.g., full name) */ gecos?: string | null; /** * Groups to add user to (all groups use 'm' membership lines) */ groups?: string[]; /** * Home directory path (optional, defaults to /home/{username} for regular users, / for system users) */ home?: string | null; /** * Login shell (optional, defaults to /bin/bash for regular users, /usr/sbin/nologin for system users) */ shell?: string | null; /** * System user (allocator uses system range) */ system?: boolean | null; }[] | null; /** * Linux groups to create on VM startup */ groups?: { /** * Unique group name */ name: string; /** * Optional fixed GID; if None, allocate */ gid?: number | null; /** * System group (allocator uses system range) */ system?: boolean | null; }[] | null; additionalFiles?: { [k: string]: { /** * The content of the file */ content: string; /** * The encoding of the file. Either **utf-8** or **base64** */ encoding?: string; /** * Whether the file should be marked executable after being written */ executable?: boolean; }; } | null; /** * @deprecated */ gitRepos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; git?: null | { config: { user?: null | { name?: string | null; email?: string | null; signingkey?: string | null; }; }; repos?: { /** * url or id of the git repository */ repo: string; /** * path to place the repo on */ path: string; /** * optional rev (branch, tag, commit) */ rev?: string | null; }[] | null; }; /** * Optional discriminator to differentiate snapshots with otherwise identical configurations */ discriminator?: string | null; /** * Optional list of apt packages to install when setting up the VM. * These packages will be installed using `apt-get install` on VM startup. */ aptDeps?: string[] | null; /** * When true, bypasses the snapshot cache and always creates a new snapshot. * The new snapshot still stores the template hash, so it becomes the updated cache entry * for future requests that do not set skip_cache. */ skipCache?: boolean | null; }; persistence?: null | ({ priority?: number | null; type: "sticky"; } | { type: "persistent"; }); } /** * File system operations for a VM. */ declare class FileSystem { private vm; private vmId; private client; constructor({ vmId, client }: { vmId: string; client: ApiClient; }); /** * Read a file from the VM as a buffer. * @param filepath The path to the file in the VM * @returns Buffer containing the file content */ readFile(filepath: string): Promise; /** * Write a file to the VM from a buffer. * @param filepath The path to the file in the VM * @param content Buffer containing the content to write */ writeFile(filepath: string, content: Buffer): Promise; /** * Read a text file from the VM. * @param filepath The path to the file in the VM * @param encoding The text encoding to use (default: utf-8) * @returns The file content as a string */ readTextFile(filepath: string, encoding?: BufferEncoding): Promise; /** * Write a text file to the VM. * @param filepath The path to the file in the VM * @param content The text content to write * @param encoding The text encoding to use (default: utf-8) */ writeTextFile(filepath: string, content: string, encoding?: BufferEncoding): Promise; /** * Read a directory from the VM. * @param path The path to the directory in the VM * @returns Array of file/directory names */ readDir(path: string): Promise<{ name: string; kind: string; }[]>; /** * Create a directory in the VM. * @param path The path to create * @param recursive Create parent directories if needed (default: false) */ mkdir(path: string, recursive?: boolean): Promise; /** * Remove a file or directory from the VM. * @param path The path to remove * @param recursive Remove directories and their contents recursively (default: false) */ remove(path: string, recursive?: boolean): Promise; /** * Check if a file or directory exists in the VM. * @param path The path to check * @returns True if exists, false otherwise */ exists(path: string): Promise; /** * Get file/directory stats. * @param path The path to stat * @returns File/directory stats */ stat(path: string): Promise<{ size: number; isFile: boolean; isDirectory: boolean; isSymlink: boolean; permissions: string; owner: string; group: string; modified: string; }>; /** * Watch for file changes in the VM. * @returns An async generator that yields file change events */ watchFiles(): AsyncGenerator<{ eventType: string; filename: string; }>; } /** * Represents a single systemd service with convenience methods. */ declare class SystemdService { private serviceId; private systemd; constructor({ serviceId, systemd }: { serviceId: string; systemd: Systemd; }); /** * Get the status of this service. * @returns Service status information */ status(): Promise; /** * Get logs from this service. * @param options Optional parameters for log retrieval * @returns Service logs */ logs(options?: { lines?: number; since?: string; }): Promise; /** * Start this service. * @returns Start operation result */ start(): Promise; /** * Stop this service. * @returns Stop operation result */ stop(): Promise; /** * Restart this service. * @returns Restart operation result */ restart(): Promise; /** * Delete this service. * @returns Delete operation result */ delete(): Promise; } /** * Systemd service management operations for a VM. */ declare class Systemd { private vm; private vmId; private client; constructor({ vmId, client }: { vmId: string; client: ApiClient; }); /** * List all systemd services in the VM. * @returns Array of service information */ list(): Promise; /** * Create a new systemd service in the VM. * @param spec Service specification * @returns Service creation result */ create(spec: PostV1VmsVmIdSystemdServicesRequestBody): Promise; /** * Delete a systemd service from the VM. * @param options Service ID to delete * @returns Delete operation result */ delete({ serviceId, }: { serviceId: string; }): Promise; /** * Get the status of a systemd service. * @param options Service ID to get status for * @returns Service status information */ getStatus({ serviceId, }: { serviceId: string; }): Promise; /** * Get logs from a systemd service. * @param options Service ID and optional log parameters * @returns Service logs */ getLogs({ serviceId, lines, since, }: { serviceId: string; lines?: number; since?: string; }): Promise; /** * Start one or more systemd services. * @param options Services to start * @returns Start operation results */ start({ services, }: { services: { id: string; }[]; }): Promise; /** * Stop one or more systemd services. * @param options Services to stop * @returns Stop operation results */ stop({ services, }: { services: { id: string; }[]; }): Promise; /** * Restart one or more systemd services. * @param options Services to restart * @returns Restart operation results */ restart({ services, }: { services: { id: string; }[]; }): Promise; /** * Get a reference to a single service for convenience methods. * @param serviceId The service ID * @returns A SystemdService instance */ service(serviceId: string): SystemdService; } /** * Base class for VM instance extensions that provide interaction methods. * This is the instance attached to the VM after creation. */ declare class VmWithInstance { vm: Vm; private _init; } interface VmWithLike> = {}, TDefaultField extends string = string> { instance: TInstance; readonly defaultField?: TDefaultField; configure?(existingConfig: any): any; configureSpec?(spec: any): any; configureSnapshotSpec?(spec: any): any; configureBaseImage?(image: any): any; configureTemplate?(template: any): any; configureNestedTemplate?(template: any): any; createInstance(): TInstance; } type VmWithDefaultField = B extends { defaultField?: infer TDefaultField; } ? Extract extends never ? string : Extract : string; type VmWithDefaultFieldRecord = Record, B>; type VmWithAddedFields = B extends VmWith ? TAddedFields : {}; /** * Base class for VM configuration builders that act as middleware. * Extend this class to create reusable VM components like DevServer, Database, etc. * * The builder pattern works like middleware: * 1. Takes in existing VM configuration * 2. Applies its own configuration * 3. Returns merged configuration */ declare abstract class VmWith> = {}, TDefaultField extends string = string> { instance: TInstance; readonly defaultField?: TDefaultField; protected readonly _addedFields?: TAddedFields; /** * @deprecated Use configureSpec instead. * Transform the VM configuration by applying this component's config. * Acts as middleware - receives existing config, returns transformed config. * * @param existingConfig - The current VM configuration * @returns The transformed VM configuration with this component's changes applied */ configure?(existingConfig: CreateVmOptions): CreateVmOptions | Promise; /** * Configure the spec that this VmWith is directly attached to. * Override this to modify the parent spec's configuration. * * @param spec - The VmSpec this VmWith is attached to * @returns The transformed VmSpec with this component's changes applied */ configureSpec?(spec: VmSpec): VmSpec | Promise; /** * Configure the snapshot spec inside the current spec. * If no snapshot spec exists, one will be created. * Override this to modify the inner snapshot layer's configuration. * * @param spec - The snapshot VmSpec (created if it doesn't exist) * @returns The transformed snapshot VmSpec with this component's changes applied */ configureSnapshotSpec?(spec: VmSpec): VmSpec | Promise; /** * Configure the base image for the layer this VmWith is attached to. * Override this to add packages, files, or other image-level setup. * * @param image - The VmBaseImage for this layer * @returns The transformed base image for this layer */ configureBaseImage?(image: VmBaseImage): VmBaseImage | Promise; /** * @deprecated Use configureSpec instead * Configure the template that this VmWith is directly attached to. * Override this to modify the parent template's configuration. * * @param template - The VmTemplate this VmWith is attached to * @returns The transformed VmTemplate with this component's changes applied */ configureTemplate?(template: VmTemplate): VmTemplate | Promise; /** * @deprecated Use configureSnapshotSpec instead * Configure the nested template inside the current template. * If no nested template exists, one will be created. * Override this to modify the inner template layer's configuration. * * @param template - The nested VmTemplate (created if it doesn't exist) * @returns The transformed nested VmTemplate with this component's changes applied */ configureNestedTemplate?(template: VmTemplate): VmTemplate | Promise; /** * Create an instance of this component that will be attached to the VM. * Override this to provide custom interaction methods for your component. * * @returns A new instance that will be attached to the VM */ abstract createInstance(): TInstance; /** * Helper method to compose multiple configurations together. * Uses the same merging strategy as the main compose function. */ protected compose(...configs: CreateVmOptions[]): CreateVmOptions; /** * Helper method to compose multiple VmSpecs together. * Uses the same merging strategy as the main compose function. * Useful in configureSpec and configureSnapshotSpec methods. */ protected composeSpecs(...specs: VmSpec[]): VmSpec; /** * @deprecated Use composeSpecs instead * Helper method to compose multiple VmTemplates together. * Uses the same merging strategy as the main compose function. * Useful in configureTemplate and configureNestedTemplate methods. */ protected composeTemplates(...templates: VmTemplate[]): VmTemplate; /** * @deprecated This method is no longer needed. Use vms.get with allowedSpecs instead. */ configureReturnedVm(vm: Vm, template: VmTemplate): Promise; } declare const VmService: typeof VmWith; declare const VmBuilder: typeof VmWith; type RawBaseImage = { dockerfileContent: string; }; /** * The raw systemd service type from the generated API */ type RawSystemdService = NonNullable["services"]>[number]; /** * Extended systemd service input type that supports bash scripts and defaults mode to "service". * * When using `bash`, the script content will be written to a file and executed. * The `exec` field is optional when `bash` is provided. */ type SystemdServiceInput = Omit & { /** * "oneshot" (run and exit) or "service" (long-running/healing). * Defaults to "service" if not specified. */ mode?: "oneshot" | "service"; /** * Executable to run (can specify multiple commands that run sequentially). * Optional when `bash` is provided. */ exec?: string[]; /** * Bash script content. When provided, the script will be written to a file * (at /opt/freestyle/scripts/.sh) and executed. This is a convenience * alternative to using `exec` with `additionalFiles`. */ bash?: string; }; type VmWaitForConfig = Partial & { intervalSeconds?: number; }>; type BackgroundRequestLogger = (message: string) => void; type SnapshotCreateOptions = {}> = Omit & { template?: VmTemplate | PostV1VmsSnapshotsRequestBody["template"]; spec?: VmSpec; snapshot?: VmSpec; logger?: BackgroundRequestLogger; }; type SnapshotDeleteResponse = { snapshotId: string; }; /** * Terminal management operations for a VM. */ declare class VmTerminals { private vm; private vmId; private client; constructor({ vmId, client }: { vmId: string; client: ApiClient; }); /** * List all terminals in the VM. * @returns Array of terminal information */ list(): Promise; /** * Get logs from a specific terminal. * @param terminalId The ID of the terminal * @returns Terminal log entries */ getLogs({ terminalId }: { terminalId: string; }): Promise; /** * Get xterm-256color output from a specific terminal. * @param terminalId The ID of the terminal * @returns Terminal output */ getOutput({ terminalId }: { terminalId: string; }): Promise; } /** * Represents a Freestyle VM instance. */ declare class Vm { private get apiClient(); readonly vmId: string; readonly fs: FileSystem; readonly terminals: VmTerminals; readonly systemd: Systemd; private readonly _withInstances; constructor({ vmId, freestyle }: { vmId: string; freestyle: Freestyle; }); /** * Get the current state and metadata of the VM. * @returns VM state information */ getInfo(): Promise; user({ username }: { username: string; }): Vm; with(name: string): T; /** * Start the VM. * @param options Optional startup configuration * @returns Start response with VM information */ start({ ...options }?: PostV1VmsVmIdStartRequestBody): Promise; /** * Stop the VM gracefully. * @returns Stop response */ stop(): Promise; /** * Suspend the VM to disk. * @returns Suspend response */ suspend(): Promise; /** * Kill the VM immediately. * @returns Kill response */ kill(): Promise; /** * Wait for the VM to exit. * @returns Await response with exit information */ waitForExit(): Promise; /** * Create a snapshot of the VM. * * @param body Optional snapshot configuration * @returns Snapshot ID and Source VM ID */ snapshot(body?: PostV1VmsVmIdSnapshotRequestBody): Promise; /** * Execute a command in the VM and wait for it to complete. * @param command The command to execute * @param terminal Optional terminal ID * @param timeoutMs Optional timeout in milliseconds * @returns Execution result with stdout/stderr */ exec(options: { command: string; terminal?: string; timeoutMs?: number; } | string): Promise; /** * Fork (clone) the VM. * @param options Optional fork configuration * @returns A new VM instance representing the forked VM */ fork({ ...options }?: PostV1VmsVmIdForkRequestBody): Promise<{ forks: { vmId: string; vm: Vm; }[]; }>; /** * Optimize the VM (compact memory/disk). * @returns Optimization response */ optimize(): Promise; /** * Resize the VM's disk. * @param sizeMb New disk size in megabytes * @returns Resize response */ resize({ memSizeGb, rootfsSizeGb, vcpuCount, }: { memSizeGb: number; rootfsSizeGb: number; vcpuCount: number; }): Promise; /** * Create a VM instance by ID without making an api call. */ ref({ vmId }: { vmId: string; }): Vm; delete(): Promise; } /** * Git configuration with optional config (defaults to {}) */ type GitOptions = Omit, "config"> & { config?: NonNullable["config"]; }; /** * Template options with SystemdServiceInput support and optional git.config */ type TemplateOptions = Omit & { template?: VmTemplate>; baseImage?: VmBaseImage | RawBaseImage | null; systemd?: null | { services?: SystemdServiceInput[] | null; patchedServices?: NonNullable["patchedServices"]>; }; git?: null | GitOptions; }; declare class VmBaseImage { private layers; constructor(base?: string | RawBaseImage); from(baseImage: VmBaseImage | RawBaseImage | string): this; runCommands(...commands: string[]): this; appendDockerfile(dockerfile: string): this; hasFromInstruction(): boolean; toRaw(): RawBaseImage; } declare class VmTemplate = {}> { raw: TemplateOptions; readonly with: Partial; constructor(template: TemplateOptions & { with?: Partial; }); } type VmSpecOptions = TemplateOptions & { snapshot?: VmSpec; }; type VmSpecWithFn> = { (name: K, builder: B): VmSpec & VmWithAddedFields>; (builder: B): VmSpec, B> & VmWithAddedFields>; } & Partial; declare class VmSpec = {}> { raw: VmSpecOptions; readonly with: VmSpecWithFn; private withDiscriminators; get builders(): Partial; constructor(spec?: (VmSpecOptions & { with?: Partial; __withDiscriminators?: Record; }) | undefined); getBuilderDiscriminator(key: string): string | undefined; getBuilderDiscriminators(): Record; private mergeRaw; private clearBuilders; snapshot(): this; ensureSnapshot(): VmSpec; baseImage(baseImage: VmBaseImage | RawBaseImage): this; rootfsSizeGb(value: number): this; memSizeGb(value: number): this; vcpuCount(value: number): this; idleTimeoutSeconds(value: number): this; readySignalTimeoutSeconds(value: number): this; waitForReadySignal(value: boolean): this; discriminator(value: string): this; skipCache(): this; workdir(path: string): this; aptDeps(...deps: string[]): this; users(users: NonNullable): this; groups(groups: NonNullable): this; additionalFiles(files: NonNullable): this; runCommands(...commands: string[]): this; waitFor(command: string, config?: VmWaitForConfig): this; repo(repo: string, path: string): this; systemdService(service: SystemdServiceInput): this; } declare class VmsNamespace { private freestyle; readonly snapshots: VmSnapshotsNamespace; constructor(freestyle: Freestyle); /** * Create a new VM. * @param options Optional VM configuration * @returns A VM instance representing the created VM */ create(): Promise & { vmId: string; vm: Vm; domains: string[]; }>; create>(spec: VmSpec): Promise & { vmId: string; vm: Vm & { [K in keyof T]: ReturnType; }; domains: string[]; }>; create>(options: CreateVmOptions & { with?: T; template?: VmTemplate; spec?: VmSpec; snapshot?: VmSpec; logger?: BackgroundRequestLogger; }): Promise & { vmId: string; vm: Vm & { [K in keyof T]: ReturnType; }; domains: string[]; }>; /** * List all VMs. * @returns List of VMs with their states and metadata */ list(): Promise; /** * Get VM by ID. * @param vmId The ID of the VM * @param spec Optional spec to attach builders to the returned VM * @returns The VM instance configured with builders from the spec */ get>({ vmId, spec, }: { vmId: string; spec?: VmSpec; }): Promise<{ vm: Vm & { [K in keyof T]: ReturnType; }; spec?: VmSpec; }>; /** * Create a VM instance by ID without making an api call. */ ref>({ vmId, spec, }: { vmId: string; spec?: VmSpec; }): Vm & { [K in keyof T]: ReturnType; }; delete({ vmId }: { vmId: string; }): Promise; } declare class VmSnapshotsNamespace { private apiClient; constructor(apiClient: ApiClient); ensure>(options: SnapshotCreateOptions): Promise; create>(options: SnapshotCreateOptions): Promise; delete({ snapshotId }: { snapshotId: string; }): Promise; } type CreateVmOptions = Omit & { rootfsSizeGb?: number | null; memSizeGb?: number | null; vcpuCount?: number | null; baseImage?: VmBaseImage | RawBaseImage | null; template?: VmTemplate | (PostV1VmsRequestBody["template"] & { baseImage?: VmBaseImage | RawBaseImage | null; }); systemd?: null | { services?: SystemdServiceInput[] | null; patchedServices?: NonNullable["patchedServices"]>; }; git?: null | GitOptions; discriminator?: CreateSnapshotRequest["template"]["discriminator"]; skipCache?: CreateSnapshotRequest["template"]["skipCache"]; logger?: BackgroundRequestLogger; }; type CronSchedule = { id: string; accountId: string; deploymentId: string; path?: string | null; cron: string; timezone: string; payload: unknown; active: boolean; createdAt: string; updatedAt: string; }; type CronExecutionStatus = "queued" | "running" | "succeeded" | "failed" | "retry"; type CronExecution = { id: string; scheduleId: string; deploymentId: string; runAt: string; status: CronExecutionStatus; attempts: number; maxAttempts: number; lockedAt?: string | null; lockOwner?: string | null; lastError?: string | null; instanceId?: string | null; createdAt: string; updatedAt: string; }; type CreateCronJobParams = { deploymentId: string; cron: string; timezone?: string; payload?: unknown; path?: string; }; declare class CronNamespace { private apiClient; constructor(apiClient: ApiClient); /** * Create a cron schedule. */ schedule({ deploymentId, cron, timezone, payload, path, }: CreateCronJobParams): Promise<{ job: CronJob; }>; /** * List cron schedules. */ list({ deploymentId, }?: { deploymentId?: string; }): Promise<{ jobs: CronJob[]; }>; } declare class CronJob { #private; readonly schedule: CronSchedule; constructor({ apiClient, schedule, }: { apiClient: ApiClient; schedule: CronSchedule; }); /** * Enable this cron schedule. */ enable(): Promise; /** * Disable this cron schedule. */ disable(): Promise; /** * List executions for this cron schedule. */ executions({ limit, cursor, }?: { limit?: number; cursor?: string; }): Promise<{ executions: CronExecution[]; nextCursor?: string; totalCount?: number; }>; /** * Get execution success rate for this schedule within a time range. */ successRate({ start, end, }: { start: string | Date; end: string | Date; }): Promise<{ total: number; succeeded: number; failed: number; successRate: number; start: string; end: string; }>; } declare function readFiles(directory: string): Promise<{ content: string; path: string; encoding: string; }[]>; type DebugCreateApiRequest = { path: "/v1/vms/snapshots" | "/v1/vms"; body: unknown; }; /** * Simulate what the SDK would POST during `freestyle.vms.create(...)` and * return all request bodies in execution order without network calls. */ declare function debugCreateRequests>(freestyle: Freestyle, spec: VmSpec): Promise; declare function debugCreateRequests>(freestyle: Freestyle, options: CreateVmOptions & { with?: T; template?: VmTemplate; spec?: VmSpec; snapshot?: VmSpec; }): Promise; type FreestyleOptions = ApiClientConfig; declare class Freestyle { readonly domains: DomainsNamespace; readonly git: GitNamespace; readonly identities: IdentitiesNamespace; readonly dns: DnsNamespace; readonly serverless: ServerlessNamespace; readonly vms: VmsNamespace; readonly cron: CronNamespace; constructor(options?: FreestyleOptions); /** * Returns information about the currently authenticated user or identity. */ whoami(): Promise<{ accountId: string; identityId?: string; }>; /** * Helper method to make raw fetch requests to the API. */ fetch(path: string, init?: RequestInit): Promise; } /** * Default lazy-initialized Freestyle client that uses environment variables. * This will only throw an error if you try to use it without setting FREESTYLE_API_KEY. */ declare const freestyle: Freestyle; export { CronNamespace, Deployment, errors as Errors, FileSystem, Freestyle, GitRepo, Identity, requests as Requests, responses as Responses, Systemd, SystemdService, Vm, VmBaseImage, VmBuilder, VmService, VmSpec, VmTemplate, VmWith, VmWithInstance, debugCreateRequests, freestyle, readFiles }; export type { BackgroundRequestLogger, CreateVmOptions, CronSchedule, FreestyleOptions, GitCommitSearchEntry, GitCommitSearchResult, GitDiffFileMatch, GitDiffLineMatch, GitDiffSearchCommit, GitDiffSearchResult, GitFilenameEntry, GitFilenameSearchResult, GitSearchFileResult, GitSearchLineMatch, GitSearchResult, SystemdServiceInput, VmWaitForConfig, VmWithDefaultFieldRecord };