@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>
1,983 lines • 90 kB
TypeScript
import * as z from "zod/v3";
import { ClosedEnum } from "../types/enums.js";
import { Result as SafeParseResult } from "../types/fp.js";
import { SDKValidationError } from "./sdkvalidationerror.js";
import { Abuse, Credentials, EmailNotifications, PayloadActiveDashboardViews, PayloadBilling, PayloadDataCache, PayloadDismissedToasts, PayloadFavoriteProjectsAndSpaces, PayloadImportFlowGitNamespace, PayloadImportFlowGitNamespaceId, PayloadImportFlowGitProvider, PayloadPreferredScopesAndGitNamespaces, PayloadResourceConfig, PayloadSiftRoute, PayloadSoftBlock, PreventAutoBlocking, ResourceLimits, SecondaryEmails, SiftScores, Teams, UserEventPayload138Type, UserEventPayloadRemoteCaching } from "./usereventpayload138type.js";
/**
* Contains the timestamps when a user was notified about their usage
*/
export type UsageAlerts = {
warningAt?: number | null | undefined;
blockingAt?: number | null | undefined;
};
export type AnalyticsUsage = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type Artifacts = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type Bandwidth = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type BlobTotalAdvancedRequests = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type BlobTotalAvgSizeInBytes = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type BlobTotalGetResponseObjectSizeInBytes = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type BlobTotalSimpleRequests = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ConnectDataTransfer = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type DataCacheRead = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type DataCacheWrite = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type EdgeConfigRead = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type EdgeConfigWrite = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type EdgeFunctionExecutionUnits = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type EdgeMiddlewareInvocations = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type EdgeRequestAdditionalCpuDuration = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type EdgeRequest = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ElasticConcurrencyBuildSlots = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type FastDataTransfer = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type FastOriginTransfer = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type FluidCpuDuration = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type FluidDuration = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type FunctionDuration = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type FunctionInvocation = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ImageOptimizationCacheRead = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ImageOptimizationCacheWrite = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ImageOptimizationTransformation = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type LogDrainsVolume = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type MonitoringMetric = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type BlobDataTransfer = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ObservabilityEvent = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type OnDemandConcurrencyMinutes = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type RuntimeCacheRead = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type RuntimeCacheWrite = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type ServerlessFunctionExecution = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type SourceImages = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type WafOwaspExcessBytes = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type WafOwaspRequests = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type WafRateLimitRequest = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type WebAnalyticsEvent = {
currentThreshold: number;
warningAt?: number | null | undefined;
blockedAt?: number | null | undefined;
};
export type OverageUsageAlerts = {
analyticsUsage?: AnalyticsUsage | undefined;
artifacts?: Artifacts | undefined;
bandwidth?: Bandwidth | undefined;
blobTotalAdvancedRequests?: BlobTotalAdvancedRequests | undefined;
blobTotalAvgSizeInBytes?: BlobTotalAvgSizeInBytes | undefined;
blobTotalGetResponseObjectSizeInBytes?: BlobTotalGetResponseObjectSizeInBytes | undefined;
blobTotalSimpleRequests?: BlobTotalSimpleRequests | undefined;
connectDataTransfer?: ConnectDataTransfer | undefined;
dataCacheRead?: DataCacheRead | undefined;
dataCacheWrite?: DataCacheWrite | undefined;
edgeConfigRead?: EdgeConfigRead | undefined;
edgeConfigWrite?: EdgeConfigWrite | undefined;
edgeFunctionExecutionUnits?: EdgeFunctionExecutionUnits | undefined;
edgeMiddlewareInvocations?: EdgeMiddlewareInvocations | undefined;
edgeRequestAdditionalCpuDuration?: EdgeRequestAdditionalCpuDuration | undefined;
edgeRequest?: EdgeRequest | undefined;
elasticConcurrencyBuildSlots?: ElasticConcurrencyBuildSlots | undefined;
fastDataTransfer?: FastDataTransfer | undefined;
fastOriginTransfer?: FastOriginTransfer | undefined;
fluidCpuDuration?: FluidCpuDuration | undefined;
fluidDuration?: FluidDuration | undefined;
functionDuration?: FunctionDuration | undefined;
functionInvocation?: FunctionInvocation | undefined;
imageOptimizationCacheRead?: ImageOptimizationCacheRead | undefined;
imageOptimizationCacheWrite?: ImageOptimizationCacheWrite | undefined;
imageOptimizationTransformation?: ImageOptimizationTransformation | undefined;
logDrainsVolume?: LogDrainsVolume | undefined;
monitoringMetric?: MonitoringMetric | undefined;
blobDataTransfer?: BlobDataTransfer | undefined;
observabilityEvent?: ObservabilityEvent | undefined;
onDemandConcurrencyMinutes?: OnDemandConcurrencyMinutes | undefined;
runtimeCacheRead?: RuntimeCacheRead | undefined;
runtimeCacheWrite?: RuntimeCacheWrite | undefined;
serverlessFunctionExecution?: ServerlessFunctionExecution | undefined;
sourceImages?: SourceImages | undefined;
wafOwaspExcessBytes?: WafOwaspExcessBytes | undefined;
wafOwaspRequests?: WafOwaspRequests | undefined;
wafRateLimitRequest?: WafRateLimitRequest | undefined;
webAnalyticsEvent?: WebAnalyticsEvent | undefined;
};
/**
* Contains the timestamps for usage summary emails.
*/
export type OverageMetadata = {
/**
* Tracks if the first time on-demand overage email has been sent.
*/
firstTimeOnDemandNotificationSentAt?: number | undefined;
/**
* Tracks the last time we sent a daily summary email.
*/
dailyOverageSummaryEmailSentAt?: number | undefined;
/**
* Tracks the last time we sent a weekly summary email.
*/
weeklyOverageSummaryEmailSentAt?: number | undefined;
/**
* Tracks when the overage summary email will stop auto-sending. We currently lock the user into email for a month after the last on-demand usage.
*/
overageSummaryExpiresAt?: number | undefined;
/**
* Tracks the last time we sent a increased on-demand email.
*/
increasedOnDemandEmailSentAt?: number | undefined;
/**
* Tracks the last time we attempted to send an increased on-demand email. This check is to limit the number of attempts per day.
*/
increasedOnDemandEmailAttemptedAt?: number | undefined;
};
/**
* Whether the Vercel Toolbar is enabled for preview deployments.
*/
export declare const PayloadEnablePreviewFeedback: {
readonly Default: "default";
readonly DefaultForce: "default-force";
readonly Off: "off";
readonly OffForce: "off-force";
readonly On: "on";
readonly OnForce: "on-force";
};
/**
* Whether the Vercel Toolbar is enabled for preview deployments.
*/
export type PayloadEnablePreviewFeedback = ClosedEnum<typeof PayloadEnablePreviewFeedback>;
export declare const BlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type BlockReason = ClosedEnum<typeof BlockReason>;
export type PayloadWebAnalytics = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: BlockReason;
graceEmailSentAt?: number | undefined;
};
export declare const PayloadBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type PayloadBlockReason = ClosedEnum<typeof PayloadBlockReason>;
export declare const BlockType: {
readonly Hard: "hard";
readonly Soft: "soft";
};
export type BlockType = ClosedEnum<typeof BlockType>;
/**
* A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial)
*/
export type Monitoring = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: PayloadBlockReason;
blockType: BlockType;
};
export declare const UserEventPayloadBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayloadBlockReason = ClosedEnum<typeof UserEventPayloadBlockReason>;
export declare const PayloadBlockType: {
readonly Hard: "hard";
readonly Soft: "soft";
};
export type PayloadBlockType = ClosedEnum<typeof PayloadBlockType>;
export type ObservabilityPlus = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayloadBlockReason;
blockType: PayloadBlockType;
};
export declare const UserEventPayload138BlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138BlockReason = ClosedEnum<typeof UserEventPayload138BlockReason>;
export type UserEventPayloadDataCache = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138BlockReason;
};
export declare const UserEventPayload138NewOwnerBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138NewOwnerBlockReason = ClosedEnum<typeof UserEventPayload138NewOwnerBlockReason>;
export type PayloadImageOptimizationTransformation = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138NewOwnerBlockReason;
};
export declare const UserEventPayload138NewOwnerFeatureBlocksBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138NewOwnerFeatureBlocksBlockReason = ClosedEnum<typeof UserEventPayload138NewOwnerFeatureBlocksBlockReason>;
export type PayloadSourceImages = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138NewOwnerFeatureBlocksBlockReason;
};
export declare const UserEventBlobBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
};
export type UserEventBlobBlockReason = ClosedEnum<typeof UserEventBlobBlockReason>;
export type Blob2 = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventBlobBlockReason;
};
export declare const OverageReason: {
readonly AnalyticsUsage: "analyticsUsage";
readonly Artifacts: "artifacts";
readonly Bandwidth: "bandwidth";
readonly BlobDataTransfer: "blobDataTransfer";
readonly BlobTotalAdvancedRequests: "blobTotalAdvancedRequests";
readonly BlobTotalAvgSizeInBytes: "blobTotalAvgSizeInBytes";
readonly BlobTotalGetResponseObjectSizeInBytes: "blobTotalGetResponseObjectSizeInBytes";
readonly BlobTotalSimpleRequests: "blobTotalSimpleRequests";
readonly ConnectDataTransfer: "connectDataTransfer";
readonly DataCacheRead: "dataCacheRead";
readonly DataCacheWrite: "dataCacheWrite";
readonly EdgeConfigRead: "edgeConfigRead";
readonly EdgeConfigWrite: "edgeConfigWrite";
readonly EdgeFunctionExecutionUnits: "edgeFunctionExecutionUnits";
readonly EdgeMiddlewareInvocations: "edgeMiddlewareInvocations";
readonly EdgeRequest: "edgeRequest";
readonly EdgeRequestAdditionalCpuDuration: "edgeRequestAdditionalCpuDuration";
readonly ElasticConcurrencyBuildSlots: "elasticConcurrencyBuildSlots";
readonly FastDataTransfer: "fastDataTransfer";
readonly FastOriginTransfer: "fastOriginTransfer";
readonly FluidCpuDuration: "fluidCpuDuration";
readonly FluidDuration: "fluidDuration";
readonly FunctionDuration: "functionDuration";
readonly FunctionInvocation: "functionInvocation";
readonly ImageOptimizationCacheRead: "imageOptimizationCacheRead";
readonly ImageOptimizationCacheWrite: "imageOptimizationCacheWrite";
readonly ImageOptimizationTransformation: "imageOptimizationTransformation";
readonly LogDrainsVolume: "logDrainsVolume";
readonly MonitoringMetric: "monitoringMetric";
readonly ObservabilityEvent: "observabilityEvent";
readonly OnDemandConcurrencyMinutes: "onDemandConcurrencyMinutes";
readonly RuntimeCacheRead: "runtimeCacheRead";
readonly RuntimeCacheWrite: "runtimeCacheWrite";
readonly ServerlessFunctionExecution: "serverlessFunctionExecution";
readonly SourceImages: "sourceImages";
readonly WafOwaspExcessBytes: "wafOwaspExcessBytes";
readonly WafOwaspRequests: "wafOwaspRequests";
readonly WafRateLimitRequest: "wafRateLimitRequest";
readonly WebAnalyticsEvent: "webAnalyticsEvent";
};
export type OverageReason = ClosedEnum<typeof OverageReason>;
export type Blob1 = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: "limits_exceeded";
overageReason: OverageReason;
};
export type BlobT = Blob1 | (Blob2 & {
blockReason: "admin_override";
}) | (Blob2 & {
blockReason: "hard_blocked";
});
export declare const UserEventPostgresBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
};
export type UserEventPostgresBlockReason = ClosedEnum<typeof UserEventPostgresBlockReason>;
export type Postgres2 = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPostgresBlockReason;
};
export declare const PostgresOverageReason: {
readonly AnalyticsUsage: "analyticsUsage";
readonly Artifacts: "artifacts";
readonly Bandwidth: "bandwidth";
readonly BlobDataTransfer: "blobDataTransfer";
readonly BlobTotalAdvancedRequests: "blobTotalAdvancedRequests";
readonly BlobTotalAvgSizeInBytes: "blobTotalAvgSizeInBytes";
readonly BlobTotalGetResponseObjectSizeInBytes: "blobTotalGetResponseObjectSizeInBytes";
readonly BlobTotalSimpleRequests: "blobTotalSimpleRequests";
readonly ConnectDataTransfer: "connectDataTransfer";
readonly DataCacheRead: "dataCacheRead";
readonly DataCacheWrite: "dataCacheWrite";
readonly EdgeConfigRead: "edgeConfigRead";
readonly EdgeConfigWrite: "edgeConfigWrite";
readonly EdgeFunctionExecutionUnits: "edgeFunctionExecutionUnits";
readonly EdgeMiddlewareInvocations: "edgeMiddlewareInvocations";
readonly EdgeRequest: "edgeRequest";
readonly EdgeRequestAdditionalCpuDuration: "edgeRequestAdditionalCpuDuration";
readonly ElasticConcurrencyBuildSlots: "elasticConcurrencyBuildSlots";
readonly FastDataTransfer: "fastDataTransfer";
readonly FastOriginTransfer: "fastOriginTransfer";
readonly FluidCpuDuration: "fluidCpuDuration";
readonly FluidDuration: "fluidDuration";
readonly FunctionDuration: "functionDuration";
readonly FunctionInvocation: "functionInvocation";
readonly ImageOptimizationCacheRead: "imageOptimizationCacheRead";
readonly ImageOptimizationCacheWrite: "imageOptimizationCacheWrite";
readonly ImageOptimizationTransformation: "imageOptimizationTransformation";
readonly LogDrainsVolume: "logDrainsVolume";
readonly MonitoringMetric: "monitoringMetric";
readonly ObservabilityEvent: "observabilityEvent";
readonly OnDemandConcurrencyMinutes: "onDemandConcurrencyMinutes";
readonly RuntimeCacheRead: "runtimeCacheRead";
readonly RuntimeCacheWrite: "runtimeCacheWrite";
readonly ServerlessFunctionExecution: "serverlessFunctionExecution";
readonly SourceImages: "sourceImages";
readonly WafOwaspExcessBytes: "wafOwaspExcessBytes";
readonly WafOwaspRequests: "wafOwaspRequests";
readonly WafRateLimitRequest: "wafRateLimitRequest";
readonly WebAnalyticsEvent: "webAnalyticsEvent";
};
export type PostgresOverageReason = ClosedEnum<typeof PostgresOverageReason>;
export type Postgres1 = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: "limits_exceeded";
overageReason: PostgresOverageReason;
};
export type Postgres = Postgres1 | (Postgres2 & {
blockReason: "admin_override";
}) | (Postgres2 & {
blockReason: "hard_blocked";
});
export declare const UserEventRedisBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
};
export type UserEventRedisBlockReason = ClosedEnum<typeof UserEventRedisBlockReason>;
export type Redis2 = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventRedisBlockReason;
};
export declare const RedisOverageReason: {
readonly AnalyticsUsage: "analyticsUsage";
readonly Artifacts: "artifacts";
readonly Bandwidth: "bandwidth";
readonly BlobDataTransfer: "blobDataTransfer";
readonly BlobTotalAdvancedRequests: "blobTotalAdvancedRequests";
readonly BlobTotalAvgSizeInBytes: "blobTotalAvgSizeInBytes";
readonly BlobTotalGetResponseObjectSizeInBytes: "blobTotalGetResponseObjectSizeInBytes";
readonly BlobTotalSimpleRequests: "blobTotalSimpleRequests";
readonly ConnectDataTransfer: "connectDataTransfer";
readonly DataCacheRead: "dataCacheRead";
readonly DataCacheWrite: "dataCacheWrite";
readonly EdgeConfigRead: "edgeConfigRead";
readonly EdgeConfigWrite: "edgeConfigWrite";
readonly EdgeFunctionExecutionUnits: "edgeFunctionExecutionUnits";
readonly EdgeMiddlewareInvocations: "edgeMiddlewareInvocations";
readonly EdgeRequest: "edgeRequest";
readonly EdgeRequestAdditionalCpuDuration: "edgeRequestAdditionalCpuDuration";
readonly ElasticConcurrencyBuildSlots: "elasticConcurrencyBuildSlots";
readonly FastDataTransfer: "fastDataTransfer";
readonly FastOriginTransfer: "fastOriginTransfer";
readonly FluidCpuDuration: "fluidCpuDuration";
readonly FluidDuration: "fluidDuration";
readonly FunctionDuration: "functionDuration";
readonly FunctionInvocation: "functionInvocation";
readonly ImageOptimizationCacheRead: "imageOptimizationCacheRead";
readonly ImageOptimizationCacheWrite: "imageOptimizationCacheWrite";
readonly ImageOptimizationTransformation: "imageOptimizationTransformation";
readonly LogDrainsVolume: "logDrainsVolume";
readonly MonitoringMetric: "monitoringMetric";
readonly ObservabilityEvent: "observabilityEvent";
readonly OnDemandConcurrencyMinutes: "onDemandConcurrencyMinutes";
readonly RuntimeCacheRead: "runtimeCacheRead";
readonly RuntimeCacheWrite: "runtimeCacheWrite";
readonly ServerlessFunctionExecution: "serverlessFunctionExecution";
readonly SourceImages: "sourceImages";
readonly WafOwaspExcessBytes: "wafOwaspExcessBytes";
readonly WafOwaspRequests: "wafOwaspRequests";
readonly WafRateLimitRequest: "wafRateLimitRequest";
readonly WebAnalyticsEvent: "webAnalyticsEvent";
};
export type RedisOverageReason = ClosedEnum<typeof RedisOverageReason>;
export type Redis1 = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: "limits_exceeded";
overageReason: RedisOverageReason;
};
export type Redis = Redis1 | (Redis2 & {
blockReason: "admin_override";
}) | (Redis2 & {
blockReason: "hard_blocked";
});
export declare const UserEventPayload138NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason = ClosedEnum<typeof UserEventPayload138NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason>;
export type MicrofrontendsRequest = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason;
};
export declare const UserEventPayload138NewOwnerFeatureBlocksWorkflowStorageBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138NewOwnerFeatureBlocksWorkflowStorageBlockReason = ClosedEnum<typeof UserEventPayload138NewOwnerFeatureBlocksWorkflowStorageBlockReason>;
export type WorkflowStorage = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138NewOwnerFeatureBlocksWorkflowStorageBlockReason;
};
export declare const UserEventPayload138NewOwnerFeatureBlocksWorkflowStepBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138NewOwnerFeatureBlocksWorkflowStepBlockReason = ClosedEnum<typeof UserEventPayload138NewOwnerFeatureBlocksWorkflowStepBlockReason>;
export type WorkflowStep = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138NewOwnerFeatureBlocksWorkflowStepBlockReason;
};
export declare const UserEventPayload138NewOwnerFeatureBlocksConnexTokenRequestsBlockReason: {
readonly AdminOverride: "admin_override";
readonly HardBlocked: "hard_blocked";
readonly LimitsExceeded: "limits_exceeded";
};
export type UserEventPayload138NewOwnerFeatureBlocksConnexTokenRequestsBlockReason = ClosedEnum<typeof UserEventPayload138NewOwnerFeatureBlocksConnexTokenRequestsBlockReason>;
export type ConnexTokenRequests = {
updatedAt: number;
blockedFrom?: number | undefined;
blockedUntil?: number | undefined;
blockReason: UserEventPayload138NewOwnerFeatureBlocksConnexTokenRequestsBlockReason;
};
/**
* Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all).
*/
export type PayloadFeatureBlocks = {
webAnalytics?: PayloadWebAnalytics | undefined;
/**
* A soft block indicates a temporary pause in data collection (ex limit exceeded for the current cycle) A hard block indicates a stoppage in data collection that requires manual intervention (ex upgrading a pro trial)
*/
monitoring?: Monitoring | undefined;
observabilityPlus?: ObservabilityPlus | undefined;
dataCache?: UserEventPayloadDataCache | undefined;
imageOptimizationTransformation?: PayloadImageOptimizationTransformation | undefined;
sourceImages?: PayloadSourceImages | undefined;
blob?: Blob1 | (Blob2 & {
blockReason: "admin_override";
}) | (Blob2 & {
blockReason: "hard_blocked";
}) | undefined;
postgres?: Postgres1 | (Postgres2 & {
blockReason: "admin_override";
}) | (Postgres2 & {
blockReason: "hard_blocked";
}) | undefined;
redis?: Redis1 | (Redis2 & {
blockReason: "admin_override";
}) | (Redis2 & {
blockReason: "hard_blocked";
}) | undefined;
microfrontendsRequest?: MicrofrontendsRequest | undefined;
workflowStorage?: WorkflowStorage | undefined;
workflowStep?: WorkflowStep | undefined;
connexTokenRequests?: ConnexTokenRequests | undefined;
};
export declare const Version: {
readonly Northstar: "northstar";
};
export type Version = ClosedEnum<typeof Version>;
/**
* An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.
*/
export type NorthstarMigration = {
/**
* The ID of the team we created for this user.
*/
teamId: string;
/**
* The number of projects migrated for this user.
*/
projects: number;
/**
* The number of stores migrated for this user.
*/
stores: number;
/**
* The number of integration configurations migrated for this user.
*/
integrationConfigurations: number;
/**
* The number of integration clients migrated for this user.
*/
integrationClients: number;
/**
* The migration start time timestamp for this user.
*/
startTime: number;
/**
* The migration end time timestamp for this user.
*/
endTime: number;
};
export type Totp = {
secret: string;
createdAt: number;
};
/**
* The action that occurred
*/
export declare const UserEventPayload138NewOwnerAction: {
readonly Disabled: "disabled";
readonly Enabled: "enabled";
};
/**
* The action that occurred
*/
export type UserEventPayload138NewOwnerAction = ClosedEnum<typeof UserEventPayload138NewOwnerAction>;
/**
* Method used for the state change - 'totp': User set up TOTP authenticator - 'passkey': User registered a passkey - 'user_disabled': User disabled their own MFA - 'admin_removal': Admin removed MFA via backoffice - 'unknown': Method unknown (for pre-tracking events)
*/
export declare const PayloadMethod: {
readonly AdminRemoval: "admin_removal";
readonly Passkey: "passkey";
readonly Totp: "totp";
readonly Unknown: "unknown";
readonly UserDisabled: "user_disabled";
};
/**
* Method used for the state change - 'totp': User set up TOTP authenticator - 'passkey': User registered a passkey - 'user_disabled': User disabled their own MFA - 'admin_removal': Admin removed MFA via backoffice - 'unknown': Method unknown (for pre-tracking events)
*/
export type PayloadMethod = ClosedEnum<typeof PayloadMethod>;
/**
* Type of actor
*/
export declare const PayloadActorType: {
readonly Admin: "admin";
readonly User: "user";
};
/**
* Type of actor
*/
export type PayloadActorType = ClosedEnum<typeof PayloadActorType>;
/**
* History of MFA state changes (enabled/disabled events). Most recent events first.
*/
export type PayloadHistory = {
/**
* The action that occurred
*/
action: UserEventPayload138NewOwnerAction;
/**
* Unix timestamp (milliseconds) when the change occurred. May be null for events that occurred before history tracking was implemented.
*/
timestamp: number | null;
/**
* Method used for the state change - 'totp': User set up TOTP authenticator - 'passkey': User registered a passkey - 'user_disabled': User disabled their own MFA - 'admin_removal': Admin removed MFA via backoffice - 'unknown': Method unknown (for pre-tracking events)
*/
method: PayloadMethod;
/**
* ID of the actor who made the change - For user actions: the user's own ID - For admin actions: the admin's user ID
*/
actorId: string;
/**
* Type of actor
*/
actorType: PayloadActorType;
/**
* Optional: Additional context or reason e.g., "Account recovery request - ticket #12345"
*/
reason?: string | undefined;
};
/**
* MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in.
*/
export type MfaConfiguration = {
enabled: boolean;
enabledAt?: number | undefined;
recoveryCodes: Array<string>;
totp?: Totp | undefined;
/**
* History of MFA state changes (enabled/disabled events). Most recent events first.
*/
history?: Array<PayloadHistory> | undefined;
};
export type NewOwner = {
abuse?: Abuse | undefined;
acceptanceState?: string | undefined;
acceptedAt?: number | undefined;
avatar?: string | undefined;
billing: PayloadBilling;
blocked: number | null;
blockReason?: string | undefined;
created?: number | undefined;
createdAt: number;
credentials?: Array<Credentials> | undefined;
customerId?: string | null | undefined;
orbCustomerId?: string | null | undefined;
dataCache?: PayloadDataCache | undefined;
deletedAt?: number | null | undefined;
deploymentSecret: string;
dismissedTeams?: Array<string> | undefined;
dismissedToasts?: Array<PayloadDismissedToasts> | undefined;
favoriteProjectsAndSpaces?: Array<PayloadFavoriteProjectsAndSpaces> | undefined;
email: string;
id: string;
importFlowGitNamespace?: PayloadImportFlowGitNamespace | null | undefined;
importFlowGitNamespaceId?: PayloadImportFlowGitNamespaceId | null | undefined;
importFlowGitProvider?: PayloadImportFlowGitProvider | null | undefined;
preferredScopesAndGitNamespaces?: Array<PayloadPreferredScopesAndGitNamespaces> | undefined;
isDomainReseller?: boolean | undefined;
isZeitPub?: boolean | undefined;
testAccountExpiresAt?: number | undefined;
maxActiveSlots?: number | undefined;
name?: string | undefined;
phoneNumber?: string | undefined;
platformVersion: number | null;
preventAutoBlocking?: PreventAutoBlocking | undefined;
/**
* Overrides our DEFAULT project domains limit per account or per project.
*/
projectDomainsLimit?: number | undefined;
/**
* Represents configuration for remote caching
*/
remoteCaching?: UserEventPayloadRemoteCaching | undefined;
removedAliasesAt?: number | undefined;
removedBillingSubscriptionAt?: number | undefined;
removedConfigurationsAt?: number | undefined;
removedDeploymentsAt?: number | undefined;
removedDomiansAt?: number | undefined;
removedEventsAt?: number | undefined;
removedProjectsAt?: number | undefined;
removedSecretsAt?: number | undefined;
removedSharedEnvVarsAt?: number | undefined;
removedEdgeConfigsAt?: number | undefined;
resourceConfig?: PayloadResourceConfig | undefined;
/**
* User | Team resource limits
*/
resourceLimits?: {
[k: string]: ResourceLimits;
} | undefined;
activeDashboardViews?: Array<PayloadActiveDashboardViews> | undefined;
secondaryEmails?: Array<SecondaryEmails> | undefined;
emailDomains?: Array<string> | undefined;
emailNotifications?: EmailNotifications | undefined;
siftScore?: number | undefined;
siftScores?: {
[k: string]: SiftScores;
} | undefined;
siftRoute?: PayloadSiftRoute | undefined;
sfdcId?: string | undefined;
softBlock?: PayloadSoftBlock | null | undefined;
stagingPrefix: string;
sysToken: string;
/**
* A helper that allows to describe a relationship attribute. It receives the shape of a relationship plus the foreignKey name to make it mandatory in the resulting type.
*/
teams?: Array<Teams> | undefined;
/**
* Introduced 2022-04-12 An array of teamIds (for trial teams created after 2022-04-01), created by the user in question. Used in determining whether the team has a trial available in utils/api-teams/user-has-trial-available.ts.
*/
trialTeamIds?: Array<string> | undefined;
/**
* Introduced 2022-04-19 Number of maximum trials to allocate to a user. When undefined, defaults to MAX_TRIALS in utils/api-teams/user-has-trial-available.ts. This is set to trialTeamIds + 1 by services/api-backoffice/src/handlers/add-additional-trial.ts.
*/
maxTrials?: number | undefined;
/**
* Deprecated on 2022-04-12 in favor of trialTeamIds and using utils/api-teams/user-has-trial-available.ts.
*/
trialTeamId?: string | undefined;
type: UserEventPayload138Type;
/**
* Contains the timestamps when a user was notified about their usage
*/
usageAlerts?: UsageAlerts | null | undefined;
overageUsageAlerts?: OverageUsageAlerts | undefined;
/**
* Contains the timestamps for usage summary emails.
*/
overageMetadata?: OverageMetadata | undefined;
username: string;
updatedAt: number;
/**
* Whether the Vercel Toolbar is enabled for preview deployments.
*/
enablePreviewFeedback?: PayloadEnablePreviewFeedback | undefined;
/**
* Information about which features are blocked for a user. Blocks can be either soft (the user can still access the feature, but with a warning, e.g. prompting an upgrade) or hard (the user cannot access the feature at all).
*/
featureBlocks?: PayloadFeatureBlocks | undefined;
defaultTeamId?: string | undefined;
version: Version;
/**
* Whether MFA is enforced for this user. Set to true when the user has a
*/
isMFAEnforced?: boolean | undefined;
/**
* An archive of information about the Northstar migration, derived from the old (deprecated) property, `northstarMigrationEvents`.
*/
northstarMigration?: NorthstarMigration | undefined;
/**
* The salesforce opportunity ID that this user is linked to. This is used to automatically associate a team of the user's choosing with the opportunity.
*/
opportunityId?: string | undefined;
/**
* MFA configuration. When enabled, the user will be required to provide a second factor of authentication when logging in.
*/
mfaConfiguration?: MfaConfiguration | undefined;
/**
* Indicates that the underlying user entity is a managed user for the enterprise it's associated with The intention is that this field is only set to true for users that are provisioned by the enterprise which means that the domain associated with the user's email is the same domain associated with the team Allowing us to query information about the user's team at login time through the domain verification service
*/
isEnterpriseManaged?: boolean | undefined;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtyEight = {
userId: string;
integrationId: string;
configurationId: string;
integrationSlug: string;
integrationName?: string | undefined;
newOwner: NewOwner | null;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtySeven = {
projectId: string;
fromDeploymentId: string;
toDeploymentId: string;
projectName: string;
reason?: string | undefined;
};
export declare const UserEventPayload136Action: {
readonly Disable: "disable";
readonly Enable: "enable";
};
export type UserEventPayload136Action = ClosedEnum<typeof UserEventPayload136Action>;
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtySix = {
action: UserEventPayload136Action;
};
export declare const UserEventPayload135Action: {
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Log: "log";
};
export type UserEventPayload135Action = ClosedEnum<typeof UserEventPayload135Action>;
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtyFive = {
projectId: string;
rulesetName: string;
active: boolean;
action?: UserEventPayload135Action | undefined;
};
export declare const UserEventPayload134Action: {
readonly Challenge: "challenge";
readonly Deny: "deny";
readonly Log: "log";
};
export type UserEventPayload134Action = ClosedEnum<typeof UserEventPayload134Action>;
export type RuleGroups = {
active: boolean;
action?: UserEventPayload134Action | undefined;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtyFour = {
projectId: string;
rulesetName: string;
ruleGroups: {
[k: string]: RuleGroups;
};
};
export type ConfigChanges = {};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtyThree = {
projectId: string;
projectName?: string | undefined;
restore: boolean;
configVersion: number;
configChangeCount: number;
configChanges: Array<ConfigChanges>;
};
export type ConfigVersion = string | number;
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtyTwo = {
projectId: string;
projectName: string;
configVersion: string | number;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirtyOne = {
projectId: string;
scope: string;
source: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirty = {
projectId: string;
scope: string;
source: string;
expiresAt?: number | null | undefined;
};
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
export declare const UserEventPayload129Type: {
readonly Encrypted: "encrypted";
readonly Plain: "plain";
readonly Sensitive: "sensitive";
readonly System: "system";
};
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
export type UserEventPayload129Type = ClosedEnum<typeof UserEventPayload129Type>;
/**
* environments this env variable targets
*/
export declare const UserEventPayload129Target: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
/**
* environments this env variable targets
*/
export type UserEventPayload129Target = ClosedEnum<typeof UserEventPayload129Target>;
export type OldEnvVar = {
/**
* The date when the Shared Env Var was created.
*/
created?: Date | undefined;
/**
* The name of the Shared Env Var.
*/
key?: string | undefined;
/**
* The unique identifier of the owner (team) the Shared Env Var was created for.
*/
ownerId?: string | null | undefined;
/**
* The unique identifier of the Shared Env Var.
*/
id?: string | undefined;
/**
* The unique identifier of the user who created the Shared Env Var.
*/
createdBy?: string | null | undefined;
/**
* The unique identifier of the user who deleted the Shared Env Var.
*/
deletedBy?: string | null | undefined;
/**
* The unique identifier of the user who last updated the Shared Env Var.
*/
updatedBy?: string | null | undefined;
/**
* Timestamp for when the Shared Env Var was created.
*/
createdAt?: number | undefined;
/**
* Timestamp for when the Shared Env Var was (soft) deleted.
*/
deletedAt?: number | undefined;
/**
* Timestamp for when the Shared Env Var was last updated.
*/
updatedAt?: number | undefined;
/**
* The value of the Shared Env Var.
*/
value?: string | undefined;
/**
* The unique identifiers of the projects which the Shared Env Var is linked to.
*/
projectId?: Array<string> | undefined;
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
type?: UserEventPayload129Type | undefined;
/**
* environments this env variable targets
*/
target?: Array<UserEventPayload129Target> | undefined;
/**
* whether or not this env varible applies to custom environments
*/
applyToAllCustomEnvironments?: boolean | undefined;
/**
* The custom environment IDs that this Shared Env Var is scoped to.
*/
customEnvironmentIds?: Array<string> | undefined;
/**
* whether or not this env variable is decrypted
*/
decrypted?: boolean | undefined;
/**
* A user provided comment that describes what this Shared Env Var is for.
*/
comment?: string | undefined;
/**
* The last editor full name or username.
*/
lastEditedByDisplayName?: string | undefined;
};
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
export declare const UserEventPayload129NewEnvVarType: {
readonly Encrypted: "encrypted";
readonly Plain: "plain";
readonly Sensitive: "sensitive";
readonly System: "system";
};
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
export type UserEventPayload129NewEnvVarType = ClosedEnum<typeof UserEventPayload129NewEnvVarType>;
/**
* environments this env variable targets
*/
export declare const UserEventPayload129NewEnvVarTarget: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
/**
* environments this env variable targets
*/
export type UserEventPayload129NewEnvVarTarget = ClosedEnum<typeof UserEventPayload129NewEnvVarTarget>;
export type NewEnvVar = {
/**
* The date when the Shared Env Var was created.
*/
created?: Date | undefined;
/**
* The name of the Shared Env Var.
*/
key?: string | undefined;
/**
* The unique identifier of the owner (team) the Shared Env Var was created for.
*/
ownerId?: string | null | undefined;
/**
* The unique identifier of the Shared Env Var.
*/
id?: string | undefined;
/**
* The unique identifier of the user who created the Shared Env Var.
*/
createdBy?: string | null | undefined;
/**
* The unique identifier of the user who deleted the Shared Env Var.
*/
deletedBy?: string | null | undefined;
/**
* The unique identifier of the user who last updated the Shared Env Var.
*/
updatedBy?: string | null | undefined;
/**
* Timestamp for when the Shared Env Var was created.
*/
createdAt?: number | undefined;
/**
* Timestamp for when the Shared Env Var was (soft) deleted.
*/
deletedAt?: number | undefined;
/**
* Timestamp for when the Shared Env Var was last updated.
*/
updatedAt?: number | undefined;
/**
* The value of the Shared Env Var.
*/
value?: string | undefined;
/**
* The unique identifiers of the projects which the Shared Env Var is linked to.
*/
projectId?: Array<string> | undefined;
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
type?: UserEventPayload129NewEnvVarType | undefined;
/**
* environments this env variable targets
*/
target?: Array<UserEventPayload129NewEnvVarTarget> | undefined;
/**
* whether or not this env varible applies to custom environments
*/
applyToAllCustomEnvironments?: boolean | undefined;
/**
* The custom environment IDs that this Shared Env Var is scoped to.
*/
customEnvironmentIds?: Array<string> | undefined;
/**
* whether or not this env variable is decrypted
*/
decrypted?: boolean | undefined;
/**
* A user provided comment that describes what this Shared Env Var is for.
*/
comment?: string | undefined;
/**
* The last editor full name or username.
*/
lastEditedByDisplayName?: string | undefined;
};
export declare const OldTarget: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
export type OldTarget = ClosedEnum<typeof OldTarget>;
export declare const NewTarget: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
export type NewTarget = ClosedEnum<typeof NewTarget>;
export type OldProjects = {
projectName?: string | undefined;
projectId: string;
};
export type NewProjects = {
projectName?: string | undefined;
projectId: string;
};
export type UpdateDiff = {
id: string;
key?: string | undefined;
newKey?: string | undefined;
oldTarget?: Array<OldTarget> | undefined;
newTarget?: Array<NewTarget> | undefined;
oldType?: string | undefined;
newType?: string | undefined;
oldProjects?: Array<OldProjects> | undefined;
newProjects?: Array<NewProjects> | undefined;
oldCustomEnvironmentIds?: Array<string> | undefined;
newCustomEnvironmentIds?: Array<string> | undefined;
changedValue: boolean;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyNine = {
oldEnvVar?: OldEnvVar | undefined;
newEnvVar?: NewEnvVar | undefined;
updateDiff?: UpdateDiff | undefined;
};
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
export declare const PayloadType: {
readonly Encrypted: "encrypted";
readonly Plain: "plain";
readonly Sensitive: "sensitive";
readonly System: "system";
};
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
export type PayloadType = ClosedEnum<typeof PayloadType>;
/**
* environments this env variable targets
*/
export declare const UserEventPayloadTarget: {
readonly Development: "development";
readonly Preview: "preview";
readonly Production: "production";
};
/**
* environments this env variable targets
*/
export type UserEventPayloadTarget = ClosedEnum<typeof UserEventPayloadTarget>;
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyEight = {
/**
* The date when the Shared Env Var was created.
*/
created?: Date | undefined;
/**
* The name of the Shared Env Var.
*/
key?: string | undefined;
/**
* The unique identifier of the owner (team) the Shared Env Var was created for.
*/
ownerId?: string | null | undefined;
/**
* The unique identifier of the Shared Env Var.
*/
id?: string | undefined;
/**
* The unique identifier of the user who created the Shared Env Var.
*/
createdBy?: string | null | undefined;
/**
* The unique identifier of the user who deleted the Shared Env Var.
*/
deletedBy?: string | null | undefined;
/**
* The unique identifier of the user who last updated the Shared Env Var.
*/
updatedBy?: string | null | undefined;
/**
* Timestamp for when the Shared Env Var was created.
*/
createdAt?: number | undefined;
/**
* Timestamp for when the Shared Env Var was (soft) deleted.
*/
deletedAt?: number | undefined;
/**
* Timestamp for when the Shared Env Var was last updated.
*/
updatedAt?: number | undefined;
/**
* The value of the Shared Env Var.
*/
value?: string | undefined;
/**
* The unique identifiers of the projects which the Shared Env Var is linked to.
*/
projectId?: Array<string> | undefined;
/**
* The type of this cosmos doc instance, if blank, assume secret.
*/
type?: PayloadType | undefined;
/**
* environments this env variable targets
*/
target?: Array<UserEventPayloadTarget> | undefined;
/**
* whether or not this env varible applies to custom environments
*/
applyToAllCustomEnvironments?: boolean | undefined;
/**
* The custom environment IDs that this Shared Env Var is scoped to.
*/
customEnvironmentIds?: Array<string> | undefined;
/**
* whether or not this env variable is decrypted
*/
decrypted?: boolean | undefined;
/**
* A user provided comment that describes what this Shared Env Var is for.
*/
comment?: string | undefined;
/**
* The last editor full name or username.
*/
lastEditedByDisplayName?: string | undefined;
projectNames?: Array<string> | undefined;
ipAddress?: string | undefined;
};
export type PayloadTarget = string | Array<string>;
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentySeven = {
key?: string | undefined;
projectId?: string | undefined;
projectName?: string | undefined;
target?: string | Array<string> | undefined;
customEnvironmentSlugs?: Array<string> | undefined;
id?: string | undefined;
gitBranch?: string | undefined;
edgeConfigId?: string | null | undefined;
edgeConfigTokenId?: string | null | undefined;
source?: string | undefined;
ipAddress?: string | undefined;
deploymentId: string;
deploymentUrl: string;
};
export type Target = string | Array<string>;
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentySix = {
key?: string | undefined;
projectId?: string | undefined;
projectName?: string | undefined;
target?: string | Array<string> | undefined;
customEnvironmentSlugs?: Array<string> | undefined;
id?: string | undefined;
gitBranch?: string | undefined;
edgeConfigId?: string | null | undefined;
edgeConfigTokenId?: string | null | undefined;
source?: string | undefined;
ipAddress?: string | undefined;
};
export type UserEventPayload125Team = {
id: string;
name?: string | undefined;
};
export type PayloadPreviousRule = {
email: string;
};
export type NextRule = {
email: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyFive = {
team: UserEventPayload125Team;
previousRule?: PayloadPreviousRule | undefined;
nextRule?: NextRule | undefined;
};
export type UserEventPayload124Team = {
id: string;
name?: string | undefined;
};
export type PreviousRule = {
email: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyFour = {
team: UserEventPayload124Team;
previousRule: PreviousRule;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyThree = {
email: string;
name: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyTwo = {
edgeConfigId: string;
edgeConfigSlug: string;
/**
* ids of deleted tokens
*/
edgeConfigTokenIds: Array<string>;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwentyOne = {
edgeConfigId: string;
edgeConfigSlug: string;
edgeConfigTokenId: string;
label: string;
};
export type EdgeConfig = {
id: string;
slug: string;
};
export declare const UserEventPayload120Type: {
readonly Team: "team";
readonly User: "user";
};
export type UserEventPayload120Type = ClosedEnum<typeof UserEventPayload120Type>;
export type FromAccount = {
id: string;
type: UserEventPayload120Type;
slug?: string | undefined;
username?: string | undefined;
};
export declare const UserEventPayload120ToAccountType: {
readonly Team: "team";
readonly User: "user";
};
export type UserEventPayload120ToAccountType = ClosedEnum<typeof UserEventPayload120ToAccountType>;
export type ToAccount = {
id: string;
type: UserEventPayload120ToAccountType;
slug?: string | undefined;
username?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwenty = {
edgeConfig: EdgeConfig;
fromAccount: FromAccount;
toAccount: ToAccount;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndNineteen = {
edgeConfigId: string;
edgeConfigSlug: string;
edgeConfigDigest?: string | undefined;
};
export type EdgeConfigSchema = {};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndEighteen = {
edgeConfigId: string;
edgeConfigSlug: string;
edgeConfigSchema?: EdgeConfigSchema | undefined;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndSeventeen = {
edgeConfigId: string;
edgeConfigSlug: string;
edgeConfigDigest: string;
edgeConfigBackupVersionId: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndSixteen = {
edgeConfigId: string;
edgeConfigSlug: string;
edgeConfigDigest: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndFifteen = {
projectId: string;
projectName: string;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndFourteen = {
projectId: string;
projectName: string;
tags: Array<string>;
target?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndThirteen = {
projectId: string;
projectName: string;
srcImages: Array<string>;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndTwelve = {
drainUrl: string | null;
integrationName?: string | undefined;
};
/**
* The payload of the event, if requested.
*/
export type OneHundredAndEleven = {
drainUrl: string | null;
drainName: string | null;
integrationName?: string | undefined;
};
/** @internal */
export declare const UsageAlerts$inboundSchema: z.ZodType<UsageAlerts, z.ZodTypeDef, unknown>;
export declare function usageAlertsFromJSON(jsonString: string): SafeParseResult<UsageAlerts, SDKValidationError>;
/** @internal */
export declare const AnalyticsUsage$inboundSchema: z.ZodType<AnalyticsUsage, z.ZodTypeDef, unknown>;
export declare function analyticsUsageFromJSON(jsonString: string): SafeParseResult<AnalyticsUsage, SDKValidationError>;
/** @internal */
export declare const Artifacts$inboundSchema: z.ZodType<Artifacts, z.ZodTypeDef, unknown>;
export declare function artifactsFromJSON(jsonString: string): SafeParseResult<Artifacts, SDKValidationError>;
/** @internal */
export declare const Bandwidth$inboundSchema: z.ZodType<Bandwidth, z.ZodTypeDef, unknown>;
export declare function bandwidthFromJSON(jsonString: string): SafeParseResult<Bandwidth, SDKValidationError>;
/** @internal */
export declare const BlobTotalAdvancedRequests$inboundSchema: z.ZodType<BlobTotalAdvancedRequests, z.ZodTypeDef, unknown>;
export declare function blobTotalAdvancedRequestsFromJSON(jsonString: string): SafeParseResult<BlobTotalAdvancedRequests, SDKValidationError>;
/** @internal */
export declare const BlobTotalAvgSizeInBytes$inboundSchema: z.ZodType<BlobTotalAvgSizeInBytes, z.ZodTypeDef, unknown>;
export declare function blobTotalAvgSizeInBytesFromJSON(jsonString: string): SafeParseResult<BlobTotalAvgSizeInBytes, SDKValidationError>;
/** @internal */
export declare const BlobTotalGetResponseObjectSizeInBytes$inboundSchema: z.ZodType<BlobTotalGetResponseObjectSizeInBytes, z.ZodTypeDef, unknown>;
export declare function blobTotalGetResponseObjectSizeInBytesFromJSON(jsonString: string): SafeParseResult<BlobTotalGetResponseObjectSizeInBytes, SDKValidationError>;
/** @internal */
export declare const BlobTotalSimpleRequests$inboundSchema: z.ZodType<BlobTotalSimpleRequests, z.ZodTypeDef, unknown>;
export declare function blobTotalSimpleRequestsFromJSON(jsonString: string): SafeParseResult<BlobTotalSimpleRequests, SDKValidationError>;
/** @internal */
export declare const ConnectDataTransfer$inboundSchema: z.ZodType<ConnectDataTransfer, z.ZodTypeDef, unknown>;
export declare function connectDataTransferFromJSON(jsonString: string): SafeParseResult<ConnectDataTransfer, SDKValidationError>;
/** @internal */
export declare const DataCacheRead$inboundSchema: z.ZodType<DataCacheRead, z.ZodTypeDef, unknown>;
export declare function dataCacheReadFromJSON(jsonString: string): SafeParseResult<DataCacheRead, SDKValidationError>;
/** @internal */
export declare const DataCacheWrite$inboundSchema: z.ZodType<DataCacheWrite, z.ZodTypeDef, unknown>;
export declare function dataCacheWriteFromJSON(jsonString: string): SafeParseResult<DataCacheWrite, SDKValidationError>;
/** @internal */
export declare const EdgeConfigRead$inboundSchema: z.ZodType<EdgeConfigRead, z.ZodTypeDef, unknown>;
export declare function edgeConfigReadFromJSON(jsonString: string): SafeParseResult<EdgeConfigRead, SDKValidationError>;
/** @internal */
export declare const EdgeConfigWrite$inboundSchema: z.ZodType<EdgeConfigWrite, z.ZodTypeDef, unknown>;
export declare function edgeConfigWriteFromJSON(jsonString: string): SafeParseResult<EdgeConfigWrite, SDKValidationError>;
/** @internal */
export declare const EdgeFunctionExecutionUnits$inboundSchema: z.ZodType<EdgeFunctionExecutionUnits, z.ZodTypeDef, unknown>;
export declare function edgeFunctionExecutionUnitsFromJSON(jsonString: string): SafeParseResult<EdgeFunctionExecutionUnits, SDKValidationError>;
/** @internal */
export declare const EdgeMiddlewareInvocations$inboundSchema: z.ZodType<EdgeMiddlewareInvocations, z.ZodTypeDef, unknown>;
export declare function edgeMiddlewareInvocationsFromJSON(jsonString: string): SafeParseResult<EdgeMiddlewareInvocations, SDKValidationError>;
/** @internal */
export declare const EdgeRequestAdditionalCpuDuration$inboundSchema: z.ZodType<EdgeRequestAdditionalCpuDuration, z.ZodTypeDef, unknown>;
export declare function edgeRequestAdditionalCpuDurationFromJSON(jsonString: string): SafeParseResult<EdgeRequestAdditionalCpuDuration, SDKValidationError>;
/** @internal */
export declare const EdgeRequest$inboundSchema: z.ZodType<EdgeRequest, z.ZodTypeDef, unknown>;
export declare function edgeRequestFromJSON(jsonString: string): SafeParseResult<EdgeRequest, SDKValidationError>;
/** @internal */
export declare const ElasticConcurrencyBuildSlots$inboundSchema: z.ZodType<ElasticConcurrencyBuildSlots, z.ZodTypeDef, unknown>;
export declare function elasticConcurrencyBuildSlotsFromJSON(jsonString: string): SafeParseResult<ElasticConcurrencyBuildSlots, SDKValidationError>;
/** @internal */
export declare const FastDataTransfer$inboundSchema: z.ZodType<FastDataTransfer, z.ZodTypeDef, unknown>;
export declare function fastDataTransferFromJSON(jsonString: string): SafeParseResult<FastDataTransfer, SDKValidationError>;
/** @internal */
export declare const FastOriginTransfer$inboundSchema: z.ZodType<FastOriginTransfer, z.ZodTypeDef, unknown>;
export declare function fastOriginTransferFromJSON(jsonString: string): SafeParseResult<FastOriginTransfer, SDKValidationError>;
/** @internal */
export declare const FluidCpuDuration$inboundSchema: z.ZodType<FluidCpuDuration, z.ZodTypeDef, unknown>;
export declare function fluidCpuDurationFromJSON(jsonString: string): SafeParseResult<FluidCpuDuration, SDKValidationError>;
/** @internal */
export declare const FluidDuration$inboundSchema: z.ZodType<FluidDuration, z.ZodTypeDef, unknown>;
export declare function fluidDurationFromJSON(jsonString: string): SafeParseResult<FluidDuration, SDKValidationError>;
/** @internal */
export declare const FunctionDuration$inboundSchema: z.ZodType<FunctionDuration, z.ZodTypeDef, unknown>;
export declare function functionDurationFromJSON(jsonString: string): SafeParseResult<FunctionDuration, SDKValidationError>;
/** @internal */
export declare const FunctionInvocation$inboundSchema: z.ZodType<FunctionInvocation, z.ZodTypeDef, unknown>;
export declare function functionInvocationFromJSON(jsonString: string): SafeParseResult<FunctionInvocation, SDKValidationError>;
/** @internal */
export declare const ImageOptimizationCacheRead$inboundSchema: z.ZodType<ImageOptimizationCacheRead, z.ZodTypeDef, unknown>;
export declare function imageOptimizationCacheReadFromJSON(jsonString: string): SafeParseResult<ImageOptimizationCacheRead, SDKValidationError>;
/** @internal */
export declare const ImageOptimizationCacheWrite$inboundSchema: z.ZodType<ImageOptimizationCacheWrite, z.ZodTypeDef, unknown>;
export declare function imageOptimizationCacheWriteFromJSON(jsonString: string): SafeParseResult<ImageOptimizationCacheWrite, SDKValidationError>;
/** @internal */
export declare const ImageOptimizationTransformation$inboundSchema: z.ZodType<ImageOptimizationTransformation, z.ZodTypeDef, unknown>;
export declare function imageOptimizationTransformationFromJSON(jsonString: string): SafeParseResult<ImageOptimizationTransformation, SDKValidationError>;
/** @internal */
export declare const LogDrainsVolume$inboundSchema: z.ZodType<LogDrainsVolume, z.ZodTypeDef, unknown>;
export declare function logDrainsVolumeFromJSON(jsonString: string): SafeParseResult<LogDrainsVolume, SDKValidationError>;
/** @internal */
export declare const MonitoringMetric$inboundSchema: z.ZodType<MonitoringMetric, z.ZodTypeDef, unknown>;
export declare function monitoringMetricFromJSON(jsonString: string): SafeParseResult<MonitoringMetric, SDKValidationError>;
/** @internal */
export declare const BlobDataTransfer$inboundSchema: z.ZodType<BlobDataTransfer, z.ZodTypeDef, unknown>;
export declare function blobDataTransferFromJSON(jsonString: string): SafeParseResult<BlobDataTransfer, SDKValidationError>;
/** @internal */
export declare const ObservabilityEvent$inboundSchema: z.ZodType<ObservabilityEvent, z.ZodTypeDef, unknown>;
export declare function observabilityEventFromJSON(jsonString: string): SafeParseResult<ObservabilityEvent, SDKValidationError>;
/** @internal */
export declare const OnDemandConcurrencyMinutes$inboundSchema: z.ZodType<OnDemandConcurrencyMinutes, z.ZodTypeDef, unknown>;
export declare function onDemandConcurrencyMinutesFromJSON(jsonString: string): SafeParseResult<OnDemandConcurrencyMinutes, SDKValidationError>;
/** @internal */
export declare const RuntimeCacheRead$inboundSchema: z.ZodType<RuntimeCacheRead, z.ZodTypeDef, unknown>;
export declare function runtimeCacheReadFromJSON(jsonString: string): SafeParseResult<RuntimeCacheRead, SDKValidationError>;
/** @internal */
export declare const RuntimeCacheWrite$inboundSchema: z.ZodType<RuntimeCacheWrite, z.ZodTypeDef, unknown>;
export declare function runtimeCacheWriteFromJSON(jsonString: string): SafeParseResult<RuntimeCacheWrite, SDKValidationError>;
/** @internal */
export declare const ServerlessFunctionExecution$inboundSchema: z.ZodType<ServerlessFunctionExecution, z.ZodTypeDef, unknown>;
export declare function serverlessFunctionExecutionFromJSON(jsonString: string): SafeParseResult<ServerlessFunctionExecution, SDKValidationError>;
/** @internal */
export declare const SourceImages$inboundSchema: z.ZodType<SourceImages, z.ZodTypeDef, unknown>;
export declare function sourceImagesFromJSON(jsonString: string): SafeParseResult<SourceImages, SDKValidationError>;
/** @internal */
export declare const WafOwaspExcessBytes$inboundSchema: z.ZodType<WafOwaspExcessBytes, z.ZodTypeDef, unknown>;
export declare function wafOwaspExcessBytesFromJSON(jsonString: string): SafeParseResult<WafOwaspExcessBytes, SDKValidationError>;
/** @internal */
export declare const WafOwaspRequests$inboundSchema: z.ZodType<WafOwaspRequests, z.ZodTypeDef, unknown>;
export declare function wafOwaspRequestsFromJSON(jsonString: string): SafeParseResult<WafOwaspRequests, SDKValidationError>;
/** @internal */
export declare const WafRateLimitRequest$inboundSchema: z.ZodType<WafRateLimitRequest, z.ZodTypeDef, unknown>;
export declare function wafRateLimitRequestFromJSON(jsonString: string): SafeParseResult<WafRateLimitRequest, SDKValidationError>;
/** @internal */
export declare const WebAnalyticsEvent$inboundSchema: z.ZodType<WebAnalyticsEvent, z.ZodTypeDef, unknown>;
export declare function webAnalyticsEventFromJSON(jsonString: string): SafeParseResult<WebAnalyticsEvent, SDKValidationError>;
/** @internal */
export declare const OverageUsageAlerts$inboundSchema: z.ZodType<OverageUsageAlerts, z.ZodTypeDef, unknown>;
export declare function overageUsageAlertsFromJSON(jsonString: string): SafeParseResult<OverageUsageAlerts, SDKValidationError>;
/** @internal */
export declare const OverageMetadata$inboundSchema: z.ZodType<OverageMetadata, z.ZodTypeDef, unknown>;
export declare function overageMetadataFromJSON(jsonString: string): SafeParseResult<OverageMetadata, SDKValidationError>;
/** @internal */
export declare const PayloadEnablePreviewFeedback$inboundSchema: z.ZodNativeEnum<typeof PayloadEnablePreviewFeedback>;
/** @internal */
export declare const BlockReason$inboundSchema: z.ZodNativeEnum<typeof BlockReason>;
/** @internal */
export declare const PayloadWebAnalytics$inboundSchema: z.ZodType<PayloadWebAnalytics, z.ZodTypeDef, unknown>;
export declare function payloadWebAnalyticsFromJSON(jsonString: string): SafeParseResult<PayloadWebAnalytics, SDKValidationError>;
/** @internal */
export declare const PayloadBlockReason$inboundSchema: z.ZodNativeEnum<typeof PayloadBlockReason>;
/** @internal */
export declare const BlockType$inboundSchema: z.ZodNativeEnum<typeof BlockType>;
/** @internal */
export declare const Monitoring$inboundSchema: z.ZodType<Monitoring, z.ZodTypeDef, unknown>;
export declare function monitoringFromJSON(jsonString: string): SafeParseResult<Monitoring, SDKValidationError>;
/** @internal */
export declare const UserEventPayloadBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayloadBlockReason>;
/** @internal */
export declare const PayloadBlockType$inboundSchema: z.ZodNativeEnum<typeof PayloadBlockType>;
/** @internal */
export declare const ObservabilityPlus$inboundSchema: z.ZodType<ObservabilityPlus, z.ZodTypeDef, unknown>;
export declare function observabilityPlusFromJSON(jsonString: string): SafeParseResult<ObservabilityPlus, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138BlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138BlockReason>;
/** @internal */
export declare const UserEventPayloadDataCache$inboundSchema: z.ZodType<UserEventPayloadDataCache, z.ZodTypeDef, unknown>;
export declare function userEventPayloadDataCacheFromJSON(jsonString: string): SafeParseResult<UserEventPayloadDataCache, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerBlockReason>;
/** @internal */
export declare const PayloadImageOptimizationTransformation$inboundSchema: z.ZodType<PayloadImageOptimizationTransformation, z.ZodTypeDef, unknown>;
export declare function payloadImageOptimizationTransformationFromJSON(jsonString: string): SafeParseResult<PayloadImageOptimizationTransformation, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerFeatureBlocksBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerFeatureBlocksBlockReason>;
/** @internal */
export declare const PayloadSourceImages$inboundSchema: z.ZodType<PayloadSourceImages, z.ZodTypeDef, unknown>;
export declare function payloadSourceImagesFromJSON(jsonString: string): SafeParseResult<PayloadSourceImages, SDKValidationError>;
/** @internal */
export declare const UserEventBlobBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventBlobBlockReason>;
/** @internal */
export declare const Blob2$inboundSchema: z.ZodType<Blob2, z.ZodTypeDef, unknown>;
export declare function blob2FromJSON(jsonString: string): SafeParseResult<Blob2, SDKValidationError>;
/** @internal */
export declare const OverageReason$inboundSchema: z.ZodNativeEnum<typeof OverageReason>;
/** @internal */
export declare const Blob1$inboundSchema: z.ZodType<Blob1, z.ZodTypeDef, unknown>;
export declare function blob1FromJSON(jsonString: string): SafeParseResult<Blob1, SDKValidationError>;
/** @internal */
export declare const BlobT$inboundSchema: z.ZodType<BlobT, z.ZodTypeDef, unknown>;
export declare function blobFromJSON(jsonString: string): SafeParseResult<BlobT, SDKValidationError>;
/** @internal */
export declare const UserEventPostgresBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPostgresBlockReason>;
/** @internal */
export declare const Postgres2$inboundSchema: z.ZodType<Postgres2, z.ZodTypeDef, unknown>;
export declare function postgres2FromJSON(jsonString: string): SafeParseResult<Postgres2, SDKValidationError>;
/** @internal */
export declare const PostgresOverageReason$inboundSchema: z.ZodNativeEnum<typeof PostgresOverageReason>;
/** @internal */
export declare const Postgres1$inboundSchema: z.ZodType<Postgres1, z.ZodTypeDef, unknown>;
export declare function postgres1FromJSON(jsonString: string): SafeParseResult<Postgres1, SDKValidationError>;
/** @internal */
export declare const Postgres$inboundSchema: z.ZodType<Postgres, z.ZodTypeDef, unknown>;
export declare function postgresFromJSON(jsonString: string): SafeParseResult<Postgres, SDKValidationError>;
/** @internal */
export declare const UserEventRedisBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventRedisBlockReason>;
/** @internal */
export declare const Redis2$inboundSchema: z.ZodType<Redis2, z.ZodTypeDef, unknown>;
export declare function redis2FromJSON(jsonString: string): SafeParseResult<Redis2, SDKValidationError>;
/** @internal */
export declare const RedisOverageReason$inboundSchema: z.ZodNativeEnum<typeof RedisOverageReason>;
/** @internal */
export declare const Redis1$inboundSchema: z.ZodType<Redis1, z.ZodTypeDef, unknown>;
export declare function redis1FromJSON(jsonString: string): SafeParseResult<Redis1, SDKValidationError>;
/** @internal */
export declare const Redis$inboundSchema: z.ZodType<Redis, z.ZodTypeDef, unknown>;
export declare function redisFromJSON(jsonString: string): SafeParseResult<Redis, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerFeatureBlocksMicrofrontendsRequestBlockReason>;
/** @internal */
export declare const MicrofrontendsRequest$inboundSchema: z.ZodType<MicrofrontendsRequest, z.ZodTypeDef, unknown>;
export declare function microfrontendsRequestFromJSON(jsonString: string): SafeParseResult<MicrofrontendsRequest, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerFeatureBlocksWorkflowStorageBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerFeatureBlocksWorkflowStorageBlockReason>;
/** @internal */
export declare const WorkflowStorage$inboundSchema: z.ZodType<WorkflowStorage, z.ZodTypeDef, unknown>;
export declare function workflowStorageFromJSON(jsonString: string): SafeParseResult<WorkflowStorage, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerFeatureBlocksWorkflowStepBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerFeatureBlocksWorkflowStepBlockReason>;
/** @internal */
export declare const WorkflowStep$inboundSchema: z.ZodType<WorkflowStep, z.ZodTypeDef, unknown>;
export declare function workflowStepFromJSON(jsonString: string): SafeParseResult<WorkflowStep, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerFeatureBlocksConnexTokenRequestsBlockReason$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerFeatureBlocksConnexTokenRequestsBlockReason>;
/** @internal */
export declare const ConnexTokenRequests$inboundSchema: z.ZodType<ConnexTokenRequests, z.ZodTypeDef, unknown>;
export declare function connexTokenRequestsFromJSON(jsonString: string): SafeParseResult<ConnexTokenRequests, SDKValidationError>;
/** @internal */
export declare const PayloadFeatureBlocks$inboundSchema: z.ZodType<PayloadFeatureBlocks, z.ZodTypeDef, unknown>;
export declare function payloadFeatureBlocksFromJSON(jsonString: string): SafeParseResult<PayloadFeatureBlocks, SDKValidationError>;
/** @internal */
export declare const Version$inboundSchema: z.ZodNativeEnum<typeof Version>;
/** @internal */
export declare const NorthstarMigration$inboundSchema: z.ZodType<NorthstarMigration, z.ZodTypeDef, unknown>;
export declare function northstarMigrationFromJSON(jsonString: string): SafeParseResult<NorthstarMigration, SDKValidationError>;
/** @internal */
export declare const Totp$inboundSchema: z.ZodType<Totp, z.ZodTypeDef, unknown>;
export declare function totpFromJSON(jsonString: string): SafeParseResult<Totp, SDKValidationError>;
/** @internal */
export declare const UserEventPayload138NewOwnerAction$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload138NewOwnerAction>;
/** @internal */
export declare const PayloadMethod$inboundSchema: z.ZodNativeEnum<typeof PayloadMethod>;
/** @internal */
export declare const PayloadActorType$inboundSchema: z.ZodNativeEnum<typeof PayloadActorType>;
/** @internal */
export declare const PayloadHistory$inboundSchema: z.ZodType<PayloadHistory, z.ZodTypeDef, unknown>;
export declare function payloadHistoryFromJSON(jsonString: string): SafeParseResult<PayloadHistory, SDKValidationError>;
/** @internal */
export declare const MfaConfiguration$inboundSchema: z.ZodType<MfaConfiguration, z.ZodTypeDef, unknown>;
export declare function mfaConfigurationFromJSON(jsonString: string): SafeParseResult<MfaConfiguration, SDKValidationError>;
/** @internal */
export declare const NewOwner$inboundSchema: z.ZodType<NewOwner, z.ZodTypeDef, unknown>;
export declare function newOwnerFromJSON(jsonString: string): SafeParseResult<NewOwner, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirtyEight$inboundSchema: z.ZodType<OneHundredAndThirtyEight, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyEightFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtyEight, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirtySeven$inboundSchema: z.ZodType<OneHundredAndThirtySeven, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtySevenFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtySeven, SDKValidationError>;
/** @internal */
export declare const UserEventPayload136Action$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload136Action>;
/** @internal */
export declare const OneHundredAndThirtySix$inboundSchema: z.ZodType<OneHundredAndThirtySix, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtySixFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtySix, SDKValidationError>;
/** @internal */
export declare const UserEventPayload135Action$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload135Action>;
/** @internal */
export declare const OneHundredAndThirtyFive$inboundSchema: z.ZodType<OneHundredAndThirtyFive, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyFiveFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtyFive, SDKValidationError>;
/** @internal */
export declare const UserEventPayload134Action$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload134Action>;
/** @internal */
export declare const RuleGroups$inboundSchema: z.ZodType<RuleGroups, z.ZodTypeDef, unknown>;
export declare function ruleGroupsFromJSON(jsonString: string): SafeParseResult<RuleGroups, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirtyFour$inboundSchema: z.ZodType<OneHundredAndThirtyFour, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyFourFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtyFour, SDKValidationError>;
/** @internal */
export declare const ConfigChanges$inboundSchema: z.ZodType<ConfigChanges, z.ZodTypeDef, unknown>;
export declare function configChangesFromJSON(jsonString: string): SafeParseResult<ConfigChanges, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirtyThree$inboundSchema: z.ZodType<OneHundredAndThirtyThree, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyThreeFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtyThree, SDKValidationError>;
/** @internal */
export declare const ConfigVersion$inboundSchema: z.ZodType<ConfigVersion, z.ZodTypeDef, unknown>;
export declare function configVersionFromJSON(jsonString: string): SafeParseResult<ConfigVersion, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirtyTwo$inboundSchema: z.ZodType<OneHundredAndThirtyTwo, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyTwoFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtyTwo, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirtyOne$inboundSchema: z.ZodType<OneHundredAndThirtyOne, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyOneFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirtyOne, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirty$inboundSchema: z.ZodType<OneHundredAndThirty, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirtyFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirty, SDKValidationError>;
/** @internal */
export declare const UserEventPayload129Type$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload129Type>;
/** @internal */
export declare const UserEventPayload129Target$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload129Target>;
/** @internal */
export declare const OldEnvVar$inboundSchema: z.ZodType<OldEnvVar, z.ZodTypeDef, unknown>;
export declare function oldEnvVarFromJSON(jsonString: string): SafeParseResult<OldEnvVar, SDKValidationError>;
/** @internal */
export declare const UserEventPayload129NewEnvVarType$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload129NewEnvVarType>;
/** @internal */
export declare const UserEventPayload129NewEnvVarTarget$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload129NewEnvVarTarget>;
/** @internal */
export declare const NewEnvVar$inboundSchema: z.ZodType<NewEnvVar, z.ZodTypeDef, unknown>;
export declare function newEnvVarFromJSON(jsonString: string): SafeParseResult<NewEnvVar, SDKValidationError>;
/** @internal */
export declare const OldTarget$inboundSchema: z.ZodNativeEnum<typeof OldTarget>;
/** @internal */
export declare const NewTarget$inboundSchema: z.ZodNativeEnum<typeof NewTarget>;
/** @internal */
export declare const OldProjects$inboundSchema: z.ZodType<OldProjects, z.ZodTypeDef, unknown>;
export declare function oldProjectsFromJSON(jsonString: string): SafeParseResult<OldProjects, SDKValidationError>;
/** @internal */
export declare const NewProjects$inboundSchema: z.ZodType<NewProjects, z.ZodTypeDef, unknown>;
export declare function newProjectsFromJSON(jsonString: string): SafeParseResult<NewProjects, SDKValidationError>;
/** @internal */
export declare const UpdateDiff$inboundSchema: z.ZodType<UpdateDiff, z.ZodTypeDef, unknown>;
export declare function updateDiffFromJSON(jsonString: string): SafeParseResult<UpdateDiff, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentyNine$inboundSchema: z.ZodType<OneHundredAndTwentyNine, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyNineFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyNine, SDKValidationError>;
/** @internal */
export declare const PayloadType$inboundSchema: z.ZodNativeEnum<typeof PayloadType>;
/** @internal */
export declare const UserEventPayloadTarget$inboundSchema: z.ZodNativeEnum<typeof UserEventPayloadTarget>;
/** @internal */
export declare const OneHundredAndTwentyEight$inboundSchema: z.ZodType<OneHundredAndTwentyEight, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyEightFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyEight, SDKValidationError>;
/** @internal */
export declare const PayloadTarget$inboundSchema: z.ZodType<PayloadTarget, z.ZodTypeDef, unknown>;
export declare function payloadTargetFromJSON(jsonString: string): SafeParseResult<PayloadTarget, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentySeven$inboundSchema: z.ZodType<OneHundredAndTwentySeven, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentySevenFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentySeven, SDKValidationError>;
/** @internal */
export declare const Target$inboundSchema: z.ZodType<Target, z.ZodTypeDef, unknown>;
export declare function targetFromJSON(jsonString: string): SafeParseResult<Target, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentySix$inboundSchema: z.ZodType<OneHundredAndTwentySix, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentySixFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentySix, SDKValidationError>;
/** @internal */
export declare const UserEventPayload125Team$inboundSchema: z.ZodType<UserEventPayload125Team, z.ZodTypeDef, unknown>;
export declare function userEventPayload125TeamFromJSON(jsonString: string): SafeParseResult<UserEventPayload125Team, SDKValidationError>;
/** @internal */
export declare const PayloadPreviousRule$inboundSchema: z.ZodType<PayloadPreviousRule, z.ZodTypeDef, unknown>;
export declare function payloadPreviousRuleFromJSON(jsonString: string): SafeParseResult<PayloadPreviousRule, SDKValidationError>;
/** @internal */
export declare const NextRule$inboundSchema: z.ZodType<NextRule, z.ZodTypeDef, unknown>;
export declare function nextRuleFromJSON(jsonString: string): SafeParseResult<NextRule, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentyFive$inboundSchema: z.ZodType<OneHundredAndTwentyFive, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyFiveFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyFive, SDKValidationError>;
/** @internal */
export declare const UserEventPayload124Team$inboundSchema: z.ZodType<UserEventPayload124Team, z.ZodTypeDef, unknown>;
export declare function userEventPayload124TeamFromJSON(jsonString: string): SafeParseResult<UserEventPayload124Team, SDKValidationError>;
/** @internal */
export declare const PreviousRule$inboundSchema: z.ZodType<PreviousRule, z.ZodTypeDef, unknown>;
export declare function previousRuleFromJSON(jsonString: string): SafeParseResult<PreviousRule, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentyFour$inboundSchema: z.ZodType<OneHundredAndTwentyFour, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyFourFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyFour, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentyThree$inboundSchema: z.ZodType<OneHundredAndTwentyThree, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyThreeFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyThree, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentyTwo$inboundSchema: z.ZodType<OneHundredAndTwentyTwo, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyTwoFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyTwo, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwentyOne$inboundSchema: z.ZodType<OneHundredAndTwentyOne, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyOneFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwentyOne, SDKValidationError>;
/** @internal */
export declare const EdgeConfig$inboundSchema: z.ZodType<EdgeConfig, z.ZodTypeDef, unknown>;
export declare function edgeConfigFromJSON(jsonString: string): SafeParseResult<EdgeConfig, SDKValidationError>;
/** @internal */
export declare const UserEventPayload120Type$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload120Type>;
/** @internal */
export declare const FromAccount$inboundSchema: z.ZodType<FromAccount, z.ZodTypeDef, unknown>;
export declare function fromAccountFromJSON(jsonString: string): SafeParseResult<FromAccount, SDKValidationError>;
/** @internal */
export declare const UserEventPayload120ToAccountType$inboundSchema: z.ZodNativeEnum<typeof UserEventPayload120ToAccountType>;
/** @internal */
export declare const ToAccount$inboundSchema: z.ZodType<ToAccount, z.ZodTypeDef, unknown>;
export declare function toAccountFromJSON(jsonString: string): SafeParseResult<ToAccount, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwenty$inboundSchema: z.ZodType<OneHundredAndTwenty, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwentyFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwenty, SDKValidationError>;
/** @internal */
export declare const OneHundredAndNineteen$inboundSchema: z.ZodType<OneHundredAndNineteen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndNineteenFromJSON(jsonString: string): SafeParseResult<OneHundredAndNineteen, SDKValidationError>;
/** @internal */
export declare const EdgeConfigSchema$inboundSchema: z.ZodType<EdgeConfigSchema, z.ZodTypeDef, unknown>;
export declare function edgeConfigSchemaFromJSON(jsonString: string): SafeParseResult<EdgeConfigSchema, SDKValidationError>;
/** @internal */
export declare const OneHundredAndEighteen$inboundSchema: z.ZodType<OneHundredAndEighteen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndEighteenFromJSON(jsonString: string): SafeParseResult<OneHundredAndEighteen, SDKValidationError>;
/** @internal */
export declare const OneHundredAndSeventeen$inboundSchema: z.ZodType<OneHundredAndSeventeen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndSeventeenFromJSON(jsonString: string): SafeParseResult<OneHundredAndSeventeen, SDKValidationError>;
/** @internal */
export declare const OneHundredAndSixteen$inboundSchema: z.ZodType<OneHundredAndSixteen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndSixteenFromJSON(jsonString: string): SafeParseResult<OneHundredAndSixteen, SDKValidationError>;
/** @internal */
export declare const OneHundredAndFifteen$inboundSchema: z.ZodType<OneHundredAndFifteen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndFifteenFromJSON(jsonString: string): SafeParseResult<OneHundredAndFifteen, SDKValidationError>;
/** @internal */
export declare const OneHundredAndFourteen$inboundSchema: z.ZodType<OneHundredAndFourteen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndFourteenFromJSON(jsonString: string): SafeParseResult<OneHundredAndFourteen, SDKValidationError>;
/** @internal */
export declare const OneHundredAndThirteen$inboundSchema: z.ZodType<OneHundredAndThirteen, z.ZodTypeDef, unknown>;
export declare function oneHundredAndThirteenFromJSON(jsonString: string): SafeParseResult<OneHundredAndThirteen, SDKValidationError>;
/** @internal */
export declare const OneHundredAndTwelve$inboundSchema: z.ZodType<OneHundredAndTwelve, z.ZodTypeDef, unknown>;
export declare function oneHundredAndTwelveFromJSON(jsonString: string): SafeParseResult<OneHundredAndTwelve, SDKValidationError>;
/** @internal */
export declare const OneHundredAndEleven$inboundSchema: z.ZodType<OneHundredAndEleven, z.ZodTypeDef, unknown>;
export declare function oneHundredAndElevenFromJSON(jsonString: string): SafeParseResult<OneHundredAndEleven, SDKValidationError>;
//# sourceMappingURL=onehundredandeleven.d.ts.map