import { ZodType, z } from "zod"; //#region src/v3/schemas/planDefinitions.d.ts declare const ExceedableLimit: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; type ExceedableLimit = z.infer; declare const EnvironmentBasedLimit: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; type EnvironmentBasedLimit = z.infer; declare const BatchRateLimitConfig: z.ZodObject<{ type: z.ZodString; interval: z.ZodString; maxTokens: z.ZodNumber; refillRate: z.ZodNumber; }, z.core.$strip>; type BatchRateLimitConfig = z.infer; declare const BatchQueueConcurrencyConfig: z.ZodObject<{ processingConcurrency: z.ZodNumber; }, z.core.$strip>; type BatchQueueConcurrencyConfig = z.infer; /** * Hosted webhook limits, synced into Organization.webhookLimitsConfig on plan changes. The webapp * falls back to its env defaults for any field that isn't set. */ declare const WebhookLimitsConfig: z.ZodObject<{ maxWaitersPerEnvironment: z.ZodNumber; maxWaitersPerEndpoint: z.ZodNumber; concurrency: z.ZodNumber; deliveryRetentionDays: z.ZodNumber; deliveryRetentionStrict: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>; type WebhookLimitsConfig = z.infer; declare const QueueSizeLimits: z.ZodObject<{ development: z.ZodNumber; deployed: z.ZodNumber; }, z.core.$strip>; type QueueSizeLimits = z.infer; declare const Limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; type Limits = z.infer; declare const FreePlanDefinition: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"free">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; type FreePlanDefinition = z.infer; declare const PaidPlanDefinition: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; type PaidPlanDefinition = z.infer; declare const EnterprisePlanDefinition: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"enterprise">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; type EnterprisePlanDefinition = z.infer; declare const PlanDefinitionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"free">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"enterprise">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>], "type">; type PlanDefinition = z.infer; declare const MachineDefinition: z.ZodObject<{ code: z.ZodString; title: z.ZodString; cpu: z.ZodNumber; memory: z.ZodNumber; centsPerMs: z.ZodNumber; }, z.core.$strip>; type MachineDefinition = z.infer; declare const Plans: z.ZodObject<{ free: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"free">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; hobby: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; pro: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; enterprise: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"enterprise">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; type Plans = z.infer; /** The pricing per step of the add-on, e.g. $10 for 50 units */ declare const AddOnPricing: z.ZodObject<{ stepSize: z.ZodNumber; centsPerStep: z.ZodNumber; }, z.core.$strip>; type AddOnPricing = z.infer; declare const PlansResult: z.ZodObject<{ plans: z.ZodObject<{ free: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"free">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; hobby: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; pro: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; enterprise: z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"enterprise">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; usagePricing: z.ZodObject<{ centsPerRunInvocation: z.ZodNumber; machines: z.ZodRecord>; defaultMachine: z.ZodString; }, z.core.$strip>; addOnPricing: z.ZodObject<{ concurrency: z.ZodObject<{ stepSize: z.ZodNumber; centsPerStep: z.ZodNumber; }, z.core.$strip>; branches: z.ZodObject<{ stepSize: z.ZodNumber; centsPerStep: z.ZodNumber; }, z.core.$strip>; seats: z.ZodObject<{ stepSize: z.ZodNumber; centsPerStep: z.ZodNumber; }, z.core.$strip>; schedules: z.ZodObject<{ stepSize: z.ZodNumber; centsPerStep: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; }, z.core.$strip>; type PlansResult = z.infer; declare const AddOnDefinition: z.ZodObject<{ code: z.ZodEnum<{ branches: "branches"; concurrency: "concurrency"; schedules: "schedules"; seats: "seats"; }>; priceCode: z.ZodString; pricing: z.ZodObject<{ stepSize: z.ZodNumber; centsPerStep: z.ZodNumber; }, z.core.$strip>; }, z.core.$strip>; type AddOnDefinition = z.infer; declare const AddOn: z.ZodObject<{ purchased: z.ZodNumber; quota: z.ZodOptional; }, z.core.$strip>; type AddOn = z.infer; declare const AddOns: z.ZodObject<{ concurrentRuns: z.ZodOptional; }, z.core.$strip>>; branches: z.ZodOptional; }, z.core.$strip>>; seats: z.ZodOptional; }, z.core.$strip>>; schedules: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>; type AddOns = z.infer; //#endregion //#region src/v3/schemas/subscription.d.ts declare const FreeTierStatus: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; requires_connect: "requires_connect"; }>; type FreeTierStatus = z.infer; declare const SubscriptionResult: z.ZodObject<{ freeTierStatus: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; requires_connect: "requires_connect"; }>; isPaying: z.ZodBoolean; showSelfServe: z.ZodDefault; canceledAt: z.ZodOptional; plan: z.ZodOptional; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"enterprise">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>], "type">>; addOns: z.ZodOptional; }, z.core.$strip>>; branches: z.ZodOptional; }, z.core.$strip>>; seats: z.ZodOptional; }, z.core.$strip>>; schedules: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; type SubscriptionResult = z.infer; declare const CurrentPlan: z.ZodObject<{ subscription: z.ZodAny; v3Subscription: z.ZodObject<{ freeTierStatus: z.ZodEnum<{ approved: "approved"; rejected: "rejected"; requires_connect: "requires_connect"; }>; isPaying: z.ZodBoolean; showSelfServe: z.ZodDefault; canceledAt: z.ZodOptional; plan: z.ZodOptional; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"paid">; tierPrice: z.ZodNumber; stripe: z.ZodObject<{ tierPriceCode: z.ZodString; usagePriceCode: z.ZodString; usageCouponCode: z.ZodOptional; }, z.core.$strip>; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ title: z.ZodString; code: z.ZodString; type: z.ZodLiteral<"enterprise">; limits: z.ZodObject<{ includedUsage: z.ZodNumber; concurrentRuns: z.ZodObject<{ production: z.ZodNumber; staging: z.ZodNumber; preview: z.ZodNumber; development: z.ZodNumber; canExceed: z.ZodOptional; number: z.ZodNumber; }, z.core.$strip>; teamMembers: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; schedules: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; logRetentionDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; queryPeriodDays: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; alerts: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; hasStagingEnvironment: z.ZodBoolean; realtimeConcurrentConnections: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branches: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; branchesDev: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; support: z.ZodEnum<{ community: "community"; slack: "slack"; }>; batchRateLimitConfig: z.ZodOptional>; batchQueueConcurrencyConfig: z.ZodOptional>; webhookLimitsConfig: z.ZodOptional; endpointRateLimitTokens: z.ZodOptional; endpointRateLimitWindowSeconds: z.ZodOptional; environmentRateLimitTokens: z.ZodOptional; environmentRateLimitWindowSeconds: z.ZodOptional; }, z.core.$strip>>; metricDashboards: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; metricWidgetsPerDashboard: z.ZodObject<{ number: z.ZodNumber; canExceed: z.ZodOptional; }, z.core.$strip>; agentMessages: z.ZodOptional; }, z.core.$strip>>; agentWatchMaxHours: z.ZodOptional; }, z.core.$strip>>; agentWatchers: z.ZodOptional; }, z.core.$strip>>; declaredSchedulesPerDeploy: z.ZodOptional; }, z.core.$strip>>; queueSizeLimits: z.ZodOptional>; hasPrivateNetworking: z.ZodOptional; privateLinkConnectionLimit: z.ZodOptional; hasSso: z.ZodOptional; streamBasinRetention: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>], "type">>; addOns: z.ZodOptional; }, z.core.$strip>>; branches: z.ZodOptional; }, z.core.$strip>>; seats: z.ZodOptional; }, z.core.$strip>>; schedules: z.ZodOptional; }, z.core.$strip>>; }, z.core.$strip>>; }, z.core.$strip>; }, z.core.$strip>; type CurrentPlan = z.infer; //#endregion //#region src/v3/schemas/subscribe.d.ts declare const SetPlanBodySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ type: z.ZodLiteral<"paid">; planCode: z.ZodString; userId: z.ZodString; }, z.core.$strip>, z.ZodObject<{ type: z.ZodLiteral<"free">; userId: z.ZodString; }, z.core.$strip>], "type">; type SetPlanBody = z.infer; declare const FreeConnectRequiredSchema: z.ZodObject<{ action: z.ZodLiteral<"free_connect_required">; connectUrl: z.ZodString; }, z.core.$strip>; type FreeConnectRequired = z.infer; declare const FreeConnectedSchema: z.ZodObject<{ action: z.ZodLiteral<"free_connected">; accepted: z.ZodBoolean; }, z.core.$strip>; type FreeConnected = z.infer; declare const UpdatedSubscriptionResultSchema: z.ZodObject<{ action: z.ZodLiteral<"updated_subscription">; subscription: z.ZodObject<{ planCode: z.ZodString; }, z.core.$strip>; }, z.core.$strip>; type UpdatedSubscriptionResult = z.infer; declare const CreateSubscriptionFlowStartSchema: z.ZodObject<{ action: z.ZodLiteral<"create_subscription_flow_start">; subscription: z.ZodObject<{ planCode: z.ZodString; }, z.core.$strip>; checkoutUrl: z.ZodString; }, z.core.$strip>; type CreateSubscriptionFlowStart = z.infer; declare const CanceledSubscriptionResultSchema: z.ZodObject<{ action: z.ZodLiteral<"canceled_subscription">; }, z.core.$strip>; type CanceledSubscriptionResult = z.infer; declare const SubscribeResultSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{ action: z.ZodLiteral<"free_connect_required">; connectUrl: z.ZodString; }, z.core.$strip>, z.ZodObject<{ action: z.ZodLiteral<"free_connected">; accepted: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ action: z.ZodLiteral<"create_subscription_flow_start">; subscription: z.ZodObject<{ planCode: z.ZodString; }, z.core.$strip>; checkoutUrl: z.ZodString; }, z.core.$strip>, z.ZodObject<{ action: z.ZodLiteral<"updated_subscription">; subscription: z.ZodObject<{ planCode: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ action: z.ZodLiteral<"canceled_subscription">; }, z.core.$strip>], "action">; type SubscribeResult = z.infer; declare const SetAddOnBody: z.ZodObject<{ type: z.ZodEnum<{ branches: "branches"; concurrency: "concurrency"; schedules: "schedules"; seats: "seats"; }>; amount: z.ZodNumber; }, z.core.$strip>; type SetAddOnBody = z.infer; declare const SetAddOnResult: z.ZodDiscriminatedUnion<[z.ZodObject<{ result: z.ZodLiteral<"error">; error: z.ZodString; }, z.core.$strip>, z.ZodObject<{ result: z.ZodLiteral<"success">; type: z.ZodString; amount: z.ZodNumber; subscription: z.ZodObject<{ id: z.ZodString; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ result: z.ZodLiteral<"max_quota_reached">; type: z.ZodString; maxQuota: z.ZodNumber; }, z.core.$strip>], "result">; type SetAddOnResult = z.infer; declare const CancelSubscriptionResponse: z.ZodObject<{ outcome: z.ZodEnum<{ already_canceled: "already_canceled"; canceled: "canceled"; no_subscription: "no_subscription"; }>; cancelAt: z.ZodNullable; }, z.core.$strip>; type CancelSubscriptionResponse = z.infer; //#endregion //#region src/v3/schemas/portal.d.ts declare const CustomerPortalRequestBodySchema: z.ZodObject<{ returnUrl: z.ZodString; }, z.core.$strip>; type CustomerPortalRequestBody = z.infer; declare const CustomerPortalSchema: z.ZodObject<{ customerPortalUrl: z.ZodOptional; }, z.core.$strip>; type CustomerPortal = z.infer; //#endregion //#region src/v3/schemas/error.d.ts declare const ErrorSchema: z.ZodObject<{ error: z.ZodString; code: z.ZodOptional; }, z.core.$loose>; type Error = z.infer; //#endregion //#region src/v3/schemas/usage.d.ts declare const UsageParams: z.ZodObject<{ from: z.ZodCoercedDate; to: z.ZodCoercedDate; }, z.core.$strip>; type UsageParams = z.infer; declare const UsageResult: z.ZodObject<{ cents: z.ZodNumber; }, z.core.$strip>; type UsageResult = z.infer; declare const UsageSeriesParams: z.ZodObject<{ from: z.ZodCoercedDate; to: z.ZodCoercedDate; window: z.ZodOptional>; timezone: z.ZodOptional; }, z.core.$strip>; type UsageSeriesParams = z.infer; declare const UsageSeriesResult: z.ZodObject<{ from: z.ZodString; to: z.ZodString; window: z.ZodOptional>; data: z.ZodArray>; }, z.core.$strip>; type UsageSeriesResult = z.infer; declare const ReportComputeUsageEvent: z.ZodObject<{ durationMs: z.ZodNumber; }, z.core.$strip>; type ReportComputeUsageEvent = z.infer; declare const ReportUsagePlan: z.ZodObject<{ type: z.ZodString; code: z.ZodString; isPaying: z.ZodBoolean; }, z.core.$strip>; type ReportUsagePlan = z.infer; declare const ReportUsageResult: z.ZodObject<{ hasAccess: z.ZodBoolean; balance: z.ZodOptional; usage: z.ZodOptional; overage: z.ZodOptional; plan: z.ZodOptional>; limitState: z.ZodOptional>; reason: z.ZodOptional>; }, z.core.$strip>; type ReportUsageResult = z.infer; /** Upper bound for a single invocation base charge ($100). */ declare const MAX_INVOCATION_COST_IN_CENTS = 10000; declare const ReportInvocationUsageEvent: z.ZodObject<{ organizationId: z.ZodString; costInCents: z.ZodNumber; additionalData: z.ZodOptional>; }, z.core.$strip>; type ReportInvocationUsageEvent = z.infer; declare const ReportInvocationUsageResult: z.ZodDiscriminatedUnion<[z.ZodObject<{ success: z.ZodLiteral; }, z.core.$strip>, z.ZodObject<{ success: z.ZodLiteral; error: z.ZodString; }, z.core.$strip>], "success">; //#endregion //#region src/v3/schemas/billingAlerts.d.ts declare const BillingAlertsResult: z.ZodObject<{ amount: z.ZodNumber; emails: z.ZodArray; alertLevels: z.ZodArray; }, z.core.$strip>; type BillingAlertsResult = z.infer; declare const UpdateBillingAlertsRequest: z.ZodObject<{ amount: z.ZodNumber; emails: z.ZodArray; alertLevels: z.ZodArray; }, z.core.$strip>; type UpdateBillingAlertsRequest = z.infer; //#endregion //#region src/v3/schemas/billingLimit.d.ts declare const BillingLimitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; type BillingLimitState = z.infer; declare const BillingLimitUnconfigured: z.ZodObject<{ isConfigured: z.ZodLiteral; gracePeriodMs: z.ZodNumber; }, z.core.$strip>; declare const BillingLimitConfiguredNone: z.ZodObject<{ isConfigured: z.ZodLiteral; cancelInProgressRuns: z.ZodBoolean; limitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; effectiveAmountCents: z.ZodNullable; gracePeriodMs: z.ZodNumber; mode: z.ZodLiteral<"none">; }, z.core.$strip>; declare const BillingLimitConfiguredPlan: z.ZodObject<{ isConfigured: z.ZodLiteral; cancelInProgressRuns: z.ZodBoolean; limitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; effectiveAmountCents: z.ZodNullable; gracePeriodMs: z.ZodNumber; mode: z.ZodLiteral<"plan">; }, z.core.$strip>; declare const BillingLimitConfiguredCustom: z.ZodObject<{ isConfigured: z.ZodLiteral; cancelInProgressRuns: z.ZodBoolean; limitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; effectiveAmountCents: z.ZodNullable; gracePeriodMs: z.ZodNumber; mode: z.ZodLiteral<"custom">; amountCents: z.ZodNumber; }, z.core.$strip>; declare const BillingLimitResult: z.ZodUnion; gracePeriodMs: z.ZodNumber; }, z.core.$strip>, z.ZodObject<{ isConfigured: z.ZodLiteral; cancelInProgressRuns: z.ZodBoolean; limitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; effectiveAmountCents: z.ZodNullable; gracePeriodMs: z.ZodNumber; mode: z.ZodLiteral<"none">; }, z.core.$strip>, z.ZodObject<{ isConfigured: z.ZodLiteral; cancelInProgressRuns: z.ZodBoolean; limitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; effectiveAmountCents: z.ZodNullable; gracePeriodMs: z.ZodNumber; mode: z.ZodLiteral<"plan">; }, z.core.$strip>, z.ZodObject<{ isConfigured: z.ZodLiteral; cancelInProgressRuns: z.ZodBoolean; limitState: z.ZodDiscriminatedUnion<[z.ZodObject<{ status: z.ZodLiteral<"ok">; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"grace">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>, z.ZodObject<{ status: z.ZodLiteral<"rejected">; hitAt: z.ZodString; graceEndsAt: z.ZodString; }, z.core.$strip>], "status">; effectiveAmountCents: z.ZodNullable; gracePeriodMs: z.ZodNumber; mode: z.ZodLiteral<"custom">; amountCents: z.ZodNumber; }, z.core.$strip>]>; type BillingLimitResult = z.infer; declare const UpdateBillingLimitRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{ mode: z.ZodLiteral<"none">; cancelInProgressRuns: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"plan">; cancelInProgressRuns: z.ZodBoolean; }, z.core.$strip>, z.ZodObject<{ mode: z.ZodLiteral<"custom">; amountCents: z.ZodNumber; cancelInProgressRuns: z.ZodBoolean; }, z.core.$strip>], "mode">; type UpdateBillingLimitRequest = z.infer; declare const ResolveBillingLimitRequest: z.ZodDiscriminatedUnion<[z.ZodObject<{ action: z.ZodLiteral<"increase">; newAmountCents: z.ZodNumber; resumeMode: z.ZodEnum<{ new_only: "new_only"; queue: "queue"; }>; }, z.core.$strip>, z.ZodObject<{ action: z.ZodLiteral<"remove">; resumeMode: z.ZodEnum<{ new_only: "new_only"; queue: "queue"; }>; }, z.core.$strip>], "action">; type ResolveBillingLimitRequest = z.infer; declare const BillingLimitActiveOrg: z.ZodObject<{ orgId: z.ZodString; limitState: z.ZodEnum<{ grace: "grace"; rejected: "rejected"; }>; }, z.core.$strip>; declare const BillingLimitsActiveResult: z.ZodObject<{ orgs: z.ZodArray; }, z.core.$strip>>; }, z.core.$strip>; type BillingLimitsActiveResult = z.infer; declare const BillingLimitPendingResolveOrg: z.ZodObject<{ organizationId: z.ZodString; resumeMode: z.ZodEnum<{ new_only: "new_only"; queue: "queue"; }>; resolvedAt: z.ZodString; }, z.core.$strip>; declare const BillingLimitsPendingResolvesResult: z.ZodObject<{ orgs: z.ZodArray; resolvedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; type BillingLimitsPendingResolvesResult = z.infer; //#endregion //#region src/v3/schemas/registryCredentials.d.ts declare const RegistryCredentialsResponseSchema: z.ZodObject<{ username: z.ZodString; password: z.ZodString; expiresAt: z.ZodString; repositoryUri: z.ZodString; }, z.core.$strip>; type RegistryCredentialsResponse = z.infer; //#endregion //#region src/v3/schemas/enqueueBuild.d.ts declare const EnqueueBuildRequestSchema: z.ZodUnion; configFilePath: z.ZodOptional; fromBundle: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>, z.ZodObject<{ deploymentId: z.ZodString; github: z.ZodObject<{ commitSha: z.ZodString; ref: z.ZodString; }, z.core.$strip>; options: z.ZodObject<{ skipPromotion: z.ZodOptional; configFilePath: z.ZodOptional; fromBundle: z.ZodOptional; }, z.core.$strip>; }, z.core.$strip>]>; type EnqueueBuildRequest = z.infer; declare const EnqueueBuildResponseSchema: z.ZodObject<{ buildId: z.ZodString; }, z.core.$strip>; type EnqueueBuildResponse = z.infer; declare const EnqueueBuildErrorCodeSchema: z.ZodEnum<{ ATOMIC_PRODUCTION_REQUIRES_VERCEL: "ATOMIC_PRODUCTION_REQUIRES_VERCEL"; COMMIT_NOT_FOUND: "COMMIT_NOT_FOUND"; DEPLOYMENT_NOT_PENDING: "DEPLOYMENT_NOT_PENDING"; GITHUB_UNAVAILABLE: "GITHUB_UNAVAILABLE"; NO_CONNECTED_REPOSITORY: "NO_CONNECTED_REPOSITORY"; }>; type EnqueueBuildErrorCode = z.infer; //#endregion //#region src/v3/schemas/initialDeployment.d.ts declare const TriggerInitialDeploymentRequestSchema: z.ZodObject<{ environment: z.ZodEnum<{ preview: "preview"; prod: "prod"; staging: "staging"; }>; branch: z.ZodOptional; }, z.core.$strip>; type TriggerInitialDeploymentRequest = z.infer; declare const TriggerInitialDeploymentResponseSchema: z.ZodObject<{ ok: z.ZodBoolean; }, z.core.$strip>; type TriggerInitialDeploymentResponse = z.infer; //#endregion //#region src/v3/schemas/privateLink.d.ts declare const PrivateLinkConnectionStatus: z.ZodEnum<{ ACTIVE: "ACTIVE"; DELETING: "DELETING"; ERROR: "ERROR"; PENDING: "PENDING"; PROVISIONING: "PROVISIONING"; }>; type PrivateLinkConnectionStatus = z.infer; declare const PrivateLinkConnection: z.ZodObject<{ id: z.ZodString; friendlyId: z.ZodString; name: z.ZodString; organizationId: z.ZodString; endpointServiceName: z.ZodString; targetRegion: z.ZodString; status: z.ZodEnum<{ ACTIVE: "ACTIVE"; DELETING: "DELETING"; ERROR: "ERROR"; PENDING: "PENDING"; PROVISIONING: "PROVISIONING"; }>; statusMessage: z.ZodNullable; endpointDnsName: z.ZodNullable; endpointIps: z.ZodNullable>; provisionedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>; type PrivateLinkConnection = z.infer; declare const PrivateLinkConnectionList: z.ZodObject<{ connections: z.ZodArray; statusMessage: z.ZodNullable; endpointDnsName: z.ZodNullable; endpointIps: z.ZodNullable>; provisionedAt: z.ZodNullable; createdAt: z.ZodString; updatedAt: z.ZodString; }, z.core.$strip>>; }, z.core.$strip>; type PrivateLinkConnectionList = z.infer; declare const CreatePrivateLinkConnectionBody: z.ZodObject<{ name: z.ZodString; endpointServiceName: z.ZodString; targetRegion: z.ZodString; }, z.core.$strip>; type CreatePrivateLinkConnectionBody = z.infer; declare const DeletePrivateLinkResult: z.ZodObject<{ success: z.ZodBoolean; }, z.core.$strip>; type DeletePrivateLinkResult = z.infer; declare const PrivateLinkRegionsResult: z.ZodObject<{ availableRegions: z.ZodArray; activeRegions: z.ZodArray; }, z.core.$strip>; type PrivateLinkRegionsResult = z.infer; //#endregion //#region src/v3/schemas/promoCodes.d.ts declare const ValidatePromoCodeBodySchema: z.ZodObject<{ code: z.ZodString; }, z.core.$strip>; type ValidatePromoCodeBody = z.infer; declare const ValidatePromoCodeResult: z.ZodObject<{ valid: z.ZodBoolean; amountInCents: z.ZodOptional; expiresAt: z.ZodOptional>; }, z.core.$strip>; type ValidatePromoCodeResultType = z.infer; declare const ApplyPromoCodeBodySchema: z.ZodObject<{ code: z.ZodString; userId: z.ZodString; }, z.core.$strip>; type ApplyPromoCodeBody = z.infer; declare const ApplyPromoCodeResult: z.ZodObject<{ applied: z.ZodBoolean; amountInCents: z.ZodOptional; expiresAt: z.ZodOptional>; reason: z.ZodOptional; }, z.core.$strip>; type ApplyPromoCodeResultType = z.infer; declare const PromoCreditsResult: z.ZodObject<{ promoCredits: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; type PromoCreditsResultType = z.infer; //#endregion //#region src/v3/schemas/ipLocation.d.ts /** Approximate country and network owner of an IPv4 address, from the IPinfo Lite dataset. */ declare const IpLocation: z.ZodObject<{ country: z.ZodNullable; countryCode: z.ZodNullable; asn: z.ZodNullable; asName: z.ZodNullable; }, z.core.$strip>; type IpLocation = z.infer; declare const IpLocationResult: z.ZodObject<{ location: z.ZodNullable; countryCode: z.ZodNullable; asn: z.ZodNullable; asName: z.ZodNullable; }, z.core.$strip>>; }, z.core.$strip>; type IpLocationResultBody = z.infer; //#endregion //#region src/v3/client/index.d.ts type BillingClientConfig = { url: string; apiKey: string; }; type SuccessResult = { success: true; } & z.infer; type ErrorResult = { success: false; error: string; code?: string; [key: string]: unknown; }; type Result = SuccessResult | ErrorResult; type PlansResponse = Result; type CurrentPlanResponse = Result; type SetPlanResponse = Result; type CancelSubscriptionResult = Result; type CustomerPortalResponse = Result; type UsageResponse = Result; type UsageSeriesResponse = Result; type UsageInvocationReportResponse = Result; type UsageEntitlementResponse = Result; type BillingAlertsResponse = Result; type BillingLimitResponse = Result; type BillingLimitsActiveResponse = Result; type IpLocationResponse = Result; type RegistryCredentialsResult = Result; type SetAddOnResponse = Result; type EnqueueBuildResult = Result; type PrivateLinkConnectionListResponse = Result; type PrivateLinkConnectionResponse = Result; type DeletePrivateLinkResponse = Result; type PrivateLinkRegionsResponse = Result; type TriggerInitialDeploymentResult = Result; type ValidatePromoCodeResponse = Result; type ApplyPromoCodeResponse = Result; type PromoCreditsResponse = Result; declare class BillingClient { private readonly config; constructor(config: BillingClientConfig); plans(): Promise; currentPlan(orgId: string): Promise; usage(orgId: string, params: UsageParams): Promise; usageSeries(orgId: string, params: UsageSeriesParams): Promise; setPlan(orgId: string, body: SetPlanBody): Promise; cancelSubscription(orgId: string): Promise; setAddOn(orgId: string, body: SetAddOnBody): Promise; validatePromoCode(code: string): Promise; applyPromoCode(orgId: string, body: { code: string; userId: string; }): Promise; promoCredits(orgId: string): Promise; createPortalSession(orgId: string, body: CustomerPortalRequestBody): Promise; /** * * @param event The data is in the body, not using a JWT * @returns details about usage */ reportInvocationUsage(event: ReportInvocationUsageEvent): Promise; /** * Generates registry credentials for a project. This is used to push images to a project's container repository. * * @param projectId The ID of the project * @param region The region to generate credentials for * @returns The registry credentials */ generateRegistryCredentials(projectId: string, region: "us-east-1" | "eu-central-1"): Promise; /** * Enqueues a build for a project deployment. * * @param projectId The ID of the project * @param body The enqueue build request containing the deployment ID * @returns The build ID */ enqueueBuild(projectId: string, body: EnqueueBuildRequest): Promise; /** * * @param event The data is in the body, not using a JWT * @returns details about usage */ getEntitlement(orgId: string): Promise; getBillingAlerts(orgId: string): Promise; updateBillingAlerts(orgId: string, body: UpdateBillingAlertsRequest): Promise; getBillingLimit(orgId: string): Promise; updateBillingLimit(orgId: string, body: UpdateBillingLimitRequest): Promise; resolveBillingLimit(orgId: string, body: ResolveBillingLimitRequest): Promise; getActiveBillingLimits(): Promise; /** Approximate country and network owner of an IP address. `location` is null when unknown. */ getIpLocation(ip: string): Promise; getPrivateLinks(orgId: string): Promise; createPrivateLink(orgId: string, body: CreatePrivateLinkConnectionBody): Promise; deletePrivateLink(orgId: string, connectionId: string): Promise; getPrivateLinkRegions(orgId: string): Promise; triggerInitialDeployment(projectId: string, body: TriggerInitialDeploymentRequest): Promise; fetch(path: string, schema: TSchema, requestInit?: RequestInit): Promise>; } declare function objectToSearchParams(obj: undefined | Record): URLSearchParams | undefined; //#endregion //#region src/v3/machineDefinition.d.ts type MachineDefinitionInput = { code: string; title: string; cpu: number; memory: number; centsPerVCpuSecond: number; centsPerGbRamSecond: number; }; declare function machineDefinition({ code, title, cpu, memory, centsPerVCpuSecond, centsPerGbRamSecond }: MachineDefinitionInput): MachineDefinition; //#endregion //#region src/v3/machinePresets.d.ts declare const machines: { micro: { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; "small-1x": { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; "small-2x": { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; "medium-1x": { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; "medium-2x": { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; "large-1x": { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; "large-2x": { code: string; title: string; cpu: number; memory: number; centsPerMs: number; }; }; type MachineCode = keyof typeof machines; declare const defaultMachine: MachineCode; //#endregion export { AddOn, AddOnDefinition, AddOnPricing, AddOns, ApplyPromoCodeBody, ApplyPromoCodeBodySchema, ApplyPromoCodeResponse, ApplyPromoCodeResult, ApplyPromoCodeResultType, BatchQueueConcurrencyConfig, BatchRateLimitConfig, BillingAlertsResponse, BillingAlertsResult, BillingClient, BillingLimitActiveOrg, BillingLimitConfiguredCustom, BillingLimitConfiguredNone, BillingLimitConfiguredPlan, BillingLimitPendingResolveOrg, BillingLimitResponse, BillingLimitResult, BillingLimitState, BillingLimitUnconfigured, BillingLimitsActiveResponse, BillingLimitsActiveResult, BillingLimitsPendingResolvesResult, CancelSubscriptionResponse, CancelSubscriptionResult, CanceledSubscriptionResult, CreatePrivateLinkConnectionBody, CreateSubscriptionFlowStart, CurrentPlan, CurrentPlanResponse, CustomerPortal, CustomerPortalRequestBody, CustomerPortalRequestBodySchema, CustomerPortalResponse, CustomerPortalSchema, DeletePrivateLinkResponse, DeletePrivateLinkResult, EnqueueBuildErrorCode, EnqueueBuildErrorCodeSchema, EnqueueBuildRequest, EnqueueBuildRequestSchema, EnqueueBuildResponse, EnqueueBuildResponseSchema, EnqueueBuildResult, EnterprisePlanDefinition, EnvironmentBasedLimit, Error, ErrorSchema, ExceedableLimit, FreeConnectRequired, FreeConnectRequiredSchema, FreeConnected, FreeConnectedSchema, FreePlanDefinition, FreeTierStatus, IpLocation, IpLocationResponse, IpLocationResult, IpLocationResultBody, Limits, MAX_INVOCATION_COST_IN_CENTS, MachineCode, MachineDefinition, MachineDefinitionInput, PaidPlanDefinition, PlanDefinition, PlanDefinitionSchema, Plans, PlansResponse, PlansResult, PrivateLinkConnection, PrivateLinkConnectionList, PrivateLinkConnectionListResponse, PrivateLinkConnectionResponse, PrivateLinkConnectionStatus, PrivateLinkRegionsResponse, PrivateLinkRegionsResult, PromoCreditsResponse, PromoCreditsResult, PromoCreditsResultType, QueueSizeLimits, RegistryCredentialsResponse, RegistryCredentialsResponseSchema, RegistryCredentialsResult, ReportComputeUsageEvent, ReportInvocationUsageEvent, ReportInvocationUsageResult, ReportUsagePlan, ReportUsageResult, ResolveBillingLimitRequest, SetAddOnBody, SetAddOnResponse, SetAddOnResult, SetPlanBody, SetPlanBodySchema, SetPlanResponse, SubscribeResult, SubscribeResultSchema, SubscriptionResult, TriggerInitialDeploymentRequest, TriggerInitialDeploymentRequestSchema, TriggerInitialDeploymentResponse, TriggerInitialDeploymentResponseSchema, TriggerInitialDeploymentResult, UpdateBillingAlertsRequest, UpdateBillingLimitRequest, UpdatedSubscriptionResult, UsageEntitlementResponse, UsageInvocationReportResponse, UsageParams, UsageResponse, UsageResult, UsageSeriesParams, UsageSeriesResponse, UsageSeriesResult, ValidatePromoCodeBody, ValidatePromoCodeBodySchema, ValidatePromoCodeResponse, ValidatePromoCodeResult, ValidatePromoCodeResultType, WebhookLimitsConfig, defaultMachine, machineDefinition, machines, objectToSearchParams };