UNPKG

@vercel/sdk

Version:

<p align="center"> <a href="https://vercel.com"> <img src="https://assets.vercel.com/image/upload/v1588805858/repositories/vercel/logo.png" height="96"> <h3 align="center">Vercel</h3> </a> <p align="center">Develop. Preview. Ship.</p> </p>

807 lines 34.8 kB
import * as z from "zod/v3"; import { ClosedEnum } from "../types/enums.js"; export type PatchTeamRoles2 = { accessGroupId: string; }; export declare const PatchTeamRoles1: { readonly Owner: "OWNER"; readonly Member: "MEMBER"; readonly Developer: "DEVELOPER"; readonly Security: "SECURITY"; readonly Billing: "BILLING"; readonly Viewer: "VIEWER"; readonly ViewerForPlus: "VIEWER_FOR_PLUS"; readonly Contributor: "CONTRIBUTOR"; }; export type PatchTeamRoles1 = ClosedEnum<typeof PatchTeamRoles1>; export type PatchTeamRoles = PatchTeamRoles2 | PatchTeamRoles1; export type PatchTeamSaml = { /** * Require that members of the team use SAML Single Sign-On. */ enforced?: boolean | undefined; /** * Directory groups to role or access group mappings. */ roles?: { [k: string]: PatchTeamRoles2 | PatchTeamRoles1; } | undefined; }; /** * Whether or not remote caching is enabled for the team */ export type PatchTeamRemoteCaching = { /** * Enable or disable remote caching for the team. */ enabled?: boolean | undefined; }; /** * Controls who can request access to protected deployments. */ export declare const PatchTeamDpAccessRequestsMode: { readonly All: "all"; readonly None: "none"; readonly EmailDomain: "email-domain"; }; /** * Controls who can request access to protected deployments. */ export type PatchTeamDpAccessRequestsMode = ClosedEnum<typeof PatchTeamDpAccessRequestsMode>; /** * Specify if the password will apply to every Deployment Target or just Preview */ export declare const PatchTeamDeploymentType: { readonly All: "all"; readonly Preview: "preview"; readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews"; readonly AllExceptCustomDomains: "all_except_custom_domains"; }; /** * Specify if the password will apply to every Deployment Target or just Preview */ export type PatchTeamDeploymentType = ClosedEnum<typeof PatchTeamDeploymentType>; /** * Allows to protect project deployments with a password */ export type PatchTeamPasswordProtection = { /** * Specify if the password will apply to every Deployment Target or just Preview */ deploymentType: PatchTeamDeploymentType; /** * The password that will be used to protect Project Deployments */ password?: string | null | undefined; }; /** * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */ export declare const PatchTeamTeamsDeploymentType: { readonly All: "all"; readonly Preview: "preview"; readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews"; readonly AllExceptCustomDomains: "all_except_custom_domains"; }; /** * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */ export type PatchTeamTeamsDeploymentType = ClosedEnum<typeof PatchTeamTeamsDeploymentType>; /** * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team */ export type PatchTeamSsoProtection = { /** * Specify if the Vercel Authentication (SSO Protection) will apply to every Deployment Target or just Preview */ deploymentType?: PatchTeamTeamsDeploymentType | undefined; }; /** * Default deployment protection settings for new projects. */ export type PatchTeamDefaultDeploymentProtection = { /** * Allows to protect project deployments with a password */ passwordProtection?: PatchTeamPasswordProtection | null | undefined; /** * Ensures visitors to your Preview Deployments are logged into Vercel and have a minimum of Viewer access on your team */ ssoProtection?: PatchTeamSsoProtection | null | undefined; }; export declare const PatchTeamTeamsRequestDeploymentType: { readonly All: "all"; readonly Preview: "preview"; readonly ProdDeploymentUrlsAndAllPreviews: "prod_deployment_urls_and_all_previews"; readonly AllExceptCustomDomains: "all_except_custom_domains"; }; export type PatchTeamTeamsRequestDeploymentType = ClosedEnum<typeof PatchTeamTeamsRequestDeploymentType>; /** * Default Passport configuration for new projects. */ export type PatchTeamDefaultPassport = { connectorId: string; deploymentType: PatchTeamTeamsRequestDeploymentType; }; /** * The time period to keep non-production deployments for */ export declare const PatchTeamExpiration: { readonly Threey: "3y"; readonly Twoy: "2y"; readonly Oney: "1y"; readonly Sixm: "6m"; readonly Threem: "3m"; readonly Twom: "2m"; readonly Onem: "1m"; readonly Twow: "2w"; readonly Onew: "1w"; readonly Oned: "1d"; readonly Unlimited: "unlimited"; }; /** * The time period to keep non-production deployments for */ export type PatchTeamExpiration = ClosedEnum<typeof PatchTeamExpiration>; /** * The time period to keep production deployments for */ export declare const ExpirationProduction: { readonly Threey: "3y"; readonly Twoy: "2y"; readonly Oney: "1y"; readonly Sixm: "6m"; readonly Threem: "3m"; readonly Twom: "2m"; readonly Onem: "1m"; readonly Twow: "2w"; readonly Onew: "1w"; readonly Oned: "1d"; readonly Unlimited: "unlimited"; }; /** * The time period to keep production deployments for */ export type ExpirationProduction = ClosedEnum<typeof ExpirationProduction>; /** * The time period to keep canceled deployments for */ export declare const ExpirationCanceled: { readonly Oney: "1y"; readonly Sixm: "6m"; readonly Threem: "3m"; readonly Twom: "2m"; readonly Onem: "1m"; readonly Twow: "2w"; readonly Onew: "1w"; readonly Oned: "1d"; readonly Unlimited: "unlimited"; }; /** * The time period to keep canceled deployments for */ export type ExpirationCanceled = ClosedEnum<typeof ExpirationCanceled>; /** * The time period to keep errored deployments for */ export declare const ExpirationErrored: { readonly Oney: "1y"; readonly Sixm: "6m"; readonly Threem: "3m"; readonly Twom: "2m"; readonly Onem: "1m"; readonly Twow: "2w"; readonly Onew: "1w"; readonly Oned: "1d"; readonly Unlimited: "unlimited"; }; /** * The time period to keep errored deployments for */ export type ExpirationErrored = ClosedEnum<typeof ExpirationErrored>; export type PatchTeamDefaultExpirationSettings = { /** * The time period to keep non-production deployments for */ expiration?: PatchTeamExpiration | undefined; /** * The time period to keep production deployments for */ expirationProduction?: ExpirationProduction | undefined; /** * The time period to keep canceled deployments for */ expirationCanceled?: ExpirationCanceled | undefined; /** * The time period to keep errored deployments for */ expirationErrored?: ExpirationErrored | undefined; }; export type PatchTeamEnvironments2 = { type: "custom"; environmentId: string; }; export declare const PatchTeamEnvironmentsTarget: { readonly Production: "production"; readonly Preview: "preview"; }; export type PatchTeamEnvironmentsTarget = ClosedEnum<typeof PatchTeamEnvironmentsTarget>; export type PatchTeamEnvironments1 = { type: "system"; target: PatchTeamEnvironmentsTarget; }; export type PatchTeamGitSourcesEnvironments = PatchTeamEnvironments1 | PatchTeamEnvironments2; export type PatchTeamSources2 = { provider: "gitlab"; namespace: string; project?: string | undefined; }; export declare const PatchTeamSourcesProvider: { readonly Github: "github"; readonly Bitbucket: "bitbucket"; }; export type PatchTeamSourcesProvider = ClosedEnum<typeof PatchTeamSourcesProvider>; export type PatchTeamSources1 = { provider: PatchTeamSourcesProvider; org: string; repo?: string | undefined; }; export type PatchTeamGitSourcesSources = (PatchTeamSources1 & { provider: "github"; }) | (PatchTeamSources1 & { provider: "bitbucket"; }) | PatchTeamSources2; export type PatchTeamGitSources1 = { enabled: boolean; environments: Array<PatchTeamEnvironments1 | PatchTeamEnvironments2>; sources: Array<(PatchTeamSources1 & { provider: "github"; }) | (PatchTeamSources1 & { provider: "bitbucket"; }) | PatchTeamSources2>; }; export type PatchTeamDeploymentPolicyGitSources = Array<PatchTeamGitSources1> | string; export type PatchTeamEnvironmentsTeams2 = { type: "custom"; environmentId: string; }; export declare const PatchTeamEnvironmentsTeamsTarget: { readonly Production: "production"; readonly Preview: "preview"; }; export type PatchTeamEnvironmentsTeamsTarget = ClosedEnum<typeof PatchTeamEnvironmentsTeamsTarget>; export type PatchTeamEnvironmentsTeams1 = { type: "system"; target: PatchTeamEnvironmentsTeamsTarget; }; export type PatchTeamDeploymentSourcesEnvironments = PatchTeamEnvironmentsTeams1 | PatchTeamEnvironmentsTeams2; export declare const PatchTeamDeploymentSourcesSources: { readonly Git: "git"; readonly Cli: "cli"; readonly RestApi: "rest-api"; readonly DeployHook: "deploy-hook"; readonly Integration: "integration"; readonly V0: "v0"; }; export type PatchTeamDeploymentSourcesSources = ClosedEnum<typeof PatchTeamDeploymentSourcesSources>; export type PatchTeamDeploymentSources1 = { enabled: boolean; environments: Array<PatchTeamEnvironmentsTeams1 | PatchTeamEnvironmentsTeams2>; sources: Array<PatchTeamDeploymentSourcesSources>; }; export type PatchTeamDeploymentPolicyDeploymentSources = Array<PatchTeamDeploymentSources1> | string; /** * Composable deployment-time policy. Each rule type holds a list of rules, one per environment scope. */ export type PatchTeamDeploymentPolicy1 = { gitSources?: Array<PatchTeamGitSources1> | string | undefined; deploymentSources?: Array<PatchTeamDeploymentSources1> | string | undefined; }; export type PatchTeamDeploymentPolicy = PatchTeamDeploymentPolicy1 | string; /** * When enabled, deployment protection settings require stricter permissions (owner-only). */ export type PatchTeamStrictDeploymentProtectionSettings = { /** * Enable or disable strict deployment protection settings. */ enabled: boolean; }; /** * When enabled, creating shareable links requires Owner role. */ export type PatchTeamStrictShareableLinks = { /** * Enable or disable requiring Owner role to create shareable links. */ enabled: boolean; }; /** * The NSNB preference for the team. */ export declare const NsnbConfigPreference: { readonly AutoApproval: "auto-approval"; readonly ManualApproval: "manual-approval"; readonly Block: "block"; }; /** * The NSNB preference for the team. */ export type NsnbConfigPreference = ClosedEnum<typeof NsnbConfigPreference>; /** * NSNB configuration for the team. */ export type NsnbConfig1 = { /** * The NSNB preference for the team. */ preference: NsnbConfigPreference; }; export type PatchTeamNsnbConfig = NsnbConfig1 | string; export type DefaultProjectJobsLint = { targets: Array<string>; }; export type DefaultProjectJobsTypecheck = { targets: Array<string>; }; /** * Default job configuration applied to new projects created in this team. */ export type DefaultProjectJobs1 = { lint?: DefaultProjectJobsLint | undefined; typecheck?: DefaultProjectJobsTypecheck | undefined; }; export type PatchTeamDefaultProjectJobs = DefaultProjectJobs1 | string; /** * Default build machine type for new builds: standard, enhanced, turbo, or elastic. */ export declare const PatchTeamDefault: { readonly Enhanced: "enhanced"; readonly Turbo: "turbo"; readonly Standard: "standard"; readonly Elastic: "elastic"; }; /** * Default build machine type for new builds: standard, enhanced, turbo, or elastic. */ export type PatchTeamDefault = ClosedEnum<typeof PatchTeamDefault>; /** * Build machine configuration. */ export type PatchTeamBuildMachine = { /** * Default build machine type for new builds: standard, enhanced, turbo, or elastic. */ default?: PatchTeamDefault | undefined; }; /** * Resource configuration for the team. */ export type PatchTeamResourceConfig = { /** * Build machine configuration. */ buildMachine?: PatchTeamBuildMachine | undefined; }; export type PatchTeamRequestBody = { /** * The hash value of an uploaded image. */ avatar?: string | undefined; /** * A short text that describes the team. */ description?: string | undefined; emailDomain?: string | null | undefined; /** * The name of the team. */ name?: string | undefined; /** * Suffix that will be used for all preview deployments. */ previewDeploymentSuffix?: string | null | undefined; /** * Create a new invite code and replace the current one. */ regenerateInviteCode?: boolean | undefined; saml?: PatchTeamSaml | undefined; /** * A new slug for the team. */ slug?: string | undefined; /** * Enable preview toolbar: one of on, off or default. */ enablePreviewFeedback?: string | undefined; /** * Enable production toolbar: one of on, off or default. */ enableProductionFeedback?: string | undefined; /** * Sensitive environment variable policy: one of on, off or default. */ sensitiveEnvironmentVariablePolicy?: string | undefined; /** * Whether or not remote caching is enabled for the team */ remoteCaching?: PatchTeamRemoteCaching | undefined; /** * Display or hide IP addresses in Monitoring queries. */ hideIpAddresses?: boolean | undefined; /** * Display or hide IP addresses in Log Drains. */ hideIpAddressesInLogDrains?: boolean | undefined; /** * Controls who can request access to protected deployments. */ dpAccessRequestsMode?: PatchTeamDpAccessRequestsMode | undefined; /** * When enabled, all projects in the team require commits to be signed and verified by the git provider before deployments will be created. */ requireVerifiedCommits?: boolean | undefined; /** * Default for projects in the team. When `true`, projects in this team will not emit GitHub repository-dispatch events on deployment events unless the project explicitly overrides this setting. */ disableRepositoryDispatchEvents?: boolean | undefined; /** * Default deployment protection settings for new projects. */ defaultDeploymentProtection?: PatchTeamDefaultDeploymentProtection | undefined; /** * Default Passport configuration for new projects. */ defaultPassport?: PatchTeamDefaultPassport | null | undefined; defaultExpirationSettings?: PatchTeamDefaultExpirationSettings | undefined; deploymentPolicy?: PatchTeamDeploymentPolicy1 | string | undefined; /** * When enabled, deployment protection settings require stricter permissions (owner-only). */ strictDeploymentProtectionSettings?: PatchTeamStrictDeploymentProtectionSettings | undefined; /** * When enabled, creating shareable links requires Owner role. */ strictShareableLinks?: PatchTeamStrictShareableLinks | undefined; nsnbConfig?: NsnbConfig1 | string | undefined; defaultProjectJobs?: DefaultProjectJobs1 | string | undefined; /** * Resource configuration for the team. */ resourceConfig?: PatchTeamResourceConfig | undefined; }; export type PatchTeamRequest = { /** * The Team identifier to perform the request on behalf of. */ teamId: string; /** * The Team slug to perform the request on behalf of. */ slug?: string | undefined; requestBody: PatchTeamRequestBody; }; /** @internal */ export type PatchTeamRoles2$Outbound = { accessGroupId: string; }; /** @internal */ export declare const PatchTeamRoles2$outboundSchema: z.ZodType<PatchTeamRoles2$Outbound, z.ZodTypeDef, PatchTeamRoles2>; export declare function patchTeamRoles2ToJSON(patchTeamRoles2: PatchTeamRoles2): string; /** @internal */ export declare const PatchTeamRoles1$outboundSchema: z.ZodNativeEnum<typeof PatchTeamRoles1>; /** @internal */ export type PatchTeamRoles$Outbound = PatchTeamRoles2$Outbound | string; /** @internal */ export declare const PatchTeamRoles$outboundSchema: z.ZodType<PatchTeamRoles$Outbound, z.ZodTypeDef, PatchTeamRoles>; export declare function patchTeamRolesToJSON(patchTeamRoles: PatchTeamRoles): string; /** @internal */ export type PatchTeamSaml$Outbound = { enforced?: boolean | undefined; roles?: { [k: string]: PatchTeamRoles2$Outbound | string; } | undefined; }; /** @internal */ export declare const PatchTeamSaml$outboundSchema: z.ZodType<PatchTeamSaml$Outbound, z.ZodTypeDef, PatchTeamSaml>; export declare function patchTeamSamlToJSON(patchTeamSaml: PatchTeamSaml): string; /** @internal */ export type PatchTeamRemoteCaching$Outbound = { enabled?: boolean | undefined; }; /** @internal */ export declare const PatchTeamRemoteCaching$outboundSchema: z.ZodType<PatchTeamRemoteCaching$Outbound, z.ZodTypeDef, PatchTeamRemoteCaching>; export declare function patchTeamRemoteCachingToJSON(patchTeamRemoteCaching: PatchTeamRemoteCaching): string; /** @internal */ export declare const PatchTeamDpAccessRequestsMode$outboundSchema: z.ZodNativeEnum<typeof PatchTeamDpAccessRequestsMode>; /** @internal */ export declare const PatchTeamDeploymentType$outboundSchema: z.ZodNativeEnum<typeof PatchTeamDeploymentType>; /** @internal */ export type PatchTeamPasswordProtection$Outbound = { deploymentType: string; password?: string | null | undefined; }; /** @internal */ export declare const PatchTeamPasswordProtection$outboundSchema: z.ZodType<PatchTeamPasswordProtection$Outbound, z.ZodTypeDef, PatchTeamPasswordProtection>; export declare function patchTeamPasswordProtectionToJSON(patchTeamPasswordProtection: PatchTeamPasswordProtection): string; /** @internal */ export declare const PatchTeamTeamsDeploymentType$outboundSchema: z.ZodNativeEnum<typeof PatchTeamTeamsDeploymentType>; /** @internal */ export type PatchTeamSsoProtection$Outbound = { deploymentType: string; }; /** @internal */ export declare const PatchTeamSsoProtection$outboundSchema: z.ZodType<PatchTeamSsoProtection$Outbound, z.ZodTypeDef, PatchTeamSsoProtection>; export declare function patchTeamSsoProtectionToJSON(patchTeamSsoProtection: PatchTeamSsoProtection): string; /** @internal */ export type PatchTeamDefaultDeploymentProtection$Outbound = { passwordProtection?: PatchTeamPasswordProtection$Outbound | null | undefined; ssoProtection?: PatchTeamSsoProtection$Outbound | null | undefined; }; /** @internal */ export declare const PatchTeamDefaultDeploymentProtection$outboundSchema: z.ZodType<PatchTeamDefaultDeploymentProtection$Outbound, z.ZodTypeDef, PatchTeamDefaultDeploymentProtection>; export declare function patchTeamDefaultDeploymentProtectionToJSON(patchTeamDefaultDeploymentProtection: PatchTeamDefaultDeploymentProtection): string; /** @internal */ export declare const PatchTeamTeamsRequestDeploymentType$outboundSchema: z.ZodNativeEnum<typeof PatchTeamTeamsRequestDeploymentType>; /** @internal */ export type PatchTeamDefaultPassport$Outbound = { connectorId: string; deploymentType: string; }; /** @internal */ export declare const PatchTeamDefaultPassport$outboundSchema: z.ZodType<PatchTeamDefaultPassport$Outbound, z.ZodTypeDef, PatchTeamDefaultPassport>; export declare function patchTeamDefaultPassportToJSON(patchTeamDefaultPassport: PatchTeamDefaultPassport): string; /** @internal */ export declare const PatchTeamExpiration$outboundSchema: z.ZodNativeEnum<typeof PatchTeamExpiration>; /** @internal */ export declare const ExpirationProduction$outboundSchema: z.ZodNativeEnum<typeof ExpirationProduction>; /** @internal */ export declare const ExpirationCanceled$outboundSchema: z.ZodNativeEnum<typeof ExpirationCanceled>; /** @internal */ export declare const ExpirationErrored$outboundSchema: z.ZodNativeEnum<typeof ExpirationErrored>; /** @internal */ export type PatchTeamDefaultExpirationSettings$Outbound = { expiration?: string | undefined; expirationProduction?: string | undefined; expirationCanceled?: string | undefined; expirationErrored?: string | undefined; }; /** @internal */ export declare const PatchTeamDefaultExpirationSettings$outboundSchema: z.ZodType<PatchTeamDefaultExpirationSettings$Outbound, z.ZodTypeDef, PatchTeamDefaultExpirationSettings>; export declare function patchTeamDefaultExpirationSettingsToJSON(patchTeamDefaultExpirationSettings: PatchTeamDefaultExpirationSettings): string; /** @internal */ export type PatchTeamEnvironments2$Outbound = { type: "custom"; environmentId: string; }; /** @internal */ export declare const PatchTeamEnvironments2$outboundSchema: z.ZodType<PatchTeamEnvironments2$Outbound, z.ZodTypeDef, PatchTeamEnvironments2>; export declare function patchTeamEnvironments2ToJSON(patchTeamEnvironments2: PatchTeamEnvironments2): string; /** @internal */ export declare const PatchTeamEnvironmentsTarget$outboundSchema: z.ZodNativeEnum<typeof PatchTeamEnvironmentsTarget>; /** @internal */ export type PatchTeamEnvironments1$Outbound = { type: "system"; target: string; }; /** @internal */ export declare const PatchTeamEnvironments1$outboundSchema: z.ZodType<PatchTeamEnvironments1$Outbound, z.ZodTypeDef, PatchTeamEnvironments1>; export declare function patchTeamEnvironments1ToJSON(patchTeamEnvironments1: PatchTeamEnvironments1): string; /** @internal */ export type PatchTeamGitSourcesEnvironments$Outbound = PatchTeamEnvironments1$Outbound | PatchTeamEnvironments2$Outbound; /** @internal */ export declare const PatchTeamGitSourcesEnvironments$outboundSchema: z.ZodType<PatchTeamGitSourcesEnvironments$Outbound, z.ZodTypeDef, PatchTeamGitSourcesEnvironments>; export declare function patchTeamGitSourcesEnvironmentsToJSON(patchTeamGitSourcesEnvironments: PatchTeamGitSourcesEnvironments): string; /** @internal */ export type PatchTeamSources2$Outbound = { provider: "gitlab"; namespace: string; project?: string | undefined; }; /** @internal */ export declare const PatchTeamSources2$outboundSchema: z.ZodType<PatchTeamSources2$Outbound, z.ZodTypeDef, PatchTeamSources2>; export declare function patchTeamSources2ToJSON(patchTeamSources2: PatchTeamSources2): string; /** @internal */ export declare const PatchTeamSourcesProvider$outboundSchema: z.ZodNativeEnum<typeof PatchTeamSourcesProvider>; /** @internal */ export type PatchTeamSources1$Outbound = { provider: string; org: string; repo?: string | undefined; }; /** @internal */ export declare const PatchTeamSources1$outboundSchema: z.ZodType<PatchTeamSources1$Outbound, z.ZodTypeDef, PatchTeamSources1>; export declare function patchTeamSources1ToJSON(patchTeamSources1: PatchTeamSources1): string; /** @internal */ export type PatchTeamGitSourcesSources$Outbound = (PatchTeamSources1$Outbound & { provider: "github"; }) | (PatchTeamSources1$Outbound & { provider: "bitbucket"; }) | PatchTeamSources2$Outbound; /** @internal */ export declare const PatchTeamGitSourcesSources$outboundSchema: z.ZodType<PatchTeamGitSourcesSources$Outbound, z.ZodTypeDef, PatchTeamGitSourcesSources>; export declare function patchTeamGitSourcesSourcesToJSON(patchTeamGitSourcesSources: PatchTeamGitSourcesSources): string; /** @internal */ export type PatchTeamGitSources1$Outbound = { enabled: boolean; environments: Array<PatchTeamEnvironments1$Outbound | PatchTeamEnvironments2$Outbound>; sources: Array<(PatchTeamSources1$Outbound & { provider: "github"; }) | (PatchTeamSources1$Outbound & { provider: "bitbucket"; }) | PatchTeamSources2$Outbound>; }; /** @internal */ export declare const PatchTeamGitSources1$outboundSchema: z.ZodType<PatchTeamGitSources1$Outbound, z.ZodTypeDef, PatchTeamGitSources1>; export declare function patchTeamGitSources1ToJSON(patchTeamGitSources1: PatchTeamGitSources1): string; /** @internal */ export type PatchTeamDeploymentPolicyGitSources$Outbound = Array<PatchTeamGitSources1$Outbound> | string; /** @internal */ export declare const PatchTeamDeploymentPolicyGitSources$outboundSchema: z.ZodType<PatchTeamDeploymentPolicyGitSources$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicyGitSources>; export declare function patchTeamDeploymentPolicyGitSourcesToJSON(patchTeamDeploymentPolicyGitSources: PatchTeamDeploymentPolicyGitSources): string; /** @internal */ export type PatchTeamEnvironmentsTeams2$Outbound = { type: "custom"; environmentId: string; }; /** @internal */ export declare const PatchTeamEnvironmentsTeams2$outboundSchema: z.ZodType<PatchTeamEnvironmentsTeams2$Outbound, z.ZodTypeDef, PatchTeamEnvironmentsTeams2>; export declare function patchTeamEnvironmentsTeams2ToJSON(patchTeamEnvironmentsTeams2: PatchTeamEnvironmentsTeams2): string; /** @internal */ export declare const PatchTeamEnvironmentsTeamsTarget$outboundSchema: z.ZodNativeEnum<typeof PatchTeamEnvironmentsTeamsTarget>; /** @internal */ export type PatchTeamEnvironmentsTeams1$Outbound = { type: "system"; target: string; }; /** @internal */ export declare const PatchTeamEnvironmentsTeams1$outboundSchema: z.ZodType<PatchTeamEnvironmentsTeams1$Outbound, z.ZodTypeDef, PatchTeamEnvironmentsTeams1>; export declare function patchTeamEnvironmentsTeams1ToJSON(patchTeamEnvironmentsTeams1: PatchTeamEnvironmentsTeams1): string; /** @internal */ export type PatchTeamDeploymentSourcesEnvironments$Outbound = PatchTeamEnvironmentsTeams1$Outbound | PatchTeamEnvironmentsTeams2$Outbound; /** @internal */ export declare const PatchTeamDeploymentSourcesEnvironments$outboundSchema: z.ZodType<PatchTeamDeploymentSourcesEnvironments$Outbound, z.ZodTypeDef, PatchTeamDeploymentSourcesEnvironments>; export declare function patchTeamDeploymentSourcesEnvironmentsToJSON(patchTeamDeploymentSourcesEnvironments: PatchTeamDeploymentSourcesEnvironments): string; /** @internal */ export declare const PatchTeamDeploymentSourcesSources$outboundSchema: z.ZodNativeEnum<typeof PatchTeamDeploymentSourcesSources>; /** @internal */ export type PatchTeamDeploymentSources1$Outbound = { enabled: boolean; environments: Array<PatchTeamEnvironmentsTeams1$Outbound | PatchTeamEnvironmentsTeams2$Outbound>; sources: Array<string>; }; /** @internal */ export declare const PatchTeamDeploymentSources1$outboundSchema: z.ZodType<PatchTeamDeploymentSources1$Outbound, z.ZodTypeDef, PatchTeamDeploymentSources1>; export declare function patchTeamDeploymentSources1ToJSON(patchTeamDeploymentSources1: PatchTeamDeploymentSources1): string; /** @internal */ export type PatchTeamDeploymentPolicyDeploymentSources$Outbound = Array<PatchTeamDeploymentSources1$Outbound> | string; /** @internal */ export declare const PatchTeamDeploymentPolicyDeploymentSources$outboundSchema: z.ZodType<PatchTeamDeploymentPolicyDeploymentSources$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicyDeploymentSources>; export declare function patchTeamDeploymentPolicyDeploymentSourcesToJSON(patchTeamDeploymentPolicyDeploymentSources: PatchTeamDeploymentPolicyDeploymentSources): string; /** @internal */ export type PatchTeamDeploymentPolicy1$Outbound = { gitSources?: Array<PatchTeamGitSources1$Outbound> | string | undefined; deploymentSources?: Array<PatchTeamDeploymentSources1$Outbound> | string | undefined; }; /** @internal */ export declare const PatchTeamDeploymentPolicy1$outboundSchema: z.ZodType<PatchTeamDeploymentPolicy1$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicy1>; export declare function patchTeamDeploymentPolicy1ToJSON(patchTeamDeploymentPolicy1: PatchTeamDeploymentPolicy1): string; /** @internal */ export type PatchTeamDeploymentPolicy$Outbound = PatchTeamDeploymentPolicy1$Outbound | string; /** @internal */ export declare const PatchTeamDeploymentPolicy$outboundSchema: z.ZodType<PatchTeamDeploymentPolicy$Outbound, z.ZodTypeDef, PatchTeamDeploymentPolicy>; export declare function patchTeamDeploymentPolicyToJSON(patchTeamDeploymentPolicy: PatchTeamDeploymentPolicy): string; /** @internal */ export type PatchTeamStrictDeploymentProtectionSettings$Outbound = { enabled: boolean; }; /** @internal */ export declare const PatchTeamStrictDeploymentProtectionSettings$outboundSchema: z.ZodType<PatchTeamStrictDeploymentProtectionSettings$Outbound, z.ZodTypeDef, PatchTeamStrictDeploymentProtectionSettings>; export declare function patchTeamStrictDeploymentProtectionSettingsToJSON(patchTeamStrictDeploymentProtectionSettings: PatchTeamStrictDeploymentProtectionSettings): string; /** @internal */ export type PatchTeamStrictShareableLinks$Outbound = { enabled: boolean; }; /** @internal */ export declare const PatchTeamStrictShareableLinks$outboundSchema: z.ZodType<PatchTeamStrictShareableLinks$Outbound, z.ZodTypeDef, PatchTeamStrictShareableLinks>; export declare function patchTeamStrictShareableLinksToJSON(patchTeamStrictShareableLinks: PatchTeamStrictShareableLinks): string; /** @internal */ export declare const NsnbConfigPreference$outboundSchema: z.ZodNativeEnum<typeof NsnbConfigPreference>; /** @internal */ export type NsnbConfig1$Outbound = { preference: string; }; /** @internal */ export declare const NsnbConfig1$outboundSchema: z.ZodType<NsnbConfig1$Outbound, z.ZodTypeDef, NsnbConfig1>; export declare function nsnbConfig1ToJSON(nsnbConfig1: NsnbConfig1): string; /** @internal */ export type PatchTeamNsnbConfig$Outbound = NsnbConfig1$Outbound | string; /** @internal */ export declare const PatchTeamNsnbConfig$outboundSchema: z.ZodType<PatchTeamNsnbConfig$Outbound, z.ZodTypeDef, PatchTeamNsnbConfig>; export declare function patchTeamNsnbConfigToJSON(patchTeamNsnbConfig: PatchTeamNsnbConfig): string; /** @internal */ export type DefaultProjectJobsLint$Outbound = { targets: Array<string>; }; /** @internal */ export declare const DefaultProjectJobsLint$outboundSchema: z.ZodType<DefaultProjectJobsLint$Outbound, z.ZodTypeDef, DefaultProjectJobsLint>; export declare function defaultProjectJobsLintToJSON(defaultProjectJobsLint: DefaultProjectJobsLint): string; /** @internal */ export type DefaultProjectJobsTypecheck$Outbound = { targets: Array<string>; }; /** @internal */ export declare const DefaultProjectJobsTypecheck$outboundSchema: z.ZodType<DefaultProjectJobsTypecheck$Outbound, z.ZodTypeDef, DefaultProjectJobsTypecheck>; export declare function defaultProjectJobsTypecheckToJSON(defaultProjectJobsTypecheck: DefaultProjectJobsTypecheck): string; /** @internal */ export type DefaultProjectJobs1$Outbound = { lint?: DefaultProjectJobsLint$Outbound | undefined; typecheck?: DefaultProjectJobsTypecheck$Outbound | undefined; }; /** @internal */ export declare const DefaultProjectJobs1$outboundSchema: z.ZodType<DefaultProjectJobs1$Outbound, z.ZodTypeDef, DefaultProjectJobs1>; export declare function defaultProjectJobs1ToJSON(defaultProjectJobs1: DefaultProjectJobs1): string; /** @internal */ export type PatchTeamDefaultProjectJobs$Outbound = DefaultProjectJobs1$Outbound | string; /** @internal */ export declare const PatchTeamDefaultProjectJobs$outboundSchema: z.ZodType<PatchTeamDefaultProjectJobs$Outbound, z.ZodTypeDef, PatchTeamDefaultProjectJobs>; export declare function patchTeamDefaultProjectJobsToJSON(patchTeamDefaultProjectJobs: PatchTeamDefaultProjectJobs): string; /** @internal */ export declare const PatchTeamDefault$outboundSchema: z.ZodNativeEnum<typeof PatchTeamDefault>; /** @internal */ export type PatchTeamBuildMachine$Outbound = { default?: string | undefined; }; /** @internal */ export declare const PatchTeamBuildMachine$outboundSchema: z.ZodType<PatchTeamBuildMachine$Outbound, z.ZodTypeDef, PatchTeamBuildMachine>; export declare function patchTeamBuildMachineToJSON(patchTeamBuildMachine: PatchTeamBuildMachine): string; /** @internal */ export type PatchTeamResourceConfig$Outbound = { buildMachine?: PatchTeamBuildMachine$Outbound | undefined; }; /** @internal */ export declare const PatchTeamResourceConfig$outboundSchema: z.ZodType<PatchTeamResourceConfig$Outbound, z.ZodTypeDef, PatchTeamResourceConfig>; export declare function patchTeamResourceConfigToJSON(patchTeamResourceConfig: PatchTeamResourceConfig): string; /** @internal */ export type PatchTeamRequestBody$Outbound = { avatar?: string | undefined; description?: string | undefined; emailDomain?: string | null | undefined; name?: string | undefined; previewDeploymentSuffix?: string | null | undefined; regenerateInviteCode?: boolean | undefined; saml?: PatchTeamSaml$Outbound | undefined; slug?: string | undefined; enablePreviewFeedback?: string | undefined; enableProductionFeedback?: string | undefined; sensitiveEnvironmentVariablePolicy?: string | undefined; remoteCaching?: PatchTeamRemoteCaching$Outbound | undefined; hideIpAddresses?: boolean | undefined; hideIpAddressesInLogDrains?: boolean | undefined; dpAccessRequestsMode?: string | undefined; requireVerifiedCommits?: boolean | undefined; disableRepositoryDispatchEvents?: boolean | undefined; defaultDeploymentProtection?: PatchTeamDefaultDeploymentProtection$Outbound | undefined; defaultPassport?: PatchTeamDefaultPassport$Outbound | null | undefined; defaultExpirationSettings?: PatchTeamDefaultExpirationSettings$Outbound | undefined; deploymentPolicy?: PatchTeamDeploymentPolicy1$Outbound | string | undefined; strictDeploymentProtectionSettings?: PatchTeamStrictDeploymentProtectionSettings$Outbound | undefined; strictShareableLinks?: PatchTeamStrictShareableLinks$Outbound | undefined; nsnbConfig?: NsnbConfig1$Outbound | string | undefined; defaultProjectJobs?: DefaultProjectJobs1$Outbound | string | undefined; resourceConfig?: PatchTeamResourceConfig$Outbound | undefined; }; /** @internal */ export declare const PatchTeamRequestBody$outboundSchema: z.ZodType<PatchTeamRequestBody$Outbound, z.ZodTypeDef, PatchTeamRequestBody>; export declare function patchTeamRequestBodyToJSON(patchTeamRequestBody: PatchTeamRequestBody): string; /** @internal */ export type PatchTeamRequest$Outbound = { teamId: string; slug?: string | undefined; RequestBody: PatchTeamRequestBody$Outbound; }; /** @internal */ export declare const PatchTeamRequest$outboundSchema: z.ZodType<PatchTeamRequest$Outbound, z.ZodTypeDef, PatchTeamRequest>; export declare function patchTeamRequestToJSON(patchTeamRequest: PatchTeamRequest): string; //# sourceMappingURL=patchteamop.d.ts.map